hudson.util
Class NullStream

java.lang.Object
  extended by java.io.OutputStream
      extended by hudson.util.NullStream
All Implemented Interfaces:
Closeable, Flushable

public final class NullStream
extends OutputStream

Author:
Kohsuke Kawaguchi

Constructor Summary
NullStream()
           
 
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

NullStream

public NullStream()
Method Detail

write

public void write(byte[] b)
Overrides:
write in class OutputStream

write

public void write(byte[] b,
                  int off,
                  int len)
Overrides:
write in class OutputStream

write

public void write(int b)
Specified by:
write in class OutputStream


Copyright © 2004-2013. All Rights Reserved.