dsto.dfc.util
Class DfcProperties

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<Object,Object>
          extended by java.util.Properties
              extended by dsto.dfc.util.DfcProperties
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public class DfcProperties
extends Properties

Simple extension of Java Properties class to add convenience methods.

Version:
$Revision$
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
DfcProperties()
           
DfcProperties(Properties defaults)
           
 
Method Summary
 boolean getBooleanProperty(String name, boolean defaultValue)
           
 int getIntProperty(String name, int defaultValue)
           
 void setBooleanProperty(String name, boolean value)
           
 void setIntProperty(String name, int 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

DfcProperties

public DfcProperties()

DfcProperties

public DfcProperties(Properties defaults)
Method Detail

getBooleanProperty

public boolean getBooleanProperty(String name,
                                  boolean defaultValue)

setBooleanProperty

public void setBooleanProperty(String name,
                               boolean value)

getIntProperty

public int getIntProperty(String name,
                          int defaultValue)

setIntProperty

public void setIntProperty(String name,
                           int value)


Copyright © 2008 Commonwealth of Australia