Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.caucho.vfs
Class TempBuffer

    java.lang.Object
      |
      +--com.caucho.vfs.TempBuffer

public class TempBuffer
extends java.lang.Object

Field Summary
`static int` | `SIZE`

Method Summary
`static TempBuffer` | `allocate()`
`void` | `clear()`
`static TempBuffer` | `copyFromStream(ReadStream is)`
`static void` | `free(TempBuffer buf)`
`static void` | `freeAll(TempBuffer buf)`
`int` | `getAvailable()`
`byte[]` | `getBuffer()`
`int` | `getLength()`
`TempBuffer` | `getNext()`
`void` | `setLength(int length)`
`void` | `setNext(TempBuffer next)`
`int` | `write(byte[] buf, int offset, int length)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### SIZE

    public static int SIZE

Method Detail

### 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)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD