de.fhg.igd.io
Class NullInputStream
java.lang.Object
java.io.InputStream
de.fhg.igd.io.NullInputStream
- All Implemented Interfaces:
- Closeable
public class NullInputStream
- extends InputStream
This class represents a null-inputstream
- Version:
- "$Id: NullInputStream.java 1913 2007-08-08 02:41:53Z jpeters $"
- Author:
- Patric Kabus
Method Summary |
int |
read()
This method always returns -1 (an empty stream) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullInputStream
public NullInputStream()
- Class constructor
read
public int read()
- This method always returns -1 (an empty stream)
- Specified by:
read
in class InputStream
- Returns:
- -1 (empty stream)
Copyright © Fraunhofer Gesellschaft. All
Rights Reserved.