Package org.apache.log4j.spi
Class NullWriter
- java.lang.Object
-
- java.io.Writer
-
- org.apache.log4j.spi.NullWriter
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.Appendable,java.lang.AutoCloseable
class NullWriter extends java.io.WriterDeprecated.NullWriter is an obsolete class provided only for binary compatibility with earlier versions of log4j and should not be used.
-
-
Constructor Summary
Constructors Constructor Description NullWriter()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated.voidflush()Deprecated.voidwrite(char[] cbuf, int off, int len)Deprecated.
-
-
-
Method Detail
-
close
public void close()
Deprecated.- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein classjava.io.Writer
-
flush
public void flush()
Deprecated.- Specified by:
flushin interfacejava.io.Flushable- Specified by:
flushin classjava.io.Writer
-
write
public void write(char[] cbuf, int off, int len)Deprecated.- Specified by:
writein classjava.io.Writer
-
-