Interface TOTorrentFile

    • Method Detail

      • getIndex

        int getIndex()
      • getLength

        long getLength()
      • getPathComponents

        byte[][] getPathComponents()
      • getRelativePath

        java.lang.String getRelativePath()
        Build a relative path based on path components, using File.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()