Package one.microstream.util.csv
Class CsvConfiguration.Default
- java.lang.Object
-
- one.microstream.util.csv.CsvConfiguration.Default
-
- All Implemented Interfaces:
ThreadSafe
,HashImmutable
,Immutable
,CsvConfiguration
- Enclosing interface:
- CsvConfiguration
public static final class CsvConfiguration.Default extends Object implements CsvConfiguration, Immutable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.util.csv.CsvConfiguration
CsvConfiguration.Builder, CsvConfiguration.Default
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description String
buildControlCharactersDefinition(char separator)
char
commentFullStarter()
String
commentFullTerminator()
char[]
commentFullTerminatorArray()
Returns a potentially cached char array ofCsvConfiguration.commentFullTerminator()
for read-only use.char
commentSignal()
char
commentSimpleStarter()
EscapeHandler
escapeHandler()
char
escaper()
char
headerStarter()
char
headerTerminator()
boolean
isControlCharacter(char c)
char
literalDelimiter()
int
postColumnHeaderSkipLineCount()
char
recordSeparator()
String
recordSeparator(String prefix, String suffix)
char
segmentStarter()
char
segmentTerminator()
int
skipLineCount()
char
terminator()
int
trailingLineCount()
EscapeHandler
valueEscapeHandler()
char
valueSeparator()
String
valueSeparator(String prefix, String suffix)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface one.microstream.util.csv.CsvConfiguration
lineSeparator
-
Methods inherited from interface one.microstream.hashing.HashImmutable
equals, hashCode
-
-
-
-
Method Detail
-
commentFullTerminatorArray
public final char[] commentFullTerminatorArray()
Description copied from interface:CsvConfiguration
Returns a potentially cached char array ofCsvConfiguration.commentFullTerminator()
for read-only use.- Specified by:
commentFullTerminatorArray
in interfaceCsvConfiguration
-
recordSeparator
public final char recordSeparator()
- Specified by:
recordSeparator
in interfaceCsvConfiguration
-
terminator
public final char terminator()
- Specified by:
terminator
in interfaceCsvConfiguration
-
segmentStarter
public final char segmentStarter()
- Specified by:
segmentStarter
in interfaceCsvConfiguration
-
segmentTerminator
public final char segmentTerminator()
- Specified by:
segmentTerminator
in interfaceCsvConfiguration
-
headerStarter
public final char headerStarter()
- Specified by:
headerStarter
in interfaceCsvConfiguration
-
headerTerminator
public final char headerTerminator()
- Specified by:
headerTerminator
in interfaceCsvConfiguration
-
commentSignal
public final char commentSignal()
- Specified by:
commentSignal
in interfaceCsvConfiguration
-
commentSimpleStarter
public final char commentSimpleStarter()
- Specified by:
commentSimpleStarter
in interfaceCsvConfiguration
-
commentFullStarter
public final char commentFullStarter()
- Specified by:
commentFullStarter
in interfaceCsvConfiguration
-
commentFullTerminator
public final String commentFullTerminator()
- Specified by:
commentFullTerminator
in interfaceCsvConfiguration
-
valueSeparator
public final char valueSeparator()
- Specified by:
valueSeparator
in interfaceCsvConfiguration
-
literalDelimiter
public final char literalDelimiter()
- Specified by:
literalDelimiter
in interfaceCsvConfiguration
-
escaper
public final char escaper()
- Specified by:
escaper
in interfaceCsvConfiguration
-
skipLineCount
public final int skipLineCount()
- Specified by:
skipLineCount
in interfaceCsvConfiguration
-
postColumnHeaderSkipLineCount
public final int postColumnHeaderSkipLineCount()
- Specified by:
postColumnHeaderSkipLineCount
in interfaceCsvConfiguration
-
trailingLineCount
public final int trailingLineCount()
- Specified by:
trailingLineCount
in interfaceCsvConfiguration
-
escapeHandler
public final EscapeHandler escapeHandler()
- Specified by:
escapeHandler
in interfaceCsvConfiguration
-
valueEscapeHandler
public final EscapeHandler valueEscapeHandler()
- Specified by:
valueEscapeHandler
in interfaceCsvConfiguration
-
valueSeparator
public final String valueSeparator(String prefix, String suffix)
- Specified by:
valueSeparator
in interfaceCsvConfiguration
-
recordSeparator
public final String recordSeparator(String prefix, String suffix)
- Specified by:
recordSeparator
in interfaceCsvConfiguration
-
buildControlCharactersDefinition
public final String buildControlCharactersDefinition(char separator)
- Specified by:
buildControlCharactersDefinition
in interfaceCsvConfiguration
-
isControlCharacter
public final boolean isControlCharacter(char c)
- Specified by:
isControlCharacter
in interfaceCsvConfiguration
-
-