Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage.
Enables memory optimization mechanisms during input document processing, which may degrade performance in some special cases, but on the other hand decrease memory usage.
DelimitedTextEditOptions(String separator)
public DelimitedTextEditOptions(String separator)
Creates an instance of options class for delimited text with mandatory separator (delimiter)
Parameters:
Parameter
Type
Description
separator
java.lang.String
Mandatory separator (delimiter), that cannot be NULL or empty
getSeparator()
public final String getSeparator()
Allows to specify a string separator (delimiter) for text-based Spreadsheet documents
Returns:
java.lang.String
setSeparator(String value)
public final void setSeparator(String value)
Allows to specify a string separator (delimiter) for text-based Spreadsheet documents
Parameters:
Parameter
Type
Description
value
java.lang.String
getConvertDateTimeData()
public final boolean getConvertDateTimeData()
Gets or sets a value that indicates whether the string in text-based document is converted to the date data. Default is false.
Returns:
boolean
setConvertDateTimeData(boolean value)
public final void setConvertDateTimeData(boolean value)
Gets or sets a value that indicates whether the string in text-based document is converted to the date data. Default is false.
Parameters:
Parameter
Type
Description
value
boolean
getConvertNumericData()
public final boolean getConvertNumericData()
Gets or sets a value that indicates whether the string in text-based document is converted to numeric data. Default is false.
Returns:
boolean
setConvertNumericData(boolean value)
public final void setConvertNumericData(boolean value)
Gets or sets a value that indicates whether the string in text-based document is converted to numeric data. Default is false.
Parameters:
Parameter
Type
Description
value
boolean
getTreatConsecutiveDelimitersAsOne()
public final boolean getTreatConsecutiveDelimitersAsOne()
Defines whether consecutive delimiters should be treated as one. By default is false.
Returns:
boolean
setTreatConsecutiveDelimitersAsOne(boolean value)
public final void setTreatConsecutiveDelimitersAsOne(boolean value)
Defines whether consecutive delimiters should be treated as one. By default is false.
Parameters:
Parameter
Type
Description
value
boolean
getOptimizeMemoryUsage()
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).
Returns:
boolean
setOptimizeMemoryUsage(boolean value)
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).
Parameters:
Parameter
Type
Description
value
boolean
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.