|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.harvard.hul.ois.jhove.module.pdf.ObjectStream
public class ObjectStream
This class implements the Object Stream, a new way of storing objects starting in PDF 1.4. An object stream can contain one or more objects, as described in Section 3.4 of the PostScript manual. JHOVE supports only FlateDecode as a filter for cross-reference streams. This is consistent with the implementation limitation described in Appendix H of the PDF manual for Acrobat 6 and earlier.
Constructor Summary | |
---|---|
ObjectStream(PdfStream ostrm,
java.io.RandomAccessFile raf)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectStream(PdfStream ostrm, java.io.RandomAccessFile raf)
Method Detail |
---|
public boolean isValid()
public void readIndex() throws PdfException, java.io.IOException
PdfException
java.io.IOException
public PdfObject getObject(int objnum) throws PdfException
PdfException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |