API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.io. FilterInputStream View Source
Author(s)
Jonathan Payne
Since
JDK1.0
Version
1.33, 04/07/06
Serial
Hierarchy
 Object
      InputStream
          FilterInputStream
Implements
Subclasses
Description
public class FilterInputStream
  A FilterInputStream contains some other input stream, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.
See also:   
Constructors
protected FilterInputStream (InputStream in)
  Creates a FilterInputStream by assigning the argument in to the field this.in so as to remember it for later use.
Methods
Hide/Show inherited methods
public int available () throws IOException [Overrides InputStream]
  Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream.
public void close () throws IOException [Overrides InputStream]
  Closes this input stream and releases any system resources associated with the stream.
publicsynchronized void mark (int readlimit) [Overrides InputStream]
  Marks the current position in this input stream.
public boolean markSupported () [Overrides InputStream]
  Tests if this input stream supports the mark and reset methods.
public int read () throws IOException [Specified in InputStream]
  Reads the next byte of data from this input stream.
public int read (byte[] b) throws IOException [Overrides InputStream]
  Reads up to byte.length bytes of data from this input stream into an array of bytes.
public int read (byte[] b, int off, int len) throws IOException [Overrides InputStream]
  Reads up to len bytes of data from this input stream into an array of bytes.
publicsynchronized void reset () throws IOException [Overrides InputStream]
  Repositions this stream to the position at the time the mark method was last called on this input stream.
public long skip (long n) throws IOException [Overrides InputStream]
  Skips over and discards n bytes of data from this input stream.
Fields
Hide/Show inherited fields
protectedvolatile InputStream in
The input stream to be filtered.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar