FreeHEP API
Version current

org.freehep.application
Class PropertyUtilities.TranslatedProperties

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byjava.util.Properties
              extended byorg.freehep.application.PropertyUtilities.TranslatedProperties
All Implemented Interfaces:
Cloneable, Map, Serializable
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
Source Code:
PropertyUtilities.TranslatedProperties.java

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

PropertyUtilities.TranslatedProperties

public PropertyUtilities.TranslatedProperties()

PropertyUtilities.TranslatedProperties

public PropertyUtilities.TranslatedProperties(Properties def)
Method Detail

getProperty

public String getProperty(String key)

getProperty

public String getProperty(String key,
                          String def)

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.