@Deprecated public class LoadOptions extends Object
Allows a developer to specify additional options (such as a password) when loading a file.
Constructor and Description |
---|
LoadOptions()
Deprecated.
Initializes a new instance of the
LoadOptions class. |
LoadOptions(String password)
Deprecated.
Initializes a new instance of the
LoadOptions class. |
Modifier and Type | Method and Description |
---|---|
String |
getPassword()
Deprecated.
Gets the password for opening an encrypted document.
|
void |
setPassword(String value)
Deprecated.
Sets the password for opening an encrypted document.
|
public LoadOptions()
Initializes a new instance of the LoadOptions
class.
public LoadOptions(String password)
Initializes a new instance of the LoadOptions
class.
password
- The password for opening an encrypted document.public final String getPassword()
Gets the password for opening an encrypted document.
public final void setPassword(String value)
Sets the password for opening an encrypted document.
value
- Can be null or empty string. The default value is null.
If the document is not encrypted, set this to null or the empty string.Copyright © 2020. All rights reserved.