public class FastStringWriter extends Writer
| 构造器和说明 |
|---|
FastStringWriter() |
FastStringWriter(int initialSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
FastStringWriter |
append(char c) |
FastStringWriter |
append(CharSequence csq) |
FastStringWriter |
append(CharSequence csq,
int start,
int end) |
void |
close() |
void |
flush() |
StringBuilder |
getBuffer() |
String |
toString() |
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 FastStringWriter()
public FastStringWriter(int initialSize)
public FastStringWriter append(CharSequence csq)
append 在接口中 Appendableappend 在类中 Writerpublic FastStringWriter append(CharSequence csq, int start, int end)
append 在接口中 Appendableappend 在类中 Writerpublic FastStringWriter append(char c)
append 在接口中 Appendableappend 在类中 Writerpublic StringBuilder getBuffer()
public void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 WriterIOExceptionCopyright © 2017. All rights reserved.