Package de.xima.fc.mdl.csv
Class CSVFormatWrapper
- java.lang.Object
 - 
- de.xima.fc.mdl.csv.CSVFormatWrapper
 
 
- 
- All Implemented Interfaces:
 Serializable
public final class CSVFormatWrapper extends Object implements Serializable
Wrapper class for CSV formats- Author:
 - XIMA MEDIA GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static CSVFormatWrapperDEFAULT 
- 
Method Summary
 
 - 
 
- 
- 
Field Detail
- 
DEFAULT
public static CSVFormatWrapper DEFAULT
 
 - 
 
- 
Method Detail
- 
getAllowMissingColumnNames
public boolean getAllowMissingColumnNames()
 
- 
getDelimiter
public char getDelimiter()
 
- 
getEscapeCharacter
public Character getEscapeCharacter()
 
- 
getIgnoreEmptyLines
public boolean getIgnoreEmptyLines()
 
- 
getRecordSeparator
public String getRecordSeparator()
 
- 
getQuoteCharacter
public Character getQuoteCharacter()
 
- 
getWrappedFormat
public org.apache.commons.csv.CSVFormat getWrappedFormat()
 
- 
newFormat
public static CSVFormatWrapper newFormat(char delimiter)
 
- 
withAllowMissingColumnNames
public CSVFormatWrapper withAllowMissingColumnNames()
 
- 
withAllowMissingColumnNames
public CSVFormatWrapper withAllowMissingColumnNames(boolean allowMissingColumnNames)
 
- 
withDelimiter
public CSVFormatWrapper withDelimiter(char delimiter)
 
- 
withEscape
public CSVFormatWrapper withEscape(char escape)
 
- 
withEscape
public CSVFormatWrapper withEscape(Character escape)
 
- 
withIgnoreEmptyLines
public CSVFormatWrapper withIgnoreEmptyLines()
 
- 
withIgnoreEmptyLines
public CSVFormatWrapper withIgnoreEmptyLines(boolean ignoreEmptyLines)
 
- 
withRecordSeparator
public CSVFormatWrapper withRecordSeparator(char recordSeparator)
 
- 
withRecordSeparator
public CSVFormatWrapper withRecordSeparator(String recordSeparator)
 
- 
withQuote
public CSVFormatWrapper withQuote(char quoteChar)
 
- 
withQuote
public CSVFormatWrapper withQuote(Character quoteChar)
 
- 
parse
public CSVParserWrapper parse(Reader in) throws IOException
- Throws:
 IOException
 
- 
parse
public CSVParserWrapper parse(String data) throws IOException
- Throws:
 IOException
 
 - 
 
 -