public class StringWriterOutputManager extends Object implements OutputManager
Constructor and Description |
---|
StringWriterOutputManager() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Writer |
createOutput(String name)
Create a new output destination based on a name.
|
CharSequence |
getSource(String name) |
Map<String,CharSequence> |
getSources() |
void |
setPackageName(String packageName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
withOutput
public Writer createOutput(String name)
OutputManager
Writer.close()
.createOutput
in interface OutputManager
name
- of the given output.Writer
to which the code generation should be output.public void setPackageName(String packageName)
public CharSequence getSource(String name)
public Map<String,CharSequence> getSources()
public void clear()
Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.