public enum ByteOrderMarkEnum extends Enum<ByteOrderMarkEnum>
| Enum Constant and Description |
|---|
UTF_16BE
UTF_16BE
|
UTF_16LE
UTF_16LE
|
UTF_32BE
UTF_32BE
|
UTF_32LE
UTF_32LE
|
UTF_8
UTF_8
|
| Modifier and Type | Method and Description |
|---|---|
static ByteOrderMarkEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteOrderMarkEnum |
valueOfByCharsetName(String charsetName) |
static ByteOrderMarkEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ByteOrderMarkEnum UTF_8
public static final ByteOrderMarkEnum UTF_16BE
public static final ByteOrderMarkEnum UTF_16LE
public static final ByteOrderMarkEnum UTF_32BE
public static final ByteOrderMarkEnum UTF_32LE
public static ByteOrderMarkEnum[] values()
for (ByteOrderMarkEnum c : ByteOrderMarkEnum.values()) System.out.println(c);
public static ByteOrderMarkEnum 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 ByteOrderMarkEnum valueOfByCharsetName(String charsetName)
Copyright © 2018–2023 Alibaba Group. All rights reserved.