lapisx.util
Class Config

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byjava.util.Properties
              extended bylapisx.util.Config
All Implemented Interfaces:
Cloneable, Map, Serializable

public class Config
extends Properties

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
Config(File file)
           
Config(File file, Config defaults)
           
Config(String fileBaseName)
           
Config(String fileBaseName, Config defaults)
           
 
Method Summary
 int countKeysStartingWith(String prefix)
           
static File getHomeDirectory()
           
 IOException getLastException()
           
 void removeAllKeysStartingWith(String prefix)
           
 void rename(File newFile)
           
 void rename(String fileName)
           
 void save()
           
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store
 
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

Config

public Config(String fileBaseName)

Config

public Config(File file)

Config

public Config(String fileBaseName,
              Config defaults)

Config

public Config(File file,
              Config defaults)
Method Detail

getLastException

public IOException getLastException()

save

public void save()

rename

public void rename(String fileName)

rename

public void rename(File newFile)

countKeysStartingWith

public int countKeysStartingWith(String prefix)

removeAllKeysStartingWith

public void removeAllKeysStartingWith(String prefix)

getHomeDirectory

public static File getHomeDirectory()