Interface SeekableInput

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
FsInput, SeekableByteArrayInput, SeekableFileInput

public interface SeekableInput extends Closeable
An InputStream that supports seek and tell.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Return the length of the file.
    int
    read(byte[] b, int off, int len)
    void
    seek(long p)
    Set the position for the next read().
    long
    Return the position of the next read().

    Methods inherited from interface java.io.Closeable

    close