org.jboss.forge.maven.projects.util
Class NullOutputStream
java.lang.Object
java.io.OutputStream
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
|
Method Summary |
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullOutputStream
public NullOutputStream()
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
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.