Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W X Z 

A

add(double, double) - Static method in class top.hmtools.Math.ArithHelper
提供精确的加法运算。
add(String, String) - Static method in class top.hmtools.Math.ArithHelper
 
addToRows(T...) - Method in class top.hmtools.model.ResultModel
追加数据到列表数据集
AESTools - Class in top.hmtools.security
 
AESTools() - Constructor for class top.hmtools.security.AESTools
 
Application - Enum in top.hmtools.javaWeb.userAgent
Enum constants for internet applications like web-application and rich internet application.
ApplicationType - Enum in top.hmtools.javaWeb.userAgent
Enum constants classifying the different types of applications which are common in referrer strings
ArithHelper - Class in top.hmtools.Math
 

B

Base64Tools - Class in top.hmtools.security
base64加密解密工具
Browser - Enum in top.hmtools.javaWeb.userAgent
Enum constants for most common browsers, including e-mail clients and bots.
BrowserType - Enum in top.hmtools.javaWeb.userAgent
Enum constants classifying the different types of browsers which are common in user-agent strings

C

calculate(String) - Method in class top.hmtools.Math.Calculator
按照给定的表达式计算
Calculator - Class in top.hmtools.Math
算数表达式求值 直接调用Calculator的类方法conversion() 传入算数表达式,将返回一个浮点值结果 如果计算过程错误,将返回一个NaN
Calculator() - Constructor for class top.hmtools.Math.Calculator
 
camelToUnderline(String) - Static method in class top.hmtools.base.StringTools
驼峰格式字符串转换为下划线格式字符串
charset(String) - Static method in class top.hmtools.base.CharsetTools
转换为Charset对象
CHARSET_GBK - Static variable in class top.hmtools.base.CharsetTools
GBK
CHARSET_ISO_8859_1 - Static variable in class top.hmtools.base.CharsetTools
ISO-8859-1
CHARSET_UTF_8 - Static variable in class top.hmtools.base.CharsetTools
UTF-8
CharsetGuessTools - Class in top.hmtools.base
猜测字符编码工具
CharsetGuessTools() - Constructor for class top.hmtools.base.CharsetGuessTools
 
CharsetTools - Class in top.hmtools.base
字符集工具类
CharsetTools() - Constructor for class top.hmtools.base.CharsetTools
 
checkCompareTo(String, String) - Method in class top.hmtools.io.IOCase
Compares two strings using the case-sensitivity rule.
checkEndsWith(String, String) - Method in class top.hmtools.io.IOCase
Checks if one string ends with another using the case-sensitivity rule.
checkEquals(String, String) - Method in class top.hmtools.io.IOCase
Compares two strings using the case-sensitivity rule.
checkIndexOf(String, int, String) - Method in class top.hmtools.io.IOCase
Checks if one string contains another starting at a specific index using the case-sensitivity rule.
checkRegionMatches(String, int, String) - Method in class top.hmtools.io.IOCase
Checks if one string contains another at a specific index using the case-sensitivity rule.
checkStartsWith(String, String) - Method in class top.hmtools.io.IOCase
Checks if one string starts with another using the case-sensitivity rule.
CIPHER_ALGORITHM - Static variable in class top.hmtools.security.RSATools
貌似默认是RSA/NONE/PKCS1Padding,未验证
ClassTools - Class in top.hmtools.base
class 相关操作工具类
ClassTools() - Constructor for class top.hmtools.base.ClassTools
 
clear() - Static method in class top.hmtools.base.ThreadLocalTools
清空
closeQuietly(Reader) - Static method in class top.hmtools.io.IoTools
关闭输入流
closeQuietly(Writer) - Static method in class top.hmtools.io.IoTools
关闭输出流
closeQuietly(InputStream) - Static method in class top.hmtools.io.IoTools
关闭输入流
closeQuietly(OutputStream) - Static method in class top.hmtools.io.IoTools
关闭输出流
closeQuietly(Closeable...) - Static method in class top.hmtools.io.IoTools
关闭流
closeQuietly(Socket) - Static method in class top.hmtools.io.IoTools
关闭socket端口
closeQuietly(Closeable) - Static method in class top.hmtools.io.IoTools
关闭数据流
closeQuietly(Selector) - Static method in class top.hmtools.io.IoTools
关闭选择器
closeQuietly(ServerSocket) - Static method in class top.hmtools.io.IoTools
关闭serversocket端口
compare(char, char) - Method in class top.hmtools.Math.Calculator
利用ASCII码-40做下标去算术符号优先级
concat(String, String) - Static method in class top.hmtools.io.FileNameTools
组合生成完整文件路径 Concatenates a filename to a base path using normal command line style rules.
containsKey(Object) - Static method in class top.hmtools.base.ThreadLocalTools
是否存在指定key名的元素
ControllerInfo - Annotation Type in top.hmtools.annotation
描述controller信息的注解
ControllerInfoModel - Class in top.hmtools.model
描述controller信息的实体类
ControllerInfoModel() - Constructor for class top.hmtools.model.ControllerInfoModel
 
ControllerInfoTools - Class in top.hmtools.annotation
解析ControllerInfo注解信息为实体类对象的工具
ControllerInfoTools() - Constructor for class top.hmtools.annotation.ControllerInfoTools
 
conversion(String) - Static method in class top.hmtools.Math.Calculator
 
convert(String, String, String) - Static method in class top.hmtools.base.CharsetTools
转换字符串的字符集编码
convert(String, Charset, Charset) - Static method in class top.hmtools.base.CharsetTools
转换字符串的字符集编码
当以错误的编码读取为字符串时,打印字符串将出现乱码。
此方法用于纠正因读取使用编码错误导致的乱码问题。
例如,在Servlet请求中客户端用GBK编码了请求参数,我们使用UTF-8读取到的是乱码,此时,使用此方法即可还原原编码的内容
copy(InputStream, OutputStream) - Static method in class top.hmtools.io.IoTools
数据流复制
copy(InputStream, OutputStream, byte[]) - Static method in class top.hmtools.io.IoTools
数据流复制
copy(InputStream, OutputStream, IStreamProgress) - Static method in class top.hmtools.io.IoTools
数据流复制
copy(InputStream, OutputStream, byte[], IStreamProgress) - Static method in class top.hmtools.io.IoTools
数据流复制
copyLarge(InputStream, OutputStream) - Static method in class top.hmtools.io.IoTools
支持复制容量超过2GB的数据流
copyLarge(InputStream, OutputStream, byte[]) - Static method in class top.hmtools.io.IoTools
支持复制容量超过2GB的数据流
copyLarge(InputStream, OutputStream, IStreamProgress) - Static method in class top.hmtools.io.IoTools
支持复制容量超过2GB的数据流
copyLarge(InputStream, OutputStream, byte[], IStreamProgress) - Static method in class top.hmtools.io.IoTools
支持复制容量超过2GB的数据流
copyLarge(InputStream, OutputStream, long, IStreamProgress) - Static method in class top.hmtools.io.IoTools
从指定位置复制数据流,使用缺省的缓存大小
copyLarge(InputStream, OutputStream, long, long, IStreamProgress) - Static method in class top.hmtools.io.IoTools
从指定位置复制指定长度的数据流,使用缺省的缓存大小
copyLarge(InputStream, OutputStream, long, long, byte[], IStreamProgress) - Static method in class top.hmtools.io.IoTools
从指定位置复制指定长度的数据流
copyLarge(InputStream, OutputStream, int, long, IStreamProgress) - Static method in class top.hmtools.io.NioTools
从输入流的指定位置复制流
copyLarge(InputStream, OutputStream, int, IStreamProgress) - Static method in class top.hmtools.io.NioTools
复制流
copyLarge(ReadableByteChannel, WritableByteChannel, int, IStreamProgress) - Static method in class top.hmtools.io.NioTools
复制流

D

DataTypeMysql2Java - Class in top.hmtools.conversion
MySQL数据类型转Java数据类型工具
DataTypeMysql2Java() - Constructor for class top.hmtools.conversion.DataTypeMysql2Java
 
DataTypeMysql2JavaTools - Class in top.hmtools.conversion
MySQL数据类型转Java数据类型工具
DataTypeMysql2JavaTools() - Constructor for class top.hmtools.conversion.DataTypeMysql2JavaTools
 
DateFormatTools - Class in top.hmtools.dataFormat
格式化日期的工具类 yYear1996; 96M 年中的月份 MonthJuly; Jul; 07w 年中的周数 Number27W 月份中的周数 Number2D 年中的天数 Number189d 月份中的天数 Number10F 月份中的星期 Number2E 星期中的天数 TextTuesday; Tuea Am/pm 标记 TextPMH 一天中的小时数(0-23) Number0k 一天中的小时数(1-24) Number24K am/pm 中的小时数(0-11) Number0h am/pm 中的小时数(1-12) Number12m 小时中的分钟数 Number30s 分钟中的秒数 Number55S 毫秒数 Number978z 时区 General time zonePacific Standard Time; PST; GMT-08:00Z 时区 RFC 822 time zone-0800
DateFormatTools() - Constructor for class top.hmtools.dataFormat.DateFormatTools
 
decode(String) - Static method in class top.hmtools.security.Base64Tools
解密
decodeBASE64(String) - Static method in class top.hmtools.security.RSATools
base64解码
top.hmtools.security.BASE64.decode(String)
decodeColor(String) - Static method in class top.hmtools.base.HexTools
将Hex颜色值转为
decodeHex(char[]) - Static method in class top.hmtools.base.HexTools
将十六进制字符数组转换为字节数组
decodeHex(String) - Static method in class top.hmtools.base.HexTools
将十六进制字符串解码为byte[]
decodeHexStr(String) - Static method in class top.hmtools.base.HexTools
将十六进制字符数组转换为字符串,默认编码UTF-8
decodeHexStr(String, Charset) - Static method in class top.hmtools.base.HexTools
将十六进制字符数组转换为字符串
decodeHexStr(char[], Charset) - Static method in class top.hmtools.base.HexTools
将十六进制字符数组转换为字符串
decryptData(byte[], byte[]) - Static method in class top.hmtools.security.AESTools
AES解密
方法说明: decryptData
输入参数说明:
@param key
@param data
@return
@throws NoSuchAlgorithmException
@throws NoSuchPaddingException
@throws InvalidKeyException
@throws IllegalBlockSizeException
@throws BadPaddingException
输出参数说明:
byte[]
DEFAULT_BUFFER_SIZE - Static variable in class top.hmtools.io.IoTools
默认缓存大小
DEFAULT_BUFFER_SIZE - Static variable in class top.hmtools.io.NioTools
默认缓存大小
DEFAULT_LARGE_BUFFER_SIZE - Static variable in class top.hmtools.io.IoTools
默认缓存大小
DEFAULT_LARGE_BUFFER_SIZE - Static variable in class top.hmtools.io.NioTools
默认缓存大小
defaultCharset() - Static method in class top.hmtools.base.CharsetTools
系统默认字符集编码
defaultCharsetName() - Static method in class top.hmtools.base.CharsetTools
系统默认字符集编码
DESTools - Class in top.hmtools.security
 
DESTools() - Constructor for class top.hmtools.security.DESTools
 
DeviceType - Enum in top.hmtools.javaWeb.userAgent
Enum contact for the type of used device
directoryContains(String, String) - Static method in class top.hmtools.io.FileNameTools
Determines whether the parent directory contains the child element (a file or directory).
distillRegex(String, String) - Static method in class top.hmtools.base.StringTools
根据正则表达式,提取文本中所有符合的数据集合
div(double, double) - Static method in class top.hmtools.Math.ArithHelper
提供(相对)精确的除法运算,当发生除不尽的情况时,精确到 小数点以后10位,以后的数字四舍五入。
div(String, String) - Static method in class top.hmtools.Math.ArithHelper
 
div(double, double, int) - Static method in class top.hmtools.Math.ArithHelper
提供(相对)精确的除法运算。当发生除不尽的情况时,由scale参数指 定精度,以后的数字四舍五入。
doGuess(byte[]) - Static method in class top.hmtools.base.CharsetGuessTools
根据字节码数组,猜测编码类型
依据:如果文本头有bom信息则可知其对应的字符编码。
此外,GBK与UTF-8都有可能,二者都可以没有bom信息。经观察发现,ASCII对应的字符是二者一致的部分,
经尝试多个中文字符,发现在UTF-8中的编码在以16进制字符串表示时,基本上是以“E”开头,而GBK则不是。
准确性还有待验证,如果猜测不准确,请联系作者:嗨啵
电子邮箱:J@hybo.net
doGuess(byte[]) - Static method in class top.hmtools.base.CharsetTools
 
DoubleTools - Class in top.hmtools.base
Double数据相关工具类
DoubleTools() - Constructor for class top.hmtools.base.DoubleTools
 

E

ECharsetBom - Enum in top.hmtools.base
字符编码名称与16进制表示的bom头信息
EDataFormat - Enum in top.hmtools.enums
数据格式枚举
EDataType - Enum in top.hmtools.enums
数据类型枚举
EDateFormat - Enum in top.hmtools.enums
日期格式枚举
encode(byte[]) - Static method in class top.hmtools.security.Base64Tools
加密
encodeBASE64(byte[]) - Static method in class top.hmtools.security.RSATools
base64编码
top.hmtools.security.BASE64.encode(byte[])
encodeColor(Color) - Static method in class top.hmtools.base.HexTools
Color编码为Hex形式
encodeColor(Color, String) - Static method in class top.hmtools.base.HexTools
Color编码为Hex形式
encodeHex(byte[]) - Static method in class top.hmtools.base.HexTools
将字节数组转换为十六进制字符数组
encodeHex(String, Charset) - Static method in class top.hmtools.base.HexTools
将字符串转换为十六进制字符数组
encodeHex(byte[], boolean) - Static method in class top.hmtools.base.HexTools
将字节数组转换为十六进制字符数组
encodeHexStr(byte[]) - Static method in class top.hmtools.base.HexTools
将字节数组转换为十六进制字符串
encodeHexStr(String, Charset) - Static method in class top.hmtools.base.HexTools
将字节数组转换为十六进制字符串,结果为小写
encodeHexStr(String) - Static method in class top.hmtools.base.HexTools
将字节数组转换为十六进制字符串,结果为小写,默认编码是UTF-8
encodeHexStr(byte[], boolean) - Static method in class top.hmtools.base.HexTools
将字节数组转换为十六进制字符串
encryptData(byte[], byte[]) - Static method in class top.hmtools.security.AESTools
AES加密
方法说明: encryptData
输入参数说明:
@param key
@param data
@return
@throws Exception
输出参数说明:
byte[]
EOF - Static variable in class top.hmtools.io.IoTools
数据流末尾
EOF - Static variable in class top.hmtools.io.NioTools
数据流末尾
equals(String, String) - Static method in class top.hmtools.io.FileNameTools
Checks whether two filenames are equal exactly.
equals(String, String, boolean, IOCase) - Static method in class top.hmtools.io.FileNameTools
Checks whether two filenames are equal, optionally normalizing and providing control over the case-sensitivity.
equals(Object) - Method in class top.hmtools.javaWeb.userAgent.UserAgentTools
 
equals(Object) - Method in class top.hmtools.javaWeb.userAgent.Version
 
equalsNormalized(String, String) - Static method in class top.hmtools.io.FileNameTools
Checks whether two filenames are equal after both have been normalized.
equalsNormalizedOnSystem(String, String) - Static method in class top.hmtools.io.FileNameTools
Checks whether two filenames are equal after both have been normalized and using the case rules of the system.
equalsOnSystem(String, String) - Static method in class top.hmtools.io.FileNameTools
Checks whether two filenames are equal using the case rules of the system.
Extension2Mime - Class in top.hmtools.conversion
文件扩展名与MIME名转换工具
Extension2Mime() - Constructor for class top.hmtools.conversion.Extension2Mime
 
Extension2MimeTools - Class in top.hmtools.conversion
文件扩展名与MIME名转换工具
Extension2MimeTools() - Constructor for class top.hmtools.conversion.Extension2MimeTools
 
EXTENSION_SEPARATOR - Static variable in class top.hmtools.io.FileNameTools
扩展名与文件名隔离的标点字符 The extension separator character.
EXTENSION_SEPARATOR_STR - Static variable in class top.hmtools.io.FileNameTools
扩展名与文件名隔离的标点字符串 The extension separator String.

F

FileNameTools - Class in top.hmtools.io
操作文件名相关工具
FileNameTools() - Constructor for class top.hmtools.io.FileNameTools
Instances should NOT be constructed in standard programming.
FileTypeTools - Class in top.hmtools.io
文件类型判断工具类
finish() - Method in interface top.hmtools.io.IStreamProgress
结束
FloatTools - Class in top.hmtools.base
操作浮点数float相关工具
FloatTools() - Constructor for class top.hmtools.base.FloatTools
 
forName(String) - Static method in class top.hmtools.io.IOCase
Factory method to create an IOCase from a name.

G

GBK - Static variable in class top.hmtools.base.CharsetTools
GBK
generateLongId() - Static method in class top.hmtools.prikey.SnowflakeTools
生成long数据类型的Snowflake id
机器id基于网卡mac地址生成。
数据中心id基于网卡ip地址生成。
generateLongId(long, long) - Static method in class top.hmtools.prikey.SnowflakeTools
生成long数据类型的Snowflake id
机器id基于网卡mac地址生成。
数据中心id基于网卡ip地址生成。
generateStringId() - Static method in class top.hmtools.prikey.SnowflakeTools
生成String数据类型的Snowflake id
机器id基于网卡mac地址生成。
数据中心id基于网卡ip地址生成。
generateStringId(long, long) - Static method in class top.hmtools.prikey.SnowflakeTools
生成String数据类型的Snowflake id
机器id基于网卡mac地址生成。
数据中心id基于网卡ip地址生成。
get(Object) - Static method in class top.hmtools.base.ThreadLocalTools
获取一条数据
get(K, Class<V>) - Static method in class top.hmtools.base.ThreadLocalTools
获取一条数据
get(Object, Class<TT>) - Method in class top.hmtools.model.ResultModel
根据key获取映射中的值
get(ResultModel.keyNames, Class<TT>) - Method in class top.hmtools.model.ResultModel
根据key获取映射中的值
getAllDirFileList(String) - Static method in class top.hmtools.io.IoFileTools
获取指定路径下的所有文件夹及文件列表数据集合(包括其子目录)
getAllFiles(String) - Static method in class top.hmtools.io.IoFileTools
获取 指定 目录下及其子文件夹下的所有文件
getAllFilterFilesBySuffixes(String, List<String>) - Static method in class top.hmtools.io.IoFileTools
获取指定目录文件夹下包括子目录所有以指定后缀数据集合的文件记录集合
getApplicationType() - Method in enum top.hmtools.javaWeb.userAgent.Application
 
getArrayList(T[]) - Static method in class top.hmtools.collection.ListTools
将数组转换为ArrayList,支持泛型。 方法说明: getArrayList 输入参数说明: @param array 输入参数说明: @return 输出参数说明: List
getArrayList(String, String) - Static method in class top.hmtools.collection.ListTools
将字符串按指定分隔符分隔后,获取其ArrayList集合 方法说明: getArrayList 输入参数说明: @param src 输入参数说明: @param split 输入参数说明: @return 输出参数说明: ArrayList
getBaseName(String) - Static method in class top.hmtools.io.FileNameTools
获取文件名 Gets the base name, minus the full path and extension, from a full filename.
getBomHead() - Method in enum top.hmtools.base.ECharsetBom
获取bom头16进制字符串
getBrowser() - Method in class top.hmtools.javaWeb.userAgent.UserAgentTools
获取客户端浏览器信息
必须在执行 UserAgent(String) 或者 UserAgent.parseUserAgent(String)后使用。
如果没有可用的信息,会返回null
getBrowserType() - Method in enum top.hmtools.javaWeb.userAgent.Browser
 
getBrowserVersion() - Method in class top.hmtools.javaWeb.userAgent.UserAgentTools
获取浏览器版本信息
必须在执行 UserAgent(String) 或者 UserAgent.parseUserAgent(String)后使用。
如果没有可用的信息,会返回null
getComment() - Method in class top.hmtools.model.ParamInfoModel
 
getComment() - Method in class top.hmtools.model.ResultInfoModel
 
getControllerInfoOfClass(Class<?>) - Static method in class top.hmtools.annotation.ControllerInfoTools
将指定对象中的ControllerInfo注解解析成ControllerInfoModel
getControllerInfoOfMethod(Method) - Static method in class top.hmtools.annotation.ControllerInfoTools
将指定方法中ControllerInfo注解解析成ControllerInfoModel
getCurrentProjectDir() - Static method in class top.hmtools.system.SystemInfoTools
获取用户当前运行Java程序所在的路径
getCurrPageNo() - Method in class top.hmtools.model.PageModel
当前页码
getDataMaxLength() - Method in class top.hmtools.model.ParamInfoModel
 
getDataMaxLength() - Method in class top.hmtools.model.ResultInfoModel
 
getDataMinLength() - Method in class top.hmtools.model.ParamInfoModel
 
getDataMinLength() - Method in class top.hmtools.model.ResultInfoModel
 
getDataType() - Method in class top.hmtools.model.ParamInfoModel
 
getDataType() - Method in class top.hmtools.model.ResultInfoModel
 
getDefaultValue() - Method in class top.hmtools.model.ParamInfoModel
 
getDefaultValue() - Method in class top.hmtools.model.ResultInfoModel
 
getDeviceType() - Method in enum top.hmtools.javaWeb.userAgent.OperatingSystem
 
getDirFileList(String) - Static method in class top.hmtools.io.IoFileTools
获取当前文件夹或者当前文件所在文件夹下所有的文件列表信息
getDirList(String) - Static method in class top.hmtools.io.IoFileTools
获取当前文件所在目录(或者当前目录)下所有文件夹列表
getDirs(File[]) - Static method in class top.hmtools.io.IoFileTools
过滤出所有 文件夹
getDiskPartitionFreeSpaceByte(File) - Static method in class top.hmtools.io.IoFileTools
获取指定文件夹所在磁盘分区的空闲容量
单位:Byte
getDiskPartitionFreeSpaceGB(File) - Static method in class top.hmtools.io.IoFileTools
获取指定文件夹所在磁盘分区的空闲容量
单位:GB
getDiskPartitionFreeSpaceKB(File) - Static method in class top.hmtools.io.IoFileTools
获取指定文件夹所在磁盘分区的空闲容量
单位:KB
getDiskPartitionFreeSpaceMB(File) - Static method in class top.hmtools.io.IoFileTools
获取指定文件夹所在磁盘分区的空闲容量
单位:MB
getDiskPartitionTotalSpaceByte(File) - Static method in class top.hmtools.io.IoFileTools
获取指定文件夹所在磁盘分区的总容量
单位 Byte
getDiskPartitionTotalSpaceGB(File) - Static method in class top.hmtools.io.IoFileTools
获取指定文件夹所在磁盘分区的总容量
单位 GByte
getDiskPartitionTotalSpaceKB(File) - Static method in class top.hmtools.io.IoFileTools
获取指定文件夹所在磁盘分区的总容量
单位 KByte
getDiskPartitionTotalSpaceMB(File) - Static method in class top.hmtools.io.IoFileTools
获取指定文件夹所在磁盘分区的总容量
单位 MByte
getDiskPartitionTotalSpaceTB(File) - Static method in class top.hmtools.io.IoFileTools
获取指定文件夹所在磁盘分区的总容量
单位 TByte
getDiskPartitionUsableSpaceByte(File) - Static method in class top.hmtools.io.IoFileTools
获取指定文件夹所在磁盘分区的可用容量
单位:Byte
getDiskPartitionUsableSpaceGB(File) - Static method in class top.hmtools.io.IoFileTools
获取指定文件夹所在磁盘分区的可用容量
单位:GB
getDiskPartitionUsableSpaceKB(File) - Static method in class top.hmtools.io.IoFileTools
获取指定文件夹所在磁盘分区的可用容量
单位:KB
getDiskPartitionUsableSpaceMB(File) - Static method in class top.hmtools.io.IoFileTools
获取指定文件夹所在磁盘分区的可用容量
单位:MB
getEncodeName() - Method in enum top.hmtools.base.ECharsetBom
获取字符编码名称
getEndItemNo() - Method in class top.hmtools.model.PageModel
当前页码中条目的结束条目排序号
以“0”表示第一条记录
getEndPageNo() - Method in class top.hmtools.model.PageModel
末页页码
getExtension(String) - Static method in class top.hmtools.io.FileNameTools
获取文件扩展名 Gets the extension of a filename.
getExtensionByMime(String) - Static method in class top.hmtools.conversion.Extension2Mime
根据MIME获取对应的文件扩展名集合
getFileList(String) - Static method in class top.hmtools.io.IoFileTools
获取当前文件所在目录(或者当前目录)下所有文件(不包括文件夹)列表
getFiles(File[]) - Static method in class top.hmtools.io.IoFileTools
过滤出所有 文件
getFilterFilesBySuffix(File[], String) - Static method in class top.hmtools.io.IoFileTools
根据一条文件名后缀 过滤 文件集合
getFilterFilesBySuffixes(File[], String...) - Static method in class top.hmtools.io.IoFileTools
 
getFilterFilesBySuffixes(File[], List<String>) - Static method in class top.hmtools.io.IoFileTools
根据多个文件名后缀 过滤 文件集合
getFilterMap(Map<T, E>, List<T>) - Static method in class top.hmtools.collection.MapTools
获取过滤后的map
getFirstPageNo() - Method in class top.hmtools.model.PageModel
首页页码
getFormatDatetime(Date, EDateFormat) - Static method in class top.hmtools.dataFormat.DateFormatTools
格式化日期为字符串
getFormatDatetime(Date, String) - Static method in class top.hmtools.dataFormat.DateFormatTools
格式化日期为字符串
字母 日期或时间元素 表示 示例 G Era 标志符 Text AD
yYear1996; 96M 年中的月份 MonthJuly; Jul; 07w 年中的周数 Number27W 月份中的周数 Number2D 年中的天数 Number189d 月份中的天数 Number10F 月份中的星期 Number2E 星期中的天数 TextTuesday; Tuea Am/pm 标记 TextPMH 一天中的小时数(0-23) Number0k 一天中的小时数(1-24) Number24K am/pm 中的小时数(0-11) Number0h am/pm 中的小时数(1-12) Number12m 小时中的分钟数 Number30s 分钟中的秒数 Number55S 毫秒数 Number978z 时区 General time zonePacific Standard Time; PST; GMT-08:00Z 时区 RFC 822 time zone-0800
getFreeMemory() - Static method in class top.hmtools.system.RuntimeInfoTools
获得JVM已分配内存中的剩余空间
getFullJavaName(String) - Static method in class top.hmtools.conversion.DataTypeMysql2Java
根据MySQL数据类型名称获取完全限定名称的Java数据对象类型
getFullPath(String) - Static method in class top.hmtools.io.FileNameTools
获取文件所在路径的全路径 Gets the full path from a full filename, which is the prefix + path.
getFullPathNoEndSeparator(String) - Static method in class top.hmtools.io.FileNameTools
获取文件所在路径的全路径 Gets the full path from a full filename, which is the prefix + path, and also excluding the final directory separator.
getGenerateKeyBase64Str(Integer) - Static method in class top.hmtools.security.RSATools
获取RSA公钥私钥对(base64编码后)
getGenerateKeyBytes(Integer) - Static method in class top.hmtools.security.RSATools
获取RSA公钥私钥对
getGenerateShortUuid(int, char[]) - Static method in class top.hmtools.random.RandomStringTools
获取指定长度,指定字典的随机字符串
getGenerateShortUuid(int) - Static method in class top.hmtools.random.RandomStringTools
获取指定长度的随机字符串
仅数字跟字母组合,区分大小写。
可生成指定任意长度
getGroup() - Method in enum top.hmtools.javaWeb.userAgent.Browser
 
getGroup() - Method in enum top.hmtools.javaWeb.userAgent.OperatingSystem
 
getId() - Method in enum top.hmtools.javaWeb.userAgent.Application
 
getId() - Method in enum top.hmtools.javaWeb.userAgent.Browser
 
getId() - Method in enum top.hmtools.javaWeb.userAgent.Manufacturer
 
getId() - Method in enum top.hmtools.javaWeb.userAgent.OperatingSystem
 
getId() - Method in class top.hmtools.javaWeb.userAgent.UserAgentTools
Returns an unique integer value of the operating system & browser combination
getInfoFromFileName(String) - Static method in class top.hmtools.io.FileNameTools
从文件名中提取信息,须结合 top.hmtools.io.FileNameTools.saveInifo2FileName(Map, String) 配对使用
getInputDataFormat() - Method in class top.hmtools.model.ControllerInfoModel
 
getIntByMax(int) - Static method in class top.hmtools.random.RandomIntTools
获取0~max范围内的随机整数 方法说明: getIntByMax 输入参数说明: @param max 输入参数说明: @return 输出参数说明: int
getIntByRange(int, int) - Static method in class top.hmtools.random.RandomIntTools
获取指定范围的随机整数 方法说明: getIntByRange 输入参数说明: @param min 输入参数说明: @param max 输入参数说明: @return 输出参数说明: int
getIsEndPageNo() - Method in class top.hmtools.model.PageModel
当前页是否是末页
getIsFirstPageNo() - Method in class top.hmtools.model.PageModel
当前页是否是首页
getIsHasNextPageNo() - Method in class top.hmtools.model.PageModel
是否有下一页
getIsHasPrePageNo() - Method in class top.hmtools.model.PageModel
是否有上一页
getJavaVersionMatches(String) - Static method in class top.hmtools.system.SystemInfoTools
匹配当前Java的版本。
getJDKVersionFloat() - Static method in class top.hmtools.system.SystemInfoTools
取得当前Java impl.的版本的float值。
getJDKVersionInt() - Static method in class top.hmtools.system.SystemInfoTools
取得当前Java impl.的版本的int值。
getJDKVersionStr() - Static method in class top.hmtools.system.SystemInfoTools
获取当前运行环境的jdk版本号(字符串数据类型结果)
getJREClassPath() - Static method in class top.hmtools.system.SystemInfoTools
取得当前JRE的系统classpath(取自系统属性:java.class.path)。
getJREClassPathArray() - Static method in class top.hmtools.system.SystemInfoTools
取得当前JRE的系统classpath(取自系统属性:java.class.path)。
getJREClassVersion() - Static method in class top.hmtools.system.SystemInfoTools
取得当前JRE的class文件格式的版本(取自系统属性:java.class.version)。
getJREEndorsedDirs() - Static method in class top.hmtools.system.SystemInfoTools
取得当前JRE的endorsed目录列表(取自系统属性:java.endorsed.dirs)。
getJREExtDirs() - Static method in class top.hmtools.system.SystemInfoTools
取得当前JRE的扩展目录列表(取自系统属性:java.ext.dirs)。
getJREHomeDir() - Static method in class top.hmtools.system.SystemInfoTools
取得当前JRE的安装目录(取自系统属性:java.home)。
getJRELibraryPath() - Static method in class top.hmtools.system.SystemInfoTools
取得当前JRE的library搜索路径(取自系统属性:java.library.path)。
getJRELibraryPathArray() - Static method in class top.hmtools.system.SystemInfoTools
取得当前JRE的library搜索路径(取自系统属性:java.library.path)。
getJREName() - Static method in class top.hmtools.system.SystemInfoTools
取得当前JRE的名称(取自系统属性:java.runtime.name)。
getJREProtocolPackages() - Static method in class top.hmtools.system.SystemInfoTools
取得当前JRE的URL协议packages列表(取自系统属性:java.library.path)。
getJREVersion() - Static method in class top.hmtools.system.SystemInfoTools
取得当前JRE的版本(取自系统属性:java.runtime.version)。
getJVMInfo() - Static method in class top.hmtools.system.SystemInfoTools
取得当前JVM impl.的信息(取自系统属性:java.vm.info)。
getJVMName() - Static method in class top.hmtools.system.SystemInfoTools
取得当前JVM impl.的名称(取自系统属性:java.vm.name)。
getJVMVendor() - Static method in class top.hmtools.system.SystemInfoTools
取得当前JVM impl.的厂商(取自系统属性:java.vm.vendor)。
getJVMVersion() - Static method in class top.hmtools.system.SystemInfoTools
取得当前JVM impl.的版本(取自系统属性:java.vm.version)。
getLastPageEndId() - Method in class top.hmtools.model.PageModel
上一页最后一条记录的ID
getLocalHostName() - Static method in class top.hmtools.system.IPTools
获取本机 机器名称
getLocalIp() - Static method in class top.hmtools.system.IPTools
获取本机IP地址(适用于单个网卡时)
getLocalIps() - Static method in class top.hmtools.system.IPTools
获取本机的所有IP地址(适用于多个网卡时)
getLowMd5ByBigFile(String) - Static method in class top.hmtools.security.MD5Tools
获取大容量文件的MD5值,结果中的英文字母为小写
getLowMd5ByBigFile(File) - Static method in class top.hmtools.security.MD5Tools
获取大容量文件的MD5值,结果中的英文字母为小写
getLowMd5ByFileIo(File) - Static method in class top.hmtools.security.MD5Tools
通过IO读取文件,并计算出其MD5值,结果为英文字母小写
getLowMd5ByFileNio(File) - Static method in class top.hmtools.security.MD5Tools
通过NIO读取文件,并计算出其MD5值,结果为英文字母小写
getLowMd5Sign(Map<String, String>, List<String>, String, String) - Static method in class top.hmtools.security.MD5SignTools
对map中数据按字典排序后,并按指定连接符号连接,获取MD5签名
getLowMD5Str(byte[]) - Static method in class top.hmtools.security.MD5Tools
获得 字节数组 的MD5加密值,结果为英文字母小写
getLowMD5Str(String) - Static method in class top.hmtools.security.MD5Tools
获得 字符串 的MD5加密值,结果为英文字母小写
getLowSHA1Str(InputStream) - Static method in class top.hmtools.security.SHA1Tools
获取输入流的SHA1加密值,结果为英文字母小写
20180315 通过了与Apache Commons codec 的计算结果比对
方法说明: getLowSHA1Str
输入参数说明:
@param inputStream
@return
输出参数说明:
String
getLowSHA1Str(File) - Static method in class top.hmtools.security.SHA1Tools
获取文件的SHA1加密值,结果为英文字母小写
20180315 通过了与Apache Commons codec 的计算结果比对
方法说明: getLowSHA1Str
输入参数说明:
@param file
@return
输出参数说明:
String
getLowSHA1Str(byte[]) - Static method in class top.hmtools.security.SHA1Tools
获得 字节数组 的SHA1加密值,结果为英文字母小写
20180315 通过了与Apache Commons codec 的计算结果比对
方法说明: getLowSHA1Str
输入参数说明:
@param bytes
@return
@throws NoSuchAlgorithmException
输出参数说明:
String
getLowSHA1Str(String, Charset) - Static method in class top.hmtools.security.SHA1Tools
获得 字符串(指定字符编码) 的SHA1加密值,结果为英文字母小写
20180315 通过了与Apache Commons codec 的计算结果比对
方法说明: getLowSHA1Str
输入参数说明:
@param str
@param charset
@return
@throws NoSuchAlgorithmException
输出参数说明:
String
getLowSHA1Str(String) - Static method in class top.hmtools.security.SHA1Tools
获得 字符串 的SHA1加密值,结果为英文字母小写
20180315 通过了与Apache Commons codec 的计算结果比对
方法说明: getLowSHA1Str
输入参数说明:
@param str
@return
@throws NoSuchAlgorithmException
输出参数说明:
String
getLowStr(InputStream, SecurityTools.ESecurityName) - Static method in class top.hmtools.security.SecurityTools
获取输入流的加密值,结果为英文字母小写
方法说明: getLowStr
输入参数说明:
getLowStr(File, SecurityTools.ESecurityName) - Static method in class top.hmtools.security.SecurityTools
获取文件的加密值,结果为英文字母小写
方法说明: getLowStr
输入参数说明:
@param file
@return
输出参数说明:
String
getLowStr(byte[], SecurityTools.ESecurityName) - Static method in class top.hmtools.security.SecurityTools
获取字节码的加密值,结果为英文字母小写
方法说明: getLowStr
输入参数说明:
@param bytes
@return
输出参数说明:
String
getLowStr(String, SecurityTools.ESecurityName) - Static method in class top.hmtools.security.SecurityTools
获取字符串的加密值,结果为英文字母小写
方法说明: getLowStr
输入参数说明:
@param str
@return
输出参数说明:
String
getLowStr(String, Charset, SecurityTools.ESecurityName) - Static method in class top.hmtools.security.SecurityTools
获取字符串,指定字符编码的加密值,结果为英文字母小写
方法说明: getLowStr
输入参数说明:
@param str
@param charset
@return
输出参数说明:
String
getLowStr(InputStream) - Static method in class top.hmtools.security.SHA256Tools
获取输入流的加密结果
20180315 通过了与Apache Commons codec 的计算结果比对
方法说明: getLowStr
输入参数说明:
@param inputStream
@return
输出参数说明:
String
getLowStr(File) - Static method in class top.hmtools.security.SHA256Tools
获取文件的加密结果
20180315 通过了与Apache Commons codec 的计算结果比对
方法说明: getLowStr
输入参数说明:
@param file
@return
输出参数说明:
String
getLowStr(String) - Static method in class top.hmtools.security.SHA256Tools
获取字符串的加密结果
20180315 通过了与Apache Commons codec 的计算结果比对
方法说明: getLowStr
输入参数说明:
@param str
@return
输出参数说明:
String
getLowStr(byte[]) - Static method in class top.hmtools.security.SHA256Tools
获取字节数组的加密结果
20180315 通过了与Apache Commons codec 的计算结果比对
方法说明: getLowStr
输入参数说明:
@param bytes
@return
输出参数说明:
String
getLowStr(String, Charset) - Static method in class top.hmtools.security.SHA256Tools
获取字符串的加密结果
20180315 通过了与Apache Commons codec 的计算结果比对
方法说明: getLowStr
输入参数说明:
@param str
@param charset
@return
输出参数说明:
String
getLowStr(InputStream) - Static method in class top.hmtools.security.SHA512Tools
获取输入流的加密结果
20180315 通过了与Apache Commons codec 的计算结果比对
方法说明: getLowStr
输入参数说明:
@param inputStream
@return
输出参数说明:
String
getLowStr(File) - Static method in class top.hmtools.security.SHA512Tools
获取文件的加密结果
20180315 通过了与Apache Commons codec 的计算结果比对
方法说明: getLowStr
输入参数说明:
@param file
@return
输出参数说明:
String
getLowStr(String) - Static method in class top.hmtools.security.SHA512Tools
获取字符串的加密结果
20180315 通过了与Apache Commons codec 的计算结果比对
方法说明: getLowStr
输入参数说明:
@param str
@return
输出参数说明:
String
getLowStr(byte[]) - Static method in class top.hmtools.security.SHA512Tools
获取字节数组的加密结果
20180315 通过了与Apache Commons codec 的计算结果比对
方法说明: getLowStr
输入参数说明:
@param bytes
@return
输出参数说明:
String
getLowStr(String, Charset) - Static method in class top.hmtools.security.SHA512Tools
获取字符串的加密结果
20180315 通过了与Apache Commons codec 的计算结果比对
方法说明: getLowStr
输入参数说明:
@param str
@param charset
@return
输出参数说明:
String
getMajorVersion() - Method in class top.hmtools.javaWeb.userAgent.Version
 
getManufacturer() - Method in enum top.hmtools.javaWeb.userAgent.Application
 
getManufacturer() - Method in enum top.hmtools.javaWeb.userAgent.Browser
 
getManufacturer() - Method in enum top.hmtools.javaWeb.userAgent.OperatingSystem
Returns the manufacturer of the operating system
getMaxMemory() - Static method in class top.hmtools.system.RuntimeInfoTools
获得JVM最大可用内存
getMessage() - Method in class top.hmtools.model.ResultModel
获取反馈消息 方法说明: getMessage 输入参数说明: @return 输出参数说明: String
getMimeByExtension(String) - Static method in class top.hmtools.conversion.Extension2Mime
根据文件扩展名获取对应的MIME
getMimesByExtensionLike(String) - Static method in class top.hmtools.conversion.Extension2Mime
根据文件扩展名获取对应的MIME集合(模糊查询)
getMinorVersion() - Method in class top.hmtools.javaWeb.userAgent.Version
 
getName(String) - Static method in class top.hmtools.io.FileNameTools
获取全文件名,包括扩展名 Gets the name minus the path from a full filename.
getName() - Method in class top.hmtools.io.IOCase
Gets the name of the constant.
getName() - Method in enum top.hmtools.javaWeb.userAgent.Application
 
getName() - Method in enum top.hmtools.javaWeb.userAgent.ApplicationType
 
getName() - Method in enum top.hmtools.javaWeb.userAgent.Browser
 
getName() - Method in enum top.hmtools.javaWeb.userAgent.BrowserType
 
getName() - Method in enum top.hmtools.javaWeb.userAgent.DeviceType
 
getName() - Method in enum top.hmtools.javaWeb.userAgent.Manufacturer
 
getName() - Method in enum top.hmtools.javaWeb.userAgent.OperatingSystem
 
getName() - Method in class top.hmtools.model.ControllerInfoModel
 
getName() - Method in class top.hmtools.model.ParamInfoModel
 
getName() - Method in class top.hmtools.model.ResultInfoModel
 
getNextPageNo() - Method in class top.hmtools.model.PageModel
下一页的 页码
getOperatingSystem() - Method in class top.hmtools.javaWeb.userAgent.UserAgentTools
获取客户端操作系统信息
必须在执行 UserAgent(String) 或者 UserAgent.parseUserAgent(String)后使用。
如果没有可用的信息,会返回null
getOrderDictStr(TreeMap<String, String>, String, String) - Static method in class top.hmtools.collection.MapTools
获取字典排序的字符串
getOriginalNameByInfoName(String) - Static method in class top.hmtools.io.FileNameTools
从加入信息后的文件名中提取原有文件名,须结合 top.hmtools.io.FileNameTools.saveInifo2FileName(Map, String) 配对使用
getOSArch() - Static method in class top.hmtools.system.SystemInfoTools
取得当前OS的架构(取自系统属性:os.arch)。
getOSFileSeparator() - Static method in class top.hmtools.system.SystemInfoTools
取得OS的文件路径的分隔符(取自系统属性:file.separator)。
getOSLineSeparator() - Static method in class top.hmtools.system.SystemInfoTools
取得OS的文本文件换行符(取自系统属性:line.separator)。
getOSName() - Static method in class top.hmtools.system.SystemInfoTools
获取当前操作系统名称
getOSPathSeparator() - Static method in class top.hmtools.system.SystemInfoTools
取得OS的搜索路径分隔符(取自系统属性:path.separator)。
getOSVersion() - Static method in class top.hmtools.system.SystemInfoTools
取得当前OS的版本(取自系统属性:os.version)。
getOutputDataFormat() - Method in class top.hmtools.model.ControllerInfoModel
 
getPageSize() - Method in class top.hmtools.model.PageModel
每页的总条目数
getParamInfoModels() - Method in class top.hmtools.model.ControllerInfoModel
 
getPath(String) - Static method in class top.hmtools.io.FileNameTools
Gets the path from a full filename, which excludes the prefix.
getPathNoEndSeparator(String) - Static method in class top.hmtools.io.FileNameTools
Gets the path from a full filename, which excludes the prefix, and also excluding the final directory separator.
getPrefix(String) - Static method in class top.hmtools.io.FileNameTools
Gets the prefix from a full filename, such as C:/ or ~/.
getPrefixLength(String) - Static method in class top.hmtools.io.FileNameTools
Returns the length of the filename prefix, such as C:/ or ~/.
getPrefixShortUuid(String, int) - Static method in class top.hmtools.random.RandomStringTools
获取指定前缀+指定长度的随机字符串
getPrePageNo() - Method in class top.hmtools.model.PageModel
上一页的 页码
getRandomNumber(int) - Static method in class top.hmtools.random.RandomStringTools
生成指定位数的随机整数 方法说明: getRandomNumber 输入参数说明: @param length 输入参数说明: @return 输出参数说明: String
getRenderingEngine() - Method in enum top.hmtools.javaWeb.userAgent.Browser
 
getRequestHeaderInfo(Object) - Static method in class top.hmtools.javaWeb.RequestInfoTools
获取HTTP请求头部信息数据集合
getResultInfoModels() - Method in class top.hmtools.model.ControllerInfoModel
 
getRows() - Method in class top.hmtools.model.ResultModel
获取列表集合数据 方法说明: getRows 输入参数说明: @return 输出参数说明: List
getRows(Class<T>) - Method in class top.hmtools.model.ResultModel
获取列表集合数据
getRuntime() - Static method in class top.hmtools.system.RuntimeInfoTools
获得运行时对象
getRuntimeName() - Static method in class top.hmtools.system.SystemInfoTools
获取运行时名称
getSdfPrefixShortUuid(SimpleDateFormat, int) - Static method in class top.hmtools.random.RandomStringTools
获取日期格式化为前缀的+指定随机长度的随机字符串
getSet() - Static method in class top.hmtools.base.ThreadLocalTools
获取set
getShortJavaName(String) - Static method in class top.hmtools.conversion.DataTypeMysql2Java
根据MySQL数据类型名称获取简短名称的Java数据对象类型
getStartItemNo() - Method in class top.hmtools.model.PageModel
当前页码中条目的起始条目排序号
以“0”表示第一条记录
getStatus() - Method in class top.hmtools.model.ResultModel
获取执行结果状态 方法说明: getStatus 输入参数说明: @return 输出参数说明: String
getSunArchDataModel() - Static method in class top.hmtools.system.SystemInfoTools
JVM is 32M or 64M
getSunBootClassPath() - Static method in class top.hmtools.system.SystemInfoTools
获取sun.boot.class.path
getTotalItem() - Method in class top.hmtools.model.PageModel
获取总条目数
getTotalMemory() - Static method in class top.hmtools.system.RuntimeInfoTools
获得JVM已分配内存
getTotalPages() - Method in class top.hmtools.model.PageModel
总页数
getTreeMap(Map<T, E>) - Static method in class top.hmtools.collection.MapTools
将其它 Map 的实现类 转换为 treemap
getType(String) - Static method in class top.hmtools.io.FileTypeTools
根据文件流的头部信息获得文件类型
getType(InputStream) - Static method in class top.hmtools.io.FileTypeTools
根据文件流的头部信息获得文件类型
getType(File) - Static method in class top.hmtools.io.FileTypeTools
根据文件流的头部信息获得文件类型
getTypeAndHead(String) - Static method in class top.hmtools.io.FileTypeTools
根据文件流的头部信息获得文件类型,及文件流头部16进制字符串
getTypeAndHead(InputStream) - Static method in class top.hmtools.io.FileTypeTools
通过输入流获得文件类型及文件头部信息(16进制字符串)
getTypeAndHead(File) - Static method in class top.hmtools.io.FileTypeTools
通过文件获得文件类型及文件头部信息(16进制字符串)
getTypeAndHeadByPath(String) - Static method in class top.hmtools.io.FileTypeTools
通过路径获得文件类型及文件头部信息(16进制字符串)
getTypeByPath(String) - Static method in class top.hmtools.io.FileTypeTools
通过路径获得文件类型
getUsableMemory() - Static method in class top.hmtools.system.RuntimeInfoTools
获得JVM最大可用内存
getUsedFor() - Method in class top.hmtools.model.ControllerInfoModel
 
getUserCountry() - Static method in class top.hmtools.system.SystemInfoTools
取得当前登录用户的国家或区域设置(取自系统属性:JDK1.4 user.country或JDK1.2 user.region)。
getUserCurrentDir() - Static method in class top.hmtools.system.SystemInfoTools
取得当前目录(取自系统属性:user.dir)。
getUserDir() - Static method in class top.hmtools.system.SystemInfoTools
获取用户当前运行Java程序所在的路径
getUserHomeDir() - Static method in class top.hmtools.system.SystemInfoTools
取得当前登录用户的home目录(取自系统属性:user.home)。
getUserLanguage() - Static method in class top.hmtools.system.SystemInfoTools
取得当前登录用户的语言设置(取自系统属性:user.language)。
getUserName() - Static method in class top.hmtools.system.SystemInfoTools
取得当前登录用户的名字(取自系统属性:user.name)。
getUserTempDir() - Static method in class top.hmtools.system.SystemInfoTools
取得临时目录(取自系统属性:java.io.tmpdir)。
getVersion(String) - Method in enum top.hmtools.javaWeb.userAgent.Browser
Detects the detailed version information of the browser.
getVersion() - Method in class top.hmtools.javaWeb.userAgent.Version
 
getYyyyMMddHHmmssPrifixShortUuid(int) - Static method in class top.hmtools.random.RandomStringTools
获取当前时间 yyyyMMddHHmmss前缀+指定长度的随机字符串
getYyyyMMddHHmmssSSSPrifixInteger(int) - Static method in class top.hmtools.random.RandomStringTools
获取当前时间 yyyyMMddHHmmssSSS前缀(17位长度)+指定位数的随机整数 方法说明: getYyyyMMddHHmmssSSSPrifixInteger 输入参数说明: @param length 输入参数说明: @return 输出参数说明: String
getYyyyMMddHHmmssSSSPrifixIntegerRange(int, int) - Static method in class top.hmtools.random.RandomStringTools
获取当前时间 yyyyMMddHHmmssSSS前缀(17位长度)+指定范围的随机整数 方法说明: getYyyyMMddHHmmssSSSPrifixIntegerRange 输入参数说明: @param min 输入参数说明: @param max 输入参数说明: @return 输出参数说明: String
getYyyyMMddHHmmssSSSPrifixShortUuid(int) - Static method in class top.hmtools.random.RandomStringTools
获取当前时间 yyyyMMddHHmmssSSS前缀(17位长度)+指定长度的随机字符串
getYyyyMMddPrifixShortUuid(int) - Static method in class top.hmtools.random.RandomStringTools
获取当前时间 yyyyMMdd前缀+指定长度的随机字符串
getYyyyPrefixShortUuid(int) - Static method in class top.hmtools.random.RandomStringTools
获取当前年份前缀+指定长度的随机字符串

H

hashCode() - Method in class top.hmtools.javaWeb.userAgent.UserAgentTools
 
hashCode() - Method in class top.hmtools.javaWeb.userAgent.Version
 
HexTools - Class in top.hmtools.base
十六进制(简写为hex或下标16)在数学中是一种逢16进1的进位制,一般用数字0到9和字母A到F表示(其中:A~F即10~15)。
例如十进制数57,在二进制写作111001,在16进制写作39。
像java,c这样的语言为了区分十六进制和十进制数值,会在十六进制数的前面加上 0x,比如0x20是十进制的32,而不是十进制的20
HexTools() - Constructor for class top.hmtools.base.HexTools
 
Html2JsonTools - Class in top.hmtools.conversion
 
Html2JsonTools() - Constructor for class top.hmtools.conversion.Html2JsonTools
 
htmlFilter(String) - Static method in class top.hmtools.base.ValidationTools
过滤html代码

I

indexOfExtension(String) - Static method in class top.hmtools.io.FileNameTools
Returns the index of the last extension separator character, which is a dot.
indexOfLastSeparator(String) - Static method in class top.hmtools.io.FileNameTools
Returns the index of the last directory separator character.
init() - Static method in class top.hmtools.conversion.Extension2Mime
初始化数据
init(int, int, int) - Method in class top.hmtools.model.PageModel
初始化 分页模型对象实例
init(int, int) - Method in class top.hmtools.model.PageModel
初始化 分页模型对象实例
init(int) - Method in class top.hmtools.model.PageModel
初始化 分页模型对象实例
init() - Method in class top.hmtools.model.PageModel
初始化 分页模型对象实例
INSENSITIVE - Static variable in class top.hmtools.io.IOCase
The constant for case insensitive regardless of operating system.
IntegerTools - Class in top.hmtools.base
操作整数的相关工具
IntegerTools() - Constructor for class top.hmtools.base.IntegerTools
 
IOCase - Class in top.hmtools.io
Enumeration of IO case sensitivity.
IoFileTools - Class in top.hmtools.io
通过 io 读取文件
IoFileTools() - Constructor for class top.hmtools.io.IoFileTools
 
IoTools - Class in top.hmtools.io
基于 IO(bio) 的操作流工具类
IoTools() - Constructor for class top.hmtools.io.IoTools
 
IPTools - Class in top.hmtools.system
ip地址工具
IPTools() - Constructor for class top.hmtools.system.IPTools
 
isAix() - Static method in class top.hmtools.system.SystemInfoTools
判断当前OS的类型。
isAllBlank(String...) - Static method in class top.hmtools.base.StringTools
批量检查若干字符串,是否全部都为空(类似于“与”运算) isAllBlank(null,"aaa") : false isAllBlank(null,null) : true isAllBlank("bbb","aaa") : false 方法说明: isAllBlank 输入参数说明: @param strs 输入参数说明: @return 输出参数说明: boolean
isAnyBlank(String...) - Static method in class top.hmtools.base.StringTools
批量检查若干字符串,是否至少1个元素为空 方法说明: isAnyBlank 输入参数说明: @param strs 输入参数说明: @return 输出参数说明: boolean
isBlank(String, String...) - Static method in class top.hmtools.base.StringTools
批量检查若干字符串,全部都为空(类似于“与”运算),则返回结果为:true
方法说明: isBlank 输入参数说明: @param strs 输入参数说明: @return 输出参数说明: boolean
isBlank(String) - Static method in class top.hmtools.base.StringTools
检查字符串是否为空
isCaseSensitive() - Method in class top.hmtools.io.IOCase
Does the object represent case sensitive comparison.
isChinese(String) - Static method in class top.hmtools.base.ValidationTools
匹配汉字
isChineseChar(String) - Static method in class top.hmtools.base.ValidationTools
判断中文字符(包括汉字和符号)
isContainsSpecialChar(String) - Static method in class top.hmtools.base.ValidationTools
是否包含中英文特殊字符,除英文"-_"字符外
isDigits(String) - Static method in class top.hmtools.base.ValidationTools
只能输入数字
isEmail(String) - Static method in class top.hmtools.base.ValidationTools
匹配Email地址
isEmpty() - Static method in class top.hmtools.base.ThreadLocalTools
是否为空
isEndPageNo() - Method in class top.hmtools.model.PageModel
当前页是否是末页
isEnglish(String) - Static method in class top.hmtools.base.ValidationTools
判断英文字符(a-zA-Z)
isExtends(Class, String) - Static method in class top.hmtools.base.ClassTools
验证一个实体类是否继承了指定的类(全限定名字符串),支持多层父级验证
isExtension(String, String) - Static method in class top.hmtools.io.FileNameTools
Checks whether the extension of the filename is that specified.
isExtension(String, String[]) - Static method in class top.hmtools.io.FileNameTools
Checks whether the extension of the filename is one of those specified.
isExtension(String, Collection<String>) - Static method in class top.hmtools.io.FileNameTools
Checks whether the extension of the filename is one of those specified.
isFirstPageNo() - Method in class top.hmtools.model.PageModel
当前页是否是首页
isFloat(String) - Static method in class top.hmtools.base.ValidationTools
匹配正浮点数
isFloatEqZero(float) - Static method in class top.hmtools.base.ValidationTools
判断浮点数num是否等于0
isFloatGteZero(float) - Static method in class top.hmtools.base.ValidationTools
判断浮点数num是否大于或等于0
isFloatGtZero(float) - Static method in class top.hmtools.base.ValidationTools
判断浮点数num是否大于0
isHasNextPageNo() - Method in class top.hmtools.model.PageModel
是否有下一页
isHasPrePageNo() - Method in class top.hmtools.model.PageModel
是否有上一页
isHexNumber(String) - Static method in class top.hmtools.base.HexTools
判断给定字符串是否为16进制数
如果是,需要使用对应数字类型对象的decode方法解码
例如:Integer.decode方法解码int类型的16进制数字
isHpUx() - Static method in class top.hmtools.system.SystemInfoTools
判断当前OS的类型。
isIdCardNo(String) - Static method in class top.hmtools.base.ValidationTools
身份证号码验证
isImplements(Class, String) - Static method in class top.hmtools.base.ClassTools
验证一个实体类是否实现了指定的接口(全限定名字符串),支持多层父级验证 方法说明: isImplements 输入参数说明: @param clazz 要验证的目标类 输入参数说明: @param interfaceQualifiedName 一个Java接口的全限定名,该接口可能是要验证的目标类的父类 输入参数说明: @return 输出参数说明: boolean
isInReferrerString(String) - Method in enum top.hmtools.javaWeb.userAgent.Application
 
isInteger(String) - Static method in class top.hmtools.base.ValidationTools
匹配非负整数(正整数+0)
isIntEqZero(int) - Static method in class top.hmtools.base.ValidationTools
判断整数num是否等于0
isIntGteZero(int) - Static method in class top.hmtools.base.ValidationTools
判断整数num是否大于或等于0
isIntGtZero(int) - Static method in class top.hmtools.base.ValidationTools
判断整数num是否大于0
isInUserAgentString(String) - Method in enum top.hmtools.javaWeb.userAgent.Browser
 
isInUserAgentString(String) - Method in enum top.hmtools.javaWeb.userAgent.OperatingSystem
Checks if the given user-agent string matches to the operating system.
isIrix() - Static method in class top.hmtools.system.SystemInfoTools
判断当前OS的类型。
isJava11() - Static method in class top.hmtools.system.SystemInfoTools
判断当前Java的版本。
isJava12() - Static method in class top.hmtools.system.SystemInfoTools
判断当前Java的版本。
isJava13() - Static method in class top.hmtools.system.SystemInfoTools
判断当前Java的版本。
isJava14() - Static method in class top.hmtools.system.SystemInfoTools
判断当前Java的版本。
isJava15() - Static method in class top.hmtools.system.SystemInfoTools
判断当前Java的版本。
isJava16() - Static method in class top.hmtools.system.SystemInfoTools
判断当前Java的版本。
isJava17() - Static method in class top.hmtools.system.SystemInfoTools
判断当前Java的版本。
isJava18() - Static method in class top.hmtools.system.SystemInfoTools
判断当前Java的版本。
isJavaVersionAtLeast(float) - Static method in class top.hmtools.system.SystemInfoTools
判定当前Java的版本是否大于等于指定的版本号。
isJavaVersionAtLeast(int) - Static method in class top.hmtools.system.SystemInfoTools
判定当前Java的版本是否大于等于指定的版本号。
isLinux() - Static method in class top.hmtools.system.SystemInfoTools
判断当前OS的类型。
isMac() - Static method in class top.hmtools.system.SystemInfoTools
判断当前OS的类型。
isMacOsX() - Static method in class top.hmtools.system.SystemInfoTools
判断当前OS的类型。
isMobile(String) - Static method in class top.hmtools.base.ValidationTools
手机号码验证
isMobileDevice() - Method in enum top.hmtools.javaWeb.userAgent.OperatingSystem
 
isNotBlank(String) - Static method in class top.hmtools.base.StringTools
检查字符传是否不为空
isNotBlank(String, String...) - Static method in class top.hmtools.base.StringTools
批量检查若干字符串,全部都不为空(类似于“与”运算),则返回结果为:true
方法说明: isNotBlank 输入参数说明: @param strs 输入参数说明: @return 输出参数说明: boolean
isNotNull(Long) - Static method in class top.hmtools.base.ValidationTools
是否 不为 null
isNotNull(String) - Static method in class top.hmtools.base.ValidationTools
是否 不为 null
isNotNull(Collection) - Static method in class top.hmtools.base.ValidationTools
是否 不为 null
isNotNull(Map) - Static method in class top.hmtools.base.ValidationTools
是否 不为 null
isNotNull(Integer) - Static method in class top.hmtools.base.ValidationTools
是否 不为 null
isNotNull(Object[]) - Static method in class top.hmtools.base.ValidationTools
是否 不为 null
isNull(Object[]) - Static method in class top.hmtools.base.ValidationTools
是否为 null
isNull(Integer) - Static method in class top.hmtools.base.ValidationTools
是否为 null
isNull(Collection) - Static method in class top.hmtools.base.ValidationTools
是否为 null
isNull(Map) - Static method in class top.hmtools.base.ValidationTools
是否为 null
isNull(String) - Static method in class top.hmtools.base.ValidationTools
是否为 null
isNull(Long) - Static method in class top.hmtools.base.ValidationTools
是否为 null
isNumeric(String) - Static method in class top.hmtools.base.ValidationTools
判断数值类型,包括整数和浮点数
ISO_8859_1 - Static variable in class top.hmtools.base.CharsetTools
ISO-8859-1
isOs2() - Static method in class top.hmtools.system.SystemInfoTools
判断当前OS的类型。
isPhone(String) - Static method in class top.hmtools.base.ValidationTools
电话号码验证
isPwd(String) - Static method in class top.hmtools.base.ValidationTools
匹配密码,以字母开头,长度在6-16之间,只能包含字符、数字和下划线。
isPwd(String, int, int) - Static method in class top.hmtools.base.ValidationTools
匹配密码,以字母开头,长度在min-max之间,只能包含字符、数字和下划线。
isRequired() - Method in class top.hmtools.model.ParamInfoModel
 
isRequired() - Method in class top.hmtools.model.ResultInfoModel
 
isRightfulString(String) - Static method in class top.hmtools.base.ValidationTools
判断是否为合法字符(a-zA-Z0-9-_)
isSolaris() - Static method in class top.hmtools.system.SystemInfoTools
判断当前OS的类型。
isStatusFail() - Method in class top.hmtools.model.ResultModel
是否是执行失败状态
isStatusSuccess() - Method in class top.hmtools.model.ResultModel
是否是执行成功状态
isSunOS() - Static method in class top.hmtools.system.SystemInfoTools
判断当前OS的类型。
isTel(String) - Static method in class top.hmtools.base.ValidationTools
联系电话(手机/电话皆可)验证
IStreamProgress - Interface in top.hmtools.io
Stream进度条描述接口
isUrl(String) - Static method in class top.hmtools.base.ValidationTools
匹配URL地址
isWindows() - Static method in class top.hmtools.system.SystemInfoTools
判断当前OS的类型。
isWindows2000() - Static method in class top.hmtools.system.SystemInfoTools
判断当前OS的类型。
isWindows95() - Static method in class top.hmtools.system.SystemInfoTools
判断当前OS的类型。
isWindows98() - Static method in class top.hmtools.system.SystemInfoTools
判断当前OS的类型。
isWindowsME() - Static method in class top.hmtools.system.SystemInfoTools
判断当前OS的类型。
isWindowsNT() - Static method in class top.hmtools.system.SystemInfoTools
判断当前OS的类型。
isWindowsXP() - Static method in class top.hmtools.system.SystemInfoTools
判断当前OS的类型。
isZipCode(String) - Static method in class top.hmtools.base.ValidationTools
邮政编码验证

J

Json2XmlTools - Class in top.hmtools.conversion
 
Json2XmlTools() - Constructor for class top.hmtools.conversion.Json2XmlTools
 
JsonTools - Class in top.hmtools.dataFormat
 
JsonTools() - Constructor for class top.hmtools.dataFormat.JsonTools
 

K

KEY_ALGORITHM - Static variable in class top.hmtools.security.RSATools
加密解密方式
KEY_SIZE - Static variable in class top.hmtools.security.RSATools
RSA密钥长度必须是64的倍数,在512~65536之间。默认是1024
KEY_STATUS - Static variable in class top.hmtools.model.ResultModel
结果状态键名
keySet() - Static method in class top.hmtools.base.ThreadLocalTools
获取所有key

L

ListTools - Class in top.hmtools.collection
操作List集合的相关工具方法
ListTools() - Constructor for class top.hmtools.collection.ListTools
 
logger - Static variable in class top.hmtools.random.RandomStringTools
 
logger - Static variable in class top.hmtools.security.RSATools
 

M

main(String[]) - Static method in class top.hmtools.conversion.Extension2Mime
 
main(String[]) - Static method in class top.hmtools.prikey.SnowflakeTools
 
main(String[]) - Static method in class top.hmtools.security.Base64Tools
测试方法
Manufacturer - Enum in top.hmtools.javaWeb.userAgent
Enum constants representing manufacturers of operating systems and client software.
MapTools - Class in top.hmtools.collection
MAP操作相关工具类
MapTools() - Constructor for class top.hmtools.collection.MapTools
 
MathTools - Class in top.hmtools.Math
 
MathTools() - Constructor for class top.hmtools.Math.MathTools
 
MD5SignTools - Class in top.hmtools.security
基于MD5的签名工具
MD5SignTools() - Constructor for class top.hmtools.security.MD5SignTools
 
MD5Tools - Class in top.hmtools.security
MD5算法工具类
MD5Tools() - Constructor for class top.hmtools.security.MD5Tools
 
mul(double, double) - Static method in class top.hmtools.Math.ArithHelper
提供精确的乘法运算。
mul(String, String) - Static method in class top.hmtools.Math.ArithHelper
 

N

nextId() - Method in class top.hmtools.prikey.Sequence
获取ID
nextId() - Method in class top.hmtools.prikey.SequenceTools
获得下一个ID (该方法是线程安全的)
NioFileTools - Class in top.hmtools.io
通过NIO读写文件
NioFileTools() - Constructor for class top.hmtools.io.NioFileTools
 
NioTools - Class in top.hmtools.io
基于nio的操作流的工具
NioTools() - Constructor for class top.hmtools.io.NioTools
 
normalize(String) - Static method in class top.hmtools.io.FileNameTools
Normalizes a path, removing double and single dot path steps.
normalize(String, boolean) - Static method in class top.hmtools.io.FileNameTools
Normalizes a path, removing double and single dot path steps.
normalizeNoEndSeparator(String) - Static method in class top.hmtools.io.FileNameTools
整理文件路径,使其“标准”化。比如去除重复多余的路径分隔符 Normalizes a path, removing double and single dot path steps, and removing any final directory separator.
normalizeNoEndSeparator(String, boolean) - Static method in class top.hmtools.io.FileNameTools
整理文件路径,使其“标准”化。比如去除重复多余的路径分隔符 Normalizes a path, removing double and single dot path steps, and removing any final directory separator.
now() - Static method in class top.hmtools.prikey.SystemClock
 
nowDate() - Static method in class top.hmtools.prikey.SystemClock
 

O

OperatingSystem - Enum in top.hmtools.javaWeb.userAgent
常用的操作系统枚举
outPut(String, String) - Static method in class top.hmtools.dataFormat.XmlFromatTools
格式化XML输出.
outPut(Node, String) - Static method in class top.hmtools.dataFormat.XmlFromatTools
格式化输出.
outPutStr(String, String) - Static method in class top.hmtools.dataFormat.XmlFromatTools
格式化xml文本并输出为字符串

P

PageModel - Class in top.hmtools.model
分页模型实体类
PageModel(int, int, int) - Constructor for class top.hmtools.model.PageModel
构造函数初始化,指定总条目数,当前页码,每页总条目数
PageModel(int, int) - Constructor for class top.hmtools.model.PageModel
构造函数初始化,指定总条目数,当前页码,使用缺省每页总条目数(20条)
PageModel(int) - Constructor for class top.hmtools.model.PageModel
构造函数初始化,指定总条目数,使用缺省当前页码(第1页),使用缺省每页总条目数(20条)
PageModel() - Constructor for class top.hmtools.model.PageModel
 
ParamInfo - Annotation Type in top.hmtools.annotation
描述controller请求参数信息的注解
ParamInfoModel - Class in top.hmtools.model
参数描述信息实体对象类
ParamInfoModel() - Constructor for class top.hmtools.model.ParamInfoModel
 
parseReferrerString(String) - Static method in enum top.hmtools.javaWeb.userAgent.Application
 
parseUserAgentString(String) - Static method in enum top.hmtools.javaWeb.userAgent.Browser
Iterates over all Browsers to compare the browser signature with the user agent string.
parseUserAgentString(String) - Static method in enum top.hmtools.javaWeb.userAgent.OperatingSystem
Parses user agent string and returns the best match.
parseUserAgentString(String) - Static method in class top.hmtools.javaWeb.userAgent.UserAgentTools
根据userAgent字符串(从HTTP header信息中提取)获取userAgentTools(useragent信息)对象实例
printContent() - Static method in class top.hmtools.conversion.Extension2Mime
打印所有内容
println(List<T>) - Static method in class top.hmtools.collection.ListTools
打印list中的所有元素
println(Map<K, V>) - Static method in class top.hmtools.collection.MapTools
遍历打印map
printlnInfo() - Method in class top.hmtools.model.PageModel
打印当前分页实例的所有信息
PRIVATE_KEY - Static variable in class top.hmtools.security.RSATools
私钥键名称
progress(long) - Method in interface top.hmtools.io.IStreamProgress
进行中
PUBLIC_KEY - Static variable in class top.hmtools.security.RSATools
公钥键名称
put(Map.Entry<K, V>...) - Static method in class top.hmtools.base.ThreadLocalTools
添加数据集合
put(K, V) - Static method in class top.hmtools.base.ThreadLocalTools
添加一条数据
putFileType(String, String) - Static method in class top.hmtools.io.FileTypeTools
增加文件类型映射
如果已经存在将覆盖之前的映射

R

RandomIntTools - Class in top.hmtools.random
随机整数工具类
RandomIntTools() - Constructor for class top.hmtools.random.RandomIntTools
 
RandomStringTools - Class in top.hmtools.random
获取随机的字符串数据
RandomStringTools() - Constructor for class top.hmtools.random.RandomStringTools
 
readLineToStringList(InputStream, Charset) - Static method in class top.hmtools.io.IoTools
读取数据流到字符串集合(按行分隔),并制定字符编码。
缺省使用当前操作系统缺省字符编码(windows 时 GBK,UNIX 是 utf-8)
readLineToStringListUTF8(InputStream) - Static method in class top.hmtools.io.IoTools
读取数据流到字符串集合(按行分隔),UTF-8字符编码
readOneFileToByte(File) - Static method in class top.hmtools.io.NioFileTools
nio基于缓冲区读取指定路径的一个文件
可用于读取大文件,在硬件配置足够的情况下
readOneFileToByte(String) - Static method in class top.hmtools.io.NioFileTools
nio基于缓冲区读取指定路径的一个文件
可用于读取大文件,在硬件配置足够的情况下
readOneFileToByte(String, IStreamProgress) - Static method in class top.hmtools.io.NioFileTools
nio基于缓冲区读取指定路径的一个文件
可用于读取大文件,在硬件配置足够的情况下
readOneFileToString(String, String) - Static method in class top.hmtools.io.NioFileTools
读取一个文件内容,并转换为字符串格式
readSomeFile(IStreamProgress, String...) - Static method in class top.hmtools.io.NioFileTools
读取多个文件 到 列表
readSomeFile(String...) - Static method in class top.hmtools.io.NioFileTools
读取多个文件 到 列表
readSomeFileToStr(String, char, String...) - Static method in class top.hmtools.io.NioFileTools
读取多个文件,并合并成一条字符串
readSomeFileToStrs(String, String...) - Static method in class top.hmtools.io.NioFileTools
读取多个文件 到 字符串列表
readSomeFileToStrs(IStreamProgress, String, String...) - Static method in class top.hmtools.io.NioFileTools
读取多个文件 到 字符串列表
readToByte(InputStream, int, int, IStreamProgress) - Static method in class top.hmtools.io.IoTools
读取数据流
readToByte(InputStream, int, IStreamProgress) - Static method in class top.hmtools.io.NioTools
读取数据流到byte数组
readToByte(InputStream, IStreamProgress) - Static method in class top.hmtools.io.NioTools
读取数据流到byte数组
readToCharsHex(InputStream, int, boolean) - Static method in class top.hmtools.io.IoTools
读取数据流,并以16进制表示
readToHex56Upper(InputStream) - Static method in class top.hmtools.io.IoTools
读取数据流的前56字节,并以16进制表示(英文字母大写)
readToString(InputStream, Charset) - Static method in class top.hmtools.io.IoTools
读取数据流到字符串,并制定字符编码。
缺省使用当前操作系统缺省字符编码(windows 时 GBK,UNIX 是 utf-8)
readToString(InputStream, Charset) - Static method in class top.hmtools.io.NioTools
读取数据流到字符串,并制定字符编码。
缺省使用当前操作系统缺省字符编码(windows 时 GBK,UNIX 是 utf-8)
readToStringHex(InputStream, int, boolean) - Static method in class top.hmtools.io.IoTools
读取数据流,并以16进制表示
readToStringUTF8(InputStream, int, int, IStreamProgress) - Static method in class top.hmtools.io.IoTools
读取数据流到字符串,以utf-8字符编码
readToStringUTF8(InputStream) - Static method in class top.hmtools.io.IoTools
读取数据流到字符串,以utf-8字符编码
readToStringUTF8(InputStream) - Static method in class top.hmtools.io.NioTools
读取数据流到字符串,以utf-8字符编码
remove(K) - Static method in class top.hmtools.base.ThreadLocalTools
移除一条数据
removeDuplicate(List<T>) - Static method in class top.hmtools.collection.ListTools
获取去重元素后的ArrayList 方法说明: removeDuplicate 输入参数说明: @param src 输入参数说明: @return 输出参数说明: ArrayList
removeExtension(String) - Static method in class top.hmtools.io.FileNameTools
Removes the extension from a filename.
removeFileType(String) - Static method in class top.hmtools.io.FileTypeTools
移除文件类型映射
RenderingEngine - Enum in top.hmtools.javaWeb.userAgent
Enum constants classifying the different types of rendering engines which are being used by browsers.
RequestInfoTools - Class in top.hmtools.javaWeb
获取request请求中的信息工具
RequestInfoTools() - Constructor for class top.hmtools.javaWeb.RequestInfoTools
 
restorePrivateKey(String) - Static method in class top.hmtools.security.RSATools
还原私钥,PKCS8EncodedKeySpec 用于构建私钥的规范 方法说明: restorePrivateKey 输入参数说明: @param keyBase64Str base64编码的私钥字符串 输入参数说明: @return 输出参数说明: PrivateKey
restorePrivateKey(byte[]) - Static method in class top.hmtools.security.RSATools
还原私钥,PKCS8EncodedKeySpec 用于构建私钥的规范
restorePublicKey(String) - Static method in class top.hmtools.security.RSATools
还原公钥,X509EncodedKeySpec 用于构建公钥的规范 方法说明: restorePublicKey 输入参数说明: @param keyBase64Str base64编码后的公钥字符串 输入参数说明: @return 输出参数说明: PublicKey
restorePublicKey(byte[]) - Static method in class top.hmtools.security.RSATools
还原公钥,X509EncodedKeySpec 用于构建公钥的规范
ResultInfo - Annotation Type in top.hmtools.annotation
描述controller返回结果信息的注解
ResultInfoModel - Class in top.hmtools.model
 
ResultInfoModel() - Constructor for class top.hmtools.model.ResultInfoModel
 
ResultModel<T> - Class in top.hmtools.model
基于hashmap的结果数据模型
ResultModel() - Constructor for class top.hmtools.model.ResultModel
缺省的构造函数,状态值为“0”(STATUS_FAIL),
ResultModel(int) - Constructor for class top.hmtools.model.ResultModel
指定状态值的构造函数
top.hmtools.model.ResultModelHashmap.STATUS_SUCCESS :成功状态
top.hmtools.model.ResultModelHashmap.STATUS_FAIL:失败状态
ResultModel(ResultModel.resultStatus) - Constructor for class top.hmtools.model.ResultModel
指定状态值的构造函数
ResultModel.keyNames - Enum in top.hmtools.model
本实体类中的常用键名称
ResultModel.resultStatus - Enum in top.hmtools.model
处理结果状态枚举
retainAll(List<T>...) - Static method in class top.hmtools.collection.ListTools
获取多个List的交集元素(没有去重) 方法说明: retainAll 输入参数说明: @param lists 输入参数说明: @return 输出参数说明: List
retainAllAndRemoveDuplicate(List<T>...) - Static method in class top.hmtools.collection.ListTools
获取多个List的交集元素(去重后) 方法说明: retainAllAndRemoveDuplicate 输入参数说明: @param lists 输入参数说明: @return 输出参数说明: List
round(double, int) - Static method in class top.hmtools.Math.ArithHelper
提供精确的小数位四舍五入处理。
round(String, int) - Static method in class top.hmtools.Math.ArithHelper
 
RSADecode(String, byte[]) - Static method in class top.hmtools.security.RSATools
解密 方法说明: RSADecode 输入参数说明: @param privateKeyStr base64 编码后的字符串(RSA私钥) 输入参数说明: @param encodedText 输入参数说明: @return 输出参数说明: byte[]
RSADecode(byte[], byte[]) - Static method in class top.hmtools.security.RSATools
解密
RSADecode(PrivateKey, byte[]) - Static method in class top.hmtools.security.RSATools
解密
RSAEncode(String, byte[]) - Static method in class top.hmtools.security.RSATools
加密
RSAEncode(byte[], byte[]) - Static method in class top.hmtools.security.RSATools
加密 方法说明: RSAEncode 输入参数说明: @param publicKeyByte 输入参数说明: @param plainText 输入参数说明: @return 输出参数说明: byte[]
RSAEncode(PublicKey, byte[]) - Static method in class top.hmtools.security.RSATools
加密
RSATools - Class in top.hmtools.security
非对称 RSA 加密算法工具
RSATools() - Constructor for class top.hmtools.security.RSATools
 
RuntimeInfoTools - Class in top.hmtools.system
获取当前运行时信息工具类
RuntimeInfoTools() - Constructor for class top.hmtools.system.RuntimeInfoTools
 

S

saveInifo2FileName(Map<String, String>, String) - Static method in class top.hmtools.io.FileNameTools
将信息插入到文件名中
SecurityTools - Class in top.hmtools.security
综合的公共加密算法类
支持:
MD2
MD5
SHA-1
SHA-224
SHA-256
SHA-384
SHA-512
SecurityTools() - Constructor for class top.hmtools.security.SecurityTools
 
SENSITIVE - Static variable in class top.hmtools.io.IOCase
The constant for case sensitive regardless of operating system.
separatorsToSystem(String) - Static method in class top.hmtools.io.FileNameTools
改文件路径为当前系统文件路径 Converts all separators to the system separator.
separatorsToUnix(String) - Static method in class top.hmtools.io.FileNameTools
将Windows文件路径改为Unix文件路径 Converts all separators to the Unix separator of forward slash.
separatorsToWindows(String) - Static method in class top.hmtools.io.FileNameTools
将Unix文件路径改为Windows文件路径 Converts all separators to the Windows separator of backslash.
Sequence - Class in top.hmtools.prikey
基于Twitter的Snowflake算法实现分布式高效有序ID生产黑科技(sequence)
SnowFlake的结构如下(每部分用-分开):

0 - 0000000000 0000000000 0000000000 0000000000 0 - 00000 - 00000 - 000000000000

1位标识,由于long基本类型在Java中是带符号的,最高位是符号位,正数是0,负数是1,所以id一般是正数,最高位是0

41位时间截(毫秒级),注意,41位时间截不是存储当前时间的时间截,而是存储时间截的差值(当前时间截 - 开始时间截) 得到的值),这里的的开始时间截,一般是我们的id生成器开始使用的时间,由我们程序来指定的(如下下面程序IdWorker类的startTime属性)。41位的时间截,可以使用69年,年T = (1L << 41) / (1000L * 60 * 60 * 24 * 365) = 69

10位的数据机器位,可以部署在1024个节点,包括5位datacenterId和5位workerId

12位序列,毫秒内的计数,12位的计数顺序号支持每个节点每毫秒(同一机器,同一时间截)产生4096个ID序号


加起来刚好64位,为一个Long型。
SnowFlake的优点是,整体上按照时间自增排序,并且整个分布式系统内不会产生ID碰撞(由数据中心ID和机器ID作区分),并且效率较高,经测试,SnowFlake每秒能够产生26万ID左右。
Sequence(long, long) - Constructor for class top.hmtools.prikey.Sequence
基于Snowflake创建分布式ID生成器
SequenceTools - Class in top.hmtools.prikey
基于Twitter的Snowflake算法实现分布式高效有序ID生产黑科技(sequence)
SnowFlake的结构如下(每部分用-分开):

0 - 0000000000 0000000000 0000000000 0000000000 0 - 00000 - 00000 - 000000000000

1位标识,由于long基本类型在Java中是带符号的,最高位是符号位,正数是0,负数是1,所以id一般是正数,最高位是0

41位时间截(毫秒级),注意,41位时间截不是存储当前时间的时间截,而是存储时间截的差值(当前时间截 - 开始时间截) 得到的值),这里的的开始时间截,一般是我们的id生成器开始使用的时间,由我们程序来指定的(如下下面程序IdWorker类的startTime属性)。41位的时间截,可以使用69年,年T = (1L << 41) / (1000L * 60 * 60 * 24 * 365) = 69

10位的数据机器位,可以部署在1024个节点,包括5位datacenterId和5位workerId

12位序列,毫秒内的计数,12位的计数顺序号支持每个节点每毫秒(同一机器,同一时间截)产生4096个ID序号


加起来刚好64位,为一个Long型。
SnowFlake的优点是,整体上按照时间自增排序,并且整个分布式系统内不会产生ID碰撞(由数据中心ID和机器ID作区分),并且效率较高,经测试,SnowFlake每秒能够产生26万ID左右。
SequenceTools(long, long) - Constructor for class top.hmtools.prikey.SequenceTools
 
setClock(boolean) - Method in class top.hmtools.prikey.Sequence
 
setComment(String) - Method in class top.hmtools.model.ParamInfoModel
 
setComment(String) - Method in class top.hmtools.model.ResultInfoModel
 
setCurrPageNo(int) - Method in class top.hmtools.model.PageModel
当前页码
setDataMaxLength(String) - Method in class top.hmtools.model.ParamInfoModel
 
setDataMaxLength(String) - Method in class top.hmtools.model.ResultInfoModel
 
setDataMinLength(String) - Method in class top.hmtools.model.ParamInfoModel
 
setDataMinLength(String) - Method in class top.hmtools.model.ResultInfoModel
 
setDataType(String) - Method in class top.hmtools.model.ParamInfoModel
 
setDataType(String) - Method in class top.hmtools.model.ResultInfoModel
 
setDefaultValue(String) - Method in class top.hmtools.model.ParamInfoModel
 
setDefaultValue(String) - Method in class top.hmtools.model.ResultInfoModel
 
setInputDataFormat(EDataFormat) - Method in class top.hmtools.model.ControllerInfoModel
 
setLastPageEndId(String) - Method in class top.hmtools.model.PageModel
上一页最后一条记录的ID
setMessage(String) - Method in class top.hmtools.model.ResultModel
修改反馈消息 方法说明: message 输入参数说明: @param msg 输出参数说明: void
setName(String) - Method in class top.hmtools.model.ControllerInfoModel
 
setName(String) - Method in class top.hmtools.model.ParamInfoModel
 
setName(String) - Method in class top.hmtools.model.ResultInfoModel
 
setOutputDataFormat(EDataFormat) - Method in class top.hmtools.model.ControllerInfoModel
 
setPageSize(int) - Method in class top.hmtools.model.PageModel
每页的总条目数
setParamInfoModels(List<ParamInfoModel>) - Method in class top.hmtools.model.ControllerInfoModel
 
setRequired(boolean) - Method in class top.hmtools.model.ParamInfoModel
 
setRequired(boolean) - Method in class top.hmtools.model.ResultInfoModel
 
setResultInfoModels(List<ResultInfoModel>) - Method in class top.hmtools.model.ControllerInfoModel
 
setRows(List<T>) - Method in class top.hmtools.model.ResultModel
设置列表集合数据 方法说明: setRows 输入参数说明: @param rows 输出参数说明: void
setRows(T...) - Method in class top.hmtools.model.ResultModel
设置列表集合数据
setStatus(ResultModel.resultStatus) - Method in class top.hmtools.model.ResultModel
设置执行结果状态 方法说明: setStatus 输入参数说明: @param status 输出参数说明: void
setStatusFail() - Method in class top.hmtools.model.ResultModel
标记执行状态为 失败 方法说明: statusFail 输入参数说明: 输出参数说明: void
setStatusSuccess() - Method in class top.hmtools.model.ResultModel
标记执行状态为 成功 方法说明: statusSuccess 输入参数说明: 输出参数说明: void
SetTools - Class in top.hmtools.collection
 
SetTools() - Constructor for class top.hmtools.collection.SetTools
 
setTotalItem(int) - Method in class top.hmtools.model.PageModel
总条目数
setUsedFor(String) - Method in class top.hmtools.model.ControllerInfoModel
 
SHA1Tools - Class in top.hmtools.security
SHA1算法工具类
SHA1Tools() - Constructor for class top.hmtools.security.SHA1Tools
 
SHA256Tools - Class in top.hmtools.security
SHA-256算法工具类
SHA256Tools() - Constructor for class top.hmtools.security.SHA256Tools
 
SHA512Tools - Class in top.hmtools.security
SHA-512算法工具
SHA512Tools() - Constructor for class top.hmtools.security.SHA512Tools
 
size() - Static method in class top.hmtools.base.ThreadLocalTools
获取所有数据条目数
skip(InputStream, long) - Static method in class top.hmtools.io.IoTools
跳过(忽略)输入流的指定长度
skipFully(InputStream, long) - Static method in class top.hmtools.io.IoTools
跳过(忽略)输入流的指定长度
SnowflakeTools - Class in top.hmtools.prikey
 
SnowflakeTools() - Constructor for class top.hmtools.prikey.SnowflakeTools
 
sSetRows(T...) - Method in class top.hmtools.model.ResultModel
Deprecated.
start() - Method in interface top.hmtools.io.IStreamProgress
开始
stringCheck(String) - Static method in class top.hmtools.base.ValidationTools
验证字符,只能包含中文、英文、数字、下划线等字符。
stringFilter(String) - Static method in class top.hmtools.base.ValidationTools
过滤中英文特殊字符,除英文"-_"字符外
StringTools - Class in top.hmtools.base
字符串操作相关工具
StringTools() - Constructor for class top.hmtools.base.StringTools
 
sub(double, double) - Static method in class top.hmtools.Math.ArithHelper
提供精确的减法运算。
sub(String, String) - Static method in class top.hmtools.Math.ArithHelper
 
SYSTEM - Static variable in class top.hmtools.io.IOCase
The constant for case sensitivity determined by the current operating system.
SystemClock - Class in top.hmtools.prikey
高并发场景下System.currentTimeMillis()的性能问题的优化
SystemInfoTools - Class in top.hmtools.system
获取当前系统环境信息的工具类
SystemInfoTools() - Constructor for class top.hmtools.system.SystemInfoTools
 

T

ThreadLocalTools - Class in top.hmtools.base
ThreadLocal工具,用于线程中传递参数数据
ThreadLocalTools() - Constructor for class top.hmtools.base.ThreadLocalTools
 
tilNextMillis(long) - Method in class top.hmtools.prikey.SequenceTools
阻塞到下一个毫秒,直到获得新的时间戳
timeGen() - Method in class top.hmtools.prikey.SequenceTools
返回以毫秒为单位的当前时间
toCharset(Charset) - Static method in class top.hmtools.base.CharsetTools
获取Charset,当入参为空时,则获取默认的编码字符
toCharset(String) - Static method in class top.hmtools.base.CharsetTools
获取Charset,当入参为空时,则获取默认的编码字符
toInputStream(String, Charset) - Static method in class top.hmtools.io.IoTools
将字符串转化为输入流
toInputStream(String, String) - Static method in class top.hmtools.io.IoTools
将字符串转化为输入流
toInt() - Method in enum top.hmtools.model.ResultModel.resultStatus
返回状态代号 方法说明: toInt 输入参数说明: @return 输出参数说明: int
top.hmtools.annotation - package top.hmtools.annotation
一些常用公共注解
top.hmtools.base - package top.hmtools.base
基本工具类
top.hmtools.collection - package top.hmtools.collection
集合框架相关工具类
top.hmtools.conversion - package top.hmtools.conversion
数据格式转换相关工具类
top.hmtools.dataFormat - package top.hmtools.dataFormat
数据格式操作相关工具类
top.hmtools.enums - package top.hmtools.enums
一些常用枚举
top.hmtools.io - package top.hmtools.io
数据输入/输出流相关工具类
top.hmtools.javaWeb - package top.hmtools.javaWeb
java web信息获取相关工具类
top.hmtools.javaWeb.userAgent - package top.hmtools.javaWeb.userAgent
http header useragent信息获取相关工具类
top.hmtools.Math - package top.hmtools.Math
数学运算相关工具类
top.hmtools.model - package top.hmtools.model
数据模型相关工具类
top.hmtools.prikey - package top.hmtools.prikey
主键ID生成相关工具类
top.hmtools.random - package top.hmtools.random
随机相关工具类
top.hmtools.security - package top.hmtools.security
安全相关工具类
top.hmtools.system - package top.hmtools.system
程序运行所在系统环境信息获取相关工具类
toString() - Method in enum top.hmtools.base.ECharsetBom

方法说明
输入参数说明
输出参数说明
toString() - Method in enum top.hmtools.enums.EDateFormat
 
toString() - Method in class top.hmtools.io.IOCase
Gets a string describing the sensitivity.
toString() - Method in class top.hmtools.javaWeb.userAgent.UserAgentTools
Combined string representation of both enums
toString() - Method in class top.hmtools.javaWeb.userAgent.Version
 
toString() - Method in class top.hmtools.model.ControllerInfoModel
 
toString() - Method in class top.hmtools.model.PageModel
 
toString() - Method in class top.hmtools.model.ParamInfoModel
 
toString() - Method in class top.hmtools.model.ResultInfoModel
 
toString() - Method in enum top.hmtools.model.ResultModel.keyNames
重写tostring方法 方法说明: toString 输入参数说明: @return 输出参数说明: String
toString() - Method in enum top.hmtools.model.ResultModel.resultStatus
方法说明 重写toString()方法,这样,resultStatus.STATUS_SUCCESS 的打印值为 “1” 输入参数说明 输出参数说明
trimSuffix(String, String) - Static method in class top.hmtools.base.StringTools
去掉字符串符合指定的后缀
str:"aaaaaa....."
suffix:"."
==> "aaaaaa"

U

UNDERLINE - Static variable in class top.hmtools.base.StringTools
 
underlineToCamel(String) - Static method in class top.hmtools.base.StringTools
下划线格式字符串转换为驼峰格式字符串
app___version_________fld ==> app_Version____Fld
underlineToCamelByRegex(String) - Static method in class top.hmtools.base.StringTools
使用正则表达式将下划线格式字符串转换为驼峰格式字符串
app___version_________fld ==> appVersionFld
underlineToCamelByRegexAndUpcaseFirstChar(String) - Static method in class top.hmtools.base.StringTools
使用正则表达式将下划线格式字符串转换为驼峰格式字符串,并且首字母大写
app___version_________fld ==> AppVersionFld
union(List<T>...) - Static method in class top.hmtools.collection.ListTools
获取多个List去重后的并集ArrayList集合(支持泛型) 方法说明: union 输入参数说明: @param lists 输入参数说明: @return 输出参数说明: ArrayList
upcaseFirst(String) - Static method in class top.hmtools.base.StringTools
首字母转大写
UserAgentTools - Class in top.hmtools.javaWeb.userAgent
 
UserAgentTools(OperatingSystem, Browser) - Constructor for class top.hmtools.javaWeb.userAgent.UserAgentTools
构造函数。
根据操作系统(枚举),浏览器(枚举)初始化userAgentTools(useragent信息)对象实例
UserAgentTools(String) - Constructor for class top.hmtools.javaWeb.userAgent.UserAgentTools
构造函数。
根据userAgent字符串(从HTTP header信息中提取)
UTF_8 - Static variable in class top.hmtools.base.CharsetTools
UTF-8

V

ValidationTools - Class in top.hmtools.base
数据合法性验证工具
ValidationTools() - Constructor for class top.hmtools.base.ValidationTools
 
valueOf(String) - Static method in enum top.hmtools.base.ECharsetBom
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum top.hmtools.enums.EDataFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum top.hmtools.enums.EDataType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum top.hmtools.enums.EDateFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum top.hmtools.javaWeb.userAgent.Application
Returns the enum constant of this type with the specified name.
valueOf(short) - Static method in enum top.hmtools.javaWeb.userAgent.Application
Returns the enum constant of this type with the specified id.
valueOf(String) - Static method in enum top.hmtools.javaWeb.userAgent.ApplicationType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum top.hmtools.javaWeb.userAgent.Browser
Returns the enum constant of this type with the specified name.
valueOf(short) - Static method in enum top.hmtools.javaWeb.userAgent.Browser
Returns the enum constant of this type with the specified id.
valueOf(String) - Static method in enum top.hmtools.javaWeb.userAgent.BrowserType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum top.hmtools.javaWeb.userAgent.DeviceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum top.hmtools.javaWeb.userAgent.Manufacturer
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum top.hmtools.javaWeb.userAgent.OperatingSystem
Returns the enum constant of this type with the specified name.
valueOf(short) - Static method in enum top.hmtools.javaWeb.userAgent.OperatingSystem
Returns the enum constant of this type with the specified id.
valueOf(String) - Static method in enum top.hmtools.javaWeb.userAgent.RenderingEngine
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in class top.hmtools.javaWeb.userAgent.UserAgentTools
Returns UserAgent based on specified unique id
valueOf(String) - Static method in class top.hmtools.javaWeb.userAgent.UserAgentTools
Returns UserAgent based on combined string representation
valueOf(String) - Static method in enum top.hmtools.model.ResultModel.keyNames
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum top.hmtools.model.ResultModel.resultStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum top.hmtools.base.ECharsetBom
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in class top.hmtools.base.ThreadLocalTools
获取所有value
values() - Static method in enum top.hmtools.enums.EDataFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum top.hmtools.enums.EDataType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum top.hmtools.enums.EDateFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum top.hmtools.javaWeb.userAgent.Application
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum top.hmtools.javaWeb.userAgent.ApplicationType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum top.hmtools.javaWeb.userAgent.Browser
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum top.hmtools.javaWeb.userAgent.BrowserType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum top.hmtools.javaWeb.userAgent.DeviceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum top.hmtools.javaWeb.userAgent.Manufacturer
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum top.hmtools.javaWeb.userAgent.OperatingSystem
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum top.hmtools.javaWeb.userAgent.RenderingEngine
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum top.hmtools.model.ResultModel.keyNames
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum top.hmtools.model.ResultModel.resultStatus
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Class in top.hmtools.javaWeb.userAgent
Container for general version information.
Version(String, String, String) - Constructor for class top.hmtools.javaWeb.userAgent.Version
 

W

wildcardMatch(String, String) - Static method in class top.hmtools.io.FileNameTools
Checks a filename to see if it matches the specified wildcard matcher, always testing case-sensitive.
wildcardMatch(String, String, IOCase) - Static method in class top.hmtools.io.FileNameTools
Checks a filename to see if it matches the specified wildcard matcher allowing control over case-sensitivity.
wildcardMatchOnSystem(String, String) - Static method in class top.hmtools.io.FileNameTools
Checks a filename to see if it matches the specified wildcard matcher using the case rules of the system.
write(byte[], OutputStream) - Static method in class top.hmtools.io.IoTools
将byte数组写入到输出流
write(byte[], Writer, Charset) - Static method in class top.hmtools.io.IoTools
将byte数组按照指定字符编码写入输出流
write(String, OutputStream, Charset) - Static method in class top.hmtools.io.IoTools
将字符串按照指定字符编码写入输出流
writeChunked(byte[], OutputStream) - Static method in class top.hmtools.io.IoTools
带有缓冲区的将byte数组写入到输出流

X

Xml2JsonTools - Class in top.hmtools.conversion
 
Xml2JsonTools() - Constructor for class top.hmtools.conversion.Xml2JsonTools
 
XmlFromatTools - Class in top.hmtools.dataFormat
 
XmlFromatTools() - Constructor for class top.hmtools.dataFormat.XmlFromatTools
 

Z

ZipTools - Class in top.hmtools.io
 
ZipTools() - Constructor for class top.hmtools.io.ZipTools
 
A B C D E F G H I J K L M N O P R S T U V W X Z 

Copyright © 2018. All rights reserved.

字母 日期或时间元素 表示 示例 G Era 标志符 Text AD