Class EachHelper
- java.lang.Object
-
- com.github.jknack.handlebars.helper.EachHelper
-
-
Constructor Summary
Constructors Constructor Description EachHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CharSequenceapply(Object context, Options options)Apply the helper to the context.
-
-
-
Field Detail
-
NAME
public static final String NAME
The helper's name.- See Also:
- Constant Field Values
-
-
Method Detail
-
apply
public CharSequence apply(Object context, Options options) throws IOException
Description copied from interface:HelperApply the helper to the context.- Specified by:
applyin interfaceHelper<Object>- Parameters:
context- The context object.options- The options object.- Returns:
- A string result.
- Throws:
IOException- If a template cannot be loaded.
-
-