public class WriteBuffer extends Writer
| Constructor and Description |
|---|
WriteBuffer() |
WriteBuffer(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
WriteBuffer |
append(char ch) |
void |
append(int integer) |
void |
append(String s) |
void |
close() |
void |
flush() |
int |
length() |
void |
reset() |
String |
toString() |
void |
write(char[] charArray,
int from,
int to) |
void |
writeCharsOn(Writer writer) |
public WriteBuffer()
public WriteBuffer(int initialCapacity)
public void reset()
public WriteBuffer append(char ch)
append in interface Appendableappend in class Writerpublic void append(String s)
public void append(int integer)
public int length()
public void writeCharsOn(Writer writer) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class WriterIOExceptionpublic void write(char[] charArray,
int from,
int to)
throws IOException
write in class WriterIOExceptionCopyright © 2010–2018. All rights reserved.