/* */ package com.gkhy.exam.pay.utils.config; /* */ /* */ import java.io.File; import java.io.IOException; /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ @PropertiesConfig(fileName = "sdk.properties") /* */ public class SdkConfig /* */ { /* */ static { /* 20 */ loadSDKProperties(); /* */ } /* */ /* */ /* */ /* 25 */ public static final String tempPath = String.valueOf(System.getProperty("java.io.tmpdir")) + File.separator; /* */ /* */ /* */ public static int connectionRequestTimeOut; /* */ /* */ /* */ public static int connectionTimeout; /* */ /* */ /* */ public static int socketTimeOut; /* */ /* */ /* */ public static String logPath; /* */ /* */ /* */ public static String logMaxFileSize; /* */ /* */ /* */ public static String logTotalSizeCap; /* */ /* */ /* */ public static int logMaxHistory; /* */ /* */ public static boolean logAdditive = true; /* */ /* */ @PropertiesConfig(name = "appId") /* */ public static String appId; /* */ /* */ @PropertiesConfig(name = "remote.fsweb.service") /* */ public static String fsServiceUrl; /* */ /* */ @PropertiesConfig(name = "remote.fsweb.public") /* */ public static String fsPublicUrl; /* */ /* */ /* */ public static void loadSDKProperties() { /* */ try { /* 62 */ PropertiesUtil.loadData(new SdkConfig()); /* */ /* 64 */ logPath = StringUtil.appendMsg(new String[]{tempPath, logPath}); /* */ /* 66 */ fsPublicUrl = StringUtil.getUrl(fsPublicUrl); /* 67 */ fsServiceUrl = StringUtil.getUrl(fsServiceUrl); /* 68 */ } catch (IOException e) { /* 69 */ e.printStackTrace(); /* */ } /* */ } /* */ } /* Location: D:\jar\sign_util-1.0-SNAPSHOT.20240227.jar!\BOOT-INF\lib\SNAPSHOT-1.0.0.jar!\com\xjhys\edu\fee\sdk\config\SdkConfig.class * Java compiler version: 8 (52.0) * JD-Core Version: 1.1.3 */