public final class SpreadsheetLoadOptions extends Object implements ILoadOptions
Contains options for loading binary Spreadsheet (Cells, Excel-compatible) documents like XLS(X), ODS etc. into Editor class
Constructor and Description |
---|
SpreadsheetLoadOptions()
Default parameterless constructor - all parameters have default values
|
Modifier and Type | Method and Description |
---|---|
boolean |
getOptimizeMemoryUsage()
Enables memory optimization mechanisms during input document processing,
which may degrade performance in some special cases, but on the other
hand decrease memory usage.
|
String |
getPassword()
Allows to specify, modify and obtain the password, which will be used for
opening the Spreadsheet document, if it is encoded.
|
void |
setOptimizeMemoryUsage(boolean value)
Enables memory optimization mechanisms during input document processing,
which may degrade performance in some special cases, but on the other
hand decrease memory usage.
|
void |
setPassword(String value)
Allows to specify, modify and obtain the password, which will be used for
opening the Spreadsheet document, if it is encoded.
|
public SpreadsheetLoadOptions()
Default parameterless constructor - all parameters have default values
public final boolean getOptimizeMemoryUsage()
Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. Useful when processing huge documents and facing OutOfMemoryException. Default is false (memory optimization is disabled for the sake of better performance).
public final String getPassword()
Allows to specify, modify and obtain the password, which will be used for opening the Spreadsheet document, if it is encoded. Set to NULL or empty string in order to not use the password (default value).
getPassword
in interface ILoadOptions
public final void setOptimizeMemoryUsage(boolean value)
Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage. Useful when processing huge documents and facing OutOfMemoryException. Default is false (memory optimization is disabled for the sake of better performance).
public final void setPassword(String value)
Allows to specify, modify and obtain the password, which will be used for opening the Spreadsheet document, if it is encoded. Set to NULL or empty string in order to not use the password (default value).
setPassword
in interface ILoadOptions