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

Type Parameters:
E -
All Superinterfaces:
Serializable
All Known Implementing Classes:
TableUnmarshallerCSV, TableUnmarshallerPlainText, TableUnmarshallerXLS, TableUnmarshallerXML

public interface TableUnmarshaller<E>
extends Serializable

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

Method Summary
 void unmarshal(Table<E> table, CharSequence charSequence)
          Unmarshalls the given Table instance from a given CharSequence.
 void unmarshal(Table<E> table, InputStream inputStream)
          Unmarshals the given Table from an InputStream.
 

Method Detail

unmarshal

void unmarshal(Table<E> table,
               InputStream inputStream)
Unmarshals the given Table from an InputStream. The given Table instance is cleared before the unmarshal process.

Parameters:
table -
inputStream -

unmarshal

void unmarshal(Table<E> table,
               CharSequence charSequence)
Unmarshalls the given Table instance from a given CharSequence. This will clean the Table instance before.

Parameters:
table -
charSequence -
See Also:
#unmarshal(Table, CharSequence, String)


Copyright © 2011. All Rights Reserved.