Class FileEntry


  • public class FileEntry
    extends Object
    • Constructor Detail

      • FileEntry

        public FileEntry​(String fileName,
                         long filesize,
                         long firstByteOffset)
    • Method Detail

      • getSize

        public long getSize()
        Returns:
        The size of this file.
      • getFirstByteOffset

        public long getFirstByteOffset()
        Returns:
        The offset of the first byte as if the entire torrent is a single file
      • getFileName

        public String getFileName()
        Returns:
        The name of this file.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object