1 9 10 package org.jboss.util.stream; 11 12 import java.io.OutputStream ; 13 14 24 public final class NullOutputStream 25 extends OutputStream  26 { 27 28 public static final NullOutputStream STREAM = new NullOutputStream(); 29 30 33 public void write(final int b) {} 34 35 38 public void flush() {} 39 40 43 public void close() {} 44 45 48 public void write(final byte[] bytes) {} 49 50 53 public void write(final byte[] bytes, final int offset, final int length) {} 54 } 55 | Popular Tags |