Interface HelperPlugin<T>

    • Method Detail

      • apply

        Object apply​(T context,
                     com.github.jknack.handlebars.Options options,
                     HelperContext pluginContext)
              throws IOException
        Apply the helper to the context.
        Parameters:
        context - The context object.
        options - The options object.
        pluginContext - Plugin context
        Returns:
        A string result.
        Throws:
        IOException - If a template cannot be loaded.