public class TCharArrayWriter extends Writer
Modifier and Type | Field and Description |
---|---|
protected char[] |
buf |
protected int |
count |
Constructor and Description |
---|
TCharArrayWriter() |
TCharArrayWriter(int initialSize) |
Modifier and Type | Method and Description |
---|---|
TCharArrayWriter |
append(char c) |
TCharArrayWriter |
append(CharSequence csq) |
TCharArrayWriter |
append(CharSequence csq,
int start,
int end) |
void |
close() |
void |
flush() |
void |
reset() |
int |
size() |
char[] |
toCharArray() |
String |
toString() |
void |
write(char[] c,
int offset,
int len) |
void |
write(int oneChar) |
void |
write(String str,
int offset,
int len) |
void |
writeTo(Writer out) |
public TCharArrayWriter()
public TCharArrayWriter(int initialSize)
public void close()
public void flush()
public void reset()
public int size()
public char[] toCharArray()
public void writeTo(Writer out) throws IOException
IOException
public TCharArrayWriter append(char c)
append
in interface Appendable
append
in class Writer
public TCharArrayWriter append(CharSequence csq)
append
in interface Appendable
append
in class Writer
public TCharArrayWriter append(CharSequence csq, int start, int end)
append
in interface Appendable
append
in class Writer
Copyright © 2019. All rights reserved.