Package sunlabs.brazil.properties
Class SubstPropsHandler.SubstProps
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<java.lang.Object,java.lang.Object>
-
- java.util.Properties
-
- sunlabs.brazil.properties.SubstPropsHandler.SubstProps
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.Object,java.lang.Object>
- Enclosing class:
- SubstPropsHandler
public class SubstPropsHandler.SubstProps extends java.util.Properties
This class implements a properties object that knows how to extract the "name" and "filter" from a properly constructed name, and to invoke the filter on the value of the encoded name.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SubstProps(Request r)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
get(java.lang.Object key)
If the key doesn't exist, but the "derived" key and value do exist, then return the substituted valuejava.lang.String
getProperty(java.lang.String key)
-
Methods inherited from class java.util.Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, getOrDefault, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
-
-
-
Constructor Detail
-
SubstProps
public SubstProps(Request r)
-
-
Method Detail
-
get
public java.lang.Object get(java.lang.Object key)
If the key doesn't exist, but the "derived" key and value do exist, then return the substituted value- Specified by:
get
in interfacejava.util.Map<java.lang.Object,java.lang.Object>
- Overrides:
get
in classjava.util.Properties
-
getProperty
public java.lang.String getProperty(java.lang.String key)
- Overrides:
getProperty
in classjava.util.Properties
-
-