jimu-decompiled/sources/com/baidu/license/download/DownloadRequest.java
2025-05-13 19:24:51 +02:00

50 lines
1.1 KiB
Java

package com.baidu.license.download;
import android.text.TextUtils;
import com.baidu.license.download.utils.FileUtils;
import java.io.File;
/* loaded from: classes.dex */
public class DownloadRequest {
private String a;
private File b;
private CharSequence c;
public static class Builder {
private String a;
private File b;
private CharSequence c;
private CharSequence d;
public Builder a(String str) {
this.a = str;
return this;
}
public DownloadRequest a() {
return new DownloadRequest(this.a, this.b, this.c, this.d);
}
}
public File a() {
return this.b;
}
public CharSequence b() {
if (TextUtils.isEmpty(this.c)) {
this.c = FileUtils.a(c());
}
return this.c;
}
public String c() {
return this.a;
}
private DownloadRequest(String str, File file, CharSequence charSequence, CharSequence charSequence2) {
this.a = str;
this.b = file;
this.c = charSequence;
}
}