|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.pax.runner.ConfigurationImpl
public class ConfigurationImpl
Configuration implementation that reads properties from a properties file.
Constructor Summary | |
---|---|
ConfigurationImpl(java.lang.String url)
Creates the configuration by reading propertiesfrom an url. |
Method Summary | |
---|---|
java.lang.String |
getProperty(java.lang.String key)
Returns a property from configuration by key. |
java.lang.String[] |
getPropertyNames(java.lang.String regex)
{&inheritDoc} |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigurationImpl(java.lang.String url)
url
- url to load properties fromMethod Detail |
---|
public java.lang.String getProperty(java.lang.String key)
getProperty
in interface Configuration
key
- key of the property
public java.lang.String[] getPropertyNames(java.lang.String regex)
getPropertyNames
in interface Configuration
regex
- regular expresion to match
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |