Modifier and Type | Field and Description |
---|---|
public static NullOutputStream | INSTANCE
Shared instance which is safe to use concurrently as the stream doesn't hold any state at all. |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public void | |
public void | write(byte[]
the data. b, int the start offset in the data. off, int the number of bytes to write. len)Overrides java. |
public void |
INSTANCE | back to summary |
---|---|
public static NullOutputStream INSTANCE Shared instance which is safe to use concurrently as the stream doesn't hold any state at all. |
NullOutputStream | back to summary |
---|---|
private NullOutputStream() |
write | back to summary |
---|---|
public void write(byte[] b) Overrides java. Doesn't do anything.
|
write | back to summary |
---|---|
public void write(byte[] b, int off, int len) Overrides java. Doesn't do anything.
|
write | back to summary |
---|---|
public void write(int i) Implements abstract java. Doesn't do anything.
|