索引

A B C D E F G H I J L M N O P R S T U W X Z 
常量字段值|所有程序包|所有类和接口

A

ANSI_BLUE - 类中的静态变量 com.ajaxjs.util.BoxLogger
 
ANSI_GREEN - 类中的静态变量 com.ajaxjs.util.BoxLogger
 
ANSI_RED - 类中的静态变量 com.ajaxjs.util.BoxLogger
 
ANSI_RESET - 类中的静态变量 com.ajaxjs.util.BoxLogger
 
ANSI_YELLOW - 类中的静态变量 com.ajaxjs.util.BoxLogger
 
args2class(Object[]) - 类中的静态方法 com.ajaxjs.util.reflect.Clazz
把参数转换为类对象列表 这个 Java 函数将一个可变参数列表转换为一个类对象列表。
args2class(Object[]) - 类中的静态方法 com.ajaxjs.util.reflect.NewInstance
把参数转换为类对象列表 这个 Java 函数将一个可变参数列表转换为一个类对象列表。
as(Map<String, String[]>) - 类中的静态方法 com.ajaxjs.util.MapTool
将给定的 map 转换为 Map<String, Object> 类型的结果
as(Map<String, K>, Function<K, T>) - 类中的静态方法 com.ajaxjs.util.MapTool
万能 Map 转换器,为了泛型的转换而设的一个方法,怎么转换在 fn 中处理

B

Base64Utils - com.ajaxjs.util中的类
Base64 encode/decode
Base64Utils(byte[]) - 类的构造器 com.ajaxjs.util.Base64Utils
 
Base64Utils(String) - 类的构造器 com.ajaxjs.util.Base64Utils
 
Base64Utils(String, Charset) - 类的构造器 com.ajaxjs.util.Base64Utils
 
basicCast(Object, Class<T>) - 类中的静态方法 com.ajaxjs.util.ConvertBasicValue
安全地将对象转换为指定的类类型。
basicConvert(Object, Class<?>) - 类中的静态方法 com.ajaxjs.util.ConvertBasicValue
根据送入的类型作适当转换
beanToXml(Object) - 类中的静态方法 com.ajaxjs.util.MapTool
将给定的对象转换为 XML 格式的字符串
BIZ_ACTION - 类中的静态变量 com.ajaxjs.util.BoxLogger
 
boxContent(String, String) - 类中的静态方法 com.ajaxjs.util.BoxLogger
 
boxLine(char, char, char, String) - 类中的静态方法 com.ajaxjs.util.BoxLogger
 
BoxLogger - com.ajaxjs.util中的类
Make log in a box
BoxLogger() - 类的构造器 com.ajaxjs.util.BoxLogger
 
BUFFER_SIZE - 类中的静态变量 com.ajaxjs.util.io.DataWriter
1K 的数据块
BytesHelper - com.ajaxjs.util中的类
字节数组工具类
BytesHelper() - 类的构造器 com.ajaxjs.util.BytesHelper
 
bytesToHexStr(byte[]) - 类中的静态方法 com.ajaxjs.util.BytesHelper
byte[] 转化为 16 进制字符串输出

C

calcFileMD5(byte[]) - 类中的静态方法 com.ajaxjs.util.HashHelper
Calculate the MD5 of a file.
calcFileMD5(InputStream) - 类中的静态方法 com.ajaxjs.util.HashHelper
Calculate the MD5 of a file.
charCount(String, String) - 类中的静态方法 com.ajaxjs.util.StrUtil
统计文本中某个字符串出现的次数
chunkFile(long) - 类中的方法 com.ajaxjs.util.io.FileHelper
对文件按照指定大小进行分片,在文件所在目录生成分片后的文件块儿 使用零拷贝对文件高效的切片和合并
CLASS - 接口中的静态变量 com.ajaxjs.util.CommonConstant
 
Clazz - com.ajaxjs.util.reflect中的类
类相关的反射
Clazz() - 类的构造器 com.ajaxjs.util.reflect.Clazz
 
CmdHelper - com.ajaxjs.util.io中的类
 
CmdHelper() - 类的构造器 com.ajaxjs.util.io.CmdHelper
 
com.ajaxjs.util - 程序包 com.ajaxjs.util
 
com.ajaxjs.util.date - 程序包 com.ajaxjs.util.date
The helper functions of Date, it contains: - Transform among different date types - Transform a string to Date - Date formatting - Date utilities, like `now()`
com.ajaxjs.util.io - 程序包 com.ajaxjs.util.io
File, resource, stream utility package
com.ajaxjs.util.reflect - 程序包 com.ajaxjs.util.reflect
Reflection utility package
CommonConstant - com.ajaxjs.util中的接口
 
concat(byte[], byte[]) - 类中的静态方法 com.ajaxjs.util.BytesHelper
合并两个字节数组
concatUrl(String, String) - 类中的静态方法 com.ajaxjs.util.StrUtil
连接两个 url 目录字符串,如果没有 / 则加上;如果有则去掉一个
concatUrl(String, String) - 类中的静态方法 com.ajaxjs.util.UrlHelper
 
ConvertBasicValue - com.ajaxjs.util中的类
尝试转换目标类型,注意并不是所有的类型都可以进行转换
ConvertBasicValue() - 类的构造器 com.ajaxjs.util.ConvertBasicValue
 
convertValue(Object, Class<T>) - 类中的静态方法 com.ajaxjs.util.JsonUtil
Converts an object to another object This method uses ObjectMapper from the Jackson library to convert an object of any type to another type specified by clazz It is primarily used for data type conversion when the specific type is known at runtime
copTo() - 类中的方法 com.ajaxjs.util.io.FileHelper
Copy a file or directory to another location.
createDirectory() - 类中的方法 com.ajaxjs.util.io.FileHelper
Create a directory.

D

DataReader - com.ajaxjs.util.io中的类
The reader class for reading data from an input stream.
DataReader(InputStream, Charset) - 类的构造器 com.ajaxjs.util.io.DataReader
Create a DataReader instance with the specified input stream and character encoding.
DataWriter - com.ajaxjs.util.io中的类
The writer class for writing data to an output stream.
DataWriter() - 类的构造器 com.ajaxjs.util.io.DataWriter
 
DATE - 类中的静态变量 com.ajaxjs.util.date.Formatter
 
DATETIME - 类中的静态变量 com.ajaxjs.util.date.Formatter
 
DATETIME_SHORT - 类中的静态变量 com.ajaxjs.util.date.Formatter
 
DateTools - com.ajaxjs.util.date中的类
Date Utils
DateTools() - 类的构造器 com.ajaxjs.util.date.DateTools
 
DateTypeConvert - com.ajaxjs.util.date中的类
Transform among different date types
DateTypeConvert(int) - 类的构造器 com.ajaxjs.util.date.DateTypeConvert
 
DateTypeConvert(long) - 类的构造器 com.ajaxjs.util.date.DateTypeConvert
 
DateTypeConvert(String) - 类的构造器 com.ajaxjs.util.date.DateTypeConvert
 
DateTypeConvert(Date) - 类的构造器 com.ajaxjs.util.date.DateTypeConvert
 
DateTypeConvert(Timestamp) - 类的构造器 com.ajaxjs.util.date.DateTypeConvert
 
DateTypeConvert(Instant) - 类的构造器 com.ajaxjs.util.date.DateTypeConvert
 
DateTypeConvert(LocalDate) - 类的构造器 com.ajaxjs.util.date.DateTypeConvert
 
DateTypeConvert(LocalDateTime) - 类的构造器 com.ajaxjs.util.date.DateTypeConvert
 
DateTypeConvert(LocalTime) - 类的构造器 com.ajaxjs.util.date.DateTypeConvert
 
DateTypeConvert(OffsetDateTime) - 类的构造器 com.ajaxjs.util.date.DateTypeConvert
 
DateTypeConvert(OffsetTime) - 类的构造器 com.ajaxjs.util.date.DateTypeConvert
 
DateTypeConvert(ZonedDateTime) - 类的构造器 com.ajaxjs.util.date.DateTypeConvert
 
DateTypeConvert(Calendar) - 类的构造器 com.ajaxjs.util.date.DateTypeConvert
 
DateTypeConvert(Date) - 类的构造器 com.ajaxjs.util.date.DateTypeConvert
 
DebugTools - com.ajaxjs.util中的类
 
DebugTools() - 类的构造器 com.ajaxjs.util.DebugTools
 
decode() - 类中的方法 com.ajaxjs.util.Base64Utils
Decode the input then returns the result in bytes
decode() - 类中的方法 com.ajaxjs.util.UrlEncode
Do the url decode
decodeAsString() - 类中的方法 com.ajaxjs.util.Base64Utils
Decode the input in BASE64 then returns the string in UTF-8 charset
decodeAsString(Charset) - 类中的方法 com.ajaxjs.util.Base64Utils
Decode the input in BASE64 then returns the string with specified charset
deepCopy(Map<T, K>) - 类中的静态方法 com.ajaxjs.util.MapTool
克隆一个 Map 到新的 Map 中, Map 深复制操作
DEFAULT_LOAD_FACTOR - 类中的静态变量 com.ajaxjs.util.ObjectHelper
 
delete() - 类中的方法 com.ajaxjs.util.io.FileHelper
Delete a folder or a file.

E

EMPTY_PARAMS_MAP - 类中的静态变量 com.ajaxjs.util.ObjectHelper
Dummy Map
EMPTY_STRING - 接口中的静态变量 com.ajaxjs.util.CommonConstant
 
encode() - 类中的方法 com.ajaxjs.util.Base64Utils
Encode the input then returns the result in bytes
encode() - 类中的方法 com.ajaxjs.util.UrlEncode
Do the url encode with specified charset
encodeAsString() - 类中的方法 com.ajaxjs.util.Base64Utils
Decode the input in BASE64 then returns the string.
encodeQuery() - 类中的方法 com.ajaxjs.util.UrlEncode
Do the url encode, best for GET request
encodeSafe() - 类中的方法 com.ajaxjs.util.UrlEncode
Do the url encode TODO ToFixMe: fails in UnitTest
exec(String, Function<String, Boolean>) - 类中的静态方法 com.ajaxjs.util.io.CmdHelper
 
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
执行静态方法

F

Fields - com.ajaxjs.util.reflect中的类
 
Fields() - 类的构造器 com.ajaxjs.util.reflect.Fields
 
FileHelper - com.ajaxjs.util.io中的类
 
FileHelper(File) - 类的构造器 com.ajaxjs.util.io.FileHelper
 
FileHelper(String) - 类的构造器 com.ajaxjs.util.io.FileHelper
 
FileHelper(Path) - 类的构造器 com.ajaxjs.util.io.FileHelper
 
findField(Class<?>, String) - 类中的静态方法 com.ajaxjs.util.reflect.Fields
 
format() - 类中的方法 com.ajaxjs.util.date.Formatter
Format the date value.
format(String) - 类中的方法 com.ajaxjs.util.date.Formatter
Format the date value by specified format.
formatBase64String(String) - 类中的静态方法 com.ajaxjs.util.Base64Utils
格式化 Base64 字符串,每 64 个字符换行
Formatter - com.ajaxjs.util.date中的类
Format date value, finally to String A build-in cache system for date formatters.
Formatter(Date) - 类的构造器 com.ajaxjs.util.date.Formatter
Create a formatter for a date
fromJson(String, JavaType) - 类中的静态方法 com.ajaxjs.util.JsonUtil
Converts a JSON string to a Java object.
fromJson(String, Class<T>) - 类中的静态方法 com.ajaxjs.util.JsonUtil
Converts a JSON string to an object of the specified type.

G

generateNumber() - 类中的静态方法 com.ajaxjs.util.RandomTools
Generate a six-digit random integer.
generateNumber(int) - 类中的静态方法 com.ajaxjs.util.RandomTools
Generate a specified-digit random integer.
generateRandomString() - 类中的静态方法 com.ajaxjs.util.RandomTools
Generate a six-length random string.
generateRandomString(int) - 类中的静态方法 com.ajaxjs.util.RandomTools
Generate a specified-length random string.
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 值
getBytes() - 类中的方法 com.ajaxjs.util.StringBytes
Convert String to bytes.
getBytes(Charset) - 类中的方法 com.ajaxjs.util.StringBytes
Convert String to bytes.
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 只留下类名
getClientIp(HttpServletRequest) - 类中的静态方法 com.ajaxjs.util.WebUtils
The ip from browser.
getConstructor(Class<T>, Class<?>...) - 类中的静态方法 com.ajaxjs.util.reflect.Clazz
获取类的构造器,可以支持重载的构造器(不同参数的构造器) 这个函数用于获取类的构造函数。
getConstructor(Class<T>, Class<?>...) - 类中的静态方法 com.ajaxjs.util.reflect.NewInstance
获取类的构造器,可以支持重载的构造器(不同参数的构造器) 这个函数用于获取类的构造函数。
getCookie(HttpServletRequest, String) - 类中的静态方法 com.ajaxjs.util.WebUtils
尝试从 Cookie 中提取指定名称的 value
getDateFormatter() - 类中的静态方法 com.ajaxjs.util.date.Formatter
Get a date formatter for date.
getDateFormatter(String) - 类中的静态方法 com.ajaxjs.util.date.Formatter
Get a date formatter by format string If this formatter is not cached, it will be created and cached.
getDateTimeFormatter() - 类中的静态方法 com.ajaxjs.util.date.Formatter
Get a date formatter for date and time.
getDateTimeShortFormatter() - 类中的静态方法 com.ajaxjs.util.date.Formatter
Get a date formatter for date and time.
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 向上转型(接口)
getDisplayWidth(String) - 类中的静态方法 com.ajaxjs.util.BoxLogger
 
getFileContent() - 类中的方法 com.ajaxjs.util.io.FileHelper
Read the file text content
getFileSize() - 类中的方法 com.ajaxjs.util.io.FileHelper
Get the size of a file or directory.
getGenericFirstReturnType(Method) - 类中的静态方法 com.ajaxjs.util.reflect.Types
获取方法返回值里面的泛型,如 List<String> 里面的 String,而不是 T。
getGenericReturnType(Method) - 类中的静态方法 com.ajaxjs.util.reflect.Types
获取方法返回值里面的泛型,如 List<String> 里面的 String,而不是 T。
getHmacMD5(String, String) - 类中的静态方法 com.ajaxjs.util.HashHelper
Generates HMAC-MD5 hash value for a string.
getHmacSHA256(String, String, boolean) - 类中的静态方法 com.ajaxjs.util.HashHelper
Generates HMAC-SHA256 hash value for a string.
getInitialCapacity(int) - 类中的静态方法 com.ajaxjs.util.ObjectHelper
Creates a HashMap with a specified expected number of entries.
getJarDir() - 类中的静态方法 com.ajaxjs.util.io.Resources
获取正在运行的 JAR 文件的目录 如果您在 IDE 中运行代码,则该代码可能会返回项目的根目录
getLocalIp() - 类中的静态方法 com.ajaxjs.util.WebUtils
获取 IP
getMac() - 类中的方法 com.ajaxjs.util.HashHelper
获取指定算法的 MAC 值(可设密钥)
getMessageDigest() - 类中的方法 com.ajaxjs.util.HashHelper
 
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
根据方法名称和参数列表查找方法。
getNodeAttribute(Node, String) - 类中的静态方法 com.ajaxjs.util.XmlHelper
获取节点属性值
getNodeText(Node) - 类中的静态方法 com.ajaxjs.util.XmlHelper
获取节点内的文本内容,包括标签
getPattern(String) - 类中的静态方法 com.ajaxjs.util.RegExpUtils
 
getProperties(String) - 类中的静态方法 com.ajaxjs.util.io.Resources
从类路径加载 properties 文件
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 获取资源文件的内容
getRoot(String) - 类中的静态方法 com.ajaxjs.util.XmlHelper
根据给定的 XML 字符串获取根元素
getSHA1(String) - 类中的静态方法 com.ajaxjs.util.HashHelper
Generates SHA1 hash value for a string.
getSHA256(String) - 类中的静态方法 com.ajaxjs.util.HashHelper
Generates SHA256 hash value for a string.
getString() - 类中的方法 com.ajaxjs.util.StringBytes
Convert bytes to String.
getString(Charset) - 类中的方法 com.ajaxjs.util.StringBytes
Convert bytes to String.
getSuperClassDeclaredFields(Class<?>) - 类中的静态方法 com.ajaxjs.util.reflect.Fields
获取本类及其父类的字段属性(包括 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() - 类中的方法 com.ajaxjs.util.StringBytes
Convert String to bytes.
getUTF8_String() - 类中的方法 com.ajaxjs.util.StringBytes
Convert bytes to String.
getValue(Map<String, T>, String, Consumer<T>) - 类中的静态方法 com.ajaxjs.util.MapTool
判断 Map 非空,然后根据 key 获取 value,若 value 非空则作为参数传入函数接口
GMT_FORMATTER - 类中的静态变量 com.ajaxjs.util.date.Formatter
GMT common used for signature.

H

hasArgsCon(Class<?>) - 类中的静态方法 com.ajaxjs.util.reflect.Clazz
传入的类是否有带参数的构造器 该函数通过传入的类对象,判断该类是否有带参数的构造函数,若有则返回true,否则返回false。
hash() - 类中的方法 com.ajaxjs.util.HashHelper
Do hash
hashAsBase64() - 类中的方法 com.ajaxjs.util.HashHelper
Get the result of hashed in BASE64
hashAsBase64(boolean) - 类中的方法 com.ajaxjs.util.HashHelper
Get the result of hashed in BASE64
hashAsStr() - 类中的方法 com.ajaxjs.util.HashHelper
Do hash
HashHelper - com.ajaxjs.util中的类
 
HashHelper(String, byte[]) - 类的构造器 com.ajaxjs.util.HashHelper
 
HashHelper(String, String) - 类的构造器 com.ajaxjs.util.HashHelper
 
hasText(String) - 类中的静态方法 com.ajaxjs.util.ObjectHelper
 
HMAC_SHA1 - 类中的静态变量 com.ajaxjs.util.HashHelper
 
HMAC_SHA256 - 类中的静态变量 com.ajaxjs.util.HashHelper
 
HYPHEN - 接口中的静态变量 com.ajaxjs.util.CommonConstant
 
HYPHEN_STR - 接口中的静态变量 com.ajaxjs.util.CommonConstant
 

I

initBuilder() - 类中的静态方法 com.ajaxjs.util.XmlHelper
XML 转换需要的对象
initFolder(File) - 类中的静态方法 com.ajaxjs.util.io.ZipHelper
检测文件所在的目录是否存在,如果没有则建立。
initFolder(String) - 类中的静态方法 com.ajaxjs.util.io.ZipHelper
检测文件所在的目录是否存在,如果没有则建立。
intList2Arr(List<Integer>) - 类中的静态方法 com.ajaxjs.util.ConvertBasicValue
Integer[] 不能直接转 int[],故设置一个函数专门处理之
isDebug - 类中的静态变量 com.ajaxjs.util.DebugTools
是否调试模式(开发模式)
isEmpty(Object[]) - 类中的静态方法 com.ajaxjs.util.ObjectHelper
Determine whether the given array is empty: i.e.
isEmpty(Collection<?>) - 类中的静态方法 com.ajaxjs.util.ObjectHelper
Return true if the supplied Collection is null or empty.
isEmpty(Map<?, ?>) - 类中的静态方法 com.ajaxjs.util.ObjectHelper
Return true if the supplied Map is null or empty.
isEmptyText(String) - 类中的静态方法 com.ajaxjs.util.ObjectHelper
 
isMatch(Pattern, String) - 类中的静态方法 com.ajaxjs.util.RegExpUtils
 
ISO8601_FORMATTER - 类中的静态变量 com.ajaxjs.util.date.Formatter
ISO8601 common used for S3 storage.
isRunningTest() - 类中的静态方法 com.ajaxjs.util.DebugTools
检测是否在运行单元测试
isStaticMethod(Method) - 类中的静态方法 com.ajaxjs.util.reflect.Methods
是否静态方法
isWideChar(char) - 类中的静态方法 com.ajaxjs.util.BoxLogger
 
isWordOneOfThem(String, String[]) - 类中的静态方法 com.ajaxjs.util.StrUtil
判断一个字符串是否属于指定的字符串数组中
isWordOneOfThem(String, List<String>) - 类中的静态方法 com.ajaxjs.util.StrUtil
判断一个字符串是否属于指定的字符串列表中
isZipFile(String) - 类中的静态方法 com.ajaxjs.util.io.ZipHelper
判断给定的文件路径是否为 ZIP 文件。

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(Map<String, T>) - 类中的静态方法 com.ajaxjs.util.MapTool
将给定的 Map 对象转换为字符串,使用指定的分隔符将键值对连接起来
join(Map<String, T>, String) - 类中的静态方法 com.ajaxjs.util.MapTool
将 Map 中的值使用指定的分隔符进行拼接。
join(Map<String, T>, String, Function<T, String>) - 类中的静态方法 com.ajaxjs.util.MapTool
Map 转换为 String
join(Map<String, T>, Function<T, String>) - 类中的静态方法 com.ajaxjs.util.MapTool
将指定的 Map 对象转换为字符串,使用指定的分隔符分隔每个元素。
join(T[], String) - 类中的静态方法 com.ajaxjs.util.StrUtil
将数组中的元素使用指定的分隔符连接成一个字符串,并返回连接后的字符串
joinAnyList(List<T>, String) - 类中的静态方法 com.ajaxjs.util.StrUtil
将列表中的元素使用指定的分隔符连接成一个字符串,并返回连接后的字符串
json2list(String, Class<T>) - 类中的静态方法 com.ajaxjs.util.JsonUtil
JSON array string converts to list with Java Bean
json2map(String) - 类中的静态方法 com.ajaxjs.util.JsonUtil
json string converts to map This method is used to convert a JSON string into a Map object with String as the key type and Object as the value type.
json2map(String, Class<T>) - 类中的静态方法 com.ajaxjs.util.JsonUtil
JSON string convert to map with javaBean
json2mapList(String) - 类中的静态方法 com.ajaxjs.util.JsonUtil
 
json2Node(String) - 类中的静态方法 com.ajaxjs.util.JsonUtil
JSON string converts to node
json2sortMap(String, Class<T>) - 类中的静态方法 com.ajaxjs.util.JsonUtil
JSON string converts to map with javaBean This method converts a JSON string into a LinkedHashMap of String keys and JavaBean values.
json2StrMap(String) - 类中的静态方法 com.ajaxjs.util.JsonUtil
Converts a JSON string to a Map object.
JsonUtil - com.ajaxjs.util中的类
Encapsulation of Jackson Library: Conversion Methods Between JSON, Map, Bean, and List.
JsonUtil() - 类的构造器 com.ajaxjs.util.JsonUtil
 

L

leftPad(String, int, String) - 类中的静态方法 com.ajaxjs.util.StrUtil
字符串左填充方法
listDirectoryContents() - 类中的方法 com.ajaxjs.util.io.FileHelper
List the contents of a directory.
listOf(T...) - 类中的静态方法 com.ajaxjs.util.ObjectHelper
Input multiple elements and returns a list of those elements.

M

map2pojo(Map<String, Object>, Class<T>) - 类中的静态方法 com.ajaxjs.util.JsonUtil
 
mapOf(int) - 类中的静态方法 com.ajaxjs.util.ObjectHelper
 
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
MapTool - com.ajaxjs.util中的类
Map 转换工具
MapTool() - 类的构造器 com.ajaxjs.util.MapTool
 
mapToXml(Map<String, ?>) - 类中的静态方法 com.ajaxjs.util.MapTool
将 Map 转换为 XML 格式的字符串
match(String, String) - 类中的静态方法 com.ajaxjs.util.RegExpUtils
 
md5(String) - 类中的静态方法 com.ajaxjs.util.HashHelper
Generates MD5 hash value for a string.
MD5 - 类中的静态变量 com.ajaxjs.util.HashHelper
 
mergeFile(Path...) - 类中的方法 com.ajaxjs.util.io.FileHelper
把多个文件合并为一个文件
Methods - com.ajaxjs.util.reflect中的类
方法相关的反射
Methods() - 类的构造器 com.ajaxjs.util.reflect.Methods
 
moveTo() - 类中的方法 com.ajaxjs.util.io.FileHelper
Move a file or directory to another location.

N

NEW_LINE - 接口中的静态变量 com.ajaxjs.util.CommonConstant
 
newInstance() - 类中的方法 com.ajaxjs.util.reflect.NewInstance
 
newInstance(Class<T>, Object...) - 类中的静态方法 com.ajaxjs.util.reflect.Clazz
根据类创建实例,可传入构造器参数。
newInstance(Constructor<T>, Object...) - 类中的静态方法 com.ajaxjs.util.reflect.Clazz
根据构造器创建实例 该函数根据给定的构造器和参数列表创建指定类的实例。
newInstance(Constructor<T>, Object...) - 类中的静态方法 com.ajaxjs.util.reflect.NewInstance
根据构造器创建实例 该函数根据给定的构造器和参数列表创建指定类的实例。
newInstance(String, Class<T>) - 类中的静态方法 com.ajaxjs.util.reflect.Clazz
根据类全称创建实例,并转换到其接口的类型
newInstance(String, Object...) - 类中的静态方法 com.ajaxjs.util.reflect.Clazz
根据类全称创建实例 该函数根据给定的类全称和参数,使用反射获取类对象并创建相应类型的对象实例。
NewInstance<T> - com.ajaxjs.util.reflect中的类
 
NewInstance(Class<T>) - 类的构造器 com.ajaxjs.util.reflect.NewInstance
 
NewInstance(Class<T>, Object...) - 类的构造器 com.ajaxjs.util.reflect.NewInstance
 
newISO8601Date() - 类中的静态方法 com.ajaxjs.util.date.DateTools
请求的时间戳。
nodeAsMap(String, String) - 类中的静态方法 com.ajaxjs.util.XmlHelper
将节点所有属性都转换为 map
NONE - 类中的静态变量 com.ajaxjs.util.BoxLogger
 
now() - 类中的静态方法 com.ajaxjs.util.date.DateTools
Obtain current time, which is formatted by default like "yyyy-MM-dd HH:mm:ss".
now(String) - 类中的静态方法 com.ajaxjs.util.date.DateTools
Obtain current time by specified format.
now(DateTimeFormatter) - 类中的静态方法 com.ajaxjs.util.date.DateTools
Obtain current time by specified format.
nowGMTDate() - 类中的静态方法 com.ajaxjs.util.date.DateTools
请求的时间戳,格式必须符合 RFC1123 的日期格式
nowShort() - 类中的静态方法 com.ajaxjs.util.date.DateTools
Obtain current time, which is formatted like "yyyy-MM-dd HH:mm".

O

OBJECT_MAPPER - 类中的静态变量 com.ajaxjs.util.JsonUtil
 
object2Date(Object) - 类中的静态方法 com.ajaxjs.util.date.DateTools
The date in basic data value (long/int/string), transform to Date type.
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
 

P

parseHexStr2Byte(String) - 类中的静态方法 com.ajaxjs.util.BytesHelper
将16进制转换为二进制
parseStringToMap(String) - 类中的静态方法 com.ajaxjs.util.UrlEncode
字符串转 Map,格式为 xxx=xxx&xxx=xxx
parseXML(String, BiConsumer<Node, NodeList>) - 类中的静态方法 com.ajaxjs.util.XmlHelper
解析 XML
pojo2map(Object) - 类中的静态方法 com.ajaxjs.util.JsonUtil
Java Bean converts to map This method is used to convert a Java Bean object into a Map object, facilitating operations such as lookup, addition, and deletion It does not require detailed explanation for simple delegation to another overload method
pojo2map(Object, Class<T>) - 类中的静态方法 com.ajaxjs.util.JsonUtil
Java Bean converts to map
print(String, Object...) - 类中的静态方法 com.ajaxjs.util.StrUtil
 
printArray(Object[]) - 类中的静态方法 com.ajaxjs.util.DebugTools
打印数组以便测试

R

RandomTools - com.ajaxjs.util中的类
Random Tools.
RandomTools() - 类的构造器 com.ajaxjs.util.RandomTools
 
readAsBytes() - 类中的方法 com.ajaxjs.util.io.DataReader
Read the data from the input stream as bytes.
readAsLineString(Consumer<String>) - 类中的方法 com.ajaxjs.util.io.DataReader
Read the text data from the input stream as line by line.
readAsString() - 类中的方法 com.ajaxjs.util.io.DataReader
Read the data from the input stream as a string.
readFileBytes() - 类中的方法 com.ajaxjs.util.io.FileHelper
Read the file content in bytes.
readStreamAsBytes(int, BiConsumer<Integer, byte[]>) - 类中的方法 com.ajaxjs.util.io.DataReader
Read the binary data from the input stream as bytes.
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
返回所有匹配项
repeat(char, int) - 类中的静态方法 com.ajaxjs.util.BoxLogger
 
Resources - com.ajaxjs.util.io中的类
 
Resources() - 类的构造器 com.ajaxjs.util.io.Resources
 

S

setKey(String) - 类中的方法 com.ajaxjs.util.HashHelper
 
setKeyBase64(String) - 类中的方法 com.ajaxjs.util.HashHelper
 
setOf(T...) - 类中的静态方法 com.ajaxjs.util.ObjectHelper
创建一个不可变的 Set,类似于 Java 9+ 的 Set.of() 支持可变参数,自动去重,返回不可修改的集合
setTarget(File) - 类中的方法 com.ajaxjs.util.io.FileHelper
 
setTarget(String) - 类中的方法 com.ajaxjs.util.io.FileHelper
 
SHA1 - 类中的静态变量 com.ajaxjs.util.HashHelper
 
SHA256 - 类中的静态变量 com.ajaxjs.util.HashHelper
 
showPlatformDefaultCharset() - 类中的静态方法 com.ajaxjs.util.StringBytes
Show platform default charset.
showTime(String) - 类中的静态方法 com.ajaxjs.util.RandomTools
Show the timestamp of a UUIDv7.
simpleGET(String) - 类中的静态方法 com.ajaxjs.util.UrlHelper
简单 GET 请求(原始 API 版),返回文本。
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
简单模板替换方法。
stringArr2intArr(String) - 类中的静态方法 com.ajaxjs.util.ConvertBasicValue
当它们每一个都是数字的字符串形式,转换为整形的数组
StringBytes - com.ajaxjs.util中的类
Convert String to bytes and bytes to String Actually, you can use `new String(bytes)`/`str.getBytes()` more easily.
StringBytes(byte[]) - 类的构造器 com.ajaxjs.util.StringBytes
Constructor.
StringBytes(String) - 类的构造器 com.ajaxjs.util.StringBytes
Constructor.
StrUtil - com.ajaxjs.util中的类
字符串工具类
StrUtil() - 类的构造器 com.ajaxjs.util.StrUtil
 

T

test(String, String) - 类中的静态方法 com.ajaxjs.util.RegExpUtils
 
to(Class<T>, ZoneId) - 类中的方法 com.ajaxjs.util.date.DateTypeConvert
Convert the input to the specified date type
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
toJson(Object) - 类中的静态方法 com.ajaxjs.util.JsonUtil
Converts a Java object to a JSON string.
toJsonPretty(Object) - 类中的静态方法 com.ajaxjs.util.JsonUtil
Java Bean, list, array converts to pretty json string
toLocalDateTime(Date) - 类中的静态方法 com.ajaxjs.util.date.DateTools
Transform Date to LocalDateTime It's a shorthand for new DateTypeConvert(date).to(LocalDateTime.class, null);
toMap(String[], String[], Function<String, Object>) - 类中的静态方法 com.ajaxjs.util.MapTool
String[] 转换为 Map,key 与 value 分别一个数组
toMap(String[], Function<String, Object>) - 类中的静态方法 com.ajaxjs.util.MapTool
String[] 转换为 Map
TRACE_KEY - 类中的静态变量 com.ajaxjs.util.BoxLogger
 
truncate(String, int) - 类中的静态方法 com.ajaxjs.util.BoxLogger
 
type2class(Type) - 类中的静态方法 com.ajaxjs.util.reflect.Types
Type 接口转换为 Class
Types - com.ajaxjs.util.reflect中的类
 
Types() - 类的构造器 com.ajaxjs.util.reflect.Types
 

U

unzip(String, String) - 类中的静态方法 com.ajaxjs.util.io.ZipHelper
解压文件
unzipWithChineseFilename(String, String) - 类中的静态方法 com.ajaxjs.util.io.ZipHelper
解压文件
urlChinese(String) - 类中的静态方法 com.ajaxjs.util.UrlEncode
URL 网址的中文乱码处理。
UrlEncode - com.ajaxjs.util中的类
 
UrlEncode(String) - 类的构造器 com.ajaxjs.util.UrlEncode
Create a new UrlEncode with input string.
UrlEncode(String, Charset) - 类的构造器 com.ajaxjs.util.UrlEncode
Create a new UrlEncode with input string and specified charset
UrlHelper - com.ajaxjs.util中的类
 
UrlHelper() - 类的构造器 com.ajaxjs.util.UrlHelper
 
UTF8 - 接口中的静态变量 com.ajaxjs.util.CommonConstant
 
uuid() - 类中的静态方法 com.ajaxjs.util.RandomTools
Generate a UUIDv7.
uuidStr() - 类中的静态方法 com.ajaxjs.util.RandomTools
Generate a UUIDv7 string without hyphen.

W

WebUtils - com.ajaxjs.util中的类
Web 工具类
WebUtils() - 类的构造器 com.ajaxjs.util.WebUtils
 
write(byte[]) - 类中的方法 com.ajaxjs.util.io.DataWriter
Input all the bytes to output stream.
write(byte[], int, int) - 类中的方法 com.ajaxjs.util.io.DataWriter
Input bytes to output stream.
write(InputStream) - 类中的方法 com.ajaxjs.util.io.DataWriter
Write data from an input stream to an output stream.
writeFileContent(String) - 类中的方法 com.ajaxjs.util.io.FileHelper
将字符串内容写入文件。

X

XmlHelper - com.ajaxjs.util中的类
XML 处理工具类 ...
XmlHelper() - 类的构造器 com.ajaxjs.util.XmlHelper
 
xmlToMap(String) - 类中的静态方法 com.ajaxjs.util.MapTool
XML 格式字符串转换为 Map
xPath(String, String, Consumer<Node>) - 类中的静态方法 com.ajaxjs.util.XmlHelper
获取某个节点

Z

zipDirectory(String, String, boolean) - 类中的静态方法 com.ajaxjs.util.io.ZipHelper
递归压缩目录为ZIP
zipFile(File[], String, boolean) - 类中的静态方法 com.ajaxjs.util.io.ZipHelper
一维文件数组压缩为 ZIP
ZipHelper - com.ajaxjs.util.io中的类
ZIP 压缩/解压缩
ZipHelper() - 类的构造器 com.ajaxjs.util.io.ZipHelper
 
A B C D E F G H I J L M N O P R S T U W X Z 
常量字段值|所有程序包|所有类和接口