JavaTM Platform
Standard Ed. 6

javax.tools
클래스 DiagnosticCollector<S>

java.lang.Object 
  상위를 확장 javax.tools.DiagnosticCollector<S>
형태 파라미터:
S - 이 객체가 받는 진단 정보로 사용되고 있는 소스 객체의 형태
모든 구현된 인터페이스:
DiagnosticListener <S>


public final class DiagnosticCollector<S>
extends Object
implements DiagnosticListener <S>

진단 정보를 간단하게 수집해, 리스트화하는 수단을 제공합니다.

도입된 버젼:
1.6

생성자 의 개요
DiagnosticCollector ()
           
 
메소드의 개요
 List <Diagnostic <? extends S >> getDiagnostics ()
          이 객체에 의해 수집되는 진단 정보의 리스트 표시를 가져옵니다.
 void report (Diagnostic <? extends S > diagnostic)
          문제가 발견되었을 때에 불려 갑니다.
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

생성자 의 상세

DiagnosticCollector

public DiagnosticCollector()
메소드의 상세

report

public void report(Diagnostic <?  extends S > diagnostic)
인터페이스 DiagnosticListener 의 기술:
문제가 발견되었을 때에 불려 갑니다.

정의:
인터페이스 DiagnosticListener <S > 내의 report
파라미터:
diagnostic - 검출된 문제를 나타내는 진단 정보

getDiagnostics

public List <Diagnostic <?  extends S >> getDiagnostics()
이 객체에 의해 수집되는 진단 정보의 리스트 표시를 가져옵니다.

반환값:
진단 정보의 리스트 표시

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.