public static TrackedTorrent load ( File torrent ) throws IOException { TorrentMetadata torrentMetadata = new TorrentParser ( ) . parseFromFile ( torrent ) ; return new TrackedTorrent ( torrentMetadata . getInfoHash ( ) ) ; }
Load a tracked torrent from the given torrent file .