Class TextOutput
java.lang.Object
org.openjdk.asmtools.common.outputs.NamedToolOutput
org.openjdk.asmtools.common.outputs.TextOutput
- All Implemented Interfaces:
ToolOutput
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringBuilder
private BiFunction<String,
String, String> private final ArrayList<TextOutput.NamedSource>
Fields inherited from class org.openjdk.asmtools.common.outputs.NamedToolOutput
fqn
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
finishClass
(String fullyQualifiedName) void
flush()
void
void
prints
(char line) void
setNamedSourceOrnament
(BiFunction<String, String, String> namedSourceOrnament) void
startClass
(String fullyQualifiedName, Optional<String> suffix, Environment logger) toString()
Methods inherited from class org.openjdk.asmtools.common.outputs.NamedToolOutput
getCurrentClassName
-
Field Details
-
namedSourceOrnament
-
outputs
-
currentClass
-
-
Constructor Details
-
TextOutput
public TextOutput()
-
-
Method Details
-
getOutputs
-
toString
-
getDataOutputStream
- Throws:
FileNotFoundException
-
startClass
public void startClass(String fullyQualifiedName, Optional<String> suffix, Environment logger) throws IOException - Specified by:
startClass
in interfaceToolOutput
- Overrides:
startClass
in classNamedToolOutput
- Throws:
IOException
-
finishClass
- Specified by:
finishClass
in interfaceToolOutput
- Overrides:
finishClass
in classNamedToolOutput
- Throws:
IOException
-
setNamedSourceOrnament
-
printlns
-
prints
-
prints
public void prints(char line) -
flush
public void flush()
-