public class PendingDownload extends Object
Modifier and Type | Field and Description |
---|---|
protected File |
dowloadingFile |
protected float |
expectedLength |
protected DownloadPackage |
pkg |
protected PendingDownloadStatus |
status |
Constructor and Description |
---|
PendingDownload(DownloadPackage pkg) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
File |
getDowloadingFile() |
DownloadPackage |
getPkg() |
int |
getProgress() |
PendingDownloadStatus |
getStatus() |
int |
hashCode() |
void |
setFile(long expectedLength,
File dowloadingFile) |
void |
setStatus(PendingDownloadStatus status) |
String |
toString() |
protected final DownloadPackage pkg
protected PendingDownloadStatus status
protected float expectedLength
protected File dowloadingFile
public PendingDownload(DownloadPackage pkg)
public PendingDownloadStatus getStatus()
public void setStatus(PendingDownloadStatus status)
public DownloadPackage getPkg()
public int getProgress()
public File getDowloadingFile()
Copyright © 2015 Nuxeo SA. All rights reserved.