Subclassing OutputStream

package com.macfaq.io;

import java.io.*;

public class NullOutputStream extends OutputStream {

  public void write(int b) {
  
  }

  public void write(byte[] data) {
  
  }

  public void write(byte[] data, int offset, int length) {

  }

}

Previous | Next | Top | Cafe con Leche

Copyright 2000 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified January 22, 2000