Class RpcUnicodeInputStream.BOM
- java.lang.Object
-
- com.perforce.p4java.impl.mapbased.rpc.sys.RpcUnicodeInputStream.BOM
-
- Enclosing class:
- RpcUnicodeInputStream
public static final class RpcUnicodeInputStream.BOM extends java.lang.Object
Types of Unicode BOMs.
-
-
Field Summary
Fields Modifier and Type Field Description static RpcUnicodeInputStream.BOM
NONE
Default to no BOM.static RpcUnicodeInputStream.BOM
UTF_16_BE
UTF-16, big-endian (FE FF).static RpcUnicodeInputStream.BOM
UTF_16_LE
UTF-16, little-endian (FF FE).static RpcUnicodeInputStream.BOM
UTF_32_BE
UTF-32, big-endian (00 00 FE FF).static RpcUnicodeInputStream.BOM
UTF_32_LE
UTF-32, little-endian (FF FE 00 00).static RpcUnicodeInputStream.BOM
UTF_8
UTF-8 BOM (EF BB BF).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBytes()
Returns the bytes of this BOM.java.lang.String
toString()
Returns the string representation of this BOM.
-
-
-
Field Detail
-
NONE
public static final RpcUnicodeInputStream.BOM NONE
Default to no BOM.
-
UTF_8
public static final RpcUnicodeInputStream.BOM UTF_8
UTF-8 BOM (EF BB BF).
-
UTF_16_LE
public static final RpcUnicodeInputStream.BOM UTF_16_LE
UTF-16, little-endian (FF FE).
-
UTF_16_BE
public static final RpcUnicodeInputStream.BOM UTF_16_BE
UTF-16, big-endian (FE FF).
-
UTF_32_LE
public static final RpcUnicodeInputStream.BOM UTF_32_LE
UTF-32, little-endian (FF FE 00 00).
-
UTF_32_BE
public static final RpcUnicodeInputStream.BOM UTF_32_BE
UTF-32, big-endian (00 00 FE FF).
-
-