Package com.norconex.commons.lang.config
Class RelativeIncludeEventHandler
java.lang.Object
com.norconex.commons.lang.config.RelativeIncludeEventHandler
- All Implemented Interfaces:
EventHandler,IncludeEventHandler
Velocity include event handler that check for includes both relative
to a template location, and absolute to the current file system root
otherwise. Used by
ConfigurationLoader.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RelativeIncludeEventHandler
public RelativeIncludeEventHandler()
-
-
Method Details
-
includeEvent
public String includeEvent(Context context, String includeResourcePath, String currentResourcePath, String directiveName) - Specified by:
includeEventin interfaceIncludeEventHandler
-