org.apache.log4j.helpers
Class QuietWriter
java.lang.Object
java.io.Writer
java.io.FilterWriter
org.apache.log4j.helpers.QuietWriter
- Direct Known Subclasses:
- CountingQuietWriter, SyslogQuietWriter
- public class QuietWriter
- extends FilterWriter
QuietWriter does not throw exceptions when things go
wrong. Instead, it delegates error handling to its ErrorHandler
.
- Since:
- 0.7.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
errorHandler
protected ErrorHandler errorHandler
QuietWriter
public QuietWriter(Writer writer,
ErrorHandler errorHandler)
write
public void write(String string)
flush
public void flush()
setErrorHandler
public void setErrorHandler(ErrorHandler eh)
Copyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.