public class PrintStreamErrorReportGenerator extends java.lang.Object implements SortingErrorManager.ErrorReportGenerator
It collaborates with a SourceExcerptProvider via a MessageFormatter to display
error messages with source context.
| Constructor and Description |
|---|
PrintStreamErrorReportGenerator(MessageFormatter formatter,
java.io.PrintStream stream,
int summaryDetailLevel)
Creates an error report generator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
generateReport(SortingErrorManager manager) |
public PrintStreamErrorReportGenerator(MessageFormatter formatter, java.io.PrintStream stream, int summaryDetailLevel)
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 void generateReport(SortingErrorManager manager)
generateReport in interface SortingErrorManager.ErrorReportGeneratorCopyright © 2009-2019 Google. All Rights Reserved.