类注释整理

This commit is contained in:
egan
2019-04-17 20:24:58 +08:00
parent 5e8c480c34
commit b9c6a82a37
23 changed files with 102 additions and 76 deletions

View File

@@ -16,7 +16,7 @@ public interface CountryCode {
/**
* 获取国家名称
* @return
* @return 国家名称
*/
String getName();
}

View File

@@ -38,7 +38,7 @@ public enum DefaultCountryCode implements CountryCode{
/**
* 获取国家名称
*
* @return
* @return 国家名称
*/
@Override
public String getName() {

View File

@@ -120,6 +120,7 @@ public class HttpConfigStorage {
/**
* 获取证书信息
* @return 证书信息 根据 {@link #getCertStoreType()}进行区别地址与信息串
* @throws IOException 找不到文件异常
*/
public InputStream getKeystoreInputStream() throws IOException {
if (null == keystore) {

View File

@@ -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()) {

View File

@@ -214,7 +214,6 @@ public class CertDescriptor {
* @param keyPwd 证书密码
* @param type 证书类型
* @return 证书对象
* @throws IOException
*/
public KeyStore getKeyInfo(InputStream fxKeyFile, String keyPwd, String type) {