hhreco.util
Interface ModelWriter

All Known Implementing Classes:
MSTrainingWriter

public interface ModelWriter

ModelWriter is an interface that should be extended by application specific model writers to write out data structures to an output stream. For example, hhreco.recognition.MSTrainingWriter extends this class and write out a training set of sketched data.


Method Summary
 void writeModel(java.lang.Object model, java.io.Writer writer)
          Write the given model to the character stream.
 

Method Detail

writeModel

public void writeModel(java.lang.Object model,
                       java.io.Writer writer)
                throws java.io.IOException
Write the given model to the character stream.

Throws:
java.io.IOException