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(String password) |
Modifier and Type | Method and Description |
---|---|
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 |
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(String password)
public List<String> getFontDirectories()
public final String getPassword()
Password of document.
public boolean isLoadText()
public 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
- password