Package org.aksw.commons.io.util.channel
package org.aksw.commons.io.util.channel
-
ClassDescriptionChannelFactory<T extends Channel>ReadableByteChannelDecorator<T extends ReadableByteChannel>A replacement for Channels.newChannel with the following changes for interoperability with hadoop and our GenericRecordReader: - Does not close the underlying stream on interrupt - This implementation's read method just delegates to the input stream (without additional buffering / repeated reads).Readable byte channel wrapper that before every read checks for an end-of-file (eof) condition.ReadableByteChannel from an InputStream without closing the stream on interrupt as Channels.newChannel does.