Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## lp.ui
Class ConfigManager

    java.lang.Object
      java.util.Dictionary<K,V>
          java.util.Hashtable<Object,Object>
              java.util.Properties
                  lp.ui.ConfigManager

All Implemented Interfaces:
  Serializable, Cloneable, Map<Object,Object>

    public class ConfigManager

extends Properties

Manages configuration options.

Version:
  0.9.0
Author:
  Martin Slota
See Also:
  Serialized Form

Field Summary
`static String` | `CONFIG_NAME`
`static File` | `CURRENT_DIR_CONFIG`
`private static char` | `SEP`
`static File` | `USER_CONFIG`

Fields inherited from class java.util.Properties
`defaults`

Constructor Summary
`ConfigManager()`

Method Summary
`void` | `loadConfig(File configFile)`
`void` | `loadConfig(String configFilename)`
`void` | `loadCurrentDirConfig()`
`void` | `loadUserConfig()`
`void` | `saveConfig(File configFile)`
`void` | `saveConfig(String configFilename)`
`SortedSet<String>` | `sortedPropertyNames()`
`String` | `toString()`

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, values`

Methods inherited from class java.lang.Object
`finalize, getClass, notify, notifyAll, wait, wait, wait`

Field Detail

### SEP

    private static final char SEP

### CONFIG_NAME

    public static final String CONFIG_NAME

### USER_CONFIG

    public static final File USER_CONFIG

### CURRENT_DIR_CONFIG

    public static final File CURRENT_DIR_CONFIG

Constructor Detail

### ConfigManager

    public ConfigManager()

Method Detail

### loadConfig

    public void loadConfig(File configFile)
                    throws IOException

  Throws:
    `IOException`

### loadConfig

    public void loadConfig(String configFilename)
                    throws IOException

  Throws:
    `IOException`

### loadUserConfig

    public void loadUserConfig()
                        throws IOException

  Throws:
    `IOException`

### loadCurrentDirConfig

    public void loadCurrentDirConfig()
                              throws IOException

  Throws:
    `IOException`

### saveConfig

    public void saveConfig(File configFile)
                    throws IOException

  Throws:
    `IOException`

### saveConfig

    public void saveConfig(String configFilename)
                    throws IOException

  Throws:
    `IOException`

### sortedPropertyNames

    public SortedSet<String> sortedPropertyNames()

### toString

    public String toString()

  Overrides:
    `toString` in class `Hashtable<Object,Object>`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD