Overview Package Class Use Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

net.sourceforge.pmd.util
Class AntLogHandler

java.lang.Object
 extended by java.util.logging.Handler
 extended by net.sourceforge.pmd.util.AntLogHandler

public class AntLogHandler
extends java.util.logging.Handler

AntLogHandler sends log messages to an Ant Task, so the regular Ant logging is used.

Author:
Wouter Zelle

Constructor Summary
AntLogHandler(org.apache.tools.ant.Task antTask)
Method Summary
void close()
void flush()
void publish(java.util.logging.LogRecord logRecord)
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

AntLogHandler

public AntLogHandler(org.apache.tools.ant.Task antTask)
Method Detail

publish

public void publish(java.util.logging.LogRecord logRecord)
Specified by:
publish in class java.util.logging.Handler

close

public void close()
 throws java.lang.SecurityException
Specified by:
close in class java.util.logging.Handler
Throws:
java.lang.SecurityException

flush

public void flush()
Specified by:
flush in class java.util.logging.Handler

Overview Package Class Use Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2011 InfoEther. All Rights Reserved.

AltStyle によって変換されたページ (->オリジナル) /