public interface Exporter
Modifier and Type | Method and Description |
---|---|
void |
export(Class<?> dataObjectClass,
List<? extends Object> dataObjects,
String exportFormat,
OutputStream outputStream)
Exports the List of BusinessObjects to the specified ExportFormat.
|
List<String> |
getSupportedFormats(Class<?> dataObjectClass)
Returns a List of ExportFormats supported by this Exporter for the given
DataOject class.
|
void export(Class<?> dataObjectClass, List<? extends Object> dataObjects, String exportFormat, OutputStream outputStream) throws IOException, ExportNotSupportedException
dataObjectClass
- the type of DataObjects being exporteddata
- a List of DataObjects to exportexportFormat
- the export format in which to export the DataObjectsoutputStream
- the OutputStream to write the exported data toIOException
- if the process encounters an I/O issueExportNotSupportedException
- if the given ExportFormat is not supportedList<String> getSupportedFormats(Class<?> dataObjectClass)
dataObjectClass
- the class of the DataObjects being exportedCopyright © 2005-2015 The Kuali Foundation. All Rights Reserved.