public static enum CombinedFile.BOM extends Enum<CombinedFile.BOM>
Enum Constant and Description |
---|
NONE |
UTF_16_BE |
UTF_16_LE |
UTF_32_BE |
UTF_32_LE |
UTF_8 |
Modifier and Type | Field and Description |
---|---|
Charset |
charset
The Java
Charset for this BOM header. |
byte[] |
pattern
BOM pattern in byte array.
|
Modifier and Type | Method and Description |
---|---|
static CombinedFile.BOM |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CombinedFile.BOM[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CombinedFile.BOM NONE
public static final CombinedFile.BOM UTF_8
public static final CombinedFile.BOM UTF_16_LE
public static final CombinedFile.BOM UTF_16_BE
public static final CombinedFile.BOM UTF_32_LE
public static final CombinedFile.BOM UTF_32_BE
public static CombinedFile.BOM[] values()
for (CombinedFile.BOM c : CombinedFile.BOM.values()) System.out.println(c);
public static CombinedFile.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 nameNullPointerException
- if the argument is nullCopyright © 2016 The Apache Software Foundation. All rights reserved.