Class JoinFilter
java.lang.Object
io.pebbletemplates.pebble.extension.core.JoinFilter
- All Implemented Interfaces:
Filter,NamedArguments
Concatenates all entries of a collection, optionally glued together with a particular character
such as a comma.
- Author:
- mbosecke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(Object input, Map<String, Object> args, PebbleTemplate self, EvaluationContext context, int lineNumber)
-
Constructor Details
-
JoinFilter
public JoinFilter()
-
-
Method Details
-
getArgumentNames
- Specified by:
getArgumentNamesin interfaceNamedArguments
-
apply
public Object apply(Object input, Map<String, Object> args, PebbleTemplate self, EvaluationContext context, int lineNumber) throws PebbleException- Specified by:
applyin interfaceFilter- Throws:
PebbleException
-