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