public class ASCII85InputStream extends FilterInputStream
in| Constructor and Description |
|---|
ASCII85InputStream(InputStream is)
Constructor.
|
| Modifier and Type | Method and 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.
|
readpublic ASCII85InputStream(InputStream is)
is - The input stream to actually read from.public final int read()
throws IOException
read in class FilterInputStreamIOException - If there is an error reading from the wrapped stream.public final int read(byte[] data,
int offset,
int len)
throws IOException
read in class FilterInputStreamdata - The buffer to write data to.offset - The offset into the data stream.len - The number of byte to attempt to read.IOException - If there is an error reading data from the underlying stream.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOException - If there is an error closing the underlying stream.public boolean markSupported()
markSupported in class FilterInputStreampublic long skip(long nValue)
skip in class FilterInputStreamnValue - ignored.public int available()
available in class FilterInputStreampublic void mark(int readlimit)
mark in class FilterInputStreamreadlimit - ignored.public void reset()
throws IOException
reset in class FilterInputStreamIOException - telling that this is an unsupported action.Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.