Package io.micronaut.openapi.generator
Class Formatting.SingleLineFormatter
java.lang.Object
io.micronaut.openapi.generator.Formatting.SingleLineFormatter
- All Implemented Interfaces:
com.samskivert.mustache.Mustache.Lambda
- Enclosing class:
- Formatting
public static class Formatting.SingleLineFormatter
extends Object
implements com.samskivert.mustache.Mustache.Lambda
A formatter that collects everything in a single line.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SingleLineFormatter
public SingleLineFormatter()
-
-
Method Details
-
execute
public void execute(com.samskivert.mustache.Template.Fragment fragment, Writer writer) throws IOException Description copied from interface:com.samskivert.mustache.Mustache.Lambda
Executes this lambda on the supplied template fragment. The lambda should write its results toout
.- Specified by:
execute
in interfacecom.samskivert.mustache.Mustache.Lambda
- Parameters:
fragment
- the fragment of the template that was passed to the lambda.writer
- the writer to which the lambda should write its output.- Throws:
IOException
-