Class FileEntry
- java.lang.Object
-
- org.johnnei.javatorrent.torrent.fileset.FileEntry
-
public class FileEntry extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetFileName()longgetFirstByteOffset()longgetSize()inthashCode()StringtoString()
-
-
-
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.
-
-