LoadOptions
Contents
[
Hide
]
Inheritance: java.lang.Object
public class LoadOptions
Allows to specify additional options when loading a document.
Constructors
Constructor | Description |
---|---|
LoadOptions() | |
LoadOptions(boolean isLoadText) | |
LoadOptions(String password) | |
LoadOptions(boolean isLoadText, String password) | |
LoadOptions(FileType fileType) |
Methods
Method | Description |
---|---|
isLoadText() | Indicates that the strings passed are comparison text, not file paths (For Text Comparison only). |
setLoadText(boolean loadText) | Indicates that the strings passed are comparison text, not file paths (For Text Comparison only). |
getPassword() | Password of document. |
setPassword(String value) | Password of document. |
getFontDirectories() | List of font directories to load. |
setFontDirectories(List |
List of font directories to load. |
getFileType() | File type of the document |
setFileType(FileType fileType) | File type of the document |
LoadOptions()
public LoadOptions()
LoadOptions(boolean isLoadText)
public LoadOptions(boolean isLoadText)
Parameters:
Parameter | Type | Description |
---|---|---|
isLoadText | boolean |
LoadOptions(String password)
public LoadOptions(String password)
Parameters:
Parameter | Type | Description |
---|---|---|
password | java.lang.String |
LoadOptions(boolean isLoadText, String password)
public LoadOptions(boolean isLoadText, String password)
Parameters:
Parameter | Type | Description |
---|---|---|
isLoadText | boolean | |
password | java.lang.String |
LoadOptions(FileType fileType)
public LoadOptions(FileType fileType)
Parameters:
Parameter | Type | Description |
---|---|---|
fileType | FileType |
isLoadText()
public boolean isLoadText()
Indicates that the strings passed are comparison text, not file paths (For Text Comparison only).
Returns: boolean - is enabled or not
setLoadText(boolean loadText)
public void setLoadText(boolean loadText)
Indicates that the strings passed are comparison text, not file paths (For Text Comparison only).
Parameters:
Parameter | Type | Description |
---|---|---|
loadText | boolean | is enabled or not |
getPassword()
public final String getPassword()
Password of document.
Returns: java.lang.String - password
setPassword(String value)
public final void setPassword(String value)
Password of document.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | password |
getFontDirectories()
public List<String> getFontDirectories()
List of font directories to load.
Returns: java.util.List<java.lang.String> - font directories
setFontDirectories(List fontDirectories)
public void setFontDirectories(List<String> fontDirectories)
List of font directories to load.
Parameters:
Parameter | Type | Description |
---|---|---|
fontDirectories | java.util.List<java.lang.String> | font directories |
getFileType()
public FileType getFileType()
File type of the document
Returns: FileType - file type of the document
setFileType(FileType fileType)
public void setFileType(FileType fileType)
File type of the document
Parameters:
Parameter | Type | Description |
---|---|---|
fileType | FileType | file type of the document |