|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Settings
This object holds the property settings for Cocoon. This interface is loosely based on the Settings interface introduced in 2.2 but is note equivalent to it as it is only meant to hold configuration properties.
Field Summary | |
---|---|
static String |
PROPERTY_USER_SETTINGS
Name of the property specifying a custom user properties file. |
static String |
ROLE
The role to lookup this bean. |
Method Summary | |
---|---|
List |
getProperties()
Return all available properties |
List |
getProperties(String keyPrefix)
Return all available properties starting with the prefix. |
String |
getProperty(String key)
Get the value of a property. |
String |
getProperty(String key,
String defaultValue)
Get the value of a property. |
int |
size()
Return the number of properties that have been defined |
Field Detail |
---|
static final String ROLE
static final String PROPERTY_USER_SETTINGS
Method Detail |
---|
String getProperty(String key)
key
- The name of the property.
String getProperty(String key, String defaultValue)
key
- The name of the property.defaultValue
- The value returned if the property is not available.
List getProperties(String keyPrefix)
keyPrefix
- The prefix each property name must have.
List getProperties()
int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |