public class CmsConfigurationFileFinder extends java.lang.Object
Constructor and Description |
---|
CmsConfigurationFileFinder(java.lang.String propertyName)
Creates a new configuration file finder which expects the location of configuration files to be stored in the
property with the given name.
|
Modifier and Type | Method and Description |
---|---|
CmsResource |
getConfigurationFile(CmsObject cms,
java.lang.String containerPageUri)
Returns the configuration file to use.
|
public CmsConfigurationFileFinder(java.lang.String propertyName)
propertyName
- the name of the property which should contain the configuration file pathpublic CmsResource getConfigurationFile(CmsObject cms, java.lang.String containerPageUri)
cms
- the current cms contextcontainerPageUri
- the container page urinull
if not found