java.lang.Object
org.hsqldb.lib.CharArrayWriter
A writer for char strings.
- Since:
- 1.9.0
- Author:
- Fred Toussi (fredt@users dot sourceforge.net)
-
Constructor Summary
ConstructorsConstructorDescriptionCharArrayWriter
(char[] buffer) CharArrayWriter
(int size) CharArrayWriter
(Reader reader) CharArrayWriter
(Reader reader, int length) -
Method Summary
-
Constructor Details
-
CharArrayWriter
public CharArrayWriter(int size) -
CharArrayWriter
public CharArrayWriter(char[] buffer) -
CharArrayWriter
- Throws:
IOException
-
CharArrayWriter
- Throws:
IOException
-
-
Method Details
-
write
public void write(int c) -
write
- Throws:
IOException
-
write
-
reset
public void reset() -
reset
public void reset(char[] buffer) -
toCharArray
public char[] toCharArray() -
getBuffer
public char[] getBuffer() -
size
public int size() -
setSize
public void setSize(int newPos) -
toString
-