org.apache.hadoop.io
Class IOUtils.NullOutputStream
java.lang.Object
  
java.io.OutputStream
      
org.apache.hadoop.io.IOUtils.NullOutputStream
- All Implemented Interfaces: 
 - Closeable, Flushable
 
- Enclosing class:
 - IOUtils
 
public static class IOUtils.NullOutputStream
- extends OutputStream
 
/dev/null of OutputStreams.
 
| 
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 | 
 
IOUtils.NullOutputStream
public IOUtils.NullOutputStream()
write
public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
- Overrides:
 write in class OutputStream
 
- Throws:
 IOException
 
write
public void write(int b)
           throws IOException
- Specified by:
 write in class OutputStream
 
- Throws:
 IOException
 
Copyright © 2008 The Apache Software Foundation