public class YzhConfig extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
YzhConfig.SignType |
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
YZH |
static String |
YZH_3DES_KEY |
static String |
YZH_APP_KEY |
static String |
YZH_BROKER_ID |
static String |
YZH_DEALER_ID |
static String |
YZH_IS_DEBUG |
static String |
YZH_PRE |
static String |
YZH_RSA_PRIVATE_KEY |
static String |
YZH_RSA_PUBLIC_KEY |
static String |
YZH_SIGN_TYPE |
static String |
YZH_URL |
| 构造器和说明 |
|---|
YzhConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getBrokerId() |
String |
getDealerId() |
YzhConfig.SignType |
getSignType() |
String |
getYzh3DesKey() |
String |
getYzhAppKey() |
String |
getYzhRsaPrivateKey() |
String |
getYzhRsaPublicKey() |
String |
getYzhUrl() |
boolean |
isDebug() |
static YzhConfig |
loadConfig(String fileName) |
static YzhConfig |
loadProperties(String fileName) |
static YzhConfig |
loadYaml(String fileName) |
void |
setBrokerId(String brokerId) |
void |
setDealerId(String dealerId) |
void |
setIsDebug(boolean isDebug) |
void |
setSignType(YzhConfig.SignType signType) |
void |
setYzh3DesKey(String yzh3DesKey) |
void |
setYzhAppKey(String yzhAppKey) |
void |
setYzhRsaPrivateKey(String yzhRsaPrivateKey) |
void |
setYzhRsaPublicKey(String yzhRsaPublicKey) |
void |
setYzhUrl(String yzhUrl) |
String |
toString() |
public static String YZH
public static String YZH_PRE
public static String YZH_URL
public static String YZH_SIGN_TYPE
public static String YZH_DEALER_ID
public static String YZH_BROKER_ID
public static String YZH_3DES_KEY
public static String YZH_APP_KEY
public static String YZH_RSA_PRIVATE_KEY
public static String YZH_RSA_PUBLIC_KEY
public static String YZH_IS_DEBUG
public static YzhConfig loadProperties(String fileName) throws Exception
Exceptionpublic boolean isDebug()
public void setIsDebug(boolean isDebug)
public String getYzhUrl()
public void setYzhUrl(String yzhUrl)
public YzhConfig.SignType getSignType()
public void setSignType(YzhConfig.SignType signType)
public String getYzh3DesKey()
public void setYzh3DesKey(String yzh3DesKey)
public String getYzhAppKey()
public void setYzhAppKey(String yzhAppKey)
public String getYzhRsaPublicKey()
public void setYzhRsaPublicKey(String yzhRsaPublicKey)
public String getYzhRsaPrivateKey()
public void setYzhRsaPrivateKey(String yzhRsaPrivateKey)
public String getDealerId()
public void setDealerId(String dealerId)
public String getBrokerId()
public void setBrokerId(String brokerId)
Copyright © 2025. All rights reserved.