com.aelitis.azureus.core.helpers
Class TorrentFolderWatcher
java.lang.Object
com.aelitis.azureus.core.helpers.TorrentFolderWatcher
public class TorrentFolderWatcher
- extends Object
Watches a folder for new torrents and imports them.
NOTE: Folder-to-watch and other watching params are taken from a global
config option right now, so starting multiple instances of
TorrentFolderWatcher is useless as currently coded.
Method Summary |
void |
destroy()
Stop and terminate this folder importer watcher. |
void |
start()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
this_mon
protected final AEMonitor this_mon
TorrentFolderWatcher
public TorrentFolderWatcher(GlobalManager global_manager)
- Start a folder watcher, which will auto-import torrents via the given
manager.
- Parameters:
global_manager
-
start
public void start()
destroy
public void destroy()
- Stop and terminate this folder importer watcher.