Package com.torrent4j.model.metadata

Examples of com.torrent4j.model.metadata.TorrentMetadata


   * @throws IOException
   *             if any error occur while reading the torrent file
   */
  public static Torrent load(InputStream in) throws IOException {
    final Object node = new BDecoder(in).readElement();
    final TorrentMetadata metadata = new TorrentMetadata((BMap) node);
    return new Torrent(metadata);
  }
View Full Code Here

TOP

Related Classes of com.torrent4j.model.metadata.TorrentMetadata

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.