1 29 30 package com.caucho.vfs; 31 32 import java.io.IOException ; 33 import java.io.OutputStream ; 34 35 38 abstract public class OutputStreamWithBuffer extends OutputStream { 39 42 abstract public byte []getBuffer() 43 throws IOException ; 44 45 48 abstract public int getBufferOffset() 49 throws IOException ; 50 51 54 abstract public void setBufferOffset(int offset) 55 throws IOException ; 56 57 64 abstract public byte []nextBuffer(int offset) 65 throws IOException ; 66 } 67 | Popular Tags |