@FunctionalInterface public interface IPDDocumentCustomizer
| Modifier and Type | Method and Description |
|---|---|
default IPDDocumentCustomizer |
and(IPDDocumentCustomizer aNextCustomizer)
Invoke this customizer and afterwards the provided customizer.
|
static IPDDocumentCustomizer |
and(IPDDocumentCustomizer aCustomizer1,
IPDDocumentCustomizer aCustomizer2)
Create a customizer that invokes both customizers if they are
non-
null. |
void |
customizeDocument(org.apache.pdfbox.pdmodel.PDDocument aDoc)
Customize the passed
PDDocument. |
void customizeDocument(@Nonnull org.apache.pdfbox.pdmodel.PDDocument aDoc) throws IOException
PDDocument.aDoc - The document to be customized. Never null.IOException - in case something goes wrong@Nonnull @CheckReturnValue default IPDDocumentCustomizer and(@Nonnull IPDDocumentCustomizer aNextCustomizer)
aNextCustomizer - The customizer to be invoked after this customizer. May not be
null.null customizer.@Nullable @CheckReturnValue static IPDDocumentCustomizer and(@Nullable IPDDocumentCustomizer aCustomizer1, @Nullable IPDDocumentCustomizer aCustomizer2)
null.aCustomizer1 - The first customizer to be invoked. May be null.aCustomizer2 - The second customizer to be invoked after the first customizer (if
present). May be null.null if both parameters are null.Copyright © 2014–2016 Philip Helger. All rights reserved.