Module org.hsqldb

Class CharArrayWriter

java.lang.Object
org.hsqldb.lib.CharArrayWriter

public class CharArrayWriter extends Object
A writer for char strings.
Since:
1.9.0
Author:
Fred Toussi (fredt@users dot sourceforge.net)
  • Constructor Details

    • CharArrayWriter

      public CharArrayWriter(int size)
    • CharArrayWriter

      public CharArrayWriter(char[] buffer)
    • CharArrayWriter

      public CharArrayWriter(Reader reader, int length) throws IOException
      Throws:
      IOException
    • CharArrayWriter

      public CharArrayWriter(Reader reader) throws IOException
      Throws:
      IOException
  • Method Details

    • write

      public void write(int c)
    • write

      public int write(Reader reader, int length) throws IOException
      Throws:
      IOException
    • write

      public void write(String str, int off, int len)
    • 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

      public String toString()
      Overrides:
      toString in class Object