net.sf.jdiskcatalog.config
Class Configuration

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<java.lang.Object,java.lang.Object>
          extended by java.util.Properties
              extended by net.sf.jdiskcatalog.config.Configuration
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>

public class Configuration
extends java.util.Properties

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
Configuration()
           
 
Method Summary
 void configure(Configurable configurable)
           
 void declareProperty(java.lang.String key, java.lang.Object value)
           
 java.lang.Integer getInt(java.lang.String key)
           
 java.util.Map<java.lang.String,java.lang.Class> getPropertyTypes()
           
 void load()
           
 void save()
           
 void set(java.lang.String key, java.lang.Object value)
           
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
 
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

Configuration

public Configuration()
Method Detail

load

public void load()

save

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

getInt

public java.lang.Integer getInt(java.lang.String key)

set

public void set(java.lang.String key,
                java.lang.Object value)

getPropertyTypes

public java.util.Map<java.lang.String,java.lang.Class> getPropertyTypes()

declareProperty

public void declareProperty(java.lang.String key,
                            java.lang.Object value)

configure

public void configure(Configurable configurable)


Copyright © 2007. All Rights Reserved.