org.apache.myfaces.tobago.util
Class ResponseWriterBuffer

java.lang.Object
  extended by org.apache.myfaces.tobago.util.ResponseWriterBuffer

public class ResponseWriterBuffer
extends java.lang.Object

User: lofwyr Date: 07.05.2007 12:03:26


Constructor Summary
ResponseWriterBuffer(java.io.Writer writer)
           
 
Method Summary
 void addToBuffer(char ch)
          Add a character to the buffer, flushing the buffer if the buffer is full
 void addToBuffer(char[] ch)
           
 void flushBuffer()
          Flush the contents of the buffer to the output stream and return the reset buffer index
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseWriterBuffer

public ResponseWriterBuffer(java.io.Writer writer)
Method Detail

addToBuffer

public void addToBuffer(char ch)
                 throws java.io.IOException
Add a character to the buffer, flushing the buffer if the buffer is full

Throws:
java.io.IOException

addToBuffer

public void addToBuffer(char[] ch)
                 throws java.io.IOException
Throws:
java.io.IOException

flushBuffer

public void flushBuffer()
                 throws java.io.IOException
Flush the contents of the buffer to the output stream and return the reset buffer index

Throws:
java.io.IOException


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.