You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
FONGMITV/thunder/src/main/java/com/xunlei/downloadlib/parameter/GetTaskId.java

39 lines
767 B

package com.xunlei.downloadlib.parameter;
import java.io.File;
public class GetTaskId {
public long mTaskId;
public File mSavePath;
public String mFileName;
public GetTaskId(File savePath) {
this.mSavePath = savePath;
}
public GetTaskId(File savePath, String fileName) {
this.mSavePath = savePath;
this.mFileName = fileName;
}
public long getTaskId() {
return this.mTaskId;
}
public File getSavePath() {
return mSavePath;
}
public String getFileName() {
return mFileName;
}
public void setFileName(String fileName) {
this.mFileName = fileName;
}
public File getSaveFile() {
return new File(getSavePath(), getFileName());
}
}