|
|||||||||
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 java.lang.String |
getFilterPathData()
|
static java.lang.String |
getFilterPathTorrent()
|
static boolean |
mergeFileIntoTorrentInfo(java.lang.String sFileName,
java.lang.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(java.lang.String torrentFile)
Open a torrent. |
static void |
openTorrent(java.lang.String torrentFile,
java.util.Map<java.lang.String,java.lang.Object> options)
|
protected static void |
openTorrentsForTracking(java.lang.String path,
java.lang.String[] fileNames)
|
static void |
openTorrentsFromStrings(TorrentOpenOptions optionsToClone,
org.eclipse.swt.widgets.Shell parent,
java.lang.String pathPrefix,
java.lang.String[] torrents,
java.lang.String referrer,
TorrentDownloaderCallBackInterface listener,
boolean forceTorrentOptionsWindow)
Adds torrents that are listed in torrents array. |
static void |
openTorrentSimple()
|
static void |
openTorrentTrackingOnly()
|
static java.lang.String |
setFilterPathData(java.lang.String path)
|
static java.lang.String |
setFilterPathTorrent(java.lang.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(java.lang.String torrentFile)
torrentFile
- Torrent to open (file, url, etc)public static void openTorrent(java.lang.String torrentFile, java.util.Map<java.lang.String,java.lang.Object> options)
protected static void openTorrentsForTracking(java.lang.String path, java.lang.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 java.lang.String getFilterPathData()
public static java.lang.String getFilterPathTorrent()
public static java.lang.String setFilterPathData(java.lang.String path)
public static java.lang.String setFilterPathTorrent(java.lang.String path)
public static boolean doesDropHaveTorrents(org.eclipse.swt.dnd.DropTargetEvent event)
public static final boolean addTorrent(TorrentOpenOptions torrentOptions)
torrentOptions
-
public static boolean mergeFileIntoTorrentInfo(java.lang.String sFileName, java.lang.String sOriginatingLocation, TorrentOpenOptions torrentOptions)
sFileName
- sOriginatingLocation
-
public static void openTorrentsFromStrings(TorrentOpenOptions optionsToClone, org.eclipse.swt.widgets.Shell parent, java.lang.String pathPrefix, java.lang.String[] torrents, java.lang.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 |