Search in sources :

Example 1 with DiskManagerFileInfoImpl

use of com.biglybt.pifimpl.local.disk.DiskManagerFileInfoImpl in project BiglyBT by BiglySoftware.

the class DownloadImpl method getDiskManagerFileInfo.

@Override
public DiskManagerFileInfo[] getDiskManagerFileInfo() {
    com.biglybt.core.disk.DiskManagerFileInfo[] info = download_manager.getDiskManagerFileInfo();
    if (info == null) {
        return (new DiskManagerFileInfo[0]);
    }
    DiskManagerFileInfo[] res = new DiskManagerFileInfo[info.length];
    for (int i = 0; i < res.length; i++) {
        res[i] = new DiskManagerFileInfoImpl(this, info[i]);
    }
    return (res);
}
Also used : DiskManagerFileInfo(com.biglybt.pif.disk.DiskManagerFileInfo) DiskManagerFileInfoImpl(com.biglybt.pifimpl.local.disk.DiskManagerFileInfoImpl)

Aggregations

DiskManagerFileInfo (com.biglybt.pif.disk.DiskManagerFileInfo)1 DiskManagerFileInfoImpl (com.biglybt.pifimpl.local.disk.DiskManagerFileInfoImpl)1