Class ToolLogger
java.lang.Object
org.openjdk.asmtools.common.ToolLogger
- All Implemented Interfaces:
ILogger
- Direct Known Subclasses:
CompilerLogger, DecompilerLogger
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final record(package private) class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprivate String(package private) DualStreamToolOutputprivate final Stringprivate Stringprotected booleanprivate ToolLogger.ToolResourcesFields inherited from interface ILogger
NOWHERE, TAB_REPLACEMENT, usagePattern -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResourceString(String id, Object... args) getResourceString(EMessageKind kind, String id, Object... args) voidprintException(Throwable throwable) voidsetInputFileName(ToolInput inputFileName) voidsetOutputs(DualStreamToolOutput nwoutput) abstract voidabstract void
-
Field Details
-
ignoreWarnings
protected boolean ignoreWarnings -
strictWarnings
protected boolean strictWarnings -
programName
-
toolResources
-
outerLog
DualStreamToolOutput outerLog -
inputFileName
-
simpleInputFileName
-
-
Constructor Details
-
ToolLogger
- Parameters:
programName- the tool namecls- the environment class of the tool for which to obtain the resource bundleouterLog- the logger stream
-
-
Method Details
-
getResourceString
- Specified by:
getResourceStringin interfaceILogger
-
setInputFileName
- Throws:
IOException
-
getResourceString
-
getOutputs
- Specified by:
getOutputsin interfaceILogger
-
setOutputs
- Specified by:
setOutputsin interfaceILogger
-
getSimpleInputFileName
-
printException
- Specified by:
printExceptionin interfaceILogger
-
getProgramName
-
usage
-
usage
-