FilterInputStream


FilterInputStream java.io

Java 1.0 closeable

This class provides method definitions required to filter data obtained from the InputStream specified when the FilterInputStream is created. It must be subclassed to perform some sort of filtering operation and cannot be instantiated directly. See the subclasses BufferedInputStream , DataInputStream , and PushbackInputStream .

Figure 9-21. java.io.FilterInputStream

 public class  FilterInputStream  extends InputStream {  // Protected Constructors  protected  FilterInputStream  (InputStream  in  );  // Public Methods Overriding InputStream  public int  available  ( ) throws IOException;        public void  close  ( ) throws IOException;        public void  mark  (int  readlimit  );  synchronized  public boolean  markSupported  ( );        public int  read  ( ) throws IOException;        public int  read  (byte[ ]  b  ) throws IOException;        public int  read  (byte[ ]  b  , int  off  , int  len  ) throws IOException;        public void  reset  ( ) throws IOException;  synchronized  public long  skip  (long  n  ) throws IOException;  // Protected Instance Fields  protected volatile InputStream  in  ;   } 

Subclasses

BufferedInputStream , DataInputStream , LineNumberInputStream , PushbackInputStream , java.security.DigestInputStream , java.util.zip.CheckedInputStream , java.util.zip.InflaterInputStream , javax.crypto.CipherInputStream



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net