Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.io.CharArrayWriter

Availability: JDK 1.1

public class CharArrayWriter extends Writer {
   // Public Constructors
      public CharArrayWriter();
      public CharArrayWriter(int initialSize);
   // Protected Instance Variables
      protected char[] buf;
      protected int count;
   // Public Instance Methods
      public void close();  // Defines Writer.close()
      public void flush();  // Defines Writer.flush()
      public void reset();
      public int size();
      public char[] toCharArray();
      public String toString();  // Overrides Object.toString()
      public void write(int c);  // Overrides Writer.write()
      public void write(char[] c, int off, int len);  // Defines Writer.write()
      public void write(String str, int off, int len);  // Overrides Writer.write()
      public void writeTo(Writer out) throws IOException;
}

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.