| org.apache.cocoon.util.Settings
All known Subclasses: org.apache.cocoon.util.PropertySettings,
Settings | public interface Settings (Code) | | 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.
version: $Id: Settings.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
List | getProperties(String keyPrefix) Return all available properties starting with the prefix.
Parameters: keyPrefix - The prefix each property name must have. | List | getProperties() | String | getProperty(String key) Get the value of a property.
Parameters: key - The name of the property. | String | getProperty(String key, String defaultValue) Get the value of a property.
Parameters: key - The name of the property. Parameters: defaultValue - The value returned if the property is not available. | int | size() |
PROPERTY_USER_SETTINGS | String PROPERTY_USER_SETTINGS(Code) | | Name of the property specifying a custom user properties file.
|
getProperties | List getProperties(String keyPrefix)(Code) | | Return all available properties starting with the prefix.
Parameters: keyPrefix - The prefix each property name must have. A list of property names (including the prefix) oran empty list. |
getProperties | List getProperties()(Code) | | Return all available properties
A list of all property names or an empty list. |
getProperty | String getProperty(String key)(Code) | | Get the value of a property.
Parameters: key - The name of the property. The value of the property or null. |
getProperty | String getProperty(String key, String defaultValue)(Code) | | Get the value of a property.
Parameters: key - The name of the property. Parameters: defaultValue - The value returned if the property is not available. The value of the property or if the property cannotbe found the default value. |
size | int size()(Code) | | Return the number of properties that have been defined
The number of properties that have been defined. |
|
|