public class NullInputStream
extends java.io.InputStream
InputStream that contains no bytes.
| Constructor and Description |
|---|
NullInputStream()
Creates a
NullInputStream. |
public int read()
throws java.io.IOException
-1 (EOF), always.read in class java.io.InputStream-1java.io.IOExceptionpublic int available()
throws java.io.IOException
0, always.available in class java.io.InputStream0java.io.IOExceptionpublic long skip(long pOffset)
throws java.io.IOException
0, always.skip in class java.io.InputStream0java.io.IOExceptionCopyright © 2018. All Rights Reserved.