Class PluginCoreUtils
java.lang.Object
com.biglybt.pifimpl.local.PluginCoreUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Objectstatic booleanstatic DiskManagerunwrap(DiskManager dm) static DiskManagerFileInfounwrap(DiskManagerFileInfo info) static DownloadManagerstatic NetworkConnectionunwrap(Connection connection) static PEPeerstatic PEPeerManagerunwrap(PeerManager pm) static TOTorrentstatic TRTrackerServerTorrentunwrap(TrackerTorrent torrent) static DownloadManagerstatic DiskManagerwrap(DiskManager dm) static DiskManagerFileInfowrap(DiskManagerFileInfo info) static Downloadwrap(DownloadManager dm) May return NULL if download not found (e.g.static Connectionwrap(NetworkConnection connection) static Peerstatic PeerManagerwrap(PEPeerManager pm) static Torrent
-
Constructor Details
-
PluginCoreUtils
public PluginCoreUtils()
-
-
Method Details
-
wrap
-
unwrap
-
wrap
-
unwrap
-
wrap
May return NULL if download not found (e.g. has been removed)- Parameters:
dm-- Returns:
- may be null
-
unwrap
-
wrap
-
wrap
- Throws:
DownloadException
-
unwrap
- Throws:
DownloadException
-
convert
-
unwrapIfPossible
-
unwrap
-
wrap
-
unwrap
-
unwrap
-
wrap
-
unwrap
-
isInitialisationComplete
public static boolean isInitialisationComplete()
-