Class NamedDualStreamToolOutput
java.lang.Object
org.openjdk.asmtools.common.outputs.log.NamedDualStreamToolOutput
- All Implemented Interfaces:
DualStreamToolOutput, ToolOutput
- Direct Known Subclasses:
DualOutputStreamOutput, StringLog
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
finishClass
(String fqn) void
startClass
(String fullyQualifiedName, Optional<String> suffix, Environment logger) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface DualStreamToolOutput
getDataOutputStream, getEToolObject, getSToolObject, printe, printe, printlne, stacktrace
Methods inherited from interface ToolOutput
flush, printlns, prints, prints
-
Field Details
-
fqn
-
suffix
-
environment
-
-
Constructor Details
-
NamedDualStreamToolOutput
public NamedDualStreamToolOutput()
-
-
Method Details
-
getCurrentClassName
- Specified by:
getCurrentClassName
in interfaceToolOutput
-
startClass
public void startClass(String fullyQualifiedName, Optional<String> suffix, Environment logger) throws IOException - Specified by:
startClass
in interfaceToolOutput
- Throws:
IOException
-
finishClass
- Specified by:
finishClass
in interfaceToolOutput
- Throws:
IOException
-