| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final Queue | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | ByteOrderMarkFilterInputStream(InputStream
the underlying input stream. in, boolean If set to closeStream)false the original input stream is not closed when the filtered stream is closed.Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides java. Implements java. Closes this input stream and releases any system resources associated with the stream. |
| public int |
| closeStream | back to summary |
|---|---|
| private final boolean closeStream | |
| consumedBytes | back to summary |
|---|---|
| private final Queue<Integer> consumedBytes | |
| readingBom | back to summary |
|---|---|
| private boolean readingBom | |
| ByteOrderMarkFilterInputStream | back to summary |
|---|---|
| public ByteOrderMarkFilterInputStream(InputStream in, boolean closeStream) Creates a
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this input stream and releases any system resources associated with the stream.
| |
| read | back to summary |
|---|---|
| public int read() throws IOException Overrides java. Doc from java. Reads the next byte of data from the input stream. The value byte is
returned as an
| |