org.wiigee.util
Class FileIO

java.lang.Object
  extended by org.wiigee.util.FileIO

public class FileIO
extends java.lang.Object

This is a static class to support saving and loading complete gestures. I've choosen not to use some kind of XML, because the big multidimensional arrays would cause a huge senseless amount of xml-data. So KISS: Keep It Simple, Stupid! ;) Comma-separated-vectors with some control data.


Constructor Summary
FileIO()
           
 
Method Summary
static GestureModel readFromFile(java.lang.String name)
           
static void writeToFile(GestureModel m, java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileIO

public FileIO()
Method Detail

writeToFile

public static void writeToFile(GestureModel m,
                               java.lang.String name)

readFromFile

public static GestureModel readFromFile(java.lang.String name)