Class ExportToolbar.DataExportResourceStreamWriter

  • All Implemented Interfaces:
    Closeable, Serializable, AutoCloseable, org.apache.wicket.util.io.IClusterable, org.apache.wicket.util.resource.IResourceStream, org.apache.wicket.util.resource.IResourceStreamWriter, org.apache.wicket.util.watch.IModifiable
    Enclosing class:
    ExportToolbar

    public static class ExportToolbar.DataExportResourceStreamWriter
    extends org.apache.wicket.util.resource.AbstractResourceStreamWriter
    An IResourceStreamWriter which writes the exportable data from a table to an output stream.
    See Also:
    Serialized Form
    • Method Detail

      • write

        public void write​(OutputStream output)
                   throws IOException
        Writes the exported data to the output stream. This implementation calls 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).
        Parameters:
        output - The output stream to which to export the data.
        Throws:
        IOException - if an error occurs.