org.omnaest.utils.structure.table.serializer
Interface TableMarshaller<E>

Type Parameters:
E -
All Superinterfaces:
Serializable
All Known Implementing Classes:
TableMarshallerCSV, TableMarshallerPlainText, TableMarshallerXLS, TableMarshallerXML

public interface TableMarshaller<E>
extends Serializable

Author:
Omnaest
See Also:
TableMarshallerFactory, TableUnmarshaller, TableSerializable.TableSerializer

Method Summary
 void marshal(Table<E> table, Appendable appendable)
          Marshals and appends the given Table to the given Appendable
 void marshal(Table<E> table, InputStream inputStream, OutputStream outputStream)
          Marshals the given Table into an OutputStream reading the data from the given InputStream first and using this for updates.
 void marshal(Table<E> table, OutputStream outputStream)
          Marshals the given Table into an OutputStream
 

Method Detail

marshal

void marshal(Table<E> table,
             OutputStream outputStream)
Marshals the given Table into an OutputStream

Parameters:
table -
outputStream -

marshal

void marshal(Table<E> table,
             InputStream inputStream,
             OutputStream outputStream)
Marshals the given Table into an OutputStream reading the data from the given InputStream first and using this for updates.

Parameters:
table -
inputStream -
outputStream -

marshal

void marshal(Table<E> table,
             Appendable appendable)
Marshals and appends the given Table to the given Appendable

Parameters:
table -
appendable -


Copyright © 2011. All Rights Reserved.