Class TStringWriter
java.lang.Object
java.io.Writer
org.teavm.classlib.java.io.TStringWriter
- All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(char c) append(CharSequence csq) append(CharSequence csq, int start, int end) voidclose()voidflush()toString()voidwrite(char[] cbuf, int offset, int count) voidwrite(int oneChar) voidvoidMethods inherited from class Writer
nullWriter, write
-
Constructor Details
-
TStringWriter
public TStringWriter() -
TStringWriter
public TStringWriter(int initialSize)
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-
flush
-
getBuffer
-
toString
-
write
-
write
-
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
-