|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.taglets.simple.configuration.AbstractConfiguration
net.sourceforge.taglets.simple.configuration.SystemPropertyConfiguration
public class SystemPropertyConfiguration
Configuration that looks up its value in the system properties.
| Constructor Summary | |
|---|---|
SystemPropertyConfiguration(Configuration parent)
Creates a new system property configuration that uses the specified parent. |
|
| Method Summary | |
|---|---|
String |
getString(String key,
String defaultValue)
Retrieves a String value for the specified key. |
boolean |
hasValue(String key)
Check if the configuration supports the specified key. |
String[] |
listKeys(String prefix)
Lists all configuration keys with the specified prefix. |
| Methods inherited from class net.sourceforge.taglets.simple.configuration.AbstractConfiguration |
|---|
getBoolean, getStringList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SystemPropertyConfiguration(Configuration parent)
parent - the parent configuration, may be null.| Method Detail |
|---|
public boolean hasValue(String key)
Configuration
hasValue in interface ConfigurationhasValue in class AbstractConfigurationkey exists.key - the key to check.
true if the specified key is supported,
false otherwise.public String[] listKeys(String prefix)
Configuration
listKeys in interface ConfigurationlistKeys in class AbstractConfigurationprefix - the prefix for all keys to list.
public String getString(String key,
String defaultValue)
ConfigurationString value for the specified key.
getString in interface ConfigurationgetString in class AbstractConfigurationkey.key - the key of the value to retrieve.defaultValue - the default value if the key cannot be found.
String value.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Taglets Collection 2.0.3 (Build 30)
2008/03/30 15:34:51
Copyright (c) 2002-2008 Bruno Essmann