|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.oddjob.arooa.standard.StandardPropertyLookup
public class StandardPropertyLookup
A simple implementation of a PropertyLookup.
PropertyManager| Constructor Summary | |
|---|---|
StandardPropertyLookup(Properties properties,
String source)
|
|
| Method Summary | |
|---|---|
String |
lookup(String propertyName)
Return the value of a property, or null if it doesn't exist. |
Set<String> |
propertyNames()
Return all property names in this property lookup. |
PropertySource |
sourceFor(String propertyName)
Return a source for the property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StandardPropertyLookup(Properties properties,
String source)
| Method Detail |
|---|
public String lookup(String propertyName)
PropertyLookup
lookup in interface PropertyLookuppropertyName - The name of the property.
public PropertySource sourceFor(String propertyName)
PropertyLookup
sourceFor in interface PropertyLookuppropertyName - The property name.
public Set<String> propertyNames()
PropertyLookup
propertyNames in interface PropertyLookup
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||