Class RandomAccessDataFile

    • Constructor Detail

    • Method Detail

      • getFile

        public File getFile()
        Returns the underlying File.
        the underlying file
      • read

        public byte[] read(long offset,
                           long length)
                    throws IOException
        Description copied from interface: RandomAccessData
        Reads the length bytes of data starting at the given offset.
        Specified by:
        read in interface RandomAccessData
        offset - the offset from which data should be read
        length - the number of bytes to be read
        the data
        IOException - if the data cannot be read
        EOFException - if offset plus length is greater than the length of the file or subsection