Package com.biglybt.core.torrent
Interface TOTorrentFile
-
- All Known Implementing Classes:
TOTorrentFileImpl
public interface TOTorrentFile
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map
getAdditionalProperties()
int
getFirstPieceNumber()
TOTorrentFileHashTree
getHashTree()
V2 torrents only - also null for zero length filesint
getIndex()
int
getLastPieceNumber()
long
getLength()
int
getNumberOfPieces()
byte[][]
getPathComponents()
java.lang.String
getRelativePath()
Build a relative path based on path components, usingFile.separator
byte[]
getRootHash()
TOTorrent
getTorrent()
boolean
isPadFile()
is BEP_47 pad file
-
-
-
Method Detail
-
getTorrent
TOTorrent getTorrent()
-
getIndex
int getIndex()
-
getLength
long getLength()
-
getPathComponents
byte[][] getPathComponents()
-
getRelativePath
java.lang.String getRelativePath()
Build a relative path based on path components, usingFile.separator
-
getFirstPieceNumber
int getFirstPieceNumber()
-
getLastPieceNumber
int getLastPieceNumber()
-
getNumberOfPieces
int getNumberOfPieces()
-
isPadFile
boolean isPadFile()
is BEP_47 pad file- Returns:
-
getHashTree
TOTorrentFileHashTree getHashTree()
V2 torrents only - also null for zero length files- Returns:
-
getRootHash
byte[] getRootHash()
-
getAdditionalProperties
java.util.Map getAdditionalProperties()
-
-