public class CmsConfigurationFileFinder
extends java.lang.Object
构造器和说明 |
---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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