public class DictionaryPropertyResolver extends FallbackPropertyResolver
Constructor and Description |
---|
DictionaryPropertyResolver(Dictionary properties)
Creates a property resolver without a fallback resolver.
|
DictionaryPropertyResolver(Dictionary properties,
PropertyResolver fallbackResolver)
Creates a property resolver with a fallback resolver.
|
Modifier and Type | Method and Description |
---|---|
String |
findProperty(String propertyName)
Resolves a property based on it's name .
|
void |
setProperties(Dictionary properties)
Sets the properties in use.
|
get
public DictionaryPropertyResolver(Dictionary properties)
properties
- dictionary; optionalpublic DictionaryPropertyResolver(Dictionary properties, PropertyResolver fallbackResolver)
properties
- dictionary; optionalfallbackResolver
- fallback resolverpublic void setProperties(Dictionary properties)
properties
- dictionary of propertiespublic String findProperty(String propertyName)
findProperty
in class FallbackPropertyResolver
propertyName
- property name to be resolvedCopyright © 2006–2019 OPS4J - Open Participation Software for Java. All rights reserved.