|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.freehep.graphicsio.pdf.PDFRedundanceTracker
This class keeps track of all kinds of objects written to a pdf file and avoids to write them several times instead of referencing the same object several times. Right now only encoding tables are supported. An implementation for images and paint would be possible.
Nested Class Summary | |
static interface |
PDFRedundanceTracker.Writer
To be implemented by Writers which write objects that may already have been written. |
Constructor Summary | |
PDFRedundanceTracker(PDFWriter pdf)
|
Method Summary | |
Collection |
getGroup(Object groupID)
Returns all objects belonging to a particular group. |
PDFRef |
getReference(Object object,
Object groupID,
PDFRedundanceTracker.Writer writer)
Returns a reference that points to object. |
PDFRef |
getReference(Object object,
PDFRedundanceTracker.Writer writer)
|
void |
writeAll()
Writes all objects that are not yet written. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PDFRedundanceTracker(PDFWriter pdf)
Method Detail |
public PDFRef getReference(Object object, Object groupID, PDFRedundanceTracker.Writer writer)
public PDFRef getReference(Object object, PDFRedundanceTracker.Writer writer)
public void writeAll()
public Collection getGroup(Object groupID)
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |