public final class ExportUtils extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ExportUtils.CsvExporter
Provides a simple CSV data exporter, which is basically a set of (optional)
headers at the first line followed by a number of comma-separated values.
|
static interface |
ExportUtils.HtmlExporter
Provides a simple HTML exporter, which is kind of a tree-structure of
HTML-elements (containing attributes).
|
static interface |
ExportUtils.HtmlFileExporter |
Modifier and Type | Method and Description |
---|---|
static ExportUtils.CsvExporter |
createCsvExporter(File aFile)
Creates a CSV exporter for the given file.
|
static ExportUtils.HtmlExporter |
createHtmlExporter()
Creates a HTML exporter.
|
static ExportUtils.HtmlFileExporter |
createHtmlExporter(File aFile)
Creates a HTML exporter for the given file, which is written in UTF-8.
|
public static ExportUtils.CsvExporter createCsvExporter(File aFile) throws IOException
aFile
- the file to export to, cannot be null
.null
.IOException
- in case of I/O errors.public static ExportUtils.HtmlExporter createHtmlExporter()
null
.public static ExportUtils.HtmlFileExporter createHtmlExporter(File aFile) throws IOException
aFile
- the file to export to, cannot be null
.null
.IOException
- in case of I/O errors.Copyright © 2015 L'Xtreme IT consultancy. All rights reserved.