Class FileArea

    • Constructor Detail

      • FileArea

        public FileArea​(String path,
                        long position,
                        long count)
        Creates a file area.
        Parameters:
        path - the path to the file
        position - the starting position of the area
        count - the length of the area
    • Method Detail

      • getPath

        public String getPath()
        Returns:
        the path to the file
      • getPosition

        public long getPosition()
        Returns:
        the starting position of the area
      • getCount

        public long getCount()
        Returns:
        the length of the area
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object