LoadOptions
Inheritance: java.lang.Object
public class LoadOptions
Allows to specify additional options (such as password) when opening a document to sign.
Constructors
Constructor | Description |
---|---|
LoadOptions() | Initializes a new instance of LoadOptions class. |
Methods
Method | Description |
---|---|
getPassword() | Gets or sets password to open a protected document. |
setPassword(String value) | Gets or sets password to open a protected document. |
getLoadExternalResources() | Gets or sets options that specifies if external document resources should be loaded. |
setLoadExternalResources(boolean value) | Gets or sets options that specifies if external document resources should be loaded. |
LoadOptions()
public LoadOptions()
Initializes a new instance of LoadOptions class.
getPassword()
public final String getPassword()
Gets or sets password to open a protected document. It will be also used to save signed document as protected.
Returns: java.lang.String
setPassword(String value)
public final void setPassword(String value)
Gets or sets password to open a protected document. It will be also used to save signed document as protected.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
getLoadExternalResources()
public final boolean getLoadExternalResources()
Gets or sets options that specifies if external document resources should be loaded. This option with disabled value (false) allows to save loading time for the documents with many or large external resource links. By default value is enabled (true).
Returns: boolean
setLoadExternalResources(boolean value)
public final void setLoadExternalResources(boolean value)
Gets or sets options that specifies if external document resources should be loaded. This option with disabled value (false) allows to save loading time for the documents with many or large external resource links. By default value is enabled (true).
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |