Interface Range

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getLength()
      Gets the number of bytes to retrieve starting at offset.
      long getOffset()
      Gets the position, in bytes, to start transferring the file data from.
    • Method Detail

      • getOffset

        long getOffset()
        Gets the position, in bytes, to start transferring the file data from. This defaults to zero (0) if not specified.
        Returns:
        The offset.
      • getLength

        long getLength()
        Gets the number of bytes to retrieve starting at offset. This defaults to the length of the file from offset to the end.
        Returns:
        The length.