diva.util
Interface ModelWriter

All Known Implementing Classes:
EventWriter, MSTrainingWriter, SketchWriter, SSTrainingWriter

public interface ModelWriter

ModelWriter is an interface that should be extended by application specified model writers to write out data structures to an output stream. For example, a SketchWriter extends this interface and writes out a sketch model to a stream.

Version:
$Revision: 1.2 $
Author:
Heloise Hse (hwawen@eecs.berkeley.edu)

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

Method Detail

writeModel

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

Throws:
IOException


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.