public class PdfFlateInputStream extends FilterInputStream
in| Constructor and Description |
|---|
PdfFlateInputStream(InputStream is)
Constructor with null DecodeParms dictionary
|
PdfFlateInputStream(InputStream is,
PdfDictionary parms)
Constructor with specified DecodeParms dictionary
|
| Modifier and Type | Method and Description |
|---|---|
int |
read()
Reads one byte from the stream.
|
int |
read(byte[] b)
Reads the specified number of bytes into a buffer.
|
int |
read(byte[] b,
int off,
int len)
Reads the specified number of bytes into a buffer
with offset and length specified.
|
long |
skip(long n) |
available, close, mark, markSupported, resetpublic PdfFlateInputStream(InputStream is)
is - InputStream to be inflatedpublic PdfFlateInputStream(InputStream is, PdfDictionary parms)
is - InputStream to be inflatedparms - DecodeParms dictionary.
May be null, in which case this is equivalent
to the one-parameter constructor.public int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class FilterInputStreamIOExceptionCopyright © 2008–2017 The Open Preservation Foundation. All rights reserved.