buttress.io
Class RunTorrent

java.lang.Object
  extended bybuttress.io.RunTorrent

public class RunTorrent
extends java.lang.Object


Constructor Summary
RunTorrent()
          Default constructor sets Strings to stupid values
RunTorrent(java.lang.String t)
          Constructor
RunTorrent(java.lang.String b, java.lang.String f, java.lang.String t)
          Constructor
 
Method Summary
 java.lang.String getTorrent()
          gets the torrent value
 void setTorrent(java.lang.String t)
          sets torrent value
 void startTorrent()
          Runs the torrent with the BT client passed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunTorrent

public RunTorrent()
Default constructor sets Strings to stupid values


RunTorrent

public RunTorrent(java.lang.String t)
Constructor

Parameters:
t - torrent

RunTorrent

public RunTorrent(java.lang.String b,
                  java.lang.String f,
                  java.lang.String t)
Constructor

Parameters:
b - btPath
f - butFolder
t - torrent file name
Method Detail

getTorrent

public java.lang.String getTorrent()
gets the torrent value

Returns:
torrent

setTorrent

public void setTorrent(java.lang.String t)
sets torrent value

Parameters:
t - torrent

startTorrent

public void startTorrent()
                  throws java.io.IOException
Runs the torrent with the BT client passed

Throws:
java.io.IOException