Package i2p.susi.util
Class StringBuilderWriter
java.lang.Object
java.io.Writer
i2p.susi.util.StringBuilderWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
StringBuilder version of StringWriter
- Since:
- 0.9.35
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.Writer
nullWriter
-
Constructor Details
-
StringBuilderWriter
public StringBuilderWriter() -
StringBuilderWriter
public StringBuilderWriter(int capacity)
-
-
Method Details
-
append
- Specified by:
append
in interfaceAppendable
- Overrides:
append
in classWriter
-
append
- Specified by:
append
in interfaceAppendable
- Overrides:
append
in classWriter
-
append
- Specified by:
append
in interfaceAppendable
- Overrides:
append
in classWriter
-
write
public void write(char[] cbuf) -
write
public void write(char[] cbuf, int off, int len) -
write
public void write(int c) -
write
-
write
-
close
public void close()Does nothing. -
flush
public void flush()Does nothing. -
getBuilder
-
toString
-