Example usage for Java org.apache.commons.io.input BOMInputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
BOMInputStream(InputStream delegate) Constructs a new BOM InputStream that excludes a ByteOrderMark#UTF_8 BOM. | |
BOMInputStream(InputStream delegate, boolean include) Constructs a new BOM InputStream that detects a a ByteOrderMark#UTF_8 and optionally includes it. | |
BOMInputStream(InputStream delegate, ByteOrderMark... boms) Constructs a new BOM InputStream that excludes the specified BOMs. | |
BOMInputStream(InputStream delegate, boolean include, ByteOrderMark... boms) Constructs a new BOM InputStream that detects the specified BOMs and optionally includes them. |
void | close() Invokes the delegate's close() method. |
ByteOrderMark | getBOM() Return the BOM (Byte Order Mark). |
String | getBOMCharsetName() Return the BOM charset Name - ByteOrderMark#getCharsetName() . |
boolean | hasBOM() Indicates whether the stream contains one of the specified BOMs. |
int | read() Invokes the delegate's read() method, detecting and optionally skipping BOM. |