public class DataExporter extends Object implements Exporter
| Constructor and Description |
|---|
DataExporter() |
| 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)
Export the given List of Objects of the specified type to XML.
|
List<String> |
getSupportedFormats(Class<?> dataObjectClass) |
public DataExporter()
public List<String> getSupportedFormats(Class<?> dataObjectClass)
getSupportedFormats in interface ExporterExporter.getSupportedFormats(java.lang.Class)protected 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 ExporterIOExceptionExportNotSupportedExceptionExporter.export(java.lang.Class, java.util.List, java.lang.String, java.io.OutputStream)Copyright © 2005–2017 The Kuali Foundation. All rights reserved.