public class TStringWriter extends Writer
Constructor and Description |
---|
TStringWriter() |
TStringWriter(int initialSize) |
Modifier and Type | Method and Description |
---|---|
TStringWriter |
append(char c) |
TStringWriter |
append(CharSequence csq) |
TStringWriter |
append(CharSequence csq,
int start,
int end) |
void |
close() |
void |
flush() |
StringBuffer |
getBuffer() |
String |
toString() |
void |
write(char[] cbuf,
int offset,
int count) |
void |
write(int oneChar) |
void |
write(String str) |
void |
write(String str,
int offset,
int count) |
public TStringWriter()
public TStringWriter(int initialSize)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Writer
IOException
public void flush()
public StringBuffer getBuffer()
public TStringWriter append(char c)
append
in interface Appendable
append
in class Writer
public TStringWriter append(CharSequence csq)
append
in interface Appendable
append
in class Writer
public TStringWriter append(CharSequence csq, int start, int end)
append
in interface Appendable
append
in class Writer
Copyright © 2019. All rights reserved.