Package jmri.jmrix.fakeport
Class FakeInputStream
- java.lang.Object
-
- java.io.InputStream
-
- jmri.jmrix.fakeport.FakeInputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class FakeInputStream extends java.io.InputStream
A fake input stream.
-
-
Constructor Summary
Constructors Constructor Description FakeInputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intread()
-
-
-
Constructor Detail
-
FakeInputStream
public FakeInputStream()
-
-
Method Detail
-
read
public int read() throws java.io.IOException
- Specified by:
readin classjava.io.InputStream- Throws:
java.io.IOException
-
-