Interface PdfFilePath<T extends PrintSettings>
- Type Parameters:
T
- the concrete print settings type
- All Known Subinterfaces:
PdfPrinter.HtmlSettings
,PdfPrinter.PdfSettings
,PdfPrinter.Settings<T>
public interface PdfFilePath<T extends PrintSettings>
Allows configuring the destination PDF file path.
Implemented by concrete PrintSettings
implementations that support configuring the
destination PDF file path.
- Since:
- 7.13
-
Method Summary
Modifier and TypeMethodDescriptionReturns anOptional
that contains the absolute destination PDF file path, or an emptyOptional
if there is not path configured.pdfFilePath
(Path pdfFilePath) Configures the path to the destination PDF file to print to.
-
Method Details
-
pdfFilePath
Configures the path to the destination PDF file to print to.- Parameters:
pdfFilePath
- the absolute PDF file path- Returns:
- this instance
- Throws:
IllegalArgumentException
- if thepdfFilePath
is not absoluteIllegalArgumentException
- if thepdfFilePath
points to a directoryObjectClosedException
- if the current printing operation has been completed
-
pdfFilePath
Returns anOptional
that contains the absolute destination PDF file path, or an emptyOptional
if there is not path configured.- Throws:
ObjectClosedException
- if the current printing operation has been completed
-