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