Class XmpWriter
java.lang.Object
com.aowagie.text.xml.xmp.XmpWriter
With this class you can create an Xmp Stream that can be used for adding
Metadata to a PDF Dictionary. Remark that this class doesn't cover the
complete XMP specification.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an XmpWriter.XmpWriter(OutputStream os, PdfDictionary info, int PdfXConformance) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds an rdf:Description.voidclose()Flushes and closes the XmpWriter.void
-
Constructor Details
-
XmpWriter
Creates an XmpWriter.- Parameters:
os- output stream to set- Throws:
IOException- Exception with a IO error
-
XmpWriter
- Parameters:
os- output stream to setinfo- info to setPdfXConformance- pdf to set- Throws:
IOException- Exception with a IO error
-
-
Method Details
-
setAbout
- Parameters:
about- The about to set.
-
addRdfDescription
Adds an rdf:Description.- Parameters:
s- schema to set- Throws:
IOException- Exception with a IO error
-
close
Flushes and closes the XmpWriter.- Throws:
IOException- Exception with a IO error
-