Class DefaultWriteStrategy
java.lang.Object
org.apache.camel.component.pdf.text.DefaultWriteStrategy
- All Implemented Interfaces:
WriteStrategy
Writes given lines to PDF document. If document already contains some text then new text will be appended to new
page.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pdfbox.pdmodel.PDDocument
write
(Collection<String> lines, org.apache.pdfbox.pdmodel.PDDocument document)
-
Constructor Details
-
DefaultWriteStrategy
-
-
Method Details
-
write
public org.apache.pdfbox.pdmodel.PDDocument write(Collection<String> lines, org.apache.pdfbox.pdmodel.PDDocument document) throws IOException - Specified by:
write
in interfaceWriteStrategy
- Throws:
IOException
-