|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ops4j.util.property.FallbackPropertyResolver
org.ops4j.util.property.DictionaryPropertyResolver
public class DictionaryPropertyResolver
Resolves properties from a Dictionary.
| Constructor Summary | |
|---|---|
DictionaryPropertyResolver(Dictionary properties)
Creates a property resolver without a fallback resolver. |
|
DictionaryPropertyResolver(Dictionary properties,
PropertyResolver fallbackResolver)
Creates a property resolver with a fallback resolver. |
|
| Method Summary | |
|---|---|
String |
findProperty(String propertyName)
Resolves a property based on it's name . |
void |
setProperties(Dictionary properties)
Sets the properties in use. |
| Methods inherited from class org.ops4j.util.property.FallbackPropertyResolver |
|---|
get |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DictionaryPropertyResolver(Dictionary properties)
properties - dictionary; optional
public DictionaryPropertyResolver(Dictionary properties,
PropertyResolver fallbackResolver)
properties - dictionary; optionalfallbackResolver - fallback resolver| Method Detail |
|---|
public void setProperties(Dictionary properties)
properties - dictionary of propertiespublic String findProperty(String propertyName)
findProperty in class FallbackPropertyResolverpropertyName - property name to be resolved
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||