FileDocCategorySizeDatePackage
DiagnosticCollector.javaAPI DocJava SE 6 API1052Tue Jun 10 00:27:02 BST 2008javax.tools

DiagnosticCollector

public final class DiagnosticCollector extends Object implements DiagnosticListener
Provides an easy way to collect diagnostics in a list.
param
the type of source objects used by diagnostics received by this object
author
Peter von der Ahé
since
1.6

Fields Summary
private List
diagnostics
Constructors Summary
Methods Summary
public java.util.ListgetDiagnostics()
Gets a list view of diagnostics collected by this object.

return
a list view of diagnostics

	return Collections.unmodifiableList(diagnostics);
    
public voidreport(javax.tools.Diagnostic diagnostic)


          
	diagnostics.add(diagnostic);