public enum NEncoding extends Enum<NEncoding> implements NEnum
| Enum Constant and Description |
|---|
ASCII
ASCII encoding
|
DEFAULT
Default encoding.
|
UTF_16_BE
UTF-16 BE encoding
|
UTF_16_LE
UTF-16 LE encoding
|
UTF_32_BE
UTF-32 BE encoding
|
UTF_32_LE
UTF-32 LE encoding
|
UTF_7
UTF-7 encoding
|
UTF_8
UTF-8 encoding.
|
| Modifier and Type | Method and Description |
|---|---|
static NEncoding |
get(int value)
Gets NEncoding specified by enumaeration value.
|
int |
getValue()
Gets the enumeration value of the current object.
|
static NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
static NEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NEncoding DEFAULT
public static final NEncoding UTF_8
public static final NEncoding ASCII
public static final NEncoding UTF_7
public static final NEncoding UTF_16_BE
public static final NEncoding UTF_16_LE
public static final NEncoding UTF_32_BE
public static final NEncoding UTF_32_LE
public static NEncoding[] values()
for (NEncoding c : NEncoding.values()) System.out.println(c);
public static NEncoding 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 NType nativeTypeOf()
public int getValue()
public static NEncoding get(int value)
value - Enumeration value.Copyright © 2016 Neurotechnology. All rights reserved.