Java IO Tutorial - StringWriter Example








Constructor

  1. Java StringWriter() Constructor
  2. Java StringWriter(int initialSize) Constructor

Method

  1. Java StringWriter .append(char c)
  2. Java StringWriter .append ( CharSequence csq)
  3. Java StringWriter .append ( CharSequence csq, int start, int end)
  4. Java StringWriter.close()
  5. Java StringWriter.flush()
  6. Java StringWriter.getBuffer()
  7. Java StringWriter.toString()
  8. Java StringWriter.write(char[] cbuf, int off, int len)
  9. Java StringWriter.write(int c)
  10. Java StringWriter.write(String str)
  11. Java StringWriter.write(String str, int off, int len)