public static enum JsonProcessor.ReadState extends Enum<JsonProcessor.ReadState>
Enum Constant and Description |
---|
END_OF_STREAM |
JSON_RECORD_PARSE_EOF_ERROR |
JSON_RECORD_PARSE_ERROR |
WRITE_SUCCEED |
Modifier and Type | Method and Description |
---|---|
static JsonProcessor.ReadState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonProcessor.ReadState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonProcessor.ReadState END_OF_STREAM
public static final JsonProcessor.ReadState JSON_RECORD_PARSE_ERROR
public static final JsonProcessor.ReadState JSON_RECORD_PARSE_EOF_ERROR
public static final JsonProcessor.ReadState WRITE_SUCCEED
public static JsonProcessor.ReadState[] values()
for (JsonProcessor.ReadState c : JsonProcessor.ReadState.values()) System.out.println(c);
public static JsonProcessor.ReadState 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 nullCopyright © 1970 The Apache Software Foundation. All rights reserved.