diva.sketch.recognition
Class MSTrainingWriter
java.lang.Object
diva.sketch.recognition.MSTrainingWriter
- All Implemented Interfaces:
- ModelWriter
public class MSTrainingWriter
- extends Object
- implements ModelWriter
MSTrainingWriter (Multi-Stroke Training Writer) takes a
MSTrainingModel and writes it out to an outputstream.
- Version:
- $Revision: 1.2 $
- Author:
- Heloise Hse (hwawen@eecs.berkeley.edu)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MSTrainingWriter
public MSTrainingWriter()
writeModel
public void writeModel(Object m,
OutputStream out)
throws IOException
- Write the training model to the output stream.
The caller is responsible for closing the
stream.
- Throws:
IOException
writeModel
public void writeModel(Object m,
Writer writer)
throws IOException
- Write the training model to the character-output stream.
The caller is responsible for closing the
stream.
- Specified by:
writeModel
in interface ModelWriter
- Throws:
IOException
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.