|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.OutputStream
de.fhg.igd.io.NullOutputStream
public class NullOutputStream
This class represents an null-outputstream
| Constructor Summary | |
|---|---|
NullOutputStream()
Class constructor |
|
| Method Summary | |
|---|---|
void |
write(byte[] b)
This method sends an array of bytes to NULL |
void |
write(byte[] b,
int off,
int len)
This method sends an array of bytes starting at offset with length len to NULL |
void |
write(int b)
This method sends a byte to NULL |
| Methods inherited from class java.io.OutputStream |
|---|
close, flush |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullOutputStream()
| Method Detail |
|---|
public void write(int b)
write in class OutputStreamb - byte to be sentpublic void write(byte[] b)
write in class OutputStreamb - byte array to be sent
public void write(byte[] b,
int off,
int len)
write in class OutputStreamb - byte array to be sentoff - start stream at specified offsetlen - length of stream
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||