java.io.Closeable, java.lang.AutoCloseablepublic class ASCII85InputStream
extends java.io.FilterInputStream
| Constructor | Description |
|---|---|
ASCII85InputStream(java.io.InputStream is) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
available() |
Unsupported.
|
void |
close() |
This will close the underlying stream and release any resources.
|
void |
mark(int readlimit) |
Unsupported.
|
boolean |
markSupported() |
non supported interface methods.
|
int |
read() |
This will read the next byte from the stream.
|
int |
read(byte[] data,
int offset,
int len) |
This will read a chunk of data.
|
void |
reset() |
Unsupported.
|
long |
skip(long nValue) |
Unsupported.
|
public ASCII85InputStream(java.io.InputStream is)
is - The input stream to actually read from.public final int read()
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOException - If there is an error reading from the wrapped stream.public final int read(byte[] data,
int offset,
int len)
throws java.io.IOException
read in class java.io.FilterInputStreamdata - The buffer to write data to.offset - The offset into the data stream.len - The number of byte to attempt to read.java.io.IOException - If there is an error reading data from the underlying stream.public void close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.io.Closeableclose in class java.io.FilterInputStreamjava.io.IOException - If there is an error closing the underlying stream.public boolean markSupported()
markSupported in class java.io.FilterInputStreampublic long skip(long nValue)
skip in class java.io.FilterInputStreamnValue - ignored.public int available()
available in class java.io.FilterInputStreampublic void mark(int readlimit)
mark in class java.io.FilterInputStreamreadlimit - ignored.public void reset()
throws java.io.IOException
reset in class java.io.FilterInputStreamjava.io.IOException - telling that this is an unsupported action.