public class MetaCSVData extends Object implements CSVParameters
| Modifier and Type | Field and Description |
|---|---|
static MetaCSVData |
DEFAULT |
| Constructor and Description |
|---|
MetaCSVData(String metaVersion,
Map<String,String> meta,
Charset encoding,
boolean utf8BOM,
String lineTerminator,
char delimiter,
char quoteChar,
boolean doubleQuote,
char escapeChar,
boolean skipInitialSpace,
String nullValue,
Map<Integer,FieldDescription<?>> descriptionByColIndex) |
| Modifier and Type | Method and Description |
|---|---|
char |
getDelimiter() |
FieldDescription<?> |
getDescription(int c) |
Charset |
getEncoding() |
char |
getEscapeChar() |
String |
getLineTerminator() |
String |
getMeta(String key) |
MetaCSVMetaData |
getMetaData() |
String |
getMetaVersion() |
String |
getNullValue() |
char |
getQuoteChar() |
List<Integer> |
getSortedColIndices() |
boolean |
isDoubleQuote() |
boolean |
isSkipInitialSpace() |
boolean |
isUtf8BOM() |
ProcessorProvider |
toProcessorProvider(String nullValue) |
ReadProcessorProvider |
toReadProcessorProvider(OnError onError) |
String |
toString() |
WriteProcessorProvider |
toWriteProcessorProvider(OnError onError) |
public static MetaCSVData DEFAULT
public MetaCSVData(String metaVersion, Map<String,String> meta, Charset encoding, boolean utf8BOM, String lineTerminator, char delimiter, char quoteChar, boolean doubleQuote, char escapeChar, boolean skipInitialSpace, String nullValue, Map<Integer,FieldDescription<?>> descriptionByColIndex)
public Charset getEncoding()
public String getLineTerminator()
getLineTerminator in interface CSVParameterspublic char getDelimiter()
getDelimiter in interface CSVParameterspublic FieldDescription<?> getDescription(int c)
public boolean isUtf8BOM()
public String getNullValue()
public boolean isDoubleQuote()
isDoubleQuote in interface CSVParameterspublic char getEscapeChar()
getEscapeChar in interface CSVParameterspublic char getQuoteChar()
getQuoteChar in interface CSVParameterspublic boolean isSkipInitialSpace()
isSkipInitialSpace in interface CSVParameterspublic MetaCSVMetaData getMetaData()
public String getMetaVersion()
public ReadProcessorProvider toReadProcessorProvider(OnError onError)
public WriteProcessorProvider toWriteProcessorProvider(OnError onError)
public ProcessorProvider toProcessorProvider(String nullValue)
Copyright © 2020–2021. All rights reserved.