public static class LoadOptions.Builder extends Object
LoadOptions builder.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
LoadOptions |
build()
Returns the object that was created and configured along with the builder.
|
LoadOptions.Builder |
setFileType(FileType value)
Sets a type of a file that is loading.
|
LoadOptions.Builder |
setFontDirectories(List<String> value)
Sets a list of directories where font files to load a document are placed.
|
LoadOptions.Builder |
setLoadText(boolean value)
Sets a flag that indicates that the string passed to
Comparer constructor or to Comparer.add(String) method is comparison text, not file paths (For Text Comparison only). |
LoadOptions.Builder |
setPassword(String value)
Sets a value that should be used to load a document.
|
public final LoadOptions build()
public LoadOptions.Builder setFileType(FileType value)
Sets a type of a file that is loading.
value - The type of the filepublic LoadOptions.Builder setFontDirectories(List<String> value)
Sets a list of directories where font files to load a document are placed.
value - The list of directories with font filespublic LoadOptions.Builder setLoadText(boolean value)
Sets a flag that indicates that the string passed to Comparer constructor or to Comparer.add(String) method is comparison text, not file paths (For Text Comparison only).
value - true if input string is a text to compare, otherwise falsepublic LoadOptions.Builder setPassword(String value)
Sets a value that should be used to load a document.
value - The value to load the documentCopyright © 2024. All rights reserved.