@Deprecated public class PrintStreamErrorManager extends BasicErrorManager
BasicErrorManager.
It collaborates with a SourceExcerptProvider via a MessageFormatter to display
error messages with source context.
SortingErrorManager.ErrorReportGenerator| Constructor and Description |
|---|
PrintStreamErrorManager(MessageFormatter formatter,
java.io.PrintStream stream)
Deprecated.
Creates an error manager.
|
PrintStreamErrorManager(java.io.PrintStream stream)
Deprecated.
Creates an instance with a source-less error formatter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
println(CheckLevel level,
JSError error)
Deprecated.
Print a message with a trailing new line.
|
void |
printSummary()
Deprecated.
Print the summary of the compilation - number of errors and warnings.
|
void |
setSummaryDetailLevel(int summaryDetailLevel)
Deprecated.
|
generateReportgetErrorCount, getErrors, getTypedPercent, getWarningCount, getWarnings, hasHaltingErrors, report, setTypedPercentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldReportConformanceViolationpublic PrintStreamErrorManager(MessageFormatter formatter, java.io.PrintStream stream)
formatter - the message formatter used to format the messagesstream - the stream on which the errors and warnings should be
printed. This class does not close the streampublic PrintStreamErrorManager(java.io.PrintStream stream)
public void println(CheckLevel level, JSError error)
BasicErrorManagerBasicErrorManager.generateReport() method when generating messages.println in class BasicErrorManagerpublic void setSummaryDetailLevel(int summaryDetailLevel)
public void printSummary()
BasicErrorManagerprintSummary in class BasicErrorManagerCopyright © 2009-2020 Google. All Rights Reserved.