Package org.apache.fop.pdf
Class ObjectStreamManager
- java.lang.Object
-
- org.apache.fop.pdf.ObjectStreamManager
-
class ObjectStreamManager extends java.lang.ObjectManages a collection of object streams, creating new streams as necessary to keep the number of objects in each stream at the recommended value. Streams are related to each other through the use of the Extends entry in the stream dictionary.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<CompressedObjectReference>compressedObjectReferencesprivate ObjectStreamcurrentObjectStreamprivate intnumObjectsInStreamprivate static intOBJECT_STREAM_CAPACITYprivate PDFDocumentpdfDocument
-
Constructor Summary
Constructors Constructor Description ObjectStreamManager(PDFDocument pdfDocument)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidadd(CompressedObject compressedObject)private voidcreateObjectStream()(package private) java.util.List<CompressedObjectReference>getCompressedObjectReferences()
-
-
-
Field Detail
-
OBJECT_STREAM_CAPACITY
private static final int OBJECT_STREAM_CAPACITY
- See Also:
- Constant Field Values
-
pdfDocument
private final PDFDocument pdfDocument
-
compressedObjectReferences
private final java.util.List<CompressedObjectReference> compressedObjectReferences
-
numObjectsInStream
private int numObjectsInStream
-
currentObjectStream
private ObjectStream currentObjectStream
-
-
Constructor Detail
-
ObjectStreamManager
ObjectStreamManager(PDFDocument pdfDocument)
-
-
Method Detail
-
add
void add(CompressedObject compressedObject)
-
createObjectStream
private void createObjectStream()
-
getCompressedObjectReferences
java.util.List<CompressedObjectReference> getCompressedObjectReferences()
-
-