Package org.openjdk.asmtools.common
Class DecompilerLogger
java.lang.Object
org.openjdk.asmtools.common.ToolLogger
org.openjdk.asmtools.common.DecompilerLogger
- All Implemented Interfaces:
ILogger
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openjdk.asmtools.common.ToolLogger
ToolLogger.EMessageFormatter, ToolLogger.Message, ToolLogger.ToolResources -
Field Summary
FieldsFields inherited from class org.openjdk.asmtools.common.ToolLogger
ignoreWarnings, outerLog, strictWarningsFields inherited from interface org.openjdk.asmtools.common.ILogger
NOWHERE, TAB_REPLACEMENT, usagePattern -
Constructor Summary
ConstructorsConstructorDescriptionDecompilerLogger(String programName, Class cls, DualStreamToolOutput outerLog) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidflush()longgetCount(EMessageKind kind) voidvoidprintErrorLn(String format, Object... args) intregisterTotalIssues(int rc, ToolInput toolInput) voidvoidvoidMethods inherited from class org.openjdk.asmtools.common.ToolLogger
getOutputs, getProgramName, getResourceString, getResourceString, getSimpleInputFileName, printException, setInputFileName, setOutputsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openjdk.asmtools.common.ILogger
error, getOutputs, getResourceString, getToolOutput, print, print, printException, println, println, setOutputs, setToolOutput, trace, traceln, warning
-
Field Details
-
messages
-
addToContainer
-
-
Constructor Details
-
DecompilerLogger
- Parameters:
programName- the tool namecls- the environment class of the tool for which to obtain the resource bundleouterLog- the logger stream
-
-
Method Details
-
warning
-
error
-
info
-
printErrorLn
- Specified by:
printErrorLnin interfaceILogger
-
error
-
getInfo
-
getCount
-
registerTotalIssues
-
flush
public void flush() -
usage
- Specified by:
usagein classToolLogger
-
usage
- Specified by:
usagein classToolLogger
-