| Package | Description |
|---|---|
| csv |
Provides basic classes for reading and writing table-like data.
|
| csv.impl |
Provides implementation classes for reading various kind of streams as well as producing
such.
|
| csv.util |
Some utility classes for copying tables to each other and wrapper classes
that ease reading and writing objects.
|
| Modifier and Type | Method | Description |
|---|---|---|
TableReader |
CSVFactory.getReader(File file) |
Returns the correct reader for the given file.
|
TableReader |
CSVFactory.getReader(String file) |
Returns the correct reader for the given file.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
CommentCallback.comment(TableReader reader,
String comment,
int row,
int cell) |
Informs about a comment appeared in underlying stream.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
AbstractColumnFilter |
Filters columns from underlying table reader.
|
class |
AbstractRowFilter |
Filters rows from underlying table reader.
|
class |
AbstractStreamTableReader |
An abstract implementation of TableReader.
|
class |
AbstractTableReader |
Abstract implementation that shall be suitable for most implementations.
|
class |
CSVReader |
Reads from CSV like streams.
|
class |
DefaultColumnFilter |
Implements a filter based on a given index array.
|
class |
ExcelReader |
Implements Excel reading.
|
class |
IndexRowFilter |
Implements a row filter based on row indices.
|
class |
JdbcReader |
Implements a table reader to read JDBC ResultSet rows.
|
class |
JTableReader |
Reader for Swing's JTable.
|
class |
XmlReader |
Reads from a XML file.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected TableReader |
AbstractColumnFilter.getReader() |
Returns the underlying reader.
|
protected TableReader |
AbstractRowFilter.getReader() |
Returns the underlying reader.
|
| Constructor | Description |
|---|---|
AbstractColumnFilter(TableReader reader) |
Constructor.
|
AbstractRowFilter(TableReader reader) |
Constructor.
|
DefaultColumnFilter(TableReader reader,
int[] indexOrder) |
Default Constructor
|
IndexRowFilter(TableReader reader,
int[] validRowIndices) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
CSVUtils.copy(TableReader reader,
TableWriter writer) |
Copies content from one reader to another writer without header row.
|
static void |
CSVUtils.copy(TableReader reader,
TableWriter writer,
boolean copyHeaderRow) |
Copies content from one reader to another writer.
|
| Constructor | Description |
|---|---|
BeanReader(TableReader reader) |
Constructor.
|
BeanReader(TableReader reader,
String[] attributes) |
Constructor.
|
BeanReader(Class<T> beanClass,
TableReader reader) |
Constructor.
|
BeanReader(Class<T> beanClass,
TableReader reader,
boolean evaluateHeaderRow,
String[] attributes) |
Internal Constructor.
|
BeanReader(Class<T> beanClass,
TableReader reader,
String[] attributes) |
Constructor.
|
Copyright © 2018. All rights reserved.