net.sf.torrentsniffer.torrent
Class TorrentFile

java.lang.Object
  extended bynet.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

Constructor Summary
TorrentFile()
           
 
Method Summary
 int getLength()
           
 java.lang.String getMd5Sum()
           
 java.lang.String getPath()
           
 void setLength(int length)
           
 void setMd5Sum(java.lang.String md5Sum)
           
 void setPath(java.lang.String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TorrentFile

public TorrentFile()
Method Detail

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.