|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gudy.azureus2.ui.swt.mainwindow.TorrentOpener
public class TorrentOpener
Bunch of Torrent Opening functions.
Constructor Summary | |
---|---|
TorrentOpener()
|
Method Summary | |
---|---|
static boolean |
addTorrent(TorrentOpenOptions torrentOptions)
|
static boolean |
doesDropHaveTorrents(org.eclipse.swt.dnd.DropTargetEvent event)
|
static String |
getFilterPathData()
|
static String |
getFilterPathTorrent()
|
static boolean |
mergeFileIntoTorrentInfo(String sFileName,
String sOriginatingLocation,
TorrentOpenOptions torrentOptions)
Creates a TorrentInfo from a file. |
static void |
openDroppedTorrents(org.eclipse.swt.dnd.DropTargetEvent event,
boolean deprecated_sharing_param)
|
static void |
openTorrent(String torrentFile)
Open a torrent. |
static void |
openTorrent(String torrentFile,
Map<String,Object> options)
|
protected static void |
openTorrentsForTracking(String path,
String[] fileNames)
|
static void |
openTorrentsFromStrings(TorrentOpenOptions optionsToClone,
org.eclipse.swt.widgets.Shell parent,
String pathPrefix,
String[] torrents,
String referrer,
TorrentDownloaderCallBackInterface listener,
boolean forceTorrentOptionsWindow)
Adds torrents that are listed in torrents array. |
static void |
openTorrentSimple()
|
static void |
openTorrentTrackingOnly()
|
static String |
setFilterPathData(String path)
|
static String |
setFilterPathTorrent(String path)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TorrentOpener()
Method Detail |
---|
public static void openTorrent(String torrentFile)
torrentFile
- Torrent to open (file, url, etc)public static void openTorrent(String torrentFile, Map<String,Object> options)
protected static void openTorrentsForTracking(String path, String[] fileNames)
public static void openTorrentTrackingOnly()
public static void openTorrentSimple()
public static void openDroppedTorrents(org.eclipse.swt.dnd.DropTargetEvent event, boolean deprecated_sharing_param)
public static String getFilterPathData()
public static String getFilterPathTorrent()
public static String setFilterPathData(String path)
public static String setFilterPathTorrent(String path)
public static boolean doesDropHaveTorrents(org.eclipse.swt.dnd.DropTargetEvent event)
public static final boolean addTorrent(TorrentOpenOptions torrentOptions)
torrentOptions
-
public static boolean mergeFileIntoTorrentInfo(String sFileName, String sOriginatingLocation, TorrentOpenOptions torrentOptions)
sFileName
- sOriginatingLocation
-
public static void openTorrentsFromStrings(TorrentOpenOptions optionsToClone, org.eclipse.swt.widgets.Shell parent, String pathPrefix, String[] torrents, String referrer, TorrentDownloaderCallBackInterface listener, boolean forceTorrentOptionsWindow)
will open url download dialog, or warning dialogs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |