public class DictionaryPropertyResolver extends FallbackPropertyResolver
Constructor and Description |
---|
DictionaryPropertyResolver(java.util.Dictionary properties)
Creates a property resolver without a fallback resolver.
|
DictionaryPropertyResolver(java.util.Dictionary properties,
PropertyResolver fallbackResolver)
Creates a property resolver with a fallback resolver.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
findProperty(java.lang.String propertyName)
Resolves a property based on it's name .
|
void |
setProperties(java.util.Dictionary properties)
Sets the properties in use.
|
get
public DictionaryPropertyResolver(java.util.Dictionary properties)
properties
- dictionary; optionalpublic DictionaryPropertyResolver(java.util.Dictionary properties, PropertyResolver fallbackResolver)
properties
- dictionary; optionalfallbackResolver
- fallback resolverpublic void setProperties(java.util.Dictionary properties)
properties
- dictionary of propertiespublic java.lang.String findProperty(java.lang.String propertyName)
findProperty
in class FallbackPropertyResolver
propertyName
- property name to be resolvedCopyright © 2011-2014 Red Hat. All Rights Reserved.