| Package | Description |
|---|---|
| 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 | Class and Description |
|---|---|
class |
AbstractStreamTableWriter
An abstract implementation of TableWriter.
|
class |
AbstractTableWriter
Abstract implementation of writer interface.
|
class |
CSVWriter
Implements functionality for writing CSV streams.
|
class |
ExcelWriter
Provides ability to write Excel files.
|
class |
HtmlWriter
Provides implementation for writing HTML table.
|
class |
XmlWriter
Writer implementation for XML streams.
|
| Modifier and Type | Method and Description |
|---|---|
TableWriter |
BeanWriter.getWriter()
Returns the current writer.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
CSVUtils.copy(Collection<? extends Object[]> collection,
TableWriter writer)
Copies the arrays from the collection to the stream.
|
static int |
CSVUtils.copy(Iterator<? extends Object[]> i,
TableWriter writer)
Copies the arrays from the iterator to the stream.
|
static void |
CSVUtils.copy(JTable table,
TableWriter writer,
boolean writeHeaderRow,
boolean selectedOnly)
Deprecated.
|
static int |
CSVUtils.copy(Object[][] arr,
TableWriter writer)
Copies the arrays from the iterator to the stream.
|
static void |
CSVUtils.copy(ResultSet resultSet,
TableWriter writer,
boolean writeHeaderRow)
Deprecated.
|
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.
|
static <T> int |
CSVUtils.copyBeans(Collection<T> collection,
TableWriter writer)
Copies the beans from the collection to the stream.
|
static <T> int |
CSVUtils.copyBeans(Iterator<T> i,
TableWriter writer)
Copies the beans from the collection to the stream.
|
static <T> int |
CSVUtils.copyBeans(T[] arr,
TableWriter writer)
Copies the beans from the array to the stream.
|
static void |
CSVUtils.copyHeader(ResultSet resultSet,
TableWriter writer)
Copies the header of the JDBC result set into the table writer.
|
static void |
CSVUtils.copyTableHeader(JTableHeader tableHeader,
TableWriter writer)
Copies the table header into the table writer.
|
protected void |
BeanWriter.setWriter(TableWriter writer)
Sets the writer.
|
| Constructor and Description |
|---|
BeanWriter(TableWriter writer,
boolean writeHeaderRow)
Constructor.
|
Copyright © 2014. All rights reserved.