com.norconex.commons.lang.io
Class FilteredInputStream
java.lang.Object
java.io.InputStream
com.norconex.commons.lang.io.FilteredInputStream
- All Implemented Interfaces:
- Closeable
public class FilteredInputStream
- extends InputStream
Decorates an InputStream with a stream filter. The stream filter
allows to control which line of text is being returned by the decorated
instance when read.
- Author:
- Pascal Essiembre
Method Summary |
int |
read()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilteredInputStream
public FilteredInputStream(InputStream is,
IInputStreamFilter filter)
throws IOException
- Constructor.
- Throws:
IOException
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
Copyright © 2008-2013 Norconex Inc.. All Rights Reserved.