public enum ParserFlags extends java.lang.Enum<ParserFlags>
| Enum Constant and Description |
|---|
SKIP_REMAINING_FIELDS_IF_EOF
Do not throw exception if input stream ended unexpectedly and not all
fields have been read.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getFlag()
Get the flag value.
|
static int |
makeFromSet(java.util.Set<ParserFlags> set) |
static ParserFlags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParserFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParserFlags SKIP_REMAINING_FIELDS_IF_EOF
public static ParserFlags[] values()
for (ParserFlags c : ParserFlags.values()) System.out.println(c);
public static ParserFlags valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static int makeFromSet(@Nullable
java.util.Set<ParserFlags> set)
public int getFlag()