public class NullAppendable extends Object implements Appendable
This Appendable has no destination (file/socket etc.) and all characters written to it are ignored and lost.
Modifier and Type | Field and Description |
---|---|
static NullAppendable |
INSTANCE
A singleton.
|
Modifier and Type | Method and Description |
---|---|
Appendable |
append(char c) |
Appendable |
append(CharSequence csq) |
Appendable |
append(CharSequence csq,
int start,
int end) |
public static final NullAppendable INSTANCE
public Appendable append(char c) throws IOException
append
in interface Appendable
IOException
public Appendable append(CharSequence csq) throws IOException
append
in interface Appendable
IOException
public Appendable append(CharSequence csq, int start, int end) throws IOException
append
in interface Appendable
IOException
Jas4pp 1.5 © Java Analysis Studio for Particle Physics