java.lang.Object
org.sejda.sambox.output.ObjectsStreamPDFBodyObjectsWriter
- All Implemented Interfaces:
Closeable,AutoCloseable,PDFBodyObjectsWriter
Implementation of a PDFBodyObjectsWriter where objects are written to an ObjectsStream and later the ObjectsStream is
written as COSStream using the delegate
PDFBodyObjectsWriter- Author:
- Andrea Vacondio
-
Constructor Summary
ConstructorsConstructorDescriptionObjectsStreamPDFBodyObjectsWriter(org.sejda.sambox.output.PDFWriteContext context, PDFBodyObjectsWriter delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidcallback to perform once all the objects have been writtenvoid
-
Constructor Details
-
ObjectsStreamPDFBodyObjectsWriter
public ObjectsStreamPDFBodyObjectsWriter(org.sejda.sambox.output.PDFWriteContext context, PDFBodyObjectsWriter delegate)
-
-
Method Details
-
writeObject
- Specified by:
writeObjectin interfacePDFBodyObjectsWriter- Throws:
IOException
-
onWriteCompletion
Description copied from interface:PDFBodyObjectsWritercallback to perform once all the objects have been written- Specified by:
onWriteCompletionin interfacePDFBodyObjectsWriter- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-