|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 |
public static final String ROLE
public static final String PROPERTY_USER_SETTINGS
| Method Detail |
public String getProperty(String key)
key - The name of the property.
public String getProperty(String key,
String defaultValue)
key - The name of the property.defaultValue - The value returned if the property is not available.
public List getProperties(String keyPrefix)
keyPrefix - The prefix each property name must have.
public List getProperties()
public int size()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||