org.apache.log4j.helpers

Class QuietWriter

public class QuietWriter extends FilterWriter

QuietWriter does not throw exceptions when things go wrong. Instead, it delegates error handling to its {@link ErrorHandler}.

Since: 0.7.3

Author: Ceki Gülcü

Field Summary
protected ErrorHandlererrorHandler
Constructor Summary
QuietWriter(Writer writer, ErrorHandler errorHandler)
Method Summary
voidflush()
voidsetErrorHandler(ErrorHandler eh)
voidwrite(String string)

Field Detail

errorHandler

protected ErrorHandler errorHandler

Constructor Detail

QuietWriter

public QuietWriter(Writer writer, ErrorHandler errorHandler)

Method Detail

flush

public void flush()

setErrorHandler

public void setErrorHandler(ErrorHandler eh)

write

public void write(String string)
Copyright 2000-2005 Apache Software Foundation.