|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<UnicodeBomInputStream.BOM>
com.googlecode.jslint4java.UnicodeBomInputStream.BOM
public static enum UnicodeBomInputStream.BOM
| Enum Constant Summary | |
|---|---|
NONE
|
|
UTF_16_BE
UTF-16 big endian BOM |
|
UTF_16_LE
UTF-16 little endian BOM |
|
UTF_32_BE
UTF-32 big endian BOM |
|
UTF_32_LE
UTF-32 little endian BOM |
|
UTF_8
UTF-8 BOM |
|
| Method Summary | |
|---|---|
byte[] |
getBytes()
|
String |
getDescription()
|
String |
toString()
|
static UnicodeBomInputStream.BOM |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static UnicodeBomInputStream.BOM[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final UnicodeBomInputStream.BOM NONE
public static final UnicodeBomInputStream.BOM UTF_8
public static final UnicodeBomInputStream.BOM UTF_16_LE
public static final UnicodeBomInputStream.BOM UTF_16_BE
public static final UnicodeBomInputStream.BOM UTF_32_LE
public static final UnicodeBomInputStream.BOM UTF_32_BE
| Method Detail |
|---|
public static UnicodeBomInputStream.BOM[] values()
for (UnicodeBomInputStream.BOM c : UnicodeBomInputStream.BOM.values()) System.out.println(c);
public static UnicodeBomInputStream.BOM valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic byte[] getBytes()
public String getDescription()
public String toString()
toString in class Enum<UnicodeBomInputStream.BOM>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||