org.codehaus.swizzle.stream
Class FilteredInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by org.codehaus.swizzle.stream.FilteredInputStream
All Implemented Interfaces:
Closeable
Direct Known Subclasses:
DelimitedTokenReplacementInputStream, FixedTokenListReplacementInputStream, FixedTokenReplacementInputStream, IncludeFilterInputStream, ReplayInputStream

public abstract class FilteredInputStream
extends FilterInputStream


Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
FilteredInputStream(InputStream in)
           
 
Method Summary
 int read(byte[] b)
           
 int read(byte[] bytes, int off, int len)
           
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilteredInputStream

public FilteredInputStream(InputStream in)
Method Detail

read

public int read(byte[] bytes,
                int off,
                int len)
         throws IOException
Overrides:
read in class FilterInputStream
Throws:
IOException

read

public int read(byte[] b)
         throws IOException
Overrides:
read in class FilterInputStream
Throws:
IOException


Copyright © 2012 The Codehaus Foundation. All Rights Reserved.