|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.util.resource.AbstractResourceStreamWriter
org.apache.wicket.extensions.markup.html.repeater.data.table.export.ExportToolbar.DataExportResourceStreamWriter
public static class ExportToolbar.DataExportResourceStreamWriter
An IResourceStreamWriter which writes the exportable data from a table to an output stream.
| Constructor Summary | |
|---|---|
ExportToolbar.DataExportResourceStreamWriter(IDataExporter dataExporter,
DataTable<?,?> dataTable)
Creates a new instance using the provided IDataExporter to export data. |
|
| Method Summary | |
|---|---|
String |
getContentType()
|
void |
write(OutputStream output)
Writes the exported data to the output stream. |
| Methods inherited from class org.apache.wicket.util.resource.AbstractResourceStreamWriter |
|---|
close, getInputStream, getLocale, getStyle, getVariation, lastModifiedTime, length, setLocale, setStyle, setVariation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExportToolbar.DataExportResourceStreamWriter(IDataExporter dataExporter,
DataTable<?,?> dataTable)
IDataExporter to export data.
dataExporter - The IDataExporter to use to export data.| Method Detail |
|---|
public void write(OutputStream output)
throws IOException
exportData(org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable, org.apache.wicket.extensions.markup.html.repeater.data.table.export.IDataExporter, java.io.OutputStream).
output - The output stream to which to export the data.
IOException - if an error occurs.public String getContentType()
This method returns the content type returned by IDataExporter.getContentType().
getContentType in interface org.apache.wicket.util.resource.IResourceStreamgetContentType in class org.apache.wicket.util.resource.AbstractResourceStreamWriterIDataExporter.getContentType().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||