Methods Summary |
---|
public int | available()Returns the number of bytes that can be read
without blocking.
|
public void | close()Closes the input stream. Must be called
to release any resources associated with
the stream.
|
public int | read()Reads a byte of data. This method will block if no input is
available.
|
public int | read(byte[] b)Reads into an array of bytes. This method will
block until some input is available.
|
public int | read(byte[] b, int off, int len)Reads into an array of bytes. This method will
block until some input is available.
|
public java.lang.Object | readObject()Read and return an object. The class that implements this interface
defines where the object is "read" from.
|
public long | skip(long n)Skips n bytes of input.
|