Forge - Maven Projects Impl 2.0.0.Alpha3

org.jboss.forge.maven.projects.util
Class NullOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.jboss.forge.maven.projects.util.NullOutputStream
All Implemented Interfaces:
Closeable, Flushable

public final class NullOutputStream
extends OutputStream

Implementation of OutputStream that sends all written bytes to /dev/null

Author:
Lincoln Baxter, III

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

write

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

Forge - Maven Projects Impl 2.0.0.Alpha3

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.