Package org.teavm.classlib.java.io
Class TCharArrayWriter
java.lang.Object
java.io.Writer
org.teavm.classlib.java.io.TCharArrayWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.Writer
nullWriter, write, write
-
Field Details
-
buf
protected char[] buf -
count
protected int count
-
-
Constructor Details
-
TCharArrayWriter
public TCharArrayWriter() -
TCharArrayWriter
public TCharArrayWriter(int initialSize)
-
-
Method Details
-
close
public void close() -
flush
public void flush() -
reset
public void reset() -
size
public int size() -
toCharArray
public char[] toCharArray() -
toString
-
write
public void write(char[] c, int offset, int len) -
write
public void write(int oneChar) -
write
-
writeTo
- Throws:
IOException
-
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
-