code: public TorrentManager addTorrent(TorrentMetadataProvider metadataProvider, PieceStorage pieceStorage) throws IOException {
      return addTorrent(metadataProvider, pieceStorage, Collections.<TorrentListener>emptyList());
    }
docs: Adds torrent to storage with any storage and metadata source
  
  @param metadataProvider specified metadata source
  @param pieceStorage     specified storage of pieces
  @return {@link TorrentManager} instance for monitoring torrent state
  @throws IOException if IO error occurs in reading metadata file