Package com.norconex.commons.lang.config
Class RelativeIncludeEventHandler
- java.lang.Object
-
- com.norconex.commons.lang.config.RelativeIncludeEventHandler
-
- All Implemented Interfaces:
EventHandler,IncludeEventHandler
public class RelativeIncludeEventHandler extends Object implements 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 byConfigurationLoader.- Author:
- Pascal Essiembre
-
-
Constructor Summary
Constructors Constructor Description RelativeIncludeEventHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringincludeEvent(Context context, String includeResourcePath, String currentResourcePath, String directiveName)
-
-
-
Method Detail
-
includeEvent
public String includeEvent(Context context, String includeResourcePath, String currentResourcePath, String directiveName)
- Specified by:
includeEventin interfaceIncludeEventHandler
-
-