Interface Source

All Known Implementing Classes:
InputStreamSource

public interface Source
Work in progress. Class to describe a seekable data source.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final long
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    long
     
    int
    read(byte[] b, int offs, int len)
     
    long
    seek(long pos)
     
    long
     
    boolean
     
  • Field Details

  • Method Details

    • read

      int read(byte[] b, int offs, int len) throws IOException
      Throws:
      IOException
    • willReadBlock

      boolean willReadBlock()
    • isSeekable

      boolean isSeekable()
    • length

      long length()
    • tell

      long tell()
    • seek

      long seek(long pos)