Log4j Version 1.2.14: Class CountingQuietWriter

Log4j 1.2

Log4j 1.2.14

org.apache.log4j.helpers Class CountingQuietWriter

java.lang.Object
  |
  +--java.io.Writer
        |
        +--java.io.FilterWriter
              |
              +--org.apache.log4j.helpers.QuietWriter
                    |
                    +--org.apache.log4j.helpers.CountingQuietWriter

public class CountingQuietWriter
extends QuietWriter

Counts the number of bytes written.

Since:
0.8.1
Author:
Heinz Richter, [email protected]

protected  long
 
 
 
 
 
 long
 void
 void
 
 
 
 
 

count

protected long count

CountingQuietWriter

public CountingQuietWriter(Writer writer,
                           ErrorHandler eh)

write

public void write(String string)
Overrides:
write in class QuietWriter

getCount

public long getCount()

setCount

public void setCount(long count)

Log4j 1.2.14

Copyright 2000-2005 Apache Software Foundation.