public enum Utf8ByteHelper extends Enum<Utf8ByteHelper>
| Modifier and Type | Method and Description |
|---|---|
static int |
findBufferLimit(ByteBuffer buffer) |
static int |
length(byte value) |
static Utf8ByteHelper |
parse(byte value) |
static Utf8ByteHelper |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Utf8ByteHelper[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Utf8ByteHelper SINGLE
public static final Utf8ByteHelper START
public static final Utf8ByteHelper MULTI
public static final Utf8ByteHelper UNKNOWN
public static Utf8ByteHelper[] values()
for (Utf8ByteHelper c : Utf8ByteHelper.values()) System.out.println(c);
public static Utf8ByteHelper valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Utf8ByteHelper parse(byte value)
public static int length(byte value)
public static int findBufferLimit(ByteBuffer buffer) throws FileDecoderException
FileDecoderExceptionCopyright © 2017 Perforce Software. All Rights Reserved.