org.apache.tapestry.util.pool
Class StringBufferAdaptor
java.lang.Object
org.apache.tapestry.util.pool.NullPoolableAdaptor
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringBufferAdaptor
public StringBufferAdaptor()
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