导航菜单

页面标题

页面副标题

Chaupal v3.2 - a.java 源代码

正在查看: Chaupal v3.2 应用的 a.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package zc;

import java.util.Properties;
import java.util.logging.Level;
import java.util.logging.Logger;

public final class a {
    public static String a = "v2";
    public static String b = "android";
    public static String c = "https://adv-analytics-collector-test.videograph.ai/analytics/v1/aggregation/aggregate";
    public static String d = "https://adv-analytics-collector.videograph.ai/analytics/v1/aggregation/aggregate";
    private static final Logger e = Logger.getLogger(a.class.getSimpleName());
    public static boolean f = false;
    private static final Properties g = e();

    private a() {
    }

    public static String a() {
        return g.getProperty("agent.auth.token");
    }

    public static String b() {
        return g.getProperty("agent.analytics.id");
    }

    public static String c() {
        return g.getProperty("http.default.method");
    }

    public static String d() {
        return g.getProperty("server.aggregation.point");
    }

    private static Properties e() {
        try {
            Properties properties = new Properties();
            if (!properties.isEmpty()) {
                properties.load(Thread.currentThread().getContextClassLoader().getResourceAsStream("config.properties"));
            }
            return properties;
        } catch (Throwable unused) {
            if (!f) {
                e.log(Level.SEVERE, "Could not load configuration from 'config.properties'");
            }
            return new Properties();
        }
    }

    public static void f(String str) {
        g.setProperty("agent.auth.token", str);
    }

    public static void g(String str) {
        g.setProperty("agent.analytics.id", str);
    }

    public static void h(String str) {
        g.setProperty("http.default.method", str);
    }

    public static void i(String str) {
        g.setProperty("server.aggregation.point", str);
    }
}