public interface IRepositoryProperties
The implementation is based on a 'admin/properties' sub directory that may contain a conf.properties file and any other text file.
getStringProperty(key) looks for the property in the conf.properties file.
getTextProperty(key) looks for a key file in the directory and returns its content.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStringProperty(java.lang.String key)
Get a single line string property value.
|
java.lang.String |
getTextProperty(java.lang.String key)
Get a multiple line string property value.
|
java.lang.String getStringProperty(java.lang.String key) throws CmsException
key
- The property keyCmsException
- in case of error reading the propertyjava.lang.String getTextProperty(java.lang.String key) throws CmsException
key
- The property keyCmsException
- in case of error reading the property