org.dspace.app.xmlui.cocoon
Class PropertyFileReader
java.lang.Object
org.dspace.app.xmlui.cocoon.PropertyFileReader
public class PropertyFileReader
- extends java.lang.Object
Class will read the the specified configuration file via the property-file parameter
It accepts the name of the property file to read and the properties to set to the sitemap scope
For example:
...
Will place the value of the "some.property" property in the "some_property" variable to be
used in the sitemap using the {some_property} syntax.
- Author:
- Jay Paz
|
Method Summary |
java.util.Map |
act(org.apache.cocoon.environment.Redirector redirector,
org.apache.cocoon.environment.SourceResolver resolver,
java.util.Map objectModel,
java.lang.String source,
org.apache.avalon.framework.parameters.Parameters parameters)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyFileReader
public PropertyFileReader()
act
public java.util.Map act(org.apache.cocoon.environment.Redirector redirector,
org.apache.cocoon.environment.SourceResolver resolver,
java.util.Map objectModel,
java.lang.String source,
org.apache.avalon.framework.parameters.Parameters parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2010 DuraSpace. All Rights Reserved.