37 lines
1.0 KiB
Java
37 lines
1.0 KiB
Java
package com.baidu.cloud.videocache;
|
|
|
|
import android.content.Context;
|
|
import com.baidu.cloud.videocache.file.DiskUsage;
|
|
import com.baidu.cloud.videocache.file.FileNameGenerator;
|
|
import com.baidu.cloud.videocache.headers.HeaderInjector;
|
|
import com.baidu.cloud.videocache.sourcestorage.SourceInfoStorage;
|
|
import java.io.File;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class i {
|
|
private File a;
|
|
private SourceInfoStorage d;
|
|
private DiskUsage c = new com.baidu.cloud.videocache.file.g(536870912);
|
|
private FileNameGenerator b = new com.baidu.cloud.videocache.file.h();
|
|
private HeaderInjector e = new com.baidu.cloud.videocache.headers.a();
|
|
|
|
public i(Context context) {
|
|
this.d = com.baidu.cloud.videocache.sourcestorage.c.a(context);
|
|
this.a = ab.a(context);
|
|
}
|
|
|
|
private a b() {
|
|
return new a(this.a, this.b, this.c, this.d, this.e);
|
|
}
|
|
|
|
public g a() {
|
|
return new g(b());
|
|
}
|
|
|
|
public i a(File file) {
|
|
t.a(file);
|
|
this.a = file;
|
|
return this;
|
|
}
|
|
}
|