public static final class UnicodeBomInputStream.BOM
extends Object
Modifier and Type | Field and Description |
---|---|
(package private) byte[] |
bytes |
static UnicodeBomInputStream.BOM |
NONE
NONE.
|
static UnicodeBomInputStream.BOM |
UTF_16_BE
UTF-16, big-endian (FE FF).
|
static UnicodeBomInputStream.BOM |
UTF_16_LE
UTF-16, little-endian (FF FE).
|
static UnicodeBomInputStream.BOM |
UTF_32_BE
UTF-32, big-endian (00 00 FE FF).
|
static UnicodeBomInputStream.BOM |
UTF_32_LE
UTF-32, little-endian (FF FE 00 00).
|
static UnicodeBomInputStream.BOM |
UTF_8
UTF-8 BOM (EF BB BF).
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
Returns the bytes corresponding to this
UnicodeBomInputStream.BOM value. |
String |
toString()
Returns a
String representation of this UnicodeBomInputStream.BOM . |
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
final byte[] bytes
public final byte[] getBytes()
UnicodeBomInputStream.BOM
value.public final String toString()
String
representation of this UnicodeBomInputStream.BOM
.
value.toString
in class Object
Copyright © 2010-2020 Toolsverse. All Rights Reserved.