java.lang.Object
java.io.InputStream
org.refcodes.io.BytesReceiver.ReceiverInputStream
-
Constructor Summary
ConstructorsConstructorDescriptionReceiverInputStream(BytesReceiver aBytesReceiver) Uses the providedBytesReceiverto provideInputStreamfunctionality. -
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
ReceiverInputStream
Uses the providedBytesReceiverto provideInputStreamfunctionality.- Parameters:
aBytesReceiver- The receiver to use.
-
-
Method Details
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-