JieJing Cleaner v1.4.2版本的 MD5 值为:a574eea9fb07160f0bbb08ba0adf1c62

以下内容为反编译后的 h.java 源代码,内容仅作参考


package com.anythink.expressad.videocommon.b;

import android.text.TextUtils;
import com.anythink.expressad.foundation.g.o;
import com.anythink.expressad.foundation.g.w;
import com.anythink.expressad.videocommon.b.f;
import java.io.File;
public final class h {
    public static final int a = 259200000;
    public static final String b = "HTMLResourceManager";
    public String c;

    public static class a {
        public static h a = new h((byte) 0);
    }

    public h(byte b2) {
        this();
    }

    private void c() {
        this.c = com.anythink.expressad.foundation.f.c.c.b(com.anythink.expressad.foundation.f.c.a.ANYTHINK_700_HTML);
    }

    public final void b() {
        try {
            if (TextUtils.isEmpty(this.c)) {
                return;
            }
            f.a.a.a(new com.anythink.expressad.foundation.f.g.a() {
                @Override
                public final void a() {
                    com.anythink.expressad.foundation.g.l.c(h.this.c);
                }

                @Override
                public final void b() {
                }

                @Override
                public final void c() {
                }
            });
        } catch (Exception e) {
            if (com.anythink.expressad.a.a) {
                e.printStackTrace();
            }
        }
    }

    public h() {
        this.c = com.anythink.expressad.foundation.f.c.c.b(com.anythink.expressad.foundation.f.c.a.ANYTHINK_700_HTML);
    }

    public static h a() {
        return a.a;
    }

    public final boolean a(String str, byte[] bArr) {
        if (bArr != null) {
            try {
                if (bArr.length > 0) {
                    StringBuilder sb = new StringBuilder();
                    sb.append(this.c);
                    sb.append("/");
                    sb.append(o.a(w.a(str)));
                    sb.append(".html");
                    return com.anythink.expressad.foundation.g.l.a(bArr, new File(sb.toString()));
                }
                return false;
            } catch (Exception e) {
                if (com.anythink.expressad.a.a) {
                    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.c + "/" + a2 + ".html");
            if (file.exists()) {
                return com.anythink.expressad.foundation.g.l.a(file);
            }
            return null;
        } catch (Throwable th) {
            if (com.anythink.expressad.a.a) {
                th.printStackTrace();
                return null;
            }
            return null;
        }
    }

    public final String a(String str) {
        try {
            String str2 = this.c + "/" + 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.a) {
                th.printStackTrace();
                return null;
            }
            return null;
        }
    }
}