public enum PullJsonType extends java.lang.Enum<PullJsonType>
| Enum Constant and Description |
|---|
JSON_ARRAY |
JSON_META |
JSON_NEW_LINE |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
asString() |
PullJsonType |
fromString(java.lang.String str) |
static PullJsonType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PullJsonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PullJsonType JSON_ARRAY
public static final PullJsonType JSON_META
public static final PullJsonType JSON_NEW_LINE
public static PullJsonType[] values()
for (PullJsonType c : PullJsonType.values()) System.out.println(c);
public static PullJsonType 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 PullJsonType fromString(java.lang.String str)
public java.lang.String asString()
Copyright © 2018. All Rights Reserved.