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)
ExportergetSupportedFormats in interface ExporterdataObjectClass - 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 ExporterdataObjectClass - 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–2015 The Kuali Foundation. All rights reserved.