public interface ExportAware<RESULT_TYPE>
Modifier and Type | Interface and Description |
---|---|
static class |
ExportAware.ExportFormat
The formats the export functionality should at least support.
|
Modifier and Type | Method and Description |
---|---|
void |
exportToFile(File aOutputFile,
ExportAware.ExportFormat aFormat)
Exports the results to a file in the given format.
|
RESULT_TYPE |
getLastResult()
Returns the result of the last tool invocation.
|
void exportToFile(File aOutputFile, ExportAware.ExportFormat aFormat) throws IOException
aOutputFile
- the file to write the export results to, cannot be
null
;aFormat
- the format in which to write the results, cannot be
null
.IOException
- in case of I/O problems exporting the data to file.RESULT_TYPE getLastResult()
null
.Copyright © 2015 L'Xtreme IT consultancy. All rights reserved.