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.
|
read
public ASCII85InputStream(InputStream is)
is
- The input stream to actually read from.public final int read() throws IOException
read
in class FilterInputStream
IOException
- 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 FilterInputStream
data
- 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 Closeable
close
in interface AutoCloseable
close
in class FilterInputStream
IOException
- If there is an error closing the underlying stream.public boolean markSupported()
markSupported
in class FilterInputStream
public long skip(long nValue)
skip
in class FilterInputStream
nValue
- ignored.public int available()
available
in class FilterInputStream
public void mark(int readlimit)
mark
in class FilterInputStream
readlimit
- ignored.public void reset() throws IOException
reset
in class FilterInputStream
IOException
- telling that this is an unsupported action.Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.