|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.sketch.recognition.SSTrainingWriter
public class SSTrainingWriter
SSTrainingWriter (Single Stroke Training Writer) takes a SSTrainingModel and writes it out to an outputstream.
Constructor Summary | |
---|---|
SSTrainingWriter()
|
Method Summary | |
---|---|
void |
writeModel(Object m,
OutputStream out)
Write the training model to the output stream. |
void |
writeModel(Object m,
Writer writer)
Write the training model to the character-output stream. |
static void |
writeStroke(TimedStroke s,
Writer writer)
Write out the sequence of points in the stroke. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SSTrainingWriter()
Method Detail |
---|
public void writeModel(Object m, OutputStream out) throws IOException
IOException
public void writeModel(Object m, Writer writer) throws IOException
writeModel
in interface ModelWriter
IOException
public static void writeStroke(TimedStroke s, Writer writer) throws IOException
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |