net.sf.torrentsniffer.torrent
Class TorrentFile
java.lang.Object
net.sf.torrentsniffer.torrent.TorrentFile
- public class TorrentFile
- extends java.lang.Object
Represent a file in a Torrent. A torrent can contain one or more files.
- Author:
- Larry Williams
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TorrentFile
public TorrentFile()
getPath
public java.lang.String getPath()
- Returns:
- Returns the path.
setPath
public void setPath(java.lang.String path)
- Parameters:
path
- The path to set.
getMd5Sum
public java.lang.String getMd5Sum()
- Returns:
- Returns the md5Sum.
setMd5Sum
public void setMd5Sum(java.lang.String md5Sum)
- Parameters:
md5Sum
- The md5Sum to set.
getLength
public int getLength()
- Returns:
- Returns the length.
setLength
public void setLength(int length)
- Parameters:
length
- The length to set.
Copyright © 2004 Larry Williams. All Rights Reserved.