Class SeekableSourceOverDataStreamSource
java.lang.Object
org.aksw.commons.io.seekable.impl.SeekableSourceOverDataStreamSource
- All Implemented Interfaces:
SeekableSource
@Deprecated
public class SeekableSourceOverDataStreamSource
extends Object
implements SeekableSource
Deprecated.
Seekable abstraction over a DataStreamSource.
Deprecated because this type of wrapping is too inefficient.
Instead first wrap with DataStreamSource with a PageManager and then
use a PageNavigator on top of that.
- Author:
- raven
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected longDeprecated.protected ReadableChannelSource<byte[]> Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionSeekableSourceOverDataStreamSource(ReadableChannelSource<byte[]> source, long maxSeekByReadLength) Deprecated. -
Method Summary
-
Field Details
-
source
Deprecated. -
maxSeekByReadLength
protected long maxSeekByReadLengthDeprecated.
-
-
Constructor Details
-
SeekableSourceOverDataStreamSource
public SeekableSourceOverDataStreamSource(ReadableChannelSource<byte[]> source, long maxSeekByReadLength) Deprecated.
-
-
Method Details
-
supportsAbsolutePosition
public boolean supportsAbsolutePosition()Deprecated.Description copied from interface:SeekableSourceTrue if Seekables obtained by the source support absolution positions- Specified by:
supportsAbsolutePositionin interfaceSeekableSource- Returns:
-
get
Deprecated.- Specified by:
getin interfaceSeekableSource- Throws:
IOException
-
size
Deprecated.- Specified by:
sizein interfaceSeekableSource- Throws:
IOException
-