| Package | Description |
|---|---|
| org.nuiton.csv |
This package contains a framework to import and export data from a
csv file using a model which permits us to validate what to do.
|
| org.nuiton.csv.ext |
Offers some extended api.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImportExportModel<E>
TODO
|
| Modifier and Type | Class and Description |
|---|---|
class |
CsvModel<E> |
| Modifier and Type | Field and Description |
|---|---|
protected ExportModel<E> |
Export.model
Export model.
|
| Modifier and Type | Method and Description |
|---|---|
static <E> void |
Export.exportToFile(ExportModel<E> model,
Iterable<E> data,
File file) |
static <E> void |
Export.exportToFile(ExportModel<E> model,
Iterable<E> data,
File file,
Charset charset) |
static <E> void |
Export.exportToFile(ExportModel<E> model,
Iterable<E> data,
File file,
Charset charset,
boolean writeHeader) |
static <E> void |
Export.exportToOutputStream(ExportModel<E> model,
Iterable<E> data,
OutputStream outputStream) |
static <E> void |
Export.exportToOutputStream(ExportModel<E> model,
Iterable<E> data,
OutputStream outputStream,
boolean writeHeader) |
static <E> void |
Export.exportToOutputStream(ExportModel<E> model,
Iterable<E> data,
OutputStream outputStream,
boolean writeHeader,
Charset charset) |
static <E> void |
Export.exportToOutputStream(ExportModel<E> model,
Iterable<E> data,
OutputStream outputStream,
Charset charset) |
static <E> String |
Export.exportToString(ExportModel<E> model,
Iterable<E> data) |
static <E> String |
Export.exportToString(ExportModel<E> model,
Iterable<E> data,
Charset charset) |
static <E> String |
Export.exportToString(ExportModel<E> model,
Iterable<E> data,
Charset charset,
boolean writeHeader) |
static <E> void |
Export.exportToWriter(ExportModel<E> model,
Iterable<E> data,
Writer writer) |
static <E> void |
Export.exportToWriter(ExportModel<E> model,
Iterable<E> data,
Writer writer,
boolean writeHeader) |
static <E> Export<E> |
Export.newExport(ExportModel<E> model,
Iterable<E> data) |
| Constructor and Description |
|---|
Export(ExportModel<E> model,
Iterable<E> data) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractExportModel<E>
Abstract implementation of a
ExportModel to avoid all the
boilerplate code when creating a new model. |
class |
AbstractImportExportModel<E>
Abstract implementation of a
ImportExportModel to avoid all the
boilerplate code when creating a new model. |
| Modifier and Type | Method and Description |
|---|---|
static <E> void |
RepeatableExport.exportToFile(ExportModel<E> model,
Iterable<E> data,
File file,
Charset charset,
boolean writeOnceHeader) |
static <E> String |
RepeatableExport.exportToString(ExportModel<E> model,
Iterable<E> data,
Charset charset,
boolean writeOnceHeader) |
static <E> void |
RepeatableExport.exportToWriter(ExportModel<E> model,
Iterable<E> data,
Writer writer,
boolean writeOnceHeader) |
static <E> RepeatableExport<E> |
RepeatableExport.newExport(ExportModel<E> model,
Iterable<E> data,
boolean writeOnceHeader) |
| Constructor and Description |
|---|
RepeatableExport(ExportModel<E> model,
Iterable<E> data,
boolean writeOnceHeader) |
Copyright © 2013–2014 CodeLutin. All rights reserved.