Package | Description |
---|---|
com.j256.simplecsv.converter |
Classes which deal with the converting of strings to Java fields and back.
|
com.j256.simplecsv.processor |
Classes used to process CSV files.
|
Modifier and Type | Method and Description |
---|---|
BigDecimal |
BigDecimalConverter.stringToJava(String line,
int lineNumber,
int linePos,
ColumnInfo<BigDecimal> columnInfo,
String value,
ParseError parseError) |
BigInteger |
BigIntegerConverter.stringToJava(String line,
int lineNumber,
int linePos,
ColumnInfo<BigInteger> columnInfo,
String value,
ParseError parseError) |
Boolean |
BooleanConverter.stringToJava(String line,
int lineNumber,
int linePos,
ColumnInfo<Boolean> columnInfo,
String value,
ParseError parseError) |
Character |
CharacterConverter.stringToJava(String line,
int lineNumber,
int linePos,
ColumnInfo<Character> columnInfo,
String value,
ParseError parseError) |
Date |
DateConverter.stringToJava(String line,
int lineNumber,
int linePos,
ColumnInfo<Date> columnInfo,
String value,
ParseError parseError) |
Enum<?> |
EnumConverter.stringToJava(String line,
int lineNumber,
int linePos,
ColumnInfo<Enum<?>> columnInfo,
String value,
ParseError parseError) |
String |
StringConverter.stringToJava(String line,
int lineNumber,
int linePos,
ColumnInfo<String> columnInfo,
String value,
ParseError parseError) |
T |
Converter.stringToJava(String line,
int lineNumber,
int linePos,
ColumnInfo<T> columnInfo,
String value,
ParseError parseError)
Converts from a string representation to Java.
|
T |
AbstractNumberConverter.stringToJava(String line,
int lineNumber,
int linePos,
ColumnInfo<T> columnInfo,
String value,
ParseError parseError) |
UUID |
UuidConverter.stringToJava(String line,
int lineNumber,
int linePos,
ColumnInfo<UUID> columnInfo,
String value,
ParseError parseError) |
Void |
VoidConverter.stringToJava(String line,
int lineNumber,
int linePos,
ColumnInfo<Void> columnInfo,
String value,
ParseError parseError) |
Modifier and Type | Method and Description |
---|---|
String[] |
CsvProcessor.processHeader(String line,
ParseError parseError)
Process a header line and divide it up into a series of quoted columns.
|
T |
CsvProcessor.processRow(String line,
ParseError parseError)
Read and process a line and return the associated entity.
|
String[] |
CsvProcessor.readHeader(BufferedReader bufferedReader,
ParseError parseError)
Read in a line and process it as a CSV header.
|
T |
CsvProcessor.readRow(BufferedReader bufferedReader,
ParseError parseError)
Read an entity line from the reader.
|
boolean |
CsvProcessor.validateHeader(String line,
ParseError parseError)
Validate the header row against the configured header columns.
|
boolean |
CsvProcessor.validateHeaderColumns(String[] columns,
ParseError parseError)
Validate header columns returned by
CsvProcessor.processHeader(String, ParseError) . |
void |
RowValidator.validateRow(String line,
int lineNumber,
T entity,
ParseError parseError)
Validate an entity that was parsed from the line at line-number.
|
Modifier and Type | Method and Description |
---|---|
List<T> |
CsvProcessor.readAll(File file,
Collection<ParseError> parseErrors)
Read in all of the entities in the file passed in.
|
List<T> |
CsvProcessor.readAll(Reader reader,
Collection<ParseError> parseErrors)
Read in all of the entities in the reader passed in.
|
List<T> |
CsvProcessor.readRows(BufferedReader bufferedReader,
Collection<ParseError> parseErrors)
Read in all of the entities in the reader passed in but without the header.
|
This documentation content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.