public class IgnoreOutputStream extends OutputStream
Modifier and Type | Field and Description |
---|---|
static IgnoreOutputStream |
OUT |
Constructor and Description |
---|
IgnoreOutputStream() |
Modifier and Type | Method and Description |
---|---|
void |
write(byte[] bs)
write to /dev/null
|
void |
write(byte[] bs,
int off,
int len)
write to /dev/null
|
void |
write(int b)
write to /dev/null
|
close, flush
public static final IgnoreOutputStream OUT
public void write(byte[] bs, int off, int len)
write
in class OutputStream
bs
- bsoff
- offsetlen
- lengthpublic void write(int b)
write
in class OutputStream
b
- bpublic void write(byte[] bs)
write
in class OutputStream
bs
- bsCopyright © 2024. All rights reserved.