org.omnaest.utils.structure.table.serializer.marshaller
Class TableMarshallerXLS<E>

java.lang.Object
  extended by org.omnaest.utils.structure.table.serializer.marshaller.TableMarshallerXLS<E>
Type Parameters:
E -
All Implemented Interfaces:
Serializable, TableMarshaller<E>

public class TableMarshallerXLS<E>
extends Object
implements TableMarshaller<E>

Author:
Omnaest
See Also:
TableMarshaller, TableUnmarshallerXLS, Serialized Form

Field Summary
protected  String workSheetName
           
protected  boolean writeColumnTitles
           
protected  boolean writeRowTitles
           
protected  boolean writeTableName
           
 
Constructor Summary
TableMarshallerXLS()
           
TableMarshallerXLS(boolean writeTableName, boolean writeColumnTitles, boolean writeRowTiles)
           
TableMarshallerXLS(String workSheetName)
           
TableMarshallerXLS(String workSheetName, boolean writeTableName, boolean writeColumnTitles, boolean writeRowTitles)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

workSheetName

protected String workSheetName

writeTableName

protected boolean writeTableName

writeColumnTitles

protected boolean writeColumnTitles

writeRowTitles

protected boolean writeRowTitles
Constructor Detail

TableMarshallerXLS

public TableMarshallerXLS()

TableMarshallerXLS

public TableMarshallerXLS(String workSheetName)
Parameters:
workSheetName -

TableMarshallerXLS

public TableMarshallerXLS(boolean writeTableName,
                          boolean writeColumnTitles,
                          boolean writeRowTiles)
Parameters:
writeTableName -
writeColumnTitles -
writeRowTiles -

TableMarshallerXLS

public TableMarshallerXLS(String workSheetName,
                          boolean writeTableName,
                          boolean writeColumnTitles,
                          boolean writeRowTitles)
Parameters:
workSheetName -
writeTableName -
writeColumnTitles -
writeRowTitles -
Method Detail

marshal

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

Specified by:
marshal in interface TableMarshaller<E>

marshal

public void marshal(Table<E> table,
                    OutputStream outputStream)
Description copied from interface: TableMarshaller
Marshals the given Table into an OutputStream

Specified by:
marshal in interface TableMarshaller<E>

marshal

public void marshal(Table<E> table,
                    Appendable appendable)
Description copied from interface: TableMarshaller
Marshals and appends the given Table to the given Appendable

Specified by:
marshal in interface TableMarshaller<E>


Copyright © 2011. All Rights Reserved.