java.io.InputStream (abstract class)
Constructors:
InputStream();
General Description: This is a general class for basic stream input.
Parent Class: Object
Methods
int available(); Returns the number of bytes you can read without blocking.
void close(); Close the channel.
void mark(int readlimit); Set the maximum number of bytes to buffer for mark() and reset().
boolean markSupported(); Check to see if stream supports mark()/reset().
int read(); Read a single byte from the stream.
int read(byte[] arr); Read an array of bytes into arr.int read(byte[] arr, int
offset, int length); Read an array of bytes into arr beginning at offset for length bytes.
void reset(); Return to last mark'ed place.
long skip(long n); Skip the number of bytes forward in the stream.
Exceptions Thrown
IOException,