FileDocCategorySizeDatePackage
PluginCoreUtils.javaAPI DocAzureus 3.0.3.42392Fri Apr 27 14:29:46 BST 2007org.gudy.azureus2.pluginsimpl.local

PluginCoreUtils

public class PluginCoreUtils extends Object

Fields Summary
Constructors Summary
Methods Summary
public static org.gudy.azureus2.core3.torrent.TOTorrentunwrap(org.gudy.azureus2.plugins.torrent.Torrent t)

		return(((TorrentImpl)t).getTorrent());
	
public static org.gudy.azureus2.core3.disk.DiskManagerunwrap(org.gudy.azureus2.plugins.disk.DiskManager dm)

		return(((DiskManagerImpl)dm).getDiskmanager());
	
public static org.gudy.azureus2.core3.download.DownloadManagerunwrap(org.gudy.azureus2.plugins.download.Download dm)

		return(((DownloadImpl)dm).getDownload());
	
public static org.gudy.azureus2.plugins.torrent.Torrentwrap(org.gudy.azureus2.core3.torrent.TOTorrent t)

		return( new TorrentImpl( t ));
	
public static org.gudy.azureus2.plugins.disk.DiskManagerwrap(org.gudy.azureus2.core3.disk.DiskManager dm)

		return( new DiskManagerImpl( dm ));
	
public static org.gudy.azureus2.plugins.download.Downloadwrap(org.gudy.azureus2.core3.download.DownloadManager dm)

		try{
			return( DownloadManagerImpl.getDownloadStatic( dm ));
			
		}catch( Throwable e ){
			
			Debug.printStackTrace( e );
			
			return( null );
		}