|
Java™ Platform Standard Ed. 6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.tools.DiagnosticCollector<S>
S - the type of source objects used by diagnostics received
by this objectpublic final class DiagnosticCollector<S>
Provides an easy way to collect diagnostics in a list.
| Constructor Summary | |
|---|---|
DiagnosticCollector()
|
|
| Method Summary | |
|---|---|
List<Diagnostic<? extends S>> |
getDiagnostics()
Gets a list view of diagnostics collected by this object. |
void |
report(Diagnostic<? extends S> diagnostic)
Invoked when a problem is found. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiagnosticCollector()
| Method Detail |
|---|
public void report(Diagnostic<? extends S> diagnostic)
DiagnosticListener
report in interface DiagnosticListener<S>diagnostic - a diagnostic representing the problem that
was foundpublic List<Diagnostic<? extends S>> getDiagnostics()
|
Java™ Platform Standard Ed. 6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.