1 5 6 package org.joseki.util; 7 8 import java.io.* ; 9 10 13 14 15 public class NullOutputStream extends OutputStream 16 { 17 public NullOutputStream() 18 { 19 } 20 21 public void close() throws IOException { } 23 public void flush() throws IOException { } 24 25 public void write(int b) throws IOException { } 27 public void write(byte b[]) throws IOException { } 28 29 public void write(byte[] b, int off, int len) throws IOException 31 { 32 } 34 35 } 36 37 63 | Popular Tags |