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 Summary
Constructors Constructor Description CharBuffer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoReset()StringgetChars()Return the chars of the content held by the fragment or null.PrintWritergetWriter()Returns the writer.-
Methods inherited from class org.gatein.pc.portlet.impl.jsr168.Buffer
commit, isCommited, reset
-
-
-
-
Method Detail
-
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
-
-