Example #1
0
 /**
  * Load the data from file/muffin
  *
  * @throws java.io.IOException Indicates it wasn't possible to load the state
  */
 public void load() throws IOException {
   numericData = muffin.loadFile(fileName + "_Number");
   stringData = muffin.loadFile(fileName + "_String");
 }
Example #2
0
 /**
  * Save the stored data to file/muffin
  *
  * @throws java.io.IOException Indicates it wasn't possible to store the state
  */
 public void save() throws IOException {
   muffin.saveFile(numericData, fileName + "_Number");
   muffin.saveFile(stringData, fileName + "_String");
 }