org.omnaest.utils.structure.table.concrete.internal.serializer.executor
Class TableMarshallerExecutorAbstract<E>
java.lang.Object
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
tableMarshaller
protected TableMarshaller<E> tableMarshaller
table
protected Table<E> table
TableMarshallerExecutorAbstract
public TableMarshallerExecutorAbstract(TableMarshaller<E> tableMarshaller,
Table<E> table)
- Parameters:
tableMarshaller - table -
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.