private static final class CharStreams.NullWriter
extends java.io.Writer
Modifier and Type | Field and Description |
---|---|
private static CharStreams.NullWriter |
INSTANCE |
Modifier | Constructor and Description |
---|---|
private |
NullWriter() |
Modifier and Type | Method and Description |
---|---|
java.io.Writer |
append(char c) |
java.io.Writer |
append(java.lang.CharSequence csq) |
java.io.Writer |
append(java.lang.CharSequence csq,
int start,
int end) |
void |
close() |
void |
flush() |
java.lang.String |
toString() |
void |
write(char[] cbuf) |
void |
write(char[] cbuf,
int off,
int len) |
void |
write(int c) |
void |
write(java.lang.String str) |
void |
write(java.lang.String str,
int off,
int len) |
private static final CharStreams.NullWriter INSTANCE
public void write(int c)
write
in class java.io.Writer
public void write(char[] cbuf)
write
in class java.io.Writer
public void write(char[] cbuf, int off, int len)
write
in class java.io.Writer
public void write(java.lang.String str)
write
in class java.io.Writer
public void write(java.lang.String str, int off, int len)
write
in class java.io.Writer
public java.io.Writer append(@CheckForNull java.lang.CharSequence csq)
append
in interface java.lang.Appendable
append
in class java.io.Writer
public java.io.Writer append(@CheckForNull java.lang.CharSequence csq, int start, int end)
append
in interface java.lang.Appendable
append
in class java.io.Writer
public java.io.Writer append(char c)
append
in interface java.lang.Appendable
append
in class java.io.Writer
public void flush()
flush
in interface java.io.Flushable
flush
in class java.io.Writer
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.Writer
public java.lang.String toString()
toString
in class java.lang.Object