Package com.biglybt.pifimpl.local
Class PluginCoreUtils
java.lang.Object
com.biglybt.pifimpl.local.PluginCoreUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Object
static boolean
static DiskManager
unwrap
(DiskManager dm) static DiskManagerFileInfo
unwrap
(DiskManagerFileInfo info) static DownloadManager
static NetworkConnection
unwrap
(Connection connection) static PEPeer
static PEPeerManager
unwrap
(PeerManager pm) static TOTorrent
static TRTrackerServerTorrent
unwrap
(TrackerTorrent torrent) static DownloadManager
static DiskManager
wrap
(DiskManager dm) static DiskManagerFileInfo
wrap
(DiskManagerFileInfo info) static Download
wrap
(DownloadManager dm) May return NULL if download not found (e.g.static Connection
wrap
(NetworkConnection connection) static Peer
static PeerManager
wrap
(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()
-