org.omnaest.utils.structure.table.concrete.internal.serializer.executor
Class TableMarshallerExecutorAbstract<E>

java.lang.Object
  extended by org.omnaest.utils.structure.table.concrete.internal.serializer.executor.TableMarshallerExecutorAbstract<E>
Type Parameters:
E -
All Implemented Interfaces:
Serializable, TableSerializable.TableSerializer.TableMarshallerExecutor<E>
Direct Known Subclasses:
TableMarshallerExecutorImpl

public abstract class TableMarshallerExecutorAbstract<E>
extends Object
implements TableSerializable.TableSerializer.TableMarshallerExecutor<E>

Author:
Omnaest
See Also:
TableSerializable.TableSerializer.TableMarshallerExecutor, Serialized Form

Field Summary
protected  Table<E> table
           
protected  TableMarshaller<E> tableMarshaller
           
 
Constructor Summary
TableMarshallerExecutorAbstract(TableMarshaller<E> tableMarshaller, Table<E> table)
           
 
Method Summary
 String toString()
          Returns the marshalled Table as String
 void updateTo(File file)
          Updates the given File with an existing Table content and writes it back to the given File
 void writeTo(File file)
          Writes the marshalled Table content to the given File
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omnaest.utils.structure.table.subspecification.TableSerializable.TableSerializer.TableMarshallerExecutor
appendTo, updateTo, writeTo
 

Field Detail

tableMarshaller

protected TableMarshaller<E> tableMarshaller

table

protected Table<E> table
Constructor Detail

TableMarshallerExecutorAbstract

public TableMarshallerExecutorAbstract(TableMarshaller<E> tableMarshaller,
                                       Table<E> table)
Parameters:
tableMarshaller -
table -
Method Detail

toString

public String toString()
Description copied from interface: TableSerializable.TableSerializer.TableMarshallerExecutor
Returns the marshalled Table as String

Specified by:
toString in interface TableSerializable.TableSerializer.TableMarshallerExecutor<E>
Overrides:
toString in class Object

writeTo

public void writeTo(File file)
Description copied from interface: TableSerializable.TableSerializer.TableMarshallerExecutor
Writes the marshalled Table content to the given File

Specified by:
writeTo in interface TableSerializable.TableSerializer.TableMarshallerExecutor<E>

updateTo

public void updateTo(File file)
Description copied from interface: TableSerializable.TableSerializer.TableMarshallerExecutor
Updates the given File with an existing Table content and writes it back to the given File

Specified by:
updateTo in interface TableSerializable.TableSerializer.TableMarshallerExecutor<E>


Copyright © 2011. All Rights Reserved.