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 implements InterfaceC12232euN { 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 ieS) { try { T DJ_ = DJ_(this.b, this.e); this.d = DJ_; ieS.a((InterfaceC12232euN.IeS) 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; } }