Class StayOnlineRw

java.lang.Object
  extended by StayOnlineRw

public class StayOnlineRw
extends java.lang.Object

File operations to save and load settings


Constructor Summary
StayOnlineRw()
           
 
Method Summary
static int loadSettings(StayOnlineData data)
          Loads settings from "data.txt"
static int saveSettings(StayOnlineData data)
          Saves all Settings in the file "data.txt"
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StayOnlineRw

public StayOnlineRw()
Method Detail

saveSettings

public static int saveSettings(StayOnlineData data)
Saves all Settings in the file "data.txt"

Parameters:
data - StayOnlineDataV011
Returns:
1 for finished and 0 for failure

loadSettings

public static int loadSettings(StayOnlineData data)
Loads settings from "data.txt"

Parameters:
data - StayOnlineDataV011 to fill with data
Returns:
1 for finished and 0 for failure