笔 趣 阁 破 解 版2023 v4.18.00版本的 MD5 值为:35c48a89f5572ff5a659afd7c5a81cad
以下内容为反编译后的 h.java 源代码,内容仅作参考
package com.anythink.expressad.videocommon.b;
import android.text.TextUtils;
import com.anythink.expressad.foundation.h.o;
import com.anythink.expressad.foundation.h.w;
import com.anythink.expressad.videocommon.b.f;
import java.io.File;
public final class h {
public static final int f6558a = 259200000;
public static final String f6559b = "HTMLResourceManager";
public String f6560c;
public static class a {
public static h f6562a = new h((byte) 0);
}
public h(byte b2) {
this();
}
private void c() {
this.f6560c = com.anythink.expressad.foundation.g.c.d.b(com.anythink.expressad.foundation.g.c.a.ANYTHINK_700_HTML);
}
public final void b() {
try {
if (TextUtils.isEmpty(this.f6560c)) {
return;
}
f.a.f6551a.a(new com.anythink.expressad.foundation.g.g.a() {
@Override
public final void a() {
com.anythink.expressad.foundation.h.l.c(h.this.f6560c);
}
@Override
public final void b() {
}
@Override
public final void c() {
}
});
} catch (Exception e) {
if (com.anythink.expressad.a.f4663a) {
e.printStackTrace();
}
}
}
public h() {
this.f6560c = com.anythink.expressad.foundation.g.c.d.b(com.anythink.expressad.foundation.g.c.a.ANYTHINK_700_HTML);
}
public static h a() {
return a.f6562a;
}
public final boolean a(String str, byte[] bArr) {
if (bArr != null) {
try {
if (bArr.length > 0) {
StringBuilder sb = new StringBuilder();
sb.append(this.f6560c);
sb.append("/");
sb.append(o.a(w.a(str)));
sb.append(".html");
return com.anythink.expressad.foundation.h.l.a(bArr, new File(sb.toString()));
}
return false;
} catch (Exception e) {
if (com.anythink.expressad.a.f4663a) {
e.printStackTrace();
return false;
}
return false;
}
}
return false;
}
public final String b(String str) {
try {
String a2 = o.a(w.a(str));
File file = new File(this.f6560c + "/" + a2 + ".html");
if (file.exists()) {
return com.anythink.expressad.foundation.h.l.a(file);
}
return null;
} catch (Throwable th) {
if (com.anythink.expressad.a.f4663a) {
th.printStackTrace();
return null;
}
return null;
}
}
public final String a(String str) {
try {
String str2 = this.f6560c + "/" + o.a(w.a(str)) + ".html";
if (new File(str2).exists()) {
return "file:////".concat(String.valueOf(str2));
}
return null;
} catch (Throwable th) {
if (com.anythink.expressad.a.f4663a) {
th.printStackTrace();
return null;
}
return null;
}
}
}