public class EdlDataExporter extends Object implements Exporter
Exporter
class which facilitates exporting
of EDocLite data from the GUI.ExportDataSet
Constructor and Description |
---|
EdlDataExporter() |
Modifier and Type | Method and Description |
---|---|
protected ExportDataSet |
buildExportDataSet(Class<?> dataObjectClass,
List<? extends Object> dataObjects)
Builds the ExportDataSet based on the BusinessObjects passed in.
|
void |
export(Class<?> dataObjectClass,
List<? extends Object> dataObjects,
String exportFormat,
OutputStream outputStream)
This overridden method ...
|
List<String> |
getSupportedFormats(Class<?> dataObjectClass)
Returns a List of ExportFormats supported by this Exporter for the given DataOject class.
|
public EdlDataExporter()
public List<String> getSupportedFormats(Class<?> dataObjectClass)
Exporter
getSupportedFormats
in interface Exporter
dataObjectClass
- the class of the DataObjects being exportedprotected ExportDataSet buildExportDataSet(Class<?> dataObjectClass, List<? extends Object> dataObjects)
public void export(Class<?> dataObjectClass, List<? extends Object> dataObjects, String exportFormat, OutputStream outputStream) throws IOException, ExportNotSupportedException
export
in interface Exporter
dataObjectClass
- the type of DataObjects being exporteddataObjects
- 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 supportedExporter.export(java.lang.Class, java.util.List, java.lang.String, java.io.OutputStream)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.