A B C D E F G H I J L M N O P R S T U V W X 
所有类 所有程序包

A

addAll(T[]...) - 类 中的静态方法com.ajaxjs.util.CollUtils
将多个数组合并在一起 忽略 null 的数组
AES_decode(String, String) - 类 中的方法com.ajaxjs.util.cryptography.AesCrypto
对使用 AES 加密算法的密文进行解密
AES_encode(String, String) - 类 中的方法com.ajaxjs.util.cryptography.AesCrypto
使用A ES 加密算法经行加密(可逆)
AesCrypto - com.ajaxjs.util.cryptography中的类
AES/DES/3DES/PBE 对称加密/解密 ...
aesDecryptPhone(String, String, String) - 类 中的静态方法com.ajaxjs.util.cryptography.WeiXinCrypto
解密小程序提供的加密数据,返回包含手机号码等信息的 JSON 对象
aesDecryptToString(byte[], byte[], byte[], String) - 类 中的静态方法com.ajaxjs.util.cryptography.WeiXinCrypto
AEAD_AES_256_GCM 解密
args2class(Object[]) - 类 中的静态方法com.ajaxjs.util.reflect.Clazz
把参数转换为类对象列表 这个 Java 函数将一个可变参数列表转换为一个类对象列表。
arrayList(E...) - 类 中的静态方法com.ajaxjs.util.CollUtils
数组转换为 List

B

BASE16 - com.ajaxjs.util.cryptography.SecurityTextType.Encode
 
BASE32 - com.ajaxjs.util.cryptography.SecurityTextType.Encode
 
BASE58 - com.ajaxjs.util.cryptography.SecurityTextType.Encode
 
BASE64 - com.ajaxjs.util.cryptography.SecurityTextType.Encode
 
base64Decode(String) - 类 中的静态方法com.ajaxjs.util.EncodeTools
BASE64 解码
base64Decoder(byte[]) - 类 中的静态方法com.ajaxjs.util.EncodeTools
BASE64 解码 这是核心解码方法,无关编码
base64DecodeToString(String) - 类 中的静态方法com.ajaxjs.util.EncodeTools
BASE64 解码
base64DecodeToStringUtf8(byte[]) - 类 中的静态方法com.ajaxjs.util.EncodeTools
BASE64 解码
base64DecodeToStringUtf8(String) - 类 中的静态方法com.ajaxjs.util.EncodeTools
BASE64 解码
base64Encode(byte[]) - 类 中的静态方法com.ajaxjs.util.EncodeTools
BASE64 编码 这是核心编码方法,无关编码
base64EncodeToString(byte[]) - 类 中的静态方法com.ajaxjs.util.EncodeTools
BASE64 编码
base64EncodeToString(String) - 类 中的静态方法com.ajaxjs.util.EncodeTools
BASE64 编码
base64EncodeToStringUtf8(byte[]) - 类 中的静态方法com.ajaxjs.util.EncodeTools
BASE64 编码
base64EncodeToStringUtf8(String) - 类 中的静态方法com.ajaxjs.util.EncodeTools
BASE64 编码
BASE91 - com.ajaxjs.util.cryptography.SecurityTextType.Encode
 
basicCast(Object, Class<T>) - 类 中的静态方法com.ajaxjs.util.ConvertBasicValue
安全地将对象转换为指定的类类型。
basicConvert(Object, Class<?>) - 类 中的静态方法com.ajaxjs.util.ConvertBasicValue
根据送入的类型作适当转换
BUFFER_SIZE - 类 中的静态变量com.ajaxjs.util.io.StreamHelper
1K 的数据块
byte2String(byte[]) - 类 中的静态方法com.ajaxjs.util.StrUtil
字节转编码为 字符串( UTF-8 编码)
byte2String(String) - 类 中的静态方法com.ajaxjs.util.StrUtil
字符串转为 UTF-8 编码的字符串
byteIndexOf(byte[], byte[]) - 类 中的静态方法com.ajaxjs.util.BytesHelper
在字节数组里查找某个字节数组,找到返回 <=0,未找到返回 -1
byteIndexOf(byte[], byte[], int) - 类 中的静态方法com.ajaxjs.util.BytesHelper
在字节数组里查找某个字节数组,找到返回<=0,未找到返回-1
bytes2output(OutputStream, byte[], boolean, int, int) - 类 中的静态方法com.ajaxjs.util.io.StreamHelper
送入的 byte[] 转换为输出流。
bytes2output(OutputStream, byte[], int, int) - 类 中的静态方法com.ajaxjs.util.io.StreamHelper
送入的 byte[] 转换为输出流。
BytesHelper - com.ajaxjs.util中的类
字节数组工具类
BytesHelper() - 类 的构造器com.ajaxjs.util.BytesHelper
 
bytesToHexStr(byte[]) - 类 中的静态方法com.ajaxjs.util.BytesHelper
byte[] 转化为 16 进制字符串输出

C

calcFileMD5(File, byte[]) - 类 中的静态方法com.ajaxjs.util.MessageDigestHelper
计算文件 MD5
charCount(String, String) - 类 中的静态方法com.ajaxjs.util.StrUtil
统计文本中某个字符串出现的次数
charToByte(char[]) - 类 中的静态方法com.ajaxjs.util.BytesHelper
char 数组转 byte 数组 将 char 数组转换为 byte 数组需要考虑编码方式的问题 ...
Clazz - com.ajaxjs.util.reflect中的类
类相关的反射
Clazz() - 类 的构造器com.ajaxjs.util.reflect.Clazz
 
clone(T) - 类 中的静态方法com.ajaxjs.util.ObjectHelper
对象深度克隆
CollUtils - com.ajaxjs.util中的类
集合工具类
CollUtils() - 类 的构造器com.ajaxjs.util.CollUtils
 
com.ajaxjs.util - 程序包 com.ajaxjs.util
 
com.ajaxjs.util.cryptography - 程序包 com.ajaxjs.util.cryptography
加密解密
com.ajaxjs.util.enums - 程序包 com.ajaxjs.util.enums
 
com.ajaxjs.util.io - 程序包 com.ajaxjs.util.io
 
com.ajaxjs.util.reflect - 程序包 com.ajaxjs.util.reflect
 
CommonUtil - com.ajaxjs.util.cryptography中的类
 
CommonUtil() - 类 的构造器com.ajaxjs.util.cryptography.CommonUtil
 
concat(byte[], byte[]) - 类 中的静态方法com.ajaxjs.util.BytesHelper
合并两个字节数组
concat(T[], T[]) - 类 中的静态方法com.ajaxjs.util.CollUtils
合并两个数组
concatUrl(String, String) - 类 中的静态方法com.ajaxjs.util.StrUtil
连接两个 url 目录字符串,如果没有 / 则加上;如果有则去掉一个
ConvertBasicValue - com.ajaxjs.util中的类
尝试转换目标类型,注意并不是所有的类型都可以进行转换
ConvertBasicValue() - 类 的构造器com.ajaxjs.util.ConvertBasicValue
 
copyFileOrDirectory(String, String) - 类 中的静态方法com.ajaxjs.util.io.FileHelper
复制文件或目录。
copyToString(InputStream) - 类 中的静态方法com.ajaxjs.util.io.StreamHelper
读输入的字节流转换到字符流,将其转换为文本(多行)的字节流转换为字符串
copyToString(InputStream, Charset) - 类 中的静态方法com.ajaxjs.util.io.StreamHelper
读输入的字节流转换到字符流,将其转换为文本(多行)的字节流转换为字符串。
createDirectory(String) - 类 中的静态方法com.ajaxjs.util.io.FileHelper
创建目录。

D

DATE - 类 中的静态变量com.ajaxjs.util.DateHelper
 
DATE_FORMATTER - 类 中的静态变量com.ajaxjs.util.DateHelper
 
DateHelper - com.ajaxjs.util中的类
日期工具类 SimpleDateFormat 不是线程安全的,Java 8 之后尽量使用 java.time.DateTimeFormatter
DateHelper() - 类 的构造器com.ajaxjs.util.DateHelper
 
DATETIME - 类 中的静态变量com.ajaxjs.util.DateHelper
 
DATETIME_FORMATTER - 类 中的静态变量com.ajaxjs.util.DateHelper
 
DATETIME_SHORT - 类 中的静态变量com.ajaxjs.util.DateHelper
 
DATETIME_SHORT_FORMATTER - 类 中的静态变量com.ajaxjs.util.DateHelper
 
decryptByPrivateKey(byte[], String) - 类 中的静态方法com.ajaxjs.util.cryptography.RsaCrypto
私钥解密
decryptByPublicKey(byte[], String) - 类 中的静态方法com.ajaxjs.util.cryptography.RsaCrypto
公钥解密
decryptOAEP(String, PrivateKey) - 类 中的静态方法com.ajaxjs.util.cryptography.WeiXinCrypto
解密
decryptPBE(String, byte[], byte[]) - 类 中的静态方法com.ajaxjs.util.cryptography.AesCrypto
PBE 解密
decryptTripleDES(byte[], byte[]) - 类 中的静态方法com.ajaxjs.util.cryptography.AesCrypto
TripleDES(3DES) 解密
deleteFileOrDirectory(String) - 类 中的静态方法com.ajaxjs.util.io.FileHelper
删除文件或目录。
DES_decode(String, String) - 类 中的方法com.ajaxjs.util.cryptography.AesCrypto
对使用 DES 加密算法的密文进行解密(可逆)
DES_encode(String, String) - 类 中的方法com.ajaxjs.util.cryptography.AesCrypto
使用 DES 加密算法进行加密(可逆)
deserializeToCerts(String, Map<String, Object>) - 类 中的静态方法com.ajaxjs.util.cryptography.CommonUtil
反序列化证书并解密
doCipher(String, int, byte[], AlgorithmParameterSpec, String, byte[]) - 类 中的静态方法com.ajaxjs.util.cryptography.CommonUtil
 
doCipher(String, int, Key, byte[]) - 类 中的静态方法com.ajaxjs.util.cryptography.CommonUtil
进行加密或解密,三步走
doCipher(String, int, Key, byte[], AlgorithmParameterSpec) - 类 中的静态方法com.ajaxjs.util.cryptography.CommonUtil
进行加密或解密,三步走

E

EMPTY_PARAMS_MAP - 类 中的静态变量com.ajaxjs.util.ObjectHelper
Dummy Map
EMPTY_STRING - 类 中的静态变量com.ajaxjs.util.StrUtil
空白字符串常量
EncodeTools - com.ajaxjs.util中的类
String URL/Base64 encoder
EncodeTools() - 类 的构造器com.ajaxjs.util.EncodeTools
 
encryptByPrivateKey(byte[], String) - 类 中的静态方法com.ajaxjs.util.cryptography.RsaCrypto
私钥加密
encryptByPublicKey(byte[], String) - 类 中的静态方法com.ajaxjs.util.cryptography.RsaCrypto
公钥加密
encryptOAEP(String, X509Certificate) - 类 中的静态方法com.ajaxjs.util.cryptography.WeiXinCrypto
加密
encryptPBE(String, byte[], String) - 类 中的静态方法com.ajaxjs.util.cryptography.AesCrypto
PBE 加密
encryptTripleDES(byte[], String) - 类 中的静态方法com.ajaxjs.util.cryptography.AesCrypto
TripleDES(3DES) 加密
EnumsUtil - com.ajaxjs.util.enums中的类
 
EnumsUtil() - 类 的构造器com.ajaxjs.util.enums.EnumsUtil
 
executeDefault(Object, Method, Object[]) - 类 中的静态方法com.ajaxjs.util.reflect.Methods
通过反射调用接口的默认方法。
executeMethod(Object, Method, Object...) - 类 中的静态方法com.ajaxjs.util.reflect.Methods
调用方法,该方法不会抛出异常
executeMethod(Object, String, Class<?>, Object) - 类 中的静态方法com.ajaxjs.util.reflect.Methods
调用方法。
executeMethod(Object, String, Object...) - 类 中的静态方法com.ajaxjs.util.reflect.Methods
调用方法
executeMethod_Throwable(Object, Method, Object...) - 类 中的静态方法com.ajaxjs.util.reflect.Methods
调用方法
executeStaticMethod(Method, Object...) - 类 中的静态方法com.ajaxjs.util.reflect.Methods
执行静态方法
exists(String) - 类 中的静态方法com.ajaxjs.util.io.FileHelper
检查文件或目录是否存在。

F

FileHelper - com.ajaxjs.util.io中的类
 
FileHelper() - 类 的构造器com.ajaxjs.util.io.FileHelper
 
findOne(List<T>, Predicate<T>) - 类 中的静态方法com.ajaxjs.util.CollUtils
在给定列表中查找第一个满足条件的元素
findSome(List<T>, Predicate<T>) - 类 中的静态方法com.ajaxjs.util.CollUtils
在给定列表中查找满足条件的所有元素并封装成 List
formatDate(LocalDate) - 类 中的静态方法com.ajaxjs.util.DateHelper
将 LocalDate 转换为字符串。
formatDateTime(LocalDateTime) - 类 中的静态方法com.ajaxjs.util.DateHelper
将 LocalDateTime 转换为字符串。
formatDateTime(Date) - 类 中的静态方法com.ajaxjs.util.DateHelper
将 Date 转换为字符串。
formatTime(LocalTime) - 类 中的静态方法com.ajaxjs.util.DateHelper
将 LocalTime 转换为字符串。

G

generateRandomNumber() - 类 中的静态方法com.ajaxjs.util.RandomTools
 
generateRandomNumber(int) - 类 中的静态方法com.ajaxjs.util.RandomTools
生成一个指定位数的随机整数。
generateRandomNumberOld() - 类 中的静态方法com.ajaxjs.util.RandomTools
 
generateRandomNumberOld(int) - 类 中的静态方法com.ajaxjs.util.RandomTools
生成一个指定位数的随机整数。
generateRandomString() - 类 中的静态方法com.ajaxjs.util.RandomTools
生成指定长度的随机字符,可能包含数字
generateRandomString(int) - 类 中的静态方法com.ajaxjs.util.RandomTools
生成指定长度的随机字符,可能包含数字
generateRandomStringOld(int) - 类 中的静态方法com.ajaxjs.util.RandomTools
生成指定长度的随机字符,可能包含数字 另外一个方法 ...
getActualClass(Class<?>) - 类 中的静态方法com.ajaxjs.util.reflect.Types
获取实际类
getActualType(Class<?>) - 类 中的静态方法com.ajaxjs.util.reflect.Types
获取如 List<String> 里面的泛型类型
getActualType(Type) - 类 中的静态方法com.ajaxjs.util.reflect.Types
获取泛型类型数组。
getAllSuperClazz(Class<?>) - 类 中的静态方法com.ajaxjs.util.reflect.Methods
 
getAttribute(Node, String) - 类 中的静态方法com.ajaxjs.util.XmlHelper
获取指定的 attribute 值
getClassByInterface(Type) - 类 中的静态方法com.ajaxjs.util.reflect.Clazz
已知接口类型,获取它的 class
getClassByName(String) - 类 中的静态方法com.ajaxjs.util.reflect.Clazz
根据类名字符串获取类对象
getClassByName(String, Class<T>) - 类 中的静态方法com.ajaxjs.util.reflect.Clazz
根据类名字符串获取类对象,可强类型转换类型
getClassName(File, String) - 类 中的静态方法com.ajaxjs.util.io.Resources
Java 类文件 去掉后面的 .class 只留下类名
getCode() - 接口 中的方法com.ajaxjs.util.enums.IEntityEnum
 
getCode() - 接口 中的方法com.ajaxjs.util.enums.IEnum
 
getConstructor(Class<T>, Class<?>...) - 类 中的静态方法com.ajaxjs.util.reflect.Clazz
获取类的构造器,可以支持重载的构造器(不同参数的构造器) 这个函数用于获取类的构造函数。
getDeclaredInterface(Class<?>) - 类 中的静态方法com.ajaxjs.util.reflect.Clazz
获取某个类的所有接口
getDeclaredMethod(Class<?>, String) - 类 中的静态方法com.ajaxjs.util.reflect.Methods
根据类和方法名获取该类声明的方法
getDeclaredMethodByInterface(Class<?>, String, Object) - 类 中的静态方法com.ajaxjs.util.reflect.Methods
循环 object 向上转型(接口)
getFileSize(String) - 类 中的静态方法com.ajaxjs.util.io.FileHelper
获取文件或目录的大小。
getGenericFirstReturnType(Method) - 类 中的静态方法com.ajaxjs.util.reflect.Types
获取方法返回值里面的泛型,如 List<String> 里面的 String,而不是 T。
getGenericReturnType(Method) - 类 中的静态方法com.ajaxjs.util.reflect.Types
获取方法返回值里面的泛型,如 List<String> 里面的 String,而不是 T。
getGMTDate() - 类 中的静态方法com.ajaxjs.util.DateHelper
请求的时间戳,格式必须符合 RFC1123 的日期格式
getHmacSHA1AsBase64(String, String) - 类 中的静态方法com.ajaxjs.util.MessageDigestHelper
 
getHmacSHA256AsBase64(String, String) - 类 中的静态方法com.ajaxjs.util.MessageDigestHelper
 
getInstance() - 类 中的静态方法com.ajaxjs.util.cryptography.AesCrypto
 
getJarDir() - 类 中的静态方法com.ajaxjs.util.io.Resources
获取正在运行的 JAR 文件的目录 如果您在 IDE 中运行代码,则该代码可能会返回项目的根目录
getKey(String, Map<String, byte[]>) - 类 中的静态方法com.ajaxjs.util.cryptography.RsaCrypto
获取指定名称的密钥
getKeyPair(String, int, String, String) - 类 中的静态方法com.ajaxjs.util.cryptography.RsaCrypto
生成密钥对
getKeyPair(KeyPairGenerator, String, String) - 类 中的静态方法com.ajaxjs.util.cryptography.RsaCrypto
生成一对密钥,并返回密钥对的 Base64 编码
getList(List<T>) - 类 中的静态方法com.ajaxjs.util.CollUtils
即使 List 为空(null),也要返回一个空的 List
getMac(String, String, String) - 类 中的静态方法com.ajaxjs.util.MessageDigestHelper
获取指定算法的 MAC 值(可设密钥)
getMd5(String) - 类 中的静态方法com.ajaxjs.util.MessageDigestHelper
生成字符串的 MD5 哈希值,等价于 DigestUtils.md5DigestAsHex()
getMd5(String, String) - 类 中的静态方法com.ajaxjs.util.MessageDigestHelper
获取字符串的 MD5 值
getMd5AsBase64(String) - 类 中的静态方法com.ajaxjs.util.MessageDigestHelper
生成字符串的 MD5 哈希值,Base64 编码
getMd5AsBase64(String, String) - 类 中的静态方法com.ajaxjs.util.MessageDigestHelper
获取字符串的 MD5 值并转换为 Base64 编码
getMethod(Object, String, Class<?>...) - 类 中的静态方法com.ajaxjs.util.reflect.Methods
根据类、方法的字符串和参数列表获取方法对象,支持重载的方法
getMethod(Object, String, Object...) - 类 中的静态方法com.ajaxjs.util.reflect.Methods
根据方法名称和参数列表查找方法。
getMethodByUpCastingSearch(Class<?>, String, Object) - 类 中的静态方法com.ajaxjs.util.reflect.Methods
根据方法名称和参数列表查找方法。
getMsg() - 接口 中的方法com.ajaxjs.util.enums.IEntityEnum
 
getMsg() - 接口 中的方法com.ajaxjs.util.enums.IEnum
 
getNodeAttribute(Node, String) - 类 中的静态方法com.ajaxjs.util.XmlHelper
获取节点属性值
getNodeText(Node) - 类 中的静态方法com.ajaxjs.util.XmlHelper
获取节点内的文本内容,包括标签
getPrivateKey(Map<String, byte[]>) - 类 中的静态方法com.ajaxjs.util.cryptography.RsaCrypto
获取私钥
getProperties(String) - 类 中的静态方法com.ajaxjs.util.io.Resources
从类路径加载 properties 文件
getPublicKey(Map<String, byte[]>) - 类 中的静态方法com.ajaxjs.util.cryptography.RsaCrypto
获取公钥
getResource(String) - 类 中的静态方法com.ajaxjs.util.io.Resources
可以在 JAR 中获取资源文件 ...
getResourcesFromClass(Class<?>, String) - 类 中的静态方法com.ajaxjs.util.io.Resources
获取当前类目录下的资源文件 测试时候,源码目录没有,要手动复制
getResourcesFromClass(Class<?>, String, boolean) - 类 中的静态方法com.ajaxjs.util.io.Resources
获取当前类目录下的资源文件
getResourcesFromClasspath(String) - 类 中的静态方法com.ajaxjs.util.io.Resources
获取 Classpath 根目录下的资源文件
getResourcesFromClasspath(String, boolean) - 类 中的静态方法com.ajaxjs.util.io.Resources
获取 Classpath 根目录下的资源文件的路径
getResourceText(String) - 类 中的静态方法com.ajaxjs.util.io.Resources
从 classpath 获取资源文件的内容
getResult() - 类 中的方法com.ajaxjs.util.MessageDigestHelper
返回摘要的结果,可选择 Base64 编码或者转换未 Hex 字符串
getRoot(String) - 类 中的静态方法com.ajaxjs.util.XmlHelper
根据给定的 XML 字符串获取根元素
getSecretKey(String, SecureRandom) - 类 中的静态方法com.ajaxjs.util.cryptography.AesCrypto
根据指定算法和安全随机数生成一个秘密密钥,并将其以 Base64 编码的字符串形式返回
getSHA1(String) - 类 中的静态方法com.ajaxjs.util.MessageDigestHelper
生成字符串的 SHA1 哈希值
getSHA256(String) - 类 中的静态方法com.ajaxjs.util.MessageDigestHelper
生成字符串的 SHA256 哈希值
getSuperClassDeclaredFields(Class<?>) - 类 中的静态方法com.ajaxjs.util.reflect.Methods
获取本类及其父类的字段属性(包括 private 的)
getSuperClassDeclaredMethod(Class<?>, String) - 类 中的静态方法com.ajaxjs.util.reflect.Methods
查找对象父类身上指定的方法(注意该方法不需要校验参数类型是否匹配,故有可能不是目标方法,而造成异常,请谨慎使用)
getSuperClassDeclaredMethod(Class<?>, String, Class<?>) - 类 中的静态方法com.ajaxjs.util.reflect.Methods
查找对象父类身上指定的方法
getUnderLayerErr(Throwable) - 类 中的静态方法com.ajaxjs.util.reflect.Methods
获取实际抛出的那个异常对象。
getUnderLayerErrMsg(Throwable) - 类 中的静态方法com.ajaxjs.util.reflect.Methods
获取实际抛出的那个异常对象,并去掉前面的包名。
getUTF8_Bytes(String) - 类 中的静态方法com.ajaxjs.util.StrUtil
 

H

hasArgsCon(Class<?>) - 类 中的静态方法com.ajaxjs.util.reflect.Clazz
传入的类是否有带参数的构造器 该函数通过传入的类对象,判断该类是否有带参数的构造函数,若有则返回true,否则返回false。
hasText(String) - 类 中的静态方法com.ajaxjs.util.StrUtil
Check whether the given String contains actual text.

I

IEntityEnum - com.ajaxjs.util.enums中的接口
 
IEnum<T,​E> - com.ajaxjs.util.enums中的接口
IEnum
init() - 类 中的静态方法com.ajaxjs.util.cryptography.RsaCrypto
初始化密钥
initBuilder() - 类 中的静态方法com.ajaxjs.util.XmlHelper
XML 转换需要的对象
initSalt() - 类 中的静态方法com.ajaxjs.util.cryptography.AesCrypto
初始化盐(salt)
inputStream2Byte(InputStream) - 类 中的静态方法com.ajaxjs.util.io.StreamHelper
使用内存操作流,读取二进制,也就是将流转换为内存的数据。
intList2Arr(List<Integer>) - 类 中的静态方法com.ajaxjs.util.CollUtils
Integer[] 不能直接转 int[],故设置一个函数专门处理之
isEmpty(Object[]) - 类 中的静态方法com.ajaxjs.util.CollUtils
Determine whether the given array is empty: i.e.
isEmpty(Collection<?>) - 类 中的静态方法com.ajaxjs.util.CollUtils
Return true if the supplied Collection is null or empty.
isEmpty(Map<?, ?>) - 类 中的静态方法com.ajaxjs.util.CollUtils
Return true if the supplied Map is null or empty.
isEmptyText(String) - 类 中的静态方法com.ajaxjs.util.StrUtil
 
isMatch(Pattern, String) - 类 中的方法com.ajaxjs.util.RegExpUtils
 
isStaticMethod(Method) - 类 中的静态方法com.ajaxjs.util.reflect.Methods
是否静态方法
isWordOneOfThem(String, String[]) - 类 中的静态方法com.ajaxjs.util.StrUtil
判断一个字符串是否属于指定的字符串数组中
isWordOneOfThem(String, List<String>) - 类 中的静态方法com.ajaxjs.util.StrUtil
判断一个字符串是否属于指定的字符串列表中

J

join(String[], String, String) - 类 中的静态方法com.ajaxjs.util.StrUtil
将字符串数组转为字符串,可自定义分隔符及字符串模板
join(List<String>, String) - 类 中的静态方法com.ajaxjs.util.StrUtil
将字符串列表转为字符串,可自定义分隔符
join(List<String>, String, String) - 类 中的静态方法com.ajaxjs.util.StrUtil
将字符串列表转为字符串,可自定义分隔符及字符串格式化模板
join(T[], String) - 类 中的静态方法com.ajaxjs.util.StrUtil
将数组中的元素使用指定的分隔符连接成一个字符串,并返回连接后的字符串
joinAnyList(List<T>, String) - 类 中的静态方法com.ajaxjs.util.StrUtil
将列表中的元素使用指定的分隔符连接成一个字符串,并返回连接后的字符串

L

leftPad(String, int, String) - 类 中的静态方法com.ajaxjs.util.StrUtil
字符串左填充方法
listDirectoryContents(String) - 类 中的静态方法com.ajaxjs.util.io.FileHelper
列出目录内容。
loadPrivateKey(InputStream) - 类 中的静态方法com.ajaxjs.util.cryptography.CommonUtil
从输入流中加载私钥 该方法首先将输入流中的字节读取到 ByteArrayOutputStream 中,然后将其转换为字符串形式的私钥, 最后调用另一方法loadPrivateKey(String)来解析并返回私钥对象
loadPrivateKey(String) - 类 中的静态方法com.ajaxjs.util.cryptography.CommonUtil
转换为 Java 里面的 PrivateKey 对象
loadPrivateKeyByPath(String) - 类 中的静态方法com.ajaxjs.util.cryptography.CommonUtil
从 classpath 上指定私钥文件的路径
localDate2Date(LocalDate) - 类 中的静态方法com.ajaxjs.util.DateHelper
将 LocalDate类型转换为 Date 类型 此方法用于处理日期转换,将 Java 8 引入的 LocalDate 对象转换为传统的 Date 对象 转换基于系统默认时区,将 LocalDate 的开始时刻视为一天的起点
localDateTime2Date(LocalDateTime) - 类 中的静态方法com.ajaxjs.util.DateHelper
将 LocalDateTime 转换为 Date 对象 此方法用于处理时间数据类型的转换,将 LocalDateTime 对象转换为 Date 对象 主要通过获取当前时区的时区信息,将 LocalDateTime 转换为 Instant 对象,然后转换为 Date

M

mapOf(int) - 类 中的静态方法com.ajaxjs.util.ObjectHelper
Creates a HashMap with a specified expected number of entries.
mapOf(K, V) - 类 中的静态方法com.ajaxjs.util.ObjectHelper
创建一个新的 HashMap
mapOf(K, V, K, V) - 类 中的静态方法com.ajaxjs.util.ObjectHelper
创建一个新的 HashMap
mapOf(K, V, K, V, K, V) - 类 中的静态方法com.ajaxjs.util.ObjectHelper
创建一个新的 HashMap
md5(String) - 类 中的静态方法com.ajaxjs.util.MessageDigestHelper
计算一个字符串的 MD5 值
Md5 - com.ajaxjs.util.cryptography.SecurityTextType.Digest
 
Md5WithSalt - com.ajaxjs.util.cryptography.SecurityTextType.Digest
 
me - 类 中的静态变量com.ajaxjs.util.cryptography.AesCrypto
 
MessageDigestHelper - com.ajaxjs.util中的类
字符串摘要(哈希)工具类
MessageDigestHelper() - 类 的构造器com.ajaxjs.util.MessageDigestHelper
 
Methods - com.ajaxjs.util.reflect中的类
方法相关的反射
Methods() - 类 的构造器com.ajaxjs.util.reflect.Methods
 
moveFileOrDirectory(String, String) - 类 中的静态方法com.ajaxjs.util.io.FileHelper
移动文件或目录。

N

newArray(Class<?>, int) - 类 中的静态方法com.ajaxjs.util.CollUtils
新建一个空数组
newInstance(Class<T>, Object...) - 类 中的静态方法com.ajaxjs.util.reflect.Clazz
根据类创建实例,可传入构造器参数。
newInstance(Constructor<T>, Object...) - 类 中的静态方法com.ajaxjs.util.reflect.Clazz
根据构造器创建实例 该函数根据给定的构造器和参数列表创建指定类的实例。
newInstance(String, Class<T>) - 类 中的静态方法com.ajaxjs.util.reflect.Clazz
根据类全称创建实例,并转换到其接口的类型
newInstance(String, Object...) - 类 中的静态方法com.ajaxjs.util.reflect.Clazz
根据类全称创建实例 该函数根据给定的类全称和参数,使用反射获取类对象并创建相应类型的对象实例。
nodeAsMap(String, String) - 类 中的静态方法com.ajaxjs.util.XmlHelper
将节点所有属性都转换为 map
now() - 类 中的静态方法com.ajaxjs.util.DateHelper
获取当前日期时间(字符串)。
nowDateTime() - 类 中的静态方法com.ajaxjs.util.DateHelper
获取当前日期时间。
nowShort() - 类 中的静态方法com.ajaxjs.util.DateHelper
获取当前日期时间(字符串),格式如

O

object2Date(Object) - 类 中的静态方法com.ajaxjs.util.DateHelper
支持任意对象转换为日期类型
object2double(Object) - 类 中的静态方法com.ajaxjs.util.ConvertBasicValue
转换为 double 类型
object2float(Object) - 类 中的静态方法com.ajaxjs.util.ConvertBasicValue
转换为 float 类型
object2int(Object) - 类 中的静态方法com.ajaxjs.util.ConvertBasicValue
转换为 int 类型
object2long(Object) - 类 中的静态方法com.ajaxjs.util.ConvertBasicValue
转换为 long 类型
ObjectHelper - com.ajaxjs.util中的类
A helper for Java Object.
ObjectHelper() - 类 的构造器com.ajaxjs.util.ObjectHelper
 
of(E, Class<T>) - 类 中的静态方法com.ajaxjs.util.enums.EnumsUtil
根据枚举代码获取对应的枚举对象 此方法用于处理自定义枚举接口的枚举类型,通过比较枚举代码来找到并返回对应的枚举对象 利用泛型方法,允许传入任何实现了 IEnum 接口的枚举类型,并返回该类型的安全 Optional 对象
ofCode(String, Class<T>) - 类 中的静态方法com.ajaxjs.util.enums.EnumsUtil
根据消息获取枚举代码 该方法用于在枚举类中根据消息找到对应的枚举项,并返回该枚举项的代码 如果消息为空或在枚举类中找不到对应的消息,则返回null
ofMsg(E, Class<T>) - 类 中的静态方法com.ajaxjs.util.enums.EnumsUtil
根据枚举代码获取对应的枚举消息 此方法利用泛型方法的类型参数,通过给定的枚举代码和枚举类类型,返回枚举代码对应的消息 如果没有找到对应的枚举项,则返回 null

P

parseDate(String) - 类 中的静态方法com.ajaxjs.util.DateHelper
将字符串解析为 LocalDate。
parseDateTime(String) - 类 中的静态方法com.ajaxjs.util.DateHelper
将字符串解析为 LocalDateTime。
parseDateTimeShort(String) - 类 中的静态方法com.ajaxjs.util.DateHelper
将字符串解析为 LocalDateTime。
parseHexStr2Byte(String) - 类 中的静态方法com.ajaxjs.util.BytesHelper
将16进制转换为二进制
parseTime(String) - 类 中的静态方法com.ajaxjs.util.DateHelper
将字符串解析为 LocalTime。
parseXML(String, BiConsumer<Node, NodeList>) - 类 中的静态方法com.ajaxjs.util.XmlHelper
解析 XML
print(String, Object...) - 类 中的静态方法com.ajaxjs.util.StrUtil
 
printArray(Object[]) - 类 中的静态方法com.ajaxjs.util.CollUtils
打印数组以便测试

R

RandomTools - com.ajaxjs.util中的类
Random Tools.
RandomTools() - 类 的构造器com.ajaxjs.util.RandomTools
 
read(InputStream, Charset, Consumer<String>) - 类 中的静态方法com.ajaxjs.util.io.StreamHelper
从输入流中读取数据,并对每行数据应用提供的消费函数
readFileContent(String) - 类 中的静态方法com.ajaxjs.util.io.FileHelper
读取文件内容并返回为字符串。
RegExpUtils - com.ajaxjs.util中的类
正则表达式工具类
RegExpUtils() - 类 的构造器com.ajaxjs.util.RegExpUtils
 
regMatch(String, String) - 类 中的静态方法com.ajaxjs.util.RegExpUtils
使用正则的快捷方式
regMatch(String, String, int) - 类 中的静态方法com.ajaxjs.util.RegExpUtils
使用正则的快捷方式。
regMatchAll(String, String) - 类 中的静态方法com.ajaxjs.util.RegExpUtils
返回所有匹配项
Resources - com.ajaxjs.util.io中的类
 
Resources() - 类 的构造器com.ajaxjs.util.io.Resources
 
RsaCrypto - com.ajaxjs.util.cryptography中的类
RSA 非对称加密/解密
RsaCrypto() - 类 的构造器com.ajaxjs.util.cryptography.RsaCrypto
 
rsaEncrypt(String, String) - 类 中的静态方法com.ajaxjs.util.cryptography.WeiXinCrypto
使用 RSA 加密算法对消息进行加密
rsaSign(PrivateKey, byte[]) - 类 中的静态方法com.ajaxjs.util.cryptography.WeiXinCrypto
对签名数据进行签名。

S

SecurityTextType - com.ajaxjs.util.cryptography中的接口
 
SecurityTextType.Cryptography - com.ajaxjs.util.cryptography中的枚举
 
SecurityTextType.Digest - com.ajaxjs.util.cryptography中的枚举
 
SecurityTextType.Encode - com.ajaxjs.util.cryptography中的枚举
 
sign(String, byte[]) - 类 中的静态方法com.ajaxjs.util.cryptography.RsaCrypto
用私钥对信息生成数字签名
sign(String, PrivateKey, byte[]) - 类 中的静态方法com.ajaxjs.util.cryptography.RsaCrypto
 
simpleTpl(String, Object) - 类 中的静态方法com.ajaxjs.util.StrUtil
简单模板替换方法。
simpleTpl(String, Map<String, Object>) - 类 中的静态方法com.ajaxjs.util.StrUtil
简单模板替换方法。
simpleTpl2(String, Map<String, Object>) - 类 中的静态方法com.ajaxjs.util.StrUtil
简单模板替换方法。
StreamHelper - com.ajaxjs.util.io中的类
流操作助手类 如不满足 可参考 Spring StreamUtils/ResourceUtils/FileCopyUtils/FileSystemUtils
StreamHelper() - 类 的构造器com.ajaxjs.util.io.StreamHelper
 
stringArr2intArr(String) - 类 中的静态方法com.ajaxjs.util.CollUtils
当它们每一个都是数字的字符串形式,转换为整形的数组
StrUtil - com.ajaxjs.util中的类
字符串工具类
StrUtil() - 类 的构造器com.ajaxjs.util.StrUtil
 
subBytes(byte[], int, int) - 类 中的静态方法com.ajaxjs.util.BytesHelper
在字节数组中截取指定长度数组

T

TIME - 类 中的静态变量com.ajaxjs.util.DateHelper
常见的日期格式
TIME_FORMATTER - 类 中的静态变量com.ajaxjs.util.DateHelper
 
toBoolean(Object) - 类 中的静态方法com.ajaxjs.util.ConvertBasicValue
true/1、字符串 true/1/yes/on 被视为 true 返回;false/0/null、字符串 false/0/no/off/null 被视为 false 返回;
toJavaValue(String) - 类 中的静态方法com.ajaxjs.util.ConvertBasicValue
把字符串还原为 Java 里面的真实值,如 "true"--true,"123"--123,"null"--null
toLocalDate(Date) - 类 中的静态方法com.ajaxjs.util.DateHelper
将Date对象转换为LocalDate对象 此方法主要用于将Java传统日期时间API中的Date对象转换为Java 8引入的LocalDate对象 这种转换通常需要考虑时区问题,因此这里使用了getZone方法(假设此方法存在且已实现)来处理时区转换
toLocalDateTime(Date) - 类 中的静态方法com.ajaxjs.util.DateHelper
将Date对象转换为LocalDateTime对象 此方法用于处理时间转换,将一个Date对象(表示特定的瞬间,精确到毫秒) 转换为LocalDateTime对象(表示日期和时间,没有时区信息) 主要用于需要进行日期和时间操作,但不涉及时区的情景
type2class(Type) - 类 中的静态方法com.ajaxjs.util.reflect.Types
Type 接口转换为 Class
Types - com.ajaxjs.util.reflect中的类
 
Types() - 类 的构造器com.ajaxjs.util.reflect.Types
 

U

urlChinese(String) - 类 中的静态方法com.ajaxjs.util.EncodeTools
URL 网址的中文乱码处理。
urlDecode(String) - 类 中的静态方法com.ajaxjs.util.EncodeTools
URL 解码
urlEncode(String) - 类 中的静态方法com.ajaxjs.util.EncodeTools
URL 编码
urlEncodeQuery(String) - 类 中的静态方法com.ajaxjs.util.EncodeTools
URL 编码。
UTF8_SYMBOL - 类 中的静态变量com.ajaxjs.util.EncodeTools
UTF-8 字符串而已
uuid() - 类 中的静态方法com.ajaxjs.util.RandomTools
生成一个去掉 "-" 字符的 UUID 字符串
uuid(boolean) - 类 中的静态方法com.ajaxjs.util.RandomTools
生成一个 UUID,可选择是否去掉其中的 "-" 符号(Copy from Spring,Spring 提供的算法性能远远高于 JDK 的)

V

valueOf(String) - 枚举 中的静态方法com.ajaxjs.util.cryptography.SecurityTextType.Cryptography
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.ajaxjs.util.cryptography.SecurityTextType.Digest
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.ajaxjs.util.cryptography.SecurityTextType.Encode
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法com.ajaxjs.util.cryptography.SecurityTextType.Cryptography
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.ajaxjs.util.cryptography.SecurityTextType.Digest
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.ajaxjs.util.cryptography.SecurityTextType.Encode
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
verify(byte[], String, String) - 类 中的静态方法com.ajaxjs.util.cryptography.RsaCrypto
校验数字签名

W

WeiXinCrypto - com.ajaxjs.util.cryptography中的类
证书和回调报文解密
WeiXinCrypto() - 类 的构造器com.ajaxjs.util.cryptography.WeiXinCrypto
 
write(InputStream, OutputStream) - 类 中的静态方法com.ajaxjs.util.io.StreamHelper
 
write(InputStream, OutputStream, boolean) - 类 中的静态方法com.ajaxjs.util.io.StreamHelper
两端速度不匹配,需要协调 理想环境下,速度一样快,那就没必要搞流,直接一坨给弄过去就可以了 流的意思很形象,就是一点一滴的,不是一坨坨大批量的 带缓冲的一入一出 出是字节流,所以要缓冲(字符流自带缓冲,所以不需要额外缓冲) 请注意,改方法不会关闭流 close,你需要手动关闭
writeFileContent(String, String) - 类 中的静态方法com.ajaxjs.util.io.FileHelper
将字符串内容写入文件。

X

XmlHelper - com.ajaxjs.util中的类
XML 处理工具类 ...
XmlHelper() - 类 的构造器com.ajaxjs.util.XmlHelper
 
XOR(int, String) - 类 中的静态方法com.ajaxjs.util.cryptography.CommonUtil
使用异或操作对结果进行加密或解密。
XOR_decode(String, String) - 类 中的静态方法com.ajaxjs.util.cryptography.CommonUtil
使用异或进行解密
XOR_encode(String, String) - 类 中的静态方法com.ajaxjs.util.cryptography.CommonUtil
使用异或操作符对字符串进行简单加密。
xPath(String, String, Consumer<Node>) - 类 中的静态方法com.ajaxjs.util.XmlHelper
获取某个节点
A B C D E F G H I J L M N O P R S T U V W X 
所有类 所有程序包