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.pool.ConnectionWraper
 
AbsSetting - com.xiaoleilu.hutool.setting中的类
设定抽象类
AbsSetting() - 类 的构造器com.xiaoleilu.hutool.setting.AbsSetting
 
AbstractCache<K,V> - com.xiaoleilu.hutool.cache中的类
超时和限制大小的缓存的默认实现
继承此抽象缓存需要:
创建一个新的Map 实现 prune 策略
AbstractCache() - 类 的构造器com.xiaoleilu.hutool.cache.AbstractCache
 
AbstractDataSource - com.xiaoleilu.hutool.db.ds中的类
数据源抽象实现
AbstractDataSource() - 类 的构造器com.xiaoleilu.hutool.db.ds.AbstractDataSource
 
AbstractFilter - com.xiaoleilu.hutool.bloomFilter.filter中的类
默认Bloom过滤器,使用Java的Hash算法
AbstractFilter(long, int) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.AbstractFilter
 
AbstractFilter(long) - 类 的构造器com.xiaoleilu.hutool.bloomFilter.filter.AbstractFilter
 
AbstractLog - com.xiaoleilu.hutool.log中的类
抽象日志类
AbstractLog() - 类 的构造器com.xiaoleilu.hutool.log.AbstractLog
 
accept(Class<?>) - 接口 中的方法com.xiaoleilu.hutool.util.ClassUtil.ClassFilter
 
accumulate(String, Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
Accumulate values under a key.
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(T) - 类 中的方法com.xiaoleilu.hutool.lang.ConsistentHash
增加节点
每增加一个节点,就会在闭环上增加给定复制节点数
例如复制节点数是2,则每调用此方法一次,增加两个虚拟节点,这两个节点指向同一Node 由于hash算法会调用node的toString方法,故按照toString去重
addAll(E[]) - 类 中的方法com.xiaoleilu.hutool.lang.BoundedPriorityQueue
添加多个元素
参数为集合的情况请使用AbstractQueue.addAll(java.util.Collection<? extends E>)
addAll(T[]...) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
将多个数组合并在一起
忽略null的数组
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文件,或者加载目录
addOrUpdate(Entity) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
增加或者更新实体
addPk(String) - 类 中的方法com.xiaoleilu.hutool.db.meta.Table
添加主键
addURL(URL) - 类 中的方法com.xiaoleilu.hutool.lang.JarClassLoader
 
addWorker(SyncFinisher.Worker) - 类 中的方法com.xiaoleilu.hutool.lang.SyncFinisher
增加工作线程
AnsiSqlDialect - com.xiaoleilu.hutool.db.dialect.impl中的类
ANSI SQL 方言
AnsiSqlDialect() - 类 的构造器com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect
 
ApacheCommonsLog - com.xiaoleilu.hutool.log.dialect中的类
Apache Commons Logging
ApacheCommonsLog(Log, String) - 类 的构造器com.xiaoleilu.hutool.log.dialect.ApacheCommonsLog
 
ApacheCommonsLog(Class<?>) - 类 的构造器com.xiaoleilu.hutool.log.dialect.ApacheCommonsLog
 
ApacheCommonsLog(String) - 类 的构造器com.xiaoleilu.hutool.log.dialect.ApacheCommonsLog
 
ApacheCommonsLogFactory - com.xiaoleilu.hutool.log.dialect中的类
Apache Commons Logging
ApacheCommonsLogFactory() - 类 的构造器com.xiaoleilu.hutool.log.dialect.ApacheCommonsLogFactory
 
apHash(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
AP算法
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, Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
Append values to the array under a key.
append(StringBuilder, String, String) - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
输出到StringBuilder
append(T[], T) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
将新元素添加到已有数组中
添加新元素会生成一个新的数组,不影响原数组
appendLines(Collection<T>, String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
将列表写入文件,追加模式
appendString(String, String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
将String写入文件,追加模式
appendString(String, File, String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
将String写入文件,追加模式
array(int) - 类 中的方法com.xiaoleilu.hutool.io.FastByteBuffer
根据索引位返回缓冲集中的缓冲
ArrayTypeGetter - com.xiaoleilu.hutool.getter中的接口
数组类型的Get接口
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
Assert - com.xiaoleilu.hutool.lang中的类
断言
断言某些对象或值是否符合规定,否则抛出异常。
Assert() - 类 的构造器com.xiaoleilu.hutool.lang.Assert
 
await() - 类 中的方法com.xiaoleilu.hutool.lang.SyncFinisher
等待所有Worker工作结束,否则阻塞

B

back() - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
Back up one character.
BACKSLASH - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
base64(byte[], boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.SecureUtil
编码为Base64
base64(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.SecureUtil
base64编码
base64(byte[], String) - 类 中的静态方法com.xiaoleilu.hutool.util.SecureUtil
base64编码
basicAuth(String, String) - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
简单验证
BasicSetting - com.xiaoleilu.hutool.setting.dialect中的类
分组设置工具类。
BasicSetting(Charset, boolean) - 类 的构造器com.xiaoleilu.hutool.setting.dialect.BasicSetting
基本构造
需自定义初始化配置文件
BasicSetting(String, String, boolean) - 类 的构造器com.xiaoleilu.hutool.setting.dialect.BasicSetting
构造,使用相对于Class文件根目录的相对路径
BasicSetting(File, String, boolean) - 类 的构造器com.xiaoleilu.hutool.setting.dialect.BasicSetting
构造
BasicSetting(String, Class<?>, String, boolean) - 类 的构造器com.xiaoleilu.hutool.setting.dialect.BasicSetting
构造,相对于classes读取文件
BasicSetting(URL, String, boolean) - 类 的构造器com.xiaoleilu.hutool.setting.dialect.BasicSetting
构造
BasicSetting(String) - 类 的构造器com.xiaoleilu.hutool.setting.dialect.BasicSetting
构造
BasicType - com.xiaoleilu.hutool.lang中的枚举
基本变量类型的枚举
基本类型枚举包括原始类型和包装类型
BasicTypeGetter<K> - com.xiaoleilu.hutool.getter中的接口
基本类型的getter接口
提供一个统一的接口定义返回不同类型的值(基本类型)
beanToMap(T) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
对象转Map
BeanUtil - com.xiaoleilu.hutool.util中的类
Bean工具类
BeanUtil() - 类 的构造器com.xiaoleilu.hutool.util.BeanUtil
 
BeanUtil.ValueProvider - com.xiaoleilu.hutool.util中的接口
值提供者,用于提供Bean注入时参数对应值得抽象接口
beginTransaction() - 类 中的方法com.xiaoleilu.hutool.db.Session
开始事务
bernstein(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
Bernstein's hash
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(byte[], String) - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
设置主体字节码
body() - 类 中的方法com.xiaoleilu.hutool.http.HttpResponse
获取响应主体
bodyBytes() - 类 中的方法com.xiaoleilu.hutool.http.HttpResponse
获取响应流字节码
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
构建
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)
byteBuffer(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
字符串转换为byteBuffer
bytes(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
编码字符串
bytes(String, Charset) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
编码字符串

C

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 的值迭代器.
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
 
castToPrimitive(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
转换为原始类型
charset - 类 中的变量com.xiaoleilu.hutool.http.HttpBase
编码
charset() - 类 中的方法com.xiaoleilu.hutool.http.HttpBase
返回字符集
charset(String) - 类 中的方法com.xiaoleilu.hutool.http.HttpBase
设置字符集
charset() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
获得字符集编码
charset - 类 中的变量com.xiaoleilu.hutool.setting.AbsSetting
本设置对象的字符集
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
CharsetUtil - com.xiaoleilu.hutool.util中的类
字符集工具类
checkClientTrusted(X509Certificate[], String) - 类 中的方法com.xiaoleilu.hutool.http.ssl.DefaultTrustManager
 
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.util.FileUtil
Class文件扩展名
CLASS_PATH - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
CLASS_VERSION - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
Java类信息
ClassUtil - com.xiaoleilu.hutool.util中的类
类工具类 1、扫描指定包下的所有类
参考 http://www.oschina.net/code/snippet_234657_22722
ClassUtil.ClassFilter - com.xiaoleilu.hutool.util中的接口
类过滤器,用于过滤不需要加载的类
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
 
clearWarnings() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
clearWorker() - 类 中的方法com.xiaoleilu.hutool.lang.SyncFinisher
清空工作线程对象
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() - 类 中的方法com.xiaoleilu.hutool.lang.Tuple
 
clone(T[]) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
克隆数组
clone(T) - 类 中的静态方法com.xiaoleilu.hutool.util.ObjectUtil
克隆对象
对象必须实现Serializable接口
clone(T) - 类 中的静态方法com.xiaoleilu.hutool.util.ObjectUtil
克隆对象
对象必须实现Serializable接口
close(Object...) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
连续关闭一系列的SQL相关对象
这些对象必须按照顺序关闭,否则会出错。
close() - 类 中的方法com.xiaoleilu.hutool.db.ds.MongoDS
 
close() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.PooledConnection
重写关闭连接,实际操作是归还到连接池中
close() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.PooledDataSource
 
close() - 类 中的方法com.xiaoleilu.hutool.db.ds.SimpleDataSource
 
close() - 类 中的方法com.xiaoleilu.hutool.db.Session
 
close() - 类 中的方法com.xiaoleilu.hutool.io.FastByteArrayOutputStream
此方法无任何效果,当流被关闭后不会抛出IOException
close(Closeable) - 类 中的静态方法com.xiaoleilu.hutool.util.IoUtil
关闭
close(AutoCloseable) - 类 中的静态方法com.xiaoleilu.hutool.util.IoUtil
关闭
closeAll() - 类 中的静态方法com.xiaoleilu.hutool.db.ds.druid.DruidDS
关闭所有连接池
closeAll() - 类 中的静态方法com.xiaoleilu.hutool.db.ds.MongoDS
关闭全部连接
closeDs(String) - 类 中的静态方法com.xiaoleilu.hutool.db.ds.druid.DruidDS
关闭数据源
closeDs() - 类 中的静态方法com.xiaoleilu.hutool.db.ds.druid.DruidDS
关闭默认数据源
CollectionUtil - com.xiaoleilu.hutool.util中的类
集合相关工具类,包括数组
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.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.druid - 程序包 com.xiaoleilu.hutool.db.ds.druid
 
com.xiaoleilu.hutool.db.ds.pool - 程序包 com.xiaoleilu.hutool.db.ds.pool
 
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.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.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 - 程序包 com.xiaoleilu.hutool.log.dialect
 
com.xiaoleilu.hutool.log.level - 程序包 com.xiaoleilu.hutool.log.level
 
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
 
COMMA - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
commit() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
commit() - 类 中的方法com.xiaoleilu.hutool.db.Session
提交事务
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
构造
connect() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
连接
ConnectionWraper - com.xiaoleilu.hutool.db.ds.pool中的类
连接包装,用于丰富功能
ConnectionWraper() - 类 的构造器com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
connRunner - 类 中的变量com.xiaoleilu.hutool.db.SqlRunner
 
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算法
ConsoleLog - com.xiaoleilu.hutool.log.dialect中的类
利用System.out.println()打印日志
ConsoleLog(Class<?>) - 类 的构造器com.xiaoleilu.hutool.log.dialect.ConsoleLog
 
ConsoleLog(String) - 类 的构造器com.xiaoleilu.hutool.log.dialect.ConsoleLog
 
ConsoleLogFactory - com.xiaoleilu.hutool.log.dialect中的类
利用System.out.println()打印日志
ConsoleLogFactory() - 类 的构造器com.xiaoleilu.hutool.log.dialect.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(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.CollectionUtil
数组中是否包含元素
contains(Object, Object) - 类 中的静态方法com.xiaoleilu.hutool.util.ObjectUtil
对象中是否包含元素
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
Conver - com.xiaoleilu.hutool.lang中的类
类型转换器
convert(String, String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.CharsetUtil
转换字符串的字符集编码
convert(String, Charset, Charset) - 类 中的静态方法com.xiaoleilu.hutool.util.CharsetUtil
转换字符串的字符集编码
convertCharset(String, String, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
给定字符串转换字符编码
如果参数为空,则返回原字符串,不报错。
CookiePool - com.xiaoleilu.hutool.http中的类
Cookie池。
CookiePool() - 类 的构造器com.xiaoleilu.hutool.http.CookiePool
 
copy(String, String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
复制文件或目录
如果目标文件为目录,则将源文件以相同文件名拷贝到目标目录
copy(File, File, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
复制文件或目录
情况如下:
1、src和dest都为目录,则讲src下所有文件目录拷贝到dest下
2、src和dest都为文件,直接复制,名字为dest
3、src为文件,dest为目录,将src拷贝到dest目录下
copy(Reader, Writer) - 类 中的静态方法com.xiaoleilu.hutool.util.IoUtil
将Reader中的内容复制到Writer中 使用默认缓存大小
copy(Reader, Writer, int) - 类 中的静态方法com.xiaoleilu.hutool.util.IoUtil
将Reader中的内容复制到Writer中
copy(InputStream, OutputStream) - 类 中的静态方法com.xiaoleilu.hutool.util.IoUtil
拷贝流,使用默认Buffer大小
copy(InputStream, OutputStream, int) - 类 中的静态方法com.xiaoleilu.hutool.util.IoUtil
拷贝流
copy(FileInputStream, FileOutputStream) - 类 中的静态方法com.xiaoleilu.hutool.util.IoUtil
拷贝文件流,使用NIO
copyProperties(Object, Object) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
复制Bean对象属性
copyProperties(Object, Object, String...) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
复制Bean对象属性
限制类用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
count(Entity) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
满足条件的数据条目数量
count(Entity) - 类 中的方法com.xiaoleilu.hutool.db.Session
结果的条目数
count(Connection, Entity) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
结果的条目数
count(Entity) - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
结果的条目数
count() - 类 中的方法com.xiaoleilu.hutool.lang.SyncFinisher
 
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(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() - 类 中的静态方法com.xiaoleilu.hutool.lang.Dict
创建Dict
createArrayOf(String, Object[]) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
createBlob() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
createClob() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
createHashes(String, int) - 类 中的静态方法com.xiaoleilu.hutool.bloomFilter.BitSetBloomFilter
将字符串的字节表示进行多哈希编码.
createLimitedEntity(DataSource, String) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
创建带有字段限制的Entity对象
此方法读取数据库中对应表的字段列表,加入到Entity中,当Entity被设置内容时,会忽略对应表字段外的所有KEY
createMessageDigest(String) - 类 中的静态方法com.xiaoleilu.hutool.util.SecureUtil
创建MessageDigest
createNClob() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
createSQLXML() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
createStatement() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
createStatement(int, int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
createStatement(int, int, int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
createStruct(String, Object[]) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
createTempFile(File) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
创建临时文件
创建后的文件名为 prefix[Randon].tmp
createTempFile(File, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
创建临时文件
创建后的文件名为 prefix[Randon].tmp
createTempFile(String, String, File, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
创建临时文件
创建后的文件名为 prefix[Randon].suffix From com.jodd.io.FileUtil
createThreadLocal() - 类 中的静态方法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
 
current(boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
当前时间long
cutPreAndLowerFirst(String, int) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
去掉首部指定长度的字符串并将剩余字符串首字母小写
例如:str=setName, preLength=3 -> return name

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, String, DataSource) - 类 的构造器com.xiaoleilu.hutool.db.DaoTemplate
构造
DaoTemplate(String, String, SqlRunner) - 类 的构造器com.xiaoleilu.hutool.db.DaoTemplate
构造
date() - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
 
date(long) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
Long类型时间转为Date
DateTime - com.xiaoleilu.hutool.lang中的类
封装java.util.Date
DateTime() - 类 的构造器com.xiaoleilu.hutool.lang.DateTime
当前时间
DateTime(Date) - 类 的构造器com.xiaoleilu.hutool.lang.DateTime
给定日期的构造
DateTime(long) - 类 的构造器com.xiaoleilu.hutool.lang.DateTime
给定日期毫秒数的构造
DateUtil - com.xiaoleilu.hutool.util中的类
时间工具类
DateUtil() - 类 的构造器com.xiaoleilu.hutool.util.DateUtil
 
DateUtil.Timer - com.xiaoleilu.hutool.util中的类
计时器
计算某个过程话费的时间,精确到毫秒
DateUtil.Timer() - 类 的构造器com.xiaoleilu.hutool.util.DateUtil.Timer
 
DateUtil.Timer(boolean) - 类 的构造器com.xiaoleilu.hutool.util.DateUtil.Timer
 
DAY_MS - 类 中的静态变量com.xiaoleilu.hutool.util.DateUtil
每天的毫秒数
DbConfig - com.xiaoleilu.hutool.db.ds.pool中的类
数据库配置
DbConfig() - 类 的构造器com.xiaoleilu.hutool.db.ds.pool.DbConfig
 
DbConfig(String, String, String) - 类 的构造器com.xiaoleilu.hutool.db.ds.pool.DbConfig
构造
DbRuntimeException - com.xiaoleilu.hutool.exceptions中的异常错误
数据库异常
DbRuntimeException(Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.DbRuntimeException
 
DbRuntimeException(String) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.DbRuntimeException
 
DbRuntimeException(String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.DbRuntimeException
 
DbRuntimeException(String, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.DbRuntimeException
 
DbRuntimeException(Throwable, String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.DbRuntimeException
 
DbSetting - com.xiaoleilu.hutool.db.ds.pool中的类
数据库配置文件类
DbSetting() - 类 的构造器com.xiaoleilu.hutool.db.ds.pool.DbSetting
构造
DbSetting(Setting) - 类 的构造器com.xiaoleilu.hutool.db.ds.pool.DbSetting
构造
DbUtil - com.xiaoleilu.hutool.db中的类
数据库操作工具类
debug(Throwable) - 类 中的方法com.xiaoleilu.hutool.log.AbstractLog
 
debug(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ApacheCommonsLog
 
debug(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ApacheCommonsLog
 
debug(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ConsoleLog
 
debug(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ConsoleLog
 
debug(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.JdkLog
 
debug(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.JdkLog
 
debug(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4j2Log
 
debug(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4j2Log
 
debug(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4jLog
 
debug(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4jLog
 
debug(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Slf4jLog
 
debug(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.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, String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
解码application/x-www-form-urlencoded字符
decode(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.URLUtil
解码URL
decodeBase64(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.SecureUtil
base64解码
decodeBase64(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.util.SecureUtil
解码Base64
decodeParams(String, String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
将URL参数解析为Map(也可以解析Post中的键值对参数)
DEFAULT_BUFFER_SIZE - 类 中的静态变量com.xiaoleilu.hutool.util.IoUtil
默认缓存大小
DEFAULT_CHARSET - 类 中的静态变量com.xiaoleilu.hutool.setting.dialect.BasicSetting
默认字符集
DEFAULT_DB_CONFIG_PATH - 类 中的静态变量com.xiaoleilu.hutool.db.ds.druid.SettingDruidDataSource
默认的数据库连接配置文件路径
DEFAULT_DB_CONFIG_PATH - 类 中的静态变量com.xiaoleilu.hutool.db.ds.pool.DbSetting
默认的数据库连接配置文件路径
DEFAULT_DB_CONFIG_PATH - 类 中的静态变量com.xiaoleilu.hutool.db.ds.SimpleDataSource
默认的数据库连接配置文件路径
DEFAULT_DELIMITER - 类 中的静态变量com.xiaoleilu.hutool.setting.dialect.BasicSetting
数组类型值默认分隔符
DEFAULT_DRIVER - 类 中的静态变量com.xiaoleilu.hutool.db.ds.druid.SettingDruidDataSource
默认的数据库连接驱动(MySQL)
DEFAULT_DRUID_CONFIG_PATH - 类 中的静态变量com.xiaoleilu.hutool.db.ds.druid.SettingDruidDataSource
默认的Druid配置文件路径
DEFAULT_NUMBER_PER_PAGE - 类 中的静态变量com.xiaoleilu.hutool.db.PageResult
 
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(T) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
删除
del(String, T) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
删除
del(Entity) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
删除
del(Entity) - 类 中的方法com.xiaoleilu.hutool.db.Session
删除数据
del(Connection, Entity) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
删除数据
此方法不会关闭Connection
del(Entity) - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
删除数据
del(String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
删除文件或者文件夹
del(File) - 类 中的静态方法com.xiaoleilu.hutool.util.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
删除匹配的内容
delPre(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
删除正则匹配到的内容之前的字符 如果没有找到,则返回原文
destroy() - 类 中的静态方法com.xiaoleilu.hutool.lang.Singleton
清除所有Singleton对象
Dialect - com.xiaoleilu.hutool.db.dialect中的接口
SQL方言,不同的数据库由于在某些SQL上有所区别,故为每种数据库配置不同的方言。
DialectFactory - com.xiaoleilu.hutool.db.dialect中的类
方言工厂类
Dict - com.xiaoleilu.hutool.lang中的类
1、字典对象,扩充了HashMap中的方法
Dict() - 类 的构造器com.xiaoleilu.hutool.lang.Dict
 
diff(Date, Date, long) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
判断两个日期相差的时长
返回 minuend - subtrahend 的差
digitUppercase(double) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
数字金额大写转换 先写个完整的然后将如零拾替换成零
disableCache() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
关闭缓存
disconnect() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
断开连接
djbHash(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
DJB算法
DOT - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
downloadFile(String, File) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
获得远程String
downloadString(String, String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
获得远程String
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
DruidDS - com.xiaoleilu.hutool.db.ds.druid中的类
封装Druid数据源
DruidDS() - 类 的构造器com.xiaoleilu.hutool.db.ds.druid.DruidDS
 
dumpSystemInfo() - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
将系统信息输出到指定PrintWriter中。
dumpSystemInfo(PrintWriter) - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
将系统信息输出到指定PrintWriter中。
duration() - 类 中的方法com.xiaoleilu.hutool.util.DateUtil.Timer
 
durationRestart() - 类 中的方法com.xiaoleilu.hutool.util.DateUtil.Timer
 

E

echo(Object, Object...) - 类 中的静态方法com.xiaoleilu.hutool.util.IoUtil
打印内容,调用系统的System.out.println方法
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, String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
编码字符为 application/x-www-form-urlencoded
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
encrypt(String, String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.SecureUtil
加密
encrypt(byte[], String) - 类 中的静态方法com.xiaoleilu.hutool.util.SecureUtil
加密
encrypt(File, String) - 类 中的静态方法com.xiaoleilu.hutool.util.SecureUtil
加密文件
encryptWithoutHex(byte[], String) - 类 中的静态方法com.xiaoleilu.hutool.util.SecureUtil
加密,不对结果做Hex处理
encryptWithoutHex(File, String) - 类 中的静态方法com.xiaoleilu.hutool.util.SecureUtil
加密文件,不对结果做Hex处理
end() - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
 
Entity - com.xiaoleilu.hutool.db中的类
数据实体对象
数据实体类充当两个角色:
1.
Entity() - 类 的构造器com.xiaoleilu.hutool.db.Entity
 
Entity(String) - 类 的构造器com.xiaoleilu.hutool.db.Entity
构造
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.setting.dialect.BasicSetting
 
equals(Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONNull
A Null object is equal to the null value and to itself.
equals(Object, Object) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否相等
当两值都为null返回true
equals(File, File) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
检查两个文件是否是同一个文件
equals(Object, Object) - 类 中的静态方法com.xiaoleilu.hutool.util.ObjectUtil
比较两个对象是否相等。
equals(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
比较两个字符串(大小写敏感)。
equalsIgnoreCase(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
比较两个字符串(大小写不敏感)。
error(Throwable) - 类 中的方法com.xiaoleilu.hutool.log.AbstractLog
 
error(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ApacheCommonsLog
 
error(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ApacheCommonsLog
 
error(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ConsoleLog
 
error(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ConsoleLog
 
error(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.JdkLog
 
error(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.JdkLog
 
error(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4j2Log
 
error(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4j2Log
 
error(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4jLog
 
error(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4jLog
 
error(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Slf4jLog
 
error(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.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(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等级日志
error(Log, Throwable) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
Error等级日志
error(Throwable) - 类 中的静态方法com.xiaoleilu.hutool.log.StaticLog
Error等级日志
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
ErrorLog - com.xiaoleilu.hutool.log.level中的接口
ERROR级别日志接口
escape(String) - 类 中的静态方法com.xiaoleilu.hutool.util.EscapeUtil
Escape编码(Unicode)
escape(String) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
转义字符串,将正则的关键字转义
EscapeUtil - com.xiaoleilu.hutool.util中的类
Escape / Unescape
EscapeUtil() - 类 的构造器com.xiaoleilu.hutool.util.EscapeUtil
 
excAsync(Runnable, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
执行异步方法
execAsync(Callable<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
execute(String, Object...) - 类 中的方法com.xiaoleilu.hutool.db.Session
执行非查询语句
语句包括 插入、更新、删除
execute(Connection, String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.db.sql.SqlExecutor
执行非查询语句
语句包括 插入、更新、删除
此方法不会关闭Connection
execute(String, Object...) - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
执行非查询语句
语句包括 插入、更新、删除
execute() - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
执行Reuqest请求
execute(Runnable) - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
直接在公共线程池中执行线程
executeBatch(String, Object[]...) - 类 中的方法com.xiaoleilu.hutool.db.Session
批量执行非查询语句
executeBatch(Connection, String, Object[]...) - 类 中的静态方法com.xiaoleilu.hutool.db.sql.SqlExecutor
批量执行非查询语句
语句包括 插入、更新、删除
此方法不会关闭Connection
executeBatch(String, Object[]...) - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
批量执行非查询语句
executeForGeneratedKey(String, Object...) - 类 中的方法com.xiaoleilu.hutool.db.Session
执行非查询语句
语句包括 插入、更新、删除
executeForGeneratedKey(Connection, String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.db.sql.SqlExecutor
执行非查询语句,返回主键
发查询语句包括 插入、更新、删除
此方法不会关闭Connection
executeForGeneratedKey(String, Object...) - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
执行非查询语句
语句包括 插入、更新、删除
exist(Entity) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
指定条件的数据是否存在
exist(String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
判断文件是否存在,如果path为null,则返回false
exist(File) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
判断文件是否存在,如果file为null,则返回false
exist(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
是否存在匹配文件
existCustomTimeout - 类 中的变量com.xiaoleilu.hutool.cache.AbstractCache
每个对象是否有单独的失效时长,用于决定清理过期对象是否有必要。
EXT_DIRS - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
extName(File) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
获取文件扩展名
extName(String) - 类 中的静态方法com.xiaoleilu.hutool.util.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, String[], String) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
从content中匹配出多个值并根据template生成新的字符串
匹配结束后会删除匹配内容之前的内容(包括匹配内容)
例如:
content 2013年5月 pattern (.*?})
extractMultiAndDelPre(String, 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
 
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(String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
创建File对象,自动识别相对或绝对路径,相对路径将自动从ClassPath下寻找
file(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
创建File对象
file(File, String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
创建File对象
file(URI) - 类 中的静态方法com.xiaoleilu.hutool.util.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
构造
FileUtil - com.xiaoleilu.hutool.util中的类
文件工具类
FileUtil() - 类 的构造器com.xiaoleilu.hutool.util.FileUtil
 
FileUtil.ReaderHandler<T> - com.xiaoleilu.hutool.util中的接口
Reader处理接口
fill(T, BeanUtil.ValueProvider) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
填充Bean
fillBeanWithMap(Map<?, ?>, T) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
使用Map填充Bean对象
fillBeanWithMapIgnoreCase(Map<?, ?>, T) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
使用Map填充Bean对象,忽略大小写
fillBeanWithRequestParam(ServletRequest, T) - 类 中的静态方法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中的接口
过滤器接口
此过滤器两个作用:
1、使用返回值是否为null判定此对象被过滤与否
2、在过滤过程中,实现对对象的修改
filter(T[], Filter<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
过滤
filter(Collection<T>, Filter<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
过滤
过滤会改变原集合的内容
filter(Map<K, V>, Filter<Map.Entry<K, V>>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
过滤
filter(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HtmlUtil
过滤HTML文本,防止XSS攻击
finalize() - 类 中的方法com.xiaoleilu.hutool.db.ds.druid.SettingDruidDataSource
 
finalize() - 类 中的方法com.xiaoleilu.hutool.db.ds.MongoDS
在垃圾回收(GC)被调用时关闭MongoDB客户端
finalize() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.PooledDataSource
 
finalize() - 类 中的方法com.xiaoleilu.hutool.db.Session
 
find(String, T) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
根据某个字段值查询结果
find(Entity) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
根据某个字段值查询结果
find(Collection<String>, Entity, RsHandler<T>) - 类 中的方法com.xiaoleilu.hutool.db.Session
查询
find(Connection, Collection<String>, Entity, RsHandler<T>) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
查询
此方法不会关闭Connection
find(Connection, Entity, RsHandler<T>) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
查询,返回所有字段
此方法不会关闭Connection
find(Collection<String>, Entity, RsHandler<T>) - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
查询
find(Entity, RsHandler<T>) - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
查询,返回所有字段
findAll() - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
查询当前表的所有记录
findAll(String, String, int, T) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
取得内容中匹配的所有结果
findAll(Pattern, String, int, T) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
取得内容中匹配的所有结果
findBySql(String, Object...) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
根据SQL语句查询结果
SQL语句可以是非完整SQL语句,可以只提供查询的条件部分(例如WHERE部分)
此方法会自动补全SELECT * FROM [tableName] 部分,这样就无需关心表名,直接提供条件即可
findDeclaredMethod(Class<?>, String, Class<?>...) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
查找所有方法
findMethod(Class<?>, String, Class<?>...) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
查找方法
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
form - 类 中的变量com.xiaoleilu.hutool.http.HttpRequest
存储表单数据
form(String, Object) - 类 中的方法com.xiaoleilu.hutool.http.HttpRequest
设置表单数据
自动编码数据
form(String, Object, String) - 类 中的方法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(Date, String) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
根据特定格式格式化日期
format(String, Object...) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
格式化文本
format(String, Map<?, ?>) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
格式化文本
formatDate(Date) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
格式 yyyy-MM-dd
formatDateTime(Date) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
格式 yyyy-MM-dd HH:mm:ss
formatHttpDate(Date) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
格式化为Http的标准日期格式
formatUrl(String) - 类 中的静态方法com.xiaoleilu.hutool.util.URLUtil
格式化URL链接
free(PooledConnection) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.PooledDataSource
释放连接,连接会被返回给连接池
from(String...) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
添加 from语句

G

GBK - 类 中的静态变量com.xiaoleilu.hutool.util.CharsetUtil
GBK
GENERAL - 类 中的静态变量com.xiaoleilu.hutool.lang.Validator
英文字母 、数字和下划线
GENERAL_WITH_CHINESE - 类 中的静态变量com.xiaoleilu.hutool.lang.Validator
中文字、英文字母、数字和下划线
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(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(int) - 类 中的方法com.xiaoleilu.hutool.io.FastByteBuffer
根据索引位返回一个字节
get(int) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Get the optional object value associated with an index.
get(String) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
获得指定KEY对应的值
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, String) - 类 中的方法com.xiaoleilu.hutool.setting.Setting
获得指定分组的键对应值
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.util.FileUtil
获取绝对路径
此方法不会判定给定路径是否有效(文件或目录存在)
getAbsolutePath(String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
获取绝对路径,相对于classes的根目录
如果给定就是绝对路径,则返回原路径,原路径把所有\替换为/
getAbsolutePath(File) - 类 中的静态方法com.xiaoleilu.hutool.util.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.pool.ConnectionWraper
 
getBeginTimeOfDay(Date) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
获取某天的开始时间
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
 
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
 
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, Boolean) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getBool(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getBool(String, String) - 类 中的方法com.xiaoleilu.hutool.setting.Setting
获取波尔型属性值
getBool(String, String, Boolean) - 类 中的方法com.xiaoleilu.hutool.setting.Setting
获取波尔型型属性值
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
 
getBools(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ArrayTypeGetter
 
getByGroup(String, String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
获得指定分组的键对应值
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
 
getBytes(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ArrayTypeGetter
 
getBytes(String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getCachedFilesCount() - 类 中的方法com.xiaoleilu.hutool.cache.FileLFUCache
 
getCatalog() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
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, Character) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getChar(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getChar(String, String) - 类 中的方法com.xiaoleilu.hutool.setting.Setting
获取char类型属性值
getCharByGroup(String, String) - 接口 中的方法com.xiaoleilu.hutool.getter.GroupedTypeGetter
获取char型属性值
getCharList(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ListTypeGetter
 
getChars(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ArrayTypeGetter
 
getCharset(HttpURLConnection) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
从Http连接的头信息中获得字符集
getClasses(Object...) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
获得对象数组的类数组
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.pool.ConnectionWraper
 
getClientInfo() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.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
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
获得表的所有列名
getConfig() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.PooledDataSource
 
getConn() - 类 中的方法com.xiaoleilu.hutool.db.Session
 
getConnection(String) - 类 中的静态方法com.xiaoleilu.hutool.db.ds.druid.DruidDS
获得一个数据库连接池中的连接
getConnection() - 类 中的静态方法com.xiaoleilu.hutool.db.ds.druid.DruidDS
获得一个默认连接池中的连接(此默认连接取决于配置文件)
getConnection() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.PooledDataSource
从数据库连接池中获取数据库连接对象
getConnection(String, String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.PooledDataSource
 
getConnection(long) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.PooledDataSource
获取连接对象
getConnection() - 类 中的方法com.xiaoleilu.hutool.db.ds.SimpleDataSource
 
getConnection(String, String) - 类 中的方法com.xiaoleilu.hutool.db.ds.SimpleDataSource
 
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
获得指定模板填充后的内容,使用默认引擎
getContextClassLoader() - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
 
getCountry() - 类 中的方法com.xiaoleilu.hutool.system.UserInfo
取得当前登录用户的国家或区域设置(取自系统属性:JDK1.4 user.country或JDK1.2 user.region)。
getCurrentDir() - 类 中的方法com.xiaoleilu.hutool.system.UserInfo
取得当前目录(取自系统属性:user.dir)。
getCurrentLogFactory() - 类 中的静态方法com.xiaoleilu.hutool.log.LogFactory
 
getDataSource(String) - 类 中的静态方法com.xiaoleilu.hutool.db.ds.druid.DruidDS
获得一个数据源
getDataSource() - 类 中的静态方法com.xiaoleilu.hutool.db.ds.druid.DruidDS
获得默认数据源(连接池),链接信息来自于配置文件
getDataSource(String) - 类 中的静态方法com.xiaoleilu.hutool.db.ds.pool.PooledDataSource
获得一个数据源
getDataSource() - 类 中的静态方法com.xiaoleilu.hutool.db.ds.pool.PooledDataSource
获得一个数据源
getDataSource(String) - 类 中的静态方法com.xiaoleilu.hutool.db.ds.SimpleDataSource
获得一个数据源
getDataSource() - 类 中的静态方法com.xiaoleilu.hutool.db.ds.SimpleDataSource
获得一个数据源
getDate(String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getDb(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.MongoDS
获得DB
getDbConfig(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.DbSetting
获得数据库连接信息
getDialect() - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
 
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, Double) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getDouble(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getDouble(String, String) - 类 中的方法com.xiaoleilu.hutool.setting.Setting
获取double类型属性值
getDouble(String, String, Double) - 类 中的方法com.xiaoleilu.hutool.setting.Setting
获取double类型属性值
getDoubleByGroup(String, String) - 接口 中的方法com.xiaoleilu.hutool.getter.GroupedTypeGetter
获取double型属性值
getDoubleList(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ListTypeGetter
 
getDoubles(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ArrayTypeGetter
 
getDriver() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.DbConfig
 
getDriver() - 类 中的方法com.xiaoleilu.hutool.db.ds.SimpleDataSource
 
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
 
getEndTimeOfDay(Date) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
获取某天的结束时间
getEnum(Class<E>, int) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Get the enum value associated with a key.
getEnum(Class<E>, int, E) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Get the enum value associated with a key.
getEnum(Class<E>, String) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
获得Enum类型的值
getEnum(Class<E>, String, E) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
获得Enum类型的值
getErrorStream() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
当返回错误代码时,获得错误内容流
getExtDirs() - 类 中的方法com.xiaoleilu.hutool.system.JavaRuntimeInfo
取得当前JRE的扩展目录列表(取自系统属性:java.ext.dirs)。
getFalsePositiveProbability() - 类 中的方法com.xiaoleilu.hutool.bloomFilter.BitSetBloomFilter
 
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
 
getFileBytes(String) - 类 中的方法com.xiaoleilu.hutool.cache.FileLFUCache
获得缓存过的文件bytes
getFileBytes(File) - 类 中的方法com.xiaoleilu.hutool.cache.FileLFUCache
获得缓存过的文件bytes
getFileSeparator() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
取得OS的文件路径的分隔符(取自系统属性:file.separator)。
getFirstNumber(String) - 类 中的静态方法com.xiaoleilu.hutool.util.ReUtil
从字符串中获得第一个整数
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
 
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.pool.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.pool.DbConfig
 
getInputStream() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
获得输入流对象
输入流对象用于读取数据
getInputStream(File) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
获得输入流
getInputStream(String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
获得输入流
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, Integer) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getInt(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getInt(String, String) - 类 中的方法com.xiaoleilu.hutool.setting.Setting
获取数字型型属性值
getInt(String, String, Integer) - 类 中的方法com.xiaoleilu.hutool.setting.Setting
获取数字型型属性值
getInt(String, int) - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
获得int类型值
getIntByGroup(String, String) - 接口 中的方法com.xiaoleilu.hutool.getter.GroupedTypeGetter
获取int型属性值
getIntList(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ListTypeGetter
 
getInts(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ArrayTypeGetter
 
getJavaClassPaths() - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
 
getJavaInfo() - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
取得Java Implementation的信息。
getJavaRuntimeInfo() - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
取得当前运行的JRE的信息。
getJavaSpecInfo() - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
取得Java Specification的信息。
getJndiDs(String) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
获得JNDI数据源
getJSONArray(int) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Get the optional JSONArray associated with an index.
getJSONArray(String) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
获得JSONArray对象
getJSONObject(int) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Get the optional JSONObject associated with an index.
getJSONObject(String) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
获得JSONObject对象
getJvmInfo() - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
取得Java Virtual Machine Implementation的信息。
getJvmSpecInfo() - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
取得Java Virtual Machine Specification的信息。
getLanguage() - 类 中的方法com.xiaoleilu.hutool.system.UserInfo
取得当前登录用户的语言设置(取自系统属性:user.language)。
getLibraryPath() - 类 中的方法com.xiaoleilu.hutool.system.JavaRuntimeInfo
取得当前JRE的library搜索路径(取自系统属性:java.library.path)。
getLibraryPathArray() - 类 中的方法com.xiaoleilu.hutool.system.JavaRuntimeInfo
取得当前JRE的library搜索路径(取自系统属性:java.library.path)。
getLineSeparator() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
取得OS的文本文件换行符(取自系统属性:line.separator)。
getLog(String) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ApacheCommonsLogFactory
 
getLog(Class<?>) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ApacheCommonsLogFactory
 
getLog(String) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ConsoleLogFactory
 
getLog(Class<?>) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ConsoleLogFactory
 
getLog(String) - 类 中的方法com.xiaoleilu.hutool.log.dialect.JdkLogFactory
 
getLog(Class<?>) - 类 中的方法com.xiaoleilu.hutool.log.dialect.JdkLogFactory
 
getLog(String) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4j2LogFactory
 
getLog(Class<?>) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4j2LogFactory
 
getLog(String) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4jLogFactory
 
getLog(Class<?>) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4jLogFactory
 
getLog(String) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Slf4jLogFactory
 
getLog(Class<?>) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Slf4jLogFactory
 
getLog(String) - 类 中的方法com.xiaoleilu.hutool.log.LogFactory
获得日志对象
getLog(Class<?>) - 类 中的方法com.xiaoleilu.hutool.log.LogFactory
获得日志对象
getLoginTimeout() - 类 中的方法com.xiaoleilu.hutool.db.ds.AbstractDataSource
 
getLogWriter() - 类 中的方法com.xiaoleilu.hutool.db.ds.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, Long) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getLong(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getLong(String, String) - 类 中的方法com.xiaoleilu.hutool.setting.Setting
获取long类型属性值
getLong(String, String, Long) - 类 中的方法com.xiaoleilu.hutool.setting.Setting
获取long类型属性值
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
 
getLongs(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ArrayTypeGetter
 
getMap() - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
获得所有键值对
getMap(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
获得指定分组的所有键值对
getMaxActive() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.DbConfig
 
getMaxWait() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.DbConfig
 
getMetaData() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
getMethod() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
获取请求方法,GET/POST
getMethods(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
获得指定类中的Public方法名
去重重载的方法
getMimeType(String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
根据文件扩展名获得MimeType
getMinIdle() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.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.ApacheCommonsLog
 
getName() - 类 中的方法com.xiaoleilu.hutool.log.dialect.ConsoleLog
 
getName() - 类 中的方法com.xiaoleilu.hutool.log.dialect.JdkLog
 
getName() - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4j2Log
 
getName() - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4jLog
 
getName() - 类 中的方法com.xiaoleilu.hutool.log.dialect.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.pool.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.dialect.Props
 
getObj(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
 
getObjList(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ListTypeGetter
 
getObjs(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ArrayTypeGetter
 
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(File) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
获得一个输出流对象
getOutputStream(String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
获得一个输出流对象
getPage() - 类 中的方法com.xiaoleilu.hutool.db.PageResult
 
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.AbstractDataSource
Support from JDK7
getPass() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.DbConfig
 
getPass() - 类 中的方法com.xiaoleilu.hutool.db.ds.SimpleDataSource
 
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)。
getPkNames() - 类 中的方法com.xiaoleilu.hutool.db.meta.Table
 
getPreWrapQuote() - 类 中的方法com.xiaoleilu.hutool.db.sql.Wrapper
 
getPrintWriter(String, String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
获得一个打印写入对象,可以有print
getPrintWriter(File, String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
获得一个打印写入对象,可以有print
getProp(String) - 类 中的静态方法com.xiaoleilu.hutool.setting.dialect.Props
获得Classpath下的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)。
getRaw() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
getReader(File, String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
获得一个文件读取器
getReader(File, Charset) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
获得一个文件读取器
getReader(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
获得一个文件读取器
getReader(String, Charset) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
获得一个文件读取器
getReader(InputStream, String) - 类 中的静态方法com.xiaoleilu.hutool.util.IoUtil
获得一个文件读取器
getReader(InputStream, Charset) - 类 中的静态方法com.xiaoleilu.hutool.util.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.Session
 
getRunner() - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
 
getScheduler() - 类 中的方法com.xiaoleilu.hutool.util.CronUtil
 
getSchema() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
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
 
getShorts(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ArrayTypeGetter
 
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) - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
 
getStr(String, String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
 
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
获取字符串型属性值
getString(InputStream, String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
从流中读取内容
getString(String) - 类 中的方法com.xiaoleilu.hutool.setting.Setting
获取字符型型属性值
getString(String, String) - 类 中的方法com.xiaoleilu.hutool.setting.Setting
获取字符型型属性值
getStrings(String) - 类 中的方法com.xiaoleilu.hutool.setting.Setting
获得数组型
getStrings(String, String) - 类 中的方法com.xiaoleilu.hutool.setting.Setting
获得数组型
getStrings(String, String, String) - 类 中的方法com.xiaoleilu.hutool.setting.Setting
获得数组型
getStringsWithDefault(String, String[]) - 类 中的方法com.xiaoleilu.hutool.setting.Setting
获得数组型
getStringWithDefault(String, String) - 类 中的方法com.xiaoleilu.hutool.setting.Setting
获取字符型型属性值
若获得的值为不可见字符,使用默认值
getStringWithDefault(String, String, String) - 类 中的方法com.xiaoleilu.hutool.setting.Setting
获取字符型型属性值
若获得的值为不可见字符,使用默认值
getStrList(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ListTypeGetter
 
getStrs(String) - 接口 中的方法com.xiaoleilu.hutool.getter.ArrayTypeGetter
 
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
 
getTables(DataSource) - 类 中的静态方法com.xiaoleilu.hutool.db.DbUtil
获得所有表名
getTempDir() - 类 中的方法com.xiaoleilu.hutool.system.UserInfo
取得临时目录(取自系统属性:java.io.tmpdir)。
getTime(String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getTimestamp(String) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
 
getTotal() - 类 中的方法com.xiaoleilu.hutool.db.PageResult
 
getTotalPage() - 类 中的方法com.xiaoleilu.hutool.db.PageResult
 
getTransactionIsolation() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
getType() - 类 中的方法com.xiaoleilu.hutool.db.meta.Column
 
getTypeMap() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
getUrl() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.DbConfig
 
getUrl() - 类 中的方法com.xiaoleilu.hutool.db.ds.SimpleDataSource
 
getUrl() - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
获取请求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,常用于使用绝对路径时的情况
getUsedSize() - 类 中的方法com.xiaoleilu.hutool.cache.FileLFUCache
 
getUser() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.DbConfig
 
getUser() - 类 中的方法com.xiaoleilu.hutool.db.ds.SimpleDataSource
 
getUserInfo() - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
取得User的信息。
getUtf8Reader(File) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
获得一个文件读取器
getUtf8Reader(String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
获得一个文件读取器
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.pool.ConnectionWraper
 
getWithLog(String) - 类 中的方法com.xiaoleilu.hutool.setting.Setting
带有日志提示的get,如果没有定义指定的KEY,则打印debug日志
getWithLog(String, String) - 类 中的方法com.xiaoleilu.hutool.setting.Setting
带有日志提示的get,如果没有定义指定的KEY,则打印debug日志
getWrapper() - 接口 中的方法com.xiaoleilu.hutool.db.dialect.Dialect
 
getWrapper() - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect
 
getWriter(String, String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
获得一个带缓存的写入对象
getWriter(String, Charset, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
获得一个带缓存的写入对象
getWriter(File, String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
获得一个带缓存的写入对象
getWriter(File, Charset, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
获得一个带缓存的写入对象
getWriter() - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
获得StringWriter
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, String) - 类 的构造器com.xiaoleilu.hutool.lang.GroupedSet
构造,使用相对于Class文件根目录的相对路径
GroupedSet(File, String) - 类 的构造器com.xiaoleilu.hutool.lang.GroupedSet
构造
GroupedSet(String, Class<?>, String) - 类 的构造器com.xiaoleilu.hutool.lang.GroupedSet
构造,相对于classes读取文件
GroupedSet(URL, String) - 类 的构造器com.xiaoleilu.hutool.lang.GroupedSet
构造
GroupedSet(String) - 类 的构造器com.xiaoleilu.hutool.lang.GroupedSet
构造
GroupedTypeGetter - com.xiaoleilu.hutool.getter中的接口
基于分组的Get接口
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.util.FileUtil.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
处理多条数据
has(String) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
是否存在指定KEY
hasBlank(String...) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
是否包含空字符串
hasEmpty(String...) - 类 中的静态方法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
 
HashUtil - com.xiaoleilu.hutool.util中的类
Hash算法大全
推荐使用FNV1算法
hasNext() - 类 中的方法com.xiaoleilu.hutool.cache.CacheValuesIterator
 
having(SqlBuilder.LogicalOperator, Condition...) - 类 中的方法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>>) - 类 中的方法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请求头
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地址的最后一部分为 * 代替
hitCount - 类 中的变量com.xiaoleilu.hutool.cache.AbstractCache
命中数
HMAC_SHA1 - 类 中的静态变量com.xiaoleilu.hutool.util.SecureUtil
 
HOME - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
HostInfo - com.xiaoleilu.hutool.system中的类
代表当前主机的信息。
HostInfo() - 类 的构造器com.xiaoleilu.hutool.system.HostInfo
 
HOUR_MS - 类 中的静态变量com.xiaoleilu.hutool.util.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.Status
HTTP Status-Code 202: Accepted.
HTTP_BAD_GATEWAY - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 502: Bad Gateway.
HTTP_BAD_METHOD - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 405: Method Not Allowed.
HTTP_BAD_REQUEST - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 400: Bad Request.
HTTP_CLIENT_TIMEOUT - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 408: Request Time-Out.
HTTP_CONFLICT - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 409: Conflict.
HTTP_CREATED - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 201: Created.
HTTP_DATETIME_PATTERN - 类 中的静态变量com.xiaoleilu.hutool.util.DateUtil
HTTP头中日期时间格式
HTTP_ENTITY_TOO_LARGE - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 413: Request Entity Too Large.
HTTP_FORBIDDEN - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 403: Forbidden.
HTTP_GATEWAY_TIMEOUT - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 504: Gateway Timeout.
HTTP_GONE - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 410: Gone.
HTTP_INTERNAL_ERROR - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 500: Internal Server Error.
HTTP_LENGTH_REQUIRED - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 411: Length Required.
HTTP_MOVED_PERM - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 301: Moved Permanently.
HTTP_MOVED_TEMP - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 302: Temporary Redirect.
HTTP_MULT_CHOICE - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 300: Multiple Choices.
HTTP_NO_CONTENT - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 204: No Content.
HTTP_NOT_ACCEPTABLE - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 406: Not Acceptable.
HTTP_NOT_AUTHORITATIVE - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 203: Non-Authoritative Information.
HTTP_NOT_FOUND - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 404: Not Found.
HTTP_NOT_IMPLEMENTED - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 501: Not Implemented.
HTTP_NOT_MODIFIED - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 304: Not Modified.
HTTP_OK - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 200: OK.
HTTP_PARTIAL - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 206: Partial Content.
HTTP_PAYMENT_REQUIRED - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 402: Payment Required.
HTTP_PRECON_FAILED - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 412: Precondition Failed.
HTTP_PROXY_AUTH - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 407: Proxy Authentication Required.
HTTP_REQ_TOO_LONG - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 414: Request-URI Too Large.
HTTP_RESET - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 205: Reset Content.
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.Status
HTTP Status-Code 401: Unauthorized.
HTTP_UNAVAILABLE - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 503: Service Unavailable.
HTTP_UNSUPPORTED_TYPE - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 415: Unsupported Media Type.
HTTP_USE_PROXY - 接口 中的静态变量com.xiaoleilu.hutool.http.Status
HTTP Status-Code 305: Use Proxy.
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连接对象
HttpConnection(String, Method) - 类 的构造器com.xiaoleilu.hutool.http.HttpConnection
构造HttpConnection
HttpException - com.xiaoleilu.hutool.exceptions中的异常错误
HTTP异常
HttpException(Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.HttpException
 
HttpException(String) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.HttpException
 
HttpException(String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.HttpException
 
HttpException(String, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.HttpException
 
HttpException(Throwable, String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.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
 
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驱动名
in(String, T...) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
多值选择
increment(String) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
Increment a property of a JSONObject.
indent(Writer, int) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
缩进,使用空格符
index() - 类 中的方法com.xiaoleilu.hutool.io.FastByteBuffer
当前缓冲位于缓冲区的索引位
indexOfLastSeparator(String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
获得最后一个文件路径分隔符的位置
indirectGet() - 类 中的静态方法com.xiaoleilu.hutool.log.LogFactory
 
info(Throwable) - 类 中的方法com.xiaoleilu.hutool.log.AbstractLog
 
info(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ApacheCommonsLog
 
info(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ApacheCommonsLog
 
info(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ConsoleLog
 
info(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ConsoleLog
 
info(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.JdkLog
 
info(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.JdkLog
 
info(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4j2Log
 
info(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4j2Log
 
info(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4jLog
 
info(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4jLog
 
info(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Slf4jLog
 
info(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.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(Setting, Setting) - 类 中的静态方法com.xiaoleilu.hutool.db.ds.druid.DruidDS
初始化数据库连接配置文件
init(Setting, Setting, String) - 类 中的方法com.xiaoleilu.hutool.db.ds.druid.SettingDruidDataSource
初始化数据库连接配置文件
init() - 类 中的方法com.xiaoleilu.hutool.db.ds.MongoDS
初始化,当给定分组数大于一个时使用
init(String, String, String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.DbConfig
初始化
init(String, String, String) - 类 中的方法com.xiaoleilu.hutool.db.ds.SimpleDataSource
初始化
init(String, ResultSet) - 类 中的方法com.xiaoleilu.hutool.db.meta.Column
初始化
init(URL, String) - 类 中的方法com.xiaoleilu.hutool.lang.GroupedSet
初始化设定文件
init(URL, String, 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
初始化全局属性
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
初始化连接相关信息
initDatasource(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.druid.SettingDruidDataSource
初始化数据源
initMacKey(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.SecureUtil
初始化HMAC密钥
initSingle() - 类 中的方法com.xiaoleilu.hutool.db.ds.MongoDS
初始化
设定文件中的host和端口有三种形式: --------------------- host = host:port --------------------- host = host port = port --------------------- #此种形式使用MongoDB默认端口 host = host ---------------------
insert(Entity) - 类 中的方法com.xiaoleilu.hutool.db.Session
插入数据
insert(Collection<Entity>) - 类 中的方法com.xiaoleilu.hutool.db.Session
批量插入数据
insert(Entity) - 类 中的方法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
insert(Entity) - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
插入数据
insert(Collection<Entity>) - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
批量插入数据
insertForGeneratedKey(Entity) - 类 中的方法com.xiaoleilu.hutool.db.Session
插入数据
insertForGeneratedKey(Connection, Entity) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
插入数据
此方法不会关闭Connection
insertForGeneratedKey(Entity) - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
插入数据
insertForGeneratedKeys(Entity) - 类 中的方法com.xiaoleilu.hutool.db.Session
插入数据
insertForGeneratedKeys(Connection, Entity) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
插入数据
此方法不会关闭Connection
insertForGeneratedKeys(Entity) - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
插入数据
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(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方法
IoUtil - com.xiaoleilu.hutool.util中的类
IO工具类
IoUtil() - 类 的构造器com.xiaoleilu.hutool.util.IoUtil
 
IPV4 - 类 中的静态变量com.xiaoleilu.hutool.lang.Validator
IP v4
ipv4ToLong(String) - 类 中的静态方法com.xiaoleilu.hutool.util.NetUtil
根据ip地址计算出long型的数据
isAix() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
判断当前OS的类型。
isAllBlank(String...) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
给定所有字符串是否为空白
isAllEmpty(String...) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
是否全部为空字符串
isAlwaysMakeTags() - 类 中的方法com.xiaoleilu.hutool.http.HTMLFilter
 
isArray(Object) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
判定给定对象是否为数组类型
isArray(Object) - 类 中的静态方法com.xiaoleilu.hutool.util.ObjectUtil
对象是否为数组对象
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
是否为基本类型,包括包装类型和非包装类型
isBirthday(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为生日
isBlank(String) - 类 中的静态方法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.pool.PooledConnection
连接是否关闭,关闭条件:
1、被归还到池中 2、实际连接已关闭
isDebugEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.ApacheCommonsLog
 
isDebugEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.ConsoleLog
 
isDebugEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.JdkLog
 
isDebugEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4j2Log
 
isDebugEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4jLog
 
isDebugEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.Slf4jLog
 
isDebugEnabled() - 接口 中的方法com.xiaoleilu.hutool.log.level.DebugLog
 
isDirectory(String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
判断是否为目录,如果path为null,则返回false
isDirectory(File) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
判断是否为目录,如果file为null,则返回false
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(T) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为空
对于String类型判定是否为empty(null 或 "")
isEmpty() - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
 
isEmpty(T[]) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
数组是否为空
isEmpty(Collection<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
集合是否为空
isEmpty(Map<?, ?>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
Map是否为空
isEmpty(File) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
目录是否为空
isEmpty(String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
字符串是否为空,空的定义如下 1、为null
2、为""
isEnabled(Level) - 类 中的方法com.xiaoleilu.hutool.log.AbstractLog
 
isEnabled(Level) - 接口 中的方法com.xiaoleilu.hutool.log.Log
是否开启指定日志
isErrorEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.ApacheCommonsLog
 
isErrorEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.ConsoleLog
 
isErrorEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.JdkLog
 
isErrorEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4j2Log
 
isErrorEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4jLog
 
isErrorEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.Slf4jLog
 
isErrorEnabled() - 接口 中的方法com.xiaoleilu.hutool.log.level.ErrorLog
 
isFile(String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
判断是否为文件,如果path为null,则返回false
isFile(File) - 类 中的静态方法com.xiaoleilu.hutool.util.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
 
isHpUx() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
判断当前OS的类型。
isHttps(String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpUtil
检测是否https
isInfoEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.ApacheCommonsLog
 
isInfoEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.ConsoleLog
 
isInfoEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.JdkLog
 
isInfoEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4j2Log
 
isInfoEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4jLog
 
isInfoEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.Slf4jLog
 
isInfoEnabled() - 接口 中的方法com.xiaoleilu.hutool.log.level.InfoLog
 
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
 
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, 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.util.FileUtil
判断文件是否被改动
如果文件对象为 null 或者文件不存在,被视为改动
isMoney(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为货币
isNotBlank(String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
字符串是否为非空白 空白的定义如下:
1、不为null
2、不为不可见字符(如空格)
3、不为""
isNotEmpty(T) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为空
对于String类型判定是否为empty(null 或 "")
isNotEmpty(T[]) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
数组是否为非空
isNotEmpty(Collection<?>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
集合是否为非空
isNotEmpty(Map<?, ?>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
Map是否为非空
isNotEmpty(String) - 类 中的静态方法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
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
是否使用条件占位符
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.pool.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的类型。
isStripComments() - 类 中的方法com.xiaoleilu.hutool.http.HTMLFilter
 
isSunOS() - 类 中的方法com.xiaoleilu.hutool.system.OsInfo
判断当前OS的类型。
isSurround(String, String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
给定字符串是否被字符包围
isSurround(String, char, char) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
给定字符串是否被字符包围
isTraceEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.ApacheCommonsLog
 
isTraceEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.ConsoleLog
 
isTraceEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.JdkLog
 
isTraceEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4j2Log
 
isTraceEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4jLog
 
isTraceEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.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.AbsSetting
是否使用变量
isUUID(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Validator
验证是否为UUID
包括带横线标准格式和不带横线的简单模式
isValid(int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.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.ApacheCommonsLog
 
isWarnEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.ConsoleLog
 
isWarnEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.JdkLog
 
isWarnEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4j2Log
 
isWarnEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4jLog
 
isWarnEnabled() - 类 中的方法com.xiaoleilu.hutool.log.dialect.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.AbstractDataSource
 
isWrapperFor(Class<?>) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
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.util.FileUtil
Jar文件扩展名
JAR_PATH_EXT - 类 中的静态变量com.xiaoleilu.hutool.util.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
 
JavaSpecInfo - com.xiaoleilu.hutool.system中的类
代表Java Specification的信息。
JavaSpecInfo() - 类 的构造器com.xiaoleilu.hutool.system.JavaSpecInfo
 
JdkLog - com.xiaoleilu.hutool.log.dialect中的类
JdkLog(Logger) - 类 的构造器com.xiaoleilu.hutool.log.dialect.JdkLog
 
JdkLog(Class<?>) - 类 的构造器com.xiaoleilu.hutool.log.dialect.JdkLog
 
JdkLog(String) - 类 的构造器com.xiaoleilu.hutool.log.dialect.JdkLog
 
JdkLogFactory - com.xiaoleilu.hutool.log.dialect中的类
JdkLogFactory() - 类 的构造器com.xiaoleilu.hutool.log.dialect.JdkLogFactory
 
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(Iterable<T>, String) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
以 conjunction 为分隔符将集合转换为字符串
join(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中的类
A JSONArray is an ordered sequence of values.
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(Collection<?>) - 类 的构造器com.xiaoleilu.hutool.json.JSONArray
Construct a JSONArray from a Collection.
JSONArray(Object) - 类 的构造器com.xiaoleilu.hutool.json.JSONArray
Construct a JSONArray from an array
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.
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中的类
JSONObject是一个无序键值对.
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(Map<?, ?>) - 类 的构造器com.xiaoleilu.hutool.json.JSONObject
Construct a JSONObject from a Map.
JSONObject(Object) - 类 的构造器com.xiaoleilu.hutool.json.JSONObject
Construct a JSONObject from an Object using bean getters.
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
Construct a JSONObject from a source JSON text string.
JSONObject(String, Locale) - 类 的构造器com.xiaoleilu.hutool.json.JSONObject
Construct a JSONObject from a ResourceBundle.
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中的类
A JSONTokener takes a source string and extracts characters and tokens from it.
JSONTokener(Reader) - 类 的构造器com.xiaoleilu.hutool.json.JSONTokener
Construct a JSONTokener from a Reader.
JSONTokener(InputStream) - 类 的构造器com.xiaoleilu.hutool.json.JSONTokener
Construct a JSONTokener from an InputStream.
JSONTokener(String) - 类 的构造器com.xiaoleilu.hutool.json.JSONTokener
Construct a JSONTokener from a string.
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
设置是否为长连接
keys() - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
Get an enumeration of the keys of the JSONObject.
keySet() - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
Get a set of keys of the JSONObject.

L

lastModifiedTime(File) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
指定文件最后修改时间
lastModifiedTime(String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
指定路径文件最后修改时间
lastMouth() - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
上个月
lastWeek() - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
上周
length() - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Get the number of elements in the JSONArray, included nulls.
length() - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
Get the number of keys stored in the JSONObject.
length(Object) - 类 中的静态方法com.xiaoleilu.hutool.util.ObjectUtil
计算对象长度,如果是字符串调用其length函数,集合类调用其size函数,数组调用其length属性,其他可遍历对象遍历计算长度
Level - com.xiaoleilu.hutool.log.level中的枚举
日志等级
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.util.FileUtil
获得指定目录下所有文件
不会扫描子目录
ListTypeGetter - com.xiaoleilu.hutool.getter中的接口
列表类型的Get接口
load(URL) - 类 中的方法com.xiaoleilu.hutool.lang.GroupedSet
加载设置文件
load(InputStream) - 类 中的方法com.xiaoleilu.hutool.lang.GroupedSet
加载设置文件。
load(URL) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
加载设置文件
load(InputStream, boolean) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
加载设置文件。
load(URL) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
初始化配置文件
load(FileUtil.ReaderHandler<T>, String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
按照给定的readerHandler读取文件中的数据
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
 
localIpv4s() - 类 中的静态方法com.xiaoleilu.hutool.util.NetUtil
获得本机的IP地址列表
log(Level, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.AbstractLog
 
log(Level, Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.AbstractLog
 
log(Level, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ConsoleLog
 
log(Level, Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ConsoleLog
 
Log - com.xiaoleilu.hutool.log中的接口
日志统一接口
log(Level, String, Object...) - 接口 中的方法com.xiaoleilu.hutool.log.Log
打印指定级别的日志
log(Level, Throwable, String, Object...) - 接口 中的方法com.xiaoleilu.hutool.log.Log
打印 指定级别的日志
Log4j2Log - com.xiaoleilu.hutool.log.dialect中的类
Log4j2Log(Logger) - 类 的构造器com.xiaoleilu.hutool.log.dialect.Log4j2Log
 
Log4j2Log(Class<?>) - 类 的构造器com.xiaoleilu.hutool.log.dialect.Log4j2Log
 
Log4j2Log(String) - 类 的构造器com.xiaoleilu.hutool.log.dialect.Log4j2Log
 
Log4j2LogFactory - com.xiaoleilu.hutool.log.dialect中的类
Log4j2LogFactory() - 类 的构造器com.xiaoleilu.hutool.log.dialect.Log4j2LogFactory
 
Log4jLog - com.xiaoleilu.hutool.log.dialect中的类
Log4jLog(Logger) - 类 的构造器com.xiaoleilu.hutool.log.dialect.Log4jLog
 
Log4jLog(Class<?>) - 类 的构造器com.xiaoleilu.hutool.log.dialect.Log4jLog
 
Log4jLog(String) - 类 的构造器com.xiaoleilu.hutool.log.dialect.Log4jLog
 
Log4jLogFactory - com.xiaoleilu.hutool.log.dialect中的类
Log4jLogFactory() - 类 的构造器com.xiaoleilu.hutool.log.dialect.Log4jLogFactory
 
LogFactory - com.xiaoleilu.hutool.log中的类
日志工厂类
LogFactory(String) - 类 的构造器com.xiaoleilu.hutool.log.LogFactory
 
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.util.FileUtil
递归遍历目录以及子目录中的所有文件
loopFiles(File) - 类 中的静态方法com.xiaoleilu.hutool.util.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.util.FileUtil
列出目录文件
给定的绝对路径不能是压缩包中的路径

M

mac(String, byte[], byte[]) - 类 中的静态方法com.xiaoleilu.hutool.util.SecureUtil
MAC 算法加密
MACHINE32 - 接口 中的静态变量com.xiaoleilu.hutool.bloomFilter.bitMap.BitMap
 
MACHINE64 - 接口 中的静态变量com.xiaoleilu.hutool.bloomFilter.bitMap.BitMap
 
mainName(File) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
返回主文件名
mainName(String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
返回主文件名
mapToBean(Map<?, ?>, Class<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
Map转换为Bean对象
mapToBeanIgnoreCase(Map<?, ?>, Class<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.BeanUtil
Map转换为Bean对象
忽略大小写
MathUtil - com.xiaoleilu.hutool.util中的类
数字相关工具类
MathUtil() - 类 的构造器com.xiaoleilu.hutool.util.MathUtil
 
maxFileSize - 类 中的变量com.xiaoleilu.hutool.cache.FileLFUCache
缓存的最大文件大小,文件大于此大小时将不被缓存
maxFileSize() - 类 中的方法com.xiaoleilu.hutool.cache.FileLFUCache
 
MD2 - 类 中的静态变量com.xiaoleilu.hutool.util.SecureUtil
 
MD4 - 类 中的静态变量com.xiaoleilu.hutool.util.SecureUtil
 
MD5 - 类 中的静态变量com.xiaoleilu.hutool.util.SecureUtil
 
md5(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.util.SecureUtil
MD5算法加密
md5(File) - 类 中的静态方法com.xiaoleilu.hutool.util.SecureUtil
MD5算法加密
md5(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.SecureUtil
MD5算法加密
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方法枚举
MINUTE_MS - 类 中的静态变量com.xiaoleilu.hutool.util.DateUtil
每分钟的毫秒数
missCount - 类 中的变量com.xiaoleilu.hutool.cache.AbstractCache
丢失数
mixHash(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
混合hash算法,输出64位的值
mkdir(String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
创建文件夹,如果存在直接返回此文件夹
mkParentDirs(File) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
创建所给文件或目录的父目录
MOBILE - 类 中的静态变量com.xiaoleilu.hutool.lang.Validator
移动电话
modify(T) - 接口 中的方法com.xiaoleilu.hutool.lang.Filter
修改过滤后的结果
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(Date) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
获得月份
more() - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
Determine if the source string still contains characters that next() can consume.
move(File, File, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
移动文件或者目录
MS - 类 中的静态变量com.xiaoleilu.hutool.util.DateUtil
毫秒
MysqlDialect - com.xiaoleilu.hutool.db.dialect.impl中的类
MySQL方言
MysqlDialect() - 类 的构造器com.xiaoleilu.hutool.db.dialect.impl.MysqlDialect
 

N

names() - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
Produce a JSONArray containing the names of the elements of this JSONObject.
nativeSQL(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
NetUtil - com.xiaoleilu.hutool.util中的类
网络相关工具
NetUtil() - 类 的构造器com.xiaoleilu.hutool.util.NetUtil
 
newArray(Class<?>, int) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
新建一个空数组
newArrayList() - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
新建一个ArrayList
newArrayList(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.pool.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模板引擎
newExecutor(int) - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
新建一个线程池
newExecutor() - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
获得一个新的线程池
newHashMap() - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
新建一个HashMap
newHashMap(int) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
新建一个HashMap
newHashSet() - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
新建一个HashSet
newHashSet(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
实例化对象
NEWLINE - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
newProxyInstance(Class<T>, InvocationHandler) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
新建代理对象
动态代理类对象用于动态创建一个代理对象,可以在调用接口方法的时候动态执行相应逻辑
newSingleExecutor() - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
获得一个新的线程池,只有单个线程
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
Get the next character in the source string.
next(char) - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
Consume the next character, and check that it matches a specified character.
next(int) - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
Get the next n characters.
nextClean() - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
Get the next char in the string, skipping whitespace.
nextString(char) - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
Return the characters up to the next close quote character.
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.
nextValue() - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
Get the next value.
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_PATTERN - 类 中的静态变量com.xiaoleilu.hutool.util.DateUtil
标准日期格式
NORM_DATETIME_MINUTE_PATTERN - 类 中的静态变量com.xiaoleilu.hutool.util.DateUtil
标准日期时间格式,精确到分
NORM_DATETIME_MS_PATTERN - 类 中的静态变量com.xiaoleilu.hutool.util.DateUtil
标准日期时间格式,精确到毫秒
NORM_DATETIME_PATTERN - 类 中的静态变量com.xiaoleilu.hutool.util.DateUtil
标准日期时间格式,精确到秒
NORM_TIME_PATTERN - 类 中的静态变量com.xiaoleilu.hutool.util.DateUtil
标准时间格式
normalize(String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
修复路径
1.
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.util.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
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
 
offer(E) - 类 中的方法com.xiaoleilu.hutool.lang.BoundedPriorityQueue
加入元素,当队列满时,淘汰末尾元素
offset() - 类 中的方法com.xiaoleilu.hutool.io.FastByteBuffer
 
offsiteDate(Date, int, int) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
获取指定日期偏移指定时间后的时间
offsiteDay(Date, int) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
偏移天
offsiteMonth(Date, int) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
偏移月
offsiteWeek(Date, int) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
偏移周
on(SqlBuilder.LogicalOperator, Condition...) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
配合JOIN的 ON语句,多表关联的条件语句
只支持单一的逻辑运算符(例如多个条件之间)
oneByOneHash(String) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
一次一个hash
onRemove(K, V) - 类 中的方法com.xiaoleilu.hutool.cache.LFUCache
对象移除回调。
open() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.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, SqlBuilder.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(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(Collection<String>, Entity, int, int, RsHandler<T>) - 类 中的方法com.xiaoleilu.hutool.db.Session
分页查询
page(Collection<String>, Entity, Page, RsHandler<T>) - 类 中的方法com.xiaoleilu.hutool.db.Session
分页查询
page(Collection<String>, Entity, int, int) - 类 中的方法com.xiaoleilu.hutool.db.Session
分页查询
page(Collection<String>, Entity, Page) - 类 中的方法com.xiaoleilu.hutool.db.Session
分页查询
page(Entity, Page) - 类 中的方法com.xiaoleilu.hutool.db.Session
分页查询
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
page(Collection<String>, Entity, int, int, RsHandler<T>) - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
分页查询
page(Collection<String>, Entity, Page, RsHandler<T>) - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
分页查询
page(Collection<String>, Entity, int, int) - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
分页查询
page(Collection<String>, Entity, Page) - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
分页查询
page(Entity, Page) - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
分页查询
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(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(String) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
JSON字符串转JSONObject对象
parse(Class<?>, Object) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
强制转换类型
parse(Date) - 类 中的静态方法com.xiaoleilu.hutool.lang.DateTime
转换JDK date为 DateTime
parse(T) - 类 中的静态方法com.xiaoleilu.hutool.lang.Dict
将PO对象转为Dict
parse(String, SimpleDateFormat) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
构建DateTime对象
parse(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
将特定格式的日期转换为Date对象
parse(String) - 类 中的静态方法com.xiaoleilu.hutool.util.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
parseArray(String) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
JSON字符串转JSONArray
parseBasic(Class<?>, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
转换基本类型
讲字符串转换为原始类型或包装类型
parseBean(T) - 类 中的方法com.xiaoleilu.hutool.db.Entity
将值对象转换为Entity
类名会被当作表名,小写第一个字母
parseBean(T) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
将值对象转换为Dict
类名会被当作表名,小写第一个字母
parseDate(String) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
格式yyyy-MM-dd
parseDateTime(String) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
格式yyyy-MM-dd HH:mm:ss
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.util.DateUtil
格式HH:mm:ss
parseXml(String) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
将String类型的XML转换为XML文档
PATH_FILE_PRE - 类 中的静态变量com.xiaoleilu.hutool.util.FileUtil
当Path为文件形式时, path会加入一个表示文件的前缀
PATH_SEPRATOR - 类 中的静态变量com.xiaoleilu.hutool.system.SystemUtil
 
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.pool中的类
池化
PooledConnection(PooledDataSource) - 类 的构造器com.xiaoleilu.hutool.db.ds.pool.PooledConnection
 
PooledConnection(PooledDataSource, Connection) - 类 的构造器com.xiaoleilu.hutool.db.ds.pool.PooledConnection
 
PooledDataSource - com.xiaoleilu.hutool.db.ds.pool中的类
池化数据源
PooledDataSource() - 类 的构造器com.xiaoleilu.hutool.db.ds.pool.PooledDataSource
构造,读取默认的配置文件和默认分组
PooledDataSource(String) - 类 的构造器com.xiaoleilu.hutool.db.ds.pool.PooledDataSource
构造,读取默认的配置文件
PooledDataSource(DbSetting, String) - 类 的构造器com.xiaoleilu.hutool.db.ds.pool.PooledDataSource
构造
PooledDataSource(DbConfig) - 类 的构造器com.xiaoleilu.hutool.db.ds.pool.PooledDataSource
构造
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.pool.ConnectionWraper
 
prepareCall(String, int, int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
prepareCall(String, int, int, int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
prepareStatement(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
prepareStatement(String, int, int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
prepareStatement(String, int, int, int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
prepareStatement(String, int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
prepareStatement(String, int[]) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
prepareStatement(String, String[]) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
primaryKeyField - 类 中的变量com.xiaoleilu.hutool.db.DaoTemplate
本表的主键字段,请在子类中覆盖或构造方法中指定,默认为id
primitiveWrapperMap - 枚举 中的静态变量com.xiaoleilu.hutool.lang.BasicType
包装类型为Key,原始类型为Value,例如: Integer.class -> int.class.
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() - 类 中的静态方法com.xiaoleilu.hutool.system.SystemUtil
 
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, Entity) - 接口 中的方法com.xiaoleilu.hutool.db.dialect.Dialect
构建用于查询行数的PreparedStatement
psForCount(Connection, Entity) - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect
 
psForDelete(Connection, Entity) - 接口 中的方法com.xiaoleilu.hutool.db.dialect.Dialect
构建用于删除的PreparedStatement
psForDelete(Connection, Entity) - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect
 
psForFind(Connection, Collection<String>, Entity) - 接口 中的方法com.xiaoleilu.hutool.db.dialect.Dialect
构建用于获取多条记录的PreparedStatement
psForFind(Connection, Collection<String>, Entity) - 类 中的方法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
 
psForInsert(Connection, Entity) - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.OracleDialect
 
psForPage(Connection, Collection<String>, Entity, int, int) - 接口 中的方法com.xiaoleilu.hutool.db.dialect.Dialect
构建用于分页查询的PreparedStatement
psForPage(Connection, Collection<String>, Entity, Page) - 接口 中的方法com.xiaoleilu.hutool.db.dialect.Dialect
构建用于分页查询的PreparedStatement
psForPage(Connection, Collection<String>, Entity, int, int) - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect
 
psForPage(Connection, Collection<String>, Entity, Page) - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect
 
psForPage(Connection, Collection<String>, Entity, Page) - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.MysqlDialect
 
psForPage(Connection, Collection<String>, Entity, Page) - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.OracleDialect
 
psForUpdate(Connection, Entity, Entity) - 接口 中的方法com.xiaoleilu.hutool.db.dialect.Dialect
构建用于更新的PreparedStatement
psForUpdate(Connection, Entity, Entity) - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect
 
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(String, String) - 类 中的静态方法com.xiaoleilu.hutool.http.CookiePool
将某个网站的Cookie放入Cookie池
put(String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpRequest
PUT请求
put(boolean) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Append a boolean value.
put(Collection<?>) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
put(double) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Append a double value.
put(int) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Append an int value.
put(long) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Append an long value.
put(Map<?, ?>) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONObject which is produced from a Map.
put(Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Append an object value.
put(int, boolean) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Put or replace a boolean value in the JSONArray.
put(int, Collection<?>) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
put(int, double) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Put or replace a double value.
put(int, int) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Put or replace an int value.
put(int, long) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Put or replace a long value.
put(int, Map<?, ?>) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONObject that is produced from a Map.
put(int, Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Put or replace an object value in the JSONArray.
put(String, boolean) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
Put a key/boolean pair in the JSONObject.
put(String, Collection<?>) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
Put a key/value pair in the JSONObject, where the value will be a JSONArray which is produced from a Collection.
put(String, double) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
Put a key/double pair in the JSONObject.
put(String, int) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
Put a key/int pair in the JSONObject.
put(String, long) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
Put a key/long pair in the JSONObject.
put(String, Map<?, ?>) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
Put a key/value pair in the JSONObject, where the value will be a JSONObject which is produced from a Map.
put(String, Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
Put a key/value pair in the JSONObject.
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 a key/value pair in the JSONObject, but only if the key and the value are both non-null.

Q

query(String, RsHandler<T>, Object...) - 类 中的方法com.xiaoleilu.hutool.db.Session
查询
query(Connection, String, RsHandler<T>, Object...) - 类 中的静态方法com.xiaoleilu.hutool.db.sql.SqlExecutor
执行查询语句
此方法不会关闭Connection
query(String, RsHandler<T>, Object...) - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
查询
quietRollback() - 类 中的方法com.xiaoleilu.hutool.db.Session
静默回滚事务
回滚事务
quietRollback(Savepoint) - 类 中的方法com.xiaoleilu.hutool.db.Session
静默回滚到某个保存点,保存点的设置请使用setSavepoint方法
quote(String) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
对所有双引号做转义处理(使用双反斜杠做转义)
为了能在HTML中较好的显示,会将</转义为<\/
JSON字符串中不能包含控制字符和未经转义的引号和反斜杠
quote(String, Writer) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
对所有双引号做转义处理(使用双反斜杠做转义)
为了能在HTML中较好的显示,会将</转义为<\/
JSON字符串中不能包含控制字符和未经转义的引号和反斜杠

R

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
随机获得列表中的一定量元素
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.CollectionUtil
生成一个数字列表
自动判定正序反序
range(int, int) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
生成一个数字列表
自动判定正序反序
range(int, int, int) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
生成一个数字列表
自动判定正序反序
raw - 类 中的变量com.xiaoleilu.hutool.db.ds.pool.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(InputStream, String) - 类 中的静态方法com.xiaoleilu.hutool.util.IoUtil
从流中读取内容
read(Reader) - 类 中的静态方法com.xiaoleilu.hutool.util.IoUtil
从Reader中读取String
read(FileChannel, String) - 类 中的静态方法com.xiaoleilu.hutool.util.IoUtil
从FileChannel中读取内容
readableFileSize(File) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
可读的文件大小
readableFileSize(long) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
可读的文件大小
参考 http://stackoverflow.com/questions/3263892/format-file-size-as-mb-gb-etc
readBytes(File) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
读取文件所有数据
文件的长度不能超过Integer.MAX_VALUE
readBytes(InputStream) - 类 中的静态方法com.xiaoleilu.hutool.util.IoUtil
从流中读取bytes
readLines(String, String, T) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
从文件中读取每一行数据
readLines(File, String, T) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
从文件中读取每一行数据
readLines(URL, String, T) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
从文件中读取每一行数据
readLines(URL, String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
从文件中读取每一行数据
readLines(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
从文件中读取每一行数据
readLines(File, String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
从文件中读取每一行数据
readLines(InputStream, String, T) - 类 中的静态方法com.xiaoleilu.hutool.util.IoUtil
从流中读取内容
readObjectFromXml(File) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
从XML中读取对象 Reads serialized object from the XML file.
readResponse(HttpConnection) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpResponse
读取响应信息
readString(File, String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
读取文件内容
readString(File, Charset) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
读取文件内容
readString(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
读取文件内容
readString(String, Charset) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
读取文件内容
readString(URL, String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
读取文件内容
readUtf8String(File) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
读取文件内容
readUtf8String(String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
读取文件内容
readXML(File) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
读取解析XML文件
readXML(String) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
读取解析XML文件
release() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.PooledConnection
释放连接
release() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.PooledDataSource
释放全部连接
releaseSavepoint(Savepoint) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
reload() - 类 中的方法com.xiaoleilu.hutool.lang.GroupedSet
重新加载配置文件
reload() - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
重新加载配置文件
reload() - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
重新加载配置文件
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 an index and close the hole.
remove(String) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
Remove a name and its value, if present.
remove(T) - 类 中的方法com.xiaoleilu.hutool.lang.ConsistentHash
移除节点的同时移除相应的虚拟节点
remove(Class<?>) - 类 中的静态方法com.xiaoleilu.hutool.lang.Singleton
移除指定Singleton对象
remove(String) - 类 中的方法com.xiaoleilu.hutool.util.CronUtil
移除任务
removeAllHtmlAttr(String, String...) - 类 中的静态方法com.xiaoleilu.hutool.util.HtmlUtil
去除指定标签的所有属性
removeEqual(T, String...) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
与给定实体对比并去除相同的部分
此方法用于在更新操作时避免所有字段被更新,跳过不需要更新的字段 version from 2.0.0
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标签
不区分大小写
removePrefix(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
去掉指定前缀
removePrefixIgnoreCase(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
忽略大小写去掉指定前缀
removeSuffix(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
去掉指定后缀
removeSuffixIgnoreCase(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
忽略大小写去掉指定后缀
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>) - 类 中的静态方法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.CollectionUtil
生成一个新的重新设置大小的数组
resize(T[], int) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
生成一个新的重新设置大小的数组
新数组的类型为原数组的类型
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特殊字符
ReUtil - com.xiaoleilu.hutool.util中的类
正则相关工具类
RIPEMD128 - 类 中的静态变量com.xiaoleilu.hutool.util.SecureUtil
 
RIPEMD160 - 类 中的静态变量com.xiaoleilu.hutool.util.SecureUtil
 
rollback() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
rollback(Savepoint) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.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转为字符串
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
 
runner - 类 中的变量com.xiaoleilu.hutool.db.DaoTemplate
SQL运行器

S

safeUnescape(String) - 类 中的静态方法com.xiaoleilu.hutool.util.EscapeUtil
安全的unescape文本,当文本不是被escape的时候,返回原文。
scanPackage() - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
扫面该包路径下所有class文件
scanPackage(String) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
扫面该包路径下所有class文件
scanPackage(String, ClassUtil.ClassFilter) - 类 中的静态方法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.util.ClassUtil
扫描指定包路径下所有包含指定注解的类
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
定时清理
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(Date) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
获得年
SECOND_MS - 类 中的静态变量com.xiaoleilu.hutool.util.DateUtil
每秒钟的毫秒数
SecureUtil - com.xiaoleilu.hutool.util中的类
安全相关工具类
SecureUtil() - 类 的构造器com.xiaoleilu.hutool.util.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)
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(String, Object) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
设置列
setAccessible(Method) - 类 中的静态方法com.xiaoleilu.hutool.util.ClassUtil
设置方法为可访问
setAutoCommit(boolean) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
setCatalog(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
setChunkedStreamingMode(int) - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
采用流方式上传数据,无需本地缓存数据。
setClientInfo(String, String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
setClientInfo(Properties) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.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
设置连接超时
setCookie(String) - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
设置Cookie
setCronSetting(Setting) - 类 中的静态方法com.xiaoleilu.hutool.util.CronUtil
自定义定时任务配置文件
setCronSetting(String) - 类 中的静态方法com.xiaoleilu.hutool.util.CronUtil
自定义定时任务配置文件路径
setCurrentLogFactory(LogFactory) - 类 中的静态方法com.xiaoleilu.hutool.log.LogFactory
自定义日志实现
setDialect(Dialect) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
设置SQL方言
setDirection(SqlBuilder.Direction) - 类 中的方法com.xiaoleilu.hutool.db.sql.Order
设置排序方向
setDriver(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.DbConfig
 
setDriver(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.SimpleDataSource
 
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
设置字段列表
setHoldability(int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
setHostnameVerifier(HostnameVerifier) - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
设置域名验证器
只针对HTTPS请求,如果不设置,不做验证,所有域名被信任
setIgnoreNull(String, Object) - 类 中的方法com.xiaoleilu.hutool.db.Entity
 
setIgnoreNull(String, Object) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
设置列,当键或值为null时忽略
setInitialSize(int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.DbConfig
 
setLoginTimeout(int) - 类 中的方法com.xiaoleilu.hutool.db.ds.AbstractDataSource
 
setLogWriter(PrintWriter) - 类 中的方法com.xiaoleilu.hutool.db.ds.AbstractDataSource
 
setMaxActive(int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.DbConfig
 
setMaxWait(long) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.DbConfig
 
setMethod(Method) - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
设置请求方法
setMinIdle(int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.DbConfig
 
setName(String) - 类 中的方法com.xiaoleilu.hutool.db.meta.Column
 
setNetworkTimeout(Executor, int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.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
设置页码
setPageNumber(int) - 类 中的方法com.xiaoleilu.hutool.db.Page
设置页码
setPass(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.DbConfig
 
setPass(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.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
设置前置包装的符号
setProperty(String, Object) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
设置值,无给定键创建之。
setReadOnly(boolean) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
setReadTimeout(int) - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
设置读取超时
setRunner(SqlConnRunner) - 类 中的方法com.xiaoleilu.hutool.db.Session
 
setRunner(SqlConnRunner) - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
 
setSavepoint() - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
setSavepoint(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
setSavepoint() - 类 中的方法com.xiaoleilu.hutool.db.Session
设置保存点
setSavepoint(String) - 类 中的方法com.xiaoleilu.hutool.db.Session
设置保存点
setSchema(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
setSetting(Setting) - 类 中的方法com.xiaoleilu.hutool.db.ds.MongoDS
设定MongoDB配置文件
setSetting(String, Object) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
设置值,无给定键创建之。
setSize(int) - 类 中的方法com.xiaoleilu.hutool.db.meta.Column
 
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
 
Setting - com.xiaoleilu.hutool.setting中的类
设置工具类。
Setting(Charset, boolean) - 类 的构造器com.xiaoleilu.hutool.setting.Setting
基本构造
需自定义初始化配置文件
Setting(String, String, boolean) - 类 的构造器com.xiaoleilu.hutool.setting.Setting
构造,使用相对于Class文件根目录的相对路径
Setting(File, String, boolean) - 类 的构造器com.xiaoleilu.hutool.setting.Setting
构造
Setting(String, Class<?>, String, boolean) - 类 的构造器com.xiaoleilu.hutool.setting.Setting
构造,相对于classes读取文件
Setting(URL, String, boolean) - 类 的构造器com.xiaoleilu.hutool.setting.Setting
构造
Setting(String) - 类 的构造器com.xiaoleilu.hutool.setting.Setting
构造
SettingDruidDataSource - com.xiaoleilu.hutool.db.ds.druid中的类
基于配置文件的Druid数据源
SettingDruidDataSource() - 类 的构造器com.xiaoleilu.hutool.db.ds.druid.SettingDruidDataSource
构造
SettingDruidDataSource(String) - 类 的构造器com.xiaoleilu.hutool.db.ds.druid.SettingDruidDataSource
构造
SettingDruidDataSource(Setting, Setting, String) - 类 的构造器com.xiaoleilu.hutool.db.ds.druid.SettingDruidDataSource
初始化数据库连接配置文件
SettingException - com.xiaoleilu.hutool.exceptions中的异常错误
设置异常
SettingException(Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.SettingException
 
SettingException(String) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.SettingException
 
SettingException(String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.SettingException
 
SettingException(String, Throwable) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.SettingException
 
SettingException(Throwable, String, Object...) - 异常错误 的构造器com.xiaoleilu.hutool.exceptions.SettingException
 
settingUrl - 类 中的变量com.xiaoleilu.hutool.setting.AbsSetting
设定文件的URL
setTotal(int) - 类 中的方法com.xiaoleilu.hutool.db.PageResult
设置总数
setTotalPage(int) - 类 中的方法com.xiaoleilu.hutool.db.PageResult
设置总页数
setTransactionIsolation(int) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.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.HttpConnection
设置信任信息
setType(int) - 类 中的方法com.xiaoleilu.hutool.db.meta.Column
 
setTypeMap(Map<String, Class<?>>) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
setUrl(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.DbConfig
 
setUrl(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.SimpleDataSource
 
setUrl(URL) - 类 中的方法com.xiaoleilu.hutool.http.HttpConnection
设置请求URL
setUser(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.DbConfig
 
setUser(String) - 类 中的方法com.xiaoleilu.hutool.db.ds.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的一个变量表示
setWrapper(Wrapper) - 接口 中的方法com.xiaoleilu.hutool.db.dialect.Dialect
设置包装器
setWrapper(Wrapper) - 类 中的方法com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect
 
SHA1 - 类 中的静态变量com.xiaoleilu.hutool.util.SecureUtil
 
sha1(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.SecureUtil
SHA-1算法加密
sha1(File) - 类 中的静态方法com.xiaoleilu.hutool.util.SecureUtil
SHA-1算法加密
sha1(byte[], byte[]) - 类 中的静态方法com.xiaoleilu.hutool.util.SecureUtil
MAC SHA-1算法加密
sha1(String, String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.SecureUtil
MAC SHA-1算法加密
SHA256 - 类 中的静态变量com.xiaoleilu.hutool.util.SecureUtil
 
similar(Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Determine if two JSONArrays are similar.
similar(Object) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
Determine if two JSONObjects are similar.
SimpleDataSource - com.xiaoleilu.hutool.db.ds中的类
简易数据源,没有使用连接池,仅供测试或打开关闭连接非常少的场合使用!
SimpleDataSource() - 类 的构造器com.xiaoleilu.hutool.db.ds.SimpleDataSource
构造
SimpleDataSource(String) - 类 的构造器com.xiaoleilu.hutool.db.ds.SimpleDataSource
构造
SimpleDataSource(Setting, String) - 类 的构造器com.xiaoleilu.hutool.db.ds.SimpleDataSource
构造
SimpleDataSource(String, String, String) - 类 的构造器com.xiaoleilu.hutool.db.ds.SimpleDataSource
构造
simpleUUID() - 类 中的静态方法com.xiaoleilu.hutool.util.SecureUtil
 
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() - 类 中的方法com.xiaoleilu.hutool.setting.AbsSetting
 
size() - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
 
skipTo(char) - 类 中的方法com.xiaoleilu.hutool.json.JSONTokener
Skip characters until the next character is the requested character.
SLASH - 类 中的静态变量com.xiaoleilu.hutool.util.StrUtil
 
sleep(Long) - 类 中的静态方法com.xiaoleilu.hutool.util.ThreadUtil
挂起当前线程
Slf4jLog - com.xiaoleilu.hutool.log.dialect中的类
SLF4J log.
Slf4jLog(Logger) - 类 的构造器com.xiaoleilu.hutool.log.dialect.Slf4jLog
 
Slf4jLog(Class<?>) - 类 的构造器com.xiaoleilu.hutool.log.dialect.Slf4jLog
 
Slf4jLog(String) - 类 的构造器com.xiaoleilu.hutool.log.dialect.Slf4jLog
 
Slf4jLogFactory - com.xiaoleilu.hutool.log.dialect中的类
SLF4J log.
Slf4jLogFactory() - 类 的构造器com.xiaoleilu.hutool.log.dialect.Slf4jLogFactory
 
Slf4jLogFactory(boolean) - 类 的构造器com.xiaoleilu.hutool.log.dialect.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.util.DateUtil
计时,常用于记录某段代码的执行时间,单位:毫秒
spendNt(long) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
计时,常用于记录某段代码的执行时间,单位:纳秒
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
SqlBuilder - com.xiaoleilu.hutool.db.sql中的类
SQL构建器
首先拼接SQL语句,值使用 ?
SqlBuilder() - 类 的构造器com.xiaoleilu.hutool.db.sql.SqlBuilder
 
SqlBuilder(Wrapper) - 类 的构造器com.xiaoleilu.hutool.db.sql.SqlBuilder
 
SqlBuilder.Direction - com.xiaoleilu.hutool.db.sql中的枚举
排序方式(升序或者降序)
SqlBuilder.Join - com.xiaoleilu.hutool.db.sql中的枚举
SQL中多表关联用的关键字
SqlBuilder.LogicalOperator - com.xiaoleilu.hutool.db.sql中的枚举
逻辑运算符
SqlConnRunner - com.xiaoleilu.hutool.db中的类
SQL执行类
此执行类只接受方言参数,不需要数据源,只有在执行方法时需要数据库连接对象
此对象存在的意义在于,可以由使用者自定义数据库连接对象,并执行多个方法,方便事务的统一控制或减少连接对象的创建关闭
SqlConnRunner(Dialect) - 类 的构造器com.xiaoleilu.hutool.db.SqlConnRunner
构造
SqlConnRunner(String) - 类 的构造器com.xiaoleilu.hutool.db.SqlConnRunner
构造
SqlExecutor - com.xiaoleilu.hutool.db.sql中的类
SQL执行器,全部为静态方法,执行查询或非查询的SQL语句
此方法为JDBC的简单封装,与数据库类型无关
SqlExecutor() - 类 的构造器com.xiaoleilu.hutool.db.sql.SqlExecutor
 
Sqllite3Dialect - com.xiaoleilu.hutool.db.dialect.impl中的类
SqlLite3方言
Sqllite3Dialect() - 类 的构造器com.xiaoleilu.hutool.db.dialect.impl.Sqllite3Dialect
 
SqlRunner - com.xiaoleilu.hutool.db中的类
SQL执行类
通过给定的数据源执行给定SQL或者给定数据源和方言,执行相应的CRUD操作
SqlRunner(DataSource) - 类 的构造器com.xiaoleilu.hutool.db.SqlRunner
构造,从DataSource中识别方言
SqlRunner(DataSource, Dialect) - 类 的构造器com.xiaoleilu.hutool.db.SqlRunner
构造
SqlRunner(DataSource, String) - 类 的构造器com.xiaoleilu.hutool.db.SqlRunner
构造
start() - 类 中的方法com.xiaoleilu.hutool.lang.SyncFinisher
开始工作
start() - 类 中的静态方法com.xiaoleilu.hutool.util.CronUtil
开始
start() - 类 中的方法com.xiaoleilu.hutool.util.DateUtil.Timer
 
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
停止
store(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
持久化当前设置,会覆盖掉之前的设置
持久化会不会保留之前的分组
store(String, Class<?>) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
存储当前设置,会覆盖掉以前的设置
store(String) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
持久化当前设置,会覆盖掉之前的设置
store(String, Class<?>) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.Props
存储当前设置,会覆盖掉以前的设置
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(ByteBuffer, String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
将编码的byteBuffer数据转换为字符串
str(ByteBuffer, Charset) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
将编码的byteBuffer数据转换为字符串
stringToValue(String) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
Try to convert a string into a number, boolean, or null.
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位置一样,返回 "" example: abcdefgh 2 3 -> c abcdefgh 2 -3 -> cde
subPath(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
获得相对子路径
subPath(String, File) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
获得相对子路径
subPre(String, int) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
切割前部分
subSuf(String, int) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
切割后部分
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
 
SystemUtil - com.xiaoleilu.hutool.system中的类
Java的System类封装工具类。

T

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,将抛出异常
thisMonth() - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
 
thisYear() - 类 中的静态方法com.xiaoleilu.hutool.util.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
构造
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.util.DateUtil
计时器
计算某个过程话费的时间,精确到毫秒
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
返回快速缓冲中的数据
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(Class<T>) - 类 中的方法com.xiaoleilu.hutool.lang.Dict
填充Value Object对象
toBean(String, Object) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
将setting中的键值关系映射到对象中,原理是调用对象对应的set方法
只支持基本类型的转换
toBean(Object) - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
将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.lang.Conver
转换为BigDecimal
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toBigInteger(Object, BigInteger) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
转换为BigInteger
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toBool(Object, Boolean) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
转换为boolean
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toBooleanArray(boolean, Object...) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
转换为Boolean数组
toByte(Object, Byte) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
转换为byte
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toByteArray() - 类 中的方法com.xiaoleilu.hutool.io.FastByteArrayOutputStream
 
toCalendar(Date) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
转换为Calendar对象
toCamelCase(String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
将下划线方式命名的字符串转换为驼峰式。
toChar(Object, Character) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
转换为字符
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
today() - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
当前日期,格式 yyyy-MM-dd
toDBC(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
全角转半角
toDBC(String, Set<Character>) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
替换全角为半角
toDouble(Object, Double) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
转换为double
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toDoubleArray(boolean, Object...) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
转换为Double数组
toEnum(Class<E>, Object, E) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
转换为Enum对象
如果给定的值为空,或者转换失败,返回默认值
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.lang.Conver
转换为Float
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toFloatArray(boolean, Object...) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
转换为Float数组
toHex(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
byte数组转16进制串
toInt(Object, Integer) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
转换为int
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toIntArray(boolean, Object...) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
转换为Integer数组
toIntSecond(Date) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
格式化成yyMMddHHmm后转换为int型
toJSON() - 类 中的方法com.xiaoleilu.hutool.json.JSONSupport
 
toJSONArray(JSONArray) - 类 中的方法com.xiaoleilu.hutool.json.JSONObject
Produce a JSONArray containing the values of the members of this JSONObject.
toJSONObject(JSONArray) - 类 中的方法com.xiaoleilu.hutool.json.JSONArray
Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
toJsonPrettyStr(JSONObject) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
转为格式化后的JSON字符串
toJsonPrettyStr(JSONArray) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
转为格式化后的JSON字符串
toJsonStr(JSONObject) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
转为JSON字符串
toJsonStr(JSONArray) - 类 中的静态方法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.lang.Conver
转换为long
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toLongArray(boolean, Object...) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
转换为Long数组
toMap(Collection<Map.Entry<T, K>>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
将Entry集合转换为HashMap
toMsStr() - 类 中的方法com.xiaoleilu.hutool.lang.DateTime
 
toNumber(Object, Number) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
转换为Number
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
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参数形式
编码键和值对
toPrettyString() - 类 中的方法com.xiaoleilu.hutool.json.JSONSupport
美化的JSON(使用回车缩进显示JSON),用于打印输出debug
toProperties() - 类 中的方法com.xiaoleilu.hutool.setting.dialect.BasicSetting
转换为Properties对象,原分组变为前缀
toSBC(String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
半角转全角
toSBC(String, Set<Character>) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
半角转全角
toShort(Object, Short) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
转换为Short
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toStr(Object, String) - 类 中的静态方法com.xiaoleilu.hutool.lang.Conver
转换为字符串
如果给定的值为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.util.IoUtil
String 转为 流
toString() - 类 中的方法com.xiaoleilu.hutool.cache.AbstractCache
 
toString() - 类 中的方法com.xiaoleilu.hutool.cache.CacheObj
 
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.io.FastByteArrayOutputStream
 
toString(String) - 类 中的方法com.xiaoleilu.hutool.io.FastByteArrayOutputStream
 
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() - 类 中的方法com.xiaoleilu.hutool.lang.DateTime
 
toString(String) - 类 中的方法com.xiaoleilu.hutool.lang.DateTime
 
toString() - 类 中的方法com.xiaoleilu.hutool.lang.Tuple
 
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.UserInfo
将当前用户的信息转换成字符串。
totalPage(int, int) - 类 中的静态方法com.xiaoleilu.hutool.util.PageUtil
根据总数计算总页数
toTreeSet(Collection<T>, Comparator<T>) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
将集合转换为排序后的TreeSet
touch(String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
创建文件,如果这个文件存在,直接返回这个文件
touch(File) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
创建文件,如果这个文件存在,直接返回这个文件
toUnderlineCase(String) - 类 中的静态方法com.xiaoleilu.hutool.util.StrUtil
将驼峰式命名的字符串转换为下划线方式。
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对象
trace(String) - 类 中的静态方法com.xiaoleilu.hutool.http.HttpRequest
TRACE请求
trace(Throwable) - 类 中的方法com.xiaoleilu.hutool.log.AbstractLog
 
trace(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ApacheCommonsLog
 
trace(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ApacheCommonsLog
 
trace(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ConsoleLog
 
trace(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ConsoleLog
 
trace(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.JdkLog
 
trace(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.JdkLog
 
trace(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4j2Log
 
trace(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4j2Log
 
trace(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4jLog
 
trace(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4jLog
 
trace(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Slf4jLog
 
trace(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.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解压处理
universal(char[], int, int[]) - 类 中的静态方法com.xiaoleilu.hutool.util.HashUtil
Universal Hashing
unserialize(byte[]) - 类 中的静态方法com.xiaoleilu.hutool.util.ObjectUtil
反序列化
对象必须实现Serializable接口
unwrap(Class<T>) - 类 中的方法com.xiaoleilu.hutool.db.ds.AbstractDataSource
 
unwrap(Class<T>) - 类 中的方法com.xiaoleilu.hutool.db.ds.pool.ConnectionWraper
 
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.DaoTemplate
按照条件更新
update(Entity) - 类 中的方法com.xiaoleilu.hutool.db.DaoTemplate
更新
update(Entity, Entity) - 类 中的方法com.xiaoleilu.hutool.db.Session
更新数据
update(Entity) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
更新
update(Connection, Entity, Entity) - 类 中的方法com.xiaoleilu.hutool.db.SqlConnRunner
更新数据
此方法不会关闭Connection
update(Entity, Entity) - 类 中的方法com.xiaoleilu.hutool.db.SqlRunner
更新数据
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
URL - 类 中的静态变量com.xiaoleilu.hutool.lang.Validator
URL
url(String) - 类 中的静态方法com.xiaoleilu.hutool.util.URLUtil
创建URL对象
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
 
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(String) - 接口 中的方法com.xiaoleilu.hutool.util.BeanUtil.ValueProvider
获取值
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.db.sql.SqlBuilder.Direction
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.db.sql.SqlBuilder.Join
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.db.sql.SqlBuilder.LogicalOperator
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.http.Header
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.http.Method
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.lang.BasicType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.xiaoleilu.hutool.log.level.Level
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.db.sql.SqlBuilder.Direction
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.db.sql.SqlBuilder.Join
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.db.sql.SqlBuilder.LogicalOperator
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.http.Header
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.http.Method
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.lang.BasicType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.xiaoleilu.hutool.log.level.Level
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
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(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.ApacheCommonsLog
 
warn(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ApacheCommonsLog
 
warn(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ConsoleLog
 
warn(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.ConsoleLog
 
warn(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.JdkLog
 
warn(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.JdkLog
 
warn(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4j2Log
 
warn(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4j2Log
 
warn(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4jLog
 
warn(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Log4jLog
 
warn(String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.Slf4jLog
 
warn(Throwable, String, Object...) - 类 中的方法com.xiaoleilu.hutool.log.dialect.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级别日志接口
weekCount(Date, Date) - 类 中的静态方法com.xiaoleilu.hutool.util.DateUtil
计算指定指定时间区间内的周数
where(SqlBuilder.LogicalOperator, Condition...) - 类 中的方法com.xiaoleilu.hutool.db.sql.SqlBuilder
添加Where语句
只支持单一的逻辑运算符(例如多个条件之间)
work() - 类 中的方法com.xiaoleilu.hutool.lang.SyncFinisher.Worker
 
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.CollectionUtil
将基本类型数组包装为包装类型
wrap(long...) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
将基本类型数组包装为包装类型
wrap(char...) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
将基本类型数组包装为包装类型
wrap(byte...) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
将基本类型数组包装为包装类型
wrap(short...) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
将基本类型数组包装为包装类型
wrap(float...) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
将基本类型数组包装为包装类型
wrap(double...) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
将基本类型数组包装为包装类型
wrap(boolean...) - 类 中的静态方法com.xiaoleilu.hutool.util.CollectionUtil
将基本类型数组包装为包装类型
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.lang.BasicType
原始类型为Key,包装类型为Value,例如: int.class -> Integer.class.
write(byte[], int, int) - 类 中的方法com.xiaoleilu.hutool.io.FastByteArrayOutputStream
 
write(int) - 类 中的方法com.xiaoleilu.hutool.io.FastByteArrayOutputStream
 
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
 
write(OutputStream, String, boolean, Object...) - 类 中的静态方法com.xiaoleilu.hutool.util.IoUtil
将多部分内容写到流中,自动转换为字符串
writeBytes(byte[], String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
写数据到文件中
writeBytes(byte[], File) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
写数据到文件中
writeBytes(byte[], File, int, int, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
写入数据到文件
writeFromStream(InputStream, File) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
将流的内容写入文件
writeFromStream(InputStream, String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
将流的内容写入文件
writeLines(Collection<T>, String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
将列表写入文件,覆盖模式
writeLines(Collection<T>, String, String, boolean) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
将列表写入文件
writeObjectAsXml(File, T) - 类 中的静态方法com.xiaoleilu.hutool.util.XmlUtil
将可序列化的对象转换为XML写入文件,已经存在的文件将被覆盖
Writes serializable object to a XML file.
writeString(String, String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
将String写入文件,覆盖模式
writeString(String, File, String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
将String写入文件,覆盖模式
writeTo(OutputStream) - 类 中的方法com.xiaoleilu.hutool.io.FastByteArrayOutputStream
 
writeToStream(File, OutputStream) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
将文件写入流中
writeToStream(String, OutputStream) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
将流的内容写入文件
writeUtf8String(String, String) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
将String写入文件,覆盖模式,字符集为UTF-8
writeUtf8String(String, File) - 类 中的静态方法com.xiaoleilu.hutool.util.FileUtil
将String写入文件,覆盖模式,字符集为UTF-8
writeValue(Writer, Object, int, int) - 类 中的静态方法com.xiaoleilu.hutool.json.JSONUtil
写入值到Writer

X

XmlUtil - com.xiaoleilu.hutool.util中的类
XML工具类
此工具使用w3c dom工具,不需要依赖第三方包。
XmlUtil() - 类 的构造器com.xiaoleilu.hutool.util.XmlUtil
 

Y

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

Z

zip(T[], 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, 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, File, boolean) - 类 中的静态方法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 © 2016. All rights reserved.