java.lang.Object
org.sejda.conversion.PdfFileSourceAdapter
Adapter for
PdfFileSourceAdapter. Main role is to be a string-based constructor for the underlying model object- Author:
- Eduard Weissmann
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPdfFileSourceAdapter(String filePathAndPassword) Constructor for aPdfFileSourceAdapter. -
Method Summary
-
Field Details
-
PASSWORD_SEPARATOR_CHARACTER
- See Also:
-
-
Constructor Details
-
PdfFileSourceAdapter
Constructor for aPdfFileSourceAdapter. Supports pdf files that are password protected If file has no password protection, input parameter is the path to the file. Eg:/path/to/file.pdfFor password protected files, input is concatenation of file path and password, using ":" as delimiter. Eg:/path/to/file.pdf:secret123- Parameters:
filePathAndPassword- file path concatenated using ":" with (optional) password
-
-
Method Details
-
getPdfFileSource
- Returns:
- the pdfFileSource
-