public class FilteredInputStream extends InputStream
Constructor and Description |
---|
FilteredInputStream(InputStream is,
IInputStreamFilter filter)
Constructor, using UTF-8 as the character encoding.
|
FilteredInputStream(InputStream is,
IInputStreamFilter filter,
Charset encoding)
Constructor.
|
FilteredInputStream(InputStream is,
IInputStreamFilter filter,
String encoding)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
read() |
available, close, mark, markSupported, read, read, reset, skip
public FilteredInputStream(InputStream is, IInputStreamFilter filter) throws IOException
is
- input stream to filterfilter
- the filter to applyIOException
- i/o problempublic FilteredInputStream(InputStream is, IInputStreamFilter filter, Charset encoding) throws IOException
is
- input stream to filterfilter
- the filter to applyencoding
- character encodingIOException
- i/o problempublic FilteredInputStream(InputStream is, IInputStreamFilter filter, String encoding) throws IOException
is
- input stream to filterfilter
- the filter to applyencoding
- character encodingIOException
- i/o problempublic int read() throws IOException
read
in class InputStream
IOException
Copyright © 2008–2021 Norconex Inc.. All rights reserved.