public class ObjectStream extends Object
| Constructor and Description |
|---|
ObjectStream(PdfStream ostrm,
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, RandomAccessFile raf)
public boolean isValid()
public void readIndex()
throws PdfException,
IOException
PdfExceptionIOExceptionpublic PdfObject getObject(int objnum) throws PdfException
PdfExceptionCopyright © 2008–2017 The Open Preservation Foundation. All rights reserved.