public static final class UnicodeBOMInputStream.BOM extends Object
Modifier and Type | Field and Description |
---|---|
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
BOM value. |
String |
toString()
Returns a
String representation of this BOM
value. |
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
Copyright © 2018. All rights reserved.