org.freehep.application
Class PropertyUtilities.TranslatedProperties

java.lang.Object
  extended by java.util.Dictionary
      extended by java.util.Hashtable
          extended by java.util.Properties
              extended by org.freehep.application.PropertyUtilities.TranslatedProperties
All Implemented Interfaces:
Serializable, Cloneable, Map
Enclosing class:
PropertyUtilities

public static class PropertyUtilities.TranslatedProperties
extends Properties

A Properties object whose values and defaults are automatically translated if they contain {prop} tokens.

See Also:
PropertyUtilities.translate(Properties,String), Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
PropertyUtilities.TranslatedProperties()
           
PropertyUtilities.TranslatedProperties(Properties def)
           
 
Method Summary
 String getProperty(String key)
           
 String getProperty(String key, String def)
           
 
Methods inherited from class java.util.Properties
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

PropertyUtilities.TranslatedProperties

public PropertyUtilities.TranslatedProperties()

PropertyUtilities.TranslatedProperties

public PropertyUtilities.TranslatedProperties(Properties def)
Method Detail

getProperty

public String getProperty(String key)
Overrides:
getProperty in class Properties

getProperty

public String getProperty(String key,
                          String def)
Overrides:
getProperty in class Properties


Copyright © 2000-2006 FreeHEP. All Rights Reserved.