public final class DevNullSource extends InputStream
/dev/null as InputStream. In other words the DevNullTarget is a
dummy InputStream that always has reached its end. It will never change its state so it can also be
closed.| Modifier and Type | Field and Description |
|---|---|
static DevNullSource |
INSTANCE
The singleton instance.
|
| Modifier | Constructor and Description |
|---|---|
private |
DevNullSource()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
available, close, mark, markSupported, read, read, reset, skippublic static final DevNullSource INSTANCE
public int read()
throws IOException
read in class InputStreamIOExceptionCopyright © 2001–2016 mmm-Team. All rights reserved.