org.apache.tapestry.util.pool
Class StringBufferAdaptor

java.lang.Object
  extended by org.apache.tapestry.util.pool.NullPoolableAdaptor
      extended by org.apache.tapestry.util.pool.StringBufferAdaptor
All Implemented Interfaces:
IPoolableAdaptor

public class StringBufferAdaptor
extends NullPoolableAdaptor

Adaptor for StringBuffer, that clears the buffer as it is returned to the pool.

Since:
3.0
Version:
$Id: StringBufferAdaptor.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship

Constructor Summary
StringBufferAdaptor()
           
 
Method Summary
 void resetForPool(Object object)
          Sets the length of the StringBuffer to zero.
 
Methods inherited from class org.apache.tapestry.util.pool.NullPoolableAdaptor
discardFromPool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringBufferAdaptor

public StringBufferAdaptor()
Method Detail

resetForPool

public void resetForPool(Object object)
Sets the length of the StringBuffer to zero.

Specified by:
resetForPool in interface IPoolableAdaptor
Overrides:
resetForPool in class NullPoolableAdaptor