Package com.saperion.common.io
Class EmptyInputStream
- java.lang.Object
-
- java.io.InputStream
-
- com.saperion.common.io.EmptyInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Serializable
,java.lang.AutoCloseable
public class EmptyInputStream extends java.io.InputStream implements java.io.Serializable
An EmptyInputStream is anInputStream
that never holds any data.- Author:
- jschwarz
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EmptyInputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
read()
int
read(byte[] b)
int
read(byte[] b, int off, int len)
-