SOMA.explorer
Class NullOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended bySOMA.explorer.NullOutputStream

public class NullOutputStream
extends java.io.OutputStream

OutputStream che ignora tutte le istruzioni di scrittura. puņ essere utilizzato se si vuole che l'output di un ExplorerItem non venga visualizzato.

Author:
Livio Profiri

Constructor Summary
NullOutputStream()
           
 
Method Summary
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
close, flush
 
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
Throws:
java.io.IOException

write

public void write(byte[] b)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2004 Luca Foschini