![]() |
|
Contents |
Public Member Functions | |
| int | read () throws IOException |
| Reads a single byte from this InputStream and returns the result as an int. | |
| int | read (final byte[] b) throws IOException |
| int | read (final byte[] b, final int off, final int len) throws IOException |
| long | skip (final long n) throws IOException |
| boolean | markSupported () |
| Answers a boolean indicating whether or not this InputStream supports mark() and reset(). | |
| void | mark (final int readlimit) |
| void | reset () throws IOException |
| Reset this InputStream to the last marked location. | |
| void | close () throws IOException |
| Close the InputStream. | |
Package Functions | |
| IisWrapper (final ImageInputStream input) | |
Private Attributes | |
| final ImageInputStream | input |
| IisWrapper | ( | final ImageInputStream | input | ) | [package] |
| int read | ( | ) | throws IOException [virtual] |
Reads a single byte from this InputStream and returns the result as an int.
The low-order byte is returned or -1 of the end of stream was encountered. This abstract implementation must be provided by concrete subclasses.
| IOException | If the stream is already closed or another IOException occurs. |
Implements InputStream.
| int read | ( | final byte[] | b | ) | throws IOException |
| int read | ( | final byte[] | b, | |
| final int | off, | |||
| final int | len | |||
| ) | throws IOException |
| long skip | ( | final long | n | ) | throws IOException |
| boolean markSupported | ( | ) |
Answers a boolean indicating whether or not this InputStream supports mark() and reset().
This class provides a default implementation which answers false.
Reimplemented from InputStream.
| void mark | ( | final int | readlimit | ) |
| void reset | ( | ) | throws IOException |
Reset this InputStream to the last marked location.
If the readlimit has been passed or no mark has been set, throw IOException. This implementation throws IOException and concrete subclasses should provide proper implementations.
| IOException | If the stream is already closed or another IOException occurs. |
Reimplemented from InputStream.
| void close | ( | ) | throws IOException |
Close the InputStream.
Concrete implementations of this class should free any resources during close. This implementation does nothing.
| IOException | If an error occurs attempting to close this InputStream. |
Reimplemented from InputStream.
final ImageInputStream input [private] |