public class PdfFlateInputStream
extends java.io.FilterInputStream
| Constructor and Description |
|---|
PdfFlateInputStream(java.io.InputStream is)
Constructor with null DecodeParms dictionary
|
PdfFlateInputStream(java.io.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) |
public PdfFlateInputStream(java.io.InputStream is)
is - InputStream to be inflatedpublic PdfFlateInputStream(java.io.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 java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in class java.io.FilterInputStreamjava.io.IOException