| java.lang.Object java.io.InputStream java.io.FilterInputStream org.cyberneko.html.UTF8BOMSkipper
UTF8BOMSkipper | public class UTF8BOMSkipper extends FilterInputStream (Code) | | This class is an input stream filter that skips the first
three bytes read if they match the UTF-8 byte order mark,
0xEFBBBF. The UTF-8 BOM is most often generated by Windows®
tools.
author: Andy Clark |
Method Summary | |
public int | available() Returns the number of bytes available. | public boolean | markSupported() Mark is not supported for this input stream. | public int | read() Returns the next byte. | public int | read(byte[] buffer, int offset, int length) Reads bytes into specified buffer and returns total bytes read. |
UTF8BOMSkipper | public UTF8BOMSkipper(InputStream stream)(Code) | | Constructs a UTF-8 BOM skipper.
|
available | public int available() throws IOException(Code) | | Returns the number of bytes available.
|
markSupported | public boolean markSupported()(Code) | | Mark is not supported for this input stream.
|
read | public int read(byte[] buffer, int offset, int length) throws IOException(Code) | | Reads bytes into specified buffer and returns total bytes read.
|
|
|