Package csv.impl
package csv.impl
Provides implementation classes for reading various kind of streams as well as producing
such.
Delivered implementations are CSV, Excel, XML, Jdbc, JTable object.
CSVReader Example:
java.io.File f = new java.io.File("csv-test.csv");
CSVReader in = new CSVReader(new java.io.FileReader(f));
while (in.hasNext()) {
Object columns[] = in.next();
// Do something here
}
in.close();
CSVWriter Example:
java.io.File f = new java.io.File("csv-test.csv");
CSVWriter out = new CSVWriter(new java.io.FileWriter(f));
out.printRow(new Object[] { "0:0", "0:1", "0:2" });
out.printRow(new Object[] { "1:0", "1:1", "1:2" });
out.close();
-
ClassDescriptionFilters columns from underlying table reader.Filters rows from underlying table reader.An abstract implementation of TableReader.An abstract implementation of TableWriter.Abstract implementation that shall be suitable for most implementations.Abstract implementation of writer interface.Reads from CSV like streams.Implements functionality for writing CSV streams.Implements a filter based on a given index array.Default implementation of an ExcelFormatter.Describes a style for a cell.Interface for formatting Excel sheetsNotifies about Excel based events.Implements Excel reading.Provides ability to write classic Excel files.Provides implementation for writing HTML table.Implements a row filter based on row indices.Implements a table reader to read JDBC ResultSet rows.Reader for Swing's JTable.Provides ability to write XML-based Excel files.Reads from a XML file.Writer implementation for XML streams.