|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.lxtreme.ols.util.ExportUtils
public final class ExportUtils
Provides several export utilities, like exporters for CSV and/or HTML.
Nested Class Summary | |
---|---|
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
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |