Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/drew/lang/NullOutputStream.java


1   /**
2    * Created by IntelliJ IDEA.
3    * User: dnoakes
4    * Date: Dec 15, 2002
5    * Time: 3:30:59 PM
6    * To change this template use Options | File Templates.
7    */
8   package com.drew.lang;
9   
10  import java.io.OutputStream;
11  import java.io.IOException;
12  
13  public class NullOutputStream extends OutputStream
14  {
15      public NullOutputStream()
16      {
17          super();
18      }
19  
20      public void write(int b) throws IOException
21      {
22          // do nothing
23      }
24  }