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

A

abort(Executor) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
AbsSetting - com.xiaoleilu.hutool.setting中的类
Setting抽象类
AbsSetting() - 类 的构造器com.xiaoleilu.hutool.setting.AbsSetting
 
AbstractCache<K,V> - com.xiaoleilu.hutool.cache中的类
超时和限制大小的缓存的默认实现
继承此抽象缓存需要:
创建一个新的Map 实现 prune 策略
AbstractCache() - 类 的构造器com.xiaoleilu.hutool.cache.AbstractCache
 
AbstractConverter<T> - com.xiaoleilu.hutool.convert中的类
抽象转换器,提供通用的转换逻辑,同时通过
AbstractConverter() - 类 的构造器com.xiaoleilu.hutool.convert.AbstractConverter
 
AbstractDataSource - com.xiaoleilu.hutool.db.ds.simple中的类
数据源抽象实现
AbstractDataSource() - 类 的构造器com.xiaoleilu.hutool.db.ds.simple.AbstractDataSource
 
AbstractDateBasic - com.xiaoleilu.hutool.date.format中的类
 
AbstractDateBasic(String, TimeZone, Locale) - 类 的构造器com.xiaoleilu.hutool.date.format.AbstractDateBasic
构造,内部使用
AbstractFilter - com.xiaoleilu.hutool.bloomFilter.filter中的类
抽象Bloom过滤器
AbstractFilter(long, int) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.AbstractFilter
 
AbstractFilter(long) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.AbstractFilter
 
AbstractLocationAwareLog - com.xiaoleilu.hutool.log中的类
抽象定位感知日志实现
AbstractLocationAwareLog() - 类 的构造器com.xiaoleilu.hutool.log.AbstractLocationAwareLog
 
AbstractLog - com.xiaoleilu.hutool.log中的类
抽象日志类
实现了一些通用的接口
AbstractLog() - 类 的构造器com.xiaoleilu.hutool.log.AbstractLog
 
AbstractSqlRunner - com.xiaoleilu.hutool.db中的类
抽象SQL执行类
通过给定的数据源执行给定SQL或者给定数据源和方言,执行相应的CRUD操作
提供抽象方法getConnection和closeConnection,用于自定义数据库连接的打开和关闭
AbstractSqlRunner() - 类 的构造器com.xiaoleilu.hutool.db.AbstractSqlRunner
 
accept(T) - 接口 中的方法com.xiaoleilu.hutool.lang.Filter
是否接受对象
accept(T, int) - 接口 中的方法com.xiaoleilu.hutool.util.CollectionUtil.Consumer
接受并处理一个参数
accept(K, V, int) - 接口 中的方法com.xiaoleilu.hutool.util.CollectionUtil.KVConsumer
接受并处理一对参数
accumulate(String, Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
积累值。
ActiveEntity - com.xiaoleilu.hutool.db中的类
动态实体类
TODO 提供了针对自身实体的增删改查方法
ActiveEntity() - 类 的构造器com.xiaoleilu.hutool.db.ActiveEntity
 
add(long) - 接口 中的方法com.xiaoleilu.hutool.bloomFilter.bitMap.BitMap
 
add(long) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.bitMap.IntMap
 
add(long) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.bitMap.LongMap
 
add(String) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.BitMapBloomFilter
增加字符串到Filter映射中
add(String) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.BitSetBloomFilter
 
add(String) - 接口 中的方法com.xiaoleilu.hutool.bloomFilter.BloomFilter
在boolean的bitMap中增加一个字符串
如果存在就返回false .如果不存在.先增加这个字符串.再返回true
add(String) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.filter.AbstractFilter
 
add(Entity) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
添加
add(Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
add(int, Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
add(T) - 类 中的方法com.xiaoleilu.hutool.lang.ConsistentHash
增加节点
每增加一个节点,就会在闭环上增加给定复制节点数
例如复制节点数是2,则每调用此方法一次,增加两个虚拟节点,这两个节点指向同一Node 由于hash算法会调用node的toString方法,故按照toString去重
add(Matcher, ResourceLoader) - 类 中的方法com.xiaoleilu.hutool.util.BeetlUtil.ResourceLoaderBuilder
添加一个资源加载器
addAll(Collection<? extends Object>) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
addAll(int, Collection<? extends Object>) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
addAll(E[]) - 类 中的方法com.xiaoleilu.hutool.lang.BoundedPriorityQueue
添加多个元素
参数为集合的情况请使用AbstractQueue.addAll(java.util.Collection<? extends E>)
addAll(T[]...) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(Collection<T>, Iterator<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
加入全部
addAll(Collection<T>, Iterable<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
加入全部
addAll(Collection<T>, Enumeration<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
加入全部
addFieldNames(String...) - 类 中的方法com.xiaoleilu.hutool.db.Entity
添加字段列表
addForGeneratedKey(Entity) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
添加
addForGeneratedKeys(Entity) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
添加
additiveHash(String, int) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
加法hash
addJar(File) - 类 中的方法com.xiaoleilu.hutool.lang.JarClassLoader
加载Jar文件,或者加载目录
addOrder(Order...) - 类 中的方法com.xiaoleilu.hutool.db.Page
设置排序
addOrUpdate(Entity) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
增加或者更新实体
addPk(String) - 类 中的方法com.xiaoleilu.hutool.db.meta.Table
添加主键
addPrefixIfNot(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
如果给定字符串不是以prefix开头的,在开头补充 prefix
addSuffixIfNot(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
如果给定字符串不是以suffix结尾的,在尾部补充 suffix
addURL(URL) - 类 中的方法com.xiaoleilu.hutool.lang.JarClassLoader
 
addWord(String) - 类 中的方法com.xiaoleilu.hutool.dfa.WordTree
添加单词,使用默认类型
addWords(Collection<String>) - 类 中的方法com.xiaoleilu.hutool.dfa.WordTree
增加一组单词
addWords(String...) - 类 中的方法com.xiaoleilu.hutool.dfa.WordTree
增加一组单词
addWorker(SyncFinisher.Worker) - 类 中的方法com.xiaoleilu.hutool.lang.SyncFinisher
增加工作线程
aes() - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
AES加密,生成随机KEY。
aes(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
AES加密
例:
AES加密:aes(key).encrypt(data)
AES解密:aes(key).decrypt(data)
after(Object, Method, Object[]) - 类 中的方法com.xiaoleilu.hutool.proxy.Aspect
目标方法执行后的操作
after(Object, Method, Object[]) - 类 中的方法com.xiaoleilu.hutool.proxy.aspects.SimpleAspect
 
after(Object, Method, Object[]) - 类 中的方法com.xiaoleilu.hutool.proxy.aspects.TimeIntervalAspect
 
afterException(Object, Method, Object[], Throwable) - 类 中的方法com.xiaoleilu.hutool.proxy.Aspect
目标方法抛出异常时的操作
afterException(Object, Method, Object[], Throwable) - 类 中的方法com.xiaoleilu.hutool.proxy.aspects.SimpleAspect
 
age(Date, Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
计算相对于dateToCompare的年龄,长用于计算指定生日在某年的年龄
ageOfNow(String) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
生日转为年龄,计算法定年龄
ageOfNow(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
生日转为年龄,计算法定年龄
algorithm - 类 中的变量com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
算法
AMP - 类 中的静态变量com.xiaoleilu.hutool.json.XML
The Character '&'.
AnsiSqlDialect - com.xiaoleilu.hutool.db.dialect.impl中的类
ANSI SQL 方言
AnsiSqlDialect() - 类 的构造器com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect
 
ApacheCommonsLog - com.xiaoleilu.hutool.log.dialect.commons中的类
Apache Commons Logging
ApacheCommonsLog(Log, String) - 类 的构造器com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog
 
ApacheCommonsLog(Class<?>) - 类 的构造器com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog
 
ApacheCommonsLog(String) - 类 的构造器com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog
 
ApacheCommonsLog4JLog - com.xiaoleilu.hutool.log.dialect.commons中的类
Apache Commons Logging for Log4j
ApacheCommonsLog4JLog(Log, String) - 类 的构造器com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
ApacheCommonsLog4JLog(Class<?>) - 类 的构造器com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
ApacheCommonsLog4JLog(String) - 类 的构造器com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
ApacheCommonsLogFactory - com.xiaoleilu.hutool.log.dialect.commons中的类
Apache Commons Logging
ApacheCommonsLogFactory() - 类 的构造器com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLogFactory
 
apHash(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
AP算法
APOS - 类 中的静态变量com.xiaoleilu.hutool.json.XML
The Character '''.
append(Object) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
追加SQL其它部分
append(byte[], int, int) - 类 中的方法com.xiaoleilu.hutool.io.FastByteBuffer
向快速缓冲加入数据
append(byte[]) - 类 中的方法com.xiaoleilu.hutool.io.FastByteBuffer
向快速缓冲加入数据
append(byte) - 类 中的方法com.xiaoleilu.hutool.io.FastByteBuffer
向快速缓冲加入一个字节
append(FastByteBuffer) - 类 中的方法com.xiaoleilu.hutool.io.FastByteBuffer
将另一个快速缓冲加入到自身
append(String) - 类 中的方法com.xiaoleilu.hutool.io.file.FileWriter
将String写入文件,追加模式
append(byte[], int, int) - 类 中的方法com.xiaoleilu.hutool.io.file.FileWriter
追加数据到文件
append(String, Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
追加值,如果key无对应值,就添加一个JSONArray,其元素只有value,如果值已经是一个JSONArray,则添加到值JSONArray中。
append(StringBuilder, String, Object) - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
输出到StringBuilder
append(T[], T...) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
将新元素添加到已有数组中
添加新元素会生成一个新的数组,不影响原数组
appendLines(Collection<T>) - 类 中的方法com.xiaoleilu.hutool.io.file.FileWriter
将列表写入文件,追加模式
appendLines(Collection<T>, String, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
将列表写入文件,追加模式
appendString(String, String, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
将String写入文件,追加模式
appendString(String, File, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
将String写入文件,追加模式
array(int) - 类 中的方法com.xiaoleilu.hutool.io.FastByteBuffer
根据索引位返回缓冲集中的缓冲
ArrayConverter<T> - com.xiaoleilu.hutool.convert.impl中的类
数组转换器,包括原始类型数组
ArrayConverter(Class<T>) - 类 的构造器com.xiaoleilu.hutool.convert.impl.ArrayConverter
 
ArrayTypeGetter - com.xiaoleilu.hutool.getter中的接口
数组类型的Get接口
ArrayUtil - com.xiaoleilu.hutool.util中的类
数组工具类
ArrayUtil() - 类 的构造器com.xiaoleilu.hutool.util.ArrayUtil
 
ascToBcd(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.lang.BCD
ASCII转BCD
ascToBcd(byte[], int) - 类 中的静态方法com.xiaoleilu.hutool.lang.BCD
ASCII转BCD
asEnumeration(Iterator<E>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
Iterator转换为Enumeration Adapt the specified Iterator to the Enumeration interface.
asIterator(Enumeration<E>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
Enumeration转换为Iterator
Adapt the specified Enumeration to the Iterator interface
Aspect - com.xiaoleilu.hutool.proxy中的类
切面抽象
Aspect(Object) - 类 的构造器com.xiaoleilu.hutool.proxy.Aspect
 
Assert - com.xiaoleilu.hutool.lang中的类
断言
断言某些对象或值是否符合规定,否则抛出异常。
Assert() - 类 的构造器com.xiaoleilu.hutool.lang.Assert
 
AsymmetricAlgorithm - com.xiaoleilu.hutool.crypto.asymmetric中的枚举
非对称算法类型
AsymmetricCriptor - com.xiaoleilu.hutool.crypto.asymmetric中的类
非对称加密算法
1、签名:使用私钥加密,公钥解密。
AsymmetricCriptor(AsymmetricAlgorithm) - 类 的构造器com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
构造,创建新的私钥公钥对
AsymmetricCriptor(String) - 类 的构造器com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
构造,创建新的私钥公钥对
AsymmetricCriptor(AsymmetricAlgorithm, byte[], byte[]) - 类 的构造器com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
AsymmetricCriptor(String, byte[], byte[]) - 类 的构造器com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
autoLoad(boolean) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
在配置文件变更时自动加载
autoLoad(boolean) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
在配置文件变更时自动加载
autoReload() - 类 中的方法com.xiaoleilu.hutool.setting.SettingLoader
 
await() - 类 中的方法com.xiaoleilu.hutool.lang.SyncFinisher
等待所有Worker工作结束,否则阻塞

B

back() - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
将标记回退到第一个字符,重新开始解析新的JSON
BACKSLASH - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
BANG - 类 中的静态变量com.xiaoleilu.hutool.json.XML
The Character '!'.
Base32 - com.xiaoleilu.hutool.lang中的类
Base32 - encodes and decodes RFC3548 Base32 (see http://www.faqs.org/rfcs/rfc3548.html )
see http://blog.csdn.net/earbao/article/details/44453937
Base32() - 类 的构造器com.xiaoleilu.hutool.lang.Base32
 
Base64 - com.xiaoleilu.hutool.lang中的类
Base64工具类,提供Base64的编码和解码方案
Base64() - 类 的构造器com.xiaoleilu.hutool.lang.Base64
 
basicAuth(String, String) - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
简单验证
BasicSetting - com.xiaoleilu.hutool.setting.dialect中的类
分组设置工具类。
BasicSetting() - 类 的构造器com.xiaoleilu.hutool.setting.dialect.BasicSetting
 
BasicSetting(String, Charset, boolean) - 类 的构造器com.xiaoleilu.hutool.setting.dialect.BasicSetting
构造,使用相对于Class文件根目录的相对路径
BasicSetting(String) - 类 的构造器com.xiaoleilu.hutool.setting.dialect.BasicSetting
构造
BasicSetting(File, Charset, boolean) - 类 的构造器com.xiaoleilu.hutool.setting.dialect.BasicSetting
构造
BasicSetting(String, Class<?>, Charset, boolean) - 类 的构造器com.xiaoleilu.hutool.setting.dialect.BasicSetting
构造,相对于classes读取文件
BasicSetting(URL, Charset, boolean) - 类 的构造器com.xiaoleilu.hutool.setting.dialect.BasicSetting
构造
BasicType - com.xiaoleilu.hutool.convert中的枚举
基本变量类型的枚举
基本类型枚举包括原始类型和包装类型
BasicTypeGetter<K> - com.xiaoleilu.hutool.getter中的接口
基本类型的getter接口
提供一个统一的接口定义返回不同类型的值(基本类型)
BCD - com.xiaoleilu.hutool.lang中的类
BCD码(Binary-Coded Decimal‎)亦称二进码十进数或二-十进制代码
BCD码这种编码形式利用了四个位元来储存一个十进制的数码,使二进制和十进制之间的转换得以快捷的进行
see http://blog.chinaunix.net/uid-21273878-id-4733738.html
BCD() - 类 的构造器com.xiaoleilu.hutool.lang.BCD
 
bcdToStr(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.lang.BCD
BCD转ASCII字符串
beanToMap(T) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
对象转Map,不进行驼峰转下划线,不忽略值为空的字段
beanToMap(T, boolean, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
对象转Map
BeanUtil - com.xiaoleilu.hutool.util中的类
Bean工具类
BeanUtil() - 类 的构造器com.xiaoleilu.hutool.util.BeanUtil
 
BeanUtil.CopyOptions - com.xiaoleilu.hutool.util中的类
属性拷贝选项
包括:
1、限制的类或接口,必须为目标对象的实现接口或父类,用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
2、是否忽略空值,当源对象的值为null时,true: 忽略而不注入此值,false: 注入null
3、忽略的属性列表,设置一个属性列表,不拷贝这些属性值
BeanUtil.CopyOptions() - 类 的构造器com.xiaoleilu.hutool.util.BeanUtil.CopyOptions
构造拷贝选项
BeanUtil.CopyOptions(Class<?>, boolean, String...) - 类 的构造器com.xiaoleilu.hutool.util.BeanUtil.CopyOptions
构造拷贝选项
BeanUtil.ValueProvider - com.xiaoleilu.hutool.util中的接口
值提供者,用于提供Bean注入时参数对应值得抽象接口
继承或匿名实例化此接口
在Bean注入过程中,Bean获得字段名,通过外部方式根据这个字段名查找相应的字段值,然后注入Bean
BeetlUtil - com.xiaoleilu.hutool.util中的类
Beetl模板引擎工具类
http://git.oschina.net/xiandafu/beetl2.0 文档:http://ibeetl.com/guide/beetl.html
BeetlUtil() - 类 的构造器com.xiaoleilu.hutool.util.BeetlUtil
 
BeetlUtil.ResourceLoaderBuilder - com.xiaoleilu.hutool.util中的类
ResourceLoader构建器
BeetlUtil.ResourceLoaderBuilder() - 类 的构造器com.xiaoleilu.hutool.util.BeetlUtil.ResourceLoaderBuilder
 
before(Object, Method, Object[]) - 类 中的方法com.xiaoleilu.hutool.proxy.Aspect
目标方法执行前的操作
before(Object, Method, Object[]) - 类 中的方法com.xiaoleilu.hutool.proxy.aspects.SimpleAspect
 
before(Object, Method, Object[]) - 类 中的方法com.xiaoleilu.hutool.proxy.aspects.TimeIntervalAspect
 
beginOfDay(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
获取某天的开始时间
beginOfDay(Calendar) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
获取某天的开始时间
beginTransaction() - 类 中的方法com.xiaoleilu.hutool.db.Session
开始事务
bernstein(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
Bernstein's hash
between(DateUnit) - 类 中的方法com.xiaoleilu.hutool.date.DateBetween
判断两个日期相差的时长
返回 给定单位的时长差
between(Date) - 类 中的方法com.xiaoleilu.hutool.date.DateTime
计算相差时长
between(Date, DateUnit) - 类 中的方法com.xiaoleilu.hutool.date.DateTime
计算相差时长
between(Date, DateUnit, BetweenFormater.Level) - 类 中的方法com.xiaoleilu.hutool.date.DateTime
计算相差时长
between(Date, Date, DateUnit) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
判断两个日期相差的时长
返回 minuend - subtrahend 的差
BetweenFormater - com.xiaoleilu.hutool.date中的类
时长格式化器
BetweenFormater(long, BetweenFormater.Level) - 类 的构造器com.xiaoleilu.hutool.date.BetweenFormater
构造
BetweenFormater.Level - com.xiaoleilu.hutool.date中的枚举
格式化等级枚举
BIRTHDAY - 类 中的静态变量com.xiaoleilu.hutool.lang.Validator
邮编
BitMap - com.xiaoleilu.hutool.bloomFilter.bitMap中的接口
 
BitMapBloomFilter - com.xiaoleilu.hutool.bloomFilter中的类
BlommFilter 实现
1.构建hash算法
2.散列hash映射到数组的bit位置
3.验证
此实现方式可以指定Hash算法
BitMapBloomFilter(int) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.BitMapBloomFilter
使用默认的5个过滤器
BitMapBloomFilter(int, BloomFilter...) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.BitMapBloomFilter
使用自定的多个过滤器建立BloomFilter
BitSetBloomFilter - com.xiaoleilu.hutool.bloomFilter中的类
BloomFilter实现方式2,此方式使用BitSet存储。
BitSetBloomFilter(int, int, int) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.BitSetBloomFilter
构造一个布隆过滤器,过滤器的容量为c * n 个bit.
bkdrHash(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
BKDR算法
BloomFilter - com.xiaoleilu.hutool.bloomFilter中的接口
Bloom filter 是由 Howard Bloom 在 1970 年提出的二进制向量数据结构,它具有很好的空间和时间效率,被用来检测一个元素是不是集合中的一个成员。
body - 类 中的变量com.xiaoleilu.hutool.http.HttpBase
存储主体
body(String) - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
设置内容主体
body(String, String) - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
设置内容主体
body(JSON) - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
设置JSON内容主体
设置默认的Content-Type为 application/json 需在此方法调用前使用charset方法设置编码,否则使用默认编码UTF-8
body(byte[]) - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
设置主体字节码
需在此方法调用前使用charset方法设置编码,否则使用默认编码UTF-8
body() - 类 中的方法com.xiaoleilu.hutool.http.HttpResponse
获取响应主体
bodyBytes() - 类 中的方法com.xiaoleilu.hutool.http.HttpResponse
获取响应流字节码
bodyStream() - 类 中的方法com.xiaoleilu.hutool.http.HttpResponse
获得服务区响应流
BOMInputStream - com.xiaoleilu.hutool.io中的类
读取带BOM头的流内容,getCharset()方法调用后会得到BOM头的编码,且会去除BOM头
BOM定义:http://www.unicode.org/unicode/faq/utf_bom.html
00 00 FE FF = UTF-32, big-endian FF FE 00 00 = UTF-32, little-endian EF BB BF = UTF-8 FE FF = UTF-16, big-endian FF FE = UTF-16, little-endian 使用:
String enc = "UTF-8"; // or NULL to use systemdefault
FileInputStream fis = new FileInputStream(file);
UnicodeInputStream uin = new UnicodeInputStream(fis, enc);
enc = uin.getCharset(); // check and skip possible BOM bytes


参考: http://akini.mbnet.fi/java/unicodereader/UnicodeInputStream.java.txt
BOMInputStream(InputStream) - 类 的构造器com.xiaoleilu.hutool.io.BOMInputStream
 
BOMInputStream(InputStream, String) - 类 的构造器com.xiaoleilu.hutool.io.BOMInputStream
 
BooleanArrayConverter - com.xiaoleilu.hutool.convert.impl中的类
boolean类型数组转换器
BooleanArrayConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.BooleanArrayConverter
 
BooleanConverter - com.xiaoleilu.hutool.convert.impl中的类
波尔转换器
BooleanConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.BooleanConverter
 
BoundedPriorityQueue<E> - com.xiaoleilu.hutool.lang中的类
有界优先队列
按照给定的排序规则,排序元素,当队列满时,按照给定的排序规则淘汰末尾元素(去除末尾元素)
BoundedPriorityQueue(int) - 类 的构造器com.xiaoleilu.hutool.lang.BoundedPriorityQueue
 
BoundedPriorityQueue(int, Comparator<? super E>) - 类 的构造器com.xiaoleilu.hutool.lang.BoundedPriorityQueue
构造
build() - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
构建
build(boolean) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
构建
build() - 类 中的方法com.xiaoleilu.hutool.http.ssl.SSLSocketFactoryBuilder
构建SSLSocketFactory
build() - 类 中的方法com.xiaoleilu.hutool.util.BeetlUtil.ResourceLoaderBuilder
构建
buildConditions(Entity) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
通过实体对象构建条件对象
buildEqualsWhere(Entity, List<Object>) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
构件相等条件的where语句
如果没有条件语句,泽返回空串,表示没有条件
builder() - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
创建StringBuilder对象
builder(int) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
创建StringBuilder对象
builder(String...) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
创建StringBuilder对象
buildInetSocketAddress(String, int) - 类 中的静态方法com.xiaoleilu.hutool.util.NetUtil
构建InetSocketAddress
当host中包含端口时(用“:”隔开),使用host中的端口,否则使用默认端口
给定host为空时使用本地host(127.0.0.1)
buildLikeValue(String, Condition.LikeType) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
创建LIKE语句中的值
ByteArrayConverter - com.xiaoleilu.hutool.convert.impl中的类
byte 类型数组转换器
ByteArrayConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.ByteArrayConverter
 
byteBuffer(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
字符串转换为byteBuffer
bytes(String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
编码字符串
使用系统默认编码
bytes(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
编码字符串
bytes(String, Charset) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
编码字符串

C

C3p0DSFactory - com.xiaoleilu.hutool.db.ds.c3p0中的类
Druid数据源工厂类
C3p0DSFactory() - 类 的构造器com.xiaoleilu.hutool.db.ds.c3p0.C3p0DSFactory
 
C3p0DSFactory(Setting) - 类 的构造器com.xiaoleilu.hutool.db.ds.c3p0.C3p0DSFactory
 
C_BACKSLASH - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
C_COLON - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
C_COMMA - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
C_CR - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
C_DELIM_END - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
C_DELIM_START - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
C_DOT - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
C_LF - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
C_SLASH - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
C_SPACE - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
C_TAB - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
C_UNDERLINE - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
Cache<K,V> - com.xiaoleilu.hutool.cache中的接口
缓存接口
cache - 类 中的变量com.xiaoleilu.hutool.cache.FileLFUCache
LFU缓存
cacheMap - 类 中的变量com.xiaoleilu.hutool.cache.AbstractCache
 
CacheObj<K,V> - com.xiaoleilu.hutool.cache中的类
缓存对象
CacheValuesIterator<V> - com.xiaoleilu.hutool.cache中的类
AbstractCache 的值迭代器.
calendar(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
转换为Calendar对象
calendar(long) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
转换为Calendar对象
CalendarConverter - com.xiaoleilu.hutool.convert.impl中的类
日期转换器
CalendarConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.CalendarConverter
 
call(Connection, String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.db.sql.SqlExecutor
执行调用存储过程
此方法不会关闭Connection
cancelPruneSchedule() - 类 中的方法com.xiaoleilu.hutool.cache.TimedCache
取消定时清理
capacity - 类 中的变量com.xiaoleilu.hutool.cache.AbstractCache
返回缓存容量,0表示无大小限制
capacity() - 类 中的方法com.xiaoleilu.hutool.cache.AbstractCache
 
capacity() - 接口 中的方法com.xiaoleilu.hutool.cache.Cache
 
capacity - 类 中的变量com.xiaoleilu.hutool.cache.FileLFUCache
容量
capacity() - 类 中的方法com.xiaoleilu.hutool.cache.FileLFUCache
 
capacity() - 类 中的方法com.xiaoleilu.hutool.cache.NoCache
 
causeInstanceOf(Class<? extends Throwable>) - 异常错误 中的方法com.xiaoleilu.hutool.io.IORuntimeException
导致这个异常的异常是否是指定类型的异常
CharacterConverter - com.xiaoleilu.hutool.convert.impl中的类
字符转换器
CharacterConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.CharacterConverter
 
CharArrayConverter - com.xiaoleilu.hutool.convert.impl中的类
char类型数组转换器
CharArrayConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.CharArrayConverter
 
charset - 类 中的变量com.xiaoleilu.hutool.http.HttpBase
编码
charset() - 类 中的方法com.xiaoleilu.hutool.http.HttpBase
返回字符集
charset(String) - 类 中的方法com.xiaoleilu.hutool.http.HttpBase
设置字符集
charset(Charset) - 类 中的方法com.xiaoleilu.hutool.http.HttpBase
设置字符集
charset() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
获得字符集编码
charset - 类 中的变量com.xiaoleilu.hutool.io.file.FileWrapper
 
charset - 类 中的变量com.xiaoleilu.hutool.setting.dialect.BasicSetting
本设置对象的字符集
charset(String) - 类 中的静态方法com.xiaoleilu.hutool.util.CharsetUtil
转换为Charset对象
CHARSET_GBK - 类 中的静态变量com.xiaoleilu.hutool.util.CharsetUtil
GBK
CHARSET_ISO_8859_1 - 类 中的静态变量com.xiaoleilu.hutool.util.CharsetUtil
ISO-8859-1
CHARSET_PATTERN - 类 中的静态变量com.xiaoleilu.hutool.http.HttpUtil
 
CHARSET_UTF_8 - 类 中的静态变量com.xiaoleilu.hutool.util.CharsetUtil
UTF-8
CharsetConverter - com.xiaoleilu.hutool.convert.impl中的类
编码对象转换器
CharsetConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.CharsetConverter
 
CharsetUtil - com.xiaoleilu.hutool.util中的类
字符集工具类
checkClientTrusted(X509Certificate[], String) - 类 中的方法com.xiaoleilu.hutool.http.ssl.DefaultTrustManager
 
checkCPExist(Class<? extends DataSource>) - 类 中的方法com.xiaoleilu.hutool.db.ds.DSFactory
检查DataSource类是否存在
checkServerTrusted(X509Certificate[], String) - 类 中的方法com.xiaoleilu.hutool.http.ssl.DefaultTrustManager
 
chr(int) - 类 中的静态方法com.xiaoleilu.hutool.http.HTMLFilter
 
CITIZEN_ID - 类 中的静态变量com.xiaoleilu.hutool.lang.Validator
身份证号码
CLASS_EXT - 类 中的静态变量com.xiaoleilu.hutool.io.FileUtil
Class文件扩展名
CLASS_PATH - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
CLASS_VERSION - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
Java类信息
ClassConverter - com.xiaoleilu.hutool.convert.impl中的类
类转换器
将类名转换为类
ClassConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.ClassConverter
 
ClassPathResource - com.xiaoleilu.hutool.io.resource中的类
ClassPath资源访问类
ClassPathResource(String) - 类 的构造器com.xiaoleilu.hutool.io.resource.ClassPathResource
构造
ClassPathResource(String, ClassLoader) - 类 的构造器com.xiaoleilu.hutool.io.resource.ClassPathResource
构造
ClassPathResource(String, Class<?>) - 类 的构造器com.xiaoleilu.hutool.io.resource.ClassPathResource
构造
ClassPathResource(String, ClassLoader, Class<?>) - 类 的构造器com.xiaoleilu.hutool.io.resource.ClassPathResource
构造
ClassScaner - com.xiaoleilu.hutool.lang中的类
类扫描器
ClassScaner() - 类 的构造器com.xiaoleilu.hutool.lang.ClassScaner
 
ClassUtil - com.xiaoleilu.hutool.util中的类
类工具类 1、扫描指定包下的所有类
参考 http://www.oschina.net/code/snippet_234657_22722
cleanBlank(String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
清理空白字符
cleanHtmlTag(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HtmlUtil
清除所有HTML标签
cleanInvalid(String) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
去除XML文本中的无效字符
clear() - 类 中的方法com.xiaoleilu.hutool.cache.AbstractCache
 
clear() - 接口 中的方法com.xiaoleilu.hutool.cache.Cache
清空缓存
clear() - 类 中的方法com.xiaoleilu.hutool.cache.FileLFUCache
清空缓存
clear() - 类 中的方法com.xiaoleilu.hutool.cache.NoCache
 
clear() - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
clear() - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
 
clear() - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
 
clearWarnings() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
clearWorker() - 类 中的方法com.xiaoleilu.hutool.lang.SyncFinisher
清空工作线程对象
clipher - 类 中的变量com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
Cipher负责完成加密或解密工作
clone() - 接口 中的方法com.xiaoleilu.hutool.clone.Cloneable
 
clone() - 类 中的方法com.xiaoleilu.hutool.clone.CloneSupport
 
clone() - 类 中的方法com.xiaoleilu.hutool.db.Entity
 
clone() - 类 中的方法com.xiaoleilu.hutool.db.sql.Condition
 
clone() - 类 中的方法com.xiaoleilu.hutool.json.JSONNull
There is only intended to be a single instance of the NULL object, so the clone method returns itself.
clone() - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
clone(T[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
克隆数组
clone(T) - 类 中的静态方法com.xiaoleilu.hutool.util.ObjectUtil
克隆对象
对象必须实现Serializable接口
clone(T) - 类 中的静态方法com.xiaoleilu.hutool.util.ObjectUtil
克隆对象
对象必须实现Serializable接口
Cloneable<T> - com.xiaoleilu.hutool.clone中的接口
克隆支持接口
CloneSupport<T> - com.xiaoleilu.hutool.clone中的类
克隆支持类,提供默认的克隆方法
CloneSupport() - 类 的构造器com.xiaoleilu.hutool.clone.CloneSupport
 
close(Object...) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
连续关闭一系列的SQL相关对象
这些对象必须按照顺序关闭,否则会出错。
close(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.c3p0.C3p0DSFactory
 
close(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.dbcp.DbcpDSFactory
 
close(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.druid.DruidDSFactory
 
close() - 类 中的方法com.xiaoleilu.hutool.db.ds.DSFactory
关闭默认数据源(空组)
close(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.DSFactory
关闭对应数据源
close(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.hikari.HikariDSFactory
 
close(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.jndi.JndiDSFactory
 
close() - 类 中的方法com.xiaoleilu.hutool.db.ds.MongoDS
 
close() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.PooledConnection
重写关闭连接,实际操作是归还到连接池中
close() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.PooledDataSource
 
close(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.PooledDSFactory
 
close() - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.SimpleDataSource
 
close(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.SimpleDSFactory
 
close(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.tomcat.TomcatDSFactory
 
close() - 类 中的方法com.xiaoleilu.hutool.db.Session
 
close() - 类 中的方法com.xiaoleilu.hutool.io.BOMInputStream
 
close() - 类 中的方法com.xiaoleilu.hutool.io.FastByteArrayOutputStream
此方法无任何效果,当流被关闭后不会抛出IOException
close(Closeable) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
关闭
close(AutoCloseable) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
关闭
close() - 类 中的方法com.xiaoleilu.hutool.watch.WatchMonitor
关闭监听
closeAll() - 类 中的静态方法com.xiaoleilu.hutool.db.ds.MongoDS
关闭全部连接
closeConnection(Connection) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
关闭连接
自定义关闭连接有利于自定义回收连接机制,或者不关闭
closeConnection(Connection) - 类 中的方法com.xiaoleilu.hutool.db.Session
Session中不关闭连接
closeConnection(Connection) - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
 
CollectionUtil - com.xiaoleilu.hutool.util中的类
集合相关工具类,包括数组
CollectionUtil.Consumer<T> - com.xiaoleilu.hutool.util中的接口
针对一个参数做相应的操作
CollectionUtil.KVConsumer<K,V> - com.xiaoleilu.hutool.util中的接口
针对两个参数做相应的操作,例如Map中的KEY和VALUE
COLON - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
Column - com.xiaoleilu.hutool.db.meta中的类
数据库表的列信息
Column() - 类 的构造器com.xiaoleilu.hutool.db.meta.Column
 
Column(String, ResultSet) - 类 的构造器com.xiaoleilu.hutool.db.meta.Column
 
com.xiaoleilu.hutool.bloomFilter - 程序包 com.xiaoleilu.hutool.bloomFilter
 
com.xiaoleilu.hutool.bloomFilter.bitMap - 程序包 com.xiaoleilu.hutool.bloomFilter.bitMap
 
com.xiaoleilu.hutool.bloomFilter.filter - 程序包 com.xiaoleilu.hutool.bloomFilter.filter
 
com.xiaoleilu.hutool.cache - 程序包 com.xiaoleilu.hutool.cache
 
com.xiaoleilu.hutool.clone - 程序包 com.xiaoleilu.hutool.clone
 
com.xiaoleilu.hutool.convert - 程序包 com.xiaoleilu.hutool.convert
 
com.xiaoleilu.hutool.convert.impl - 程序包 com.xiaoleilu.hutool.convert.impl
 
com.xiaoleilu.hutool.crypto - 程序包 com.xiaoleilu.hutool.crypto
 
com.xiaoleilu.hutool.crypto.asymmetric - 程序包 com.xiaoleilu.hutool.crypto.asymmetric
 
com.xiaoleilu.hutool.crypto.digest - 程序包 com.xiaoleilu.hutool.crypto.digest
 
com.xiaoleilu.hutool.crypto.symmetric - 程序包 com.xiaoleilu.hutool.crypto.symmetric
 
com.xiaoleilu.hutool.date - 程序包 com.xiaoleilu.hutool.date
 
com.xiaoleilu.hutool.date.format - 程序包 com.xiaoleilu.hutool.date.format
 
com.xiaoleilu.hutool.db - 程序包 com.xiaoleilu.hutool.db
 
com.xiaoleilu.hutool.db.dialect - 程序包 com.xiaoleilu.hutool.db.dialect
 
com.xiaoleilu.hutool.db.dialect.impl - 程序包 com.xiaoleilu.hutool.db.dialect.impl
 
com.xiaoleilu.hutool.db.ds - 程序包 com.xiaoleilu.hutool.db.ds
 
com.xiaoleilu.hutool.db.ds.c3p0 - 程序包 com.xiaoleilu.hutool.db.ds.c3p0
 
com.xiaoleilu.hutool.db.ds.dbcp - 程序包 com.xiaoleilu.hutool.db.ds.dbcp
 
com.xiaoleilu.hutool.db.ds.druid - 程序包 com.xiaoleilu.hutool.db.ds.druid
 
com.xiaoleilu.hutool.db.ds.hikari - 程序包 com.xiaoleilu.hutool.db.ds.hikari
 
com.xiaoleilu.hutool.db.ds.jndi - 程序包 com.xiaoleilu.hutool.db.ds.jndi
 
com.xiaoleilu.hutool.db.ds.pooled - 程序包 com.xiaoleilu.hutool.db.ds.pooled
 
com.xiaoleilu.hutool.db.ds.simple - 程序包 com.xiaoleilu.hutool.db.ds.simple
 
com.xiaoleilu.hutool.db.ds.tomcat - 程序包 com.xiaoleilu.hutool.db.ds.tomcat
 
com.xiaoleilu.hutool.db.handler - 程序包 com.xiaoleilu.hutool.db.handler
 
com.xiaoleilu.hutool.db.meta - 程序包 com.xiaoleilu.hutool.db.meta
 
com.xiaoleilu.hutool.db.sql - 程序包 com.xiaoleilu.hutool.db.sql
 
com.xiaoleilu.hutool.dfa - 程序包 com.xiaoleilu.hutool.dfa
 
com.xiaoleilu.hutool.exceptions - 程序包 com.xiaoleilu.hutool.exceptions
 
com.xiaoleilu.hutool.getter - 程序包 com.xiaoleilu.hutool.getter
 
com.xiaoleilu.hutool.http - 程序包 com.xiaoleilu.hutool.http
 
com.xiaoleilu.hutool.http.ssl - 程序包 com.xiaoleilu.hutool.http.ssl
 
com.xiaoleilu.hutool.io - 程序包 com.xiaoleilu.hutool.io
 
com.xiaoleilu.hutool.io.file - 程序包 com.xiaoleilu.hutool.io.file
 
com.xiaoleilu.hutool.io.resource - 程序包 com.xiaoleilu.hutool.io.resource
 
com.xiaoleilu.hutool.json - 程序包 com.xiaoleilu.hutool.json
 
com.xiaoleilu.hutool.lang - 程序包 com.xiaoleilu.hutool.lang
 
com.xiaoleilu.hutool.log - 程序包 com.xiaoleilu.hutool.log
 
com.xiaoleilu.hutool.log.dialect.commons - 程序包 com.xiaoleilu.hutool.log.dialect.commons
 
com.xiaoleilu.hutool.log.dialect.console - 程序包 com.xiaoleilu.hutool.log.dialect.console
 
com.xiaoleilu.hutool.log.dialect.jdk - 程序包 com.xiaoleilu.hutool.log.dialect.jdk
 
com.xiaoleilu.hutool.log.dialect.log4j - 程序包 com.xiaoleilu.hutool.log.dialect.log4j
 
com.xiaoleilu.hutool.log.dialect.log4j2 - 程序包 com.xiaoleilu.hutool.log.dialect.log4j2
 
com.xiaoleilu.hutool.log.dialect.slf4j - 程序包 com.xiaoleilu.hutool.log.dialect.slf4j
 
com.xiaoleilu.hutool.log.level - 程序包 com.xiaoleilu.hutool.log.level
 
com.xiaoleilu.hutool.proxy - 程序包 com.xiaoleilu.hutool.proxy
 
com.xiaoleilu.hutool.proxy.aspects - 程序包 com.xiaoleilu.hutool.proxy.aspects
 
com.xiaoleilu.hutool.script - 程序包 com.xiaoleilu.hutool.script
 
com.xiaoleilu.hutool.setting - 程序包 com.xiaoleilu.hutool.setting
 
com.xiaoleilu.hutool.setting.dialect - 程序包 com.xiaoleilu.hutool.setting.dialect
 
com.xiaoleilu.hutool.system - 程序包 com.xiaoleilu.hutool.system
 
com.xiaoleilu.hutool.util - 程序包 com.xiaoleilu.hutool.util
 
com.xiaoleilu.hutool.watch - 程序包 com.xiaoleilu.hutool.watch
 
COMMA - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
commit() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
commit() - 类 中的方法com.xiaoleilu.hutool.db.Session
提交事务
compile(String) - 类 中的方法com.xiaoleilu.hutool.script.FullSupportScriptEngine
 
compile(Reader) - 类 中的方法com.xiaoleilu.hutool.script.FullSupportScriptEngine
 
compile(String) - 类 中的方法com.xiaoleilu.hutool.script.JavaScriptEngine
 
compile(Reader) - 类 中的方法com.xiaoleilu.hutool.script.JavaScriptEngine
 
compile(ScriptEngine, String) - 类 中的静态方法com.xiaoleilu.hutool.script.ScriptUtil
 
COMPILER - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
complateUrl(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.URLUtil
补全相对路径
Condition - com.xiaoleilu.hutool.db.sql中的类
条件对象
Condition() - 类 的构造器com.xiaoleilu.hutool.db.sql.Condition
构造
Condition(boolean) - 类 的构造器com.xiaoleilu.hutool.db.sql.Condition
构造
Condition(String, Object) - 类 的构造器com.xiaoleilu.hutool.db.sql.Condition
构造,使用等于表达式(运算符是=)
Condition(String, String, Object) - 类 的构造器com.xiaoleilu.hutool.db.sql.Condition
构造
Condition(String, String, Condition.LikeType) - 类 的构造器com.xiaoleilu.hutool.db.sql.Condition
构造
Condition.LikeType - com.xiaoleilu.hutool.db.sql中的枚举
SQL中 WHERE 语句查询方式
connect() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
连接
ConnectionWraper - com.xiaoleilu.hutool.db.ds.pooled中的类
连接包装,用于丰富功能
ConnectionWraper() - 类 的构造器com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
ConsistentHash<T> - com.xiaoleilu.hutool.lang中的类
一致性Hash算法 算法详解:http://blog.csdn.net/sparkliang/article/details/5279393 算法实现:https://weblogs.java.net/blog/2007/11/27/consistent-hashing
ConsistentHash(int, Collection<T>) - 类 的构造器com.xiaoleilu.hutool.lang.ConsistentHash
构造,使用Java默认的Hash算法
ConsistentHash(ConsistentHash.HashFunc, int, Collection<T>) - 类 的构造器com.xiaoleilu.hutool.lang.ConsistentHash
构造
ConsistentHash.HashFunc - com.xiaoleilu.hutool.lang中的接口
Hash算法对象,用于自定义hash算法
Console - com.xiaoleilu.hutool.lang中的类
命令行工具方法类
Console() - 类 的构造器com.xiaoleilu.hutool.lang.Console
 
ConsoleLog - com.xiaoleilu.hutool.log.dialect.console中的类
利用System.out.println()打印日志
ConsoleLog(Class<?>) - 类 的构造器com.xiaoleilu.hutool.log.dialect.console.ConsoleLog
 
ConsoleLog(String) - 类 的构造器com.xiaoleilu.hutool.log.dialect.console.ConsoleLog
 
ConsoleLogFactory - com.xiaoleilu.hutool.log.dialect.console中的类
利用System.out.println()打印日志
ConsoleLogFactory() - 类 的构造器com.xiaoleilu.hutool.log.dialect.console.ConsoleLogFactory
 
contains(long) - 接口 中的方法com.xiaoleilu.hutool.bloomFilter.bitMap.BitMap
 
contains(long) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.bitMap.IntMap
 
contains(long) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.bitMap.LongMap
 
contains(String) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.BitMapBloomFilter
是否可能包含此字符串,此处存在误判
contains(String) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.BitSetBloomFilter
判定是否包含指定字符串
contains(String) - 接口 中的方法com.xiaoleilu.hutool.bloomFilter.BloomFilter
 
contains(String) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.filter.AbstractFilter
 
contains(Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
contains(String, String, String...) - 类 中的方法com.xiaoleilu.hutool.lang.GroupedSet
是否在给定分组的集合中包含指定值
如果给定分组对应集合不存在,则返回false
contains(String, Collection<String>) - 类 中的方法com.xiaoleilu.hutool.lang.GroupedSet
是否在给定分组的集合中全部包含指定值集合
如果给定分组对应集合不存在,则返回false
contains(T[], T) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
数组中是否包含元素
contains(Object, Object) - 类 中的静态方法com.xiaoleilu.hutool.util.ObjectUtil
对象中是否包含元素
containsAll(Collection<?>) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
containsAny(Collection<?>, Collection<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
其中一个集合在另一个集合中是否至少包含一个元素,既是两个集合是否至少有一个共同的元素
containsIgnoreCase(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
是否包含特定字符,忽略大小写,如果给定两个参数都为null,返回true
containsKey(Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
 
containsKey(Object) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
 
containsSensitive(String) - 类 中的静态方法com.xiaoleilu.hutool.dfa.SensitiveUtil
是否包含敏感词
containsSensitive(Object) - 类 中的静态方法com.xiaoleilu.hutool.dfa.SensitiveUtil
是否包含敏感词
containsValue(Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
 
containsValue(Object) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
 
contentEncoding() - 类 中的方法com.xiaoleilu.hutool.http.HttpResponse
获取内容编码
contentLength() - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
获取内容长度
contentLength(int) - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
设置内容长度
contentType(String) - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
设置contentType
convert(Object, T) - 类 中的方法com.xiaoleilu.hutool.convert.AbstractConverter
 
Convert - com.xiaoleilu.hutool.convert中的类
类型转换器
convert(Class<T>, Object) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换值为指定类型
convert(Class<T>, Object, T) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换值为指定类型
convert(Object, T) - 接口 中的方法com.xiaoleilu.hutool.convert.Converter
转换为指定类型
转换为默认值的类型
convert(Class<T>, Object, T) - 类 中的方法com.xiaoleilu.hutool.convert.ConverterRegistry
转换值为指定类型
convert(Class<T>, Object) - 类 中的方法com.xiaoleilu.hutool.convert.ConverterRegistry
转换值为指定类型
convert(String, String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.CharsetUtil
转换字符串的字符集编码
convert(String, Charset, Charset) - 类 中的静态方法com.xiaoleilu.hutool.util.CharsetUtil
转换字符串的字符集编码
convert(File, String, File) - 类 中的静态方法com.xiaoleilu.hutool.util.ImageUtil
图像类型转换:GIF->JPG、GIF->PNG、PNG->JPG、PNG->GIF(X)、BMP->PNG
convertCharset(String, String, String) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
给定字符串转换字符编码
如果参数为空,则返回原字符串,不报错。
Converter<T> - com.xiaoleilu.hutool.convert中的接口
转换器接口,实现类型转换
ConverterRegistry - com.xiaoleilu.hutool.convert中的类
转换器登记
ConverterRegistry() - 类 的构造器com.xiaoleilu.hutool.convert.ConverterRegistry
 
ConvertException - com.xiaoleilu.hutool.convert中的异常错误
转换异常
ConvertException(Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.convert.ConvertException
 
ConvertException(String) - 异常错误 的构造器com.xiaoleilu.hutool.convert.ConvertException
 
ConvertException(String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.convert.ConvertException
 
ConvertException(String, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.convert.ConvertException
 
ConvertException(Throwable, String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.convert.ConvertException
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.AbstractConverter
内部转换器,被 AbstractConverter.convert(Object, Object) 调用,实现基本转换逻辑
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.ArrayConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.BooleanArrayConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.BooleanConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.ByteArrayConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.CalendarConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.CharacterConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.CharArrayConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.CharsetConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.ClassConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.DateConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.DateTimeConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.DoubleArrayConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.FloatArrayConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.IntArrayConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.LongArrayConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.NumberConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.PathConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.PrimitiveConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.ShortArrayConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.SqlDateConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.SqlTimeConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.SqlTimestampConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.StringConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.TimeZoneConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.URIConverter
 
convertInternal(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.URLConverter
 
convertTime(long, TimeUnit, TimeUnit) - 类 中的方法com.xiaoleilu.hutool.convert.Convert
转换时间单位
convertToStr(Object) - 类 中的方法com.xiaoleilu.hutool.convert.AbstractConverter
值转为String
convertToStr(Object) - 类 中的方法com.xiaoleilu.hutool.convert.impl.NumberConverter
 
CookiePool - com.xiaoleilu.hutool.http中的类
Cookie池。
CookiePool() - 类 的构造器com.xiaoleilu.hutool.http.CookiePool
 
copy(String, String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
复制文件或目录
如果目标文件为目录,则将源文件以相同文件名拷贝到目标目录
copy(File, File, boolean) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
复制文件或目录
情况如下:
1、src和dest都为目录,则讲src下所有文件目录拷贝到dest下
2、src和dest都为文件,直接复制,名字为dest
3、src为文件,dest为目录,将src拷贝到dest目录下
copy(Reader, Writer) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
将Reader中的内容复制到Writer中 使用默认缓存大小
copy(Reader, Writer, int) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
将Reader中的内容复制到Writer中
copy(Reader, Writer, int, StreamProgress) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
将Reader中的内容复制到Writer中
copy(InputStream, OutputStream) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
拷贝流,使用默认Buffer大小
copy(InputStream, OutputStream, int) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
拷贝流
copy(InputStream, OutputStream, int, StreamProgress) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
拷贝流
copy(FileInputStream, FileOutputStream) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
拷贝文件流,使用NIO
copy(ReadableByteChannel, WritableByteChannel, int, StreamProgress) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
拷贝流,使用NIO,不会关闭流
copyByNIO(InputStream, OutputStream, int, StreamProgress) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
拷贝流 thanks to: https://github.com/venusdrogon/feilong-io/blob/master/src/main/java/com/feilong/io/IOWriteUtil.java
copyFile(String, String, StandardCopyOption...) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
copyFile(File, File, StandardCopyOption...) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
copyFile(Path, Path, StandardCopyOption...) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
copyProperties(Object, Object) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
复制Bean对象属性
copyProperties(Object, Object, String...) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
复制Bean对象属性
限制类用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
copyProperties(Object, Object, BeanUtil.CopyOptions) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
复制Bean对象属性
限制类用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
count(Entity) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
结果的条目数
count(Entity) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
满足条件的数据条目数量
count(Connection, Entity) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
结果的条目数
count() - 类 中的方法com.xiaoleilu.hutool.lang.SyncFinisher
 
count(Iterable<T>, Matcher<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
集合中匹配规则的数量
count(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
计算指定字符串中,匹配pattern的个数
count(Pattern, String) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
计算指定字符串中,匹配pattern的个数
count(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
统计指定内容中包含指定字符串的数量
参数为 null 或者 "" 返回 0.
count(String, char) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
统计指定内容中包含指定字符的数量
countMap(Collection<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
根据集合返回一个元素计数的 Map
所谓元素计数就是假如这个集合中某个元素出现了n次,那将这个元素做为key,n做为value
例如:[a,b,c,c,c] 得到:
a: 1
b: 1
c: 3
CR - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
create() - 类 中的静态方法com.xiaoleilu.hutool.db.Entity
创建Entity
create(String) - 类 中的静态方法com.xiaoleilu.hutool.db.Entity
创建Entity
create() - 类 中的静态方法com.xiaoleilu.hutool.db.handler.EntityHandler
创建一个 SingleEntityHandler对象
create() - 类 中的静态方法com.xiaoleilu.hutool.db.handler.EntityListHandler
创建一个 EntityHandler对象
create() - 类 中的静态方法com.xiaoleilu.hutool.db.handler.EntitySetHandler
创建一个 EntityHandler对象
create() - 类 中的静态方法com.xiaoleilu.hutool.db.handler.NumberHandler
创建一个 NumberHandler对象
create(PageResult<Entity>) - 类 中的静态方法com.xiaoleilu.hutool.db.handler.PageResultHandler
创建一个 EntityHandler对象
结果集根据给定的分页对象查询数据库,填充结果
create(String, ResultSet) - 类 中的静态方法com.xiaoleilu.hutool.db.meta.Column
创建列对象
create(String) - 类 中的静态方法com.xiaoleilu.hutool.db.meta.Table
 
create(DataSource) - 类 中的静态方法com.xiaoleilu.hutool.db.Session
创建会话
create(Connection) - 类 中的静态方法com.xiaoleilu.hutool.db.Session
创建会话
create() - 类 中的静态方法com.xiaoleilu.hutool.db.sql.SqlBuilder
创建SQL构建器
create(Wrapper) - 类 中的静态方法com.xiaoleilu.hutool.db.sql.SqlBuilder
创建SQL构建器
create(Dialect) - 类 中的静态方法com.xiaoleilu.hutool.db.SqlConnRunner
实例化一个新的SQL运行对象
create(DataSource) - 类 中的静态方法com.xiaoleilu.hutool.db.SqlConnRunner
实例化一个新的SQL运行对象
create(String) - 类 中的静态方法com.xiaoleilu.hutool.db.SqlConnRunner
实例化一个新的SQL运行对象
create(DataSource) - 类 中的静态方法com.xiaoleilu.hutool.db.SqlRunner
创建SqlRunner
会根据数据源连接的元信息识别目标数据库类型,进而使用合适的数据源
create(DataSource, Dialect) - 类 中的静态方法com.xiaoleilu.hutool.db.SqlRunner
创建SqlRunner
create(DataSource, String) - 类 中的静态方法com.xiaoleilu.hutool.db.SqlRunner
创建SqlRunner
create(String, Method) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpConnection
创建HttpConnection
create(String, Method, int) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpConnection
创建HttpConnection
create(String, Method, HostnameVerifier, SSLSocketFactory) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpConnection
创建HttpConnection
create(String, Method, HostnameVerifier, SSLSocketFactory, int) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpConnection
创建HttpConnection
create() - 类 中的静态方法com.xiaoleilu.hutool.http.ssl.SSLSocketFactoryBuilder
创建 SSLSocketFactoryBuilder
create(File, Charset) - 类 中的静态方法com.xiaoleilu.hutool.io.file.FileReader
创建 FileReader
create(File) - 类 中的静态方法com.xiaoleilu.hutool.io.file.FileReader
创建 FileReader, 编码:FileWrapper.DEFAULT_CHARSET
create(File, Charset) - 类 中的静态方法com.xiaoleilu.hutool.io.file.FileWriter
创建 FileWriter
create(File) - 类 中的静态方法com.xiaoleilu.hutool.io.file.FileWriter
创建 FileWriter, 编码:FileWrapper.DEFAULT_CHARSET
create() - 类 中的静态方法com.xiaoleilu.hutool.lang.Dict
创建Dict
create() - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil.CopyOptions
创建拷贝选项
create(Class<?>, boolean, String...) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil.CopyOptions
创建拷贝选项
create() - 类 中的静态方法com.xiaoleilu.hutool.util.BeetlUtil.ResourceLoaderBuilder
创建
create(URI, WatchEvent.Kind<?>...) - 类 中的静态方法com.xiaoleilu.hutool.watch.WatchMonitor
创建并初始化监听
create(URL, WatchEvent.Kind<?>...) - 类 中的静态方法com.xiaoleilu.hutool.watch.WatchMonitor
创建并初始化监听
create(File, WatchEvent.Kind<?>...) - 类 中的静态方法com.xiaoleilu.hutool.watch.WatchMonitor
创建并初始化监听
create(String, WatchEvent.Kind<?>...) - 类 中的静态方法com.xiaoleilu.hutool.watch.WatchMonitor
创建并初始化监听
create(Path, WatchEvent.Kind<?>...) - 类 中的静态方法com.xiaoleilu.hutool.watch.WatchMonitor
创建并初始化监听
createArray() - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
创建 JSONArray
createArrayOf(String, Object[]) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
createBindings() - 类 中的方法com.xiaoleilu.hutool.script.FullSupportScriptEngine
 
createBindings() - 类 中的方法com.xiaoleilu.hutool.script.JavaScriptEngine
 
createBlob() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
createClob() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
createGroupTemplate() - 类 中的静态方法com.xiaoleilu.hutool.util.BeetlUtil
创建默认 GroupTemplate
createGroupTemplate(ResourceLoader, Configuration) - 类 中的静态方法com.xiaoleilu.hutool.util.BeetlUtil
创建自定义的 GroupTemplate
createHashes(String, int) - 类 中的静态方法com.xiaoleilu.hutool.bloomFilter.BitSetBloomFilter
将字符串的字节表示进行多哈希编码.
createLimitedEntity(DataSource, String) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
创建带有字段限制的Entity对象
此方法读取数据库中对应表的字段列表,加入到Entity中,当Entity被设置内容时,会忽略对应表字段外的所有KEY
createNClob() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
createObj() - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
创建JSONObject
createSQLXML() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
createStatement() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
createStatement(int, int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
createStatement(int, int, int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
createStruct(String, Object[]) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
createTempFile(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
创建临时文件
创建后的文件名为 prefix[Randon].tmp
createTempFile(File, boolean) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
创建临时文件
创建后的文件名为 prefix[Randon].tmp
createTempFile(String, String, File, boolean) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
创建临时文件
创建后的文件名为 prefix[Randon].suffix From com.jodd.io.FileUtil
createThreadLocal(boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
创建本地线程对象
createXml(String) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
创建XML文档
创建的XML默认是utf8编码,修改编码的过程是在toStr和toFile方法里,既XML在转为文本的时候才定义编码
CRLF - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
CRONTAB_CONFIG_PATH - 类 中的静态变量com.xiaoleilu.hutool.util.CronUtil
Crontab配置文件
CronUtil - com.xiaoleilu.hutool.util中的类
定时任务工具类
CronUtil() - 类 的构造器com.xiaoleilu.hutool.util.CronUtil
 
CryptoException - com.xiaoleilu.hutool.crypto中的异常错误
加密异常
CryptoException(Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.crypto.CryptoException
 
CryptoException(String) - 异常错误 的构造器com.xiaoleilu.hutool.crypto.CryptoException
 
CryptoException(String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.crypto.CryptoException
 
CryptoException(String, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.crypto.CryptoException
 
CryptoException(Throwable, String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.crypto.CryptoException
 
current(boolean) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
当前时间long
cut(File, File, int, int, int, int) - 类 中的静态方法com.xiaoleilu.hutool.util.ImageUtil
图像切割(按指定起点坐标和宽高切割)
cut(File, File, int, int) - 类 中的静态方法com.xiaoleilu.hutool.util.ImageUtil
图像切割(指定切片的宽度和高度)
cutByRowsAndCols(File, File, int, int) - 类 中的静态方法com.xiaoleilu.hutool.util.ImageUtil
图像切割(指定切片的行数和列数)

D

DaoTemplate - com.xiaoleilu.hutool.db中的类
数据访问层模板
此模板用于简化对指定表的操作,简化的操作如下:
1、在初始化时指定了表名,CRUD操作时便不需要表名
2、在初始化时指定了主键,某些需要主键的操作便不需要指定主键类型
DaoTemplate(String) - 类 的构造器com.xiaoleilu.hutool.db.DaoTemplate
构造,此构造需要自定义SqlRunner,主键默认为id
DaoTemplate(String, String) - 类 的构造器com.xiaoleilu.hutool.db.DaoTemplate
构造,使用默认的池化连接池,读取默认配置文件的空分组,适用于只有一个数据库的情况
DaoTemplate(String, DataSource) - 类 的构造器com.xiaoleilu.hutool.db.DaoTemplate
 
DaoTemplate(String, String, DataSource) - 类 的构造器com.xiaoleilu.hutool.db.DaoTemplate
构造
DaoTemplate(String, String, SqlRunner) - 类 的构造器com.xiaoleilu.hutool.db.DaoTemplate
构造
date() - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
 
date(long) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
Long类型时间转为Date
date(Calendar) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
Calendar类型时间转为Date
DateBasic - com.xiaoleilu.hutool.date.format中的接口
日期基本信息获取接口
DateBetween - com.xiaoleilu.hutool.date中的类
日期间隔
DateBetween(Date, Date) - 类 的构造器com.xiaoleilu.hutool.date.DateBetween
构造
在前的日期做为起始时间,在后的做为结束时间
DateConverter - com.xiaoleilu.hutool.convert.impl中的类
日期转换器
DateConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.DateConverter
 
DateException - com.xiaoleilu.hutool.date中的异常错误
工具类异常
DateException(Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.date.DateException
 
DateException(String) - 异常错误 的构造器com.xiaoleilu.hutool.date.DateException
 
DateException(String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.date.DateException
 
DateException(String, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.date.DateException
 
DateException(Throwable, String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.date.DateException
 
DateField - com.xiaoleilu.hutool.date中的枚举
日期各个部分的枚举
与Calendar相应值对应
DateParser - com.xiaoleilu.hutool.date.format中的接口
日期解析接口,用于解析日期字符串为 Date 对象
Thanks to Apache Commons Lang 3.5
DatePattern - com.xiaoleilu.hutool.date中的类
日期格式化类,提供常用的日期格式化对象
DatePattern() - 类 的构造器com.xiaoleilu.hutool.date.DatePattern
 
DatePatternLocal - com.xiaoleilu.hutool.date中的类
已过时。
please use DatePattern
DatePatternLocal() - 类 的构造器com.xiaoleilu.hutool.date.DatePatternLocal
已过时。
 
DatePrinter - com.xiaoleilu.hutool.date.format中的接口
日期格式化输出接口
Thanks to Apache Commons Lang 3.5
DateTime - com.xiaoleilu.hutool.date中的类
包装java.util.Date
DateTime() - 类 的构造器com.xiaoleilu.hutool.date.DateTime
当前时间
DateTime(Date) - 类 的构造器com.xiaoleilu.hutool.date.DateTime
给定日期的构造
DateTime(Calendar) - 类 的构造器com.xiaoleilu.hutool.date.DateTime
给定日期的构造
DateTime(long) - 类 的构造器com.xiaoleilu.hutool.date.DateTime
给定日期毫秒数的构造
DateTime(String, String) - 类 的构造器com.xiaoleilu.hutool.date.DateTime
构造
DateTime(String, DateFormat) - 类 的构造器com.xiaoleilu.hutool.date.DateTime
构造
DateTime(String, DateParser) - 类 的构造器com.xiaoleilu.hutool.date.DateTime
构造
DateTimeConverter - com.xiaoleilu.hutool.convert.impl中的类
日期时间转换器
DateTimeConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.DateTimeConverter
 
DateUnit - com.xiaoleilu.hutool.date中的枚举
日期时间单位,每个单位都是以毫秒为基数
DateUtil - com.xiaoleilu.hutool.date中的类
时间工具类
DateUtil() - 类 的构造器com.xiaoleilu.hutool.date.DateUtil
 
dayOfMonth() - 类 中的方法com.xiaoleilu.hutool.date.DateTime
获得指定日期是这个日期所在月份的第几天
dayOfMonth(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
获得指定日期是这个日期所在月份的第几天
dayOfWeek() - 类 中的方法com.xiaoleilu.hutool.date.DateTime
获得指定日期是星期几
dayOfWeek(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
获得指定日期是星期几
dayOfWeekEnum() - 类 中的方法com.xiaoleilu.hutool.date.DateTime
获得指定日期是星期几
dayOfWeekEnum(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
获得指定日期是星期几
dayOfWeekInMonth() - 类 中的方法com.xiaoleilu.hutool.date.DateTime
获得天所在的周是这个月的第几周
DbConfig - com.xiaoleilu.hutool.db.ds.pooled中的类
数据库配置
DbConfig() - 类 的构造器com.xiaoleilu.hutool.db.ds.pooled.DbConfig
 
DbConfig(String, String, String) - 类 的构造器com.xiaoleilu.hutool.db.ds.pooled.DbConfig
构造
DbcpDSFactory - com.xiaoleilu.hutool.db.ds.dbcp中的类
DBCP2数据源工厂类
DbcpDSFactory() - 类 的构造器com.xiaoleilu.hutool.db.ds.dbcp.DbcpDSFactory
 
DbcpDSFactory(Setting) - 类 的构造器com.xiaoleilu.hutool.db.ds.dbcp.DbcpDSFactory
 
DbRuntimeException - com.xiaoleilu.hutool.db中的异常错误
数据库异常
DbRuntimeException(Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.db.DbRuntimeException
 
DbRuntimeException(String) - 异常错误 的构造器com.xiaoleilu.hutool.db.DbRuntimeException
 
DbRuntimeException(String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.db.DbRuntimeException
 
DbRuntimeException(String, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.db.DbRuntimeException
 
DbRuntimeException(Throwable, String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.db.DbRuntimeException
 
DbSetting - com.xiaoleilu.hutool.db.ds.pooled中的类
数据库配置文件类
DbSetting() - 类 的构造器com.xiaoleilu.hutool.db.ds.pooled.DbSetting
构造
DbSetting(Setting) - 类 的构造器com.xiaoleilu.hutool.db.ds.pooled.DbSetting
构造
DbUtil - com.xiaoleilu.hutool.db中的类
数据库操作工具类
debug(Throwable) - 类 中的方法com.xiaoleilu.hutool.log.AbstractLog
 
debug(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog
 
debug(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog
 
debug(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
debug(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
debug(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.console.ConsoleLog
 
debug(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.console.ConsoleLog
 
debug(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
debug(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
debug(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
debug(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
debug(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
debug(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
debug(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
debug(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
debug(Throwable) - 接口 中的方法com.xiaoleilu.hutool.log.level.DebugLog
打印 DEBUG 等级的日志
debug(String, Object...) - 接口 中的方法com.xiaoleilu.hutool.log.level.DebugLog
打印 DEBUG 等级的日志
debug(Throwable, String, Object...) - 接口 中的方法com.xiaoleilu.hutool.log.level.DebugLog
打印 DEBUG 等级的日志
debug(String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
Debug等级日志,小于Info
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
debug(Log, String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
Debug等级日志,小于Info
DebugLog - com.xiaoleilu.hutool.log.level中的接口
DEBUG级别日志接口
decode(String, Charset) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
解码application/x-www-form-urlencoded字符
decode(String, String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
解码application/x-www-form-urlencoded字符
decode(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Base32
解码
decode(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Base64
base64解码
decode(String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Base64
base64解码
decode(String, Charset) - 类 中的静态方法com.xiaoleilu.hutool.lang.Base64
base64解码
decode(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.lang.Base64
解码Base64,同时解码URL安全和非安全的base64编码
decode(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.URLUtil
解码URL
decodeHex(char[]) - 类 中的静态方法com.xiaoleilu.hutool.util.HexUtil
将十六进制字符数组转换为字节数组
decodeHexStr(String, Charset) - 类 中的静态方法com.xiaoleilu.hutool.util.HexUtil
将十六进制字符数组转换为字符串
decodeHexStr(char[], Charset) - 类 中的静态方法com.xiaoleilu.hutool.util.HexUtil
将十六进制字符数组转换为字符串
decodeParams(String, String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
将URL参数解析为Map(也可以解析Post中的键值对参数)
decodeStr(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Base64
base64解码
decodeStr(String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Base64
base64解码
decodeStr(String, Charset) - 类 中的静态方法com.xiaoleilu.hutool.lang.Base64
base64解码
decrypt(byte[], KeyType) - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
解密
decrypt(InputStream, KeyType) - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
解密
decrypt(byte[]) - 类 中的方法com.xiaoleilu.hutool.crypto.symmetric.SymmetricCriptor
解密
decrypt(InputStream) - 类 中的方法com.xiaoleilu.hutool.crypto.symmetric.SymmetricCriptor
解密
decryptStr(String, KeyType) - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.RSA
分组解密
DEFAULT_BUFFER_SIZE - 类 中的静态变量com.xiaoleilu.hutool.io.IoUtil
默认缓存大小
DEFAULT_CHARSET - 类 中的静态变量com.xiaoleilu.hutool.io.file.FileWrapper
默认编码:UTF-8
DEFAULT_CHARSET - 类 中的静态变量com.xiaoleilu.hutool.setting.dialect.BasicSetting
默认字符集
DEFAULT_DB_CONFIG_PATH - 类 中的静态变量com.xiaoleilu.hutool.db.ds.pooled.DbSetting
默认的数据库连接配置文件路径
DEFAULT_DB_CONFIG_PATH - 类 中的静态变量com.xiaoleilu.hutool.db.ds.simple.SimpleDataSource
默认的数据库连接配置文件路径
DEFAULT_DB_SETTING_PATH - 类 中的静态变量com.xiaoleilu.hutool.db.ds.DSFactory
 
DEFAULT_DELIMITER - 类 中的静态变量com.xiaoleilu.hutool.setting.AbsSetting
数组类型值默认分隔符
DEFAULT_KEY_SIZE - 类 中的静态变量com.xiaoleilu.hutool.crypto.SecureUtil
默认密钥字节数 RSA/DSA Default Keysize 1024 Keysize must be a multiple of 64, ranging from 512 to 1024 (inclusive).
DEFAULT_NUMBER_PER_PAGE - 类 中的静态变量com.xiaoleilu.hutool.db.PageResult
 
DEFAULT_SEPARATOR - 类 中的静态变量com.xiaoleilu.hutool.dfa.SensitiveUtil
 
defaultCharset() - 类 中的静态方法com.xiaoleilu.hutool.util.CharsetUtil
系统默认字符集编码
defaultCharsetName() - 类 中的静态方法com.xiaoleilu.hutool.util.CharsetUtil
系统默认字符集编码
DefaultFilter - com.xiaoleilu.hutool.bloomFilter.filter中的类
默认Bloom过滤器,使用Java自带的Hash算法
DefaultFilter(long, int) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.DefaultFilter
 
DefaultFilter(long) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.DefaultFilter
 
DefaultTrustManager - com.xiaoleilu.hutool.http.ssl中的类
证书管理
DefaultTrustManager() - 类 的构造器com.xiaoleilu.hutool.http.ssl.DefaultTrustManager
 
dehexchar(char) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONTokener
Get the hex value of a character (base16).
dekHash(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
DEK算法
del(String, String, Object) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
删除数据
del(Entity) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
删除数据
del(T) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
删除
del(String, T) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
删除
del(Entity) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
删除
del(Connection, Entity) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
删除数据
此方法不会关闭Connection
del(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
删除文件或者文件夹
路径如果为相对路径,会转换为ClassPath路径!
del(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
删除文件或者文件夹
注意:删除文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
delete(String) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
删除
delete(String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpRequest
DELETE请求
delFirst(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
删除匹配的内容
DELIM_END - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
DELIM_START - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
delPre(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
删除正则匹配到的内容之前的字符 如果没有找到,则返回原文
des() - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
DES加密,生成随机KEY。
des(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
DES加密
例:
DES加密:des(key).encrypt(data)
DES解密:des(key).decrypt(data)
destroy() - 类 中的方法com.xiaoleilu.hutool.db.ds.c3p0.C3p0DSFactory
 
destroy() - 类 中的方法com.xiaoleilu.hutool.db.ds.dbcp.DbcpDSFactory
 
destroy() - 类 中的方法com.xiaoleilu.hutool.db.ds.druid.DruidDSFactory
 
destroy() - 类 中的方法com.xiaoleilu.hutool.db.ds.DSFactory
销毁工厂类,关闭所有数据源
destroy() - 类 中的方法com.xiaoleilu.hutool.db.ds.hikari.HikariDSFactory
 
destroy() - 类 中的方法com.xiaoleilu.hutool.db.ds.jndi.JndiDSFactory
 
destroy() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.PooledDSFactory
 
destroy() - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.SimpleDSFactory
 
destroy() - 类 中的方法com.xiaoleilu.hutool.db.ds.tomcat.TomcatDSFactory
 
destroy() - 类 中的静态方法com.xiaoleilu.hutool.lang.Singleton
清除所有Singleton对象
Dialect - com.xiaoleilu.hutool.db.dialect中的接口
SQL方言,不同的数据库由于在某些SQL上有所区别,故为每种数据库配置不同的方言。
DialectFactory - com.xiaoleilu.hutool.db.dialect中的类
方言工厂类
dialectName() - 接口 中的方法com.xiaoleilu.hutool.db.dialect.Dialect
方言名
DialectName - com.xiaoleilu.hutool.db.dialect中的枚举
方言名
dialectName() - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect
 
dialectName() - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.MysqlDialect
 
dialectName() - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.OracleDialect
 
dialectName() - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.PostgresqlDialect
 
dialectName() - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.Sqlite3Dialect
 
Dict - com.xiaoleilu.hutool.lang中的类
1、字典对象,扩充了HashMap中的方法
Dict() - 类 的构造器com.xiaoleilu.hutool.lang.Dict
 
digest(String, String) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.Digester
生成文件摘要
digest(String) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.Digester
生成文件摘要
digest(File) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.Digester
生成文件摘要
使用默认缓存大小,见 IoUtil.DEFAULT_BUFFER_SIZE
digest(byte[]) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.Digester
生成摘要
digest(InputStream) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.Digester
生成摘要,使用默认缓存大小,见 IoUtil.DEFAULT_BUFFER_SIZE
digest(InputStream, int) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.Digester
生成摘要
digest(String, String) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.HMac
生成文件摘要
digest(String) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.HMac
生成文件摘要
digest(File) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.HMac
生成文件摘要
使用默认缓存大小,见 IoUtil.DEFAULT_BUFFER_SIZE
digest(byte[]) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.HMac
生成摘要
digest(InputStream) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.HMac
生成摘要,使用默认缓存大小,见 IoUtil.DEFAULT_BUFFER_SIZE
digest(InputStream, int) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.HMac
生成摘要
DigestAlgorithm - com.xiaoleilu.hutool.crypto.digest中的枚举
摘要算法类型
see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#MessageDigest
Digester - com.xiaoleilu.hutool.crypto.digest中的类
摘要算法
注意:此对象实例化后为非线程安全!
Digester(DigestAlgorithm) - 类 的构造器com.xiaoleilu.hutool.crypto.digest.Digester
 
digestHex(String, String) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.Digester
生成文件摘要,并转为16进制字符串
digestHex(String) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.Digester
生成文件摘要
digestHex(File) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.Digester
生成文件摘要,并转为16进制字符串
使用默认缓存大小,见 IoUtil.DEFAULT_BUFFER_SIZE
digestHex(byte[]) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.Digester
生成摘要,并转为16进制字符串
digestHex(InputStream) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.Digester
生成摘要,并转为16进制字符串
使用默认缓存大小,见 IoUtil.DEFAULT_BUFFER_SIZE
digestHex(InputStream, int) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.Digester
生成摘要,并转为16进制字符串
使用默认缓存大小,见 IoUtil.DEFAULT_BUFFER_SIZE
digestHex(String, String) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.HMac
生成文件摘要,并转为16进制字符串
digestHex(String) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.HMac
生成文件摘要
digestHex(File) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.HMac
生成文件摘要,并转为16进制字符串
使用默认缓存大小,见 IoUtil.DEFAULT_BUFFER_SIZE
digestHex(byte[]) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.HMac
生成摘要,并转为16进制字符串
digestHex(InputStream) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.HMac
生成摘要,并转为16进制字符串
使用默认缓存大小,见 IoUtil.DEFAULT_BUFFER_SIZE
digestHex(InputStream, int) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.HMac
生成摘要,并转为16进制字符串
使用默认缓存大小,见 IoUtil.DEFAULT_BUFFER_SIZE
DigestUtil - com.xiaoleilu.hutool.crypto中的类
摘要算法工具类
DigestUtil() - 类 的构造器com.xiaoleilu.hutool.crypto.DigestUtil
 
digitUppercase(double) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
数字金额大写转换 先写个完整的然后将如零拾替换成零
Direction - com.xiaoleilu.hutool.db.sql中的枚举
排序方式(升序或者降序)
disableCache() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
关闭缓存
disableCache() - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
禁用缓存
disconnect() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
断开连接
disjunction(Collection<T>, Collection<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
两个集合的差集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留两个集合中此元素个数差的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[c],此结果中只保留了一个
distinct(Collection<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
去重集合
djbHash(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
DJB算法
DOT - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
DOUBLE_DOT - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
DoubleArrayConverter - com.xiaoleilu.hutool.convert.impl中的类
double 类型数组转换器
DoubleArrayConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.DoubleArrayConverter
 
download(String, OutputStream, boolean) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
下载远程文件
download(String, OutputStream, boolean, StreamProgress) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
下载远程文件
downloadFile(String, File) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
下载远程文件
downloadFile(String, File, StreamProgress) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
下载远程文件
downloadString(String, String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
下载远程文本
downloadString(String, Charset) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
下载远程文本
downloadString(String, Charset, StreamProgress) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
下载远程文本
DRIVER_MYSQL - 类 中的静态变量com.xiaoleilu.hutool.db.dialect.DialectFactory
JDBC 驱动 MySQL
DRIVER_ORACLE - 类 中的静态变量com.xiaoleilu.hutool.db.dialect.DialectFactory
JDBC 驱动 Oracle
DRIVER_POSTGRESQL - 类 中的静态变量com.xiaoleilu.hutool.db.dialect.DialectFactory
JDBC 驱动 PostgreSQL
DRIVER_SQLLITE3 - 类 中的静态变量com.xiaoleilu.hutool.db.dialect.DialectFactory
JDBC 驱动 SQLLite3
DruidDSFactory - com.xiaoleilu.hutool.db.ds.druid中的类
Druid数据源工厂类
DruidDSFactory() - 类 的构造器com.xiaoleilu.hutool.db.ds.druid.DruidDSFactory
 
DruidDSFactory(Setting) - 类 的构造器com.xiaoleilu.hutool.db.ds.druid.DruidDSFactory
 
DSA - com.xiaoleilu.hutool.crypto.asymmetric中的类
DSA加密算法
DSA() - 类 的构造器com.xiaoleilu.hutool.crypto.asymmetric.DSA
构造,创建新的私钥公钥对
DSA(byte[], byte[]) - 类 的构造器com.xiaoleilu.hutool.crypto.asymmetric.DSA
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
DSFactory - com.xiaoleilu.hutool.db.ds中的类
数据源工厂类
DSFactory(String) - 类 的构造器com.xiaoleilu.hutool.db.ds.DSFactory
 
dumpSystemInfo() - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
将系统信息输出到System.out中。
dumpSystemInfo(PrintWriter) - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
将系统信息输出到指定PrintWriter中。

E

edit(T) - 接口 中的方法com.xiaoleilu.hutool.lang.Editor
修改过滤后的结果
Editor<T> - com.xiaoleilu.hutool.lang中的接口
编辑器接口,常用于对于集合中的元素做统一编辑
此编辑器两个作用:
1、如果返回值为null,表示此值被抛弃 2、对对象做修改
elementText(Element, String) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
根据节点名获得第一个子节点
elementText(Element, String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
根据节点名获得第一个子节点
ELFFilter - com.xiaoleilu.hutool.bloomFilter.filter中的类
 
ELFFilter(long, int) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.ELFFilter
 
ELFFilter(long) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.ELFFilter
 
elfHash(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
ELF算法
EMAIL - 类 中的静态变量com.xiaoleilu.hutool.lang.Validator
邮件
EMPTY - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
EMPTY_JSON - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
emptyToNull(String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
当给定字符串为空字符串时,转换为null
encode(String, Charset) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
编码字符为 application/x-www-form-urlencoded
encode(String, String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
编码字符为 application/x-www-form-urlencoded
encode(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.lang.Base32
编码
encode(byte[], boolean) - 类 中的静态方法com.xiaoleilu.hutool.lang.Base64
编码为Base64,非URL安全的
encode(byte[], boolean, boolean) - 类 中的静态方法com.xiaoleilu.hutool.lang.Base64
编码为Base64
如果isMultiLine为true,则每76个字符一个换行符,否则在一行显示
encode(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Base64
base64编码
encode(String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Base64
base64编码
encode(String, Charset) - 类 中的静态方法com.xiaoleilu.hutool.lang.Base64
base64编码
encode(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.lang.Base64
base64编码
encode(byte[], String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Base64
base64编码
encode(byte[], Charset) - 类 中的静态方法com.xiaoleilu.hutool.lang.Base64
base64编码
encode(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HtmlUtil
转义文本中的HTML字符为安全的字符,以下字符被转义: ' with &#039; (&apos; doesn't work in HTML4) " with &quot; & with &amp; < with &lt; > with &gt;
encode(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.URLUtil
编码URL
encodeHex(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.util.HexUtil
将字节数组转换为十六进制字符数组
encodeHex(String, Charset) - 类 中的静态方法com.xiaoleilu.hutool.util.HexUtil
将字节数组转换为十六进制字符数组
encodeHex(byte[], boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.HexUtil
将字节数组转换为十六进制字符数组
encodeHexStr(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.util.HexUtil
将字节数组转换为十六进制字符串
encodeHexStr(String, Charset) - 类 中的静态方法com.xiaoleilu.hutool.util.HexUtil
将字节数组转换为十六进制字符串,结果为小写
encodeHexStr(byte[], boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.HexUtil
将字节数组转换为十六进制字符串
encrypt(byte[], KeyType) - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
加密
encrypt(String, String, KeyType) - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
加密
encrypt(String, KeyType) - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
加密,使用UTF-8编码
encrypt(InputStream, KeyType) - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
加密
encrypt(byte[]) - 类 中的方法com.xiaoleilu.hutool.crypto.symmetric.SymmetricCriptor
加密
encrypt(String, String) - 类 中的方法com.xiaoleilu.hutool.crypto.symmetric.SymmetricCriptor
加密
encrypt(String) - 类 中的方法com.xiaoleilu.hutool.crypto.symmetric.SymmetricCriptor
加密,使用UTF-8编码
encrypt(InputStream) - 类 中的方法com.xiaoleilu.hutool.crypto.symmetric.SymmetricCriptor
加密
encryptStr(String, KeyType) - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.RSA
分组加密
end() - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
 
endOfDay(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
获取某天的结束时间
endOfDay(Calendar) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
获取某天的结束时间
endWith(String, String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
是否以指定字符串结尾
endWithIgnoreCase(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
是否以指定字符串结尾,忽略大小写
Entity - com.xiaoleilu.hutool.db中的类
数据实体对象
数据实体类充当两个角色:
1.
Entity() - 类 的构造器com.xiaoleilu.hutool.db.Entity
 
Entity(String) - 类 的构造器com.xiaoleilu.hutool.db.Entity
构造
entity - 类 中的静态变量com.xiaoleilu.hutool.json.XMLTokener
The table of entity values.
EntityHandler - com.xiaoleilu.hutool.db.handler中的类
 
EntityHandler() - 类 的构造器com.xiaoleilu.hutool.db.handler.EntityHandler
 
EntityListHandler - com.xiaoleilu.hutool.db.handler中的类
结果集处理类 ,处理出的结果为Entity列表
EntityListHandler() - 类 的构造器com.xiaoleilu.hutool.db.handler.EntityListHandler
 
EntitySetHandler - com.xiaoleilu.hutool.db.handler中的类
结果集处理类 ,处理出的结果为Entity列表
EntitySetHandler() - 类 的构造器com.xiaoleilu.hutool.db.handler.EntitySetHandler
 
entrySet() - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
 
entrySet() - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
 
EOF - 类 中的静态变量com.xiaoleilu.hutool.io.IoUtil
数据流末尾
EQ - 类 中的静态变量com.xiaoleilu.hutool.json.XML
The Character '='.
equal(Object, Object) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否相等
当两值都为null返回true
equal(Object, Object) - 类 中的静态方法com.xiaoleilu.hutool.util.ObjectUtil
比较两个对象是否相等。
equals(Object) - 类 中的方法com.xiaoleilu.hutool.date.format.AbstractDateBasic
 
equals(Object) - 类 中的方法com.xiaoleilu.hutool.date.format.FastDateFormat
 
equals(File, File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
检查两个文件是否是同一个文件
equals(Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Determine if two JSONArrays are similar.
equals(Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONNull
A Null object is equal to the null value and to itself.
equals(Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
JSON中的key以及对应的value相等则判定为与此对象相同
equals(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
比较两个字符串(大小写敏感)。
equalsIgnoreCase(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
比较两个字符串(大小写不敏感)。
error() - 类 中的静态方法com.xiaoleilu.hutool.lang.Console
同 System.err.println()方法,打印控制台日志
error(Object) - 类 中的静态方法com.xiaoleilu.hutool.lang.Console
同 System.err.println()方法,打印控制台日志
error(String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.lang.Console
同 System.err.println()方法,打印控制台日志
error(Throwable, String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.lang.Console
同 System.err.println()方法,打印控制台日志
error(Throwable) - 类 中的方法com.xiaoleilu.hutool.log.AbstractLog
 
error(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog
 
error(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog
 
error(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
error(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
error(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.console.ConsoleLog
 
error(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.console.ConsoleLog
 
error(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
error(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
error(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
error(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
error(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
error(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
error(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
error(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
error(Throwable) - 接口 中的方法com.xiaoleilu.hutool.log.level.ErrorLog
打印 ERROR 等级的日志
error(String, Object...) - 接口 中的方法com.xiaoleilu.hutool.log.level.ErrorLog
打印 ERROR 等级的日志
error(Throwable, String, Object...) - 接口 中的方法com.xiaoleilu.hutool.log.level.ErrorLog
打印 ERROR 等级的日志
error(Throwable) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
Error等级日志
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
error(Log, Throwable) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
Error等级日志
error(String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
Error等级日志
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
error(Log, String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
Error等级日志
error(Throwable, String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
Error等级日志
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
error(Log, Throwable, String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
Error等级日志
ErrorLog - com.xiaoleilu.hutool.log.level中的接口
ERROR级别日志接口
escape(String) - 类 中的静态方法com.xiaoleilu.hutool.json.XML
Replace special characters with XML escapes: & (ampersand) is replaced by &amp; < (less than) is replaced by &lt; > (greater than) is replaced by &gt; " (double quote) is replaced by &quot;
escape(String) - 类 中的静态方法com.xiaoleilu.hutool.util.EscapeUtil
Escape编码(Unicode)
该方法不会对 ASCII 字母和数字进行编码,也不会对下面这些 ASCII 标点符号进行编码: * @ - _ + . / 。
escape(String) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
转义字符串,将正则的关键字转义
EscapeUtil - com.xiaoleilu.hutool.util中的类
转义和反转义工具类Escape / Unescape
escape采用ISO Latin字符集对指定的字符串进行编码。
EscapeUtil() - 类 的构造器com.xiaoleilu.hutool.util.EscapeUtil
 
eval(String, ScriptContext) - 类 中的方法com.xiaoleilu.hutool.script.FullSupportScriptEngine
 
eval(Reader, ScriptContext) - 类 中的方法com.xiaoleilu.hutool.script.FullSupportScriptEngine
 
eval(String) - 类 中的方法com.xiaoleilu.hutool.script.FullSupportScriptEngine
 
eval(Reader) - 类 中的方法com.xiaoleilu.hutool.script.FullSupportScriptEngine
 
eval(String, Bindings) - 类 中的方法com.xiaoleilu.hutool.script.FullSupportScriptEngine
 
eval(Reader, Bindings) - 类 中的方法com.xiaoleilu.hutool.script.FullSupportScriptEngine
 
eval(String, ScriptContext) - 类 中的方法com.xiaoleilu.hutool.script.JavaScriptEngine
 
eval(Reader, ScriptContext) - 类 中的方法com.xiaoleilu.hutool.script.JavaScriptEngine
 
eval(String) - 类 中的方法com.xiaoleilu.hutool.script.JavaScriptEngine
 
eval(Reader) - 类 中的方法com.xiaoleilu.hutool.script.JavaScriptEngine
 
eval(String, Bindings) - 类 中的方法com.xiaoleilu.hutool.script.JavaScriptEngine
 
eval(Reader, Bindings) - 类 中的方法com.xiaoleilu.hutool.script.JavaScriptEngine
 
EVENTS_ALL - 类 中的静态变量com.xiaoleilu.hutool.watch.WatchMonitor
全部事件
excAsync(Runnable, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
执行异步方法
ExceptionUtil - com.xiaoleilu.hutool.exceptions中的类
异常工具类
ExceptionUtil() - 类 的构造器com.xiaoleilu.hutool.exceptions.ExceptionUtil
 
execAsync(Callable<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
execute(String, Object...) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
执行非查询语句
语句包括 插入、更新、删除
execute(Connection, String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.db.sql.SqlExecutor
执行非查询语句
语句包括 插入、更新、删除
此方法不会关闭Connection
execute(PreparedStatement, Object...) - 类 中的静态方法com.xiaoleilu.hutool.db.sql.SqlExecutor
执行非查询语句
语句包括 插入、更新、删除
此方法不会关闭PreparedStatement
execute() - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
执行Reuqest请求
execute(Runnable) - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
直接在公共线程池中执行线程
executeBatch(String, Object[]...) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
批量执行非查询语句
executeBatch(Connection, String, Object[]...) - 类 中的静态方法com.xiaoleilu.hutool.db.sql.SqlExecutor
批量执行非查询语句
语句包括 插入、更新、删除
此方法不会关闭Connection
executeForGeneratedKey(String, Object...) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
执行非查询语句
语句包括 插入、更新、删除
executeForGeneratedKey(Connection, String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.db.sql.SqlExecutor
执行非查询语句,返回主键
发查询语句包括 插入、更新、删除
此方法不会关闭Connection
executeUpdate(PreparedStatement, Object...) - 类 中的静态方法com.xiaoleilu.hutool.db.sql.SqlExecutor
执行非查询语句
语句包括 插入、更新、删除
此方法不会关闭PreparedStatement
exist(Entity) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
指定条件的数据是否存在
exist(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
判断文件是否存在,如果path为null,则返回false
exist(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
判断文件是否存在,如果file为null,则返回false
exist(String, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
是否存在匹配文件
existCustomTimeout - 类 中的变量com.xiaoleilu.hutool.cache.AbstractCache
每个对象是否有单独的失效时长,用于决定清理过期对象是否有必要。
EXT_DIRS - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
extName(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获取文件扩展名
extName(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得文件的扩展名
extractMulti(Pattern, String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
从content中匹配出多个值并根据template生成新的字符串
例如:
content 2013年5月 pattern (.*?)
extractMulti(String, String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
从content中匹配出多个值并根据template生成新的字符串
匹配结束后会删除匹配内容之前的内容(包括匹配内容)
例如:
content 2013年5月 pattern (.*?)
extractMultiAndDelPre(Pattern, Holder<String>, String) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
从content中匹配出多个值并根据template生成新的字符串
匹配结束后会删除匹配内容之前的内容(包括匹配内容)
例如:
content 2013年5月 pattern (.*?)
extractMultiAndDelPre(String, Holder<String>, String) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
从content中匹配出多个值并根据template生成新的字符串
例如:
content 2013年5月 pattern (.*?)

F

FastByteArrayOutputStream - com.xiaoleilu.hutool.io中的类
基于快速缓冲FastByteBuffer的OutputStream,随着数据的增长自动扩充缓冲区 可以通过FastByteArrayOutputStream.toByteArray()FastByteArrayOutputStream.toString()来获取数据 FastByteArrayOutputStream.close()方法无任何效果,当流被关闭后不会抛出IOException 这种设计避免重新分配内存块而是分配新增的缓冲区,缓冲区不会被GC,数据也不会被拷贝到其他缓冲区。
FastByteArrayOutputStream() - 类 的构造器com.xiaoleilu.hutool.io.FastByteArrayOutputStream
 
FastByteArrayOutputStream(int) - 类 的构造器com.xiaoleilu.hutool.io.FastByteArrayOutputStream
 
FastByteBuffer - com.xiaoleilu.hutool.io中的类
代码移植自blade
快速缓冲,将数据存放在缓冲集中,取代以往的单一数组
FastByteBuffer() - 类 的构造器com.xiaoleilu.hutool.io.FastByteBuffer
 
FastByteBuffer(int) - 类 的构造器com.xiaoleilu.hutool.io.FastByteBuffer
 
FastDateFormat - com.xiaoleilu.hutool.date.format中的类
FastDateFormat 是一个线程安全的 SimpleDateFormat 实现。
FastDateFormat(String, TimeZone, Locale) - 类 的构造器com.xiaoleilu.hutool.date.format.FastDateFormat
构造
FastDateFormat(String, TimeZone, Locale, Date) - 类 的构造器com.xiaoleilu.hutool.date.format.FastDateFormat
构造
FIFOCache<K,V> - com.xiaoleilu.hutool.cache中的类
FIFO(first in first out) 先进先出缓存.
FIFOCache(int) - 类 的构造器com.xiaoleilu.hutool.cache.FIFOCache
构造,默认对象不过期
FIFOCache(int, long) - 类 的构造器com.xiaoleilu.hutool.cache.FIFOCache
构造
file - 类 中的变量com.xiaoleilu.hutool.io.file.FileWrapper
 
file(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
创建File对象,自动识别相对或绝对路径,相对路径将自动从ClassPath下寻找
file(String, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
创建File对象
file(File, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
创建File对象
file(URI) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
创建File对象
file(URL) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
创建File对象
FILE_SEPRATOR - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
fileForm - 类 中的变量com.xiaoleilu.hutool.http.HttpRequest
文件表单对象,用于文件上传
FileLFUCache - com.xiaoleilu.hutool.cache中的类
使用LFU缓存文件,以解决频繁读取文件引起的性能问题
FileLFUCache(int) - 类 的构造器com.xiaoleilu.hutool.cache.FileLFUCache
构造
最大文件大小为缓存容量的一半
默认无超时
FileLFUCache(int, int) - 类 的构造器com.xiaoleilu.hutool.cache.FileLFUCache
构造
默认无超时
FileLFUCache(int, int, long) - 类 的构造器com.xiaoleilu.hutool.cache.FileLFUCache
构造
FileReader - com.xiaoleilu.hutool.io.file中的类
文件读取器
FileReader(File, Charset) - 类 的构造器com.xiaoleilu.hutool.io.file.FileReader
构造
FileReader(File, String) - 类 的构造器com.xiaoleilu.hutool.io.file.FileReader
构造
FileReader(String, Charset) - 类 的构造器com.xiaoleilu.hutool.io.file.FileReader
构造
FileReader(String, String) - 类 的构造器com.xiaoleilu.hutool.io.file.FileReader
构造
FileReader(File) - 类 的构造器com.xiaoleilu.hutool.io.file.FileReader
构造
编码使用 FileWrapper.DEFAULT_CHARSET
FileReader(String) - 类 的构造器com.xiaoleilu.hutool.io.file.FileReader
构造
编码使用 FileWrapper.DEFAULT_CHARSET
FileReader.ReaderHandler<T> - com.xiaoleilu.hutool.io.file中的接口
Reader处理接口
FileTypeUtil - com.xiaoleilu.hutool.io中的类
文件类型判断工具类
FileTypeUtil() - 类 的构造器com.xiaoleilu.hutool.io.FileTypeUtil
 
FileUtil - com.xiaoleilu.hutool.io中的类
文件工具类
FileUtil() - 类 的构造器com.xiaoleilu.hutool.io.FileUtil
 
FileWrapper - com.xiaoleilu.hutool.io.file中的类
文件包装器,扩展文件对象
FileWrapper(File, Charset) - 类 的构造器com.xiaoleilu.hutool.io.file.FileWrapper
构造
FileWriter - com.xiaoleilu.hutool.io.file中的类
文件写入器
FileWriter(File, Charset) - 类 的构造器com.xiaoleilu.hutool.io.file.FileWriter
构造
FileWriter(File, String) - 类 的构造器com.xiaoleilu.hutool.io.file.FileWriter
构造
FileWriter(String, Charset) - 类 的构造器com.xiaoleilu.hutool.io.file.FileWriter
构造
FileWriter(String, String) - 类 的构造器com.xiaoleilu.hutool.io.file.FileWriter
构造
FileWriter(File) - 类 的构造器com.xiaoleilu.hutool.io.file.FileWriter
构造
编码使用 FileWrapper.DEFAULT_CHARSET
FileWriter(String) - 类 的构造器com.xiaoleilu.hutool.io.file.FileWriter
构造
编码使用 FileWrapper.DEFAULT_CHARSET
fillBean(T, BeanUtil.ValueProvider) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
填充Bean
fillBeanWithMap(Map<?, ?>, T, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
使用Map填充Bean对象
fillBeanWithMap(Map<?, ?>, T, boolean, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
使用Map填充Bean对象,可配置将下划线转换为驼峰
fillBeanWithMapIgnoreCase(Map<?, ?>, T, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
使用Map填充Bean对象,忽略大小写
fillBeanWithRequestParam(ServletRequest, T, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
ServletRequest 参数转Bean
fillParams(PreparedStatement, Collection<Object>) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
填充SQL的参数。
fillParams(PreparedStatement, Object...) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
填充SQL的参数。
filter(String) - 类 中的方法com.xiaoleilu.hutool.http.HTMLFilter
given a user submitted input String, filter out any invalid or restricted html.
Filter<T> - com.xiaoleilu.hutool.lang中的接口
过滤器接口
filter(T[], Editor<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
过滤
filter(Collection<T>, Editor<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
过滤
过滤会改变原集合的内容
filter(Map<K, V>, Editor<Map.Entry<K, V>>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
过滤
filter(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HtmlUtil
过滤HTML文本,防止XSS攻击
finalize() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.PooledDataSource
 
find(Collection<String>, Entity, RsHandler<T>) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
查询
find(Entity, RsHandler<T>) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
查询,返回所有字段
find(String, T) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
根据某个字段值查询结果
find(Entity) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
根据某个字段值查询结果
find(Connection, Query, RsHandler<T>) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
查询
此方法不会关闭Connection
find(Connection, Collection<String>, Entity, RsHandler<T>) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
查询
此方法不会关闭Connection
find(Connection, Entity, RsHandler<T>) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
查询,返回所有字段
此方法不会关闭Connection
findAll(Entity) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
查询数据列表,返回所有字段
findAll(String) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
查询数据列表,返回所有字段
findAll() - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
查询当前表的所有记录
findAll(Connection, Entity) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
查询数据列表,返回所有字段
findAll(Connection, String) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
查询数据列表,返回所有字段
findAll(String, String, int, T) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
取得内容中匹配的所有结果
findAll(Pattern, String, int, T) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
取得内容中匹配的所有结果
findBy(String, String, Object) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
根据某个字段名条件查询数据列表,返回所有字段
findBy(Connection, String, String, Object) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
根据某个字段名条件查询数据列表,返回所有字段
findBySql(String, Object...) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
根据SQL语句查询结果
SQL语句可以是非完整SQL语句,可以只提供查询的条件部分(例如WHERE部分)
此方法会自动补全SELECT * FROM [tableName] 部分,这样就无需关心表名,直接提供条件即可
findEditor(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
 
findIn(Connection, String, String, Object...) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
根据某个字段名条件查询数据列表,返回所有字段
findLike(String, String, String, Condition.LikeType) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
根据某个字段名条件查询数据列表,返回所有字段
findLike(Connection, String, String, String, Condition.LikeType) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
根据某个字段名条件查询数据列表,返回所有字段
finish() - 接口 中的方法com.xiaoleilu.hutool.io.StreamProgress
结束
FloatArrayConverter - com.xiaoleilu.hutool.convert.impl中的类
float 类型数组转换器
FloatArrayConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.FloatArrayConverter
 
FNVFilter - com.xiaoleilu.hutool.bloomFilter.filter中的类
 
FNVFilter(long, int) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.FNVFilter
 
FNVFilter(long) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.FNVFilter
 
fnvHash(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
改进的32位FNV算法1
fnvHash(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
改进的32位FNV算法1
forEach(Iterator<T>, CollectionUtil.Consumer<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
循环遍历 Iterator,使用CollectionUtil.Consumer 接受遍历的每条数据,并针对每条数据做处理
forEach(Enumeration<T>, CollectionUtil.Consumer<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
循环遍历 Enumeration,使用CollectionUtil.Consumer 接受遍历的每条数据,并针对每条数据做处理
forEach(Map<K, V>, CollectionUtil.KVConsumer<K, V>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
循环遍历Map,使用CollectionUtil.KVConsumer 接受遍历的每条数据,并针对每条数据做处理
form - 类 中的变量com.xiaoleilu.hutool.http.HttpRequest
存储表单数据
form(String, Object) - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
设置表单数据
form(String, Object, Object...) - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
设置表单数据
form(Map<String, Object>) - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
设置map类型表单数据
form(String, File) - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
文件表单项
一旦有文件加入,表单变为multipart/form-data
form() - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
获取表单数据
format() - 类 中的方法com.xiaoleilu.hutool.date.BetweenFormater
格式化日期间隔输出
format(Date, String) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
根据特定格式格式化日期
format(long) - 接口 中的方法com.xiaoleilu.hutool.date.format.DatePrinter
格式化日期表示的毫秒数
format(Date) - 接口 中的方法com.xiaoleilu.hutool.date.format.DatePrinter
使用 GregorianCalendar 格式化 Date
format(Calendar) - 接口 中的方法com.xiaoleilu.hutool.date.format.DatePrinter
Formats a Calendar object.
format(long, B) - 接口 中的方法com.xiaoleilu.hutool.date.format.DatePrinter
Formats a millisecond long value into the supplied Appendable.
format(Date, B) - 接口 中的方法com.xiaoleilu.hutool.date.format.DatePrinter
Formats a Date object into the supplied Appendable using a GregorianCalendar.
format(Calendar, B) - 接口 中的方法com.xiaoleilu.hutool.date.format.DatePrinter
Formats a Calendar object into the supplied Appendable.
format(Object, StringBuffer, FieldPosition) - 类 中的方法com.xiaoleilu.hutool.date.format.FastDateFormat
 
format(long) - 类 中的方法com.xiaoleilu.hutool.date.format.FastDateFormat
 
format(Date) - 类 中的方法com.xiaoleilu.hutool.date.format.FastDateFormat
 
format(Calendar) - 类 中的方法com.xiaoleilu.hutool.date.format.FastDateFormat
 
format(long, B) - 类 中的方法com.xiaoleilu.hutool.date.format.FastDateFormat
 
format(Date, B) - 类 中的方法com.xiaoleilu.hutool.date.format.FastDateFormat
 
format(Calendar, B) - 类 中的方法com.xiaoleilu.hutool.date.format.FastDateFormat
 
format(String) - 类 中的静态方法com.xiaoleilu.hutool.db.sql.SqlFormatter
 
format(String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.lang.StrFormatter
格式化字符串
此方法只是简单将占位符 {} 按照顺序替换为参数
如果想输出 {} 使用 \\转义 { 即可,如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可
例:
通常使用:format("this is {} for {}", "a", "b") -> this is a for b
转义{}: format("this is \\{} for {}", "a", "b") -> this is \{} for a
转义\: format("this is \\\\{} for {}", "a", "b") -> this is \a for b
format(String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
格式化文本, {} 表示占位符
此方法只是简单将占位符 {} 按照顺序替换为参数
如果想输出 {} 使用 \\转义 { 即可,如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可
例:
通常使用:format("this is {} for {}", "a", "b") -> this is a for b
转义{}: format("this is \\{} for {}", "a", "b") -> this is \{} for a
转义\: format("this is \\\\{} for {}", "a", "b") -> this is \a for b
format(String, Map<?, ?>) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
格式化文本,使用 {varName} 占位
map = {a: "aValue", b: "bValue"} format("{a} and {b}", map) ----> aValue and bValue
formatBetween(Date, Date, BetweenFormater.Level) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
格式化日期间隔输出
formatBetween(long, BetweenFormater.Level) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
格式化日期间隔输出
formatDate(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
格式 yyyy-MM-dd
formatDateTime(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
格式 yyyy-MM-dd HH:mm:ss
formatHttpDate(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
格式化为Http的标准日期格式
formatSql(String) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
格式化SQL
formatUrl(String) - 类 中的静态方法com.xiaoleilu.hutool.util.URLUtil
格式化URL链接
free(PooledConnection) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.PooledDataSource
释放连接,连接会被返回给连接池
from(String...) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
添加 from语句
fromString(String) - 枚举 中的静态方法com.xiaoleilu.hutool.db.sql.Direction
Returns the Direction enum for the given String value.
FULL - 类 中的静态变量com.xiaoleilu.hutool.date.format.FastDateFormat
FULL locale dependent date or time style.
FullSupportScriptEngine - com.xiaoleilu.hutool.script中的类
全功能引擎类,支持Compilable和Invocable
FullSupportScriptEngine(ScriptEngine) - 类 的构造器com.xiaoleilu.hutool.script.FullSupportScriptEngine
 
FullSupportScriptEngine(String) - 类 的构造器com.xiaoleilu.hutool.script.FullSupportScriptEngine
 

G

GBK - 类 中的静态变量com.xiaoleilu.hutool.util.CharsetUtil
GBK
GENERAL - 类 中的静态变量com.xiaoleilu.hutool.lang.Validator
英文字母 、数字和下划线
GENERAL_WITH_CHINESE - 类 中的静态变量com.xiaoleilu.hutool.lang.Validator
中文字、英文字母、数字和下划线
generateDESKey(String, byte[]) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
生成 SecretKey
generateKey(String) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
生成 SecretKey
generateKey(String, byte[]) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
生成 SecretKey
generateKey(String, KeySpec) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
生成 SecretKey
generateKeyPair(String) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
生成用于非对称加密的公钥和私钥
generateKeyPair(String, int) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
生成用于非对称加密的公钥和私钥
generateKeyPair(String, int, byte[]) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
生成用于非对称加密的公钥和私钥
generatePBEKey(String, char[]) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
生成PBE SecretKey
generatePrivateKey(String, byte[]) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
生成私钥
generatePrivateKey(KeyStore, String, char[]) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
生成私钥
generatePublicKey(String, byte[]) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
生成公钥
generateSignature(AsymmetricAlgorithm, DigestAlgorithm) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
生成签名对象
genGetter(String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
生成get方法名
genSetter(String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
生成set方法名
例如:name 返回 setName
get(K) - 类 中的方法com.xiaoleilu.hutool.cache.AbstractCache
 
get(K) - 接口 中的方法com.xiaoleilu.hutool.cache.Cache
从缓存中获得对象,当对象不在缓存中或已经过期返回null
get(K) - 类 中的方法com.xiaoleilu.hutool.cache.NoCache
 
get(T) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
根据主键获取单个记录
get(String, T) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
根据某个字段(最好是唯一字段)查询单个记录
当有多条返回时,只显示查询到的第一条
get(Entity) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
根据条件实体查询单个记录,当有多条返回时,只显示查询到的第一条
get() - 类 中的静态方法com.xiaoleilu.hutool.db.ds.DSFactory
获得数据源
使用默认配置文件的无分组配置
get(String) - 类 中的静态方法com.xiaoleilu.hutool.db.ds.DSFactory
获得数据源
get(Setting, String) - 类 中的静态方法com.xiaoleilu.hutool.db.ds.DSFactory
获得数据源
get(String) - 类 中的静态方法com.xiaoleilu.hutool.http.CookiePool
获得某个网站的Cookie信息
get(String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpRequest
GET请求
get(String, String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
发送get请求
get(String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
发送get请求
get(String, Map<String, Object>) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
发送get请求
get(int) - 类 中的方法com.xiaoleilu.hutool.io.FastByteBuffer
根据索引位返回一个字节
get(int) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
get(Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
 
get(Object) - 类 中的方法com.xiaoleilu.hutool.lang.ConsistentHash
获得一个最近的顺时针节点
get(String, T) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
获得特定类型值
get(Class<T>, Object...) - 类 中的静态方法com.xiaoleilu.hutool.lang.Singleton
获得指定类的单例对象
对象存在于池中返回,否则创建,每次调用此方法获得的对象为同一个对象
get(String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.lang.Singleton
获得指定类的单例对象
对象存在于池中返回,否则创建,每次调用此方法获得的对象为同一个对象
get(int) - 类 中的方法com.xiaoleilu.hutool.lang.Tuple
 
get(String) - 类 中的静态方法com.xiaoleilu.hutool.log.LogFactory
获得日志对象
get(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.log.LogFactory
获得日志对象
get() - 类 中的静态方法com.xiaoleilu.hutool.log.LogFactory
 
get(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
获得Log
get(String) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
获得Log
get() - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
 
get(String) - 类 中的方法com.xiaoleilu.hutool.script.FullSupportScriptEngine
 
get(String) - 类 中的方法com.xiaoleilu.hutool.script.JavaScriptEngine
 
get(Object) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
 
get(String, String) - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
取得系统属性,如果因为Java安全的限制而失败,则将错误打在Log中,然后返回 null
get(String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
取得系统属性,如果因为Java安全的限制而失败,则将错误打在Log中,然后返回 null
get(String) - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
获得System属性(调用System.getProperty)
get(String, String, int) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
获得匹配的字符串
get(Pattern, String, int) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
获得匹配的字符串
getAbsolutePath(String, Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获取绝对路径
此方法不会判定给定路径是否有效(文件或目录存在)
getAbsolutePath(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获取绝对路径,相对于ClassPath的目录
如果给定就是绝对路径,则返回原路径,原路径把所有\替换为/
兼容Spring风格的路径表示,例如:classpath:config/example.setting也会被识别后转换
getAbsolutePath(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获取标准的绝对路径
getAcceptedIssuers() - 类 中的方法com.xiaoleilu.hutool.http.ssl.DefaultTrustManager
 
getAddress() - 类 中的方法com.xiaoleilu.hutool.system.HostInfo
取得当前主机的地址。
getArch() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
取得当前OS的架构(取自系统属性:os.arch)。
getAutoCommit() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
getBetweenMs() - 类 中的方法com.xiaoleilu.hutool.date.BetweenFormater
获得 时长毫秒数
getBigDecimal(K) - 接口 中的方法com.xiaoleilu.hutool.getter.BasicTypeGetter
获取BigDecimal型属性值
getBigDecimal(K, BigDecimal) - 接口 中的方法com.xiaoleilu.hutool.getter.OptBasicTypeGetter
获取BigDecimal型属性值
若获得的值为不可见字符,使用默认值
getBigDecimal(K, BigDecimal) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromObjectGetter
 
getBigDecimal(K, BigDecimal) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromStringGetter
 
getBigDecimal(K) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeGetter
获取BigDecimal型属性值
无值或获取错误返回null
getBigDecimal(String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getBigDecimal(String, BigDecimal) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getBigDecimal(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getBigDecimalByGroup(String, String) - 接口 中的方法com.xiaoleilu.hutool.getter.GroupedTypeGetter
获取BigDecimal型属性值
getBigDecimalList(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ListTypeGetter
获取BigDecimal型属性值列表
getBigDecimals(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ArrayTypeGetter
获取BigDecimal型属性值数组
getBigInteger(K) - 接口 中的方法com.xiaoleilu.hutool.getter.BasicTypeGetter
获取BigInteger型属性值
getBigInteger(K, BigInteger) - 接口 中的方法com.xiaoleilu.hutool.getter.OptBasicTypeGetter
获取BigInteger型属性值
若获得的值为不可见字符,使用默认值
getBigInteger(K, BigInteger) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromObjectGetter
 
getBigInteger(K, BigInteger) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromStringGetter
 
getBigInteger(K) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeGetter
获取BigInteger型属性值
无值或获取错误返回null
getBigInteger(String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getBigInteger(String, BigInteger) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getBigInteger(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getBigIntegerByGroup(String, String) - 接口 中的方法com.xiaoleilu.hutool.getter.GroupedTypeGetter
获取BigInteger型属性值
getBigIntegerList(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ListTypeGetter
获取BigInteger型属性值列表
getBigIntegers(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ArrayTypeGetter
获取BigInteger型属性值数组
getBindings(int) - 类 中的方法com.xiaoleilu.hutool.script.FullSupportScriptEngine
 
getBindings(int) - 类 中的方法com.xiaoleilu.hutool.script.JavaScriptEngine
 
getBOMInputStream(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得BOM输入流,用于处理带BOM头的文件
getBool(K) - 接口 中的方法com.xiaoleilu.hutool.getter.BasicTypeGetter
获取boolean型属性值
getBool(K, Boolean) - 接口 中的方法com.xiaoleilu.hutool.getter.OptBasicTypeGetter
获取boolean型属性值
若获得的值为不可见字符,使用默认值
getBool(K, Boolean) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromObjectGetter
 
getBool(K, Boolean) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromStringGetter
 
getBool(K) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeGetter
获取boolean型属性值
无值或获取错误返回null
getBool(String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getBool(String, String) - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
获取波尔型属性值
getBool(String, String, Boolean) - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
获取波尔型型属性值
getBool(String, Boolean) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getBool(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getBoolByGroup(String, String) - 接口 中的方法com.xiaoleilu.hutool.getter.GroupedTypeGetter
获取boolean型属性值
getBoolean(String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
获得boolean类型值
getBoolList(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ListTypeGetter
获取Boolean型属性值列表
getBools(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ArrayTypeGetter
获取Boolean型属性值数组
getByGroup(String, String) - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
获得指定分组的键对应值
getByGroupWithLog(String, String) - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
带有日志提示的get,如果没有定义指定的KEY,则打印debug日志
getByte(K) - 接口 中的方法com.xiaoleilu.hutool.getter.BasicTypeGetter
获取byte型属性值
getByte(K, Byte) - 接口 中的方法com.xiaoleilu.hutool.getter.OptBasicTypeGetter
获取byte型属性值
若获得的值为不可见字符,使用默认值
getByte(K, Byte) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromObjectGetter
 
getByte(K, Byte) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromStringGetter
 
getByte(K) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeGetter
获取byte型属性值
无值或获取错误返回null
getByte(String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getByte(String, Byte) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getByte(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getByteByGroup(String, String) - 接口 中的方法com.xiaoleilu.hutool.getter.GroupedTypeGetter
获取byte型属性值
getByteList(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ListTypeGetter
获取Byte型属性值列表
getBytes(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ArrayTypeGetter
获取Byte型属性值数组
getBytes(String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getCachedFilesCount() - 类 中的方法com.xiaoleilu.hutool.cache.FileLFUCache
 
getCatalog() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
getCertificate(KeyStore, String) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
获得 Certification
getChar(K) - 接口 中的方法com.xiaoleilu.hutool.getter.BasicTypeGetter
获取char型属性值
getChar(K, Character) - 接口 中的方法com.xiaoleilu.hutool.getter.OptBasicTypeGetter
获取char型属性值
若获得的值为不可见字符,使用默认值
getChar(K, Character) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromObjectGetter
 
getChar(K, Character) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromStringGetter
 
getChar(K) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeGetter
获取char型属性值
无值或获取错误返回null
getChar(String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getChar(String, String) - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
获取char类型属性值
getChar(String, Character) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getChar(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getCharByGroup(String, String) - 接口 中的方法com.xiaoleilu.hutool.getter.GroupedTypeGetter
获取char型属性值
getCharList(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ListTypeGetter
获取Character型属性值列表
getChars(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ArrayTypeGetter
获取Character型属性值数组
getCharset(HttpURLConnection) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
从Http连接的头信息中获得字符集
从ContentType中获取
getCharset() - 类 中的方法com.xiaoleilu.hutool.io.BOMInputStream
 
getCharset() - 类 中的方法com.xiaoleilu.hutool.io.file.FileWrapper
获得字符集编码
getClasses(Object...) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
获得对象数组的类数组
getClassLoader() - 类 中的方法com.xiaoleilu.hutool.io.resource.ClassPathResource
getClassLoader() - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
获得class loader
若当前线程class loader不存在,取当前类的class loader
getClassPath() - 类 中的方法com.xiaoleilu.hutool.system.JavaRuntimeInfo
取得当前JRE的系统classpath(取自系统属性:java.class.path)。
getClassPath() - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
获得ClassPath
getClassPathArray() - 类 中的方法com.xiaoleilu.hutool.system.JavaRuntimeInfo
取得当前JRE的系统classpath(取自系统属性:java.class.path)。
getClassPathResources() - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
获得ClassPath
getClassPaths(String) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
获得ClassPath
getClassPathURL() - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
获得ClassPath URL
getClassVersion() - 类 中的方法com.xiaoleilu.hutool.system.JavaRuntimeInfo
取得当前JRE的class文件格式的版本(取自系统属性:java.class.version)。
getClientInfo(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
getClientInfo() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
getClientIP(HttpServletRequest, String...) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
获取客户端IP
默认检测的Header:
1、X-Forwarded-For
2、X-Real-IP
3、Proxy-Client-IP
4、WL-Proxy-Client-IP
otherHeaderNames参数用于自定义检测的Header
getClipher() - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
获得加密或解密器
getClipher() - 类 中的方法com.xiaoleilu.hutool.crypto.symmetric.SymmetricCriptor
获得加密或解密器
getClob(String) - 类 中的方法com.xiaoleilu.hutool.db.Entity
获得Clob类型结果
getCollection(String, String) - 类 中的方法com.xiaoleilu.hutool.db.ds.MongoDS
获得MongoDB中指定集合对象
getColumnNames(ResultSet) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
获得结果集的所有列名
getColumnNames(DataSource, String) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
获得表的所有列名
getColumnNumber() - 异常错误 中的方法com.xiaoleilu.hutool.script.ScriptRuntimeException
Get the column number on which an error occurred.
getConfig() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.PooledDataSource
 
getConn() - 类 中的方法com.xiaoleilu.hutool.db.Session
 
getConnection() - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
获得链接。
getConnection() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.PooledDataSource
从数据库连接池中获取数据库连接对象
getConnection(String, String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.PooledDataSource
 
getConnection(long) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.PooledDataSource
获取连接对象
getConnection() - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.SimpleDataSource
 
getConnection(String, String) - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.SimpleDataSource
 
getConnection() - 类 中的方法com.xiaoleilu.hutool.db.Session
获得连接,Session中使用同一个连接
getConnection() - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
 
getConstructor(Class<T>, Class<?>...) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
查找类中的指定参数的构造方法
getContent(String, String, VelocityContext, String) - 类 中的静态方法com.xiaoleilu.hutool.util.VelocityUtil
获得指定模板填充后的内容
getContent(VelocityEngine, String, VelocityContext) - 类 中的静态方法com.xiaoleilu.hutool.util.VelocityUtil
获得指定模板填充后的内容
getContent(String, VelocityContext) - 类 中的静态方法com.xiaoleilu.hutool.util.VelocityUtil
获得指定模板填充后的内容,使用默认引擎
getContext() - 类 中的方法com.xiaoleilu.hutool.script.FullSupportScriptEngine
 
getContext() - 类 中的方法com.xiaoleilu.hutool.script.JavaScriptEngine
 
getContextClassLoader() - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
 
getConverter(Class<T>) - 类 中的方法com.xiaoleilu.hutool.convert.ConverterRegistry
获得转换器
自定义转换器优先级高于默认转换器
getCountry() - 类 中的方法com.xiaoleilu.hutool.system.UserInfo
取得当前登录用户的国家或区域设置(取自系统属性:JDK1.4 user.country或JDK1.2 user.region)。
getCurrentDir() - 类 中的方法com.xiaoleilu.hutool.system.UserInfo
取得当前目录(取自系统属性:user.dir)。
getCurrentDSFactory(Setting) - 类 中的静态方法com.xiaoleilu.hutool.db.ds.DSFactory
 
getCurrentLogFactory() - 类 中的静态方法com.xiaoleilu.hutool.log.LogFactory
 
getCustomConverter(Class<T>) - 类 中的方法com.xiaoleilu.hutool.convert.ConverterRegistry
获得自定义转换器
getDataSource(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.c3p0.C3p0DSFactory
 
getDataSource(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.dbcp.DbcpDSFactory
 
getDataSource(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.druid.DruidDSFactory
 
getDataSource() - 类 中的方法com.xiaoleilu.hutool.db.ds.DSFactory
获得默认数据源
getDataSource(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.DSFactory
获得分组对应数据源
getDataSource(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.hikari.HikariDSFactory
 
getDataSource(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.jndi.JndiDSFactory
 
getDataSource(String) - 类 中的静态方法com.xiaoleilu.hutool.db.ds.pooled.PooledDataSource
获得一个数据源
getDataSource() - 类 中的静态方法com.xiaoleilu.hutool.db.ds.pooled.PooledDataSource
获得一个数据源
getDataSource(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.PooledDSFactory
 
getDataSource(String) - 类 中的静态方法com.xiaoleilu.hutool.db.ds.simple.SimpleDataSource
获得一个数据源
getDataSource() - 类 中的静态方法com.xiaoleilu.hutool.db.ds.simple.SimpleDataSource
获得一个数据源
getDataSource(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.SimpleDSFactory
 
getDataSource(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.tomcat.TomcatDSFactory
 
getDate(String) - 类 中的方法com.xiaoleilu.hutool.db.Entity
 
getDate(String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getDateInstance(int) - 类 中的静态方法com.xiaoleilu.hutool.date.format.FastDateFormat
获得 FastDateFormat 实例
getDateInstance(int, Locale) - 类 中的静态方法com.xiaoleilu.hutool.date.format.FastDateFormat
获得 FastDateFormat 实例
getDateInstance(int, TimeZone) - 类 中的静态方法com.xiaoleilu.hutool.date.format.FastDateFormat
获得 FastDateFormat 实例
getDateInstance(int, TimeZone, Locale) - 类 中的静态方法com.xiaoleilu.hutool.date.format.FastDateFormat
获得 FastDateFormat 实例
getDateTimeInstance(int, int) - 类 中的静态方法com.xiaoleilu.hutool.date.format.FastDateFormat
获得 FastDateFormat 实例
getDateTimeInstance(int, int, Locale) - 类 中的静态方法com.xiaoleilu.hutool.date.format.FastDateFormat
获得 FastDateFormat 实例
getDateTimeInstance(int, int, TimeZone) - 类 中的静态方法com.xiaoleilu.hutool.date.format.FastDateFormat
获得 FastDateFormat 实例
getDateTimeInstance(int, int, TimeZone, Locale) - 类 中的静态方法com.xiaoleilu.hutool.date.format.FastDateFormat
获得 FastDateFormat 实例
getDb(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.MongoDS
获得DB
getDbConfig(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.DbSetting
获得数据库连接信息
getDeclaredMethod(Object, String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
查找指定对象中的所有方法(包括非public方法),也包括父对象和Object类的方法
getDeclaredMethod(Class<?>, String, Class<?>...) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
查找指定类中的所有方法(包括非public方法),也包括父类和Object类的方法
getDeclaredMethodNames(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
获得指定类中的Public方法名
去重重载的方法
getDeclaredMethods(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
获得声明的所有方法,包括本类及其父类和接口的所有方法和Object类的方法
getDefaultCharset() - 类 中的方法com.xiaoleilu.hutool.io.BOMInputStream
 
getDialect() - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
 
getDigest() - 类 中的方法com.xiaoleilu.hutool.crypto.digest.Digester
getDirection() - 类 中的方法com.xiaoleilu.hutool.db.sql.Order
 
getDouble(K) - 接口 中的方法com.xiaoleilu.hutool.getter.BasicTypeGetter
获取double型属性值
getDouble(K, Double) - 接口 中的方法com.xiaoleilu.hutool.getter.OptBasicTypeGetter
获取double型属性值
若获得的值为不可见字符,使用默认值
getDouble(K, Double) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromObjectGetter
 
getDouble(K, Double) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromStringGetter
 
getDouble(K) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeGetter
获取double型属性值
无值或获取错误返回null
getDouble(String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getDouble(String, String) - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
获取double类型属性值
getDouble(String, String, Double) - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
获取double类型属性值
getDouble(String, Double) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getDouble(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getDoubleByGroup(String, String) - 接口 中的方法com.xiaoleilu.hutool.getter.GroupedTypeGetter
获取double型属性值
getDoubleList(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ListTypeGetter
获取Double型属性值列表
getDoubles(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ArrayTypeGetter
获取Double型属性值数组
getDriver() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.DbConfig
 
getDriver() - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.SimpleDataSource
 
getDs() - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
获得默认数据源
getDs(String) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
获取指定分组的数据源
getDS(String, int) - 类 中的静态方法com.xiaoleilu.hutool.db.ds.MongoDS
获取MongoDB数据源
getDS(String...) - 类 中的静态方法com.xiaoleilu.hutool.db.ds.MongoDS
获取MongoDB数据源
getDS(Collection<String>) - 类 中的静态方法com.xiaoleilu.hutool.db.ds.MongoDS
获取MongoDB数据源
getDS(Setting, String...) - 类 中的静态方法com.xiaoleilu.hutool.db.ds.MongoDS
获取MongoDB数据源
getDS(Setting, Collection<String>) - 类 中的静态方法com.xiaoleilu.hutool.db.ds.MongoDS
获取MongoDB数据源
getElement(Element, String) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
根据节点名获得第一个子节点
getElements(Element, String) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
根据节点名获得子节点列表
getEndorsedDirs() - 类 中的方法com.xiaoleilu.hutool.system.JavaRuntimeInfo
取得当前JRE的endorsed目录列表(取自系统属性:java.endorsed.dirs)。
getEndPosition() - 类 中的方法com.xiaoleilu.hutool.db.Page
 
getEnum(Class<E>, K) - 接口 中的方法com.xiaoleilu.hutool.getter.BasicTypeGetter
获得Enum类型的值
getEnum(Class<E>, K, E) - 接口 中的方法com.xiaoleilu.hutool.getter.OptBasicTypeGetter
获得Enum类型的值
getEnum(Class<E>, K, E) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromObjectGetter
 
getEnum(Class<E>, K, E) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromStringGetter
 
getEnum(Class<E>, K) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeGetter
获取Enum型属性值
无值或获取错误返回null
getEnum(Class<E>, String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getEnum(Class<E>, String, E) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getEnum(Class<E>, String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getErrorStream() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
当返回错误代码时,获得错误内容流
getExtDirs() - 类 中的方法com.xiaoleilu.hutool.system.JavaRuntimeInfo
取得当前JRE的扩展目录列表(取自系统属性:java.ext.dirs)。
getFactory() - 类 中的方法com.xiaoleilu.hutool.script.FullSupportScriptEngine
 
getFactory() - 类 中的方法com.xiaoleilu.hutool.script.JavaScriptEngine
 
getFalsePositiveProbability() - 类 中的方法com.xiaoleilu.hutool.bloomFilter.BitSetBloomFilter
 
getField(DateField) - 类 中的方法com.xiaoleilu.hutool.date.DateTime
获得日期的某个部分
例如获得年的部分,则使用 getField(DatePart.YEAR)
getField(int) - 类 中的方法com.xiaoleilu.hutool.date.DateTime
获得日期的某个部分
例如获得年的部分,则使用 getField(Calendar.YEAR)
getField() - 类 中的方法com.xiaoleilu.hutool.db.sql.Condition
 
getField() - 类 中的方法com.xiaoleilu.hutool.db.sql.Order
 
getFieldNamePropertyDescriptorMap(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
获得字段名和字段描述Map
getFieldNames() - 类 中的方法com.xiaoleilu.hutool.db.Entity
 
getFields() - 类 中的方法com.xiaoleilu.hutool.db.sql.Query
获得查询的字段名列表
getFile() - 类 中的方法com.xiaoleilu.hutool.io.file.FileWrapper
获得文件
getFile() - 类 中的方法com.xiaoleilu.hutool.io.resource.ClassPathResource
获得File
getFileBytes(String) - 类 中的方法com.xiaoleilu.hutool.cache.FileLFUCache
获得缓存过的文件bytes
getFileBytes(File) - 类 中的方法com.xiaoleilu.hutool.cache.FileLFUCache
获得缓存过的文件bytes
getFileName() - 异常错误 中的方法com.xiaoleilu.hutool.script.ScriptRuntimeException
Get the source of the script causing the error.
getFileSeparator() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
取得OS的文件路径的分隔符(取自系统属性:file.separator)。
getFindedAllSensitive(String) - 类 中的静态方法com.xiaoleilu.hutool.dfa.SensitiveUtil
查找敏感词,返回找到的所有敏感词
getFindedAllSensitive(String, boolean, boolean) - 类 中的静态方法com.xiaoleilu.hutool.dfa.SensitiveUtil
查找敏感词,返回找到的所有敏感词
密集匹配原则:假如关键词有 ab,b,文本是abab,将匹配 [ab,b,ab]
贪婪匹配(最长匹配)原则:假如关键字a,ab,最长匹配将匹配[a, ab]
getFindedAllSensitive(Object) - 类 中的静态方法com.xiaoleilu.hutool.dfa.SensitiveUtil
查找敏感词,返回找到的所有敏感词
getFindedAllSensitive(Object, boolean, boolean) - 类 中的静态方法com.xiaoleilu.hutool.dfa.SensitiveUtil
查找敏感词,返回找到的所有敏感词
密集匹配原则:假如关键词有 ab,b,文本是abab,将匹配 [ab,b,ab]
贪婪匹配(最长匹配)原则:假如关键字a,ab,最长匹配将匹配[a, ab]
getFindedFirstSensitive(String) - 类 中的静态方法com.xiaoleilu.hutool.dfa.SensitiveUtil
查找敏感词,返回找到的第一个敏感词
getFindedFirstSensitive(Object) - 类 中的静态方法com.xiaoleilu.hutool.dfa.SensitiveUtil
查找敏感词,返回找到的第一个敏感词
getFirstNumber(String) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
从字符串中获得第一个整数
getFirstTableName() - 类 中的方法com.xiaoleilu.hutool.db.sql.Query
获得第一个表名
getFloat(K) - 接口 中的方法com.xiaoleilu.hutool.getter.BasicTypeGetter
获取float型属性值
getFloat(K, Float) - 接口 中的方法com.xiaoleilu.hutool.getter.OptBasicTypeGetter
获取float型属性值
若获得的值为不可见字符,使用默认值
getFloat(K, Float) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromObjectGetter
 
getFloat(K, Float) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromStringGetter
 
getFloat(K) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeGetter
获取float型属性值
无值或获取错误返回null
getFloat(String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getFloat(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getFloat(String, Float) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getFormat() - 类 中的方法com.xiaoleilu.hutool.convert.impl.CalendarConverter
获取日期格式
getFormat() - 类 中的方法com.xiaoleilu.hutool.convert.impl.DateConverter
获取日期格式
getFormat() - 类 中的方法com.xiaoleilu.hutool.convert.impl.DateTimeConverter
获取日期格式
getFormat() - 类 中的方法com.xiaoleilu.hutool.convert.impl.SqlDateConverter
获取日期格式
getFormat() - 类 中的方法com.xiaoleilu.hutool.convert.impl.SqlTimeConverter
获取日期格式
getFormat() - 类 中的方法com.xiaoleilu.hutool.convert.impl.SqlTimestampConverter
获取日期格式
getFreeMemory() - 类 中的方法com.xiaoleilu.hutool.system.RuntimeInfo
获得JVM已分配内存中的剩余空间
getGeneralField(String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
获得set或get方法对应的标准属性名
例如:setName 返回 name
getGeneratedKeyOfLong(PreparedStatement) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
获得自增键的值
此方法对于Oracle无效
getGeneratedKeys(PreparedStatement) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
获得所有主键
getGroups() - 类 中的方法com.xiaoleilu.hutool.lang.GroupedSet
 
getGroups() - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
 
getHitCount() - 类 中的方法com.xiaoleilu.hutool.cache.AbstractCache
 
getHoldability() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
getHomeDir() - 类 中的方法com.xiaoleilu.hutool.system.JavaRuntimeInfo
取得当前JRE的安装目录(取自系统属性:java.home)。
getHomeDir() - 类 中的方法com.xiaoleilu.hutool.system.UserInfo
取得当前登录用户的home目录(取自系统属性:user.home)。
getHostInfo() - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
取得Host的信息。
getHttpURLConnection() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
获取HttpURLConnection对象
getInfo() - 类 中的方法com.xiaoleilu.hutool.system.JvmInfo
取得当前JVM impl.的信息(取自系统属性:java.vm.info)。
getInitialSize() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.DbConfig
 
getInputStream() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
获得输入流对象
输入流对象用于读取数据
getInputStream() - 类 中的方法com.xiaoleilu.hutool.io.file.FileReader
获得输入流
getInputStream(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得输入流
getInputStream(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得输入流
getInstance() - 类 中的静态方法com.xiaoleilu.hutool.convert.ConverterRegistry
获得单例的 ConverterRegistry
getInstance() - 类 中的静态方法com.xiaoleilu.hutool.date.format.FastDateFormat
获得 FastDateFormat 实例,使用默认格式和地区
getInstance(String) - 类 中的静态方法com.xiaoleilu.hutool.date.format.FastDateFormat
获得 FastDateFormat 实例,使用默认地区
getInstance(String, TimeZone) - 类 中的静态方法com.xiaoleilu.hutool.date.format.FastDateFormat
获得 FastDateFormat 实例
getInstance(String, Locale) - 类 中的静态方法com.xiaoleilu.hutool.date.format.FastDateFormat
获得 FastDateFormat 实例
getInstance(String, TimeZone, Locale) - 类 中的静态方法com.xiaoleilu.hutool.date.format.FastDateFormat
获得 FastDateFormat 实例
getInt(K) - 接口 中的方法com.xiaoleilu.hutool.getter.BasicTypeGetter
获取int型属性值
getInt(K, Integer) - 接口 中的方法com.xiaoleilu.hutool.getter.OptBasicTypeGetter
获取int型属性值
若获得的值为不可见字符,使用默认值
getInt(K, Integer) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromObjectGetter
 
getInt(K, Integer) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromStringGetter
 
getInt(K) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeGetter
获取int型属性值
无值或获取错误返回null
getInt(String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getInt(String, String) - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
获取数字型型属性值
getInt(String, String, Integer) - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
获取数字型型属性值
getInt(String, Integer) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getInt(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getInt(String, int) - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
获得int类型值
getIntByGroup(String, String) - 接口 中的方法com.xiaoleilu.hutool.getter.GroupedTypeGetter
获取int型属性值
getInterface(Class<T>) - 类 中的方法com.xiaoleilu.hutool.script.FullSupportScriptEngine
 
getInterface(Object, Class<T>) - 类 中的方法com.xiaoleilu.hutool.script.FullSupportScriptEngine
 
getInterface(Class<T>) - 类 中的方法com.xiaoleilu.hutool.script.JavaScriptEngine
 
getInterface(Object, Class<T>) - 类 中的方法com.xiaoleilu.hutool.script.JavaScriptEngine
 
getIntList(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ListTypeGetter
获取Integer型属性值列表
getInts(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ArrayTypeGetter
获取Integer型属性值数组
getIpByHost(String) - 类 中的静态方法com.xiaoleilu.hutool.util.NetUtil
通过域名得到IP
getJavaClassPaths() - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
 
getJavaInfo() - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
取得Java Implementation的信息。
getJavaRuntimeInfo() - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
取得当前运行的JRE的信息。
getJavaScriptEngine() - 类 中的静态方法com.xiaoleilu.hutool.script.ScriptUtil
 
getJavaSpecInfo() - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
取得Java Specification的信息。
getJndiDs(String) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
获得JNDI数据源
getJndiDsWithLog(String) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
获得JNDI数据源
getJSONArray(K) - 类 中的方法com.xiaoleilu.hutool.json.JSONGetter
获得JSONArray对象
getJSONObject(K) - 类 中的方法com.xiaoleilu.hutool.json.JSONGetter
获得JSONObject对象
getJvmInfo() - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
取得Java Virtual Machine Implementation的信息。
getJvmSpecInfo() - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
取得Java Virtual Machine Specification的信息。
getKeyByType(KeyType) - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
根据密钥类型获得相应密钥
getLanguage() - 类 中的方法com.xiaoleilu.hutool.system.UserInfo
取得当前登录用户的语言设置(取自系统属性:user.language)。
getLevel() - 类 中的方法com.xiaoleilu.hutool.date.BetweenFormater
获得 格式化级别
getLibraryPath() - 类 中的方法com.xiaoleilu.hutool.system.JavaRuntimeInfo
取得当前JRE的library搜索路径(取自系统属性:java.library.path)。
getLibraryPathArray() - 类 中的方法com.xiaoleilu.hutool.system.JavaRuntimeInfo
取得当前JRE的library搜索路径(取自系统属性:java.library.path)。
getLineNumber() - 异常错误 中的方法com.xiaoleilu.hutool.script.ScriptRuntimeException
Get the line number on which an error occurred.
getLineSeparator() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
取得OS的文本文件换行符(取自系统属性:line.separator)。
getLocale() - 类 中的方法com.xiaoleilu.hutool.date.format.AbstractDateBasic
 
getLocale() - 接口 中的方法com.xiaoleilu.hutool.date.format.DateBasic
获得 日期地理位置
getLocale() - 类 中的方法com.xiaoleilu.hutool.date.format.FastDateFormat
 
getLog(String) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLogFactory
 
getLog(Class<?>) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLogFactory
 
getLog(String) - 类 中的方法com.xiaoleilu.hutool.log.dialect.console.ConsoleLogFactory
 
getLog(Class<?>) - 类 中的方法com.xiaoleilu.hutool.log.dialect.console.ConsoleLogFactory
 
getLog(String) - 类 中的方法com.xiaoleilu.hutool.log.dialect.jdk.JdkLogFactory
 
getLog(Class<?>) - 类 中的方法com.xiaoleilu.hutool.log.dialect.jdk.JdkLogFactory
 
getLog(String) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j.Log4jLogFactory
 
getLog(Class<?>) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j.Log4jLogFactory
 
getLog(String) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2LogFactory
 
getLog(Class<?>) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2LogFactory
 
getLog(String) - 类 中的方法com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLogFactory
 
getLog(Class<?>) - 类 中的方法com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLogFactory
 
getLog(String) - 类 中的方法com.xiaoleilu.hutool.log.LogFactory
获得日志对象
getLog(Class<?>) - 类 中的方法com.xiaoleilu.hutool.log.LogFactory
获得日志对象
getLoginTimeout() - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.AbstractDataSource
 
getLogWriter() - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.AbstractDataSource
 
getLong(K) - 接口 中的方法com.xiaoleilu.hutool.getter.BasicTypeGetter
获取long型属性值
getLong(K, Long) - 接口 中的方法com.xiaoleilu.hutool.getter.OptBasicTypeGetter
获取Long型属性值
若获得的值为不可见字符,使用默认值
getLong(K, Long) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromObjectGetter
 
getLong(K, Long) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromStringGetter
 
getLong(K) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeGetter
获取long型属性值
无值或获取错误返回null
getLong(String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getLong(String, String) - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
获取long类型属性值
getLong(String, String, Long) - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
获取long类型属性值
getLong(String, Long) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getLong(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getLong(String, long) - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
获得long类型值
getLongByGroup(String, String) - 接口 中的方法com.xiaoleilu.hutool.getter.GroupedTypeGetter
获取Long型属性值
getLongList(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ListTypeGetter
获取BigDecimal型属性值列表
getLongs(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ArrayTypeGetter
获取Long型属性值数组
getMac() - 类 中的方法com.xiaoleilu.hutool.crypto.digest.HMac
获得 Mac
getMap(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
获得指定分组的所有键值对
getMaxActive() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.DbConfig
 
getMaxLengthEstimate() - 类 中的方法com.xiaoleilu.hutool.date.format.FastDateFormat
估算生成的日期字符串长度
实际生成的字符串长度小于或等于此值
getMaxMemory() - 类 中的方法com.xiaoleilu.hutool.system.RuntimeInfo
获得JVM最大可用内存
getMaxWait() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.DbConfig
 
getMessage(Throwable) - 类 中的静态方法com.xiaoleilu.hutool.exceptions.ExceptionUtil
获得完整消息,包括异常名
getMessage() - 异常错误 中的方法com.xiaoleilu.hutool.script.ScriptRuntimeException
Returns a message containing the String passed to a constructor as well as line and column numbers and filename if any of these are known.
getMetaData() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
getMethod() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
获取请求方法,GET/POST
getMillis() - 枚举 中的方法com.xiaoleilu.hutool.date.DateUnit
 
getMimeType(String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
根据文件扩展名获得MimeType
getMinIdle() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.DbConfig
 
getMissCount() - 类 中的方法com.xiaoleilu.hutool.cache.AbstractCache
 
getMongo() - 类 中的方法com.xiaoleilu.hutool.db.ds.MongoDS
 
getMultistageReverseProxyIp(String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
从多级反向代理中获得第一个非unknown IP地址
getName() - 类 中的方法com.xiaoleilu.hutool.db.meta.Column
 
getName() - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog
 
getName() - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
getName() - 类 中的方法com.xiaoleilu.hutool.log.dialect.console.ConsoleLog
 
getName() - 类 中的方法com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
getName() - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
getName() - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
getName() - 类 中的方法com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
getName() - 接口 中的方法com.xiaoleilu.hutool.log.Log
 
getName() - 类 中的方法com.xiaoleilu.hutool.system.HostInfo
取得当前主机的名称。
getName() - 类 中的方法com.xiaoleilu.hutool.system.JavaRuntimeInfo
取得当前JRE的名称(取自系统属性:java.runtime.name)。
getName() - 类 中的方法com.xiaoleilu.hutool.system.JavaSpecInfo
取得当前Java Spec.的名称(取自系统属性:java.specification.name)。
getName() - 类 中的方法com.xiaoleilu.hutool.system.JvmInfo
取得当前JVM impl.的名称(取自系统属性:java.vm.name)。
getName() - 类 中的方法com.xiaoleilu.hutool.system.JvmSpecInfo
取得当前JVM spec.的名称(取自系统属性:java.vm.specification.name)。
getName() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
取得当前OS的名称(取自系统属性:os.name)。
getName() - 类 中的方法com.xiaoleilu.hutool.system.UserInfo
取得当前登录用户的名字(取自系统属性:user.name)。
getNetworkTimeout() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
getNumber(String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getNumPerPage() - 类 中的方法com.xiaoleilu.hutool.db.Page
 
getNumPerPage() - 类 中的方法com.xiaoleilu.hutool.db.PageResult
 
getObj(K) - 接口 中的方法com.xiaoleilu.hutool.getter.BasicTypeGetter
获取Object属性值
getObj(K, Object) - 接口 中的方法com.xiaoleilu.hutool.getter.OptBasicTypeGetter
获取Object属性值
getObj(K, Object) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromObjectGetter
 
getObj(K, Object) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromStringGetter
 
getObj(K) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeGetter
 
getObj(Integer, Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
getObj(String, Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
 
getObj(String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getObj(String, Object) - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
 
getObj(String, Object) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
 
getObj(String, Object) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getObj(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getObjList(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ListTypeGetter
获取Object型属性值列表
getObjs(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ArrayTypeGetter
获取Object型属性值数组
getOperator() - 类 中的方法com.xiaoleilu.hutool.db.sql.Condition
获得运算符
大于号,小于号,等于号 等
getOrders() - 类 中的方法com.xiaoleilu.hutool.db.Page
 
getOsInfo() - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
取得OS的信息。
getOutputStream() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
获取输出流对象 输出流对象用于发送数据
getOutputStream() - 类 中的方法com.xiaoleilu.hutool.io.file.FileWriter
获得一个输出流对象
getOutputStream(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得一个输出流对象
getOutputStream(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得一个输出流对象
getPackage(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
获得给定类所在包的名称
例如:
com.xiaoleilu.hutool.util.ClassUtil -> com.xiaoleilu.hutool.util
getPackagePath(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
获得给定类所在包的路径
例如:
com.xiaoleilu.hutool.util.ClassUtil -> com/xiaoleilu/hutool/util
getPage() - 类 中的方法com.xiaoleilu.hutool.db.PageResult
 
getPage() - 类 中的方法com.xiaoleilu.hutool.db.sql.Query
获得分页对象
getPageNumber() - 类 中的方法com.xiaoleilu.hutool.db.Page
 
getParamValueArray() - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
获得占位符对应的值列表
getParamValues() - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
获得占位符对应的值列表
getParentLogger() - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.AbstractDataSource
Support from JDK7
getPass() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.DbConfig
 
getPass() - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.SimpleDataSource
 
getPath() - 类 中的方法com.xiaoleilu.hutool.io.resource.ClassPathResource
获得Path
getPath() - 类 中的方法com.xiaoleilu.hutool.lang.GroupedSet
 
getPath(String) - 类 中的静态方法com.xiaoleilu.hutool.util.URLUtil
获得path部分
URI -> http://www.aaa.bbb/search?
getPathSeparator() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
取得OS的搜索路径分隔符(取自系统属性:path.separator)。
getPattern() - 类 中的方法com.xiaoleilu.hutool.date.format.AbstractDateBasic
 
getPattern() - 接口 中的方法com.xiaoleilu.hutool.date.format.DateBasic
获得日期格式化或者转换的格式
getPattern() - 类 中的方法com.xiaoleilu.hutool.date.format.FastDateFormat
 
getPkNames() - 类 中的方法com.xiaoleilu.hutool.db.meta.Table
 
getPreWrapQuote() - 类 中的方法com.xiaoleilu.hutool.db.sql.Wrapper
 
getPrintWriter(boolean) - 类 中的方法com.xiaoleilu.hutool.io.file.FileWriter
获得一个打印写入对象,可以有print
getPrintWriter(String, String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得一个打印写入对象,可以有print
getPrintWriter(File, String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得一个打印写入对象,可以有print
getPrivateKey() - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
获得私钥
getPrivateKeyBase64() - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
获得私钥
getProp(String) - 类 中的静态方法com.xiaoleilu.hutool.setting.dialect.Props
获得Classpath下的Properties文件
getProperties(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
转换为Properties对象,原分组变为前缀
getPropertyDescriptor(Class<?>, String) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
获得Bean类属性描述
getPropertyDescriptors(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
获得Bean字段描述数组
getProtocolPackages() - 类 中的方法com.xiaoleilu.hutool.system.JavaRuntimeInfo
取得当前JRE的URL协议packages列表(取自系统属性:java.library.path)。
getProxy() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
获得代理
getPublicKey() - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
获得公钥
getPublicKeyBase64() - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
获得公钥
getPublicMethod(Class<?>, String, Class<?>...) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
查找指定Public方法
getPublicMethodNames(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
获得指定类中的Public方法名
去重重载的方法
getPublicMethods(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
获得本类及其父类所有Public方法
getPublicMethods(Class<?>, Filter<Method>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
获得指定类过滤后的Public方法列表
getPublicMethods(Class<?>, Method...) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
获得指定类过滤后的Public方法列表
getPublicMethods(Class<?>, String...) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
获得指定类过滤后的Public方法列表
getRaw() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
getReader() - 类 中的方法com.xiaoleilu.hutool.io.file.FileReader
获得一个文件读取器
getReader(File, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得一个文件读取器
getReader(File, Charset) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得一个文件读取器
getReader(String, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得一个文件读取器
getReader(String, Charset) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得一个文件读取器
getReader(InputStream, String) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
获得一个文件读取器
getReader(InputStream, Charset) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
获得一个文件读取器
getReader(String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
获得StringReader
getRowId() - 类 中的方法com.xiaoleilu.hutool.db.Entity
获得rowid
getRowId(String) - 类 中的方法com.xiaoleilu.hutool.db.Entity
获得rowid
getRunner() - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
 
getRunner() - 类 中的方法com.xiaoleilu.hutool.db.Session
 
getRunner() - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
 
getRuntime() - 类 中的方法com.xiaoleilu.hutool.system.RuntimeInfo
获得运行时对象
getRuntimeInfo() - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
取得Runtime的信息。
getScheduler() - 类 中的方法com.xiaoleilu.hutool.util.CronUtil
 
getSchema() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
getScript(String) - 类 中的静态方法com.xiaoleilu.hutool.script.ScriptUtil
 
getSecretKey() - 类 中的方法com.xiaoleilu.hutool.crypto.symmetric.SymmetricCriptor
获得对称密钥
getSetting(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
获得group对应的子Setting
getSetting(String) - 类 中的方法com.xiaoleilu.hutool.setting.Setting
获得group对应的子Setting
getSettingPath() - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
 
getShort(K) - 接口 中的方法com.xiaoleilu.hutool.getter.BasicTypeGetter
获取short型属性值
getShort(K, Short) - 接口 中的方法com.xiaoleilu.hutool.getter.OptBasicTypeGetter
获取short型属性值
若获得的值为不可见字符,使用默认值
getShort(K, Short) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromObjectGetter
 
getShort(K, Short) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromStringGetter
 
getShort(K) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeGetter
获取short型属性值
无值或获取错误返回null
getShort(String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getShort(String, Short) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getShort(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getShortByGroup(String, String) - 接口 中的方法com.xiaoleilu.hutool.getter.GroupedTypeGetter
获取short型属性值
getShortList(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ListTypeGetter
获取Short型属性值列表
getShorts(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ArrayTypeGetter
获取Short型属性值数组
getSignature() - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
获得签名对象
getSize() - 类 中的方法com.xiaoleilu.hutool.db.meta.Column
 
getStackTrace() - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
 
getStackTraceElement(int) - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
获得堆栈项
getStartEnd() - 类 中的方法com.xiaoleilu.hutool.db.Page
开始位置和结束位置
例如:
页码:1,每页10 -> [0, 10]
页码:2,每页10 -> [10, 20]
。。。
getStartPosition() - 类 中的方法com.xiaoleilu.hutool.db.Page
 
getStatus() - 异常错误 中的方法com.xiaoleilu.hutool.exceptions.StatefulException
 
getStatus() - 类 中的方法com.xiaoleilu.hutool.http.HttpResponse
获取状态码
getStr(String) - 类 中的方法com.xiaoleilu.hutool.db.Entity
 
getStr(K) - 接口 中的方法com.xiaoleilu.hutool.getter.BasicTypeGetter
获取字符串型属性值
getStr(K, String) - 接口 中的方法com.xiaoleilu.hutool.getter.OptBasicTypeGetter
获取字符串型属性值
若获得的值为不可见字符,使用默认值
getStr(K, String) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromObjectGetter
 
getStr(K, String) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeFromStringGetter
 
getStr(K) - 类 中的方法com.xiaoleilu.hutool.getter.OptNullBasicTypeGetter
获取字符串型属性值
无值或获取错误返回null
getStr(String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getStr(String, String, String) - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
获得字符串类型值
getStr(String, String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getStr(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getStrByGroup(String, String) - 接口 中的方法com.xiaoleilu.hutool.getter.GroupedTypeGetter
获取字符串型属性值
getStream() - 类 中的方法com.xiaoleilu.hutool.io.resource.ClassPathResource
getString(InputStream, String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
从流中读取内容
getStrings(String) - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
获得数组型
getStrings(String, String) - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
获得数组型
getStrings(String, String, String) - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
获得数组型
getStringsWithDefault(String, String[]) - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
获得数组型
getStrList(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ListTypeGetter
获取String型属性值列表
getStrs(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ArrayTypeGetter
获取String型属性值数组
getSufWrapQuote() - 类 中的方法com.xiaoleilu.hutool.db.sql.Wrapper
 
getSunArchDataModel() - 类 中的方法com.xiaoleilu.hutool.system.JavaRuntimeInfo
JVM is 32M or 64M
getSunBoothClassPath() - 类 中的方法com.xiaoleilu.hutool.system.JavaRuntimeInfo
 
getTableMeta(DataSource, String) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
获得表的元信息
getTableName() - 类 中的方法com.xiaoleilu.hutool.db.Entity
 
getTableName() - 类 中的方法com.xiaoleilu.hutool.db.meta.Column
 
getTableName() - 类 中的方法com.xiaoleilu.hutool.db.meta.Table
 
getTableNames() - 类 中的方法com.xiaoleilu.hutool.db.sql.Query
获得表名数组
getTables(DataSource) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
获得所有表名
getTarget() - 类 中的方法com.xiaoleilu.hutool.proxy.Aspect
 
getTargetType() - 类 中的方法com.xiaoleilu.hutool.convert.AbstractConverter
获得此类实现类的泛型类型
getTargetType() - 类 中的方法com.xiaoleilu.hutool.convert.impl.NumberConverter
 
getTargetType() - 类 中的方法com.xiaoleilu.hutool.convert.impl.PrimitiveConverter
 
getTempDir() - 类 中的方法com.xiaoleilu.hutool.system.UserInfo
取得临时目录(取自系统属性:java.io.tmpdir)。
getTemplate(GroupTemplate, String) - 类 中的静态方法com.xiaoleilu.hutool.util.BeetlUtil
获得模板
getTime(String) - 类 中的方法com.xiaoleilu.hutool.db.Entity
 
getTime(String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getTimeInstance(int) - 类 中的静态方法com.xiaoleilu.hutool.date.format.FastDateFormat
获得 FastDateFormat 实例
getTimeInstance(int, Locale) - 类 中的静态方法com.xiaoleilu.hutool.date.format.FastDateFormat
获得 FastDateFormat 实例
getTimeInstance(int, TimeZone) - 类 中的静态方法com.xiaoleilu.hutool.date.format.FastDateFormat
获得 FastDateFormat 实例
getTimeInstance(int, TimeZone, Locale) - 类 中的静态方法com.xiaoleilu.hutool.date.format.FastDateFormat
获得 FastDateFormat 实例
getTimestamp(String) - 类 中的方法com.xiaoleilu.hutool.db.Entity
 
getTimestamp(String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getTimeZone() - 类 中的方法com.xiaoleilu.hutool.date.format.AbstractDateBasic
 
getTimeZone() - 接口 中的方法com.xiaoleilu.hutool.date.format.DateBasic
获得时区
getTimeZone() - 类 中的方法com.xiaoleilu.hutool.date.format.FastDateFormat
 
getTotal() - 类 中的方法com.xiaoleilu.hutool.db.PageResult
 
getTotalMemory() - 类 中的方法com.xiaoleilu.hutool.system.RuntimeInfo
获得JVM已分配内存
getTotalPage() - 类 中的方法com.xiaoleilu.hutool.db.PageResult
 
getTransactionIsolation() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
getType() - 类 中的方法com.xiaoleilu.hutool.db.meta.Column
 
getType(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileTypeUtil
根据文件流的头部信息获得文件类型
getType(InputStream) - 类 中的静态方法com.xiaoleilu.hutool.io.FileTypeUtil
根据文件流的头部信息获得文件类型
getType(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileTypeUtil
根据文件流的头部信息获得文件类型
getTypeArgument(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
获得给定类的第一个泛型参数
getTypeArgument(Class<?>, int) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
获得给定类的泛型参数
getTypeByPath(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileTypeUtil
通过路径获得文件类型
getTypeMap() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
getUrl() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.DbConfig
 
getUrl() - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.SimpleDataSource
 
getUrl() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
获取请求URL
getUrl() - 类 中的方法com.xiaoleilu.hutool.io.resource.ClassPathResource
获得解析后的URL
getURL(String) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
获得资源的URL
getURL(String) - 类 中的静态方法com.xiaoleilu.hutool.util.URLUtil
获得URL
getURL(String, Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.URLUtil
获得URL
getURL(File) - 类 中的静态方法com.xiaoleilu.hutool.util.URLUtil
获得URL,常用于使用绝对路径时的情况
getURLs(File...) - 类 中的静态方法com.xiaoleilu.hutool.util.URLUtil
获得URL,常用于使用绝对路径时的情况
getUsableMemory() - 类 中的方法com.xiaoleilu.hutool.system.RuntimeInfo
获得JVM最大可用内存
getUsedSize() - 类 中的方法com.xiaoleilu.hutool.cache.FileLFUCache
 
getUser() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.DbConfig
 
getUser() - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.SimpleDataSource
 
getUserInfo() - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
取得User的信息。
getUtf8Reader(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得一个文件读取器
getUtf8Reader(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得一个文件读取器
getValue() - 枚举 中的方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricAlgorithm
 
getValue() - 枚举 中的方法com.xiaoleilu.hutool.crypto.digest.DigestAlgorithm
 
getValue() - 枚举 中的方法com.xiaoleilu.hutool.crypto.digest.HmacAlgorithm
 
getValue() - 枚举 中的方法com.xiaoleilu.hutool.crypto.symmetric.SymmetricAlgorithm
 
getValue() - 枚举 中的方法com.xiaoleilu.hutool.date.BetweenFormater.Level
 
getValue() - 枚举 中的方法com.xiaoleilu.hutool.date.DateField
 
getValue() - 枚举 中的方法com.xiaoleilu.hutool.date.Month
 
getValue() - 枚举 中的方法com.xiaoleilu.hutool.date.Season
 
getValue() - 枚举 中的方法com.xiaoleilu.hutool.date.Week
 
getValue() - 类 中的方法com.xiaoleilu.hutool.db.sql.Condition
获得值
getValues(String) - 类 中的方法com.xiaoleilu.hutool.lang.GroupedSet
获得对应分组的所有值
getVendor() - 类 中的方法com.xiaoleilu.hutool.system.JavaInfo
取得当前Java impl.的厂商(取自系统属性:java.vendor)。
getVendor() - 类 中的方法com.xiaoleilu.hutool.system.JavaSpecInfo
取得当前Java Spec.的厂商(取自系统属性:java.specification.vendor)。
getVendor() - 类 中的方法com.xiaoleilu.hutool.system.JvmInfo
取得当前JVM impl.的厂商(取自系统属性:java.vm.vendor)。
getVendor() - 类 中的方法com.xiaoleilu.hutool.system.JvmSpecInfo
取得当前JVM spec.的厂商(取自系统属性:java.vm.specification.vendor)。
getVendorURL() - 类 中的方法com.xiaoleilu.hutool.system.JavaInfo
取得当前Java impl.的厂商网站的URL(取自系统属性:java.vendor.url)。
getVersion() - 类 中的方法com.xiaoleilu.hutool.system.JavaInfo
取得当前Java impl.的版本(取自系统属性:java.version)。
getVersion() - 类 中的方法com.xiaoleilu.hutool.system.JavaRuntimeInfo
取得当前JRE的版本(取自系统属性:java.runtime.version)。
getVersion() - 类 中的方法com.xiaoleilu.hutool.system.JavaSpecInfo
取得当前Java Spec.的版本(取自系统属性:java.specification.version)。
getVersion() - 类 中的方法com.xiaoleilu.hutool.system.JvmInfo
取得当前JVM impl.的版本(取自系统属性:java.vm.version)。
getVersion() - 类 中的方法com.xiaoleilu.hutool.system.JvmSpecInfo
取得当前JVM spec.的版本(取自系统属性:java.vm.specification.version)。
getVersion() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
取得当前OS的版本(取自系统属性:os.version)。
getVersionFloat() - 类 中的方法com.xiaoleilu.hutool.system.JavaInfo
取得当前Java impl.的版本(取自系统属性:java.version)。
getVersionInt() - 类 中的方法com.xiaoleilu.hutool.system.JavaInfo
取得当前Java impl.的版本(取自系统属性:java.version)。
getWarnings() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
getWhere() - 类 中的方法com.xiaoleilu.hutool.db.sql.Query
获得条件语句
getWithLog(String) - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
带有日志提示的get,如果没有定义指定的KEY,则打印debug日志
getWrapper() - 接口 中的方法com.xiaoleilu.hutool.db.dialect.Dialect
 
getWrapper() - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect
 
getWriter(boolean) - 类 中的方法com.xiaoleilu.hutool.io.file.FileWriter
获得一个带缓存的写入对象
getWriter(String, String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得一个带缓存的写入对象
getWriter(String, Charset, boolean) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得一个带缓存的写入对象
getWriter(File, String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得一个带缓存的写入对象
getWriter(File, Charset, boolean) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得一个带缓存的写入对象
getWriter() - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
获得StringWriter
gray(File, File) - 类 中的静态方法com.xiaoleilu.hutool.util.ImageUtil
彩色转为黑白
GROUP_VAR - 类 中的静态变量com.xiaoleilu.hutool.lang.Validator
分组
GROUP_VAR - 类 中的静态变量com.xiaoleilu.hutool.util.ReUtil
分组
groupBy(String...) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
分组
GroupedSet - com.xiaoleilu.hutool.lang中的类
分组化的Set集合类
在配置文件中可以用中括号分隔不同的分组,每个分组会放在独立的Set中,用group区别
无分组的集合和`[]`分组集合会合并成员,重名的分组也会合并成员
GroupedSet(Charset) - 类 的构造器com.xiaoleilu.hutool.lang.GroupedSet
基本构造
需自定义初始化配置文件
GroupedSet(String, Charset) - 类 的构造器com.xiaoleilu.hutool.lang.GroupedSet
构造,使用相对于Class文件根目录的相对路径
GroupedSet(File, Charset) - 类 的构造器com.xiaoleilu.hutool.lang.GroupedSet
构造
GroupedSet(String, Class<?>, Charset) - 类 的构造器com.xiaoleilu.hutool.lang.GroupedSet
构造,相对于classes读取文件
GroupedSet(URL, Charset) - 类 的构造器com.xiaoleilu.hutool.lang.GroupedSet
构造
GroupedSet(String) - 类 的构造器com.xiaoleilu.hutool.lang.GroupedSet
构造
GroupedTypeGetter - com.xiaoleilu.hutool.getter中的接口
基于分组的Get接口
GT - 类 中的静态变量com.xiaoleilu.hutool.json.XML
The Character '>'.
gzip(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.ZipUtil
Gzip压缩处理
gzip(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ZipUtil
Gzip压缩处理
gzip(File) - 类 中的静态方法com.xiaoleilu.hutool.util.ZipUtil
Gzip压缩文件

H

handle(ResultSet) - 类 中的方法com.xiaoleilu.hutool.db.handler.EntityHandler
 
handle(ResultSet) - 类 中的方法com.xiaoleilu.hutool.db.handler.EntityListHandler
 
handle(ResultSet) - 类 中的方法com.xiaoleilu.hutool.db.handler.EntitySetHandler
 
handle(ResultSet) - 类 中的方法com.xiaoleilu.hutool.db.handler.NumberHandler
 
handle(ResultSet) - 类 中的方法com.xiaoleilu.hutool.db.handler.PageResultHandler
 
handle(ResultSet) - 接口 中的方法com.xiaoleilu.hutool.db.handler.RsHandler
处理结果集
结果集处理后不需要关闭
handle(BufferedReader) - 接口 中的方法com.xiaoleilu.hutool.io.file.FileReader.ReaderHandler
 
HandleHelper - com.xiaoleilu.hutool.db.handler中的类
数据结果集处理辅助类
HandleHelper() - 类 的构造器com.xiaoleilu.hutool.db.handler.HandleHelper
 
handleRow(int, ResultSetMetaData, ResultSet) - 类 中的静态方法com.xiaoleilu.hutool.db.handler.HandleHelper
处理单条数据
handleRow(ResultSet) - 类 中的静态方法com.xiaoleilu.hutool.db.handler.HandleHelper
处理单条数据
handleRs(ResultSet, T) - 类 中的静态方法com.xiaoleilu.hutool.db.handler.HandleHelper
处理多条数据
hasBlank(CharSequence...) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
是否包含空字符串
hasEmpty(CharSequence...) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
是否包含空字符串
hash(String, int) - 类 中的静态方法com.xiaoleilu.hutool.bloomFilter.BitSetBloomFilter
计算Hash值
hash(String) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.filter.AbstractFilter
自定义Hash方法
hash(String) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.filter.DefaultFilter
 
hash(String) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.filter.ELFFilter
 
hash(String) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.filter.FNVFilter
 
hash(String) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.filter.HfFilter
 
hash(String) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.filter.HfIpFilter
 
hash(String) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.filter.JSFilter
 
hash(String) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.filter.PJWFilter
 
hash(String) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.filter.RSFilter
 
hash(String) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.filter.SDBMFilter
 
hash(String) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.filter.TianlFilter
 
hash(Object) - 接口 中的方法com.xiaoleilu.hutool.lang.ConsistentHash.HashFunc
 
hashCode() - 类 中的方法com.xiaoleilu.hutool.date.format.AbstractDateBasic
 
hashCode() - 类 中的方法com.xiaoleilu.hutool.date.format.FastDateFormat
 
HashUtil - com.xiaoleilu.hutool.util中的类
Hash算法大全
推荐使用FNV1算法
hasNext() - 类 中的方法com.xiaoleilu.hutool.cache.CacheValuesIterator
 
having(LogicalOperator, Condition...) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
添加Having语句
having(String) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
添加Having语句
head(String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpRequest
HEAD请求
Header - com.xiaoleilu.hutool.http中的枚举
Http 头域
header(String) - 类 中的方法com.xiaoleilu.hutool.http.HttpBase
根据name获取头信息
header(Header) - 类 中的方法com.xiaoleilu.hutool.http.HttpBase
根据name获取头信息
header(String, String, boolean) - 类 中的方法com.xiaoleilu.hutool.http.HttpBase
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
header(Header, String, boolean) - 类 中的方法com.xiaoleilu.hutool.http.HttpBase
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
header(Header, String) - 类 中的方法com.xiaoleilu.hutool.http.HttpBase
设置一个header
覆盖模式,则替换之前的值
header(String, String) - 类 中的方法com.xiaoleilu.hutool.http.HttpBase
设置一个header
覆盖模式,则替换之前的值
header(Map<String, List<String>>) - 类 中的方法com.xiaoleilu.hutool.http.HttpBase
设置请求头
不覆盖原有请求头
header(String, String, boolean) - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
设置请求头
当请求头存在时,覆盖之
header(Header, String, boolean) - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
设置请求头
当请求头存在时,覆盖之
header(Map<String, List<String>>, boolean) - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
设置请求头
不覆盖原有请求头
header(String) - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
获取Http请求头
header(Header) - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
获取Http请求头
headers - 类 中的变量com.xiaoleilu.hutool.http.HttpBase
存储头信息
headers() - 类 中的方法com.xiaoleilu.hutool.http.HttpBase
获取headers
headers() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
获取所有Http请求头
hexStrToStr(String, Charset) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
十六进制转换字符串
hexToBytes(String) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
Hex字符串转换为Byte值
HexUtil - com.xiaoleilu.hutool.util中的类
十六进制(简写为hex或下标16)在数学中是一种逢16进1的进位制,一般用数字0到9和字母A到F表示(其中:A~F即10~15)。
HexUtil() - 类 的构造器com.xiaoleilu.hutool.util.HexUtil
 
HfFilter - com.xiaoleilu.hutool.bloomFilter.filter中的类
 
HfFilter(long, int) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.HfFilter
 
HfFilter(long) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.HfFilter
 
HfIpFilter - com.xiaoleilu.hutool.bloomFilter.filter中的类
 
HfIpFilter(long, int) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.HfIpFilter
 
HfIpFilter(long) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.HfIpFilter
 
hideIpPart(String) - 类 中的静态方法com.xiaoleilu.hutool.util.NetUtil
隐藏掉IP地址的最后一部分为 * 代替
hideIpPart(long) - 类 中的静态方法com.xiaoleilu.hutool.util.NetUtil
隐藏掉IP地址的最后一部分为 * 代替
HikariDSFactory - com.xiaoleilu.hutool.db.ds.hikari中的类
HikariCP数据源工厂类
HikariDSFactory() - 类 的构造器com.xiaoleilu.hutool.db.ds.hikari.HikariDSFactory
 
HikariDSFactory(Setting) - 类 的构造器com.xiaoleilu.hutool.db.ds.hikari.HikariDSFactory
 
hitCount - 类 中的变量com.xiaoleilu.hutool.cache.AbstractCache
命中数
HMac - com.xiaoleilu.hutool.crypto.digest中的类
HMAC摘要算法
HMAC,全称为“Hash Message Authentication Code”,中文名“散列消息鉴别码”
主要是利用哈希算法,以一个密钥和一个消息为输入,生成一个消息摘要作为输出。
HMac(HmacAlgorithm) - 类 的构造器com.xiaoleilu.hutool.crypto.digest.HMac
 
HMac(HmacAlgorithm, byte[]) - 类 的构造器com.xiaoleilu.hutool.crypto.digest.HMac
 
HmacAlgorithm - com.xiaoleilu.hutool.crypto.digest中的枚举
HMAC算法类型
see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#Mac
hmacMd5(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
HmacMD5加密器
例:
HmacMD5加密:hmacMd5(key).digest(data)
HmacMD5加密并转为16进制字符串:hmacMd5(key).digestHex(data)
hmacMd5() - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
HmacMD5加密器,生成随机KEY
例:
HmacMD5加密:hmacMd5().digest(data)
HmacMD5加密并转为16进制字符串:hmacMd5().digestHex(data)
hmacSha1(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
HmacSHA1加密器
例:
HmacSHA1加密:hmacSha1(key).digest(data)
HmacSHA1加密并转为16进制字符串:hmacSha1(key).digestHex(data)
hmacSha1() - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
HmacSHA1加密器,生成随机KEY
例:
HmacSHA1加密:hmacSha1().digest(data)
HmacSHA1加密并转为16进制字符串:hmacSha1().digestHex(data)
Holder<T> - com.xiaoleilu.hutool.lang中的类
为不可变的对象引用提供一个可变的包装,在java中支持引用传递。
Holder() - 类 的构造器com.xiaoleilu.hutool.lang.Holder
 
Holder(T) - 类 的构造器com.xiaoleilu.hutool.lang.Holder
 
HOME - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
HostInfo - com.xiaoleilu.hutool.system中的类
代表当前主机的信息。
HostInfo() - 类 的构造器com.xiaoleilu.hutool.system.HostInfo
 
hour(boolean) - 类 中的方法com.xiaoleilu.hutool.date.DateTime
获得指定日期的小时数部分
hour(Date, boolean) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
获得指定日期的小时数部分
HTML_AMP - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
HTML_GT - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
HTML_LT - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
HTML_NBSP - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
HTML_QUOTE - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
HTMLFilter - com.xiaoleilu.hutool.http中的类
HTML filtering utility for protecting against XSS (Cross Site Scripting).
HTMLFilter() - 类 的构造器com.xiaoleilu.hutool.http.HTMLFilter
Default constructor.
HTMLFilter(boolean) - 类 的构造器com.xiaoleilu.hutool.http.HTMLFilter
Set debug flag to true.
HTMLFilter(Map<String, Object>) - 类 的构造器com.xiaoleilu.hutool.http.HTMLFilter
Map-parameter configurable constructor.
htmlSpecialChars(String) - 类 中的静态方法com.xiaoleilu.hutool.http.HTMLFilter
 
HtmlUtil - com.xiaoleilu.hutool.util中的类
HTML工具类
HtmlUtil() - 类 的构造器com.xiaoleilu.hutool.util.HtmlUtil
 
HTTP_1_0 - 类 中的静态变量com.xiaoleilu.hutool.http.HttpBase
HTTP/1.0
HTTP_1_1 - 类 中的静态变量com.xiaoleilu.hutool.http.HttpBase
HTTP/1.1
HTTP_ACCEPTED - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 202: Accepted.
HTTP_ACCEPTED - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 202: Accepted.
HTTP_BAD_GATEWAY - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 502: Bad Gateway.
HTTP_BAD_GATEWAY - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 502: Bad Gateway.
HTTP_BAD_METHOD - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 405: Method Not Allowed.
HTTP_BAD_METHOD - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 405: Method Not Allowed.
HTTP_BAD_REQUEST - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 400: Bad Request.
HTTP_BAD_REQUEST - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 400: Bad Request.
HTTP_CLIENT_TIMEOUT - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 408: Request Time-Out.
HTTP_CLIENT_TIMEOUT - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 408: Request Time-Out.
HTTP_CONFLICT - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 409: Conflict.
HTTP_CONFLICT - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 409: Conflict.
HTTP_CREATED - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 201: Created.
HTTP_CREATED - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 201: Created.
HTTP_DATETIME_FORMAT - 类 中的静态变量com.xiaoleilu.hutool.date.DatePattern
HTTP头中日期时间格式 FastDateFormat
HTTP_DATETIME_FORMAT - 类 中的静态变量com.xiaoleilu.hutool.date.DatePatternLocal
已过时。
HTTP日期时间格式化器
HTTP_DATETIME_PATTERN - 类 中的静态变量com.xiaoleilu.hutool.date.DatePattern
HTTP头中日期时间格式
HTTP_DATETIME_PATTERN - 类 中的静态变量com.xiaoleilu.hutool.date.DateUtil
HTTP头中日期时间格式
HTTP_ENTITY_TOO_LARGE - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 413: Request Entity Too Large.
HTTP_ENTITY_TOO_LARGE - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 413: Request Entity Too Large.
HTTP_FORBIDDEN - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 403: Forbidden.
HTTP_FORBIDDEN - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 403: Forbidden.
HTTP_GATEWAY_TIMEOUT - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 504: Gateway Timeout.
HTTP_GATEWAY_TIMEOUT - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 504: Gateway Timeout.
HTTP_GONE - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 410: Gone.
HTTP_GONE - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 410: Gone.
HTTP_INTERNAL_ERROR - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 500: Internal Server Error.
HTTP_INTERNAL_ERROR - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 500: Internal Server Error.
HTTP_LENGTH_REQUIRED - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 411: Length Required.
HTTP_LENGTH_REQUIRED - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 411: Length Required.
HTTP_MOVED_PERM - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 301: Moved Permanently.
HTTP_MOVED_PERM - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 301: Moved Permanently.
HTTP_MOVED_TEMP - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 302: Temporary Redirect.
HTTP_MOVED_TEMP - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 302: Temporary Redirect.
HTTP_MULT_CHOICE - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 300: Multiple Choices.
HTTP_MULT_CHOICE - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 300: Multiple Choices.
HTTP_NO_CONTENT - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 204: No Content.
HTTP_NO_CONTENT - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 204: No Content.
HTTP_NOT_ACCEPTABLE - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 406: Not Acceptable.
HTTP_NOT_ACCEPTABLE - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 406: Not Acceptable.
HTTP_NOT_AUTHORITATIVE - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 203: Non-Authoritative Information.
HTTP_NOT_AUTHORITATIVE - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 203: Non-Authoritative Information.
HTTP_NOT_FOUND - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 404: Not Found.
HTTP_NOT_FOUND - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 404: Not Found.
HTTP_NOT_IMPLEMENTED - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 501: Not Implemented.
HTTP_NOT_IMPLEMENTED - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 501: Not Implemented.
HTTP_NOT_MODIFIED - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 304: Not Modified.
HTTP_NOT_MODIFIED - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 304: Not Modified.
HTTP_OK - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 200: OK.
HTTP_OK - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 200: OK.
HTTP_PARTIAL - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 206: Partial Content.
HTTP_PARTIAL - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 206: Partial Content.
HTTP_PAYMENT_REQUIRED - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 402: Payment Required.
HTTP_PAYMENT_REQUIRED - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 402: Payment Required.
HTTP_PRECON_FAILED - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 412: Precondition Failed.
HTTP_PRECON_FAILED - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 412: Precondition Failed.
HTTP_PROXY_AUTH - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 407: Proxy Authentication Required.
HTTP_PROXY_AUTH - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 407: Proxy Authentication Required.
HTTP_REQ_TOO_LONG - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 414: Request-URI Too Large.
HTTP_REQ_TOO_LONG - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 414: Request-URI Too Large.
HTTP_RESET - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 205: Reset Content.
HTTP_RESET - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 205: Reset Content.
HTTP_SEE_OTHER - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 303: See Other.
HTTP_SEE_OTHER - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 303: See Other.
HTTP_SERVER_ERROR - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
已过时。
it is misplaced and shouldn't have existed.
HTTP_UNAUTHORIZED - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 401: Unauthorized.
HTTP_UNAUTHORIZED - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 401: Unauthorized.
HTTP_UNAVAILABLE - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 503: Service Unavailable.
HTTP_UNAVAILABLE - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 503: Service Unavailable.
HTTP_UNSUPPORTED_TYPE - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 415: Unsupported Media Type.
HTTP_UNSUPPORTED_TYPE - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 415: Unsupported Media Type.
HTTP_USE_PROXY - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 305: Use Proxy.
HTTP_USE_PROXY - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 305: Use Proxy.
HTTP_VERSION - 类 中的静态变量com.xiaoleilu.hutool.http.HttpStatus
HTTP Status-Code 505: HTTP Version Not Supported.
HTTP_VERSION - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 505: HTTP Version Not Supported.
HttpBase<T> - com.xiaoleilu.hutool.http中的类
http基类
HttpBase() - 类 的构造器com.xiaoleilu.hutool.http.HttpBase
 
HttpConnection - com.xiaoleilu.hutool.http中的类
http连接对象,对HttpURLConnection的包装
HttpConnection(String, Method) - 类 的构造器com.xiaoleilu.hutool.http.HttpConnection
构造HttpConnection
HttpConnection(String, Method, int) - 类 的构造器com.xiaoleilu.hutool.http.HttpConnection
构造HttpConnection
HttpConnection(String, Method, HostnameVerifier, SSLSocketFactory, int) - 类 的构造器com.xiaoleilu.hutool.http.HttpConnection
构造HttpConnection
HttpException - com.xiaoleilu.hutool.http中的异常错误
HTTP异常
HttpException(Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.http.HttpException
 
HttpException(String) - 异常错误 的构造器com.xiaoleilu.hutool.http.HttpException
 
HttpException(String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.http.HttpException
 
HttpException(String, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.http.HttpException
 
HttpException(Throwable, String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.http.HttpException
 
HttpRequest - com.xiaoleilu.hutool.http中的类
http请求类
HttpRequest(String) - 类 的构造器com.xiaoleilu.hutool.http.HttpRequest
构造
HttpResponse - com.xiaoleilu.hutool.http中的类
Http响应类
HttpResponse() - 类 的构造器com.xiaoleilu.hutool.http.HttpResponse
 
HttpStatus - com.xiaoleilu.hutool.http中的类
HTTP状态码
HttpUtil - com.xiaoleilu.hutool.http中的类
Http请求工具类
HttpUtil() - 类 的构造器com.xiaoleilu.hutool.http.HttpUtil
 
httpVersion - 类 中的变量com.xiaoleilu.hutool.http.HttpBase
http版本
httpVersion() - 类 中的方法com.xiaoleilu.hutool.http.HttpBase
返回http版本
httpVersion(String) - 类 中的方法com.xiaoleilu.hutool.http.HttpBase
设置http版本

I

identifyDriver(String) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
识别JDBC驱动名
identifyDriver(DataSource) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
识别JDBC驱动名
identifyDriver(Connection) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
识别JDBC驱动名
IMAGE_TYPE_BMP - 类 中的静态变量com.xiaoleilu.hutool.util.ImageUtil
 
IMAGE_TYPE_GIF - 类 中的静态变量com.xiaoleilu.hutool.util.ImageUtil
 
IMAGE_TYPE_JPEG - 类 中的静态变量com.xiaoleilu.hutool.util.ImageUtil
 
IMAGE_TYPE_JPG - 类 中的静态变量com.xiaoleilu.hutool.util.ImageUtil
 
IMAGE_TYPE_PNG - 类 中的静态变量com.xiaoleilu.hutool.util.ImageUtil
 
IMAGE_TYPE_PSD - 类 中的静态变量com.xiaoleilu.hutool.util.ImageUtil
 
ImageUtil - com.xiaoleilu.hutool.util中的类
图片处理工具类:
功能:缩放图像、切割图像、图像类型转换、彩色转黑白、文字水印、图片水印等 参考:http://blog.csdn.net/zhangzhikaixinya/article/details/8459400
ImageUtil() - 类 的构造器com.xiaoleilu.hutool.util.ImageUtil
 
in(String, T...) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
多值选择
increment(String) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
对值加一,如果值不存在,赋值1,如果为数字类型,做加一操作
indent(Writer, int) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
缩进,使用空格符
index() - 类 中的方法com.xiaoleilu.hutool.io.FastByteBuffer
当前缓冲位于缓冲区的索引位
indexedFormat(String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
有序的格式化文本,使用{number}做为占位符
例:
通常使用:format("this is {0} for {1}", "a", "b") -> this is a for b
indexOf(Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
indexOfLastSeparator(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得最后一个文件路径分隔符的位置
indirectGet() - 类 中的静态方法com.xiaoleilu.hutool.log.LogFactory
 
info(Throwable) - 类 中的方法com.xiaoleilu.hutool.log.AbstractLog
 
info(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog
 
info(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog
 
info(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
info(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
info(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.console.ConsoleLog
 
info(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.console.ConsoleLog
 
info(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
info(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
info(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
info(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
info(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
info(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
info(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
info(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
info(Throwable) - 接口 中的方法com.xiaoleilu.hutool.log.level.InfoLog
打印 INFO 等级的日志
info(String, Object...) - 接口 中的方法com.xiaoleilu.hutool.log.level.InfoLog
打印 INFO 等级的日志
info(Throwable, String, Object...) - 接口 中的方法com.xiaoleilu.hutool.log.level.InfoLog
打印 INFO 等级的日志
info(String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
Info等级日志,小于Warn
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
info(Log, String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
Info等级日志,小于Warn
InfoLog - com.xiaoleilu.hutool.log.level中的接口
INFO级别日志接口
init(String, String) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.BitSetBloomFilter
通过文件初始化过滤器.
init(long, int) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.filter.AbstractFilter
 
init(String, byte[], byte[]) - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
初始化
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
签名默认使用MD5摘要算法,如果需要自定义签名算法,调用 AsymmetricCriptor.setSignature(Signature)设置签名对象
init(String) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.Digester
初始化
init(String, byte[]) - 类 中的方法com.xiaoleilu.hutool.crypto.digest.HMac
初始化
init(String, byte[]) - 类 中的方法com.xiaoleilu.hutool.crypto.symmetric.SymmetricCriptor
初始化
init() - 类 中的方法com.xiaoleilu.hutool.db.ds.MongoDS
初始化,当给定分组数大于一个时使用
init(String, String, String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.DbConfig
初始化
init(String, String, String) - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.SimpleDataSource
初始化
init(String, ResultSet) - 类 中的方法com.xiaoleilu.hutool.db.meta.Column
初始化
init(Collection<String>, boolean) - 类 中的静态方法com.xiaoleilu.hutool.dfa.SensitiveUtil
初始化敏感词树
init(Collection<String>) - 类 中的静态方法com.xiaoleilu.hutool.dfa.SensitiveUtil
初始化敏感词树
init(String, char, boolean) - 类 中的静态方法com.xiaoleilu.hutool.dfa.SensitiveUtil
初始化敏感词树
init(String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.dfa.SensitiveUtil
初始化敏感词树,使用逗号分隔每个单词
init() - 类 中的方法com.xiaoleilu.hutool.io.BOMInputStream
Read-ahead four bytes and check for BOM marks.
init(URL, Charset) - 类 中的方法com.xiaoleilu.hutool.lang.GroupedSet
初始化设定文件
init(URL, Charset, boolean) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
初始化设定文件
init(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.VelocityUtil
初始化Velocity全局属性
init(String, String, Map<String, Object>) - 类 中的静态方法com.xiaoleilu.hutool.util.VelocityUtil
初始化全局属性
init() - 类 中的方法com.xiaoleilu.hutool.watch.WatchMonitor
初始化
initCloud() - 类 中的方法com.xiaoleilu.hutool.db.ds.MongoDS
初始化集群
集群的其它客户端设定参数使用全局设定
集群中每一个实例成员用一个group表示,例如:
[db0] host = 10.11.49.157:27117 [db1] host = 10.11.49.157:27118 [db2] host = 10.11.49.157:27119
initConn() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
初始化连接相关信息
initKeys() - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
生成公钥和私钥
initSingle() - 类 中的方法com.xiaoleilu.hutool.db.ds.MongoDS
初始化
设定文件中的host和端口有三种形式: --------------------- host = host:port --------------------- host = host port = port --------------------- #此种形式使用MongoDB默认端口 host = host ---------------------
insert(Entity) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
插入数据
insert(Collection<Entity>) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
批量插入数据
insert(Entity) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
插入,使用默认的ANSI方言
insert(Entity, DialectName) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
插入
insert(Connection, Entity) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
插入数据
此方法不会关闭Connection
insert(Connection, Collection<Entity>) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
批量插入数据
此方法不会关闭Connection
insertForGeneratedKey(Entity) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
插入数据
insertForGeneratedKey(Connection, Entity) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
插入数据
此方法不会关闭Connection
insertForGeneratedKeys(Entity) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
插入数据
insertForGeneratedKeys(Connection, Entity) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
插入数据
此方法不会关闭Connection
instance() - 类 中的静态方法com.xiaoleilu.hutool.script.JavaScriptEngine
引擎实例
IntArrayConverter - com.xiaoleilu.hutool.convert.impl中的类
int 类型数组转换器
IntArrayConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.IntArrayConverter
 
intersection(Collection<T>, Collection<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
两个集合的交集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最少的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c],此结果中只保留了两个c
intersection(Collection<T>, Collection<T>, Collection<T>...) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
多个集合的交集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最少的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c],此结果中只保留了两个c
interval() - 类 中的方法com.xiaoleilu.hutool.date.TimeInterval
从开始到当前的间隔时间(毫秒数)
如果使用纳秒计时,返回纳秒差,否则返回毫秒差
intervalDay() - 类 中的方法com.xiaoleilu.hutool.date.TimeInterval
从开始到当前的间隔天数,取绝对值
intervalHour() - 类 中的方法com.xiaoleilu.hutool.date.TimeInterval
从开始到当前的间隔小时数,取绝对值
intervalMinute() - 类 中的方法com.xiaoleilu.hutool.date.TimeInterval
从开始到当前的间隔分钟数,取绝对值
intervalMs() - 类 中的方法com.xiaoleilu.hutool.date.TimeInterval
从开始到当前的间隔时间(毫秒数)
intervalRestart() - 类 中的方法com.xiaoleilu.hutool.date.TimeInterval
 
intervalSecond() - 类 中的方法com.xiaoleilu.hutool.date.TimeInterval
从开始到当前的间隔秒数,取绝对值
intervalWeek() - 类 中的方法com.xiaoleilu.hutool.date.TimeInterval
从开始到当前的间隔周数,取绝对值
intHash(int) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
Thomas Wang的算法,整数hash
IntMap - com.xiaoleilu.hutool.bloomFilter.bitMap中的类
过滤器BitMap在32位机器上.这个类能发生更好的效果.一般情况下建议使用此类
IntMap() - 类 的构造器com.xiaoleilu.hutool.bloomFilter.bitMap.IntMap
 
IntMap(int) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.bitMap.IntMap
 
INVALID_REGEX - 类 中的静态变量com.xiaoleilu.hutool.util.XmlUtil
在XML中无效的字符 正则
invoke(Object, Method, Object[]) - 类 中的方法com.xiaoleilu.hutool.proxy.Aspect
 
invoke(String, Object[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
非单例模式,如果是非静态方法,每次创建一个新对象
invoke(String, boolean, Object[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
invoke(String, String, Object[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
非单例模式,如果是非静态方法,每次创建一个新对象
invoke(String, String, boolean, Object[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
invoke(Object, String, Object[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
执行方法
可执行Private方法,也可执行static方法
invoke(Object, Method, Object[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
执行方法
invokeFunction(String, Object...) - 类 中的方法com.xiaoleilu.hutool.script.FullSupportScriptEngine
 
invokeFunction(String, Object...) - 类 中的方法com.xiaoleilu.hutool.script.JavaScriptEngine
 
invokeMethod(Object, String, Object...) - 类 中的方法com.xiaoleilu.hutool.script.FullSupportScriptEngine
 
invokeMethod(Object, String, Object...) - 类 中的方法com.xiaoleilu.hutool.script.JavaScriptEngine
 
IORuntimeException - com.xiaoleilu.hutool.io中的异常错误
IO运行时异常异常
IORuntimeException(Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.io.IORuntimeException
 
IORuntimeException(String) - 异常错误 的构造器com.xiaoleilu.hutool.io.IORuntimeException
 
IORuntimeException(String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.io.IORuntimeException
 
IORuntimeException(String, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.io.IORuntimeException
 
IORuntimeException(Throwable, String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.io.IORuntimeException
 
IoUtil - com.xiaoleilu.hutool.io中的类
IO工具类
IoUtil() - 类 的构造器com.xiaoleilu.hutool.io.IoUtil
 
IPV4 - 类 中的静态变量com.xiaoleilu.hutool.lang.Validator
IP v4
ipv4ToLong(String) - 类 中的静态方法com.xiaoleilu.hutool.util.NetUtil
根据ip地址计算出long型的数据
isAbstract(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
是否为抽象类
isAix() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
判断当前OS的类型。
isAllAssignableFrom(Class<?>[], Class<?>[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
比较判断types1和types2两组类,如果types1中所有的类都与types2对应位置的类相同,或者是其父类或接口,则返回true
isAllBlank(CharSequence...) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
给定所有字符串是否为空白
isAllEmpty(CharSequence...) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
是否全部为空字符串
isAlwaysMakeTags() - 类 中的方法com.xiaoleilu.hutool.http.HTMLFilter
 
isAM() - 类 中的方法com.xiaoleilu.hutool.date.DateTime
是否为上午
isAM(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
是否为上午
isArray(Object) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
对象是否为数组对象
isAssignable(Class<?>, Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that superType.isAssignableFrom(subType) is true.
isAssignable(Class<?>, Class<?>, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that superType.isAssignableFrom(subType) is true.
isAssignable(Class<?>, Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
检查目标类是否可以从原类转化
转化包括:
1、原类是对象,目标类型是原类型实现的接口
2、目标类型是原类型的父类
3、两者是原始类型或者包装类型(相互转换)
isBasicType(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
是否为基本类型(包括包装类和原始类)
isBasicType(Object) - 类 中的静态方法com.xiaoleilu.hutool.util.ObjectUtil
是否为基本类型,包括包装类型和非包装类型
isBean(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
判断是否为Bean对象
isBirthday(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为生日
isBlank(CharSequence) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
字符串是否为空白 空白的定义如下:
1、为null
2、为不可见字符(如空格)
3、""
isChinese(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为汉字
isCitizenId(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为身份证号码(18位中国)
出生日期只支持到到2999年
isClosed() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.PooledConnection
连接是否关闭,关闭条件:
1、被归还到池中 2、实际连接已关闭
isDebugEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog
 
isDebugEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
isDebugEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.console.ConsoleLog
 
isDebugEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
isDebugEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
isDebugEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
isDebugEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
isDebugEnabled() - 接口 中的方法com.xiaoleilu.hutool.log.level.DebugLog
 
isDirectory(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
判断是否为目录,如果path为null,则返回false
isDirectory(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
判断是否为目录,如果file为null,则返回false
isDirEmpty(Path) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
目录是否为空
isDirEmpty(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
目录是否为空
isEmail(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为可用邮箱地址
isEmpty() - 类 中的方法com.xiaoleilu.hutool.cache.AbstractCache
 
isEmpty() - 接口 中的方法com.xiaoleilu.hutool.cache.Cache
 
isEmpty() - 类 中的方法com.xiaoleilu.hutool.cache.NoCache
 
isEmpty() - 类 中的方法com.xiaoleilu.hutool.io.FastByteBuffer
 
isEmpty(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
文件是否为空
目录:里面没有文件时为空 文件:文件大小为0时为空
isEmpty() - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
isEmpty() - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
 
isEmpty(T) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为空
对于String类型判定是否为empty(null 或 "")
isEmpty() - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
 
isEmpty(T[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
数组是否为空
isEmpty(long[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
数组是否为空
isEmpty(int[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
数组是否为空
isEmpty(short[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
数组是否为空
isEmpty(char[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
数组是否为空
isEmpty(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
数组是否为空
isEmpty(double[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
数组是否为空
isEmpty(float[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
数组是否为空
isEmpty(boolean[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
数组是否为空
isEmpty(Collection<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
集合是否为空
isEmpty(Map<?, ?>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
Map是否为空
isEmpty(Iterable<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
Iterable是否为空
isEmpty(Iterator<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
Iterator是否为空
isEmpty(Enumeration<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
Enumeration是否为空
isEmpty(CharSequence) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
字符串是否为空,空的定义如下 1、为null
2、为""
isEnabled(Level) - 类 中的方法com.xiaoleilu.hutool.log.AbstractLog
 
isEnabled(Level) - 接口 中的方法com.xiaoleilu.hutool.log.Log
是否开启指定日志
isEqualsMethod(Method) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
是否为equals方法
isErrorEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog
 
isErrorEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
isErrorEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.console.ConsoleLog
 
isErrorEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
isErrorEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
isErrorEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
isErrorEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
isErrorEnabled() - 接口 中的方法com.xiaoleilu.hutool.log.level.ErrorLog
 
isFile(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
判断是否为文件,如果path为null,则返回false
isFile(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
判断是否为文件,如果file为null,则返回false
isFirst() - 类 中的方法com.xiaoleilu.hutool.db.PageResult
 
isFull() - 类 中的方法com.xiaoleilu.hutool.cache.AbstractCache
 
isFull() - 接口 中的方法com.xiaoleilu.hutool.cache.Cache
 
isFull() - 类 中的方法com.xiaoleilu.hutool.cache.NoCache
 
isGeneral(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为英文字母 、数字和下划线
isGeneral(String, int, int) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为给定长度范围的英文字母 、数字和下划线
isGeneral(String, int) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为给定最小长度的英文字母 、数字和下划线
isGeneralWithChinese(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为中文字、英文字母、数字和下划线
isGzip() - 类 中的方法com.xiaoleilu.hutool.http.HttpResponse
 
isHashCodeMethod(Method) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
是否为hashCode方法
isHexNumber(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HexUtil
判断给定字符串是否为16进制数
如果是,需要使用对应数字类型对象的decode方法解码
例如:Integer.decode方法解码int类型的16进制数字
isHpUx() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
判断当前OS的类型。
isHttps(String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
检测是否https
isIgnoreError() - 接口 中的方法com.xiaoleilu.hutool.util.BeanUtil.ValueProvider
是否忽略字段的注入错误
isInfoEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog
 
isInfoEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
isInfoEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.console.ConsoleLog
 
isInfoEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
isInfoEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
isInfoEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
isInfoEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
isInfoEnabled() - 接口 中的方法com.xiaoleilu.hutool.log.level.InfoLog
 
isInited() - 类 中的静态方法com.xiaoleilu.hutool.dfa.SensitiveUtil
 
isInnerIP(String) - 类 中的静态方法com.xiaoleilu.hutool.util.NetUtil
判定是否为内网IP
私有IP:A类 10.0.0.0-10.255.255.255 B类 172.16.0.0-172.31.255.255 C类 192.168.0.0-192.168.255.255 当然,还有127这个网段是环回地址
isInstanceOf(Class<?>, Object) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that the provided object is an instance of the provided class.
isInstanceOf(Class<?>, Object, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that the provided object is an instance of the provided class.
isIpv4(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为IPV4地址
isIrix() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
判断当前OS的类型。
isJava11() - 类 中的方法com.xiaoleilu.hutool.system.JavaInfo
判断当前Java的版本。
isJava12() - 类 中的方法com.xiaoleilu.hutool.system.JavaInfo
判断当前Java的版本。
isJava13() - 类 中的方法com.xiaoleilu.hutool.system.JavaInfo
判断当前Java的版本。
isJava14() - 类 中的方法com.xiaoleilu.hutool.system.JavaInfo
判断当前Java的版本。
isJava15() - 类 中的方法com.xiaoleilu.hutool.system.JavaInfo
判断当前Java的版本。
isJava16() - 类 中的方法com.xiaoleilu.hutool.system.JavaInfo
判断当前Java的版本。
isJava17() - 类 中的方法com.xiaoleilu.hutool.system.JavaInfo
判断当前Java的版本。
isJavaVersionAtLeast(float) - 类 中的方法com.xiaoleilu.hutool.system.JavaInfo
判定当前Java的版本是否大于等于指定的版本号。
isJavaVersionAtLeast(int) - 类 中的方法com.xiaoleilu.hutool.system.JavaInfo
判定当前Java的版本是否大于等于指定的版本号。
isKeepAlive() - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
 
isLast() - 类 中的方法com.xiaoleilu.hutool.db.PageResult
 
isLeapYear() - 类 中的方法com.xiaoleilu.hutool.date.DateTime
是否闰年
isLeapYear(int) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
是否闰年
isLinux() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
判断当前OS的类型。
isMac() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
判断当前OS的类型。
isMacOsX() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
判断当前OS的类型。
isMactchRegex(String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
通过正则表达式验证
isMactchRegex(Pattern, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
通过正则表达式验证
isMatch(String) - 类 中的方法com.xiaoleilu.hutool.dfa.WordTree
指定文本是否包含树中的词
isMatch(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
给定内容是否匹配正则
isMatch(Pattern, String) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
给定内容是否匹配正则
isMobile(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为手机号码(中国)
isModifed(File, long) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
判断文件是否被改动
如果文件对象为 null 或者文件不存在,被视为改动
isMoney(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为货币
isNormalClass(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
是否为标准的类
这个类必须:
1、非接口 2、非抽象类 3、非Enum枚举 4、非数组 5、非注解 6、非原始类型(int, long等)
isNotBlank(CharSequence) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
字符串是否为非空白 空白的定义如下:
1、不为null
2、不为不可见字符(如空格)
3、不为""
isNotEmpty(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
目录是否为空
isNotEmpty(T) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为空
对于String类型判定是否为empty(null 或 "")
isNotEmpty(T[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
数组是否为非空
isNotEmpty(long[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
数组是否为非空
isNotEmpty(int[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
数组是否为非空
isNotEmpty(short[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
数组是否为非空
isNotEmpty(char[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
数组是否为非空
isNotEmpty(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
数组是否为非空
isNotEmpty(double[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
数组是否为非空
isNotEmpty(float[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
数组是否为非空
isNotEmpty(boolean[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
数组是否为非空
isNotEmpty(Collection<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
集合是否为非空
isNotEmpty(Map<?, ?>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
Map是否为非空
isNotEmpty(Iterable<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
Iterable是否为空
isNotEmpty(Iterator<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
Iterator是否为空
isNotEmpty(Enumeration<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
Enumeration是否为空
isNotEmpty(CharSequence) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
字符串是否为非空白 空白的定义如下:
1、不为null
2、不为""
isNotNull(Object) - 类 中的静态方法com.xiaoleilu.hutool.util.ObjectUtil
检查对象是否不为null
isNotPublic(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
指定类是否为非public
isNotPublic(Method) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
指定方法是否为非public
isNotStopChar(char) - 类 中的静态方法com.xiaoleilu.hutool.dfa.StopChar
是否为合法字符(待处理字符)
isNull(int) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Determine if the value is null.
isNull(String) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
Determine if the value associated with the key is null or if there is no value.
isNull(Object, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that an object is null .
isNull(Object) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that an object is null .
isNull(Object) - 类 中的静态方法com.xiaoleilu.hutool.util.ObjectUtil
检查对象是否为null
isNullable() - 类 中的方法com.xiaoleilu.hutool.db.meta.Column
 
isNumber(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证该字符串是否是数字
ISO_8859_1 - 类 中的静态变量com.xiaoleilu.hutool.util.CharsetUtil
ISO-8859-1
isOs2() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
判断当前OS的类型。
isPlaceHolder() - 类 中的方法com.xiaoleilu.hutool.db.sql.Condition
是否使用条件占位符
isPM() - 类 中的方法com.xiaoleilu.hutool.date.DateTime
是否为下午
isPM(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
是否为下午
isPrimitiveWrapper(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
是否为包装类型
isPruneExpiredActive() - 类 中的方法com.xiaoleilu.hutool.cache.AbstractCache
只有设置公共缓存失效时长或每个对象单独的失效时长时清理可用
isPublic(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
指定类是否为Public
isPublic(Method) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
指定方法是否为Public
isReadOnly() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
isSimpleTypeOrArray(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
是否简单值类型或简单值类型的数组
包括:原始类型,、String、other CharSequence, a Number, a Date, a URI, a URL, a Locale or a Class及其数组
isSimpleValueType(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
是否为简单值类型
包括:原始类型,、String、other CharSequence, a Number, a Date, a URI, a URL, a Locale or a Class.
isSolaris() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
判断当前OS的类型。
isStatic(Method) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
是否为静态方法
isStopChar(char) - 类 中的静态方法com.xiaoleilu.hutool.dfa.StopChar
判断指定的词是否是不处理的词。
isStripComments() - 类 中的方法com.xiaoleilu.hutool.http.HTMLFilter
 
isSunOS() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
判断当前OS的类型。
isSurround(String, String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
给定字符串是否被字符包围
isSurround(CharSequence, char, char) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
给定字符串是否被字符包围
isToStringMethod(Method) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
是否为toString方法
isTraceEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog
 
isTraceEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
isTraceEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.console.ConsoleLog
 
isTraceEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
isTraceEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
isTraceEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
isTraceEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
isTraceEnabled() - 接口 中的方法com.xiaoleilu.hutool.log.level.TraceLog
 
isTrue(boolean, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
断言是否为真,如果为 false 抛出 IllegalArgumentException 异常
 Assert.isTrue(i > 0, "The value must be greater than zero");
 
isTrue(boolean) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
断言是否为真,如果为 false 抛出 IllegalArgumentException 异常
 Assert.isTrue(i > 0, "The value must be greater than zero");
 
isUnknow(String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
检测给定字符串是否为未知,多用于检测HTTP请求相关
isUrl(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为URL
isUsableLocalPort(int) - 类 中的静态方法com.xiaoleilu.hutool.util.NetUtil
检测本地端口可用性
isUseVariable - 类 中的变量com.xiaoleilu.hutool.setting.dialect.BasicSetting
是否使用变量
isUUID(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为UUID
包括带横线标准格式和不带横线的简单模式
isValid(int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
isValidIfNumber(Object) - 类 中的静态方法com.xiaoleilu.hutool.util.ObjectUtil
检查是否为有效的数字
检查Double和Float是否为无限大,或者Not a Number
非数字类型和Null将返回true
isValidPort(int) - 类 中的静态方法com.xiaoleilu.hutool.util.NetUtil
是否为有效的端口
isWarnEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog
 
isWarnEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
isWarnEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.console.ConsoleLog
 
isWarnEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
isWarnEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
isWarnEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
isWarnEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
isWarnEnabled() - 接口 中的方法com.xiaoleilu.hutool.log.level.WarnLog
 
isWindows() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
判断当前OS的类型。
isWindows2000() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
判断当前OS的类型。
isWindows95() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
判断当前OS的类型。
isWindows98() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
判断当前OS的类型。
isWindowsME() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
判断当前OS的类型。
isWindowsNT() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
判断当前OS的类型。
isWindowsXP() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
判断当前OS的类型。
isWrap(String, String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
指定字符串是否被包装
isWrap(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
指定字符串是否被同一字符包装(前后都有这些字符串)
isWrap(String, char) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
指定字符串是否被同一字符包装(前后都有这些字符串)
isWrap(String, char, char) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
指定字符串是否被包装
isWrapperFor(Class<?>) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
isWrapperFor(Class<?>) - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.AbstractDataSource
 
isZipCode(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为邮政编码(中国)
iterator() - 类 中的方法com.xiaoleilu.hutool.cache.AbstractCache
 
iterator() - 接口 中的方法com.xiaoleilu.hutool.cache.Cache
 
iterator() - 类 中的方法com.xiaoleilu.hutool.cache.NoCache
 
iterator() - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
iterator() - 类 中的方法com.xiaoleilu.hutool.lang.BoundedPriorityQueue
 

J

JAR_FILE_EXT - 类 中的静态变量com.xiaoleilu.hutool.io.FileUtil
Jar文件扩展名
JAR_PATH_EXT - 类 中的静态变量com.xiaoleilu.hutool.io.FileUtil
在Jar中的路径jar的扩展名形式
JarClassLoader - com.xiaoleilu.hutool.lang中的类
外部Jar的类加载器
JarClassLoader() - 类 的构造器com.xiaoleilu.hutool.lang.JarClassLoader
 
JarClassLoader(URL[]) - 类 的构造器com.xiaoleilu.hutool.lang.JarClassLoader
 
javaDefaultHash(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
JAVA自己带的算法
JavaInfo - com.xiaoleilu.hutool.system中的类
代表Java Implementation的信息。
JavaInfo() - 类 的构造器com.xiaoleilu.hutool.system.JavaInfo
 
JavaRuntimeInfo - com.xiaoleilu.hutool.system中的类
代表当前运行的JRE的信息。
JavaRuntimeInfo() - 类 的构造器com.xiaoleilu.hutool.system.JavaRuntimeInfo
 
JavaScriptEngine - com.xiaoleilu.hutool.script中的类
Javascript引擎类
JavaScriptEngine() - 类 的构造器com.xiaoleilu.hutool.script.JavaScriptEngine
 
JavaSpecInfo - com.xiaoleilu.hutool.system中的类
代表Java Specification的信息。
JavaSpecInfo() - 类 的构造器com.xiaoleilu.hutool.system.JavaSpecInfo
 
JdkLog - com.xiaoleilu.hutool.log.dialect.jdk中的类
JdkLog(Logger) - 类 的构造器com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
JdkLog(Class<?>) - 类 的构造器com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
JdkLog(String) - 类 的构造器com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
JdkLogFactory - com.xiaoleilu.hutool.log.dialect.jdk中的类
JDK日志工厂类 java.util.logging log.
JdkLogFactory() - 类 的构造器com.xiaoleilu.hutool.log.dialect.jdk.JdkLogFactory
 
JndiDSFactory - com.xiaoleilu.hutool.db.ds.jndi中的类
JNDI数据源工厂类
Setting配置样例:
---------------------
[group]
jndi = jdbc/TestDB
---------------------
JndiDSFactory() - 类 的构造器com.xiaoleilu.hutool.db.ds.jndi.JndiDSFactory
 
JndiDSFactory(Setting) - 类 的构造器com.xiaoleilu.hutool.db.ds.jndi.JndiDSFactory
 
join(String, SqlBuilder.Join) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
多表关联
join(String) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Make a string from the contents of this JSONArray.
join(T[], String) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
以 conjunction 为分隔符将数组转换为字符串
join(long[], String) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
以 conjunction 为分隔符将数组转换为字符串
join(int[], String) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
以 conjunction 为分隔符将数组转换为字符串
join(short[], String) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
以 conjunction 为分隔符将数组转换为字符串
join(char[], String) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
以 conjunction 为分隔符将数组转换为字符串
join(byte[], String) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
以 conjunction 为分隔符将数组转换为字符串
join(boolean[], String) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
以 conjunction 为分隔符将数组转换为字符串
join(float[], String) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
以 conjunction 为分隔符将数组转换为字符串
join(double[], String) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
以 conjunction 为分隔符将数组转换为字符串
join(Object, String) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
以 conjunction 为分隔符将数组转换为字符串
join(Iterable<T>, String) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
以 conjunction 为分隔符将集合转换为字符串
join(Iterator<T>, String) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
以 conjunction 为分隔符将集合转换为字符串
join(String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
以 conjunction 为分隔符将多个对象转换为字符串
JSFilter - com.xiaoleilu.hutool.bloomFilter.filter中的类
 
JSFilter(long, int) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.JSFilter
 
JSFilter(long) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.JSFilter
 
jsHash(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
JS算法
JSON - com.xiaoleilu.hutool.json中的接口
JSON接口
JSONArray - com.xiaoleilu.hutool.json中的类
JSON数组
JSONArray() - 类 的构造器com.xiaoleilu.hutool.json.JSONArray
Construct an empty JSONArray.
JSONArray(JSONTokener) - 类 的构造器com.xiaoleilu.hutool.json.JSONArray
Construct a JSONArray from a JSONTokener.
JSONArray(String) - 类 的构造器com.xiaoleilu.hutool.json.JSONArray
Construct a JSONArray from a source JSON text.
JSONArray(Object) - 类 的构造器com.xiaoleilu.hutool.json.JSONArray
Construct a JSONArray from an array or Collection
JSONException - com.xiaoleilu.hutool.json中的异常错误
The JSONException is thrown by the JSON.org classes when things are amiss.
JSONException(String) - 异常错误 的构造器com.xiaoleilu.hutool.json.JSONException
Constructs a JSONException with an explanatory message.
JSONException(String, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.json.JSONException
Constructs a JSONException with an explanatory message and cause.
JSONException(Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.json.JSONException
Constructs a new JSONException with the specified cause.
JSONGetter<K> - com.xiaoleilu.hutool.json中的类
用于JSON的Getter类,提供各种类型的Getter方法
JSONGetter() - 类 的构造器com.xiaoleilu.hutool.json.JSONGetter
 
JSONNull - com.xiaoleilu.hutool.json中的类
JSONObject.NULL is equivalent to the value that JavaScript calls null,
whilst Java's null is equivalent to the value that JavaScript calls undefined.
JSONNull() - 类 的构造器com.xiaoleilu.hutool.json.JSONNull
 
JSONObject - com.xiaoleilu.hutool.json中的类
JSON对象
例:
myString = new JSONObject().put("JSON", "Hello, World!
JSONObject() - 类 的构造器com.xiaoleilu.hutool.json.JSONObject
空构造
JSONObject(JSONObject, String...) - 类 的构造器com.xiaoleilu.hutool.json.JSONObject
使用其他JSONObject构造新的JSONObject,并只加入指定name对应的键值对。
JSONObject(JSONTokener) - 类 的构造器com.xiaoleilu.hutool.json.JSONObject
Construct a JSONObject from a JSONTokener.
JSONObject(Object) - 类 的构造器com.xiaoleilu.hutool.json.JSONObject
构建JSONObject,如果给定值为Map,将键值对加入JSON对象;
如果为普通的JavaBean,调用其getters方法(getXXX或者isXXX)获得值,加入到JSON对象
例如:如果JavaBean对象中有个方法getName(),值为"张三",获得的键值对为:name: "张三"
JSONObject(Object, String[]) - 类 的构造器com.xiaoleilu.hutool.json.JSONObject
Construct a JSONObject from an Object, using reflection to find the public members.
JSONObject(String) - 类 的构造器com.xiaoleilu.hutool.json.JSONObject
从JSON字符串解析为JSON对象
JSONString - com.xiaoleilu.hutool.json中的接口
The JSONString interface allows a toJSONString() method so that a class can change the behavior of JSONObject.toString(), JSONArray.toString(), and JSONWriter.value(Object).
JSONSupport - com.xiaoleilu.hutool.json中的类
JSON支持
继承此类实现实体类与JSON的相互转换
JSONSupport() - 类 的构造器com.xiaoleilu.hutool.json.JSONSupport
 
JSONTokener - com.xiaoleilu.hutool.json中的类
JSON解析器,用于将JSON字符串解析为JSONObject或者JSONArray
JSONTokener(Reader) - 类 的构造器com.xiaoleilu.hutool.json.JSONTokener
从Reader中构建
JSONTokener(InputStream) - 类 的构造器com.xiaoleilu.hutool.json.JSONTokener
从InputStream中构建
JSONTokener(String) - 类 的构造器com.xiaoleilu.hutool.json.JSONTokener
从字符串中构建
JSONUtil - com.xiaoleilu.hutool.json中的类
JSON工具类
JSONUtil() - 类 的构造器com.xiaoleilu.hutool.json.JSONUtil
 
JvmInfo - com.xiaoleilu.hutool.system中的类
代表Java Virtual Machine Implementation的信息。
JvmInfo() - 类 的构造器com.xiaoleilu.hutool.system.JvmInfo
 
JvmSpecInfo - com.xiaoleilu.hutool.system中的类
代表Java Virutal Machine Specification的信息。
JvmSpecInfo() - 类 的构造器com.xiaoleilu.hutool.system.JvmSpecInfo
 

K

keepAlive(boolean) - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
设置是否为长连接
keySet() - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
 
keySet() - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
 
KeyType - com.xiaoleilu.hutool.crypto.asymmetric中的枚举
密钥类型

L

lastIndexOf(Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
lastModifiedTime(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
指定文件最后修改时间
lastModifiedTime(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
指定路径文件最后修改时间
lastMouth() - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
上个月
lastWeek() - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
上周
length(Object) - 类 中的静态方法com.xiaoleilu.hutool.util.ObjectUtil
计算对象长度,如果是字符串调用其length函数,集合类调用其size函数,数组调用其length属性,其他可遍历对象遍历计算长度
Level - com.xiaoleilu.hutool.log.level中的枚举
日志等级
LF - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
LFUCache<K,V> - com.xiaoleilu.hutool.cache中的类
LFU(least frequently used) 最少使用率缓存
根据使用次数来判定对象是否被持续缓存
使用率是通过访问次数计算的。
LFUCache(int) - 类 的构造器com.xiaoleilu.hutool.cache.LFUCache
构造
LFUCache(int, long) - 类 的构造器com.xiaoleilu.hutool.cache.LFUCache
构造
LIBRARY_PATH - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
LINE_SEPRATOR - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
listFileNames(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得指定目录下所有文件
不会扫描子目录
listIterator() - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
listIterator(int) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
ListTypeGetter - com.xiaoleilu.hutool.getter中的接口
列表类型的Get接口
load(FileReader.ReaderHandler<T>, String, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
按照给定的readerHandler读取文件中的数据
load(URL) - 类 中的方法com.xiaoleilu.hutool.lang.GroupedSet
加载设置文件
load(InputStream) - 类 中的方法com.xiaoleilu.hutool.lang.GroupedSet
加载设置文件。
load() - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
重新加载配置文件
load(URL) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
初始化配置文件
load() - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
重新加载配置文件
load(URL) - 类 中的方法com.xiaoleilu.hutool.setting.SettingLoader
加载设置文件
load(InputStream) - 类 中的方法com.xiaoleilu.hutool.setting.SettingLoader
加载设置文件。
loadClass(String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
加载类
loadClass(String) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
加载类并初始化
loadJar(File) - 类 中的静态方法com.xiaoleilu.hutool.lang.JarClassLoader
加载Jar到ClassPath
LOCAL_IP - 类 中的静态变量com.xiaoleilu.hutool.util.NetUtil
 
locale - 类 中的变量com.xiaoleilu.hutool.date.format.AbstractDateBasic
The locale.
localIpv4s() - 类 中的静态方法com.xiaoleilu.hutool.util.NetUtil
获得本机的IP地址列表
返回的IP列表有序,按照系统设备顺序
LocationAwareLog - com.xiaoleilu.hutool.log中的接口
位置感知日志接口,此接口用于通过传入当前全类名的方式来感知日志打印的行号
此方法主要用于在继续封装日志实现的时候行号错误的问题,继续封装时传入封装类的全类名即可解决这个问题
lock - 类 中的变量com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
 
log() - 类 中的静态方法com.xiaoleilu.hutool.lang.Console
同 System.out.println()方法,打印控制台日志
log(Object) - 类 中的静态方法com.xiaoleilu.hutool.lang.Console
同 System.out.println()方法,打印控制台日志
log(String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.lang.Console
同 System.out.println()方法,打印控制台日志
log(Throwable, String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.lang.Console
同 System.out.println()方法,打印控制台日志
log(Level, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog
 
log(Level, Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog
 
log(Level, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
log(Level, Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
log(String, Level, Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
log(Level, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.console.ConsoleLog
 
log(Level, Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.console.ConsoleLog
 
log(Level, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
log(Level, Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
log(String, Level, Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
log(Level, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
log(Level, Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
log(String, Level, Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
log(Level, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
log(Level, Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
log(String, Level, Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
log(Level, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
log(Level, Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
log(String, Level, Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
log(String, Level, Throwable, String, Object...) - 接口 中的方法com.xiaoleilu.hutool.log.LocationAwareLog
打印 指定级别的日志
Log - com.xiaoleilu.hutool.log中的接口
日志统一接口
log(Level, String, Object...) - 接口 中的方法com.xiaoleilu.hutool.log.Log
打印指定级别的日志
log(Level, Throwable, String, Object...) - 接口 中的方法com.xiaoleilu.hutool.log.Log
打印 指定级别的日志
log(Level, Throwable, String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
打印日志
log(Log, Level, Throwable, String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
打印日志
Log4j2Log - com.xiaoleilu.hutool.log.dialect.log4j2中的类
Log4j2Log(Logger) - 类 的构造器com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
Log4j2Log(Class<?>) - 类 的构造器com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
Log4j2Log(String) - 类 的构造器com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
Log4j2LogFactory - com.xiaoleilu.hutool.log.dialect.log4j2中的类
Log4j2LogFactory() - 类 的构造器com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2LogFactory
 
Log4jLog - com.xiaoleilu.hutool.log.dialect.log4j中的类
Log4jLog(Logger) - 类 的构造器com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
Log4jLog(Class<?>) - 类 的构造器com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
Log4jLog(String) - 类 的构造器com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
Log4jLogFactory - com.xiaoleilu.hutool.log.dialect.log4j中的类
Log4jLogFactory() - 类 的构造器com.xiaoleilu.hutool.log.dialect.log4j.Log4jLogFactory
 
LogFactory - com.xiaoleilu.hutool.log中的类
日志工厂类
LogFactory(String) - 类 的构造器com.xiaoleilu.hutool.log.LogFactory
 
LogicalOperator - com.xiaoleilu.hutool.db.sql中的枚举
逻辑运算符
LONG - 类 中的静态变量com.xiaoleilu.hutool.date.format.FastDateFormat
LONG locale dependent date or time style.
LongArrayConverter - com.xiaoleilu.hutool.convert.impl中的类
long 类型数组转换器
LongArrayConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.LongArrayConverter
 
LongMap - com.xiaoleilu.hutool.bloomFilter.bitMap中的类
过滤器BitMap在64位机器上.这个类能发生更好的效果.一般机器不建议使用
LongMap() - 类 的构造器com.xiaoleilu.hutool.bloomFilter.bitMap.LongMap
 
LongMap(int) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.bitMap.LongMap
 
longToIpv4(long) - 类 中的静态方法com.xiaoleilu.hutool.util.NetUtil
根据long值获取ip v4地址
loopFiles(File, FileFilter) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
递归遍历目录以及子目录中的所有文件
loopFiles(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
递归遍历目录以及子目录中的所有文件
lowerFirst(String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
小写首字母
例如:str = Name, return name
LRUCache<K,V> - com.xiaoleilu.hutool.cache中的类
LRU (least recently used)最近最久未使用缓存
根据使用时间来判定对象是否被持续缓存
当对象被访问时放入缓存,当缓存满了,最久未被使用的对象将被移除。
LRUCache(int) - 类 的构造器com.xiaoleilu.hutool.cache.LRUCache
构造
默认无超时
LRUCache(int, long) - 类 的构造器com.xiaoleilu.hutool.cache.LRUCache
构造
ls(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
列出目录文件
给定的绝对路径不能是压缩包中的路径
LT - 类 中的静态变量com.xiaoleilu.hutool.json.XML
The Character '<'.

M

MACHINE32 - 接口 中的静态变量com.xiaoleilu.hutool.bloomFilter.bitMap.BitMap
 
MACHINE64 - 接口 中的静态变量com.xiaoleilu.hutool.bloomFilter.bitMap.BitMap
 
main(String[]) - 类 中的静态方法com.xiaoleilu.hutool.db.sql.SqlFormatter
 
mainName(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
返回主文件名
mainName(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
返回主文件名
mapToBean(Map<?, ?>, Class<T>, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
Map转换为Bean对象
mapToBeanIgnoreCase(Map<?, ?>, Class<T>, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
Map转换为Bean对象
忽略大小写
match(String) - 类 中的方法com.xiaoleilu.hutool.dfa.WordTree
获得第一个匹配的关键字
match(T) - 接口 中的方法com.xiaoleilu.hutool.lang.Matcher
给定对象是否匹配
matchAll(String) - 类 中的方法com.xiaoleilu.hutool.dfa.WordTree
找出所有匹配的关键字
matchAll(String, int) - 类 中的方法com.xiaoleilu.hutool.dfa.WordTree
找出所有匹配的关键字
matchAll(String, int, boolean, boolean) - 类 中的方法com.xiaoleilu.hutool.dfa.WordTree
找出所有匹配的关键字
密集匹配原则:假如关键词有 ab,b,文本是abab,将匹配 [ab,b,ab]
贪婪匹配(最长匹配)原则:假如关键字a,ab,最长匹配将匹配[a, ab]
Matcher<T> - com.xiaoleilu.hutool.lang中的接口
匹配接口
MathUtil - com.xiaoleilu.hutool.util中的类
数字相关工具类
MathUtil() - 类 的构造器com.xiaoleilu.hutool.util.MathUtil
 
maxFileSize - 类 中的变量com.xiaoleilu.hutool.cache.FileLFUCache
缓存的最大文件大小,文件大于此大小时将不被缓存
maxFileSize() - 类 中的方法com.xiaoleilu.hutool.cache.FileLFUCache
 
md5(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.crypto.DigestUtil
计算16位MD5摘要值
md5(String, String) - 类 中的静态方法com.xiaoleilu.hutool.crypto.DigestUtil
计算16位MD5摘要值
md5(String) - 类 中的静态方法com.xiaoleilu.hutool.crypto.DigestUtil
计算16位MD5摘要值,使用UTF-8编码
md5(InputStream) - 类 中的静态方法com.xiaoleilu.hutool.crypto.DigestUtil
计算16位MD5摘要值
md5(File) - 类 中的静态方法com.xiaoleilu.hutool.crypto.DigestUtil
计算16位MD5摘要值
md5() - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
MD5加密
例:
MD5加密:md5().digest(data)
MD5加密并转为16进制字符串:md5().digestHex(data)
md5(String) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
MD5加密,生成16进制MD5字符串
md5(InputStream) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
MD5加密,生成16进制MD5字符串
md5(File) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
MD5加密文件,生成16进制MD5字符串
md5Hex(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.crypto.DigestUtil
计算16位MD5摘要值,并转为16进制字符串
md5Hex(String, String) - 类 中的静态方法com.xiaoleilu.hutool.crypto.DigestUtil
计算16位MD5摘要值,并转为16进制字符串
md5Hex(String) - 类 中的静态方法com.xiaoleilu.hutool.crypto.DigestUtil
计算16位MD5摘要值,并转为16进制字符串
md5Hex(InputStream) - 类 中的静态方法com.xiaoleilu.hutool.crypto.DigestUtil
计算16位MD5摘要值,并转为16进制字符串
md5Hex(File) - 类 中的静态方法com.xiaoleilu.hutool.crypto.DigestUtil
计算16位MD5摘要值,并转为16进制字符串
MEDIUM - 类 中的静态变量com.xiaoleilu.hutool.date.format.FastDateFormat
MEDIUM locale dependent date or time style.
merge(String, VelocityContext) - 类 中的静态方法com.xiaoleilu.hutool.util.VelocityUtil
融合模板和内容
merge(Template, VelocityContext, Writer) - 类 中的静态方法com.xiaoleilu.hutool.util.VelocityUtil
融合模板和内容并写入到Writer
method(Method) - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
设置请求方法
Method - com.xiaoleilu.hutool.http中的枚举
Http方法枚举
millsecond() - 类 中的方法com.xiaoleilu.hutool.date.DateTime
获得指定日期的毫秒数部分
millsecond(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
获得指定日期的毫秒数部分
minute() - 类 中的方法com.xiaoleilu.hutool.date.DateTime
获得指定日期的分钟数部分
例如:10:04:15.250 -> 4
minute(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
获得指定日期的分钟数部分
例如:10:04:15.250 -> 4
missCount - 类 中的变量com.xiaoleilu.hutool.cache.AbstractCache
丢失数
mixHash(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
混合hash算法,输出64位的值
mkdir(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
创建文件夹,如果存在直接返回此文件夹
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
mkdir(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
创建文件夹,会递归自动创建其不存在的父文件夹,如果存在直接返回此文件夹
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
mkParentDirs(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
创建所给文件或目录的父目录
mkParentDirs(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
创建父文件夹,如果存在直接返回此文件夹
MOBILE - 类 中的静态变量com.xiaoleilu.hutool.lang.Validator
移动电话
MONEY - 类 中的静态变量com.xiaoleilu.hutool.lang.Validator
货币
MONGO_CONFIG_PATH - 类 中的静态变量com.xiaoleilu.hutool.db.ds.MongoDS
默认配置文件
MongoDS - com.xiaoleilu.hutool.db.ds中的类
MongoDB工具类
MongoDS(String, int) - 类 的构造器com.xiaoleilu.hutool.db.ds.MongoDS
构造MongoDB数据源
调用者必须持有MongoDS实例,否则会被垃圾回收导致写入失败!
MongoDS(Setting, String, int) - 类 的构造器com.xiaoleilu.hutool.db.ds.MongoDS
构造MongoDB数据源
调用者必须持有MongoDS实例,否则会被垃圾回收导致写入失败!
MongoDS(String...) - 类 的构造器com.xiaoleilu.hutool.db.ds.MongoDS
构造MongoDB数据源
当提供多个数据源时,这些数据源将为一个副本集或者多个mongos
调用者必须持有MongoDS实例,否则会被垃圾回收导致写入失败!
MongoDS(Setting, String...) - 类 的构造器com.xiaoleilu.hutool.db.ds.MongoDS
构造MongoDB数据源
当提供多个数据源时,这些数据源将为一个副本集或者mongos
调用者必须持有MongoDS实例,否则会被垃圾回收导致写入失败!
month() - 类 中的方法com.xiaoleilu.hutool.date.DateTime
获得月份,从0开始计数
month(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
获得月份,从1开始计数
Month - com.xiaoleilu.hutool.date中的枚举
月份枚举
与Calendar中的月份int值对应
monthEnum() - 类 中的方法com.xiaoleilu.hutool.date.DateTime
获得月份
monthEnum(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
获得月份
monthStartFromOne() - 类 中的方法com.xiaoleilu.hutool.date.DateTime
获得月份,从1开始计数
由于Calendar 中的月份按照0开始计数,导致某些需求容易误解,因此如果想用1表示一月,2表示二月则调用此方法
more() - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
源字符串是否有更多的字符
move(File, File, boolean) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
移动文件或者目录
MysqlDialect - com.xiaoleilu.hutool.db.dialect.impl中的类
MySQL方言
MysqlDialect() - 类 的构造器com.xiaoleilu.hutool.db.dialect.impl.MysqlDialect
 

N

nativeSQL(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
NetUtil - com.xiaoleilu.hutool.util中的类
网络相关工具
NetUtil() - 类 的构造器com.xiaoleilu.hutool.util.NetUtil
 
newArray(Class<?>, int) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
新建一个空数组
newArrayList(T...) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
新建一个ArrayList
newArrayList(Collection<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
新建一个ArrayList
newCompletionService() - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
新建一个CompletionService,调用其submit方法可以异步执行多个任务,最后调用take方法按照完成的顺序获得其结果。
newCompletionService(ExecutorService) - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
新建一个CompletionService,调用其submit方法可以异步执行多个任务,最后调用take方法按照完成的顺序获得其结果。
newConnection() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.PooledDataSource
创建新连接
newCountDownLatch(int) - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
新建一个CountDownLatch
newDialect(String) - 类 中的静态方法com.xiaoleilu.hutool.db.dialect.DialectFactory
创建方言
newDialect(DataSource) - 类 中的静态方法com.xiaoleilu.hutool.db.dialect.DialectFactory
创建方言
newDialect(Connection) - 类 中的静态方法com.xiaoleilu.hutool.db.dialect.DialectFactory
创建方言
newEngine(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.VelocityUtil
新建Velocity模板引擎
newerThan(File, File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
给定文件或目录的最后修改时间是否晚于给定时间
newerThan(File, long) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
给定文件或目录的最后修改时间是否晚于给定时间
newExecutor(int) - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
新建一个线程池
newExecutor() - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
获得一个新的线程池
newHashMap() - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
新建一个HashMap
newHashMap(boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
新建一个HashMap
newHashMap(int) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
新建一个HashMap
newHashSet(T...) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
新建一个HashSet
newHashSet(boolean, T...) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
新建一个HashSet
newHashSet(Collection<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
新建一个HashSet
newHashSet(boolean, Collection<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
新建一个HashSet
newInstance(String) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
实例化对象
newInstance(Class<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
实例化对象
newInstance(Class<T>, Object...) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
实例化对象
newProxyInstance(ClassLoader, InvocationHandler, Class<?>...) - 类 中的静态方法com.xiaoleilu.hutool.proxy.ProxyUtil
创建动态代理对象
动态代理对象的创建原理是:
假设创建的代理对象名为 $Proxy0
1、根据传入的interfaces动态生成一个类,实现interfaces中的接口
2、通过传入的classloder将刚生成的类加载到jvm中。
newProxyInstance(InvocationHandler, Class<?>...) - 类 中的静态方法com.xiaoleilu.hutool.proxy.ProxyUtil
创建动态代理对象
newSession() - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
新建数据库会话,使用默认数据源
newSession(DataSource) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
新建数据库会话
newSession(Connection) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
新建数据库会话
newSingleExecutor() - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
获得一个新的线程池,只有单个线程
newSqlConnRunner(Dialect) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
实例化一个新的SQL运行对象
newSqlConnRunner(DataSource) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
实例化一个新的SQL运行对象
newSqlConnRunner(Connection) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
实例化一个新的SQL运行对象
newSqlRunner() - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
实例化一个新的SQL运行对象,使用默认数据源
newSqlRunner(DataSource) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
实例化一个新的SQL运行对象
newSqlRunner(DataSource, Dialect) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
实例化一个新的SQL运行对象
next() - 类 中的方法com.xiaoleilu.hutool.cache.CacheValuesIterator
 
next() - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
获得源字符串中的下一个字符
next(char) - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
读取下一个字符,并比对是否和指定字符匹配
next(int) - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
获得接下来的n个字符
nextCDATA() - 类 中的方法com.xiaoleilu.hutool.json.XMLTokener
Get the text in the CDATA block.
nextClean() - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
获得下一个字符,跳过空白符
nextContent() - 类 中的方法com.xiaoleilu.hutool.json.XMLTokener
Get the next XML outer token, trimming whitespace.
nextEntity(char) - 类 中的方法com.xiaoleilu.hutool.json.XMLTokener
Return the next entity.
nextMeta() - 类 中的方法com.xiaoleilu.hutool.json.XMLTokener
Returns the next XML meta token.
nextString(char) - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
返回当前位置到指定引号前的所有字符,反斜杠的转义符也会被处理。
nextTo(char) - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
Get the text up but not including the specified character or the end of line, whichever comes first.
nextTo(String) - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
Get the text up but not including one of the specified delimiter characters or the end of line, whichever comes first.
nextToken() - 类 中的方法com.xiaoleilu.hutool.json.XMLTokener
Get the next XML Token.
nextValue() - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
获得下一个值,值类型可以是Boolean, Double, Integer, JSONArray, JSONObject, Long, or String, or the JSONObject.NULL
NoCache<K,V> - com.xiaoleilu.hutool.cache中的类
无缓存实现,用于快速关闭缓存
NoCache() - 类 的构造器com.xiaoleilu.hutool.cache.NoCache
 
noNullElements(Object[], String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that an array has no null elements.
noNullElements(Object[]) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that an array has no null elements.
NORM_DATE_FORMAT - 类 中的静态变量com.xiaoleilu.hutool.date.DatePattern
标准日期格式 FastDateFormat
NORM_DATE_FORMAT - 类 中的静态变量com.xiaoleilu.hutool.date.DatePatternLocal
已过时。
标准日期(不含时间)格式化器
NORM_DATE_PATTERN - 类 中的静态变量com.xiaoleilu.hutool.date.DatePattern
标准日期格式
NORM_DATE_PATTERN - 类 中的静态变量com.xiaoleilu.hutool.date.DateUtil
标准日期格式
NORM_DATETIME_FORMAT - 类 中的静态变量com.xiaoleilu.hutool.date.DatePattern
标准日期时间格式,精确到秒 FastDateFormat
NORM_DATETIME_FORMAT - 类 中的静态变量com.xiaoleilu.hutool.date.DatePatternLocal
已过时。
标准日期时间格式化器
NORM_DATETIME_MINUTE_FORMAT - 类 中的静态变量com.xiaoleilu.hutool.date.DatePattern
标准日期时间格式,精确到分 FastDateFormat
NORM_DATETIME_MINUTE_PATTERN - 类 中的静态变量com.xiaoleilu.hutool.date.DatePattern
标准日期时间格式,精确到分
NORM_DATETIME_MINUTE_PATTERN - 类 中的静态变量com.xiaoleilu.hutool.date.DateUtil
标准日期时间格式,精确到分
NORM_DATETIME_MS_FORMAT - 类 中的静态变量com.xiaoleilu.hutool.date.DatePattern
标准日期时间格式,精确到毫秒 FastDateFormat
NORM_DATETIME_MS_PATTERN - 类 中的静态变量com.xiaoleilu.hutool.date.DatePattern
标准日期时间格式,精确到毫秒
NORM_DATETIME_MS_PATTERN - 类 中的静态变量com.xiaoleilu.hutool.date.DateUtil
标准日期时间格式,精确到毫秒
NORM_DATETIME_PATTERN - 类 中的静态变量com.xiaoleilu.hutool.date.DatePattern
标准日期时间格式,精确到秒
NORM_DATETIME_PATTERN - 类 中的静态变量com.xiaoleilu.hutool.date.DateUtil
标准日期时间格式,精确到秒
NORM_TIME_FORMAT - 类 中的静态变量com.xiaoleilu.hutool.date.DatePattern
标准时间格式 FastDateFormat
NORM_TIME_FORMAT - 类 中的静态变量com.xiaoleilu.hutool.date.DatePatternLocal
已过时。
标准时间格式化器
NORM_TIME_PATTERN - 类 中的静态变量com.xiaoleilu.hutool.date.DatePattern
标准时间格式
NORM_TIME_PATTERN - 类 中的静态变量com.xiaoleilu.hutool.date.DateUtil
标准时间格式
normalize(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
修复路径
1.
noSpace(String) - 类 中的静态方法com.xiaoleilu.hutool.json.XML
Throw an exception if the string contains whitespace.
notBlank(String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that the given String has valid text content; that is, it must not be null and must contain at least one non-whitespace character.
notBlank(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that the given String has valid text content; that is, it must not be null and must contain at least one non-whitespace character.
notContain(String, String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that the given text does not contain the given substring.
notContain(String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that the given text does not contain the given substring.
notEmpty(String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that the given String is not empty; that is, it must not be null and not the empty String.
notEmpty(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that the given String is not empty; that is, it must not be null and not the empty String.
notEmpty(Object[], String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that an array has elements; that is, it must not be null and must have at least one element.
notEmpty(Object[]) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that an array has elements; that is, it must not be null and must have at least one element.
notEmpty(Collection<?>, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that a collection has elements; that is, it must not be null and must have at least one element.
notEmpty(Collection<?>) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that a collection has elements; that is, it must not be null and must have at least one element.
notEmpty(Map<?, ?>, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that a Map has entries; that is, it must not be null and must have at least one entry.
notEmpty(Map<?, ?>) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that a Map has entries; that is, it must not be null and must have at least one entry.
NotInitedException - com.xiaoleilu.hutool.exceptions中的异常错误
未初始化异常
NotInitedException(Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.NotInitedException
 
NotInitedException(String) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.NotInitedException
 
NotInitedException(String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.NotInitedException
 
NotInitedException(String, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.NotInitedException
 
NotInitedException(Throwable, String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.NotInitedException
 
notNull(Object, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that an object is not null .
notNull(Object) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert that an object is not null .
now() - 类 中的静态方法com.xiaoleilu.hutool.date.DateTime
现在的时间
now() - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
当前时间,格式 yyyy-MM-dd HH:mm:ss
NULL - 类 中的静态变量com.xiaoleilu.hutool.json.JSONNull
NULL 对象用于减少歧义来表示Java 中的null
NULL.equals(null) 返回 true.
nullToDefault(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
如果字符串是null,则返回指定默认字符串,否则返回字符串本身。
nullToEmpty(String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
当给定字符串为null时,转换为Empty
NumberConverter - com.xiaoleilu.hutool.convert.impl中的类
数字转换器
支持类型为:
java.lang.Byte java.lang.Short java.lang.Integer java.lang.Long java.lang.Float java.lang.Double java.math.BigDecimal java.math.BigInteger
NumberConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.NumberConverter
 
NumberConverter(Class<? extends Number>) - 类 的构造器com.xiaoleilu.hutool.convert.impl.NumberConverter
构造
NumberHandler - com.xiaoleilu.hutool.db.handler中的类
 
NumberHandler() - 类 的构造器com.xiaoleilu.hutool.db.handler.NumberHandler
 
NUMBERS - 类 中的静态变量com.xiaoleilu.hutool.lang.Validator
数字
numberToString(Number) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
Produce a string from a Number.

O

ObjectUtil - com.xiaoleilu.hutool.util中的类
一些通用的函数
ObjectUtil() - 类 的构造器com.xiaoleilu.hutool.util.ObjectUtil
 
of(int) - 枚举 中的静态方法com.xiaoleilu.hutool.date.DateField
Calendar相关值转换为DatePart枚举对象
of(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateTime
转换JDK date为 DateTime
of(Calendar) - 类 中的静态方法com.xiaoleilu.hutool.date.DateTime
转换 Calendar 为 DateTime
of(String, String) - 类 中的静态方法com.xiaoleilu.hutool.date.DateTime
构造
of(int) - 枚举 中的静态方法com.xiaoleilu.hutool.date.Month
Calendar月份相关值转换为Month枚举对象
of(int) - 枚举 中的静态方法com.xiaoleilu.hutool.date.Season
将 季度int转换为Season枚举对象
of(int) - 枚举 中的静态方法com.xiaoleilu.hutool.date.Week
Calendar星期相关值转换为Week枚举对象
of(T) - 类 中的静态方法com.xiaoleilu.hutool.lang.Holder
新建Holder类,持有指定值,当值为空时抛出空指针异常
offer(E) - 类 中的方法com.xiaoleilu.hutool.lang.BoundedPriorityQueue
加入元素,当队列满时,淘汰末尾元素
offset() - 类 中的方法com.xiaoleilu.hutool.io.FastByteBuffer
 
offsite(DateField, int) - 类 中的方法com.xiaoleilu.hutool.date.DateTime
调整日期和时间
offsiteDate(Date, DateField, int) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
获取指定日期偏移指定时间后的时间
offsiteDay(Date, int) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
偏移天
offsiteHour(Date, int) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
偏移小时
offsiteMillisecond(Date, int) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
偏移毫秒数
offsiteMinute(Date, int) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
偏移分钟
offsiteMonth(Date, int) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
偏移月
offsiteSecond(Date, int) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
偏移秒数
offsiteWeek(Date, int) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
偏移周
on(LogicalOperator, Condition...) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
配合JOIN的 ON语句,多表关联的条件语句
只支持单一的逻辑运算符(例如多个条件之间)
on(String) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
配合JOIN的 ON语句,多表关联的条件语句
只支持单一的逻辑运算符(例如多个条件之间)
onCreate(WatchEvent<?>) - 类 中的方法com.xiaoleilu.hutool.watch.SimpleWatcher
 
onCreate(WatchEvent<?>) - 接口 中的方法com.xiaoleilu.hutool.watch.Watcher
文件创建时执行的方法
onDelete(WatchEvent<?>) - 类 中的方法com.xiaoleilu.hutool.watch.SimpleWatcher
 
onDelete(WatchEvent<?>) - 接口 中的方法com.xiaoleilu.hutool.watch.Watcher
文件删除时执行的方法
oneByOneHash(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
一次一个hash
onModify(WatchEvent<?>) - 类 中的方法com.xiaoleilu.hutool.watch.SimpleWatcher
 
onModify(WatchEvent<?>) - 接口 中的方法com.xiaoleilu.hutool.watch.Watcher
文件修改时执行的方法
文件修改可能触发多次
onOverflow(WatchEvent<?>) - 类 中的方法com.xiaoleilu.hutool.watch.SimpleWatcher
 
onOverflow(WatchEvent<?>) - 接口 中的方法com.xiaoleilu.hutool.watch.Watcher
事件丢失或出错时执行的方法
onRemove(K, V) - 类 中的方法com.xiaoleilu.hutool.cache.LFUCache
对象移除回调。
open() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.PooledConnection
打开连接
OptBasicTypeGetter<K> - com.xiaoleilu.hutool.getter中的接口
可选的基本类型的getter接口
提供一个统一的接口定义返回不同类型的值(基本类型)
如果值不存在或获取错误,返回默认值
options(String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpRequest
OPTIONS请求
OptNullBasicTypeFromObjectGetter<K> - com.xiaoleilu.hutool.getter中的类
基本类型的getter接口抽象实现,所有类型的值获取都是通过将getObj获得的值转换而来
用户只需实现getStr方法即可,其他类型将会从String结果中转换 在不提供默认值的情况下, 如果值不存在或获取错误,返回null
OptNullBasicTypeFromObjectGetter() - 类 的构造器com.xiaoleilu.hutool.getter.OptNullBasicTypeFromObjectGetter
 
OptNullBasicTypeFromStringGetter<K> - com.xiaoleilu.hutool.getter中的类
基本类型的getter接口抽象实现,所有类型的值获取都是通过将String转换而来
用户只需实现getStr方法即可,其他类型将会从String结果中转换 在不提供默认值的情况下, 如果值不存在或获取错误,返回null
OptNullBasicTypeFromStringGetter() - 类 的构造器com.xiaoleilu.hutool.getter.OptNullBasicTypeFromStringGetter
 
OptNullBasicTypeGetter<K> - com.xiaoleilu.hutool.getter中的类
基本类型的getter接口抽象实现
提供一个统一的接口定义返回不同类型的值(基本类型)
在不提供默认值的情况下, 如果值不存在或获取错误,返回null
用户只需实现com.xiaoleilu.hutool.getter.OptBasicTypeGetter接口即可
OptNullBasicTypeGetter() - 类 的构造器com.xiaoleilu.hutool.getter.OptNullBasicTypeGetter
 
OracleDialect - com.xiaoleilu.hutool.db.dialect.impl中的类
Oracle 方言
OracleDialect() - 类 的构造器com.xiaoleilu.hutool.db.dialect.impl.OracleDialect
 
Order - com.xiaoleilu.hutool.db.sql中的类
SQL排序对象
Order() - 类 的构造器com.xiaoleilu.hutool.db.sql.Order
 
Order(String) - 类 的构造器com.xiaoleilu.hutool.db.sql.Order
构造
Order(String, Direction) - 类 的构造器com.xiaoleilu.hutool.db.sql.Order
构造
orderBy(Order...) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
排序
OS_ARCH - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
OS_NAME - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
OS信息
OS_VERSION - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
OsInfo - com.xiaoleilu.hutool.system中的类
代表当前OS的信息。
OsInfo() - 类 的构造器com.xiaoleilu.hutool.system.OsInfo
 

P

padEnd(String, int, char) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
补充字符串以满足最小长度 StrUtil.padEnd("1", 3, '0');//"100"
padPre(String, int, char) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
补充字符串以满足最小长度 StrUtil.padPre("1", 3, '0');//"001"
page(Collection<String>, Entity, int, int, RsHandler<T>) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
分页查询
page(Collection<String>, Entity, Page, RsHandler<T>) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
分页查询
page(Collection<String>, Entity, int, int) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
分页查询
page(Collection<String>, Entity, Page) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
分页查询
page(Entity, Page) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
分页查询
page(Entity, Page, String...) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
分页
page(Entity, Page) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
分页
Page - com.xiaoleilu.hutool.db中的类
分页对象
Page(int, int) - 类 的构造器com.xiaoleilu.hutool.db.Page
构造
Page(int, int, Order) - 类 的构造器com.xiaoleilu.hutool.db.Page
构造
page(Connection, Collection<String>, Entity, int, int, RsHandler<T>) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
分页查询
此方法不会关闭Connection
page(Connection, Collection<String>, Entity, Page, RsHandler<T>) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
分页查询
此方法不会关闭Connection
page(Connection, Collection<String>, Entity, int, int) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
分页查询
此方法不会关闭Connection
page(Connection, Collection<String>, Entity, Page) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
分页查询
此方法不会关闭Connection
page(Connection, Entity, Page) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
分页全字段查询
此方法不会关闭Connection
PageResult<T> - com.xiaoleilu.hutool.db中的类
分页数据结果集
PageResult(int, int) - 类 的构造器com.xiaoleilu.hutool.db.PageResult
构造
PageResult(int, int, int) - 类 的构造器com.xiaoleilu.hutool.db.PageResult
构造
PageResultHandler - com.xiaoleilu.hutool.db.handler中的类
分页结果集处理类 ,处理出的结果为PageResult
PageResultHandler(PageResult<Entity>) - 类 的构造器com.xiaoleilu.hutool.db.handler.PageResultHandler
构造
结果集根据给定的分页对象查询数据库,填充结果
PageUtil - com.xiaoleilu.hutool.util中的类
分页工具类
PageUtil() - 类 的构造器com.xiaoleilu.hutool.util.PageUtil
 
parse(String, DateFormat) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
构建DateTime对象
parse(String, DateParser) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
构建DateTime对象
parse(String, String) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
将特定格式的日期转换为Date对象
parse(String) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
格式:
1、yyyy-MM-dd HH:mm:ss
2、yyyy-MM-dd
3、HH:mm:ss
4、yyyy-MM-dd HH:mm 5、yyyy-MM-dd HH:mm:ss.SSS
parse(String) - 接口 中的方法com.xiaoleilu.hutool.date.format.DateParser
将日期字符串解析并转换为 Date 对象
等价于 DateFormat.parse(String)
parse(String, ParsePosition) - 接口 中的方法com.xiaoleilu.hutool.date.format.DateParser
将日期字符串解析并转换为 Date 对象
等价于 java.text.DateFormat#parse(String, ParsePosition
parse(String, ParsePosition, Calendar) - 接口 中的方法com.xiaoleilu.hutool.date.format.DateParser
根据给定格式转换日期字符串 Updates the Calendar with parsed fields.
parse(String) - 类 中的方法com.xiaoleilu.hutool.date.format.FastDateFormat
 
parse(String, ParsePosition) - 类 中的方法com.xiaoleilu.hutool.date.format.FastDateFormat
 
parse(String, ParsePosition, Calendar) - 类 中的方法com.xiaoleilu.hutool.date.format.FastDateFormat
 
parse(T) - 类 中的静态方法com.xiaoleilu.hutool.db.Entity
将PO对象转为Entity
parse(String, Object) - 类 中的静态方法com.xiaoleilu.hutool.db.sql.Condition
解析为Condition
parse(String) - 类 中的方法com.xiaoleilu.hutool.json.JSONSupport
JSON String转Bean
parse(Object) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
转换对象为JSON
支持的对象:
String: 转换为相应的对象
Array Collection:转换为JSONArray
Bean对象:转为JSONObject
parse(T) - 类 中的静态方法com.xiaoleilu.hutool.lang.Dict
将PO对象转为Dict
parseArray(String) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
JSON字符串转JSONArray
parseBean(T) - 类 中的方法com.xiaoleilu.hutool.db.Entity
将值对象转换为Entity
类名会被当作表名,小写第一个字母
parseBean(T) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
将值对象转换为Dict
类名会被当作表名,小写第一个字母
parseDate(String) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
格式yyyy-MM-dd
parseDateTime(String) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
格式yyyy-MM-dd HH:mm:ss
parseFromProperties(Properties) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
Properties文件转化为JSONObject
parseFromResourceBundle(ResourceBundle) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
ResourceBundle转化为JSONObject
parseFromSetting(Setting) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
Setting文件转化为JSONObject
parseFromXml(String) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
XML字符串转为JSONObject
parseObj(String) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
JSON字符串转JSONObject对象
parseObj(Object) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
JSON字符串转JSONObject对象
parseObject(String) - 接口 中的方法com.xiaoleilu.hutool.date.format.DateParser
将日期字符串解析并转换为 Date 对象
parseObject(String, ParsePosition) - 接口 中的方法com.xiaoleilu.hutool.date.format.DateParser
根据 ParsePosition 给定将日期字符串解析并转换为 Date 对象
parseObject(String, ParsePosition) - 类 中的方法com.xiaoleilu.hutool.date.format.FastDateFormat
 
parseRequest(VelocityContext, HttpServletRequest) - 类 中的静态方法com.xiaoleilu.hutool.util.VelocityUtil
将Request中的数据转换为模板引擎
取值包括Session和Request
parseSession(VelocityContext, HttpSession) - 类 中的静态方法com.xiaoleilu.hutool.util.VelocityUtil
将Session中的值放入模板上下文
parseTime(String) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
格式HH:mm:ss
parseXml(String) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
将String类型的XML转换为XML文档
PATH_FILE_PRE - 类 中的静态变量com.xiaoleilu.hutool.io.FileUtil
当Path为文件形式时, path会加入一个表示文件的前缀
PATH_SEPRATOR - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
PathConverter - com.xiaoleilu.hutool.convert.impl中的类
字符串转换器
PathConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.PathConverter
 
pattern - 类 中的变量com.xiaoleilu.hutool.date.format.AbstractDateBasic
The pattern
PJWFilter - com.xiaoleilu.hutool.bloomFilter.filter中的类
 
PJWFilter(long, int) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.PJWFilter
 
PJWFilter(long) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.PJWFilter
 
pjwHash(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
PJW算法
PooledConnection - com.xiaoleilu.hutool.db.ds.pooled中的类
池化
PooledConnection(PooledDataSource) - 类 的构造器com.xiaoleilu.hutool.db.ds.pooled.PooledConnection
 
PooledConnection(PooledDataSource, Connection) - 类 的构造器com.xiaoleilu.hutool.db.ds.pooled.PooledConnection
 
PooledDataSource - com.xiaoleilu.hutool.db.ds.pooled中的类
池化数据源
PooledDataSource() - 类 的构造器com.xiaoleilu.hutool.db.ds.pooled.PooledDataSource
构造,读取默认的配置文件和默认分组
PooledDataSource(String) - 类 的构造器com.xiaoleilu.hutool.db.ds.pooled.PooledDataSource
构造,读取默认的配置文件
PooledDataSource(DbSetting, String) - 类 的构造器com.xiaoleilu.hutool.db.ds.pooled.PooledDataSource
构造
PooledDataSource(DbConfig) - 类 的构造器com.xiaoleilu.hutool.db.ds.pooled.PooledDataSource
构造
PooledDSFactory - com.xiaoleilu.hutool.db.ds.pooled中的类
池化数据源工厂类
PooledDSFactory() - 类 的构造器com.xiaoleilu.hutool.db.ds.pooled.PooledDSFactory
 
PooledDSFactory(Setting) - 类 的构造器com.xiaoleilu.hutool.db.ds.pooled.PooledDSFactory
 
popPart(Stack<T>, int) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
切取部分数据
popPart(Deque<T>, int) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
切取部分数据
post(String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpRequest
POST请求
post(String, Map<String, Object>) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
发送post请求
post(String, String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
发送post请求
PostgresqlDialect - com.xiaoleilu.hutool.db.dialect.impl中的类
Postgree方言
PostgresqlDialect() - 类 的构造器com.xiaoleilu.hutool.db.dialect.impl.PostgresqlDialect
 
prepareCall(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
prepareCall(String, int, int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
prepareCall(String, int, int, int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
prepareStatement(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
prepareStatement(String, int, int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
prepareStatement(String, int, int, int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
prepareStatement(String, int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
prepareStatement(String, int[]) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
prepareStatement(String, String[]) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
pressImage(File, File, File, int, int, float) - 类 中的静态方法com.xiaoleilu.hutool.util.ImageUtil
给图片添加图片水印
pressText(String, File, File, String, int, Color, int, int, int, float) - 类 中的静态方法com.xiaoleilu.hutool.util.ImageUtil
给图片添加文字水印
primaryKeyField - 类 中的变量com.xiaoleilu.hutool.db.DaoTemplate
本表的主键字段,请在子类中覆盖或构造方法中指定,默认为id
PrimitiveConverter - com.xiaoleilu.hutool.convert.impl中的类
原始类型转换器
支持类型为:
byte short int long float double char boolean
PrimitiveConverter(Class<?>) - 类 的构造器com.xiaoleilu.hutool.convert.impl.PrimitiveConverter
构造
primitiveWrapperMap - 枚举 中的静态变量com.xiaoleilu.hutool.convert.BasicType
包装类型为Key,原始类型为Value,例如: Integer.class -> int.class.
privateKey - 类 中的变量com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
私钥
progress(long) - 接口 中的方法com.xiaoleilu.hutool.io.StreamProgress
进行中
Props - com.xiaoleilu.hutool.setting.dialect中的类
Properties文件读取封装类
Props(String) - 类 的构造器com.xiaoleilu.hutool.setting.dialect.Props
构造,使用相对于Class文件根目录的相对路径
Props(File) - 类 的构造器com.xiaoleilu.hutool.setting.dialect.Props
构造
Props(String, Class<?>) - 类 的构造器com.xiaoleilu.hutool.setting.dialect.Props
构造,相对于classes读取文件
Props(URL) - 类 的构造器com.xiaoleilu.hutool.setting.dialect.Props
构造,使用URL读取
Props(Properties) - 类 的构造器com.xiaoleilu.hutool.setting.dialect.Props
构造,使用URL读取
props() - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
 
proxy(T, Class<? extends Aspect>) - 类 中的静态方法com.xiaoleilu.hutool.proxy.ProxyUtil
使用切面代理对象
proxy(Aspect) - 类 中的静态方法com.xiaoleilu.hutool.proxy.ProxyUtil
使用切面代理对象
ProxyUtil - com.xiaoleilu.hutool.proxy中的类
代理工具类
ProxyUtil() - 类 的构造器com.xiaoleilu.hutool.proxy.ProxyUtil
 
prune() - 类 中的方法com.xiaoleilu.hutool.cache.AbstractCache
 
prune() - 接口 中的方法com.xiaoleilu.hutool.cache.Cache
从缓存中清理过期对象,清理策略取决于具体实现
prune() - 类 中的方法com.xiaoleilu.hutool.cache.NoCache
 
pruneCache() - 类 中的方法com.xiaoleilu.hutool.cache.AbstractCache
清理实现
pruneCache() - 类 中的方法com.xiaoleilu.hutool.cache.FIFOCache
先进先出的清理策略
先遍历缓存清理过期的缓存对象,如果清理后还是满的,则删除第一个缓存对象
pruneCache() - 类 中的方法com.xiaoleilu.hutool.cache.LFUCache
清理过期对象。
pruneCache() - 类 中的方法com.xiaoleilu.hutool.cache.LRUCache
只清理超时对象,LRU的实现会交给LinkedHashMap
pruneCache() - 类 中的方法com.xiaoleilu.hutool.cache.TimedCache
清理过期对象
pruneTimer - 类 中的变量com.xiaoleilu.hutool.cache.TimedCache
定时器
psForCount(Connection, Query) - 接口 中的方法com.xiaoleilu.hutool.db.dialect.Dialect
构建用于查询行数的PreparedStatement
psForCount(Connection, Query) - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect
 
psForDelete(Connection, Query) - 接口 中的方法com.xiaoleilu.hutool.db.dialect.Dialect
构建用于删除的PreparedStatement
psForDelete(Connection, Query) - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect
 
psForFind(Connection, Query) - 接口 中的方法com.xiaoleilu.hutool.db.dialect.Dialect
构建用于获取多条记录的PreparedStatement
psForFind(Connection, Query) - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect
 
psForInsert(Connection, Entity) - 接口 中的方法com.xiaoleilu.hutool.db.dialect.Dialect
构建用于插入的PreparedStatement
psForInsert(Connection, Entity) - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect
 
psForPage(Connection, Query) - 接口 中的方法com.xiaoleilu.hutool.db.dialect.Dialect
构建用于分页查询的PreparedStatement
psForPage(Connection, Query) - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect
 
psForPage(Connection, Query) - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.MysqlDialect
 
psForPage(Connection, Query) - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.OracleDialect
 
psForUpdate(Connection, Entity, Query) - 接口 中的方法com.xiaoleilu.hutool.db.dialect.Dialect
构建用于更新的PreparedStatement
psForUpdate(Connection, Entity, Query) - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect
 
publicKey - 类 中的变量com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
公钥
put(K, V) - 类 中的方法com.xiaoleilu.hutool.cache.AbstractCache
 
put(K, V, long) - 类 中的方法com.xiaoleilu.hutool.cache.AbstractCache
 
put(K, V) - 接口 中的方法com.xiaoleilu.hutool.cache.Cache
将对象加入到缓存,使用默认失效时长
put(K, V, long) - 接口 中的方法com.xiaoleilu.hutool.cache.Cache
将对象加入到缓存,使用指定失效时长
如果缓存空间满了,Cache.prune() 将被调用以获得空间来存放新对象
put(K, V) - 类 中的方法com.xiaoleilu.hutool.cache.NoCache
 
put(K, V, long) - 类 中的方法com.xiaoleilu.hutool.cache.NoCache
 
put(String, Object) - 类 中的方法com.xiaoleilu.hutool.db.Entity
PUT方法做了过滤限制,如果此实体限制了属性名,则忽略限制名列表外的字段名
put(String, String) - 类 中的静态方法com.xiaoleilu.hutool.http.CookiePool
将某个网站的Cookie放入Cookie池
put(String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpRequest
PUT请求
put(Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Append an object value.
put(int, Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
加入或者替换JSONArray中指定Index的值,如果index大于JSONArray的长度,将在指定index设置值,之前的位置填充JSONNull.Null
put(String, Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
PUT 键值对到JSONObject中,如果值为null,将此键移除
put(String, Object) - 类 中的方法com.xiaoleilu.hutool.script.FullSupportScriptEngine
 
put(String, Object) - 类 中的方法com.xiaoleilu.hutool.script.JavaScriptEngine
 
put(Object, Object) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
 
putAll(Map<? extends String, ? extends Object>) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
 
putAll(Map<? extends Object, ? extends Object>) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
加入Map中的键值对
putCustom(Class<?>, Converter<?>) - 类 中的方法com.xiaoleilu.hutool.convert.ConverterRegistry
登记自定义转换器
putFileType(String, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileTypeUtil
增加文件类型映射
如果已经存在将覆盖之前的映射
putGlobalContext(String, Object) - 类 中的方法com.xiaoleilu.hutool.util.VelocityUtil
设置Velocity全局上下文
当设定值时,对于每个模板都有效
putOnce(String, Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null,
and only if there is not already a member with that name.
putOpt(String, Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
在键和值都为非空的情况下put到JSONObject中

Q

query(String, RsHandler<T>, Object...) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
查询
Query - com.xiaoleilu.hutool.db.sql中的类
查询对象,用于传递查询所需的字段值
查询对象根据表名(可以多个),多个条件 Condition 构建查询对象完成查询。
Query(String...) - 类 的构造器com.xiaoleilu.hutool.db.sql.Query
构造
Query(Condition[], String...) - 类 的构造器com.xiaoleilu.hutool.db.sql.Query
构造
Query(Condition[], Page, String...) - 类 的构造器com.xiaoleilu.hutool.db.sql.Query
构造
Query(Collection<String>, String[], Condition[], Page) - 类 的构造器com.xiaoleilu.hutool.db.sql.Query
构造
query(Query) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
构建查询SQL
query(Connection, String, RsHandler<T>, Object...) - 类 中的静态方法com.xiaoleilu.hutool.db.sql.SqlExecutor
执行查询语句
此方法不会关闭Connection
query(PreparedStatement, RsHandler<T>, Object...) - 类 中的静态方法com.xiaoleilu.hutool.db.sql.SqlExecutor
执行查询语句
此方法不会关闭PreparedStatement
queryAndClosePs(PreparedStatement, RsHandler<T>, Object...) - 类 中的静态方法com.xiaoleilu.hutool.db.sql.SqlExecutor
执行查询语句并关闭PreparedStatement
QUEST - 类 中的静态变量com.xiaoleilu.hutool.json.XML
The Character '?'.
quietRollback() - 类 中的方法com.xiaoleilu.hutool.db.Session
静默回滚事务
回滚事务
quietRollback(Savepoint) - 类 中的方法com.xiaoleilu.hutool.db.Session
静默回滚到某个保存点,保存点的设置请使用setSavepoint方法
QUOT - 类 中的静态变量com.xiaoleilu.hutool.json.XML
The Character '"'.
quote(String) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
对所有双引号做转义处理(使用双反斜杠做转义)
为了能在HTML中较好的显示,会将</转义为<\/
JSON字符串中不能包含控制字符和未经转义的引号和反斜杠
quote(String, Writer) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
对所有双引号做转义处理(使用双反斜杠做转义)
为了能在HTML中较好的显示,会将</转义为<\/
JSON字符串中不能包含控制字符和未经转义的引号和反斜杠

R

randomBytes(int) - 类 中的静态方法com.xiaoleilu.hutool.util.RandomUtil
随机bytes
randomEle(List<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.RandomUtil
随机获得列表中的元素
randomEle(List<T>, int) - 类 中的静态方法com.xiaoleilu.hutool.util.RandomUtil
随机获得列表中的元素
randomEles(List<T>, int) - 类 中的静态方法com.xiaoleilu.hutool.util.RandomUtil
随机获得列表中的一定量元素
randomEleSet(Collection<T>, int) - 类 中的静态方法com.xiaoleilu.hutool.util.RandomUtil
随机获得列表中的一定量的不重复元素,返回Set
randomInt(int, int) - 类 中的静态方法com.xiaoleilu.hutool.util.RandomUtil
获得指定范围内的随机数
randomInt() - 类 中的静态方法com.xiaoleilu.hutool.util.RandomUtil
获得随机数
randomInt(int) - 类 中的静态方法com.xiaoleilu.hutool.util.RandomUtil
获得指定范围内的随机数 [0,limit)
randomNumbers(int) - 类 中的静态方法com.xiaoleilu.hutool.util.RandomUtil
获得一个只包含数字的字符串
randomString(int) - 类 中的静态方法com.xiaoleilu.hutool.util.RandomUtil
获得一个随机的字符串(只包含数字和字符)
randomString(String, int) - 类 中的静态方法com.xiaoleilu.hutool.util.RandomUtil
获得一个随机的字符串
RandomUtil - com.xiaoleilu.hutool.util中的类
随机工具类
RandomUtil() - 类 的构造器com.xiaoleilu.hutool.util.RandomUtil
 
randomUUID() - 类 中的静态方法com.xiaoleilu.hutool.util.RandomUtil
 
range(int) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
生成一个数字列表
自动判定正序反序
range(int, int) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
生成一个数字列表
自动判定正序反序
range(int, int, int) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
生成一个数字列表
自动判定正序反序
raw - 类 中的变量com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
RE_CHINESE - 类 中的静态变量com.xiaoleilu.hutool.util.ReUtil
正则表达式匹配中文
RE_HTML_MARK - 类 中的静态变量com.xiaoleilu.hutool.util.HtmlUtil
 
RE_KEYS - 类 中的静态变量com.xiaoleilu.hutool.util.ReUtil
正则中需要被转义的关键字
RE_SCRIPT - 类 中的静态变量com.xiaoleilu.hutool.util.HtmlUtil
 
read() - 类 中的方法com.xiaoleilu.hutool.io.BOMInputStream
 
read(FileReader.ReaderHandler<T>) - 类 中的方法com.xiaoleilu.hutool.io.file.FileReader
按照给定的readerHandler读取文件中的数据
read(InputStream, String) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
从流中读取内容
read(InputStream, Charset) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
从流中读取内容
read(InputStream) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
从流中读取内容,读到输出流中
read(Reader) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
从Reader中读取String
read(FileChannel, String) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
从FileChannel中读取内容
read(FileChannel, Charset) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
从FileChannel中读取内容
readableFileSize() - 类 中的方法com.xiaoleilu.hutool.io.file.FileWrapper
可读的文件大小
readableFileSize(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
可读的文件大小
readableFileSize(long) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
可读的文件大小
参考 http://stackoverflow.com/questions/3263892/format-file-size-as-mb-gb-etc
readBytes() - 类 中的方法com.xiaoleilu.hutool.io.file.FileReader
读取文件所有数据
文件的长度不能超过 Integer.MAX_VALUE
readBytes(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
读取文件所有数据
文件的长度不能超过Integer.MAX_VALUE
readBytes(InputStream) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
从流中读取bytes
readBytes(InputStream, int) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
读取指定长度的byte数组
readCertificate(String, InputStream, char[]) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
读取Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
readHex(InputStream, int, boolean) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
读取进制字符串
readHex28Lower(InputStream) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
从流中读取前28个byte并转换为16进制,字母部分使用小写
readHex28Upper(InputStream) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
从流中读取前28个byte并转换为16进制,字母部分使用大写
readJKSKeyStore(InputStream, char[]) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
读取密钥库(Java Key Store,JKS) KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
readJSON() - 类 中的方法com.xiaoleilu.hutool.io.file.FileReader
读取JSON
readJSON(File, Charset) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
读取JSON
readJSON(File, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
读取JSON
readJSONArray() - 类 中的方法com.xiaoleilu.hutool.io.file.FileReader
读取JSONArray
readJSONArray(File, Charset) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
读取JSONArray
readJSONArray(File, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
读取JSONArray
readJSONObject() - 类 中的方法com.xiaoleilu.hutool.io.file.FileReader
读取JSONObject
readJSONObject(File, Charset) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
读取JSONObject
readJSONObject(File, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
读取JSONObject
readKeyStore(String, InputStream, char[]) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
读取KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
readLines(T) - 类 中的方法com.xiaoleilu.hutool.io.file.FileReader
从文件中读取每一行数据
readLines() - 类 中的方法com.xiaoleilu.hutool.io.file.FileReader
从文件中读取每一行数据
readLines(String, String, T) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
从文件中读取每一行数据
readLines(File, String, T) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
从文件中读取每一行数据
readLines(URL, String, T) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
从文件中读取每一行数据
readLines(URL, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
从文件中读取每一行数据
readLines(String, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
从文件中读取每一行数据
readLines(File, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
从文件中读取每一行数据
readLines(InputStream, String, T) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
从流中读取内容
readLines(InputStream, Charset, T) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
从流中读取内容
readObj(InputStream) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
从流中读取内容,读到输出流中
readObjectFromXml(File) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
从XML中读取对象 Reads serialized object from the XML file.
readResponse(HttpConnection) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpResponse
读取响应信息
readString() - 类 中的方法com.xiaoleilu.hutool.io.file.FileReader
读取文件内容
readString(File, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
读取文件内容
readString(File, Charset) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
读取文件内容
readString(String, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
读取文件内容
readString(String, Charset) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
读取文件内容
readString(URL, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
读取文件内容
readUtf8String(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
读取文件内容
readUtf8String(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
读取文件内容
readX509Certificate(InputStream, char[]) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
读取X.509 Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
readXML(File) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
读取解析XML文件
readXML(String) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
读取解析XML文件
release() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.PooledConnection
释放连接
releaseSavepoint(Savepoint) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
reload() - 类 中的方法com.xiaoleilu.hutool.lang.GroupedSet
重新加载配置文件
remove(long) - 接口 中的方法com.xiaoleilu.hutool.bloomFilter.bitMap.BitMap
 
remove(long) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.bitMap.IntMap
 
remove(long) - 类 中的方法com.xiaoleilu.hutool.bloomFilter.bitMap.LongMap
 
remove(K) - 类 中的方法com.xiaoleilu.hutool.cache.AbstractCache
 
remove(K) - 接口 中的方法com.xiaoleilu.hutool.cache.Cache
从缓存中移除对象
remove() - 类 中的方法com.xiaoleilu.hutool.cache.CacheValuesIterator
从缓存中移除没有过期的当前值
remove(K) - 类 中的方法com.xiaoleilu.hutool.cache.NoCache
 
remove(int) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
remove(Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
remove(Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
 
remove(T) - 类 中的方法com.xiaoleilu.hutool.lang.ConsistentHash
移除节点的同时移除相应的虚拟节点
remove(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.lang.Singleton
移除指定Singleton对象
remove(Object) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
 
remove(String) - 类 中的方法com.xiaoleilu.hutool.util.CronUtil
移除任务
removeAll(Collection<?>) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
removeAll(String, CharSequence) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
移除字符串中所有给定字符串
例:removeAll("aa-bb-cc-dd", "-") -> aabbccdd
removeAllHtmlAttr(String, String...) - 类 中的静态方法com.xiaoleilu.hutool.util.HtmlUtil
去除指定标签的所有属性
removeEqual(T, String...) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
与给定实体对比并去除相同的部分
此方法用于在更新操作时避免所有字段被更新,跳过不需要更新的字段 version from 2.0.0
removeFileType(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileTypeUtil
移除文件类型映射
removeHeader(String) - 类 中的方法com.xiaoleilu.hutool.http.HttpBase
移除一个头信息
removeHeader(Header) - 类 中的方法com.xiaoleilu.hutool.http.HttpBase
移除一个头信息
removeHtmlAttr(String, String...) - 类 中的静态方法com.xiaoleilu.hutool.util.HtmlUtil
去除HTML标签中的属性
removeHtmlTag(String, String...) - 类 中的静态方法com.xiaoleilu.hutool.util.HtmlUtil
清除指定HTML标签和被标签包围的内容
不区分大小写
removeHtmlTag(String, boolean, String...) - 类 中的静态方法com.xiaoleilu.hutool.util.HtmlUtil
清除指定HTML标签
不区分大小写
removePreAndLowerFirst(String, int) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
去掉首部指定长度的字符串并将剩余字符串首字母小写
例如:str=setName, preLength=3 -> return name
removePreAndLowerFirst(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
去掉首部指定长度的字符串并将剩余字符串首字母小写
例如:str=setName, prefix=set -> return name
removePrefix(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
去掉指定前缀
removePrefixIgnoreCase(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
忽略大小写去掉指定前缀
removeSufAndLowerFirst(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
去掉指定后缀,并小写首字母
removeSuffix(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
去掉指定后缀
removeSuffixIgnoreCase(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
忽略大小写去掉指定后缀
render(Template, Map<String, Object>) - 类 中的静态方法com.xiaoleilu.hutool.util.BeetlUtil
渲染模板
render(Template, Map<String, Object>, Writer) - 类 中的静态方法com.xiaoleilu.hutool.util.BeetlUtil
渲染模板
repeat(char, int) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
重复某个字符
repeat(String, int) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
重复某个字符串
replaceAll(String, String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
正则替换指定值
通过正则查找到字符串,然后把匹配到的字符串加入到replacementTemplate中,$1表示分组1的字符串
requestParamToBean(ServletRequest, Class<T>, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
ServletRequest 参数转Bean
reset() - 类 中的方法com.xiaoleilu.hutool.io.FastByteArrayOutputStream
 
reset() - 类 中的方法com.xiaoleilu.hutool.io.FastByteBuffer
 
resize(T[], int, Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
生成一个新的重新设置大小的数组
resize(T[], int) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
生成一个新的重新设置大小的数组
新数组的类型为原数组的类型
resourceLoaderBuilder() - 类 中的静态方法com.xiaoleilu.hutool.util.BeetlUtil
responseCode() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
获取响应码
restart() - 类 中的静态方法com.xiaoleilu.hutool.util.CronUtil
重新启动定时任务
重新启动定时任务会清除动态加载的任务
restart() - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
重启公共线程池
restoreEscaped(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HtmlUtil
还原被转义的HTML特殊字符
retainAll(Collection<?>) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
ReUtil - com.xiaoleilu.hutool.util中的类
正则相关工具类
rollback() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
rollback(Savepoint) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
rollback() - 类 中的方法com.xiaoleilu.hutool.db.Session
回滚事务
rollback(Savepoint) - 类 中的方法com.xiaoleilu.hutool.db.Session
回滚到某个保存点,保存点的设置请使用setSavepoint方法
rotatingHash(String, int) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
旋转hash
round(double, int) - 类 中的静态方法com.xiaoleilu.hutool.util.MathUtil
保留小数位
roundStr(double, int) - 类 中的静态方法com.xiaoleilu.hutool.util.MathUtil
保留小数位
rowIdToString(RowId) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
将RowId转为字符串
RSA - com.xiaoleilu.hutool.crypto.asymmetric中的类
RSA加密算法
RSA() - 类 的构造器com.xiaoleilu.hutool.crypto.asymmetric.RSA
构造,创建新的私钥公钥对
RSA(byte[], byte[]) - 类 的构造器com.xiaoleilu.hutool.crypto.asymmetric.RSA
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
RSFilter - com.xiaoleilu.hutool.bloomFilter.filter中的类
 
RSFilter(long, int) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.RSFilter
 
RSFilter(long) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.RSFilter
 
RsHandler<T> - com.xiaoleilu.hutool.db.handler中的接口
结果集处理接口
默认实现有:
rsHash(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
RS算法hash
run() - 类 中的方法com.xiaoleilu.hutool.lang.SyncFinisher.Worker
 
run() - 类 中的方法com.xiaoleilu.hutool.watch.WatchMonitor
 
runner - 类 中的变量com.xiaoleilu.hutool.db.AbstractSqlRunner
 
runner - 类 中的变量com.xiaoleilu.hutool.db.DaoTemplate
SQL运行器
RuntimeInfo - com.xiaoleilu.hutool.system中的类
 
RuntimeInfo() - 类 的构造器com.xiaoleilu.hutool.system.RuntimeInfo
 

S

safeUnescape(String) - 类 中的静态方法com.xiaoleilu.hutool.util.EscapeUtil
安全的unescape文本,当文本不是被escape的时候,返回原文。
scale(File, File, int, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.ImageUtil
缩放图像(按比例缩放)
scale(File, File, int, int, Color) - 类 中的静态方法com.xiaoleilu.hutool.util.ImageUtil
缩放图像(按高度和宽度缩放)
scanPackage() - 类 中的静态方法com.xiaoleilu.hutool.lang.ClassScaner
扫面该包路径下所有class文件
scanPackage(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.ClassScaner
扫面该包路径下所有class文件
scanPackage(String, Filter<Class<?>>) - 类 中的静态方法com.xiaoleilu.hutool.lang.ClassScaner
扫面包路径下满足class过滤器条件的所有class文件,
如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException
因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理,有可能是一个不完善的地方,以后需要进行修改
scanPackage() - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
扫面该包路径下所有class文件
scanPackage(String) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
扫面该包路径下所有class文件
scanPackage(String, Filter<Class<?>>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
扫面包路径下满足class过滤器条件的所有class文件,
如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException
因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理,有可能是一个不完善的地方,以后需要进行修改
scanPackageByAnnotation(String, Class<? extends Annotation>) - 类 中的静态方法com.xiaoleilu.hutool.lang.ClassScaner
扫描指定包路径下所有包含指定注解的类
scanPackageByAnnotation(String, Class<? extends Annotation>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
扫描指定包路径下所有包含指定注解的类
scanPackageBySuper(String, Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.lang.ClassScaner
扫描指定包路径下所有指定类或接口的子类或实现类
scanPackageBySuper(String, Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
扫描指定包路径下所有指定类或接口的子类或实现类
schedule(String, Task) - 类 中的静态方法com.xiaoleilu.hutool.util.CronUtil
加入定时任务
schedule(String, Runnable) - 类 中的静态方法com.xiaoleilu.hutool.util.CronUtil
加入定时任务
schedule(Setting) - 类 中的静态方法com.xiaoleilu.hutool.util.CronUtil
批量加入配置文件中的定时任务
schedulePrune(long) - 类 中的方法com.xiaoleilu.hutool.cache.TimedCache
定时清理
ScriptRuntimeException - com.xiaoleilu.hutool.script中的异常错误
脚本运行时异常
ScriptRuntimeException(Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.script.ScriptRuntimeException
 
ScriptRuntimeException(String) - 异常错误 的构造器com.xiaoleilu.hutool.script.ScriptRuntimeException
 
ScriptRuntimeException(String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.script.ScriptRuntimeException
 
ScriptRuntimeException(String, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.script.ScriptRuntimeException
 
ScriptRuntimeException(Throwable, String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.script.ScriptRuntimeException
 
ScriptRuntimeException(String, String, int) - 异常错误 的构造器com.xiaoleilu.hutool.script.ScriptRuntimeException
Creates a ScriptException with message, filename and linenumber to be used in error messages.
ScriptRuntimeException(String, String, int, int) - 异常错误 的构造器com.xiaoleilu.hutool.script.ScriptRuntimeException
ScriptException constructor specifying message, filename, line number and column number.
ScriptRuntimeException(ScriptException) - 异常错误 的构造器com.xiaoleilu.hutool.script.ScriptRuntimeException
 
ScriptUtil - com.xiaoleilu.hutool.script中的类
脚本工具类
ScriptUtil() - 类 的构造器com.xiaoleilu.hutool.script.ScriptUtil
 
SDBMFilter - com.xiaoleilu.hutool.bloomFilter.filter中的类
 
SDBMFilter(long, int) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.SDBMFilter
 
SDBMFilter(long) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.SDBMFilter
 
sdbmHash(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
SDBM算法
season() - 类 中的方法com.xiaoleilu.hutool.date.DateTime
获得当前日期所属季度
1:第一季度
2:第二季度
3:第三季度
4:第四季度
season(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
获得指定日期所属季节
Season - com.xiaoleilu.hutool.date中的枚举
季度枚举
seasonEnum() - 类 中的方法com.xiaoleilu.hutool.date.DateTime
获得当前日期所属季度
second() - 类 中的方法com.xiaoleilu.hutool.date.DateTime
获得指定日期的秒数部分
second(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
获得指定日期的秒数部分
SecureUtil - com.xiaoleilu.hutool.crypto中的类
安全相关工具类
加密分为三种:
1、对称加密(symmetric),例如:AES、DES等
2、非对称加密(asymmetric),例如:RSA、DSA等
3、摘要加密(digest),例如:MD5、SHA-1、SHA-256、HMAC等
SecureUtil() - 类 的构造器com.xiaoleilu.hutool.crypto.SecureUtil
 
select(boolean, String...) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
查询
select(boolean, Collection<String>) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
查询
select(String...) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
查询(非Distinct)
select(Collection<String>) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
查询(非Distinct)
SensitiveUtil - com.xiaoleilu.hutool.dfa中的类
敏感词工具类
SensitiveUtil() - 类 的构造器com.xiaoleilu.hutool.dfa.SensitiveUtil
 
serialize(T) - 类 中的静态方法com.xiaoleilu.hutool.util.ObjectUtil
序列化
对象必须实现Serializable接口
Session - com.xiaoleilu.hutool.db中的类
数据库SQL执行会话
一个会话只维护一个连接,推荐在执行完后关闭Session,避免重用
本对象并不是线程安全的,多个线程共用一个Session将会导致不可预知的问题
Session(DataSource) - 类 的构造器com.xiaoleilu.hutool.db.Session
构造
Session(Connection) - 类 的构造器com.xiaoleilu.hutool.db.Session
构造
set(String, Object) - 类 中的方法com.xiaoleilu.hutool.db.Entity
 
set(int, Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
set(String, Object) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
设置列
setAccessible(Method) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
设置方法为可访问
setAutoCommit(boolean) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
setBetweenMs(long) - 类 中的方法com.xiaoleilu.hutool.date.BetweenFormater
设置 时长毫秒数
setBindings(Bindings, int) - 类 中的方法com.xiaoleilu.hutool.script.FullSupportScriptEngine
 
setBindings(Bindings, int) - 类 中的方法com.xiaoleilu.hutool.script.JavaScriptEngine
 
setCatalog(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
setCharset(Charset) - 类 中的方法com.xiaoleilu.hutool.io.file.FileWrapper
设置字符集编码
setChunkedStreamingMode(int) - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
采用流方式上传数据,无需本地缓存数据。
setClientInfo(String, String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
setClientInfo(Properties) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
setColumn(Column) - 类 中的方法com.xiaoleilu.hutool.db.meta.Table
设置列对象
setConn(Connection) - 类 中的方法com.xiaoleilu.hutool.db.Session
 
setConnectionAndReadTimeout(int) - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
设置连接和读取的超时时间
setConnectTimeout(int) - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
设置连接超时
setContext(ScriptContext) - 类 中的方法com.xiaoleilu.hutool.script.FullSupportScriptEngine
 
setContext(ScriptContext) - 类 中的方法com.xiaoleilu.hutool.script.JavaScriptEngine
 
setCookie(String) - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
设置Cookie
setCronSetting(Setting) - 类 中的静态方法com.xiaoleilu.hutool.util.CronUtil
自定义定时任务配置文件
setCronSetting(String) - 类 中的静态方法com.xiaoleilu.hutool.util.CronUtil
自定义定时任务配置文件路径
setCurrentDSFactory(DSFactory) - 类 中的静态方法com.xiaoleilu.hutool.db.ds.DSFactory
 
setCurrentLogFactory(LogFactory) - 类 中的静态方法com.xiaoleilu.hutool.log.LogFactory
自定义日志实现
setDialect(Dialect) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
设置SQL方言
setDirection(Direction) - 类 中的方法com.xiaoleilu.hutool.db.sql.Order
设置排序方向
setDriver(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.DbConfig
 
setDriver(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.SimpleDataSource
 
setEditable(Class<?>) - 类 中的方法com.xiaoleilu.hutool.util.BeanUtil.CopyOptions
设置限制的类或接口,必须为目标对象的实现接口或父类,用于限制拷贝的属性
setField(DateField, int) - 类 中的方法com.xiaoleilu.hutool.date.DateTime
设置日期的某个部分
setField(int, int) - 类 中的方法com.xiaoleilu.hutool.date.DateTime
设置日期的某个部分
setField(String) - 类 中的方法com.xiaoleilu.hutool.db.sql.Condition
设置字段名
setField(String) - 类 中的方法com.xiaoleilu.hutool.db.sql.Order
设置排序字段
setFieldNames(List<String>) - 类 中的方法com.xiaoleilu.hutool.db.Entity
设置字段列表
setFieldNames(String...) - 类 中的方法com.xiaoleilu.hutool.db.Entity
设置字段列表
setFields(Collection<String>) - 类 中的方法com.xiaoleilu.hutool.db.sql.Query
设置查询的字段名列表
setFields(String...) - 类 中的方法com.xiaoleilu.hutool.db.sql.Query
设置查询的字段名列表
setFile(File) - 类 中的方法com.xiaoleilu.hutool.io.file.FileWrapper
设置文件
setFollowRedirects(Boolean) - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
设置是否打开重定向
setFormat(String) - 类 中的方法com.xiaoleilu.hutool.convert.impl.CalendarConverter
设置日期格式
setFormat(String) - 类 中的方法com.xiaoleilu.hutool.convert.impl.DateConverter
设置日期格式
setFormat(String) - 类 中的方法com.xiaoleilu.hutool.convert.impl.DateTimeConverter
设置日期格式
setFormat(String) - 类 中的方法com.xiaoleilu.hutool.convert.impl.SqlDateConverter
设置日期格式
setFormat(String) - 类 中的方法com.xiaoleilu.hutool.convert.impl.SqlTimeConverter
设置日期格式
setFormat(String) - 类 中的方法com.xiaoleilu.hutool.convert.impl.SqlTimestampConverter
设置日期格式
setHoldability(int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
setHostnameVerifier(HostnameVerifier) - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
设置域名验证器
只针对HTTPS请求,如果不设置,不做验证,所有域名被信任
setIgnoreError(boolean) - 类 中的方法com.xiaoleilu.hutool.util.BeanUtil.CopyOptions
设置是否忽略字段的注入错误
setIgnoreNull(String, Object) - 类 中的方法com.xiaoleilu.hutool.db.Entity
 
setIgnoreNull(String, Object) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
设置列,当键或值为null时忽略
setIgnoreNullValue(boolean) - 类 中的方法com.xiaoleilu.hutool.util.BeanUtil.CopyOptions
设置是否忽略空值,当源对象的值为null时,true: 忽略而不注入此值,false: 注入null
setIgnoreProperties(String...) - 类 中的方法com.xiaoleilu.hutool.util.BeanUtil.CopyOptions
设置忽略的属性列表,设置一个属性列表,不拷贝这些属性值
setInitialSize(int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.DbConfig
 
setInstanceFollowRedirects(boolean) - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
设置自动HTTP 30X跳转
setKeyManagers(KeyManager...) - 类 中的方法com.xiaoleilu.hutool.http.ssl.SSLSocketFactoryBuilder
设置 JSSE key managers
setLevel(BetweenFormater.Level) - 类 中的方法com.xiaoleilu.hutool.date.BetweenFormater
设置格式化级别
setLoginTimeout(int) - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.AbstractDataSource
 
setLogWriter(PrintWriter) - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.AbstractDataSource
 
setMaxActive(int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.DbConfig
 
setMaxWait(long) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.DbConfig
 
setMethod(Method) - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
设置请求方法
setMinIdle(int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.DbConfig
 
setName(String) - 类 中的方法com.xiaoleilu.hutool.db.meta.Column
 
setNetworkTimeout(Executor, int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
setNullable(boolean) - 类 中的方法com.xiaoleilu.hutool.db.meta.Column
 
setNumPerPage(int) - 类 中的方法com.xiaoleilu.hutool.db.Page
设置每页结果数
setNumPerPage(int) - 类 中的方法com.xiaoleilu.hutool.db.PageResult
设置每页结果数
setOperator(String) - 类 中的方法com.xiaoleilu.hutool.db.sql.Condition
设置运算符
大于号,小于号,等于号 等
setOrder(Order...) - 类 中的方法com.xiaoleilu.hutool.db.Page
设置排序
setPage(int) - 类 中的方法com.xiaoleilu.hutool.db.PageResult
设置页码
setPage(Page) - 类 中的方法com.xiaoleilu.hutool.db.sql.Query
设置分页对象
setPageNumber(int) - 类 中的方法com.xiaoleilu.hutool.db.Page
设置页码
setPass(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.DbConfig
 
setPass(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.SimpleDataSource
 
setPkNames(Set<String>) - 类 中的方法com.xiaoleilu.hutool.db.meta.Table
 
setPlaceHolder(boolean) - 类 中的方法com.xiaoleilu.hutool.db.sql.Condition
设置是否使用条件占位符
setPreWrapQuote(Character) - 类 中的方法com.xiaoleilu.hutool.db.sql.Wrapper
设置前置包装的符号
setPrivateKey(PrivateKey) - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
设置私钥
setProperty(String, Object) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
设置值,无给定键创建之。
setProtocol(String) - 类 中的方法com.xiaoleilu.hutool.http.ssl.SSLSocketFactoryBuilder
设置协议
setProxy(Proxy) - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
设置代理
setPublicKey(PublicKey) - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
设置公钥
setReadOnly(boolean) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
setReadTimeout(int) - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
设置读取超时
setRunner(SqlConnRunner) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
 
setRunner(SqlConnRunner) - 类 中的方法com.xiaoleilu.hutool.db.Session
 
setRunner(SqlConnRunner) - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
 
setSavepoint() - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
setSavepoint(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
setSavepoint() - 类 中的方法com.xiaoleilu.hutool.db.Session
设置保存点
setSavepoint(String) - 类 中的方法com.xiaoleilu.hutool.db.Session
设置保存点
setSchema(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
setSecureRandom(SecureRandom) - 类 中的方法com.xiaoleilu.hutool.http.ssl.SSLSocketFactoryBuilder
设置 SecureRandom
setSetting(Setting) - 类 中的方法com.xiaoleilu.hutool.db.ds.MongoDS
设定MongoDB配置文件
setShowSql(boolean, boolean) - 类 中的静态方法com.xiaoleilu.hutool.db.sql.SqlBuilder
设置全局配置:是否通过debug日志显示SQL
setSignature(Signature) - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
设置签名
setSize(int) - 类 中的方法com.xiaoleilu.hutool.db.meta.Column
 
setSSLProtocol(String) - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
设置HTTPS安全连接协议,只针对HTTPS请求
setSSLSocketFactory(SSLSocketFactory) - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
设置SSLSocketFactory
只针对HTTPS请求,如果不设置,使用默认的SSLSocketFactory
默认SSLSocketFactory为:SSLSocketFactoryBuilder.create().build();
setSufWrapQuote(Character) - 类 中的方法com.xiaoleilu.hutool.db.sql.Wrapper
设置后置包装的符号
setTableName(String) - 类 中的方法com.xiaoleilu.hutool.db.Entity
设置表名
setTableName(String) - 类 中的方法com.xiaoleilu.hutool.db.meta.Column
 
setTableName(String) - 类 中的方法com.xiaoleilu.hutool.db.meta.Table
 
setTableNames(String...) - 类 中的方法com.xiaoleilu.hutool.db.sql.Query
设置表名
Setting - com.xiaoleilu.hutool.setting中的类
设置工具类。
Setting() - 类 的构造器com.xiaoleilu.hutool.setting.Setting
基本构造
需自定义初始化配置文件
Setting(String, Charset, boolean) - 类 的构造器com.xiaoleilu.hutool.setting.Setting
构造,使用相对于Class文件根目录的相对路径
Setting(String, boolean) - 类 的构造器com.xiaoleilu.hutool.setting.Setting
构造,使用相对于Class文件根目录的相对路径
Setting(File, Charset, boolean) - 类 的构造器com.xiaoleilu.hutool.setting.Setting
构造
Setting(String, Class<?>, Charset, boolean) - 类 的构造器com.xiaoleilu.hutool.setting.Setting
构造,相对于classes读取文件
Setting(URL, Charset, boolean) - 类 的构造器com.xiaoleilu.hutool.setting.Setting
构造
Setting(String) - 类 的构造器com.xiaoleilu.hutool.setting.Setting
构造
SettingException - com.xiaoleilu.hutool.setting中的异常错误
设置异常
SettingException(Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.setting.SettingException
 
SettingException(String) - 异常错误 的构造器com.xiaoleilu.hutool.setting.SettingException
 
SettingException(String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.setting.SettingException
 
SettingException(String, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.setting.SettingException
 
SettingException(Throwable, String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.setting.SettingException
 
SettingLoader - com.xiaoleilu.hutool.setting中的类
Setting文件加载器
SettingLoader(BasicSetting) - 类 的构造器com.xiaoleilu.hutool.setting.SettingLoader
 
SettingLoader(BasicSetting, Charset, boolean) - 类 的构造器com.xiaoleilu.hutool.setting.SettingLoader
 
SettingRuntimeException - com.xiaoleilu.hutool.setting中的异常错误
设置异常
SettingRuntimeException(Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.setting.SettingRuntimeException
 
SettingRuntimeException(String) - 异常错误 的构造器com.xiaoleilu.hutool.setting.SettingRuntimeException
 
SettingRuntimeException(String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.setting.SettingRuntimeException
 
SettingRuntimeException(String, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.setting.SettingRuntimeException
 
SettingRuntimeException(Throwable, String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.setting.SettingRuntimeException
 
settingUrl - 类 中的变量com.xiaoleilu.hutool.setting.dialect.BasicSetting
设定文件的URL
setTotal(int) - 类 中的方法com.xiaoleilu.hutool.db.PageResult
设置总数
setTotalPage(int) - 类 中的方法com.xiaoleilu.hutool.db.PageResult
设置总页数
setTransactionIsolation(int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
setTransactionIsolation(int) - 类 中的方法com.xiaoleilu.hutool.db.Session
设置事务的隔离级别
Connection.TRANSACTION_NONE 驱动不支持事务
Connection.TRANSACTION_READ_UNCOMMITTED 允许脏读、不可重复读和幻读
Connection.TRANSACTION_READ_COMMITTED 禁止脏读,但允许不可重复读和幻读
Connection.TRANSACTION_REPEATABLE_READ 禁止脏读和不可重复读,单运行幻读
Connection.TRANSACTION_SERIALIZABLE 禁止脏读、不可重复读和幻读
setTrustManagers(TrustManager...) - 类 中的方法com.xiaoleilu.hutool.http.ssl.SSLSocketFactoryBuilder
设置信任信息
setType(int) - 类 中的方法com.xiaoleilu.hutool.db.meta.Column
 
setTypeMap(Map<String, Class<?>>) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
setUrl(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.DbConfig
 
setUrl(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.SimpleDataSource
 
setUrl(URL) - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
设置请求URL
setUser(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.DbConfig
 
setUser(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.SimpleDataSource
 
setValue(Object) - 类 中的方法com.xiaoleilu.hutool.db.sql.Condition
设置值,不解析表达式
setValue(Object, boolean) - 类 中的方法com.xiaoleilu.hutool.db.sql.Condition
设置值
setVarRegex(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
设置变量的正则
正则只能有一个group表示变量本身,剩余为字符 例如 \$\{(name)\}表示${name}变量名为name的一个变量表示
setVarRegex(String) - 类 中的方法com.xiaoleilu.hutool.setting.SettingLoader
设置变量的正则
正则只能有一个group表示变量本身,剩余为字符 例如 \$\{(name)\}表示${name}变量名为name的一个变量表示
setWatcher(Watcher) - 类 中的方法com.xiaoleilu.hutool.watch.WatchMonitor
设置监听
setWhere(Condition...) - 类 中的方法com.xiaoleilu.hutool.db.sql.Query
设置条件语句
setWrapper(Wrapper) - 接口 中的方法com.xiaoleilu.hutool.db.dialect.Dialect
设置包装器
setWrapper(Wrapper) - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect
 
sha1(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.crypto.DigestUtil
计算SHA-1摘要值
sha1(String, String) - 类 中的静态方法com.xiaoleilu.hutool.crypto.DigestUtil
计算SHA-1摘要值
sha1(String) - 类 中的静态方法com.xiaoleilu.hutool.crypto.DigestUtil
计算sha1摘要值,使用UTF-8编码
sha1(InputStream) - 类 中的静态方法com.xiaoleilu.hutool.crypto.DigestUtil
计算SHA-1摘要值
sha1(File) - 类 中的静态方法com.xiaoleilu.hutool.crypto.DigestUtil
计算SHA-1摘要值
sha1() - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
SHA1加密
例:
SHA1加密:sha1().digest(data)
SHA1加密并转为16进制字符串:sha1().digestHex(data)
sha1(String) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
SHA1加密,生成16进制SHA1字符串
sha1(InputStream) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
SHA1加密,生成16进制SHA1字符串
sha1(File) - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
SHA1加密文件,生成16进制SHA1字符串
sha1Hex(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.crypto.DigestUtil
计算SHA-1摘要值,并转为16进制字符串
sha1Hex(String, String) - 类 中的静态方法com.xiaoleilu.hutool.crypto.DigestUtil
计算SHA-1摘要值,并转为16进制字符串
sha1Hex(String) - 类 中的静态方法com.xiaoleilu.hutool.crypto.DigestUtil
计算SHA-1摘要值,并转为16进制字符串
sha1Hex(InputStream) - 类 中的静态方法com.xiaoleilu.hutool.crypto.DigestUtil
计算SHA-1摘要值,并转为16进制字符串
sha1Hex(File) - 类 中的静态方法com.xiaoleilu.hutool.crypto.DigestUtil
计算SHA-1摘要值,并转为16进制字符串
SHORT - 类 中的静态变量com.xiaoleilu.hutool.date.format.FastDateFormat
SHORT locale dependent date or time style.
ShortArrayConverter - com.xiaoleilu.hutool.convert.impl中的类
short 类型数组转换器
ShortArrayConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.ShortArrayConverter
 
sign(byte[]) - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
用私钥对信息生成数字签名
signature - 类 中的变量com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
签名,用于签名和验证
SimpleAspect - com.xiaoleilu.hutool.proxy.aspects中的类
简单切面类,不做任何操作
可以继承此类实现自己需要的方法即可
SimpleAspect(Object) - 类 的构造器com.xiaoleilu.hutool.proxy.aspects.SimpleAspect
 
SimpleDataSource - com.xiaoleilu.hutool.db.ds.simple中的类
简易数据源,没有使用连接池,仅供测试或打开关闭连接非常少的场合使用!
SimpleDataSource() - 类 的构造器com.xiaoleilu.hutool.db.ds.simple.SimpleDataSource
构造
SimpleDataSource(String) - 类 的构造器com.xiaoleilu.hutool.db.ds.simple.SimpleDataSource
构造
SimpleDataSource(Setting, String) - 类 的构造器com.xiaoleilu.hutool.db.ds.simple.SimpleDataSource
构造
SimpleDataSource(String, String, String) - 类 的构造器com.xiaoleilu.hutool.db.ds.simple.SimpleDataSource
构造
SimpleDSFactory - com.xiaoleilu.hutool.db.ds.simple中的类
简单数据源工厂类
SimpleDSFactory() - 类 的构造器com.xiaoleilu.hutool.db.ds.simple.SimpleDSFactory
 
SimpleDSFactory(Setting) - 类 的构造器com.xiaoleilu.hutool.db.ds.simple.SimpleDSFactory
 
simpleUUID() - 类 中的静态方法com.xiaoleilu.hutool.crypto.SecureUtil
 
SimpleWatcher - com.xiaoleilu.hutool.watch中的类
空白WatchListener
用户继承此类后实现需要监听的方法
SimpleWatcher() - 类 的构造器com.xiaoleilu.hutool.watch.SimpleWatcher
 
Singleton - com.xiaoleilu.hutool.lang中的类
单例类
提供单例对象的统一管理,当调用get方法时,如果对象池中存在此对象,返回此对象,否则创建新对象返回
size - 类 中的变量com.xiaoleilu.hutool.bloomFilter.filter.AbstractFilter
 
size() - 类 中的方法com.xiaoleilu.hutool.cache.AbstractCache
 
size() - 接口 中的方法com.xiaoleilu.hutool.cache.Cache
 
size() - 类 中的方法com.xiaoleilu.hutool.cache.NoCache
 
size() - 类 中的方法com.xiaoleilu.hutool.io.FastByteArrayOutputStream
 
size() - 类 中的方法com.xiaoleilu.hutool.io.FastByteBuffer
 
size(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
计算目录或文件的总大小
当给定对象为文件时,直接调用 File.length()
当给定对象为目录时,遍历目录下的所有文件和目录,递归计算其大小,求和返回
size() - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
size() - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
 
size() - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
 
skipPast(String) - 类 中的方法com.xiaoleilu.hutool.json.XMLTokener
Skip characters until past the requested string.
skipTo(char) - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
Skip characters until the next character is the requested character.
SLASH - 类 中的静态变量com.xiaoleilu.hutool.json.XML
The Character '/'.
SLASH - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
sleep(Number, TimeUnit) - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
挂起当前线程
sleep(Number) - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
挂起当前线程
Slf4jLog - com.xiaoleilu.hutool.log.dialect.slf4j中的类
SLF4J log.
Slf4jLog(Logger) - 类 的构造器com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
Slf4jLog(Class<?>) - 类 的构造器com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
Slf4jLog(String) - 类 的构造器com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
Slf4jLogFactory - com.xiaoleilu.hutool.log.dialect.slf4j中的类
SLF4J log.
Slf4jLogFactory() - 类 的构造器com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLogFactory
 
Slf4jLogFactory(boolean) - 类 的构造器com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLogFactory
构造
sort(Collection<T>, Comparator<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
排序集合
sortEntrySetToList(Set<Map.Entry<Long, Long>>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
将Set排序(根据Entry的值)
sortPageAll(int, int, Comparator<T>, Collection<T>...) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
将多个集合排序并显示不同的段落(分页)
sortPageAll2(int, int, Comparator<T>, Collection<T>...) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
将多个集合排序并显示不同的段落(分页)
SPACE - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
SPECIFICATION_NAME - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
Java运行时环境信息
SPECIFICATION_VENDOR - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
SPECIFICATION_VERSION - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
spendMs(long) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
计时,常用于记录某段代码的执行时间,单位:毫秒
spendNt(long) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
计时,常用于记录某段代码的执行时间,单位:纳秒
split(byte[], int) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
拆分byte数组
split(Collection<T>, int) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
对集合按照指定长度分段,每一个段为单独的集合,返回这个集合的列表
split(String, char) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
切分字符串
a#b#c -> [a,b,c]
a##b#c -> [a,"",b,c]
split(String, char, int) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
切分字符串
split(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
切分字符串
from jodd
split(String, int) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
根据给定长度,将给定字符串截取为多个部分
splitToArray(String, char) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
切分字符串
splitToArray(String, char, int) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
切分字符串
SqlBuilder - com.xiaoleilu.hutool.db.sql中的类
SQL构建器
首先拼接SQL语句,值使用 ?
SqlBuilder() - 类 的构造器com.xiaoleilu.hutool.db.sql.SqlBuilder
 
SqlBuilder(Wrapper) - 类 的构造器com.xiaoleilu.hutool.db.sql.SqlBuilder
 
SqlBuilder.Join - com.xiaoleilu.hutool.db.sql中的枚举
SQL中多表关联用的关键字
SqlConnRunner - com.xiaoleilu.hutool.db中的类
SQL执行类
此执行类只接受方言参数,不需要数据源,只有在执行方法时需要数据库连接对象
此对象存在的意义在于,可以由使用者自定义数据库连接对象,并执行多个方法,方便事务的统一控制或减少连接对象的创建关闭
SqlConnRunner(Dialect) - 类 的构造器com.xiaoleilu.hutool.db.SqlConnRunner
构造
SqlConnRunner(String) - 类 的构造器com.xiaoleilu.hutool.db.SqlConnRunner
构造
SqlDateConverter - com.xiaoleilu.hutool.convert.impl中的类
SQL日期转换器
SqlDateConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.SqlDateConverter
 
SqlExecutor - com.xiaoleilu.hutool.db.sql中的类
SQL执行器,全部为静态方法,执行查询或非查询的SQL语句
此方法为JDBC的简单封装,与数据库类型无关
SqlExecutor() - 类 的构造器com.xiaoleilu.hutool.db.sql.SqlExecutor
 
SqlFormatter - com.xiaoleilu.hutool.db.sql中的类
SQL格式化器 from Hibernate
SqlFormatter() - 类 的构造器com.xiaoleilu.hutool.db.sql.SqlFormatter
 
Sqlite3Dialect - com.xiaoleilu.hutool.db.dialect.impl中的类
SqlLite3方言
Sqlite3Dialect() - 类 的构造器com.xiaoleilu.hutool.db.dialect.impl.Sqlite3Dialect
 
SqlRunner - com.xiaoleilu.hutool.db中的类
SQL执行类
通过给定的数据源执行给定SQL或者给定数据源和方言,执行相应的CRUD操作
SqlRunner中每一个方法都会打开和关闭一个链接
SqlRunner(DataSource) - 类 的构造器com.xiaoleilu.hutool.db.SqlRunner
构造,从DataSource中识别方言
SqlRunner(DataSource, Dialect) - 类 的构造器com.xiaoleilu.hutool.db.SqlRunner
构造
SqlRunner(DataSource, String) - 类 的构造器com.xiaoleilu.hutool.db.SqlRunner
构造
SqlTimeConverter - com.xiaoleilu.hutool.convert.impl中的类
SQL时间转换器
SqlTimeConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.SqlTimeConverter
 
SqlTimestampConverter - com.xiaoleilu.hutool.convert.impl中的类
SQL时间戳转换器
SqlTimestampConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.SqlTimestampConverter
 
SSL - 类 中的静态变量com.xiaoleilu.hutool.http.ssl.SSLSocketFactoryBuilder
Supports some version of SSL; may support other versions
SSLSocketFactoryBuilder - com.xiaoleilu.hutool.http.ssl中的类
SSLSocketFactory构建器
SSLSocketFactoryBuilder() - 类 的构造器com.xiaoleilu.hutool.http.ssl.SSLSocketFactoryBuilder
 
SSLv2 - 类 中的静态变量com.xiaoleilu.hutool.http.ssl.SSLSocketFactoryBuilder
Supports SSL version 2 or later; may support other versions
SSLv3 - 类 中的静态变量com.xiaoleilu.hutool.http.ssl.SSLSocketFactoryBuilder
Supports SSL version 3; may support other versions
stacktraceToOneLineString(Throwable) - 类 中的静态方法com.xiaoleilu.hutool.exceptions.ExceptionUtil
堆栈转为单行完整字符串
stacktraceToOneLineString(Throwable, int) - 类 中的静态方法com.xiaoleilu.hutool.exceptions.ExceptionUtil
堆栈转为单行完整字符串
stacktraceToString(Throwable) - 类 中的静态方法com.xiaoleilu.hutool.exceptions.ExceptionUtil
堆栈转为完整字符串
stacktraceToString(Throwable, int) - 类 中的静态方法com.xiaoleilu.hutool.exceptions.ExceptionUtil
堆栈转为完整字符串
stacktraceToString(Throwable, int, Map<Character, String>) - 类 中的静态方法com.xiaoleilu.hutool.exceptions.ExceptionUtil
堆栈转为完整字符串
start() - 类 中的方法com.xiaoleilu.hutool.date.TimeInterval
 
start() - 接口 中的方法com.xiaoleilu.hutool.io.StreamProgress
开始
start() - 类 中的方法com.xiaoleilu.hutool.lang.SyncFinisher
开始工作
start() - 类 中的静态方法com.xiaoleilu.hutool.util.CronUtil
开始
startWith(String, String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
是否以指定字符串开头
startWithIgnoreCase(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
是否以指定字符串开头,忽略大小写
state(boolean, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert a boolean expression, throwing IllegalStateException if the test result is false.
state(boolean) - 类 中的静态方法com.xiaoleilu.hutool.lang.Assert
Assert a boolean expression, throwing IllegalStateException if the test result is false.
StatefulException - com.xiaoleilu.hutool.exceptions中的异常错误
带有状态码的异常
StatefulException() - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.StatefulException
 
StatefulException(String) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.StatefulException
 
StatefulException(String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.StatefulException
 
StatefulException(Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.StatefulException
 
StatefulException(String, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.StatefulException
 
StatefulException(int, String) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.StatefulException
 
StatefulException(int, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.StatefulException
 
StatefulException(int, String, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.StatefulException
 
StaticLog - com.xiaoleilu.hutool.log中的类
静态日志类,用于在不引入日志对象的情况下打印日志
StaticLog() - 类 的构造器com.xiaoleilu.hutool.log.StaticLog
 
Status - com.xiaoleilu.hutool.http中的接口
返回状态码
stop() - 类 中的静态方法com.xiaoleilu.hutool.util.CronUtil
停止
STOP_WORD - 类 中的静态变量com.xiaoleilu.hutool.dfa.StopChar
不需要处理的词,如标点符号、空格等
StopChar - com.xiaoleilu.hutool.dfa中的类
过滤词及一些简单处理
StopChar() - 类 的构造器com.xiaoleilu.hutool.dfa.StopChar
 
store(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
持久化当前设置,会覆盖掉之前的设置
持久化会不会保留之前的分组
store(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
持久化当前设置,会覆盖掉之前的设置
store(String, Class<?>) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
存储当前设置,会覆盖掉以前的设置
store(String) - 类 中的方法com.xiaoleilu.hutool.setting.SettingLoader
持久化当前设置,会覆盖掉之前的设置
持久化会不会保留之前的分组
str(Object, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法
str(Object, Charset) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法
str(byte[], String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
将byte数组转为字符串
str(byte[], Charset) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
解码字节码
str(Byte[], String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
将Byte数组转为字符串
str(Byte[], Charset) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
解码字节码
str(ByteBuffer, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
将编码的byteBuffer数据转换为字符串
str(ByteBuffer, Charset) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
将编码的byteBuffer数据转换为字符串
StreamProgress - com.xiaoleilu.hutool.io中的接口
Stream进度条
StrFormatter - com.xiaoleilu.hutool.lang中的类
字符串格式化工具
StrFormatter() - 类 的构造器com.xiaoleilu.hutool.lang.StrFormatter
 
StringConverter - com.xiaoleilu.hutool.convert.impl中的类
字符串转换器
StringConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.StringConverter
 
stringToValue(String) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
Try to convert a string into a number, boolean, or null.
strToBcd(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.BCD
字符串转BCD码
strToUnicode(String) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
String的字符串转换成unicode的String
StrUtil - com.xiaoleilu.hutool.util中的类
字符串工具类
StrUtil() - 类 的构造器com.xiaoleilu.hutool.util.StrUtil
 
sub(List<T>, int, int) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
截取数组的部分
sub(Collection<T>, int, int) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
截取集合的部分
sub(String, int, int) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
改进JDK subString
index从0开始计算,最后一个字符为-1
如果from和to位置一样,返回 ""
如果from或to为负数,则按照length从后向前数位置,如果绝对值大于字符串长度,则from归到0,to归到length
如果经过修正的index中from大于to,则互换from和to example:
abcdefgh 2 3 -> c
abcdefgh 2 -3 -> cde
subList(int, int) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
subPath(String, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得相对子路径
subPath(String, File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
获得相对子路径
subPre(String, int) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
切割前部分
subSuf(String, int) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
切割后部分
SymmetricAlgorithm - com.xiaoleilu.hutool.crypto.symmetric中的枚举
对称算法类型
see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyGenerator
SymmetricCriptor - com.xiaoleilu.hutool.crypto.symmetric中的类
对称加密算法
SymmetricCriptor(SymmetricAlgorithm) - 类 的构造器com.xiaoleilu.hutool.crypto.symmetric.SymmetricCriptor
构造
SymmetricCriptor(String) - 类 的构造器com.xiaoleilu.hutool.crypto.symmetric.SymmetricCriptor
构造
SymmetricCriptor(SymmetricAlgorithm, byte[]) - 类 的构造器com.xiaoleilu.hutool.crypto.symmetric.SymmetricCriptor
构造
SymmetricCriptor(String, byte[]) - 类 的构造器com.xiaoleilu.hutool.crypto.symmetric.SymmetricCriptor
 
SyncFinisher - com.xiaoleilu.hutool.lang中的类
线程同步结束器
在完成一组正在其他线程中执行的操作之前,它允许一个或多个线程一直等待。
SyncFinisher() - 类 的构造器com.xiaoleilu.hutool.lang.SyncFinisher
 
SyncFinisher.Worker - com.xiaoleilu.hutool.lang中的类
工作者,为一个线程
SyncFinisher.Worker() - 类 的构造器com.xiaoleilu.hutool.lang.SyncFinisher.Worker
 
syntaxError(String) - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
Make a JSONException to signal a syntax error.
systemCharset() - 类 中的静态方法com.xiaoleilu.hutool.util.CharsetUtil
系统字符集编码,与 CharsetUtil.defaultCharsetName()功能相同,别名不同
SystemUtil - com.xiaoleilu.hutool.system中的类
Java的System类封装工具类。

T

TAB - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
Table - com.xiaoleilu.hutool.db.meta中的类
数据库表信息
Table(String) - 类 的构造器com.xiaoleilu.hutool.db.meta.Table
 
tableName - 类 中的变量com.xiaoleilu.hutool.db.DaoTemplate
表名
testValidity(Object) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
如果对象是Number 且是 NaN or infinite,将抛出异常
thisDayOfMonth() - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
 
thisDayOfWeek() - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
 
thisDayOfWeekEnum() - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
 
thisHour(boolean) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
 
thisMillsecond() - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
 
thisMinute() - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
 
thisMonth() - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
 
thisMonthEnum() - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
 
thisSecond() - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
 
thisWeekOfMonth() - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
 
thisWeekOfYear() - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
 
thisYear() - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
 
ThreadUtil - com.xiaoleilu.hutool.util中的类
线程池工具
ThreadUtil() - 类 的构造器com.xiaoleilu.hutool.util.ThreadUtil
 
TianlFilter - com.xiaoleilu.hutool.bloomFilter.filter中的类
 
TianlFilter(long, int) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.TianlFilter
 
TianlFilter(long) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.TianlFilter
 
tianlHash(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
TianL Hash算法
TimedCache<K,V> - com.xiaoleilu.hutool.cache中的类
定时缓存
此缓存没有容量限制,对象只有在过期后才会被移除
TimedCache(long) - 类 的构造器com.xiaoleilu.hutool.cache.TimedCache
构造
TimeInterval - com.xiaoleilu.hutool.date中的类
计时器
计算某个过程花费的时间,精确到毫秒
TimeInterval() - 类 的构造器com.xiaoleilu.hutool.date.TimeInterval
 
TimeInterval(boolean) - 类 的构造器com.xiaoleilu.hutool.date.TimeInterval
 
TimeIntervalAspect - com.xiaoleilu.hutool.proxy.aspects中的类
通过日志打印方法的执行时间的切面
TimeIntervalAspect(Object) - 类 的构造器com.xiaoleilu.hutool.proxy.aspects.TimeIntervalAspect
 
timeout - 类 中的变量com.xiaoleilu.hutool.cache.AbstractCache
缓存失效时长, 0 表示没有设置
timeout() - 类 中的方法com.xiaoleilu.hutool.cache.AbstractCache
 
timeout() - 接口 中的方法com.xiaoleilu.hutool.cache.Cache
 
timeout() - 类 中的方法com.xiaoleilu.hutool.cache.FileLFUCache
 
timeout() - 类 中的方法com.xiaoleilu.hutool.cache.NoCache
 
timeout(int) - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
设置超时
timer() - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
计时器
计算某个过程花费的时间,精确到毫秒
timeZone - 类 中的变量com.xiaoleilu.hutool.date.format.AbstractDateBasic
The time zone.
TimeZoneConverter - com.xiaoleilu.hutool.convert.impl中的类
TimeZone转换器
TimeZoneConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.TimeZoneConverter
 
TLS - 类 中的静态变量com.xiaoleilu.hutool.http.ssl.SSLSocketFactoryBuilder
Supports some version of TLS; may support other versions
TLSv1 - 类 中的静态变量com.xiaoleilu.hutool.http.ssl.SSLSocketFactoryBuilder
Supports RFC 2246: TLS version 1.0 ; may support other versions
TLSv11 - 类 中的静态变量com.xiaoleilu.hutool.http.ssl.SSLSocketFactoryBuilder
Supports RFC 4346: TLS version 1.1 ; may support other versions
TLSv12 - 类 中的静态变量com.xiaoleilu.hutool.http.ssl.SSLSocketFactoryBuilder
Supports RFC 5246: TLS version 1.2 ; may support other versions
TMPDIR - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
toAbsoluteUrl(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.NetUtil
相对URL转换为绝对URL
toArray() - 类 中的方法com.xiaoleilu.hutool.io.FastByteBuffer
返回快速缓冲中的数据
toArray(int, int) - 类 中的方法com.xiaoleilu.hutool.io.FastByteBuffer
返回快速缓冲中的数据
toArray() - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
toArray(T[]) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
toBean(Class<T>) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
转为实体类对象
toBean(T) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
转为实体类对象
toBean(JSONObject, Class<T>) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
转为实体类对象
toBean(T) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
转换为Bean对象
toBean(T, boolean) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
转换为Bean对象
toBean(Class<T>) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
填充Value Object对象
toBean(String, Object) - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
将setting中的键值关系映射到对象中,原理是调用对象对应的set方法
只支持基本类型的转换
toBean(Object) - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
将setting中的键值关系映射到对象中,原理是调用对象对应的set方法
只支持基本类型的转换
toBean(Class<T>, BeanUtil.ValueProvider) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
ServletRequest 参数转Bean
toBeanIgnoreCase(Class<T>) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
填充Value Object对象,忽略大小写
toBigDecimal(Object, BigDecimal) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为BigDecimal
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toBigDecimal(Object) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为BigDecimal
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toBigInteger(Object, BigInteger) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为BigInteger
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toBigInteger(Object) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为BigInteger
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
toBool(Object, Boolean) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为boolean
String支持的值为:true、false、yes、ok、no,1,0 如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toBool(Object) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为boolean
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
toBooleanArray(boolean, Object...) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为Boolean数组
toByte(Object, Byte) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为byte
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
toByte(Object) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为byte
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
toByteArray() - 类 中的方法com.xiaoleilu.hutool.io.FastByteArrayOutputStream
 
toCalendar() - 类 中的方法com.xiaoleilu.hutool.date.DateTime
转换为Calendar
toCamelCase(String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
将下划线方式命名的字符串转换为驼峰式。
toChar(Object, Character) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为字符
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
toChar(Object) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为字符
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
today() - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
当前日期,格式 yyyy-MM-dd
toDBC(String) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
全角转半角
toDBC(String, Set<Character>) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
替换全角为半角
toDouble(Object, Double) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为double
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toDouble(Object) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为double
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
toDoubleArray(boolean, Object...) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为Double数组
toEnum(Class<E>, Object, E) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为Enum对象
如果给定的值为空,或者转换失败,返回默认值
toEnum(Class<E>, Object) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为Enum对象
如果给定的值为空,或者转换失败,返回默认值null
toFile(VelocityEngine, String, VelocityContext, String) - 类 中的静态方法com.xiaoleilu.hutool.util.VelocityUtil
生成文件
toFile(String, VelocityContext, String) - 类 中的静态方法com.xiaoleilu.hutool.util.VelocityUtil
生成文件,使用默认引擎
toFile(Template, VelocityContext, String) - 类 中的静态方法com.xiaoleilu.hutool.util.VelocityUtil
生成文件
toFile(Document, String) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
将XML文档写入到文件
使用Document中的编码
toFile(Document, String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
将XML文档写入到文件
toFloat(Object, Float) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为Float
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toFloat(Object) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为Float
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
toFloatArray(boolean, Object...) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为Float数组
toHex(String) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
字符串转换成十六进制字符串
toHex(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
byte数组转16进制串
toInt(Object, Integer) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为int
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toInt(Object) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为int
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
toIntArray(boolean, Object...) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为Integer数组
toIntSecond(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
格式化成yyMMddHHmm后转换为int型
toJSON() - 类 中的方法com.xiaoleilu.hutool.json.JSONSupport
 
toJSONArray(Collection<String>) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
将指定KEY列表的值组成新的JSONArray
toJSONArray() - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
转为 JSONArray
toJSONObject(JSONArray) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
toJSONObject(String) - 类 中的静态方法com.xiaoleilu.hutool.json.XML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject.
toJSONObject(String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.json.XML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject.
toJsonPrettyStr(JSON) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
转为JSON字符串
toJsonPrettyStr(Object) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
转换为格式化后的JSON字符串
toJsonStr(JSON, int) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
转为JSON字符串
toJsonStr(JSON) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
转为JSON字符串
toJsonStr(Object) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
转换为JSON字符串
toJSONString(int) - 接口 中的方法com.xiaoleilu.hutool.json.JSON
转换为JSON字符串
toJSONString(int) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Make a prettyprinted JSON text of this JSONArray.
toJSONString(int) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
Make a prettyprinted JSON text of this JSONObject.
toJSONString() - 接口 中的方法com.xiaoleilu.hutool.json.JSONString
The toJSONString method allows a class to produce its own JSON serialization.
toJSONString() - 类 中的方法com.xiaoleilu.hutool.json.JSONSupport
 
toList() - 类 中的方法com.xiaoleilu.hutool.lang.BoundedPriorityQueue
 
toLong(Object, Long) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为long
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toLong(Object) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为long
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
toLongArray(boolean, Object...) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为Long数组
toMap(Collection<Map.Entry<T, K>>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
将Entry集合转换为HashMap
TomcatDSFactory - com.xiaoleilu.hutool.db.ds.tomcat中的类
Tomcat-Jdbc-Pool数据源工厂类
TomcatDSFactory() - 类 的构造器com.xiaoleilu.hutool.db.ds.tomcat.TomcatDSFactory
 
TomcatDSFactory(Setting) - 类 的构造器com.xiaoleilu.hutool.db.ds.tomcat.TomcatDSFactory
 
toMsStr() - 类 中的方法com.xiaoleilu.hutool.date.DateTime
 
toNumber(Object, Number) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为Number
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toNumber(Object) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为Number
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
toParams(Map<String, Object>) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
将Map形式的Form表单数据转换为Url参数形式,不做编码
toParams(Map<String, Object>, String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
将Map形式的Form表单数据转换为Url参数形式
编码键和值对
toParams(Map<String, Object>, Charset) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
将Map形式的Form表单数据转换为Url参数形式
编码键和值对
toPrettyString() - 类 中的方法com.xiaoleilu.hutool.json.JSONSupport
美化的JSON(使用回车缩进显示JSON),用于打印输出debug
toProperties() - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
转换为Properties对象,原分组变为前缀
toSBC(String) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
半角转全角
toSBC(String, Set<Character>) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
半角转全角
toShort(Object, Short) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为Short
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
toShort(Object) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为Short
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
toStr(Object, String) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为字符串
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
toStr(Object) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
转换为字符串
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
toStr(Document) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
将XML文档转换为String
toStr(Document, String) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
将XML文档转换为String
此方法会修改Document中的字符集
toStream(String, String) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
String 转为流
toStream(String, Charset) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
String 转为流
toStream(File) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
文件转为流
toString() - 类 中的方法com.xiaoleilu.hutool.cache.AbstractCache
 
toString() - 类 中的方法com.xiaoleilu.hutool.cache.CacheObj
 
toString(BetweenFormater.Level) - 类 中的方法com.xiaoleilu.hutool.date.DateBetween
格式化输出时间差
toString() - 类 中的方法com.xiaoleilu.hutool.date.DateBetween
 
toString() - 类 中的方法com.xiaoleilu.hutool.date.DateTime
 
toString(String) - 类 中的方法com.xiaoleilu.hutool.date.DateTime
转为字符串
toString() - 类 中的方法com.xiaoleilu.hutool.date.format.AbstractDateBasic
 
toString() - 类 中的方法com.xiaoleilu.hutool.date.format.FastDateFormat
 
toString() - 类 中的方法com.xiaoleilu.hutool.db.Entity
 
toString() - 类 中的方法com.xiaoleilu.hutool.db.meta.Column
 
toString() - 类 中的方法com.xiaoleilu.hutool.db.Page
 
toString() - 类 中的方法com.xiaoleilu.hutool.db.sql.Condition
 
toString() - 类 中的方法com.xiaoleilu.hutool.db.sql.Order
 
toString() - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
 
toString() - 枚举 中的方法com.xiaoleilu.hutool.http.Header
 
toString() - 类 中的方法com.xiaoleilu.hutool.http.HttpBase
 
toString() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
 
toString() - 类 中的方法com.xiaoleilu.hutool.http.HttpResponse
 
toString() - 类 中的方法com.xiaoleilu.hutool.io.FastByteArrayOutputStream
 
toString(String) - 类 中的方法com.xiaoleilu.hutool.io.FastByteArrayOutputStream
 
toString(Charset) - 类 中的方法com.xiaoleilu.hutool.io.FastByteArrayOutputStream
 
toString() - 类 中的方法com.xiaoleilu.hutool.io.resource.ClassPathResource
 
toString() - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Make a JSON text of this JSONArray.
toString() - 类 中的方法com.xiaoleilu.hutool.json.JSONNull
Get the "null" string value.
toString() - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
Make a JSON text of this JSONObject.
toString() - 类 中的方法com.xiaoleilu.hutool.json.JSONSupport
 
toString() - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
Make a printable string of this JSONTokener.
toString(Object) - 类 中的静态方法com.xiaoleilu.hutool.json.XML
Convert a JSONObject into a well-formed, element-normal XML string.
toString(Object, String) - 类 中的静态方法com.xiaoleilu.hutool.json.XML
Convert a JSONObject into a well-formed, element-normal XML string.
toString() - 类 中的方法com.xiaoleilu.hutool.lang.Tuple
 
toString() - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
 
toString() - 类 中的方法com.xiaoleilu.hutool.system.HostInfo
将当前主机的信息转换成字符串。
toString() - 类 中的方法com.xiaoleilu.hutool.system.JavaInfo
将Java Implementation的信息转换成字符串。
toString() - 类 中的方法com.xiaoleilu.hutool.system.JavaRuntimeInfo
将当前运行的JRE信息转换成字符串。
toString() - 类 中的方法com.xiaoleilu.hutool.system.JavaSpecInfo
将Java Specification的信息转换成字符串。
toString() - 类 中的方法com.xiaoleilu.hutool.system.JvmInfo
将Java Virutal Machine Implementation的信息转换成字符串。
toString() - 类 中的方法com.xiaoleilu.hutool.system.JvmSpecInfo
将Java Virutal Machine Specification的信息转换成字符串。
toString() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
将OS的信息转换成字符串。
toString() - 类 中的方法com.xiaoleilu.hutool.system.RuntimeInfo
 
toString() - 类 中的方法com.xiaoleilu.hutool.system.UserInfo
将当前用户的信息转换成字符串。
toString(Object) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
数组或集合转String
totalPage(int, int) - 类 中的静态方法com.xiaoleilu.hutool.util.PageUtil
根据总数计算总页数
toTreeSet(Collection<T>, Comparator<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
将集合转换为排序后的TreeSet
touch(String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
touch(File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
touch(File, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
touch(String, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
toUnderlineCase(String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
将驼峰式命名的字符串转换为下划线方式。
toURI(URL) - 类 中的静态方法com.xiaoleilu.hutool.util.URLUtil
转URL为URI
toURI(String) - 类 中的静态方法com.xiaoleilu.hutool.util.URLUtil
转字符串为URI
toWriter(VelocityEngine, String, VelocityContext, Writer) - 类 中的静态方法com.xiaoleilu.hutool.util.VelocityUtil
生成内容写入流
会自动关闭Writer
toWriter(String, VelocityContext, Writer) - 类 中的静态方法com.xiaoleilu.hutool.util.VelocityUtil
生成内容写入流
会自动关闭Writer
toWriter(String, HttpServletRequest, HttpServletResponse) - 类 中的静态方法com.xiaoleilu.hutool.util.VelocityUtil
生成内容写到响应内容中
模板的变量来自于Request的Attribute对象
toXmlStr(JSON) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
转换为XML字符串
trace(String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpRequest
TRACE请求
trace(Throwable) - 类 中的方法com.xiaoleilu.hutool.log.AbstractLog
 
trace(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog
 
trace(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog
 
trace(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
trace(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
trace(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.console.ConsoleLog
 
trace(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.console.ConsoleLog
 
trace(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
trace(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
trace(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
trace(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
trace(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
trace(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
trace(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
trace(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
trace(Throwable) - 接口 中的方法com.xiaoleilu.hutool.log.level.TraceLog
打印 TRACE 等级的日志
trace(String, Object...) - 接口 中的方法com.xiaoleilu.hutool.log.level.TraceLog
打印 TRACE 等级的日志
trace(Throwable, String, Object...) - 接口 中的方法com.xiaoleilu.hutool.log.level.TraceLog
打印 TRACE 等级的日志
trace(String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
Trace等级日志,小于debug
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
trace(Log, String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
Trace等级日志,小于Debug
TraceLog - com.xiaoleilu.hutool.log.level中的接口
TRACE级别日志接口
transElements(NodeList) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
将NodeList转换为Element列表
transElements(Element, NodeList) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
将NodeList转换为Element列表
transToStartEnd(int, int) - 类 中的静态方法com.xiaoleilu.hutool.util.PageUtil
将页数和每页条目数转换为开始位置和结束位置
此方法用于不包括结束位置的分页方法
例如:
页码:1,每页10 -> [0, 10]
页码:2,每页10 -> [10, 20]
。。。
trim(String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
除去字符串头尾部的空白,如果字符串是null,依然返回null
trim(String[]) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
给定字符串数组全部做去首尾空格
trim(String, int) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
除去字符串头尾部的空白符,如果字符串是null,依然返回null
trimEnd(String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
除去字符串尾部的空白,如果字符串是null,则返回null
trimStart(String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
除去字符串头部的空白,如果字符串是null,则返回null
TrustAnyHostnameVerifier - com.xiaoleilu.hutool.http.ssl中的类
https 域名校验
TrustAnyHostnameVerifier() - 类 的构造器com.xiaoleilu.hutool.http.ssl.TrustAnyHostnameVerifier
 
Tuple - com.xiaoleilu.hutool.lang中的类
不可变数组类型,用于多值返回
Tuple(Object...) - 类 的构造器com.xiaoleilu.hutool.lang.Tuple
 

U

UNDERLINE - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
unescape(String) - 类 中的静态方法com.xiaoleilu.hutool.util.EscapeUtil
Escape解码
unGzip(byte[], String) - 类 中的静态方法com.xiaoleilu.hutool.util.ZipUtil
Gzip解压缩处理
unGzip(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ZipUtil
Gzip解压处理
unicodeToStr(String) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
unicode的String转换成String的字符串
union(Collection<T>, Collection<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
两个集合的并集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最多的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c, c],此结果中只保留了三个c
union(Collection<T>, Collection<T>, Collection<T>...) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
多个集合的并集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最多的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c, c],此结果中只保留了三个c
universal(char[], int, int[]) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
Universal Hashing
unserialize(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ObjectUtil
反序列化
对象必须实现Serializable接口
unWrap(Class<?>) - 枚举 中的静态方法com.xiaoleilu.hutool.convert.BasicType
包装类转为原始类,非包装类返回原类
unWrap(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
包装类转为原始类,非包装类返回原类
unwrap(Class<T>) - 类 中的方法com.xiaoleilu.hutool.db.ds.pooled.ConnectionWraper
 
unwrap(Class<T>) - 类 中的方法com.xiaoleilu.hutool.db.ds.simple.AbstractDataSource
 
unwrap(Throwable) - 类 中的静态方法com.xiaoleilu.hutool.exceptions.ExceptionUtil
剥离反射引发的InvocationTargetException、UndeclaredThrowableException中间异常,返回业务本身的异常
unWrap(Integer...) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
包装类数组转为原始类型数组
unWrap(Long...) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
包装类数组转为原始类型数组
unWrap(Character...) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
包装类数组转为原始类型数组
unWrap(Byte...) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
包装类数组转为原始类型数组
unWrap(Short...) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
包装类数组转为原始类型数组
unWrap(Float...) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
包装类数组转为原始类型数组
unWrap(Double...) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
包装类数组转为原始类型数组
unWrap(Boolean...) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
包装类数组转为原始类型数组
unwrapHtmlTag(String, String...) - 类 中的静态方法com.xiaoleilu.hutool.util.HtmlUtil
清除指定HTML标签,不包括内容
不区分大小写
unzip(File) - 类 中的静态方法com.xiaoleilu.hutool.util.ZipUtil
解压到文件名相同的目录中
unzip(String) - 类 中的静态方法com.xiaoleilu.hutool.util.ZipUtil
解压到文件名相同的目录中
unzip(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.ZipUtil
解压
unzip(File, File) - 类 中的静态方法com.xiaoleilu.hutool.util.ZipUtil
解压
update(Entity, Entity) - 类 中的方法com.xiaoleilu.hutool.db.AbstractSqlRunner
更新数据
update(Entity, Entity) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
按照条件更新
update(Entity) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
更新
update(Entity) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
更新
update(Connection, Entity, Entity) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
更新数据
此方法不会关闭Connection
upperFirst(String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
大写首字母
例如:str = name, return Name
upperFirstAndAddPre(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
原字符串首字母大写并在其首部添加指定字符串 例如:str=name, preString=get -> return getName
URIConverter - com.xiaoleilu.hutool.convert.impl中的类
字符串转换器
URIConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.URIConverter
 
URL - 类 中的静态变量com.xiaoleilu.hutool.lang.Validator
URL
url(String) - 类 中的静态方法com.xiaoleilu.hutool.util.URLUtil
创建URL对象
URLConverter - com.xiaoleilu.hutool.convert.impl中的类
字符串转换器
URLConverter() - 类 的构造器com.xiaoleilu.hutool.convert.impl.URLConverter
 
URLUtil - com.xiaoleilu.hutool.util中的类
统一资源定位符相关工具类
URLUtil() - 类 的构造器com.xiaoleilu.hutool.util.URLUtil
 
urlWithForm(String, Map<String, Object>) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
将表单数据加到URL中(用于GET表单提交)
urlWithForm(String, String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
将表单数据字符串加到URL中(用于GET表单提交)
usedSize - 类 中的变量com.xiaoleilu.hutool.cache.FileLFUCache
已使用缓存空间
USER_DIR - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
USER_HOME - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
USER_NAME - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
用户信息
UserInfo - com.xiaoleilu.hutool.system中的类
代表当前用户的信息。
UserInfo() - 类 的构造器com.xiaoleilu.hutool.system.UserInfo
 
utf8Bytes(String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
编码字符串,编码为UTF-8
utf8Str(Object) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法
UTF_8 - 类 中的静态变量com.xiaoleilu.hutool.util.CharsetUtil
UTF-8
UtilException - com.xiaoleilu.hutool.exceptions中的异常错误
工具类异常
UtilException(Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.UtilException
 
UtilException(String) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.UtilException
 
UtilException(String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.UtilException
 
UtilException(String, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.UtilException
 
UtilException(Throwable, String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.UtilException
 
UUID - 类 中的静态变量com.xiaoleilu.hutool.lang.Validator
UUID
UUID_SIMPLE - 类 中的静态变量com.xiaoleilu.hutool.lang.Validator
不带横线的UUID

V

validateBirthday(String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证验证是否为生日
validateChinese(String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为汉字
validateCitizenIdNumber(String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为身份证号码(18位中国)
出生日期只支持到到2999年
validateEmail(String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为可用邮箱地址
validateEntity(Entity) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
验证实体类对象的有效性
validateEqual(Object, Object, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否相等,不相等抛出异常
ValidateException - com.xiaoleilu.hutool.exceptions中的异常错误
验证异常
ValidateException() - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.ValidateException
 
ValidateException(String) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.ValidateException
 
ValidateException(String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.ValidateException
 
ValidateException(Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.ValidateException
 
ValidateException(String, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.ValidateException
 
ValidateException(int, String) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.ValidateException
 
ValidateException(int, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.ValidateException
 
ValidateException(int, String, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.ValidateException
 
validateGeneral(String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为英文字母 、数字和下划线
validateGeneral(String, int, int, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为给定长度范围的英文字母 、数字和下划线
validateGeneral(String, int, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为给定最小长度的英文字母 、数字和下划线
validateGeneralWithChinese(String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为中文字、英文字母、数字和下划线
validateIpv4(String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为IPV4地址
validateMatchRegex(String, String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
通过正则表达式验证
不符合正则
validateMobile(String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为手机号码(中国)
validateMoney(String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为货币
validateNotEmpty(T, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为空,为空时抛出异常
对于String类型判定是否为empty(null 或 "")
validateNotEmptyAndEqual(Object, Object, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否非空且与指定值相等
当数据为空时抛出验证异常
当两值不等时抛出异常
validateNotEmptyAndNotEqual(Object, Object, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否非空且与指定值相等
当数据为空时抛出验证异常
当两值相等时抛出异常
validateNotEqual(Object, Object, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否不等,相等抛出异常
validateNumbers(String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为数字
validateUrl(String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为URL
validateUUID(String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为UUID
包括带横线标准格式和不带横线的简单模式
validateZipCode(String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为邮政编码(中国)
Validator - com.xiaoleilu.hutool.lang中的类
字段验证器
Validator() - 类 的构造器com.xiaoleilu.hutool.lang.Validator
 
value - 类 中的变量com.xiaoleilu.hutool.lang.Holder
 
value(String) - 接口 中的方法com.xiaoleilu.hutool.util.BeanUtil.ValueProvider
获取值
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.convert.BasicType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricAlgorithm
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.crypto.asymmetric.KeyType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.crypto.digest.DigestAlgorithm
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.crypto.digest.HmacAlgorithm
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.crypto.symmetric.SymmetricAlgorithm
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.date.BetweenFormater.Level
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.date.DateField
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.date.DateUnit
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.date.Month
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.date.Season
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.date.Week
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.db.dialect.DialectName
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.db.sql.Condition.LikeType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.db.sql.Direction
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.db.sql.LogicalOperator
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.db.sql.SqlBuilder.Join
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.http.Header
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.http.Method
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.log.level.Level
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.convert.BasicType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricAlgorithm
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.crypto.asymmetric.KeyType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.crypto.digest.DigestAlgorithm
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.crypto.digest.HmacAlgorithm
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.crypto.symmetric.SymmetricAlgorithm
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.date.BetweenFormater.Level
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.date.DateField
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.date.DateUnit
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.date.Month
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.date.Season
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.date.Week
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.db.dialect.DialectName
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.db.sql.Condition.LikeType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.db.sql.Direction
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.db.sql.LogicalOperator
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.db.sql.SqlBuilder.Join
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.http.Header
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.http.Method
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
 
values() - 枚举 中的静态方法com.xiaoleilu.hutool.log.level.Level
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
 
valueToString(Object) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
Make a JSON text of an Object value.
VelocityUtil - com.xiaoleilu.hutool.util中的类
Velocity模板引擎工具类
使用前必须初始化工具类
VelocityUtil() - 类 的构造器com.xiaoleilu.hutool.util.VelocityUtil
 
VENDOR - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
VENDOR_URL - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
verify(byte[], byte[]) - 类 中的方法com.xiaoleilu.hutool.crypto.asymmetric.AsymmetricCriptor
用公钥检验数字签名的合法性
verify(String, SSLSession) - 类 中的方法com.xiaoleilu.hutool.http.ssl.TrustAnyHostnameVerifier
 
VERSION - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
VM_NAME - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
Java虚拟机信息
VM_SPECIFICATION_NAME - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
VM_SPECIFICATION_VENDOR - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
VM_SPECIFICATION_VERSION - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
VM_VENDEOR - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
VM_VERSION - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 

W

warn(Throwable) - 类 中的方法com.xiaoleilu.hutool.log.AbstractLog
 
warn(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog
 
warn(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog
 
warn(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
warn(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
warn(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.console.ConsoleLog
 
warn(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.console.ConsoleLog
 
warn(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
warn(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.jdk.JdkLog
 
warn(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
warn(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j.Log4jLog
 
warn(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
warn(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.log4j2.Log4j2Log
 
warn(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
warn(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.slf4j.Slf4jLog
 
warn(Throwable) - 接口 中的方法com.xiaoleilu.hutool.log.level.WarnLog
打印 WARN 等级的日志
warn(String, Object...) - 接口 中的方法com.xiaoleilu.hutool.log.level.WarnLog
打印 WARN 等级的日志
warn(Throwable, String, Object...) - 接口 中的方法com.xiaoleilu.hutool.log.level.WarnLog
打印 WARN 等级的日志
warn(String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
Warn等级日志,小于Error
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
warn(Log, String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
Warn等级日志,小于Error
warn(Throwable, String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
Warn等级日志,小于Error
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
warn(Log, Throwable, String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
Warn等级日志,小于Error
WarnLog - com.xiaoleilu.hutool.log.level中的接口
WARN级别日志接口
watch() - 类 中的方法com.xiaoleilu.hutool.watch.WatchMonitor
开始监听事件,阻塞当前进程
watch(Watcher) - 类 中的方法com.xiaoleilu.hutool.watch.WatchMonitor
开始监听事件,阻塞当前进程
Watcher - com.xiaoleilu.hutool.watch中的接口
观察者
WatchException - com.xiaoleilu.hutool.watch中的异常错误
监听异常
WatchException(Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.watch.WatchException
 
WatchException(String) - 异常错误 的构造器com.xiaoleilu.hutool.watch.WatchException
 
WatchException(String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.watch.WatchException
 
WatchException(String, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.watch.WatchException
 
WatchException(Throwable, String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.watch.WatchException
 
WatchMonitor - com.xiaoleilu.hutool.watch中的类
路径监听器
监听器可监听目录或文件
WatchMonitor(File, WatchEvent.Kind<?>...) - 类 的构造器com.xiaoleilu.hutool.watch.WatchMonitor
构造
WatchMonitor(String, WatchEvent.Kind<?>...) - 类 的构造器com.xiaoleilu.hutool.watch.WatchMonitor
构造
WatchMonitor(Path, WatchEvent.Kind<?>...) - 类 的构造器com.xiaoleilu.hutool.watch.WatchMonitor
构造
Week - com.xiaoleilu.hutool.date中的枚举
星期枚举
与Calendar中的星期int值对应
weekCount(Date, Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
计算指定指定时间区间内的周数
weekOfMonth() - 类 中的方法com.xiaoleilu.hutool.date.DateTime
获得指定日期是所在月份的第几周
weekOfMonth(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
获得指定日期是所在月份的第几周
weekOfYear() - 类 中的方法com.xiaoleilu.hutool.date.DateTime
获得指定日期是所在年份的第几周
weekOfYear(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
获得指定日期是所在年份的第几周
where(LogicalOperator, Condition...) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
添加Where语句
只支持单一的逻辑运算符(例如多个条件之间)
where(String) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
添加Where语句
WordTree - com.xiaoleilu.hutool.dfa中的类
DFA(Deterministic Finite Automaton 确定有穷自动机) DFA单词树(以下简称单词树),常用于在某大段文字中快速查找某几个关键词是否存在。
WordTree() - 类 的构造器com.xiaoleilu.hutool.dfa.WordTree
默认构造
work() - 类 中的方法com.xiaoleilu.hutool.lang.SyncFinisher.Worker
 
wrap(Class<?>) - 枚举 中的静态方法com.xiaoleilu.hutool.convert.BasicType
原始类转为包装类,非原始类返回原类
wrap(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.convert.Convert
原始类转为包装类,非原始类返回原类
wrap(String) - 类 中的方法com.xiaoleilu.hutool.db.sql.Wrapper
包装字段名
有时字段与SQL的某些关键字冲突,导致SQL出错,因此需要将字段名用单引号或者反引号包装起来,避免冲突
wrap(String...) - 类 中的方法com.xiaoleilu.hutool.db.sql.Wrapper
包装字段名
有时字段与SQL的某些关键字冲突,导致SQL出错,因此需要将字段名用单引号或者反引号包装起来,避免冲突
wrap(Collection<String>) - 类 中的方法com.xiaoleilu.hutool.db.sql.Wrapper
包装字段名
有时字段与SQL的某些关键字冲突,导致SQL出错,因此需要将字段名用单引号或者反引号包装起来,避免冲突
wrap(Entity) - 类 中的方法com.xiaoleilu.hutool.db.sql.Wrapper
包装字段名
有时字段与SQL的某些关键字冲突,导致SQL出错,因此需要将字段名用单引号或者反引号包装起来,避免冲突
wrap(Condition...) - 类 中的方法com.xiaoleilu.hutool.db.sql.Wrapper
包装字段名
有时字段与SQL的某些关键字冲突,导致SQL出错,因此需要将字段名用单引号或者反引号包装起来,避免冲突
wrap(Object) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
在需要的时候包装对象
If null -> JSONNull.NULL
If it is an array or collection, wrap it in a JSONArray.
wrap(int...) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
将原始类型数组包装为包装类型
wrap(long...) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
将原始类型数组包装为包装类型
wrap(char...) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
将原始类型数组包装为包装类型
wrap(byte...) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
将原始类型数组包装为包装类型
wrap(short...) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
将原始类型数组包装为包装类型
wrap(float...) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
将原始类型数组包装为包装类型
wrap(double...) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
将原始类型数组包装为包装类型
wrap(boolean...) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
将原始类型数组包装为包装类型
wrap(Object) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
包装数组对象
wrap(String, String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
包装指定字符串
wrapper - 类 中的变量com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect
 
Wrapper - com.xiaoleilu.hutool.db.sql中的类
包装器
主要用于字段名的包装(在字段名的前后加字符,例如反引号来避免与数据库的关键字冲突)
Wrapper() - 类 的构造器com.xiaoleilu.hutool.db.sql.Wrapper
 
Wrapper(Character) - 类 的构造器com.xiaoleilu.hutool.db.sql.Wrapper
构造
Wrapper(Character, Character) - 类 的构造器com.xiaoleilu.hutool.db.sql.Wrapper
包装符号
wrapperPrimitiveMap - 枚举 中的静态变量com.xiaoleilu.hutool.convert.BasicType
原始类型为Key,包装类型为Value,例如: int.class -> Integer.class.
wrapRuntime(Throwable) - 类 中的静态方法com.xiaoleilu.hutool.exceptions.ExceptionUtil
使用运行时异常包装编译异常
write(byte[], int, int) - 类 中的方法com.xiaoleilu.hutool.io.FastByteArrayOutputStream
 
write(int) - 类 中的方法com.xiaoleilu.hutool.io.FastByteArrayOutputStream
 
write(String, boolean) - 类 中的方法com.xiaoleilu.hutool.io.file.FileWriter
将String写入文件
write(String) - 类 中的方法com.xiaoleilu.hutool.io.file.FileWriter
将String写入文件,覆盖模式
write(byte[], int, int) - 类 中的方法com.xiaoleilu.hutool.io.file.FileWriter
写入数据到文件
write(byte[], int, int, boolean) - 类 中的方法com.xiaoleilu.hutool.io.file.FileWriter
写入数据到文件
write(OutputStream, String, boolean, Object...) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
将多部分内容写到流中,自动转换为字符串
write(Writer) - 接口 中的方法com.xiaoleilu.hutool.json.JSON
将JSON内容写入Writer,无缩进
Warning: This method assumes that the data structure is acyclical.
write(Writer, int, int) - 接口 中的方法com.xiaoleilu.hutool.json.JSON
将JSON内容写入Writer
Warning: This method assumes that the data structure is acyclical.
write(Writer) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
write(Writer, int, int) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
 
write(Writer) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
 
write(Writer, int, int) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
 
writeBytes(byte[], String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
写数据到文件中
writeBytes(byte[], File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
写数据到文件中
writeBytes(byte[], File, int, int, boolean) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
写入数据到文件
writeFromStream(InputStream) - 类 中的方法com.xiaoleilu.hutool.io.file.FileWriter
将流的内容写入文件
此方法不会关闭输入流
writeFromStream(InputStream, File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
将流的内容写入文件
writeFromStream(InputStream, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
将流的内容写入文件
writeLines(Collection<T>) - 类 中的方法com.xiaoleilu.hutool.io.file.FileWriter
将列表写入文件,覆盖模式
writeLines(Collection<T>, boolean) - 类 中的方法com.xiaoleilu.hutool.io.file.FileWriter
将列表写入文件
writeLines(Collection<T>, String, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
将列表写入文件,覆盖模式
writeLines(Collection<T>, String, String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
将列表写入文件
writeLines(Collection<T>, File, String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
将列表写入文件
writeObjectAsXml(File, T) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
将可序列化的对象转换为XML写入文件,已经存在的文件将被覆盖
Writes serializable object to a XML file.
writeObjects(OutputStream, String, boolean, Serializable...) - 类 中的静态方法com.xiaoleilu.hutool.io.IoUtil
将多部分内容写到流中
writeString(String, String, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
将String写入文件,覆盖模式
writeString(String, File, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
将String写入文件,覆盖模式
writeTo(OutputStream) - 类 中的方法com.xiaoleilu.hutool.io.FastByteArrayOutputStream
 
writeToStream(OutputStream) - 类 中的方法com.xiaoleilu.hutool.io.file.FileReader
将文件写入流中
writeToStream(File, OutputStream) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
将文件写入流中
writeToStream(String, OutputStream) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
将流的内容写入文件
writeUtf8String(String, String) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
将String写入文件,覆盖模式,字符集为UTF-8
writeUtf8String(String, File) - 类 中的静态方法com.xiaoleilu.hutool.io.FileUtil
将String写入文件,覆盖模式,字符集为UTF-8
writeValue(Writer, Object, int, int) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
写入值到Writer

X

XML - com.xiaoleilu.hutool.json中的类
提供静态方法在XML和JSONObject之间转换
XML() - 类 的构造器com.xiaoleilu.hutool.json.XML
 
XMLTokener - com.xiaoleilu.hutool.json中的类
XML分析器,继承自JSONTokener,提供XML的语法分析
XMLTokener(String) - 类 的构造器com.xiaoleilu.hutool.json.XMLTokener
Construct an XMLTokener from a string.
XmlUtil - com.xiaoleilu.hutool.util中的类
XML工具类
此工具使用w3c dom工具,不需要依赖第三方包。
XmlUtil() - 类 的构造器com.xiaoleilu.hutool.util.XmlUtil
 

Y

year() - 类 中的方法com.xiaoleilu.hutool.date.DateTime
获得年的部分
year(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
获得年的部分
yearAndSeason(Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
获得指定日期年份和季节
格式:[20131]表示2013年第一季度
yearAndSeasons(Date, Date) - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
获得指定日期区间内的年份和季节
yesterday() - 类 中的静态方法com.xiaoleilu.hutool.date.DateUtil
昨天

Z

zip(T[], K[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ArrayUtil
映射键值(参考Python的zip()函数)
例如:
keys = [a,b,c,d]
values = [1,2,3,4]
则得到的Map是 {a=1, b=2, c=3, d=4}
如果两个数组长度不同,则只对应最短部分
zip(String, String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
映射键值(参考Python的zip()函数)
例如:
keys = a,b,c,d
values = 1,2,3,4
delimiter = , 则得到的Map是 {a=1, b=2, c=3, d=4}
如果两个数组长度不同,则只对应最短部分
zip(Collection<T>, Collection<K>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
映射键值(参考Python的zip()函数)
例如:
keys = [a,b,c,d]
values = [1,2,3,4]
则得到的Map是 {a=1, b=2, c=3, d=4}
如果两个数组长度不同,则只对应最短部分
zip(String) - 类 中的静态方法com.xiaoleilu.hutool.util.ZipUtil
打包到当前目录
zip(File) - 类 中的静态方法com.xiaoleilu.hutool.util.ZipUtil
打包到当前目录
zip(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.ZipUtil
对文件或文件目录进行压缩
不包含被打包目录
zip(String, String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.ZipUtil
对文件或文件目录进行压缩
zip(File, boolean, File...) - 类 中的静态方法com.xiaoleilu.hutool.util.ZipUtil
对文件或文件目录进行压缩
ZIP_CODE - 类 中的静态变量com.xiaoleilu.hutool.lang.Validator
邮编
ZipUtil - com.xiaoleilu.hutool.util中的类
压缩工具类
ZipUtil() - 类 的构造器com.xiaoleilu.hutool.util.ZipUtil
 
zobrist(char[], int, int[][]) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
Zobrist Hashing
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 

Copyright © 2017. All rights reserved.