Class CharacterWriter

All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable
Direct Known Subclasses:
BufferedJSONWriter, BufferedXMLWriter

public abstract class CharacterWriter extends BufferedWriter
Since:
0.8
Author:
Haiyang Li
  • Method Details

    • writeCharacter

      public void writeCharacter(char ch) throws IOException
      Parameters:
      ch -
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • writeCharacter

      public void writeCharacter(char[] cbuf) throws IOException
      Parameters:
      cbuf -
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • writeCharacter

      public void writeCharacter(char[] cbuf, int off, int len) throws IOException
      Parameters:
      cbuf -
      off -
      len -
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • writeCharacter

      public void writeCharacter(String str) throws IOException
      Parameters:
      str -
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • writeCharacter

      public void writeCharacter(String str, int off, int len) throws IOException
      Parameters:
      str -
      off -
      len -
      Throws:
      IOException - Signals that an I/O exception has occurred.