Package org.aksw.commons.io.input
Class ReadableChannelSourceOverStreamFactory<T>
java.lang.Object
org.aksw.commons.io.input.ReadableChannelSourceOverStreamFactory<T>
- All Implemented Interfaces:
HasArrayOps<T[]>,ReadableChannelFactory<T[]>,ReadableChannelSource<T[]>
public class ReadableChannelSourceOverStreamFactory<T>
extends Object
implements ReadableChannelSource<T[]>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReadableChannel<T[]>newReadableChannel(long offset, long end) ReadableChannelSources are implemented against the newRedableChannel(Range) method.longsize()The size; -1 if unknownMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.commons.io.input.ReadableChannelFactory
newReadableChannel, newReadableChannel, newReadableChannel
-
Field Details
-
arrayOps
-
streamFactory
-
-
Constructor Details
-
ReadableChannelSourceOverStreamFactory
-
-
Method Details
-
newReadableChannel
Description copied from interface:ReadableChannelSourceReadableChannelSources are implemented against the newRedableChannel(Range) method. Needs consolidation.- Specified by:
newReadableChannelin interfaceReadableChannelFactory<T>- Specified by:
newReadableChannelin interfaceReadableChannelSource<T>- Throws:
IOException
-
getArrayOps
- Specified by:
getArrayOpsin interfaceHasArrayOps<T>
-
size
Description copied from interface:ReadableChannelSourceThe size; -1 if unknown- Specified by:
sizein interfaceReadableChannelSource<T>- Throws:
IOException
-