ariba.util.core
Class IOUtil.BufferHolder

java.lang.Object
  extended by ariba.util.core.IOUtil.BufferHolder
Enclosing class:
IOUtil

public static final class IOUtil.BufferHolder
extends Object

Holds a byte buffer for use in this class while copying bytes around.


Constructor Summary
IOUtil.BufferHolder()
           
 
Method Summary
 byte[] checkoutBuffer()
          Checks the byte buffer out of this holder.
 int getRecursionDepth()
          Returns the recursion depth.
 void returnBuffer(byte[] buffer)
          Returns the byte buffer to this holder.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOUtil.BufferHolder

public IOUtil.BufferHolder()
Method Detail

checkoutBuffer

public byte[] checkoutBuffer()
Checks the byte buffer out of this holder.


returnBuffer

public void returnBuffer(byte[] buffer)
Returns the byte buffer to this holder.


getRecursionDepth

public int getRecursionDepth()
Returns the recursion depth.



AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.