public interface RecordSeparatorSpecifier
Modifier and Type | Method and Description |
---|---|
boolean |
getAutoDiscoverNewline()
Indicates whether automated newline discovery is configured.
|
String |
getRecordSeparator()
Gets the value used as a record separator in structured text.
|
void |
set(RecordSeparatorSpecifier source)
Copy the settings from the given structure specifier.
|
void |
setAutoDiscoverNewline(boolean enabled)
Sets whether automated newline discovery is configured.
|
void |
setRecordSeparator(String separator)
Set the value to use as a record separator when reading or writing text
files.
|
void set(RecordSeparatorSpecifier source)
source
- record specifier containing the desired settingsString getRecordSeparator()
void setRecordSeparator(String separator)
Setting this value disables newline style discovery.
separator
- the value to use as a record separatorInvalidPropertyValueException
- if the separator is
null
or the empty stringsetAutoDiscoverNewline(boolean)
boolean getAutoDiscoverNewline()
true
if newline style discovery is enabled,
false
otherwise.void setAutoDiscoverNewline(boolean enabled)
Enabling this changes the the record separator to the default line separator for the installed operating system of the execution environment. It should be also noted that this setting may not be recognized in all contexts.
enabled
- indicates whether to discover newline style.setRecordSeparator(String)
Copyright © 2021 Actian Corporation. All rights reserved.