Package org.apache.dubbo.common.io
Class UnsafeStringWriter
java.lang.Object
java.io.Writer
org.apache.dubbo.common.io.UnsafeStringWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
Thread-unsafe StringWriter.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.Writer
nullWriter
-
Constructor Details
-
UnsafeStringWriter
public UnsafeStringWriter() -
UnsafeStringWriter
public UnsafeStringWriter(int size)
-
-
Method Details
-
write
public void write(int c) -
write
- Overrides:
writein classWriter- Throws:
IOException
-
write
- Specified by:
writein classWriter- Throws:
IOException
-
write
-
write
-
append
- Specified by:
appendin interfaceAppendable- Overrides:
appendin classWriter
-
append
- Specified by:
appendin interfaceAppendable- Overrides:
appendin classWriter
-
append
- Specified by:
appendin interfaceAppendable- Overrides:
appendin classWriter
-
close
public void close() -
flush
public void flush() -
toString
-