public static TorrentMetadata create(File source, List<List<URI>> announceList,
                                       String createdBy) throws InterruptedException, IOException {
    return create(source, null, null, announceList, createdBy);
  }
public static TorrentMetadata create ( File source , List < List < URI > > announceList , String createdBy ) throws InterruptedException , IOException { return create ( source , null , null , announceList , createdBy ) ; }
Create a {@link TorrentMetadata} object for a file.

<p>
Hash the given file to create the {@link TorrentMetadata} object representing
the Torrent metainfo about this file, needed for announcing and/or
sharing said file.
</p>

@param source       The file to use in the torrent.
@param announceList The announce URIs organized as tiers that will
be used for this torrent
@param createdBy    The creator's name, or any string identifying the
torrent's creator.