org.dspace.app.xmlui.cocoon
Class PropertyFileReader

java.lang.Object
  extended by org.dspace.app.xmlui.cocoon.PropertyFileReader

public class PropertyFileReader
extends 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

Constructor Summary
PropertyFileReader()
           
 
Method Summary
 Map act(org.apache.cocoon.environment.Redirector redirector, org.apache.cocoon.environment.SourceResolver resolver, Map objectModel, 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
 

Constructor Detail

PropertyFileReader

public PropertyFileReader()
Method Detail

act

public Map act(org.apache.cocoon.environment.Redirector redirector,
               org.apache.cocoon.environment.SourceResolver resolver,
               Map objectModel,
               String source,
               org.apache.avalon.framework.parameters.Parameters parameters)
        throws Exception
Throws:
Exception


Copyright © 2012 DuraSpace. All Rights Reserved.