Class CharBuffer

java.lang.Object
org.gatein.pc.portlet.impl.jsr168.Buffer
org.gatein.pc.portlet.impl.jsr168.CharBuffer

public class CharBuffer extends Buffer
Author:
Julien Viet
  • Constructor Details

    • CharBuffer

      public CharBuffer()
  • Method Details

    • getChars

      public String getChars()
      Return the chars of the content held by the fragment or null.
      Returns:
      the chars
    • getWriter

      public PrintWriter getWriter() throws IllegalStateException
      Returns the writer.
      Returns:
      the writer
      Throws:
      IllegalStateException - if the output stream is already used or if no content type is defined
    • doReset

      protected void doReset()
      Specified by:
      doReset in class Buffer