Methods Summary |
---|
public org.gudy.azureus2.plugins.disk.DiskManagerChannel | createChannel()
if ( core.getDownloadManager().getTorrent() == null ){
throw( new DownloadException( "Torrent invalid" ));
}
return( new DiskManagerChannelImpl( download, this ));
|
public int | getAccessMode()
return core.getAccessMode();
|
protected org.gudy.azureus2.core3.disk.DiskManagerFileInfo | getCore()
return( core );
|
public org.gudy.azureus2.plugins.download.Download | getDownload()
return DownloadManagerImpl.getDownloadStatic( core.getDownloadManager());
|
public long | getDownloaded()
return core.getDownloaded();
|
public java.io.File | getFile()
return core.getFile(false);
|
public int | getFirstPieceNumber()
return core.getFirstPieceNumber();
|
public int | getIndex()
return( core.getIndex());
|
public long | getLength()
return core.getLength();
|
public java.io.File | getLink()
return( core.getLink());
|
public int | getNumPieces()
return core.getNbPieces();
|
public boolean | isDeleted()
return( core.getStorageType() == org.gudy.azureus2.core3.disk.DiskManagerFileInfo.ST_COMPACT );
|
public boolean | isPriority()
return core.isPriority();
|
public boolean | isSkipped()
return core.isSkipped();
|
public void | setDeleted(boolean b)
if ( b ){
core.setStorageType( org.gudy.azureus2.core3.disk.DiskManagerFileInfo.ST_COMPACT );
}else{
core.setStorageType( org.gudy.azureus2.core3.disk.DiskManagerFileInfo.ST_LINEAR );
}
|
public void | setLink(java.io.File link_destination)
core.setLink( link_destination );
|
public void | setPriority(boolean b)
core.setPriority(b);
|
public void | setSkipped(boolean b)
core.setSkipped(b);
|