org.codehaus.swizzle.stream
Class IncludeFilterInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.codehaus.swizzle.stream.FilteredInputStream
org.codehaus.swizzle.stream.IncludeFilterInputStream
- All Implemented Interfaces:
- Closeable
- Direct Known Subclasses:
- ExcludeFilterInputStream
public class IncludeFilterInputStream
- extends FilteredInputStream
|
Field Summary |
protected boolean |
wanted
|
|
Method Summary |
int |
read()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wanted
protected boolean wanted
IncludeFilterInputStream
public IncludeFilterInputStream(InputStream in,
String begin,
String end)
IncludeFilterInputStream
public IncludeFilterInputStream(InputStream in,
String begin,
String end,
boolean caseSensitive)
read
public int read()
throws IOException
- Overrides:
read in class FilterInputStream
- Throws:
IOException
Copyright © 2012 The Codehaus Foundation. All Rights Reserved.