Class JoinWithCommaLambda
- java.lang.Object
-
- org.openapitools.codegen.templating.mustache.JoinWithCommaLambda
-
- All Implemented Interfaces:
com.samskivert.mustache.Mustache.Lambda
public class JoinWithCommaLambda extends Object implements com.samskivert.mustache.Mustache.Lambda
Split text by 2 spaces and then join the strings with ", " Register:additionalProperties.put("joinWithComma", new JoinWithCommaLambda());
Use:{{#joinWithComma}}{{name}}{{/joinWithComma}}
-
-
Constructor Summary
Constructors Constructor Description JoinWithCommaLambda()
JoinWithCommaLambda(boolean trimInput, String delimit, String coalesce)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(com.samskivert.mustache.Template.Fragment fragment, Writer writer)
-
-
-
Method Detail
-
execute
public void execute(com.samskivert.mustache.Template.Fragment fragment, Writer writer) throws IOException
- Specified by:
execute
in interfacecom.samskivert.mustache.Mustache.Lambda
- Throws:
IOException
-
-