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 TypeMethodDescriptionvoidfinishClass(String fqn) voidstartClass(String fullyQualifiedName, Optional<String> suffix, Environment logger) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DualStreamToolOutput
getDataOutputStream, getEToolObject, getSToolObject, printe, printe, printlne, stacktraceMethods inherited from interface ToolOutput
flush, printlns, prints, prints
-
Field Details
-
fqn
-
suffix
-
environment
-
-
Constructor Details
-
NamedDualStreamToolOutput
public NamedDualStreamToolOutput()
-
-
Method Details
-
getCurrentClassName
- Specified by:
getCurrentClassNamein interfaceToolOutput
-
startClass
public void startClass(String fullyQualifiedName, Optional<String> suffix, Environment logger) throws IOException - Specified by:
startClassin interfaceToolOutput- Throws:
IOException
-
finishClass
- Specified by:
finishClassin interfaceToolOutput- Throws:
IOException
-