Method Summary |
|
public int | available() Answers a int representing then number of bytes that are available before
this InputStream will block. |
public void | close() Close the InputStream. |
public void | mark(int readlimit) Set a Mark position in this InputStream. |
public boolean | markSupported() Answers a boolean indicating whether or not this InputStream supports
mark() and reset(). |
abstract public int | read() Reads a single byte from this InputStream and returns the result as an
int. |
public int | read(byte b) Reads bytes from the Stream and stores them in byte array b .
Answer the number of bytes actually read or -1 if no bytes were read and
end of stream was encountered.
Parameters: b - the byte array in which to store the read bytes. |
public int | read(byte b, int offset, int length) Reads at most length bytes from the Stream and stores them
in byte array b starting at offset . |
public synchronized void | reset() Reset this InputStream to the last marked location. |
public long | skip(long n) Skips n number of bytes in this InputStream. |