|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.io.InputStream
|
+--java.io.FilterInputStream
A FilterInputStream contains another input stream, which it uses as its basic data source, possibly transforming the data before it is passed to the application.
| Constructor Summary | |
FilterInputStream(InputStream is)
Creates a new instance of FilterInputStream. |
|
| Method Summary | |
int |
available()
Returns the number of bytes that can be read without blocking. |
void |
close()
Closes the underlying input stream and releases all system resources associated with it. |
int |
read()
Reads a single byte from the underlying input stream. |
int |
read(byte[] b)
Reads up to b.length bytes from the underlying stream into b. |
| Methods inherited from class java.io.InputStream |
read, skip |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, toString |
| Constructor Detail |
public FilterInputStream(InputStream is)
is - Input stream to read data from.| Method Detail |
public int available()
throws IOException
available in class InputStreamIOException
public void close()
throws IOException
close in class InputStreamIOException
public int read()
throws IOException
read in class InputStreamIOException - if an I/O error occurs.
public int read(byte[] b)
throws IOException
read in class InputStreamb - Array to be filled with data read.
IOException - if an I/O error occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||