| Constructor and Description |
|---|
LoadOptions()
Initializes a new instance of the
LoadOptions class with empty Password, FileFormat equal to FileFormat.Unknown and default encodings. |
LoadOptions(Duration timeout)
Initializes a new instance of the
LoadOptions class with timeout. |
LoadOptions(FileFormat fileFormat)
Initializes a new instance of the
LoadOptions class with empty Password and default encodings. |
LoadOptions(FileFormat fileFormat,
String password)
Initializes a new instance of the
LoadOptions class with default encodings. |
LoadOptions(FileFormat fileFormat,
String password,
Charset charset,
Charset defaultAnsiCharset)
Initializes a new instance of the
LoadOptions class with custom encodings. |
LoadOptions(FileFormat fileFormat,
String password,
Charset charset,
Charset defaultAnsiCharset,
Duration timeout)
Initializes a new instance of the
LoadOptions fully customized class. |
LoadOptions(FileType fileType)
Initializes a new instance of the
LoadOptions class with empty Password and default encodings. |
LoadOptions(FileType fileType,
String password)
Initializes a new instance of the
LoadOptions class with password and default encodings. |
LoadOptions(FileType fileType,
String password,
Charset charset,
Charset defaultAnsiCharset)
Initializes a new instance of the
LoadOptions class with custom encodings. |
LoadOptions(FileType fileType,
String password,
Charset charset,
Charset defaultAnsiCharset,
Duration timeout)
Initializes a new instance of the
LoadOptions fully customized class. |
LoadOptions(String password)
Initializes a new instance of the
LoadOptions class with FileFormat equal to FileFormat.Unknown and default encodings. |
| Modifier and Type | Method and Description |
|---|---|
Charset |
getCharset()
Gets the encoding of the document.
|
Charset |
getDefaultAnsiCharset()
Gets the default ANSI encoding which is used for encoding detection.
|
FileFormat |
getFileFormat()
Gets the file format.
|
FileType |
getFileType()
Gets the file type.
|
String |
getPassword()
Gets the password.
|
Duration |
getTimeout()
Gets the value that represents the number of milliseconds to wait.
|
public LoadOptions(Duration timeout)
LoadOptions class with timeout.timeout - The Duration that represents the number of milliseconds to wait.public LoadOptions()
LoadOptions class with empty Password, FileFormat equal to FileFormat.Unknown and default encodings.public LoadOptions(String password)
LoadOptions class with FileFormat equal to FileFormat.Unknown and default encodings.password - The password to open the password-protected file.public LoadOptions(FileFormat fileFormat)
LoadOptions class with empty Password and default encodings.fileFormat - The format of the file.public LoadOptions(FileFormat fileFormat, String password)
LoadOptions class with default encodings.fileFormat - The format of the file.password - The password to open the password-protected file.public LoadOptions(FileFormat fileFormat, String password, Charset charset, Charset defaultAnsiCharset)
LoadOptions class with custom encodings.fileFormat - The format of the file.password - The password to open the password-protected file.charset - The encoding of the document.defaultAnsiCharset - The default ANSI encoding which is used for encoding detection.public LoadOptions(FileFormat fileFormat, String password, Charset charset, Charset defaultAnsiCharset, Duration timeout)
LoadOptions fully customized class.fileFormat - The format of the file.password - The password to open the password-protected file.charset - The encoding of the document.defaultAnsiCharset - The default ANSI encoding which is used for encoding detection.timeout - The Duration that represents the number of milliseconds to wait.public LoadOptions(FileType fileType)
LoadOptions class with empty Password and default encodings.fileType - The type of the file.public LoadOptions(FileType fileType, String password)
LoadOptions class with password and default encodings.fileType - The type of the file.password - The password to open the password-protected file.public LoadOptions(FileType fileType, String password, Charset charset, Charset defaultAnsiCharset)
LoadOptions class with custom encodings.fileType - The type of the file.password - The password to open the password-protected file.charset - The encoding of the document.defaultAnsiCharset - The default ANSI encoding which is used for encoding detection.public LoadOptions(FileType fileType, String password, Charset charset, Charset defaultAnsiCharset, Duration timeout)
LoadOptions fully customized class.fileType - The type of the file.password - The password to open the password-protected file.charset - The encoding of the document.defaultAnsiCharset - The default ANSI encoding which is used for encoding detection.timeout - The Duration that represents the number of milliseconds to wait.public FileFormat getFileFormat()
FileFormat enumeration that contains a file format.public FileType getFileType()
FileFormat enumeration that contains a file type.public String getPassword()
public Charset getCharset()
Charset class that represents the document encoding; null if it isn't set.public Charset getDefaultAnsiCharset()
Charset class that represents the document encoding; null if it isn't set.Copyright © 2026. All rights reserved.