Package | Description |
---|---|
org.opencrx.application.uses.org.apache.commons.csv |
Modifier and Type | Field and Description |
---|---|
static CSVFormat |
CSVFormat.DEFAULT
Standard comma separated format, as for
RFC4180 but allowing blank lines. |
static CSVFormat |
CSVFormat.EXCEL
Excel file format (using a comma as the value delimiter).
|
static CSVFormat |
CSVFormat.MYSQL
Default MySQL format used by the SELECT INTO OUTFILE and LOAD DATA INFILE operations.
|
static CSVFormat |
CSVFormat.RFC4180
Comma separated format as defined by RFC 4180.
|
static CSVFormat |
CSVFormat.TDF
Tab-delimited format, with quote; leading and trailing spaces ignored.
|
Modifier and Type | Method and Description |
---|---|
CSVFormat |
CSVFormat.withCommentStart(char commentStart)
Returns a copy of this format using the specified character as the comment start marker.
|
CSVFormat |
CSVFormat.withCommentStart(Character commentStart)
Returns a copy of this format using the specified character as the comment start marker.
|
CSVFormat |
CSVFormat.withDelimiter(char delimiter)
Returns a copy of this format using the specified delimiter character.
|
CSVFormat |
CSVFormat.withEscape(char escape)
Returns a copy of this format using the specified escape character.
|
CSVFormat |
CSVFormat.withEscape(Character escape)
Returns a copy of this format using the specified escape character.
|
CSVFormat |
CSVFormat.withHeader(String... header)
Returns a copy of this format using the specified header.
|
CSVFormat |
CSVFormat.withIgnoreEmptyLines(boolean ignoreEmptyLines)
Returns a copy of this format with the specified empty line skipping behavior.
|
CSVFormat |
CSVFormat.withIgnoreSurroundingSpaces(boolean ignoreSurroundingSpaces)
Returns a copy of this format with the specified trimming behavior.
|
CSVFormat |
CSVFormat.withQuoteChar(char quoteChar)
Returns a copy of this format using the specified quoteChar character.
|
CSVFormat |
CSVFormat.withQuoteChar(Character quoteChar)
Returns a copy of this format using the specified quoteChar character.
|
CSVFormat |
CSVFormat.withQuotePolicy(Quote quotePolicy)
Returns a copy of this format using the specified output quote policy.
|
CSVFormat |
CSVFormat.withRecordSeparator(char recordSeparator)
Returns a copy of this format using the specified output record separator.
|
CSVFormat |
CSVFormat.withRecordSeparator(String recordSeparator)
Returns a copy of this format using the specified output record separator.
|
Constructor and Description |
---|
CSVParser(Reader input,
CSVFormat format)
Customized CSV parser using the given
CSVFormat |
CSVParser(String input,
CSVFormat format)
Customized CSV parser using the given
CSVFormat |
CSVPrinter(Appendable out,
CSVFormat format)
Creates a printer that will print values to the given stream following the CSVFormat.
|
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.