public class NullWriter extends Writer
| Modifier and Type | Field and Description |
|---|---|
static NullWriter |
INSTANCE |
| Constructor and Description |
|---|
NullWriter() |
| Modifier and Type | Method and Description |
|---|---|
Writer |
append(char c) |
Writer |
append(CharSequence csq) |
Writer |
append(CharSequence csq,
int start,
int end) |
void |
close() |
void |
flush() |
void |
write(char[] chr) |
void |
write(char[] chr,
int st,
int end) |
void |
write(int idx) |
void |
write(String str) |
void |
write(String str,
int st,
int end) |
public static final NullWriter INSTANCE
public Writer append(char c)
append in interface Appendableappend in class Writerpublic Writer append(CharSequence csq, int start, int end)
append in interface Appendableappend in class Writerpublic Writer append(CharSequence csq)
append in interface Appendableappend in class Writerpublic void flush()
Copyright © 2016 jetbrick. All rights reserved.