java.lang.Object
org.sejda.sambox.output.IncrementalPDFBodyWriter
- All Implemented Interfaces:
Closeable,AutoCloseable,COSVisitor
Body writer for incremental updates.
- Author:
- Andrea Vacondio
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidCalled during the visit on the objects graph, when a potential indirect object is met.voidvoidvisit(COSDictionary value) voidvisit(COSDocument document) voidvoidwrite(COSDocument document) Writes the body of the given documentvoidwrite(IncrementablePDDocument document) Writes the given document
-
Method Details
-
onPotentialIndirectObject
Called during the visit on the objects graph, when a potential indirect object is met. Default implementation creates a new indirect reference for it.- Throws:
IOException
-
write
Writes the given document- Parameters:
document-- Throws:
IOException
-
write
Writes the body of the given document- Parameters:
document-- Throws:
IOException
-
visit
- Specified by:
visitin interfaceCOSVisitor- Throws:
IOException
-
visit
- Specified by:
visitin interfaceCOSVisitor- Throws:
IOException
-
visit
- Specified by:
visitin interfaceCOSVisitor- Throws:
IOException
-
visit
- Specified by:
visitin interfaceCOSVisitor- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-