com.bitmechanic.maxq
Class Preferences

java.lang.Object
  extended by java.util.Dictionary
      extended by java.util.Hashtable
          extended by java.util.Properties
              extended by com.bitmechanic.maxq.Preferences
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public class Preferences
extends java.util.Properties

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
Preferences(java.lang.String prefsFile)
           
 
Method Summary
 java.lang.String getLibDir()
           
 int getPort()
           
 void load()
           
 void save()
           
 void setLibDir(java.lang.String libDir)
           
 void setPort(int port)
           
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Preferences

public Preferences(java.lang.String prefsFile)
Method Detail

setPort

public void setPort(int port)

getPort

public int getPort()

setLibDir

public void setLibDir(java.lang.String libDir)

getLibDir

public java.lang.String getLibDir()

load

public void load()
          throws java.io.IOException
Throws:
java.io.IOException

save

public void save()
          throws java.io.IOException
Throws:
java.io.IOException