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

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

public abstract class TableUnmarshallerExecutorAbstract<E>
extends Object
implements TableSerializable.TableSerializer.TableUnmarshallerExecutor<E>

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

Field Summary
protected  Table<E> table
           
protected  TableUnmarshaller<E> tableUnmarshaller
           
 
Constructor Summary
TableUnmarshallerExecutorAbstract(TableUnmarshaller<E> tableUnmarshaller, Table<E> table)
           
 
Method Summary
 Table<E> from(File file)
          Reads the given File and unmarshalls it into the underlying Table
 Table<E> from(String string)
          Reads a String and unmarshalls it into the underlying Table
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omnaest.utils.structure.table.subspecification.TableSerializable.TableSerializer.TableUnmarshallerExecutor
from, from
 

Field Detail

tableUnmarshaller

protected TableUnmarshaller<E> tableUnmarshaller

table

protected Table<E> table
Constructor Detail

TableUnmarshallerExecutorAbstract

public TableUnmarshallerExecutorAbstract(TableUnmarshaller<E> tableUnmarshaller,
                                         Table<E> table)
Parameters:
tableUnmarshaller -
table -
Method Detail

from

public Table<E> from(String string)
Description copied from interface: TableSerializable.TableSerializer.TableUnmarshallerExecutor
Reads a String and unmarshalls it into the underlying Table

Specified by:
from in interface TableSerializable.TableSerializer.TableUnmarshallerExecutor<E>
Returns:
Table

from

public Table<E> from(File file)
Description copied from interface: TableSerializable.TableSerializer.TableUnmarshallerExecutor
Reads the given File and unmarshalls it into the underlying Table

Specified by:
from in interface TableSerializable.TableSerializer.TableUnmarshallerExecutor<E>
Returns:
Table


Copyright © 2011. All Rights Reserved.