Class InputStreamOverChannel
java.lang.Object
java.io.InputStream
org.aksw.commons.io.input.InputStreamOverChannel
- All Implemented Interfaces:
Closeable, AutoCloseable
This is
without relying on the channel's size() method.
invalid reference
sun.nio.ch.ChannelInputStream
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()intread()intread(byte[] bs, int off, int len) protected intread(ByteBuffer bb) static intread(ReadableByteChannel ch, ByteBuffer bb, boolean block) Methods inherited from class InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Field Details
-
ch
-
-
Constructor Details
-
InputStreamOverChannel
-
-
Method Details
-
read
- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-