public class LoadOptions extends Object
Allows to specify additional options when loading a document.
Modifier and Type | Class and Description |
---|---|
static class |
LoadOptions.Builder
A little sugar
|
Constructor and Description |
---|
LoadOptions() |
LoadOptions(boolean isLoadText) |
LoadOptions(boolean isLoadText,
String password) |
LoadOptions(FileType fileType) |
LoadOptions(String password) |
Modifier and Type | Method and Description |
---|---|
FileType |
getFileType()
File type of the document
|
List<String> |
getFontDirectories()
List of font directories to load.
|
String |
getPassword()
Password of document.
|
boolean |
isLoadText()
Indicates that the strings passed are comparison text, not file paths (For Text Comparison only).
|
void |
setFileType(FileType fileType)
File type of the document
|
void |
setFontDirectories(List<String> fontDirectories)
List of font directories to load.
|
void |
setLoadText(boolean loadText)
Indicates that the strings passed are comparison text, not file paths (For Text Comparison only).
|
void |
setPassword(String value)
Password of document.
|
public LoadOptions()
public LoadOptions(boolean isLoadText)
public LoadOptions(boolean isLoadText, String password)
public LoadOptions(FileType fileType)
public LoadOptions(String password)
public FileType getFileType()
public List<String> getFontDirectories()
public final String getPassword()
Password of document.
public boolean isLoadText()
public void setFileType(FileType fileType)
fileType
- file type of the documentpublic void setFontDirectories(List<String> fontDirectories)
fontDirectories
- font directoriespublic void setLoadText(boolean loadText)
loadText
- is enabled or notpublic final void setPassword(String value)
Password of document.
value
- passwordCopyright © 2023. All rights reserved.