Package org.aoju.bus.core.io.streams
Class StringWriter
java.lang.Object
java.io.Writer
org.aoju.bus.core.io.streams.StringWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Constructor Details
-
StringWriter
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Specified by:
flushin classWriter- Throws:
IOException
-
write
- Specified by:
writein classWriter- Throws:
IOException
-
getStringBuilder
-