public class ObjectStream
extends java.lang.Object
| Constructor and Description |
|---|
ObjectStream(PdfStream ostrm,
java.io.RandomAccessFile raf)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PdfObject |
getObject(int objnum)
Extracts an object from the stream.
|
boolean |
isValid()
Checks the validity of the stream dictionary, and extracts
information necessary for subsequent reading.
|
void |
readIndex()
Reads the index of the object stream.
|
public ObjectStream(PdfStream ostrm, java.io.RandomAccessFile raf)
public boolean isValid()
public void readIndex()
throws PdfException,
java.io.IOException
PdfExceptionjava.io.IOExceptionpublic PdfObject getObject(int objnum) throws PdfException
PdfException