|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
edu.harvard.hul.ois.jhove.module.pdf.PdfFlateInputStream
public class PdfFlateInputStream
An enhancement of InflaterInputStream to support Predictor and Columns. How complicated does this get? Do I need to read the whole thing before I can "predict" anything?
Field Summary |
---|
Fields inherited from class java.io.FilterInputStream |
---|
in |
Constructor Summary | |
---|---|
PdfFlateInputStream(java.io.InputStream is)
Constructor with null DecodeParms dictionary |
|
PdfFlateInputStream(java.io.InputStream is,
PdfDictionary parms)
Constructor with specified DecodeParms dictionary |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.io.FilterInputStream |
---|
available, close, mark, markSupported, reset |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public int read() throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] b) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public long skip(long n) throws java.io.IOException
skip
in class java.io.FilterInputStream
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |