T
- the concrete print settings typepublic interface PdfFilePath<T extends PrintSettings>
Implemented by concrete PrintSettings
implementations that support configuring the
destination PDF file path.
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.nio.file.Path> |
pdfFilePath()
Returns an
Optional that contains the absolute destination PDF file path, or an empty
Optional if there is not path configured. |
T |
pdfFilePath(java.nio.file.Path pdfFilePath)
Configures the path to the destination PDF file to print to.
|
T pdfFilePath(java.nio.file.Path pdfFilePath)
pdfFilePath
- the absolute PDF file pathjava.lang.IllegalArgumentException
- if the pdfFilePath
is not absolutejava.lang.IllegalStateException
- if the current printing operation has been completedjava.util.Optional<java.nio.file.Path> pdfFilePath()
Optional
that contains the absolute destination PDF file path, or an empty
Optional
if there is not path configured.java.lang.IllegalStateException
- if the current printing operation has been completed