1 29 30 package com.caucho.quercus.lib.file; 31 32 import java.io.IOException ; 33 import java.io.InputStream ; 34 import java.io.OutputStream ; 35 36 39 public interface BinaryOutput extends BinaryStream { 40 43 public OutputStream getOutputStream(); 44 45 48 public void write(byte []buffer, int offset, int length) 49 throws IOException ; 50 51 54 public int write(InputStream is, int length) 55 throws IOException ; 56 57 60 public void print(char ch) 61 throws IOException ; 62 63 66 public void print(String s) 67 throws IOException ; 68 69 72 public void flush() 73 throws IOException ; 74 75 78 public void closeWrite(); 79 80 83 public void close(); 84 85 86 } 87 88 | Popular Tags |