Package org.dellroad.stuff.io
Class PipedStreams.Input
java.lang.Object
java.io.InputStream
org.dellroad.stuff.io.PipedStreams.Input
- All Implemented Interfaces:
Closeable,AutoCloseable,PipedStreams.HasPipedStreams
- Enclosing class:
- PipedStreams
The
InputStream associated with a PipedStreams instance.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionintvoidclose()Get this stream's originatingPipedStreamsinstance.intread()intread(byte[] b, int off, int len) longskip(long n) Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skipNBytes, transferTo
-
Method Details
-
getPipedStreams
Description copied from interface:PipedStreams.HasPipedStreamsGet this stream's originatingPipedStreamsinstance.- Specified by:
getPipedStreamsin interfacePipedStreams.HasPipedStreams
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classInputStream- Throws:
IOException
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream
-