|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.xml.containerpage.CmsConfigurationFileFinder
public class CmsConfigurationFileFinder
Helper class for locating configuration files by looking up their location in properties of another resource.
Constructor Summary | |
---|---|
CmsConfigurationFileFinder(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. |
Method Summary | |
---|---|
CmsResource |
getConfigurationFile(CmsObject cms,
String containerPageUri)
Returns the configuration file to use. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsConfigurationFileFinder(String propertyName)
propertyName
- the name of the property which should contain the configuration file pathMethod Detail |
---|
public CmsResource getConfigurationFile(CmsObject cms, String containerPageUri)
cms
- the current cms contextcontainerPageUri
- the container page uri
null
if not found
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |