Gets 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).
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).
Gets 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).
Returns:
boolean - true if input string is a text to compare, otherwise false
setLoadText(boolean value)
public void 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).
Parameters:
Parameter
Type
Description
value
boolean
true if input string is a text to compare, otherwise false
getPassword()
public final String getPassword()
Gets a password that will be used to load a document.
Returns:
java.lang.String - the password to load the document
setPassword(String value)
public final void setPassword(String value)
Sets a password that should be used to load a document.
Parameters:
Parameter
Type
Description
value
java.lang.String
The password to load the document
getFontDirectories()
public List<String> getFontDirectories()
Gets a list of directories where font files to load a document are placed.
Returns:
java.util.List<java.lang.String> - the list of directories with font files
setFontDirectories(List value)
public void setFontDirectories(List<String> value)
Sets a list of directories where font files to load a document are placed.
Gets whether loading of external resources referenced by a document is disabled.
A document can point at resources outside itself, for example an image given by a remote
URL. Loading those means the comparison reaches out to whatever address the document
names, so it is off by default; #getWhitelistedResources().getWhitelistedResources() lets named resources
through while it is on.
Returns:
boolean - true when external resources are not loaded, which is the default
setSkipExternalResources(boolean value)
public void setSkipExternalResources(boolean value)
Sets whether loading of external resources referenced by a document is disabled.
Parameters:
Parameter
Type
Description
value
boolean
true to leave external resources unloaded, false to allow them
getWhitelistedResources()
public List<String> getWhitelistedResources()
Gets the resources that are still loaded while #isSkipExternalResources().isSkipExternalResources() is on.
Returns:
java.util.List<java.lang.String> - the URL fragments of the allowed resources
setWhitelistedResources(List value)
public void setWhitelistedResources(List<String> value)
Sets the resources that are still loaded while #isSkipExternalResources().isSkipExternalResources() is on.
Parameters:
Parameter
Type
Description
value
java.util.List<java.lang.String>
The URL fragments of the allowed resources
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.