public long startDownloadPosition;
/**
* 本线程时时下载结束的位置
*/
public long endDownloadPosition;
/**
* 本线程负责下载的文件大小
*/
public long downloadTotalSize;
/**
* 已经下载了的文件大小
*/
public long downloadedSize;
/**
* 本线程的下载状态
*/
public int downloadState;
public ThreadDownloadInfoBean() {
}
public ThreadDownloadInfoBean(int downloadState, long downloadedSize, long downloadTotalSize, long
endDownloadPosition, long startDownloadPosition, int threadID) {
this.downloadState = downloadState;
this.downloadedSize = downloadedSize;
this.downloadTotalSize = downloadTotalSize;
this.endDownloadPosition = endDownloadPosition;
this.startDownloadPosition = startDownloadPosition;
this.threadID = threadID;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public int getThreadID() {
return threadID;
}
public void setThreadID(int threadID) {
this.threadID = threadID;
}
public long getStartDownloadPosition() {
return startDownloadPosition;
}
public void setStartDownloadPosition(long startDownloadPosition) {
this.startDownloadPosition = startDownloadPosition;
}
public long getEndDownloadPosition() {
return endDownloadPosition;
}
public void setEndDownloadPosition(long endDownloadPosition) {
this.endDownloadPosition = endDownloadPosition;
}
public long getDownloadTotalSize() {
return downloadTotalSize;
}