public interface OutputManager
Modifier and Type | Method and Description |
---|---|
Writer |
createOutput(String name)
Create a new output destination based on a name.
|
default void |
withOutput(String name,
ResourceConsumer<Writer> resourceConsumer) |
Writer createOutput(String name) throws IOException
Writer.close()
.name
- of the given output.Writer
to which the code generation should be output.IOException
- if an error occurs during output.default void withOutput(String name, ResourceConsumer<Writer> resourceConsumer)
Copyright © 2014-2019 Real Logic Ltd. All Rights Reserved.