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 TypeMethodDescriptionint
void
close()
Get this stream's originatingPipedStreams
instance.int
read()
int
read
(byte[] b, int off, int len) long
skip
(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.HasPipedStreams
Get this stream's originatingPipedStreams
instance.- Specified by:
getPipedStreams
in interfacePipedStreams.HasPipedStreams
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
skip
- Overrides:
skip
in classInputStream
- Throws:
IOException
-
available
- Overrides:
available
in classInputStream
- Throws:
IOException
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
-