|
||||||||||
| 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(java.lang.Class<? extends org.kuali.rice.kns.bo.BusinessObject> businessObjectClass,
java.util.List<org.kuali.rice.kns.bo.BusinessObject> data,
java.lang.String exportFormat,
java.io.OutputStream outputStream)
Exports the List of BusinessObjects to the specified ExportFormat. |
java.util.List<java.lang.String> |
getSupportedFormats(java.lang.Class<? extends org.kuali.rice.kns.bo.BusinessObject> businessObjectClass)
Returns a List of ExportFormats supported by this Exporter for the given BusinessOject class. |
| Method Detail |
|---|
void export(java.lang.Class<? extends org.kuali.rice.kns.bo.BusinessObject> businessObjectClass,
java.util.List<org.kuali.rice.kns.bo.BusinessObject> data,
java.lang.String exportFormat,
java.io.OutputStream outputStream)
throws java.io.IOException,
ExportNotSupportedException
businessObjectClass - the type of BusinessObjects being exporteddata - a List of BusinessObjects to exportexportFormat - the export format in which to export the BusinessObjectsoutputStream - the OutputStream to write the exported data to
java.io.IOException - if the process encounters an I/O issue
ExportNotSupportedException - if the given ExportFormat is not supportedjava.util.List<java.lang.String> getSupportedFormats(java.lang.Class<? extends org.kuali.rice.kns.bo.BusinessObject> businessObjectClass)
businessObjectClass - the class of the BusinessObjects being exported
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||