net.minecraft.src
Class PropertyManager

java.lang.Object
  extended by net.minecraft.src.PropertyManager

public class PropertyManager
extends Object


Field Summary
static Logger myLogger
           
 
Constructor Summary
PropertyManager(File par1File)
           
 
Method Summary
 File getFile()
           
 boolean getOrSetBoolProperty(String par1Str, boolean par2)
          set if it doesn't exist, otherwise get
 int getOrSetIntProperty(String par1Str, int par2)
          set if it doesn't exist, otherwise get
 String getOrSetProperty(String par1Str, String par2Str)
          set if it doesn't exist, otherwise get
 void logMessageAndSave()
          logs an info message then calls saveSettingsToFile Yes this appears to be a potential stack overflow - these 2 functions call each other repeatdly if an exception occurs.
 void saveSettingsToFile()
          calls logMessageAndSave if an exception occurs
 void setArbitraryProperty(String par1Str, Object par2Obj)
          returns void, rather than what you input
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myLogger

public static Logger myLogger
Constructor Detail

PropertyManager

public PropertyManager(File par1File)
Method Detail

logMessageAndSave

public void logMessageAndSave()
logs an info message then calls saveSettingsToFile Yes this appears to be a potential stack overflow - these 2 functions call each other repeatdly if an exception occurs.


saveSettingsToFile

public void saveSettingsToFile()
calls logMessageAndSave if an exception occurs


getFile

public File getFile()

getOrSetProperty

public String getOrSetProperty(String par1Str,
                               String par2Str)
set if it doesn't exist, otherwise get


getOrSetIntProperty

public int getOrSetIntProperty(String par1Str,
                               int par2)
set if it doesn't exist, otherwise get


getOrSetBoolProperty

public boolean getOrSetBoolProperty(String par1Str,
                                    boolean par2)
set if it doesn't exist, otherwise get


setArbitraryProperty

public void setArbitraryProperty(String par1Str,
                                 Object par2Obj)
returns void, rather than what you input