Package alluxio.underfs
Class SeekableUnderFileInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- alluxio.underfs.SeekableUnderFileInputStream
-
- All Implemented Interfaces:
Positioned
,Seekable
,java.io.Closeable
,java.lang.AutoCloseable
public abstract class SeekableUnderFileInputStream extends java.io.FilterInputStream implements Seekable
A seekable under file input stream wrapper that encapsulates the under file input stream. Subclasses of this abstract class should implement theSeekable.seek(long)
and the reposition the wrapped input stream.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SeekableUnderFileInputStream(java.io.InputStream in)
-
Method Summary
-
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skip
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface alluxio.Positioned
getPos
-
-