public static enum IDataJSONCoder.JSON_ENCODING extends java.lang.Enum<IDataJSONCoder.JSON_ENCODING>
IDataJSONCoder.encode(OutputStream, IData)
when generating JSON.Enum Constant and Description |
---|
UTF16_BE
UTF-16 big-endian encoding
|
UTF16_LE
UTF-16 little-endian encoding
|
UTF32_BE
UTF-32 big-endian encoding
|
UTF32_LE
UTF-32 little-endian encoding
|
UTF8
UTF-8 encoding
|
Modifier and Type | Method and Description |
---|---|
static IDataJSONCoder.JSON_ENCODING |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IDataJSONCoder.JSON_ENCODING[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IDataJSONCoder.JSON_ENCODING UTF8
public static final IDataJSONCoder.JSON_ENCODING UTF16_BE
public static final IDataJSONCoder.JSON_ENCODING UTF16_LE
public static final IDataJSONCoder.JSON_ENCODING UTF32_BE
public static final IDataJSONCoder.JSON_ENCODING UTF32_LE
public static IDataJSONCoder.JSON_ENCODING[] values()
for (IDataJSONCoder.JSON_ENCODING c : IDataJSONCoder.JSON_ENCODING.values()) System.out.println(c);
public static IDataJSONCoder.JSON_ENCODING 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 null