buttress.torrent
Class TorrentInfo
java.lang.Object
buttress.torrent.TorrentInfo
- public class TorrentInfo
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
announcetag
public java.lang.String announcetag
filetag
public java.lang.String filetag
nametag
public java.lang.String nametag
piecelengthtag
public java.lang.String piecelengthtag
piecestag
public java.lang.String piecestag
trackerURL
public java.lang.String trackerURL
comments
public java.lang.String[] comments
singlefilelength
public long singlefilelength
fileAttribs
public TorrentSubFile[] fileAttribs
suggestedname
public java.lang.String suggestedname
piecelength
public long piecelength
piecehash
public java.lang.String[] piecehash
date
public long date
TorrentInfo
public TorrentInfo()
main
public static void main(java.lang.String[] args)
read
public void read(java.net.URL downloadUrl)
read
public void read(java.io.File file)
read
public boolean read(java.io.InputStreamReader ISR)
readInfoDictionary
public void readInfoDictionary(java.io.InputStreamReader ISR)
readInfoDictionary
public void readInfoDictionary(java.io.InputStreamReader ISR,
char firstchar)
print
public void print()
getTotalSzie
public long getTotalSzie()
getFileSize
public long getFileSize()