Closeable
, Flushable
, AutoCloseable
public class NullOutputStream extends OutputStream
Constructor | Description |
---|---|
NullOutputStream() |
Modifier and Type | Method | Description |
---|---|---|
void |
write(byte[] b) |
|
void |
write(byte[] b,
int off,
int len) |
|
void |
write(int b) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, flush
public void write(byte[] b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public void write(int b) throws IOException
write
in class OutputStream
IOException
Copyright © 2012-2016 Oracle. All Rights Reserved.