public final class NullInputStream extends InputStream
InputStream which returns no bytes.| Modifier and Type | Field and Description |
|---|---|
static NullInputStream |
INSTANCE |
| Constructor and Description |
|---|
NullInputStream() |
public static final NullInputStream INSTANCE
public int read()
read in class InputStreampublic int read(byte[] b)
read in class InputStreampublic int read(byte[] b,
int off,
int len)
read in class InputStreampublic long skip(long n)
skip in class InputStreampublic int available()
available in class InputStreampublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class InputStreampublic void mark(int i)
mark in class InputStreampublic void reset()
reset in class InputStreampublic boolean markSupported()
markSupported in class InputStreamCopyright © 2012-2013 Myrrix Ltd. All Rights Reserved.