Package org.teavm.classlib.java.io
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)
void
close()
void
flush()
toString()
void
write(char[] cbuf, int offset, int count)
void
write(int oneChar)
void
void
Methods inherited from class java.io.Writer
nullWriter, write
-
Constructor Details
-
TStringWriter
public TStringWriter() -
TStringWriter
public TStringWriter(int initialSize)
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-
flush
public void flush() -
getBuffer
-
toString
-
write
public void write(char[] cbuf, int offset, int count) -
write
public void write(int oneChar) -
write
-
write
-
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
-