public enum ECharsetBom extends Enum<ECharsetBom>
Enum Constant and Description |
---|
GB18030 |
UTF16B |
UTF16S |
UTF32B |
UTF32S |
UTF8 |
Modifier and Type | Method and Description |
---|---|
String |
getBomHead()
获取bom头16进制字符串
|
String |
getEncodeName()
获取字符编码名称
|
String |
toString()
方法说明 输入参数说明 输出参数说明 |
static ECharsetBom |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ECharsetBom[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ECharsetBom UTF8
public static final ECharsetBom UTF16B
public static final ECharsetBom UTF16S
public static final ECharsetBom UTF32B
public static final ECharsetBom UTF32S
public static final ECharsetBom GB18030
public static ECharsetBom[] values()
for (ECharsetBom c : ECharsetBom.values()) System.out.println(c);
public static ECharsetBom 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 String toString()
toString
in class Enum<ECharsetBom>
public String getBomHead()
public String getEncodeName()
Copyright © 2018. All rights reserved.