Class PrintWriterOutput
java.lang.Object
org.openjdk.asmtools.common.outputs.NamedToolOutput
org.openjdk.asmtools.common.outputs.PrintWriterOutput
- All Implemented Interfaces:
ToolOutput
- Direct Known Subclasses:
EscapedPrintStreamOutput
-
Field Summary
FieldsFields inherited from class org.openjdk.asmtools.common.outputs.NamedToolOutput
destinationFileName, fullyQualifiedName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfinishClass(String fullyQualifiedName) voidflush()getName()voidvoidprints(char line) voidMethods inherited from class org.openjdk.asmtools.common.outputs.NamedToolOutput
getCurrentClassName, getDestinationFileName, setDestinationFileName, startClassMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openjdk.asmtools.common.outputs.ToolOutput
isReady
-
Field Details
-
os
-
-
Constructor Details
-
PrintWriterOutput
-
PrintWriterOutput
-
-
Method Details
-
printlns
-
prints
-
prints
public void prints(char line) -
finishClass
- Specified by:
finishClassin interfaceToolOutput- Overrides:
finishClassin classNamedToolOutput- Throws:
IOException
-
flush
public void flush() -
getDataOutputStream
- Throws:
FileNotFoundException
-
getName
- Specified by:
getNamein classNamedToolOutput
-