net.sf.torrentsniffer.torrent
Interface Torrent

All Known Implementing Classes:
TorrentImpl

public interface Torrent

Represents a Torrent file. Can be used for retrieving information about the Torrent file itself. All data in a Torrent file is bencoded.

Author:
Larry Williams

Method Summary
 java.lang.String getComment()
          Get the comment.
 java.lang.String getCreatedBy()
          Get the creator.
 java.util.Date getCreationDate()
          Get the creation date.
 TorrentInfo getInfo()
          Get the torrent info.
 Dictionary getRoot()
          Returns the Java version of the bencoded torrent.
 TorrentState getState()
          Retrieve the state of this torrent.
 Tracker getTracker()
          Get the tracker.
 

Method Detail

getTracker

public Tracker getTracker()
Get the tracker.

Returns:

getComment

public java.lang.String getComment()
Get the comment.

Returns:

getCreationDate

public java.util.Date getCreationDate()
Get the creation date.

Returns:

getCreatedBy

public java.lang.String getCreatedBy()
Get the creator.

Returns:

getInfo

public TorrentInfo getInfo()
Get the torrent info.

Returns:

getState

public TorrentState getState()
Retrieve the state of this torrent.

Returns:

getRoot

public Dictionary getRoot()
Returns the Java version of the bencoded torrent.

Returns:


Copyright © 2004 Larry Williams. All Rights Reserved.