p2.tictactoe
Class NullOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by p2.tictactoe.NullOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class NullOutputStream
extends java.io.OutputStream

Needed for silent testing. We will instantiate a silent PrintStream by instantiating: new PrintStream(new NullOutputStream()) in TicTacToeTest ...

Version:
$Version$
Author:
$Author: oscar $

Constructor Summary
NullOutputStream()
           
 
Method Summary
 void write(int b)
          Null implementation of inherited abstract method
 
Methods inherited from class java.io.OutputStream
close, flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullOutputStream

public NullOutputStream()
Method Detail

write

public void write(int b)
           throws java.io.IOException
Null implementation of inherited abstract method

Specified by:
write in class java.io.OutputStream
Throws:
java.io.IOException