| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Exporter
An Exporter provides the ability to export a List of BusinessObjects to a supported ExportFormat.
| Method Summary | |
|---|---|
|  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. | 
| Method Detail | 
|---|
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 to
IOException - if the process encounters an I/O issue
ExportNotSupportedException - if the given ExportFormat is not supportedList<String> getSupportedFormats(Class<?> dataObjectClass)
dataObjectClass - the class of the DataObjects being exported
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||