com.caucho.vfs
Class TempBuffer
java.lang.Object
|
+--com.caucho.vfs.TempBuffer
- public class TempBuffer
- extends java.lang.Object
Field Summary |
static int |
SIZE
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SIZE
public static int SIZE
allocate
public static TempBuffer allocate()
clear
public void clear()
getBuffer
public byte[] getBuffer()
getLength
public int getLength()
setLength
public void setLength(int length)
write
public int write(byte[] buf,
int offset,
int length)
copyFromStream
public static TempBuffer copyFromStream(ReadStream is)
throws java.io.IOException
getAvailable
public int getAvailable()
getNext
public TempBuffer getNext()
setNext
public void setNext(TempBuffer next)
free
public static void free(TempBuffer buf)
freeAll
public static void freeAll(TempBuffer buf)