|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
de.mospace.lang.NullStream
public final class NullStream
A Singleton OutputStream that serves as a '/dev/null'-like data sink.
| Method Summary | |
|---|---|
Object |
clone()
Throws a CloneNotSupportedException. |
static OutputStream |
getInstance()
Returns the sole instance of this class. |
void |
write(byte[] b)
Does nothing. |
void |
write(byte[] b,
int off,
int len)
Does nothing. |
void |
write(int b)
Does nothing. |
| Methods inherited from class java.io.OutputStream |
|---|
close, flush |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static OutputStream getInstance()
public Object clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException - This method always throws a CloneNotSupportedException.
public void write(int b)
throws IOException
write in class OutputStreamIOException - This method will not throw an Exception.
public void write(byte[] b)
throws IOException
write in class OutputStreamIOException - This method will not throw an Exception.
public void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOException - This method will not throw an Exception.
|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||