- <init>
Constructs a new BOM InputStream that excludes the specified BOMs.
- hasBOM
Indicates whether the stream contains the specified BOM.
- getBOM
Return the BOM (Byte Order Mark).
- getBOMCharsetName
Return the BOM charset Name - ByteOrderMark#getCharsetName().
- read
Invokes the delegate's read(byte[], int, int) method, detecting and optionally
skipping BOM.
- close
- find
Find a BOM with the specified bytes.
- readFirstBytes
This method reads and either preserves or skips the first bytes in the stream.
It behaves like the s
- available
- mark
Invokes the delegate's mark(int) method.
- reset
Invokes the delegate's reset() method.
- skip
Invokes the delegate's skip(long) method, detecting and optionallyskipping BOM.