LoadOptions

Inheritance: java.lang.Object

public class LoadOptions

Options used to load a document.

Constructors

ConstructorDescription
LoadOptions()Initializes a new instance of the LoadOptions class.

Methods

MethodDescription
getLoadHistory()Gets or sets a value indicating whether a document loader should ignore the history.
setLoadHistory(boolean value)Gets or sets a value indicating whether a document loader should ignore the history.
getDocumentPassword()Gets or sets a password for the encrypted document content.
setDocumentPassword(String value)Gets or sets a password for the encrypted document content.

LoadOptions()

public LoadOptions()

Initializes a new instance of the LoadOptions class.

getLoadHistory()

public boolean getLoadHistory()

Gets or sets a value indicating whether a document loader should ignore the history. Use this option to decrease memory and CPU usage. Default value is true .

Returns: boolean

setLoadHistory(boolean value)

public void setLoadHistory(boolean value)

Gets or sets a value indicating whether a document loader should ignore the history. Use this option to decrease memory and CPU usage. Default value is true .

Parameters:

ParameterTypeDescription
valueboolean

getDocumentPassword()

public String getDocumentPassword()

Gets or sets a password for the encrypted document content. Value is ignored in case the document is not password protected.

Returns: java.lang.String

setDocumentPassword(String value)

public void setDocumentPassword(String value)

Gets or sets a password for the encrypted document content. Value is ignored in case the document is not password protected.

Parameters:

ParameterTypeDescription
valuejava.lang.String