what-the-bank/sources/o/AbstractC16647pwy.java

55 lines
1.4 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.res.AssetManager;
import java.io.IOException;
import o.InterfaceC12232euN;
/* renamed from: o.pwy, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC16647pwy<T> implements InterfaceC12232euN<T> {
private final AssetManager b;
private T d;
private final String e;
protected abstract T DJ_(AssetManager assetManager, String str) throws IOException;
@Override // o.InterfaceC12232euN
public final void a() {
}
protected abstract void b(T t) throws IOException;
public AbstractC16647pwy(AssetManager assetManager, String str) {
this.b = assetManager;
this.e = str;
}
@Override // o.InterfaceC12232euN
public final void c(EnumC3495ayd enumC3495ayd, InterfaceC12232euN.IeS<? super T> ieS) {
try {
T DJ_ = DJ_(this.b, this.e);
this.d = DJ_;
ieS.a((InterfaceC12232euN.IeS<? super T>) DJ_);
} catch (IOException e) {
ieS.a((Exception) e);
}
}
@Override // o.InterfaceC12232euN
public final void e() {
T t = this.d;
if (t == null) {
return;
}
try {
b(t);
} catch (IOException unused) {
}
}
@Override // o.InterfaceC12232euN
public final pNW d() {
return pNW.LOCAL;
}
}