mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-05-11 16:11:47 +08:00
类注释整理
This commit is contained in:
@@ -16,7 +16,7 @@ public interface CountryCode {
|
||||
|
||||
/**
|
||||
* 获取国家名称
|
||||
* @return
|
||||
* @return 国家名称
|
||||
*/
|
||||
String getName();
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ public enum DefaultCountryCode implements CountryCode{
|
||||
/**
|
||||
* 获取国家名称
|
||||
*
|
||||
* @return
|
||||
* @return 国家名称
|
||||
*/
|
||||
@Override
|
||||
public String getName() {
|
||||
|
||||
@@ -120,6 +120,7 @@ public class HttpConfigStorage {
|
||||
/**
|
||||
* 获取证书信息
|
||||
* @return 证书信息 根据 {@link #getCertStoreType()}进行区别地址与信息串
|
||||
* @throws IOException 找不到文件异常
|
||||
*/
|
||||
public InputStream getKeystoreInputStream() throws IOException {
|
||||
if (null == keystore) {
|
||||
|
||||
@@ -79,6 +79,7 @@ public class XML {
|
||||
* 解析xml并转化为Json值
|
||||
*
|
||||
* @param content json字符串
|
||||
* @param charset 字符编码
|
||||
* @return Json值
|
||||
*/
|
||||
public static JSONObject toJSONObject(String content, Charset charset) {
|
||||
@@ -264,6 +265,7 @@ public class XML {
|
||||
*
|
||||
* @param data Map类型数据
|
||||
* @param rootElementName 最外层节点名称
|
||||
* @param encoding 字符编码
|
||||
* @return XML格式的字符串
|
||||
*/
|
||||
public static String getMap2Xml(Map<String, Object> data, String rootElementName, String encoding) {
|
||||
@@ -312,7 +314,7 @@ public class XML {
|
||||
*
|
||||
* @param data Map类型数据
|
||||
* @param document 文档
|
||||
* @return XML格式的字符串
|
||||
* @param element 节点
|
||||
*/
|
||||
public static void map2Xml(Map<String, Object> data, Document document, org.w3c.dom.Element element) {
|
||||
for (Map.Entry<String, Object> entry : data.entrySet()) {
|
||||
|
||||
@@ -214,7 +214,6 @@ public class CertDescriptor {
|
||||
* @param keyPwd 证书密码
|
||||
* @param type 证书类型
|
||||
* @return 证书对象
|
||||
* @throws IOException
|
||||
*/
|
||||
public KeyStore getKeyInfo(InputStream fxKeyFile, String keyPwd, String type) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user