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 by `ConfigurationLoader`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RelativeIncludeEventHandler()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `includeEvent(Context context, String includeResourcePath, String currentResourcePath, String directiveName)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### RelativeIncludeEventHandler

    public RelativeIncludeEventHandler()

- ## Method Details

  - ### includeEvent

    public String includeEvent(Context context, String includeResourcePath, String currentResourcePath, String directiveName)
    Specified by:
      `includeEvent` in interface `IncludeEventHandler`