Skip navigation links
A B C D F G I J M P R S T V W X 

A

ApiResponse - Class in com.darrenfang.commons.vo
API 响应
ApiResponse(Object) - Constructor for class com.darrenfang.commons.vo.ApiResponse
创建默认的 API 响应, 业务代码为 200, 信息为空字符串
ApiResponse(int, String, Object) - Constructor for class com.darrenfang.commons.vo.ApiResponse
使用指定的业务代码和信息创建 API 响应

B

Base64 - Class in com.darrenfang.commons.utils
base64 编码工具类
Base64() - Constructor for class com.darrenfang.commons.utils.Base64
 
BusinessException - Exception in com.darrenfang.commons.exception
业务异常
BusinessException() - Constructor for exception com.darrenfang.commons.exception.BusinessException
Constructs a new runtime exception with null as its detail message.
BusinessException(String) - Constructor for exception com.darrenfang.commons.exception.BusinessException
Constructs a new runtime exception with the specified detail message.
BusinessException(String, Throwable) - Constructor for exception com.darrenfang.commons.exception.BusinessException
Constructs a new runtime exception with the specified detail message and cause.
BusinessException(Throwable) - Constructor for exception com.darrenfang.commons.exception.BusinessException
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

C

com.darrenfang.commons.exception - package com.darrenfang.commons.exception
 
com.darrenfang.commons.idcard - package com.darrenfang.commons.idcard
 
com.darrenfang.commons.json - package com.darrenfang.commons.json
 
com.darrenfang.commons.mobile - package com.darrenfang.commons.mobile
 
com.darrenfang.commons.utils - package com.darrenfang.commons.utils
 
com.darrenfang.commons.vo - package com.darrenfang.commons.vo
 
com.darrenfang.commons.xml - package com.darrenfang.commons.xml
 

D

DateTime - Class in com.darrenfang.commons.utils
时间工具类
DateTime() - Constructor for class com.darrenfang.commons.utils.DateTime
 
deserialize(String, Class<? extends T>) - Method in class com.darrenfang.commons.xml.XmlSerializer
反序列化, 将 XML 还原为对象

F

from(LocalDateTime) - Static method in class com.darrenfang.commons.utils.DateTime
将 LocalDateTime 转换为 Date
from(Date) - Static method in class com.darrenfang.commons.utils.DateTime
将 Date 转换为 LocalDateTime

G

getBirthday() - Method in class com.darrenfang.commons.idcard.IdCard
获取出生日期
getCard() - Method in class com.darrenfang.commons.idcard.IdCard
获取身份证号码
getMessage() - Method in class com.darrenfang.commons.vo.ApiResponse
获取信息
getName() - Method in enum com.darrenfang.commons.mobile.MobileType
获取运营商名称
getResult() - Method in class com.darrenfang.commons.vo.ApiResponse
获取调用结果
getSerializer() - Method in class com.darrenfang.commons.xml.XmlSerializer
返回 XML 序列化器, 提供更高级的功能
getStatus() - Method in class com.darrenfang.commons.vo.ApiResponse
获取业务代码
getTimestamp() - Method in class com.darrenfang.commons.vo.ApiResponse
获取时间戳

I

IdCard - Class in com.darrenfang.commons.idcard
身份证信息
IdCardParseException - Exception in com.darrenfang.commons.idcard
身份证号码解析异常
IdCardParseException() - Constructor for exception com.darrenfang.commons.idcard.IdCardParseException
Constructs a new runtime exception with null as its detail message.
IdCardParseException(String) - Constructor for exception com.darrenfang.commons.idcard.IdCardParseException
Constructs a new runtime exception with the specified detail message.
IdCardParseException(String, Throwable) - Constructor for exception com.darrenfang.commons.idcard.IdCardParseException
Constructs a new runtime exception with the specified detail message and cause.
IdCardParseException(Throwable) - Constructor for exception com.darrenfang.commons.idcard.IdCardParseException
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
isMale() - Method in class com.darrenfang.commons.idcard.IdCard
是否男性
isMobile(String) - Static method in class com.darrenfang.commons.mobile.Mobile
判断手机号码格式是否正确

J

JsonParseException - Exception in com.darrenfang.commons.json
Json 解析异常
JsonParseException() - Constructor for exception com.darrenfang.commons.json.JsonParseException
Constructs a new runtime exception with null as its detail message.
JsonParseException(String) - Constructor for exception com.darrenfang.commons.json.JsonParseException
Constructs a new runtime exception with the specified detail message.
JsonParseException(String, Throwable) - Constructor for exception com.darrenfang.commons.json.JsonParseException
Constructs a new runtime exception with the specified detail message and cause.
JsonParseException(Throwable) - Constructor for exception com.darrenfang.commons.json.JsonParseException
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
JsonUtil - Class in com.darrenfang.commons.json
Json 工具类

M

MD5 - Class in com.darrenfang.commons.utils
MD5 工具类
MD5() - Constructor for class com.darrenfang.commons.utils.MD5
 
Mobile - Class in com.darrenfang.commons.mobile
手机号码工具类
Mobile() - Constructor for class com.darrenfang.commons.mobile.Mobile
 
MobileType - Enum in com.darrenfang.commons.mobile
手机号码运营商类别

P

parse(String) - Static method in class com.darrenfang.commons.idcard.IdCard
解析身份证信息
parse(String) - Static method in class com.darrenfang.commons.mobile.Mobile
从字符串中获取所有的手机号码
parseBytes(String) - Static method in class com.darrenfang.commons.utils.Base64
base64 解码为字节数组
parseString(String) - Static method in class com.darrenfang.commons.utils.Base64
base64 解码

R

read(String) - Method in class com.darrenfang.commons.xml.XmlDateFormatTransformer
将字符串解析为日期
RecordDuplicateException - Exception in com.darrenfang.commons.exception
记录重复异常
RecordDuplicateException() - Constructor for exception com.darrenfang.commons.exception.RecordDuplicateException
Constructor for DuplicateKeyException.
RecordDuplicateException(String) - Constructor for exception com.darrenfang.commons.exception.RecordDuplicateException
Constructor for DuplicateKeyException.
RecordDuplicateException(String, Throwable) - Constructor for exception com.darrenfang.commons.exception.RecordDuplicateException
Constructor for DuplicateKeyException.
RecordNotFoundException - Exception in com.darrenfang.commons.exception
记录不存在异常
RecordNotFoundException() - Constructor for exception com.darrenfang.commons.exception.RecordNotFoundException
Constructor for IncorrectResultSizeDataAccessException.
RecordNotFoundException(String) - Constructor for exception com.darrenfang.commons.exception.RecordNotFoundException
Constructor for IncorrectResultSizeDataAccessException.
RecordNotFoundException(String, Throwable) - Constructor for exception com.darrenfang.commons.exception.RecordNotFoundException
Constructor for IncorrectResultSizeDataAccessException.
RecordNotFoundException(int) - Constructor for exception com.darrenfang.commons.exception.RecordNotFoundException
Constructor for IncorrectResultSizeDataAccessException.
RecordNotFoundException(int, int) - Constructor for exception com.darrenfang.commons.exception.RecordNotFoundException
Constructor for IncorrectResultSizeDataAccessException.
RecordNotFoundException(String, int) - Constructor for exception com.darrenfang.commons.exception.RecordNotFoundException
Constructor for IncorrectResultSizeDataAccessException.
RecordNotFoundException(String, int, Throwable) - Constructor for exception com.darrenfang.commons.exception.RecordNotFoundException
Constructor for IncorrectResultSizeDataAccessException.
RecordNotFoundException(String, int, int) - Constructor for exception com.darrenfang.commons.exception.RecordNotFoundException
Constructor for IncorrectResultSizeDataAccessException.
RecordNotFoundException(String, int, int, Throwable) - Constructor for exception com.darrenfang.commons.exception.RecordNotFoundException
Constructor for IncorrectResultSizeDataAccessException.

S

serialize(Object) - Method in class com.darrenfang.commons.xml.XmlSerializer
序列化一个对象为 XML
SHA - Class in com.darrenfang.commons.utils
SHA 算法工具类
SHA() - Constructor for class com.darrenfang.commons.utils.SHA
 

T

toJsonString(Object) - Static method in class com.darrenfang.commons.json.JsonUtil
将对象转换为 Json
toLowerCase(String) - Static method in class com.darrenfang.commons.utils.MD5
将字符串转换为 MD5 小写字符串
toObject(String, Class<T>) - Static method in class com.darrenfang.commons.json.JsonUtil
将 Json 字符串转换为对象
toSHA1(String) - Static method in class com.darrenfang.commons.utils.SHA
转换为 SHA-1 字符串
toSHA224(String) - Static method in class com.darrenfang.commons.utils.SHA
转换为 SHA-224 字符串
toSHA256(String) - Static method in class com.darrenfang.commons.utils.SHA
转换为 SHA-256 字符串
toSHA384(String) - Static method in class com.darrenfang.commons.utils.SHA
转换为 SHA-384 字符串
toSHA512(String) - Static method in class com.darrenfang.commons.utils.SHA
转换为 SHA-512 字符串
toString(String) - Static method in class com.darrenfang.commons.utils.Base64
base64 编码
toUpperCase(String) - Static method in class com.darrenfang.commons.utils.MD5
将字符串转换为 MD5 大写字符串
typeOf(String) - Static method in class com.darrenfang.commons.mobile.Mobile
获取手机号码运营商类型

V

valueOf(String) - Static method in enum com.darrenfang.commons.mobile.MobileType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.darrenfang.commons.mobile.MobileType
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(Date) - Method in class com.darrenfang.commons.xml.XmlDateFormatTransformer
将日期格式化为字符串

X

XmlDateFormatTransformer - Class in com.darrenfang.commons.xml
XML 日期转换
XmlDateFormatTransformer(DateFormat) - Constructor for class com.darrenfang.commons.xml.XmlDateFormatTransformer
使用指定日期格式创建转换器
XmlParseException - Exception in com.darrenfang.commons.xml
XML 解析异常
XmlParseException() - Constructor for exception com.darrenfang.commons.xml.XmlParseException
Constructs a new runtime exception with null as its detail message.
XmlParseException(String) - Constructor for exception com.darrenfang.commons.xml.XmlParseException
Constructs a new runtime exception with the specified detail message.
XmlParseException(String, Throwable) - Constructor for exception com.darrenfang.commons.xml.XmlParseException
Constructs a new runtime exception with the specified detail message and cause.
XmlParseException(Throwable) - Constructor for exception com.darrenfang.commons.xml.XmlParseException
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
XmlSerializer - Class in com.darrenfang.commons.xml
XML 序列化器, 提供序列化和反序列化功能
XmlSerializer() - Constructor for class com.darrenfang.commons.xml.XmlSerializer
使用默认的日期格式(yyyy-MM-dd HH:mm:ss)创建序列化器
XmlSerializer(String) - Constructor for class com.darrenfang.commons.xml.XmlSerializer
使用指定的日期格式创建序列化器
A B C D F G I J M P R S T V W X 
Skip navigation links

Copyright © 2017. All rights reserved.