jimu-decompiled/sources/com/bumptech/glide/load/engine/DataCacheWriter.java
2025-05-13 19:24:51 +02:00

25 lines
721 B
Java

package com.bumptech.glide.load.engine;
import com.bumptech.glide.load.Encoder;
import com.bumptech.glide.load.Options;
import com.bumptech.glide.load.engine.cache.DiskCache;
import java.io.File;
/* loaded from: classes.dex */
class DataCacheWriter<DataType> implements DiskCache.Writer {
private final Encoder<DataType> a;
private final DataType b;
private final Options c;
DataCacheWriter(Encoder<DataType> encoder, DataType datatype, Options options) {
this.a = encoder;
this.b = datatype;
this.c = options;
}
@Override // com.bumptech.glide.load.engine.cache.DiskCache.Writer
public boolean a(File file) {
return this.a.a(this.b, file, this.c);
}
}