public class NullPrintStream
extends java.io.PrintStream
This print stream has no destination (file/socket etc.) and all bytes written to it are ignored and lost.
Modifier and Type | Field and Description |
---|---|
static NullPrintStream |
INSTANCE
The singleton instance.
|
static NullPrintStream |
NULL_PRINT_STREAM
Deprecated.
Use
INSTANCE . |
Constructor and Description |
---|
NullPrintStream()
Deprecated.
Use
INSTANCE . |
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write
public static final NullPrintStream INSTANCE
@Deprecated public static final NullPrintStream NULL_PRINT_STREAM
INSTANCE
.@Deprecated public NullPrintStream()
INSTANCE
.