001 package org.maltparser.core.helper; 002 003 import java.io.OutputStream; 004 /** 005 * 006 * 007 * @author Johan Hall 008 */ 009 public final class NoOutputStream extends OutputStream { 010 public static final OutputStream DEVNULL = new NoOutputStream(); 011 012 private NoOutputStream() {} 013 public void write(int b) {} 014 public void write(byte[] b) {} 015 public void write(byte[] b, int off, int len) {} 016 }