- H2Dialect - Class in cn.hutool.db.dialect.impl
-
H2数据库方言
- H2Dialect() - Constructor for class cn.hutool.db.dialect.impl.H2Dialect
-
- handle(BufferedReader) - Method in interface cn.hutool.core.io.file.FileReader.ReaderHandler
-
- handle(String) - Method in class cn.hutool.core.io.file.Tailer.ConsoleLineHandler
-
- handle(String) - Method in interface cn.hutool.core.io.LineHandler
-
处理一行数据,可以编辑后存入指定地方
- handle(CsvRow) - Method in interface cn.hutool.core.text.csv.CsvRowHandler
-
处理行数据
- handle(ResultSet) - Method in class cn.hutool.db.handler.BeanHandler
-
- handle(ResultSet) - Method in class cn.hutool.db.handler.BeanListHandler
-
- handle(ResultSet) - Method in class cn.hutool.db.handler.EntityHandler
-
- handle(ResultSet) - Method in class cn.hutool.db.handler.EntityListHandler
-
- handle(ResultSet) - Method in class cn.hutool.db.handler.EntitySetHandler
-
- handle(ResultSet) - Method in class cn.hutool.db.handler.NumberHandler
-
- handle(ResultSet) - Method in class cn.hutool.db.handler.PageResultHandler
-
- handle(ResultSet) - Method in interface cn.hutool.db.handler.RsHandler
-
处理结果集
结果集处理后不需要关闭
- handle(ResultSet) - Method in class cn.hutool.db.handler.StringHandler
-
- handle(ResultSet) - Method in class cn.hutool.db.handler.ValueListHandler
-
- handle(HttpExchange) - Method in class cn.hutool.http.server.handler.ActionHandler
-
- handle(Cell, Object) - Method in interface cn.hutool.poi.excel.cell.CellHandler
-
处理
- handle(int, long, List<Object>) - Method in class cn.hutool.poi.excel.sax.handler.AbstractRowHandler
-
- handle(int, long, List<Object>) - Method in class cn.hutool.poi.excel.sax.handler.BeanRowHandler
-
- handle(int, long, List<Object>) - Method in class cn.hutool.poi.excel.sax.handler.MapRowHandler
-
- handle(int, long, List<Object>) - Method in interface cn.hutool.poi.excel.sax.handler.RowHandler
-
处理一行数据
- handle(SocketChannel) - Method in interface cn.hutool.socket.nio.ChannelHandler
-
处理NIO数据
- handleCell(int, long, int, Object, CellStyle) - Method in interface cn.hutool.poi.excel.sax.handler.RowHandler
-
处理一个单元格的数据
- handleData(int, long, T) - Method in class cn.hutool.poi.excel.sax.handler.AbstractRowHandler
-
处理转换后的数据
- HandleHelper - Class in cn.hutool.db.handler
-
数据结果集处理辅助类
- HandleHelper() - Constructor for class cn.hutool.db.handler.HandleHelper
-
- handleRow(int, ResultSetMetaData, ResultSet, T) - Static method in class cn.hutool.db.handler.HandleHelper
-
处理单条数据
- handleRow(int, ResultSetMetaData, ResultSet, Class<T>) - Static method in class cn.hutool.db.handler.HandleHelper
-
处理单条数据
- handleRow(int, ResultSetMetaData, ResultSet) - Static method in class cn.hutool.db.handler.HandleHelper
-
处理单条数据
- handleRow(int, ResultSetMetaData, ResultSet, boolean) - Static method in class cn.hutool.db.handler.HandleHelper
-
处理单条数据
- handleRow(T, int, ResultSetMetaData, ResultSet, boolean) - Static method in class cn.hutool.db.handler.HandleHelper
-
处理单条数据
- handleRow(ResultSet) - Static method in class cn.hutool.db.handler.HandleHelper
-
处理单条数据
- handleRowToList(ResultSet) - Static method in class cn.hutool.db.handler.HandleHelper
-
处理单行数据
- handleRs(ResultSet, T) - Static method in class cn.hutool.db.handler.HandleHelper
-
处理多条数据
- handleRs(ResultSet, T, boolean) - Static method in class cn.hutool.db.handler.HandleHelper
-
处理多条数据
- handleRsToBeanList(ResultSet, T, Class<E>) - Static method in class cn.hutool.db.handler.HandleHelper
-
处理多条数据并返回一个Bean列表
- HanLPEngine - Class in cn.hutool.extra.tokenizer.engine.hanlp
-
HanLP分词引擎实现
项目地址:https://github.com/hankcs/HanLP
- HanLPEngine() - Constructor for class cn.hutool.extra.tokenizer.engine.hanlp.HanLPEngine
-
构造
- HanLPEngine(Segment) - Constructor for class cn.hutool.extra.tokenizer.engine.hanlp.HanLPEngine
-
构造
- HanLPResult - Class in cn.hutool.extra.tokenizer.engine.hanlp
-
HanLP分词结果实现
项目地址:https://github.com/hankcs/HanLP
- HanLPResult(List<Term>) - Constructor for class cn.hutool.extra.tokenizer.engine.hanlp.HanLPResult
-
- HanLPWord - Class in cn.hutool.extra.tokenizer.engine.hanlp
-
HanLP分词中的一个单词包装
- HanLPWord(Term) - Constructor for class cn.hutool.extra.tokenizer.engine.hanlp.HanLPWord
-
构造
- has(int, int) - Static method in class cn.hutool.core.math.BitStatusUtil
-
判断是否含有状态
- hasAllModifiers(Class<?>, ModifierUtil.ModifierType...) - Static method in class cn.hutool.core.util.ModifierUtil
-
类中是否同时存在所有给定修饰符
如定义修饰符为:public static final
,那么如果传入的modifierTypes为:
public、static 返回true
public、abstract返回false
private、abstract返回false
- hasAllModifiers(Member, ModifierUtil.ModifierType...) - Static method in class cn.hutool.core.util.ModifierUtil
-
成员中是否同时存在所有给定修饰符
如定义修饰符为:public static final
,那么如果传入的modifierTypes为:
public、static 返回true
public、abstract返回false
private、abstract返回false
- hasAnnotation(AnnotatedElement, Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
检查是否包含指定注解指定注解
- hasAttribute(String) - Method in class cn.hutool.core.annotation.GenericSynthesizedAnnotation
-
元注解是否存在该属性
- hasAttribute(String, Class<?>) - Method in class cn.hutool.core.annotation.GenericSynthesizedAnnotation
-
元注解是否存在该属性,且该属性的值类型是指定类型或其子类
- hasAttribute(String, Class<?>) - Method in interface cn.hutool.core.annotation.SynthesizedAnnotation
-
注解是否存在该名称相同,且类型一致的属性
- hasBlank(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串数组中,是否包含空字符串。
- hasChild() - Method in class cn.hutool.core.lang.tree.Tree
-
是否有子节点,无子节点则此为叶子节点
- hasChildren() - Method in interface cn.hutool.core.map.TreeEntry
-
当前节点是否有子节点
- hasChinese(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否包含汉字
- hasContent() - Method in class cn.hutool.core.text.StrBuilder
-
是否有内容
- hasEmpty(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
是否包含空字符串。
- hasEmpty(Object...) - Static method in class cn.hutool.core.util.ArrayUtil
-
- hasEmpty(Object...) - Static method in class cn.hutool.core.util.ObjectUtil
-
- hasField(Class<?>, String) - Static method in class cn.hutool.core.util.ReflectUtil
-
查找指定类中是否包含指定名称对应的字段,包括所有字段(包括非public字段),也包括父类和Object类的字段
- hasGetter(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断是否为Bean对象
判定方法是否存在只有无参数的getXXX方法或者isXXX方法
- hash(String, int) - Static method in class cn.hutool.bloomfilter.BitSetBloomFilter
-
计算Hash值
- hash(String) - Method in class cn.hutool.bloomfilter.filter.AbstractFilter
-
自定义Hash方法
- hash(String) - Method in class cn.hutool.bloomfilter.filter.FuncFilter
-
- Hash<T> - Interface in cn.hutool.core.lang.hash
-
Hash计算接口
- hash(T) - Method in interface cn.hutool.core.lang.hash.Hash
-
计算Hash值
- hash(T) - Method in interface cn.hutool.core.lang.hash.Hash128
-
- hash(T) - Method in interface cn.hutool.core.lang.hash.Hash32
-
- hash(T) - Method in interface cn.hutool.core.lang.hash.Hash64
-
- hash(String) - Method in class cn.hutool.core.lang.hash.KetamaHash
-
- hash(Collection<? extends CharSequence>) - Method in class cn.hutool.core.text.Simhash
-
指定文本计算simhash值
- hash128(byte[]) - Static method in class cn.hutool.core.lang.hash.CityHash
-
计算128位City Hash值
- hash128(byte[], Number128) - Static method in class cn.hutool.core.lang.hash.CityHash
-
计算128位City Hash值
- Hash128<T> - Interface in cn.hutool.core.lang.hash
-
Hash计算接口
- hash128(T) - Method in interface cn.hutool.core.lang.hash.Hash128
-
计算Hash值
- hash128(byte[]) - Static method in class cn.hutool.core.lang.hash.MetroHash
-
- hash128(byte[], long) - Static method in class cn.hutool.core.lang.hash.MetroHash
-
- hash128(CharSequence) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 128-bit Hash值计算
- hash128(byte[]) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 128-bit 算法.
- hash128(byte[], int, int) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 128-bit variant.
- hash128(byte[], int, int, int) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 128-bit variant.
- hash32(byte[]) - Static method in class cn.hutool.core.lang.hash.CityHash
-
计算32位City Hash值
- Hash32<T> - Interface in cn.hutool.core.lang.hash
-
Hash计算接口
- hash32(T) - Method in interface cn.hutool.core.lang.hash.Hash32
-
计算Hash值
- hash32(String) - Method in class cn.hutool.core.lang.hash.KetamaHash
-
- hash32(CharSequence) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 32-bit Hash值计算
- hash32(byte[]) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 32-bit Hash值计算
- hash32(byte[], int, int) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 32-bit Hash值计算
- hash32(byte[], int, int, int) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 32-bit Hash值计算
- hash64(byte[]) - Static method in class cn.hutool.core.lang.hash.CityHash
-
计算64位City Hash值
- hash64(byte[], long, long) - Static method in class cn.hutool.core.lang.hash.CityHash
-
计算64位City Hash值
- hash64(byte[], long) - Static method in class cn.hutool.core.lang.hash.CityHash
-
- Hash64<T> - Interface in cn.hutool.core.lang.hash
-
Hash计算接口
- hash64(T) - Method in interface cn.hutool.core.lang.hash.Hash64
-
计算Hash值
- hash64(String) - Method in class cn.hutool.core.lang.hash.KetamaHash
-
- hash64(byte[]) - Static method in class cn.hutool.core.lang.hash.MetroHash
-
- hash64(byte[], long) - Static method in class cn.hutool.core.lang.hash.MetroHash
-
- hash64(CharSequence) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 64-bit Hash值计算
- hash64(byte[]) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 64-bit 算法
This is essentially MSB 8 bytes of Murmur3 128-bit variant.
- hash64(byte[], int, int) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
类Murmur3 64-bit 算法
This is essentially MSB 8 bytes of Murmur3 128-bit variant.
- hashCode() - Method in class cn.hutool.core.bean.DynaBean
-
- hashCode() - Method in class cn.hutool.core.builder.HashCodeBuilder
-
The computed hashCode
from toHashCode() is returned due to the likelihood
of bugs in mis-calling toHashCode() and the unlikeliness of it mattering what the hashCode for
HashCodeBuilder itself is.
- hashCode() - Method in class cn.hutool.core.comparator.ComparableComparator
-
- hashCode() - Method in class cn.hutool.core.comparator.ComparatorChain
-
- hashCode() - Method in class cn.hutool.core.comparator.ReverseComparator
-
- hashCode() - Method in class cn.hutool.core.date.format.AbstractDateBasic
-
- hashCode() - Method in class cn.hutool.core.date.format.FastDateFormat
-
- hashCode() - Method in class cn.hutool.core.io.unit.DataSize
-
- hashCode() - Method in class cn.hutool.core.lang.ansi.Ansi8BitColor
-
- hashCode() - Method in class cn.hutool.core.lang.ansi.AnsiColorWrapper
-
- hashCode() - Method in class cn.hutool.core.lang.hash.Number128
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableBool
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableByte
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableInt
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableLong
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableObj
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableShort
-
- hashCode() - Method in class cn.hutool.core.lang.Opt
-
如果包裹内元素为空,则返回0,否则返回元素的 hashcode
- hashCode() - Method in class cn.hutool.core.lang.Pair
-
- hashCode() - Method in class cn.hutool.core.lang.tree.TreeNode
-
- hashCode() - Method in class cn.hutool.core.lang.Tuple
-
- hashCode() - Method in class cn.hutool.core.lang.UUID
-
返回此 UUID 的哈希码。
- hashCode() - Method in class cn.hutool.core.lang.Version
-
- hashCode() - Method in class cn.hutool.core.lang.WeightRandom.WeightObj
-
- hashCode() - Method in class cn.hutool.core.map.AbsEntry
-
- hashCode() - Method in class cn.hutool.core.map.LinkedForestMap.TreeEntryNode
-
- hashCode() - Method in class cn.hutool.core.map.MapWrapper
-
- hashCode() - Method in class cn.hutool.core.map.multi.AbsTable
-
- hashCode() - Method in class cn.hutool.core.map.TolerantMap
-
- hashCode() - Method in interface cn.hutool.core.map.TreeEntry
-
- hashCode() - Method in class cn.hutool.core.math.Money
-
计算本货币对象的杂凑值。
- hashCode() - Method in class cn.hutool.core.util.CoordinateUtil.Coordinate
-
- hashCode() - Method in class cn.hutool.db.ds.AbstractDSFactory
-
- hashCode() - Method in class cn.hutool.db.meta.IndexInfo
-
- hashCode() - Method in class cn.hutool.extra.template.TemplateConfig
-
- hashCode() - Method in class cn.hutool.http.useragent.UserAgentInfo
-
- hashCode() - Method in class cn.hutool.json.JSONArray
-
- hashCode() - Method in class cn.hutool.poi.excel.cell.CellLocation
-
- hashCode() - Method in class cn.hutool.setting.Setting
-
- HashCodeBuilder - Class in cn.hutool.core.builder
-
- HashCodeBuilder() - Constructor for class cn.hutool.core.builder.HashCodeBuilder
-
Uses two hard coded choices for the constants needed to build a hashCode
.
- HashCodeBuilder(int, int) - Constructor for class cn.hutool.core.builder.HashCodeBuilder
-
Two randomly chosen, odd numbers must be passed in.
- Hashids - Class in cn.hutool.core.codec
-
- Hashids(char[], char[], int) - Constructor for class cn.hutool.core.codec.Hashids
-
构造
- hashpw(String) - Static method in class cn.hutool.crypto.digest.BCrypt
-
生成密文,使用长度为10的加盐方式
- hashpw(String, String) - Static method in class cn.hutool.crypto.digest.BCrypt
-
生成密文
- HashUtil - Class in cn.hutool.core.util
-
Hash算法大全
推荐使用FNV1算法
- HashUtil() - Constructor for class cn.hutool.core.util.HashUtil
-
- hasLetter(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串数组中,是否包含空字符串。
- hasModifier(Class<?>, ModifierUtil.ModifierType...) - Static method in class cn.hutool.core.util.ModifierUtil
-
类是否存在给定修饰符中的任意一个
如定义修饰符为:public static final
,那么如果传入的modifierTypes为:
public、static 返回true
public、abstract返回true
private、abstract返回false
- hasModifier(Constructor<?>, ModifierUtil.ModifierType...) - Static method in class cn.hutool.core.util.ModifierUtil
-
构造是否存在给定修饰符中的任意一个
如定义修饰符为:public static final
,那么如果传入的modifierTypes为:
public、static 返回true
public、abstract返回true
private、abstract返回false
- hasModifier(Method, ModifierUtil.ModifierType...) - Static method in class cn.hutool.core.util.ModifierUtil
-
方法是否存在给定修饰符中的任意一个
如定义修饰符为:public static final
,那么如果传入的modifierTypes为:
public、static 返回true
public、abstract返回true
private、abstract返回false
- hasModifier(Field, ModifierUtil.ModifierType...) - Static method in class cn.hutool.core.util.ModifierUtil
-
字段是否存在给定修饰符中的任意一个
如定义修饰符为:public static final
,那么如果传入的modifierTypes为:
public、static 返回true
public、abstract返回true
private、abstract返回false
- hasMoreElements() - Method in class cn.hutool.core.collection.IteratorEnumeration
-
- hasNext() - Method in class cn.hutool.cache.impl.CacheObjIterator
-
- hasNext() - Method in class cn.hutool.cache.impl.CacheValuesIterator
-
- hasNext() - Method in class cn.hutool.core.collection.ArrayIter
-
- hasNext() - Method in class cn.hutool.core.collection.ComputeIter
-
- hasNext() - Method in class cn.hutool.core.collection.CopiedIter
-
- hasNext() - Method in class cn.hutool.core.collection.EnumerationIter
-
- hasNext() - Method in class cn.hutool.core.collection.FilterIter
-
- hasNext() - Method in class cn.hutool.core.collection.IterChain
-
- hasNext() - Method in class cn.hutool.core.collection.NodeListIter
-
- hasNext() - Method in class cn.hutool.core.collection.PartitionIter
-
- hasNext() - Method in class cn.hutool.core.collection.TransIter
-
- hasNext() - Method in class cn.hutool.core.io.resource.MultiResource
-
- hasNext() - Method in class cn.hutool.core.lang.Range
-
- hasNext() - Method in class cn.hutool.extra.tokenizer.engine.ansj.AnsjResult
-
- hasNext() - Method in class cn.hutool.extra.tokenizer.engine.hanlp.HanLPResult
-
- hasNext() - Method in class cn.hutool.extra.tokenizer.engine.jieba.JiebaResult
-
- hasNext() - Method in class cn.hutool.extra.tokenizer.engine.mynlp.MynlpResult
-
- hasNext() - Method in class cn.hutool.extra.tokenizer.engine.word.WordResult
-
- hasNull(Iterable<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
是否包含null
元素
- hasNull(Iterable<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
是否包含null
元素
- hasNull(Iterator<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
是否包含null
元素
- hasNull(T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
是否包含null
元素
- hasNull(Object...) - Static method in class cn.hutool.core.util.ObjectUtil
-
- hasNullField(Object, String...) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断Bean是否包含值为null
的属性
对象本身为null
也返回true
- hasNumber(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
是否包含数字
- hasParent() - Method in interface cn.hutool.core.map.TreeEntry
-
当前节点是否存在直接关联的父节点
- hasPublicField(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
-
指定类中是否有public类型字段(static字段除外)
- hasSetter(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断是否有Setter方法
判定方法是否存在只有一个参数的setXXX方法
- hasTypeVariable(Type...) - Static method in class cn.hutool.core.util.TypeUtil
-
指定泛型数组中是否含有泛型变量
- having(Condition...) - Method in class cn.hutool.db.sql.SqlBuilder
-
- having(String) - Method in class cn.hutool.db.sql.SqlBuilder
-
添加Having语句
- head(String) - Static method in class cn.hutool.http.HttpRequest
-
HEAD请求
- headCellStyle - Variable in class cn.hutool.poi.excel.StyleSet
-
标题样式
- header(String) - Method in enum cn.hutool.http.GlobalHeaders
-
根据name获取头信息
- header(Header) - Method in enum cn.hutool.http.GlobalHeaders
-
根据name获取头信息
- header(String, String, boolean) - Method in enum cn.hutool.http.GlobalHeaders
-
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
- header(Header, String, boolean) - Method in enum cn.hutool.http.GlobalHeaders
-
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
- header(Header, String) - Method in enum cn.hutool.http.GlobalHeaders
-
设置一个header
覆盖模式,则替换之前的值
- header(String, String) - Method in enum cn.hutool.http.GlobalHeaders
-
设置一个header
覆盖模式,则替换之前的值
- header(Map<String, List<String>>) - Method in enum cn.hutool.http.GlobalHeaders
-
设置请求头
不覆盖原有请求头
- Header - Enum in cn.hutool.http
-
Http 头域
- header(String) - Method in class cn.hutool.http.HttpBase
-
根据name获取头信息
根据RFC2616规范,header的name不区分大小写
- header(Header) - Method in class cn.hutool.http.HttpBase
-
根据name获取头信息
- header(String, String, boolean) - Method in class cn.hutool.http.HttpBase
-
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
- header(Header, String, boolean) - Method in class cn.hutool.http.HttpBase
-
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
- header(Header, String) - Method in class cn.hutool.http.HttpBase
-
设置一个header
覆盖模式,则替换之前的值
- header(String, String) - Method in class cn.hutool.http.HttpBase
-
设置一个header
覆盖模式,则替换之前的值
- header(Map<String, List<String>>) - Method in class cn.hutool.http.HttpBase
-
设置请求头
不覆盖原有请求头
- header(Map<String, List<String>>, boolean) - Method in class cn.hutool.http.HttpBase
-
设置请求头
- header(String, String, boolean) - Method in class cn.hutool.http.HttpConnection
-
设置请求头
当请求头存在时,覆盖之
- header(Header, String, boolean) - Method in class cn.hutool.http.HttpConnection
-
设置请求头
当请求头存在时,覆盖之
- header(Map<String, List<String>>, boolean) - Method in class cn.hutool.http.HttpConnection
-
设置请求头
不覆盖原有请求头
- header(String) - Method in class cn.hutool.http.HttpConnection
-
获取Http请求头
- header(Header) - Method in class cn.hutool.http.HttpConnection
-
获取Http请求头
- headerAlias - Variable in class cn.hutool.core.text.csv.CsvConfig
-
标题别名
- headerAlias - Variable in class cn.hutool.poi.excel.ExcelBase
-
标题行别名
- headerLineNo - Variable in class cn.hutool.core.text.csv.CsvReadConfig
-
指定标题行号,-1表示无标题行
- headerList(String) - Method in enum cn.hutool.http.GlobalHeaders
-
根据name获取头信息列表
- headerList(String) - Method in class cn.hutool.http.HttpBase
-
根据name获取头信息列表
- headerMap(Map<String, String>, boolean) - Method in class cn.hutool.http.HttpBase
-
设置请求头
- headers() - Method in enum cn.hutool.http.GlobalHeaders
-
获取headers
- headers - Variable in class cn.hutool.http.HttpBase
-
存储头信息
- headers() - Method in class cn.hutool.http.HttpBase
-
获取headers
- headers() - Method in class cn.hutool.http.HttpConnection
-
获取所有Http请求头
- height - Variable in class cn.hutool.captcha.AbstractCaptcha
-
图片的高度
- height - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- height - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- height - Variable in class cn.hutool.extra.qrcode.QrConfig
-
高度(单位:像素或▄)
当二维码类型为一般图片或者SVG时,单位是像素
当二维码类型Ascii Art字符画时,单位是字符▄或▀的大小
- HEX - Static variable in class cn.hutool.core.lang.PatternPool
-
16进制字符串
- HEX - Static variable in interface cn.hutool.core.lang.RegexPool
-
16进制字符串
- HEX_DECODER - Static variable in class cn.hutool.core.codec.Base32Codec.Base32Decoder
-
- HEX_ENCODER - Static variable in class cn.hutool.core.codec.Base32Codec.Base32Encoder
-
- hexToBytes(String) - Static method in class cn.hutool.core.convert.Convert
-
Hex字符串转换为Byte值
- hexToColor(String) - Static method in class cn.hutool.core.img.ColorUtil
-
16进制的颜色值转换为Color对象,例如#fcf6d6
- hexToColor(String) - Static method in class cn.hutool.core.img.ImgUtil
-
16进制的颜色值转换为Color对象,例如#fcf6d6
- hexToInt(String) - Static method in class cn.hutool.core.util.HexUtil
-
16进制字符串转为int
- hexToLong(String) - Static method in class cn.hutool.core.util.HexUtil
-
16进制字符串转为long
- hexToRgb(String) - Static method in class cn.hutool.core.img.BackgroundRemoval
-
十六进制颜色码转RGB颜色值
- hexToStr(String, Charset) - Static method in class cn.hutool.core.convert.Convert
-
十六进制转换字符串
- HexUtil - Class in cn.hutool.core.util
-
十六进制(简写为hex或下标16)在数学中是一种逢16进1的进位制,一般用数字0到9和字母A到F表示(其中:A~F即10~15)。
- HexUtil() - Constructor for class cn.hutool.core.util.HexUtil
-
- HfFilter - Class in cn.hutool.bloomfilter.filter
-
- HfFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.HfFilter
-
- HfFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.HfFilter
-
- hfHash(String) - Static method in class cn.hutool.core.util.HashUtil
-
HF Hash算法
- HfIpFilter - Class in cn.hutool.bloomfilter.filter
-
- HfIpFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.HfIpFilter
-
- HfIpFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.HfIpFilter
-
- hfIpHash(String) - Static method in class cn.hutool.core.util.HashUtil
-
HFIP Hash算法
- hide(CharSequence, int, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换指定字符串的指定区间内字符为"*"
俗称:脱敏功能,后面其他功能,可以见:DesensitizedUtil(脱敏工具类)
CharSequenceUtil.hide(null,*,*)=null
CharSequenceUtil.hide("",0,*)=""
CharSequenceUtil.hide("jackduan@163.com",-1,4) ****duan@163.com
CharSequenceUtil.hide("jackduan@163.com",2,3) ja*kduan@163.com
CharSequenceUtil.hide("jackduan@163.com",3,2) jackduan@163.com
CharSequenceUtil.hide("jackduan@163.com",16,16) jackduan@163.com
CharSequenceUtil.hide("jackduan@163.com",16,17) jackduan@163.com
- hide(String, int, int) - Static method in class cn.hutool.core.util.IdcardUtil
-
隐藏指定位置的几个身份证号数字为“*”
- hideAfter(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
隐藏手机号最后4位 替换字符为"*"
- hideBefore(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
隐藏手机号前7位 替换字符为"*"
栗子
- hideBetween(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
隐藏手机号中间4位 替换字符为"*"
- hideIpPart(String) - Static method in class cn.hutool.core.net.NetUtil
-
隐藏掉IP地址的最后一部分为 * 代替
- hideIpPart(long) - Static method in class cn.hutool.core.net.NetUtil
-
隐藏掉IP地址的最后一部分为 * 代替
- Hierarchical - Interface in cn.hutool.core.annotation
-
描述以一个参照物为对象,存在于该参照物的层级结构中的对象。
- Hierarchical.Selector - Interface in cn.hutool.core.annotation
-
- Hierarchical.Selector.FarthestAndNewestPrioritySelector - Class in cn.hutool.core.annotation
-
返回距离根对象更远的注解,当距离一样时优先返回新注解
- Hierarchical.Selector.FarthestAndOldestPrioritySelector - Class in cn.hutool.core.annotation
-
返回距离根对象更远的注解,当距离一样时优先返回旧注解
- Hierarchical.Selector.NearestAndNewestPrioritySelector - Class in cn.hutool.core.annotation
-
返回距离根对象更近的注解,当距离一样时优先返回新注解
- Hierarchical.Selector.NearestAndOldestPrioritySelector - Class in cn.hutool.core.annotation
-
返回距离根对象更近的注解,当距离一样时优先返回旧注解
- HikariDSFactory - Class in cn.hutool.db.ds.hikari
-
HikariCP数据源工厂类
- HikariDSFactory() - Constructor for class cn.hutool.db.ds.hikari.HikariDSFactory
-
- HikariDSFactory(Setting) - Constructor for class cn.hutool.db.ds.hikari.HikariDSFactory
-
- hitCount - Variable in class cn.hutool.cache.impl.AbstractCache
-
命中数,即命中缓存计数
- hmac(HmacAlgorithm, byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
创建HMac对象,调用digest方法可获得hmac值
- hmac(HmacAlgorithm, SecretKey) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
创建HMac对象,调用digest方法可获得hmac值
- HMac - Class in cn.hutool.crypto.digest
-
HMAC摘要算法
HMAC,全称为“Hash Message Authentication Code”,中文名“散列消息鉴别码”
主要是利用哈希算法,以一个密钥和一个消息为输入,生成一个消息摘要作为输出。
- HMac(HmacAlgorithm) - Constructor for class cn.hutool.crypto.digest.HMac
-
构造,自动生成密钥
- HMac(HmacAlgorithm, byte[]) - Constructor for class cn.hutool.crypto.digest.HMac
-
构造
- HMac(HmacAlgorithm, Key) - Constructor for class cn.hutool.crypto.digest.HMac
-
构造
- HMac(String, byte[]) - Constructor for class cn.hutool.crypto.digest.HMac
-
构造
- HMac(String, Key) - Constructor for class cn.hutool.crypto.digest.HMac
-
构造
- HMac(String, Key, AlgorithmParameterSpec) - Constructor for class cn.hutool.crypto.digest.HMac
-
构造
- HMac(MacEngine) - Constructor for class cn.hutool.crypto.digest.HMac
-
构造
- hmac(HmacAlgorithm, String) - Static method in class cn.hutool.crypto.SecureUtil
-
创建HMac对象,调用digest方法可获得hmac值
- hmac(HmacAlgorithm, byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
创建HMac对象,调用digest方法可获得hmac值
- hmac(HmacAlgorithm, SecretKey) - Static method in class cn.hutool.crypto.SecureUtil
-
创建HMac对象,调用digest方法可获得hmac值
- HmacAlgorithm - Enum in cn.hutool.crypto.digest
-
HMAC算法类型
see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#Mac
- HMacJWTSigner - Class in cn.hutool.jwt.signers
-
HMac算法签名实现
- HMacJWTSigner(String, byte[]) - Constructor for class cn.hutool.jwt.signers.HMacJWTSigner
-
构造
- HMacJWTSigner(String, Key) - Constructor for class cn.hutool.jwt.signers.HMacJWTSigner
-
构造
- hmacMd5(String) - Static method in class cn.hutool.crypto.SecureUtil
-
HmacMD5加密器
例:
HmacMD5加密:hmacMd5(key).digest(data)
HmacMD5加密并转为16进制字符串:hmacMd5(key).digestHex(data)
- hmacMd5(byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
HmacMD5加密器
例:
HmacMD5加密:hmacMd5(key).digest(data)
HmacMD5加密并转为16进制字符串:hmacMd5(key).digestHex(data)
- hmacMd5() - Static method in class cn.hutool.crypto.SecureUtil
-
HmacMD5加密器,生成随机KEY
例:
HmacMD5加密:hmacMd5().digest(data)
HmacMD5加密并转为16进制字符串:hmacMd5().digestHex(data)
- hmacSha1(String) - Static method in class cn.hutool.crypto.SecureUtil
-
HmacSHA1加密器
例:
HmacSHA1加密:hmacSha1(key).digest(data)
HmacSHA1加密并转为16进制字符串:hmacSha1(key).digestHex(data)
- hmacSha1(byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
HmacSHA1加密器
例:
HmacSHA1加密:hmacSha1(key).digest(data)
HmacSHA1加密并转为16进制字符串:hmacSha1(key).digestHex(data)
- hmacSha1() - Static method in class cn.hutool.crypto.SecureUtil
-
HmacSHA1加密器,生成随机KEY
例:
HmacSHA1加密:hmacSha1().digest(data)
HmacSHA1加密并转为16进制字符串:hmacSha1().digestHex(data)
- hmacSha256(String) - Static method in class cn.hutool.crypto.SecureUtil
-
HmacSHA256加密器
例:
HmacSHA256加密:hmacSha256(key).digest(data)
HmacSHA256加密并转为16进制字符串:hmacSha256(key).digestHex(data)
- hmacSha256(byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
HmacSHA256加密器
例:
HmacSHA256加密:hmacSha256(key).digest(data)
HmacSHA256加密并转为16进制字符串:hmacSha256(key).digestHex(data)
- hmacSha256() - Static method in class cn.hutool.crypto.SecureUtil
-
HmacSHA256加密器,生成随机KEY
例:
HmacSHA256加密:hmacSha256().digest(data)
HmacSHA256加密并转为16进制字符串:hmacSha256().digestHex(data)
- hmacSm3(byte[]) - Static method in class cn.hutool.crypto.SmUtil
-
HmacSM3算法实现
- hmd5(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
HMD5(HmacMD5)签名器
- home() - Method in class cn.hutool.extra.ssh.Sftp
-
获取HOME路径
- HOME - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 安装目录
- HOME - Static variable in class cn.hutool.system.SystemUtil
-
Java 安装目录的KEY
- HostInfo - Class in cn.hutool.system
-
代表当前主机的信息。
- HostInfo() - Constructor for class cn.hutool.system.HostInfo
-
- HOTP - Class in cn.hutool.crypto.digest.otp
-
HMAC-based one-time passwords (HOTP) 基于HMAC算法一次性密码生成器,
规范见:
RFC 4226.
- HOTP(byte[]) - Constructor for class cn.hutool.crypto.digest.otp.HOTP
-
构造,使用默认密码长度和默认HMAC算法(HmacSHA1)
- HOTP(int, byte[]) - Constructor for class cn.hutool.crypto.digest.otp.HOTP
-
构造,使用默认HMAC算法(HmacSHA1)
- HOTP(int, HmacAlgorithm, byte[]) - Constructor for class cn.hutool.crypto.digest.otp.HOTP
-
构造
- HOTP_HMAC_ALGORITHM - Static variable in class cn.hutool.crypto.digest.otp.HOTP
-
默认HMAC算法.
- HoubbPinyinEngine - Class in cn.hutool.extra.pinyin.engine.houbbpinyin
-
封装了 houbb Pinyin 的引擎。
- HoubbPinyinEngine() - Constructor for class cn.hutool.extra.pinyin.engine.houbbpinyin.HoubbPinyinEngine
-
构造
- HoubbPinyinEngine(PinyinStyleEnum) - Constructor for class cn.hutool.extra.pinyin.engine.houbbpinyin.HoubbPinyinEngine
-
构造
- hour(boolean) - Method in class cn.hutool.core.date.DateTime
-
获得指定日期的小时数部分
- hour(Date, boolean) - Static method in class cn.hutool.core.date.DateUtil
-
获得指定日期的小时数部分
- hs256(byte[]) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
HS256(HmacSHA256)签名器
- hs384(byte[]) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
HS384(HmacSHA384)签名器
- hs512(byte[]) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
HS512(HmacSHA512)签名器
- hsha1(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
HSHA1(HmacSHA1)签名器
- HTML40_EXTENDED_ESCAPE - Static variable in class cn.hutool.core.text.escape.Html4Escape
-
- HTML40_EXTENDED_UNESCAPE - Static variable in class cn.hutool.core.text.escape.Html4Unescape
-
- Html4Escape - Class in cn.hutool.core.text.escape
-
HTML4的ESCAPE
参考:Commons Lang3
- Html4Escape() - Constructor for class cn.hutool.core.text.escape.Html4Escape
-
- Html4Unescape - Class in cn.hutool.core.text.escape
-
HTML4的UNESCAPE
- Html4Unescape() - Constructor for class cn.hutool.core.text.escape.Html4Unescape
-
- HTML_AMP - Static variable in interface cn.hutool.core.text.StrPool
-
字符串常量:HTML And 符转义 "&" -> "&"
- HTML_APOS - Static variable in interface cn.hutool.core.text.StrPool
-
字符串常量:HTML 单引号转义 "&apos" -> "'"
- HTML_GT - Static variable in interface cn.hutool.core.text.StrPool
-
字符串常量:HTML 大于号转义 ">" -> ">"
- HTML_LT - Static variable in interface cn.hutool.core.text.StrPool
-
字符串常量:HTML 小于号转义 "<" -> "<"
- HTML_NBSP - Static variable in interface cn.hutool.core.text.StrPool
-
字符串常量:HTML 不间断空格转义 " " -> " "
- HTML_QUOTE - Static variable in interface cn.hutool.core.text.StrPool
-
字符串常量:HTML 双引号转义 """ -> "\""
- HTMLFilter - Class in cn.hutool.http
-
HTML过滤器,用于去除XSS(Cross Site Scripting) 漏洞隐患。
- HTMLFilter() - Constructor for class cn.hutool.http.HTMLFilter
-
Default constructor.
- HTMLFilter(boolean) - Constructor for class cn.hutool.http.HTMLFilter
-
Set debug flag to true.
- HTMLFilter(Map<String, Object>) - Constructor for class cn.hutool.http.HTMLFilter
-
Map-parameter configurable constructor.
- htmlSpecialChars(String) - Static method in class cn.hutool.http.HTMLFilter
-
- HtmlUtil - Class in cn.hutool.http
-
HTML工具类
比如我们在使用爬虫爬取HTML页面后,需要对返回页面的HTML内容做一定处理,
比如去掉指定标签(例如广告栏等)、去除JS、去掉样式等等,这些操作都可以使用此工具类完成。
- HtmlUtil() - Constructor for class cn.hutool.http.HtmlUtil
-
- HTTP_1_0 - Static variable in class cn.hutool.http.HttpBase
-
HTTP/1.0
- HTTP_1_1 - Static variable in class cn.hutool.http.HttpBase
-
HTTP/1.1
- HTTP_ACCEPTED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 202: Accepted.
- HTTP_ALREADY_REPORTED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 208: Already Reported.
- HTTP_BAD_GATEWAY - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 502: Bad Gateway.
- HTTP_BAD_METHOD - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 405: Method Not Allowed.
- HTTP_BAD_REQUEST - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 400: Bad Request.
- HTTP_BANDWIDTH_LIMIT_EXCEEDED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 509: Bandwidth Limit Exceeded.
- HTTP_CHECKPOINT - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 103: Checkpoint.
- HTTP_CLIENT_TIMEOUT - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 408: Request Time-Out.
- HTTP_CONFLICT - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 409: Conflict.
- HTTP_CONTINUE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 100: Continue.
- HTTP_CREATED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 201: Created.
- HTTP_DATETIME_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
-
- HTTP_DATETIME_FORMAT_Z - Static variable in class cn.hutool.core.date.DatePattern
-
- HTTP_DATETIME_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
-
HTTP头中日期时间格式:EEE, dd MMM yyyy HH:mm:ss z
- HTTP_ENTITY_TOO_LARGE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 413: Request Entity Too Large.
- HTTP_EXPECTATION_FAILED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 417: Expectation Failed.
- HTTP_FAILED_DEPENDENCY - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 424: Failed Dependency.
- HTTP_FORBIDDEN - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 403: Forbidden.
- HTTP_GATEWAY_TIMEOUT - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 504: Gateway Timeout.
- HTTP_GONE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 410: Gone.
- HTTP_I_AM_A_TEAPOT - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 418: I'm a teapot.
- HTTP_IM_USED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 226: IM Used.
- HTTP_INSUFFICIENT_STORAGE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 507: Insufficient Storage.
- HTTP_INTERNAL_ERROR - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 500: Internal Server Error.
- HTTP_LENGTH_REQUIRED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 411: Length Required.
- HTTP_LOCKED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 423: Locked.
- HTTP_LOOP_DETECTED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 508: Loop Detected.
- HTTP_MOVED_PERM - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 301: Moved Permanently.
- HTTP_MOVED_TEMP - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 302: Temporary Redirect.
- HTTP_MULT_CHOICE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 300: Multiple Choices.
- HTTP_MULTI_STATUS - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 207: Multi-Status.
- HTTP_NETWORK_AUTHENTICATION_REQUIRED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 511: Network Authentication Required.
- HTTP_NO_CONTENT - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 204: No Content.
- HTTP_NOT_ACCEPTABLE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 406: Not Acceptable.
- HTTP_NOT_AUTHORITATIVE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 203: Non-Authoritative Information.
- HTTP_NOT_EXTENDED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 510: Not Extended.
- HTTP_NOT_FOUND - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 404: Not Found.
- HTTP_NOT_IMPLEMENTED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 501: Not Implemented.
- HTTP_NOT_MODIFIED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 304: Not Modified.
- HTTP_OK - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 200: OK.
- HTTP_PARTIAL - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 206: Partial Content.
- HTTP_PAYMENT_REQUIRED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 402: Payment Required.
- HTTP_PERMANENT_REDIRECT - Static variable in class cn.hutool.http.HttpStatus
-
HTTP 1.1 Status-Code 308: Permanent Redirect 永久重定向
见:RFC-7231
- HTTP_PRECON_FAILED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 412: Precondition Failed.
- HTTP_PRECONDITION_REQUIRED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 428: Precondition Required.
- HTTP_PROCESSING - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 102: Processing.
- HTTP_PROXY_AUTH - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 407: Proxy Authentication Required.
- HTTP_REQ_TOO_LONG - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 414: Request-URI Too Large.
- HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 431: Request Header Fields Too Large.
- HTTP_REQUESTED_RANGE_NOT_SATISFIABLE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 416: Requested Range Not Satisfiable.
- HTTP_RESET - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 205: Reset Content.
- HTTP_SEE_OTHER - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 303: See Other.
- HTTP_SWITCHING_PROTOCOLS - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 101: Switching Protocols.
- HTTP_TEMP_REDIRECT - Static variable in class cn.hutool.http.HttpStatus
-
HTTP 1.1 Status-Code 307: Temporary Redirect.
- HTTP_TOO_EARLY - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 425: Too Early.
- HTTP_TOO_MANY_REQUESTS - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 429: Too Many Requests.
- HTTP_UNAUTHORIZED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 401: Unauthorized.
- HTTP_UNAVAILABLE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 503: Service Unavailable.
- HTTP_UNAVAILABLE_FOR_LEGAL_REASONS - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 451: Unavailable For Legal Reasons.
- HTTP_UNPROCESSABLE_ENTITY - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 422: Unprocessable Entity.
- HTTP_UNSUPPORTED_TYPE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 415: Unsupported Media Type.
- HTTP_UPGRADE_REQUIRED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 426: Upgrade Required.
- HTTP_USE_PROXY - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 305: Use Proxy.
- HTTP_VARIANT_ALSO_NEGOTIATES - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 506: Variant Also Negotiates.
- HTTP_VERSION - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 505: HTTP Version Not Supported.
- HttpBase<T> - Class in cn.hutool.http
-
http基类
- HttpBase() - Constructor for class cn.hutool.http.HttpBase
-
- HttpConfig - Class in cn.hutool.http
-
Http配置项
- HttpConfig() - Constructor for class cn.hutool.http.HttpConfig
-
- HttpConnection - Class in cn.hutool.http
-
http连接对象,对HttpURLConnection的包装
- HttpConnection(URL, Proxy) - Constructor for class cn.hutool.http.HttpConnection
-
构造HttpConnection
- httpConnection - Variable in class cn.hutool.http.HttpResponse
-
持有连接对象
- HttpDownloader - Class in cn.hutool.http
-
下载封装,下载统一使用GET
请求,默认支持30x跳转
- HttpDownloader() - Constructor for class cn.hutool.http.HttpDownloader
-
- HttpException - Exception in cn.hutool.http
-
HTTP异常
- HttpException(Throwable) - Constructor for exception cn.hutool.http.HttpException
-
- HttpException(String) - Constructor for exception cn.hutool.http.HttpException
-
- HttpException(String, Object...) - Constructor for exception cn.hutool.http.HttpException
-
- HttpException(String, Throwable) - Constructor for exception cn.hutool.http.HttpException
-
- HttpException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.http.HttpException
-
- HttpException(Throwable, String, Object...) - Constructor for exception cn.hutool.http.HttpException
-
- HttpExchangeWrapper - Class in cn.hutool.http.server
-
HttpExchange
包装类,提供增强方法和缓存
- HttpExchangeWrapper(HttpExchange) - Constructor for class cn.hutool.http.server.HttpExchangeWrapper
-
构造
- HttpFilter - Interface in cn.hutool.http.server.filter
-
过滤器接口,用于简化Filter
使用
- HttpGlobalConfig - Class in cn.hutool.http
-
HTTP 全局参数配置
- HttpGlobalConfig() - Constructor for class cn.hutool.http.HttpGlobalConfig
-
- HttpInputStream - Class in cn.hutool.http
-
HTTP输入流,此流用于包装Http请求响应内容的流,用于解析各种压缩、分段的响应流内容
- HttpInputStream(HttpResponse) - Constructor for class cn.hutool.http.HttpInputStream
-
构造
- HttpInterceptor<T extends HttpBase<T>> - Interface in cn.hutool.http
-
Http拦截器接口,通过实现此接口,完成请求发起前或结束后对请求的编辑工作
- HttpInterceptor.Chain<T extends HttpBase<T>> - Class in cn.hutool.http
-
拦截器链
- HttpRequest - Class in cn.hutool.http
-
http请求类
Http请求类用于构建Http请求并同步获取结果,此类通过CookieManager持有域名对应的Cookie值,再次请求时会自动附带Cookie信息
- HttpRequest(String) - Constructor for class cn.hutool.http.HttpRequest
-
- HttpRequest(UrlBuilder) - Constructor for class cn.hutool.http.HttpRequest
-
构造
- HttpResource - Class in cn.hutool.http
-
HTTP资源,可自定义Content-Type
- HttpResource(Resource, String) - Constructor for class cn.hutool.http.HttpResource
-
构造
- HttpResponse - Class in cn.hutool.http
-
Http响应类
非线程安全对象
- HttpResponse(HttpConnection, HttpConfig, Charset, boolean, boolean) - Constructor for class cn.hutool.http.HttpResponse
-
构造
- HttpServerBase - Class in cn.hutool.http.server
-
HttpServer公用对象,提供HttpExchange包装和公用方法
- HttpServerBase(HttpExchange) - Constructor for class cn.hutool.http.server.HttpServerBase
-
构造
- HttpServerRequest - Class in cn.hutool.http.server
-
Http请求对象,对HttpExchange
封装
- HttpServerRequest(HttpExchange) - Constructor for class cn.hutool.http.server.HttpServerRequest
-
构造
- HttpServerResponse - Class in cn.hutool.http.server
-
Http响应对象,用于写出数据到客户端
- HttpServerResponse(HttpExchange) - Constructor for class cn.hutool.http.server.HttpServerResponse
-
构造
- HttpStatus - Class in cn.hutool.http
-
HTTP状态码
- HttpStatus() - Constructor for class cn.hutool.http.HttpStatus
-
- HttpUtil - Class in cn.hutool.http
-
Http请求工具类
- HttpUtil() - Constructor for class cn.hutool.http.HttpUtil
-
- httpVersion - Variable in class cn.hutool.http.HttpBase
-
http版本
- httpVersion() - Method in class cn.hutool.http.HttpBase
-
返回http版本
- httpVersion(String) - Method in class cn.hutool.http.HttpBase
-
设置http版本,此方法不会影响到实际请求的HTTP版本,只用于帮助判断是否connect:Keep-Alive
- Hutool - Class in cn.hutool
-
秋千水,竹马道,一眼见你,万物不及。
- HUTOOL_CRYPTO_DECODE_HEX - Static variable in class cn.hutool.crypto.SecureUtil
-
Hutool自定义系统属性:是否解码Hex字符 issue#I90M9D
- HUTOOL_DATE_LENIENT - Static variable in class cn.hutool.core.util.SystemPropsUtil
-
Hutool自定义系统属性:是否解析日期字符串采用严格模式
- HyperlinkCellSetter - Class in cn.hutool.poi.excel.cell.setters
-
Hyperlink
值单元格设置器
- ICaptcha - Interface in cn.hutool.captcha
-
验证码接口,提供验证码对象接口定义
- ID_NONE - Static variable in class cn.hutool.jwt.signers.NoneJWTSigner
-
- ID_SM2_PUBLIC_KEY_PARAM - Static variable in class cn.hutool.crypto.SmUtil
-
SM2国密算法公钥参数的Oid标识
- Idcard(String) - Constructor for class cn.hutool.core.util.IdcardUtil.Idcard
-
构造
- idCardNum(String, int, int) - Static method in class cn.hutool.core.util.DesensitizedUtil
-
【身份证号】前1位 和后2位
- IdcardUtil - Class in cn.hutool.core.util
-
- IdcardUtil() - Constructor for class cn.hutool.core.util.IdcardUtil
-
- IdcardUtil.Idcard - Class in cn.hutool.core.util
-
身份证信息,包括身份、城市代码、生日、性别等
- IdConstants - Class in cn.hutool.core.lang.id
-
ID相关常量
- IdConstants() - Constructor for class cn.hutool.core.lang.id.IdConstants
-
- identifyDriver(String) - Static method in class cn.hutool.db.dialect.DialectFactory
-
通过JDBC URL等信息识别JDBC驱动名
- identifyDriver(String, ClassLoader) - Static method in class cn.hutool.db.dialect.DialectFactory
-
通过JDBC URL等信息识别JDBC驱动名
- identifyDriver(String) - Static method in class cn.hutool.db.dialect.DriverUtil
-
通过JDBC URL等信息识别JDBC驱动名
- identifyDriver(DataSource) - Static method in class cn.hutool.db.dialect.DriverUtil
-
识别JDBC驱动名
- identifyDriver(Connection) - Static method in class cn.hutool.db.dialect.DriverUtil
-
识别JDBC驱动名
- identityHashCode(Object) - Static method in class cn.hutool.core.util.HashUtil
-
根据对象的内存地址生成相应的Hash值
- idnToASCII(String) - Static method in class cn.hutool.core.net.NetUtil
-
Unicode域名转puny code
- IdUtil - Class in cn.hutool.core.util
-
ID生成器工具类,此工具类中主要封装:
1.
- IdUtil() - Constructor for class cn.hutool.core.util.IdUtil
-
- ifFail(Consumer<? super Throwable>) - Method in class cn.hutool.core.lang.Opt
-
如果包裹内容失败了,则执行传入的操作(
Consumer.accept(T)
)
例如执行有异常就打印结果
Opt.ofTry(() -> 1 / 0).ifFail(Console::log);
- ifInitialized(Consumer<T>) - Method in class cn.hutool.core.lang.loader.LazyFunLoader
-
如果已经初始化,就执行传入函数
- ifPresent(Consumer<? super T>) - Method in class cn.hutool.core.lang.Opt
-
如果包裹里的值存在,就执行传入的操作(
Consumer.accept(T)
)
例如如果值存在就打印结果
{@code
Opt.ofNullable("Hello Hutool!").
- ifPresentOrElse(Consumer<? super T>, VoidFunc0) - Method in class cn.hutool.core.lang.Opt
-
- ignoreCase - Variable in class cn.hutool.core.bean.copier.CopyOptions
-
是否忽略字段大小写
- ignoreCase() - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置忽略字段的大小写
- ignoreEmptyRow - Variable in class cn.hutool.poi.excel.reader.AbstractSheetReader
-
是否忽略空行
- ignoreError - Variable in class cn.hutool.core.bean.copier.CopyOptions
-
是否忽略字段注入错误
- ignoreError() - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置忽略字段的注入错误
- ignoreNullValue - Variable in class cn.hutool.core.bean.copier.CopyOptions
-
是否忽略空值,当源对象的值为null时,true: 忽略而不注入此值,false: 注入null
- ignoreNullValue() - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置忽略空值,当源对象的值为null时,忽略而不注入此值
- IgnoreWatcher - Class in cn.hutool.core.io.watch.watchers
-
跳过所有事件处理Watcher
用户继承此类后实现需要监听的方法
- IgnoreWatcher() - Constructor for class cn.hutool.core.io.watch.watchers.IgnoreWatcher
-
- ih - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- IJSONTypeConverter - Interface in cn.hutool.core.bean.copier
-
JSON自定义转换扩展接口,因core模块无法直接调用json模块而创建,
使用此接口避免使用反射调用toBean方法而性能太差。
- IKAnalyzerEngine - Class in cn.hutool.extra.tokenizer.engine.ikanalyzer
-
IKAnalyzer分词引擎实现
项目地址:https://github.com/yozhao/IKAnalyzer
- IKAnalyzerEngine() - Constructor for class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerEngine
-
构造
- IKAnalyzerEngine(IKSegmenter) - Constructor for class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerEngine
-
- IKAnalyzerResult - Class in cn.hutool.extra.tokenizer.engine.ikanalyzer
-
IKAnalyzer分词结果实现
项目地址:https://github.com/yozhao/IKAnalyzer
- IKAnalyzerResult(IKSegmenter) - Constructor for class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerResult
-
构造
- IKAnalyzerWord - Class in cn.hutool.extra.tokenizer.engine.ikanalyzer
-
IKAnalyzer分词中的一个单词包装
- IKAnalyzerWord(Lexeme) - Constructor for class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerWord
-
构造
- image - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- image - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- IMAGE_TYPE_BMP - Static variable in class cn.hutool.core.img.ImgUtil
-
英文Bitmap(位图)的简写,它是Windows操作系统中的标准图像文件格式:BMP
- IMAGE_TYPE_GIF - Static variable in class cn.hutool.core.img.ImgUtil
-
图形交换格式:GIF
- IMAGE_TYPE_JPEG - Static variable in class cn.hutool.core.img.ImgUtil
-
联合照片专家组:JPEG
- IMAGE_TYPE_JPG - Static variable in class cn.hutool.core.img.ImgUtil
-
联合照片专家组:JPG
- IMAGE_TYPE_PNG - Static variable in class cn.hutool.core.img.ImgUtil
-
可移植网络图形:PNG
- IMAGE_TYPE_PSD - Static variable in class cn.hutool.core.img.ImgUtil
-
Photoshop的专用格式:PSD
- imageBytes - Variable in class cn.hutool.captcha.AbstractCaptcha
-
验证码图片
- IMAGES_TYPE - Static variable in class cn.hutool.core.img.BackgroundRemoval
-
目前暂时支持的图片类型数组
其他格式的不保证结果
- ImageSelection - Class in cn.hutool.core.swing.clipboard
-
- ImageSelection(Image) - Constructor for class cn.hutool.core.swing.clipboard.ImageSelection
-
构造
- Img - Class in cn.hutool.core.img
-
图像编辑器
- Img(BufferedImage) - Constructor for class cn.hutool.core.img.Img
-
构造,目标图片类型取决于来源图片类型
- Img(BufferedImage, String) - Constructor for class cn.hutool.core.img.Img
-
构造
- img - Variable in class cn.hutool.extra.qrcode.QrConfig
-
二维码中的Logo
- ImgUtil - Class in cn.hutool.core.img
-
图片处理工具类:
功能:缩放图像、切割图像、旋转、图像类型转换、彩色转黑白、文字水印、图片水印等
参考:http://blog.csdn.net/zhangzhikaixinya/article/details/8459400
- ImgUtil() - Constructor for class cn.hutool.core.img.ImgUtil
-
- in - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- in(String, T...) - Method in class cn.hutool.db.sql.SqlBuilder
-
多值选择
- in - Variable in class cn.hutool.http.HttpResponse
-
Http请求原始流
- increment() - Method in class cn.hutool.core.lang.mutable.MutableByte
-
值+1
- increment() - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
值+1
- increment() - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
值+1
- increment() - Method in class cn.hutool.core.lang.mutable.MutableInt
-
值+1
- increment() - Method in class cn.hutool.core.lang.mutable.MutableLong
-
值+1
- increment() - Method in class cn.hutool.core.lang.mutable.MutableShort
-
值+1
- increment(String) - Method in class cn.hutool.json.JSONObject
-
对值加一,如果值不存在,赋值1,如果为数字类型,做加一操作
- INDENT_DEFAULT - Static variable in class cn.hutool.core.util.XmlUtil
-
XML格式化输出默认缩进量
- index() - Method in class cn.hutool.core.io.FastByteBuffer
-
当前缓冲位于缓冲区的索引位
- index - Variable in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
- INDEX_NOT_FOUND - Static variable in class cn.hutool.core.text.CharSequenceUtil
-
- INDEX_NOT_FOUND - Static variable in interface cn.hutool.core.text.finder.Finder
-
- INDEX_NOT_FOUND - Static variable in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组中元素未找到的下标,值为-1
- IndexedComparator<T> - Class in cn.hutool.core.comparator
-
按照数组的顺序正序排列,数组的元素位置决定了对象的排序先后
默认的,如果参与排序的元素并不在数组中,则排序在前(可以通过atEndIfMiss设置)
- IndexedComparator(T...) - Constructor for class cn.hutool.core.comparator.IndexedComparator
-
构造
- IndexedComparator(boolean, T...) - Constructor for class cn.hutool.core.comparator.IndexedComparator
-
构造
- indexedFormat(CharSequence, Object...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
有序的格式化文本,使用{number}做为占位符
通常使用:format("this is {0} for {1}", "a", "b") =》 this is a for b
- indexedPixels - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- IndexInfo - Class in cn.hutool.db.meta
-
- IndexInfo(boolean, String, String, String, String) - Constructor for class cn.hutool.db.meta.IndexInfo
-
构造
- indexOf(Collection<T>, Matcher<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
获取匹配规则定义中匹配到元素的第一个位置
此方法对于某些无序集合的位置信息,以转换为数组后的位置为准。
- indexOf(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定范围内查找指定字符
- indexOf(CharSequence, char, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定范围内查找指定字符
- indexOf(CharSequence, char, int, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定范围内查找指定字符
- indexOf(CharSequence, CharSequence, int, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定范围内查找字符串
- indexOf(Object) - Method in class cn.hutool.core.text.csv.CsvRow
-
- indexOf(T[], Object, int) - Static method in class cn.hutool.core.util.ArrayUtil
-
- indexOf(T[], Object) - Static method in class cn.hutool.core.util.ArrayUtil
-
- indexOf(long[], long) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(int[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(short[], short) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(char[], char) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(byte[], byte) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(double[], double) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(float[], float) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(boolean[], boolean) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
找到指定正则匹配到字符串的开始位置
- indexOf(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
找到指定模式匹配到字符串的开始位置
- indexOf(Object) - Method in class cn.hutool.json.JSONArray
-
- indexOfAll(Collection<T>, Matcher<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
获取匹配规则定义中匹配到元素的所有位置
此方法对于某些无序集合的位置信息,以转换为数组后的位置为准。
- indexOfAll(List<T>, Matcher<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
获取匹配规则定义中匹配到元素的所有位置
- indexOfIgnoreCase(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定范围内查找字符串,忽略大小写
CharSequenceUtil.indexOfIgnoreCase(null, *, *) = -1
CharSequenceUtil.indexOfIgnoreCase(*, null, *) = -1
CharSequenceUtil.indexOfIgnoreCase("", "", 0) = 0
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "A", 0) = 0
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "B", 0) = 2
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "AB", 0) = 1
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "B", 3) = 5
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "B", 9) = -1
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "B", -1) = 2
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "", 2) = 2
CharSequenceUtil.indexOfIgnoreCase("abc", "", 9) = -1
- indexOfIgnoreCase(CharSequence, CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定范围内查找字符串
CharSequenceUtil.indexOfIgnoreCase(null, *, *) = -1
CharSequenceUtil.indexOfIgnoreCase(*, null, *) = -1
CharSequenceUtil.indexOfIgnoreCase("", "", 0) = 0
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "A", 0) = 0
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "B", 0) = 2
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "AB", 0) = 1
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "B", 3) = 5
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "B", 9) = -1
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "B", -1) = 2
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "", 2) = 2
CharSequenceUtil.indexOfIgnoreCase("abc", "", 9) = -1
- indexOfIgnoreCase(CharSequence[], CharSequence) - Static method in class cn.hutool.core.util.ArrayUtil
-
- indexOfSub(T[], T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
查找子数组的位置
- indexOfSub(T[], int, T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
查找子数组的位置
- indexToColName(int) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
将Sheet列号变为列名
- inflater() - Method in class cn.hutool.core.compress.Deflate
-
将压缩流解压到target中
- info(Throwable) - Method in class cn.hutool.log.AbstractLog
-
- info(String, Object...) - Method in class cn.hutool.log.AbstractLog
-
- info(Throwable, String, Object...) - Method in class cn.hutool.log.AbstractLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.logtube.LogTubeLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- info(Throwable) - Method in interface cn.hutool.log.level.InfoLog
-
打印 INFO 等级的日志
- info(String, Object...) - Method in interface cn.hutool.log.level.InfoLog
-
打印 INFO 等级的日志
- info(Throwable, String, Object...) - Method in interface cn.hutool.log.level.InfoLog
-
打印 INFO 等级的日志
- info(String, Throwable, String, Object...) - Method in interface cn.hutool.log.level.InfoLog
-
打印 INFO 等级的日志
- info(String, Object...) - Static method in class cn.hutool.log.StaticLog
-
Info等级日志,小于Warn
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
- info(Log, String, Object...) - Static method in class cn.hutool.log.StaticLog
-
Info等级日志,小于Warn
- InfoLog - Interface in cn.hutool.log.level
-
INFO级别日志接口
- init(String, String) - Method in class cn.hutool.bloomfilter.BitSetBloomFilter
-
- init(String, Charset) - Method in class cn.hutool.bloomfilter.BitSetBloomFilter
-
通过文件初始化过滤器.
- init(long, int) - Method in class cn.hutool.bloomfilter.filter.AbstractFilter
-
初始化
- init() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Initializes or re-initializes reader
- init() - Method in class cn.hutool.core.io.BOMInputStream
-
Read-ahead four bytes and check for BOM marks.
- init() - Method in class cn.hutool.core.io.watch.WatchMonitor
-
- init() - Method in class cn.hutool.core.io.watch.WatchServer
-
- init() - Method in class cn.hutool.core.lang.loader.AtomicLoader
-
初始化被加载的对象
如果对象从未被加载过,调用此方法初始化加载对象,此方法只被调用一次
- init() - Method in class cn.hutool.core.lang.loader.LazyFunLoader
-
- init() - Method in class cn.hutool.core.lang.loader.LazyLoader
-
初始化被加载的对象
如果对象从未被加载过,调用此方法初始化加载对象,此方法只被调用一次
- init() - Static method in class cn.hutool.core.thread.GlobalThreadPool
-
初始化全局线程池
- init(String, PrivateKey, PublicKey) - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
- init(String, PrivateKey, PublicKey) - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
初始化
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密(签名)或者解密(校验)
- init(String, PrivateKey, PublicKey) - Method in class cn.hutool.crypto.asymmetric.Sign
-
初始化
- init() - Method in class cn.hutool.crypto.asymmetric.SM2
-
初始化
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密(签名)或者解密(校验)
- init(String, Provider) - Method in class cn.hutool.crypto.digest.Digester
-
初始化
- init(Digest, CipherParameters) - Method in class cn.hutool.crypto.digest.mac.BCHMacEngine
-
初始化
- init(Mac, CipherParameters) - Method in class cn.hutool.crypto.digest.mac.BCMacEngine
-
初始化
- init(BlockCipher, CipherParameters) - Method in class cn.hutool.crypto.digest.mac.CBCBlockCipherMacEngine
-
初始化
- init(String, byte[]) - Method in class cn.hutool.crypto.digest.mac.DefaultHMacEngine
-
初始化
- init(String, Key) - Method in class cn.hutool.crypto.digest.mac.DefaultHMacEngine
-
初始化
- init(String, Key, AlgorithmParameterSpec) - Method in class cn.hutool.crypto.digest.mac.DefaultHMacEngine
-
初始化
- init(String, SecretKey) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
初始化
- init(String, String, String) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
初始化
- init(String, String, String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
初始化
- init(String, String, String, String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
初始化
- init(Table, ResultSet) - Method in class cn.hutool.db.meta.Column
-
初始化
- init() - Method in class cn.hutool.db.nosql.mongo.MongoDS
-
初始化,当给定分组数大于一个时使用
- init(String) - Method in class cn.hutool.db.nosql.redis.RedisDS
-
初始化Jedis客户端
- init(boolean, boolean, boolean, Level) - Method in enum cn.hutool.db.sql.SqlLog
-
设置全局配置:是否通过debug日志显示SQL
- init(Collection<String>, boolean) - Static method in class cn.hutool.dfa.SensitiveUtil
-
初始化敏感词树
- init(Collection<String>) - Static method in class cn.hutool.dfa.SensitiveUtil
-
初始化敏感词树
- init(String, char, boolean) - Static method in class cn.hutool.dfa.SensitiveUtil
-
初始化敏感词树
- init(String, boolean) - Static method in class cn.hutool.dfa.SensitiveUtil
-
初始化敏感词树,使用逗号分隔每个单词
- init() - Method in class cn.hutool.extra.ftp.Ftp
-
初始化连接
- init(String, int, String, String) - Method in class cn.hutool.extra.ftp.Ftp
-
初始化连接
- init(String, int, String, String, FtpMode) - Method in class cn.hutool.extra.ftp.Ftp
-
初始化连接
- init(FtpConfig, FtpMode) - Method in class cn.hutool.extra.ftp.Ftp
-
初始化连接
- init(PinyinStyleEnum) - Method in class cn.hutool.extra.pinyin.engine.houbbpinyin.HoubbPinyinEngine
-
初始化
- init(PinyinFormat) - Method in class cn.hutool.extra.pinyin.engine.jpinyin.JPinyinEngine
-
- init(HanyuPinyinOutputFormat) - Method in class cn.hutool.extra.pinyin.engine.pinyin4j.Pinyin4jEngine
-
初始化
- init(String, int, String, String, Charset) - Method in class cn.hutool.extra.ssh.Sftp
-
构造
- init() - Method in class cn.hutool.extra.ssh.Sftp
-
初始化
- init(FtpConfig) - Method in class cn.hutool.extra.ssh.Sftp
-
初始化
- init(Session, Charset) - Method in class cn.hutool.extra.ssh.Sftp
-
初始化
- init(ChannelSftp, Charset) - Method in class cn.hutool.extra.ssh.Sftp
-
初始化
- init() - Method in class cn.hutool.extra.ssh.SshjSftp
-
SSH 初始化并创建一个sftp客户端.
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.beetl.BeetlEngine
-
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.enjoy.EnjoyEngine
-
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.freemarker.FreemarkerEngine
-
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.jetbrick.JetbrickEngine
-
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.rythm.RythmEngine
-
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.thymeleaf.ThymeleafEngine
-
- init(ExtProperties) - Method in class cn.hutool.extra.template.engine.velocity.SimpleStringResourceLoader
-
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.velocity.VelocityEngine
-
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.wit.WitEngine
-
- init(TemplateConfig) - Method in interface cn.hutool.extra.template.TemplateEngine
-
使用指定配置文件初始化模板引擎
- init(SoapProtocol) - Method in class cn.hutool.http.webservice.SoapClient
-
初始化
- init(URL, Charset) - Method in class cn.hutool.setting.GroupedSet
-
初始化设定文件
- init(Resource, Charset, boolean) - Method in class cn.hutool.setting.Setting
-
初始化设定文件
- init(InetSocketAddress) - Method in class cn.hutool.socket.aio.AioServer
-
初始化
- init(InetSocketAddress) - Method in class cn.hutool.socket.nio.NioClient
-
初始化
- init(InetSocketAddress) - Method in class cn.hutool.socket.nio.NioServer
-
初始化
- INITALPHA - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- initCache() - Method in class cn.hutool.cache.file.AbstractFileCache
-
初始化实现文件缓存的缓存对象
- initCache() - Method in class cn.hutool.cache.file.LFUFileCache
-
- initCache() - Method in class cn.hutool.cache.file.LRUFileCache
-
- initCipher() - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
- initCipher() - Method in class cn.hutool.crypto.asymmetric.RSA
-
- initCloud() - Method in class cn.hutool.db.nosql.mongo.MongoDS
-
初始化集群
集群的其它客户端设定参数使用全局设定
集群中每一个实例成员用一个group表示,例如:
user = test1
pass = 123456
database = test
[db0]
host = 192.168.1.1:27117
[db1]
host = 192.168.1.1:27118
[db2]
host = 192.168.1.1:27119
- initConn() - Method in class cn.hutool.http.HttpConnection
-
初始化连接相关信息
- initKeys() - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
生成公钥和私钥
- initKeys() - Method in class cn.hutool.crypto.asymmetric.SM2
-
- initMode(int, Key) - Method in class cn.hutool.crypto.CipherWrapper
-
- INITRAD - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- INITRADIUS - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- initSingle() - Method in class cn.hutool.db.nosql.mongo.MongoDS
-
初始化
设定文件中的host和端口有三种形式:
host = host:port
host = host
port = port
host = host
- input() - Static method in class cn.hutool.core.lang.Console
-
读取用户输入的内容(在控制台敲回车前的内容)
- InputStreamResource - Class in cn.hutool.core.io.resource
-
- InputStreamResource(InputStream) - Constructor for class cn.hutool.core.io.resource.InputStreamResource
-
构造
- InputStreamResource(InputStream, String) - Constructor for class cn.hutool.core.io.resource.InputStreamResource
-
构造
- insert(int, Object) - Method in class cn.hutool.core.text.StrBuilder
-
追加对象,对象会被转换为字符串
- insert(int, char) - Method in class cn.hutool.core.text.StrBuilder
-
插入指定字符
- insert(int, char[]) - Method in class cn.hutool.core.text.StrBuilder
-
指定位置插入数据
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
- insert(int, char[], int, int) - Method in class cn.hutool.core.text.StrBuilder
-
指定位置插入数据
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
- insert(int, CharSequence) - Method in class cn.hutool.core.text.StrBuilder
-
指定位置插入字符串的某个部分
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
- insert(int, CharSequence, int, int) - Method in class cn.hutool.core.text.StrBuilder
-
指定位置插入字符串的某个部分
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
- insert(T[], int, T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
将新元素插入到到已有数组中的某个位置
添加新元素会生成一个新的数组,不影响原数组
如果插入位置为为负数,从原数组从后向前计数,若大于原数组长度,则空白处用null填充
- insert(Object, int, T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
将新元素插入到到已有数组中的某个位置
添加新元素会生成一个新的数组,不影响原数组
如果插入位置为为负数,从原数组从后向前计数,若大于原数组长度,则空白处用null填充
- insert(Entity) - Method in class cn.hutool.db.AbstractDb
-
插入数据
- insert(Collection<Entity>) - Method in class cn.hutool.db.AbstractDb
-
批量插入数据
需要注意的是,批量插入每一条数据结构必须一致。
- insert(Connection, Entity...) - Method in class cn.hutool.db.DialectRunner
-
批量插入数据
批量插入必须严格保持Entity的结构一致,不一致会导致插入数据出现不可预知的结果
此方法不会关闭Connection
- insert(Connection, Entity, RsHandler<T>) - Method in class cn.hutool.db.DialectRunner
-
插入数据
此方法不会关闭Connection
- insert(Entity) - Method in class cn.hutool.db.sql.SqlBuilder
-
插入,使用默认的ANSI方言
- insert(Entity, DialectName) - Method in class cn.hutool.db.sql.SqlBuilder
-
插入
插入会忽略空的字段名及其对应值,但是对于有字段名对应值为null
的情况不忽略
- insert(Entity, String) - Method in class cn.hutool.db.sql.SqlBuilder
-
插入
插入会忽略空的字段名及其对应值,但是对于有字段名对应值为null
的情况不忽略
- insert(Connection, Collection<Entity>) - Method in class cn.hutool.db.SqlConnRunner
-
批量插入数据
需要注意的是,批量插入每一条数据结构必须一致。
- insert(Connection, Entity) - Method in class cn.hutool.db.SqlConnRunner
-
插入数据
此方法不会关闭Connection
- insertForGeneratedKey(Entity) - Method in class cn.hutool.db.AbstractDb
-
插入数据
- insertForGeneratedKey(Connection, Entity) - Method in class cn.hutool.db.SqlConnRunner
-
插入数据
此方法不会关闭Connection
- insertForGeneratedKeys(Entity) - Method in class cn.hutool.db.AbstractDb
-
插入数据
- insertForGeneratedKeys(Connection, Entity) - Method in class cn.hutool.db.SqlConnRunner
-
插入数据
此方法不会关闭Connection
- insertOrUpdate(Entity, String...) - Method in class cn.hutool.db.AbstractDb
-
插入或更新数据
根据给定的字段名查询数据,如果存在则更新这些数据,否则执行插入
- insertOrUpdate(Connection, Entity, String...) - Method in class cn.hutool.db.DialectRunner
-
插入或更新数据
此方法不会关闭Connection
- insertPreFragment(Object) - Method in class cn.hutool.db.sql.SqlBuilder
-
在SQL的开头补充SQL片段
- insertRow(Sheet, int, int) - Static method in class cn.hutool.poi.excel.RowUtil
-
插入行
- INSTANCE - Static variable in class cn.hutool.core.codec.Base32Codec
-
- INSTANCE - Static variable in class cn.hutool.core.codec.Base58Codec
-
- INSTANCE - Static variable in class cn.hutool.core.codec.Base62Codec
-
- INSTANCE - Static variable in class cn.hutool.core.comparator.ComparableComparator
-
单例
- INSTANCE - Static variable in class cn.hutool.core.comparator.LengthComparator
-
单例的字符串长度比较器,短在前
- INSTANCE - Static variable in class cn.hutool.core.comparator.VersionComparator
-
单例
- INSTANCE - Static variable in class cn.hutool.core.comparator.WindowsExplorerStringComparator
-
单例
- INSTANCE - Static variable in class cn.hutool.core.io.file.visitor.DelVisitor
-
- INSTANCE - Static variable in class cn.hutool.core.net.DefaultTrustManager
-
默认的全局单例默认信任管理器,默认信任所有客户端和服务端证书
- INSTANCE - Static variable in class cn.hutool.core.thread.lock.NoLock
-
- INSTANCE - Static variable in class cn.hutool.cron.pattern.matcher.AlwaysTrueMatcher
-
- INSTANCE - Static variable in class cn.hutool.poi.excel.cell.setters.NullCellSetter
-
- instance() - Static method in class cn.hutool.script.JavaScriptEngine
-
引擎实例
- InstanceComparator<T> - Class in cn.hutool.core.comparator
-
按照指定类型顺序排序,对象顺序取决于对象对应的类在数组中的位置。
- InstanceComparator(Class<?>...) - Constructor for class cn.hutool.core.comparator.InstanceComparator
-
构造
- InstanceComparator(boolean, Class<?>...) - Constructor for class cn.hutool.core.comparator.InstanceComparator
-
构造
- INTBIAS - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- INTBIASSHIFT - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- intercept(Object, Method, Object[], MethodProxy) - Method in class cn.hutool.aop.interceptor.CglibInterceptor
-
- intercept(Object, Method, Object[], MethodProxy) - Method in class cn.hutool.aop.interceptor.SpringCglibInterceptor
-
- INTERFACE - Static variable in interface cn.hutool.core.annotation.scanner.AnnotationScanner
-
扫描元素本身以及父接口的层级结构中声明的注解的扫描器
- INTERFACE_AND_META_ANNOTATION - Static variable in interface cn.hutool.core.annotation.scanner.AnnotationScanner
-
扫描元素本身以及父接口的层级结构中声明的注解,以及这些注解的元注解的扫描器
- interfereCount - Variable in class cn.hutool.captcha.AbstractCaptcha
-
验证码干扰元素个数
- interlace - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- intern(T) - Method in interface cn.hutool.core.lang.intern.Interner
-
返回指定对象对应的规范化对象,sample对象可能有多个,但是这些对象如果都equals,则返回的是同一个对象
- intern(String) - Method in class cn.hutool.core.lang.intern.JdkStringInterner
-
- intern(T) - Method in class cn.hutool.core.lang.intern.WeakInterner
-
- InternalJSONUtil - Class in cn.hutool.json
-
内部JSON工具类,仅用于JSON内部使用
- InternalMailUtil - Class in cn.hutool.extra.mail
-
邮件内部工具类
- InternalMailUtil() - Constructor for class cn.hutool.extra.mail.InternalMailUtil
-
- Interner<T> - Interface in cn.hutool.core.lang.intern
-
- InternUtil - Class in cn.hutool.core.lang.intern
-
规范化对象生成工具
- InternUtil() - Constructor for class cn.hutool.core.lang.intern.InternUtil
-
- interrupt(Thread, boolean) - Static method in class cn.hutool.core.thread.ThreadUtil
-
- intersection(Collection<T>, Collection<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
两个集合的交集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最少的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c],此结果中只保留了两个c
- intersection(Collection<T>, Collection<T>, Collection<T>...) - Static method in class cn.hutool.core.collection.CollUtil
-
多个集合的交集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最少的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c],此结果中只保留了两个c
- intersectionDistinct(Collection<T>, Collection<T>, Collection<T>...) - Static method in class cn.hutool.core.collection.CollUtil
-
多个集合的交集
针对一个集合中存在多个相同元素的情况,只保留一个
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c],此结果中只保留了一个c
- interval(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔时间(毫秒数)
如果使用纳秒计时,返回纳秒差,否则返回毫秒差
如果分组下没有开始时间,返回null
- interval(String, DateUnit) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔时间
- interval() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔时间(毫秒数)
如果使用纳秒计时,返回纳秒差,否则返回毫秒差
- intervalDay(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔天数,取绝对值
- intervalDay() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔天数,取绝对值
- intervalHour(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔小时数,取绝对值
- intervalHour() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔小时数,取绝对值
- intervalMinute(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔分钟数,取绝对值
- intervalMinute() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔分钟数,取绝对值
- intervalMs(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔时间(毫秒数)
- intervalMs() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔时间(毫秒数)
- intervalPretty(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔时间(毫秒数),返回XX天XX小时XX分XX秒XX毫秒
- intervalPretty() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔时间(毫秒数),返回XX天XX小时XX分XX秒XX毫秒
- intervalRestart(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
重新计时并返回从开始到当前的持续时间秒
如果此分组下没有记录,则返回0;
- intervalRestart() - Method in class cn.hutool.core.date.TimeInterval
-
- intervalSecond(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔秒数,取绝对值
- intervalSecond() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔秒数,取绝对值
- intervalWeek(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔周数,取绝对值
- intervalWeek() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔周数,取绝对值
- intHash(int) - Static method in class cn.hutool.core.util.HashUtil
-
Thomas Wang的算法,整数hash
- IntMap - Class in cn.hutool.bloomfilter.bitMap
-
过滤器BitMap在32位机器上.这个类能发生更好的效果.一般情况下建议使用此类
- IntMap() - Constructor for class cn.hutool.bloomfilter.bitMap.IntMap
-
构造
- IntMap(int) - Constructor for class cn.hutool.bloomfilter.bitMap.IntMap
-
构造
- intToByte(int) - Static method in class cn.hutool.core.convert.Convert
-
int转byte
- intToByte(int) - Static method in class cn.hutool.core.util.ByteUtil
-
int转byte
- intToBytes(int) - Static method in class cn.hutool.core.convert.Convert
-
int转byte数组
默认以小端序转换
- intToBytes(int) - Static method in class cn.hutool.core.util.ByteUtil
-
int转byte数组
默认以小端序转换
- intToBytes(int, ByteOrder) - Static method in class cn.hutool.core.util.ByteUtil
-
int转byte数组
自定义端序
- intVal() - Method in interface cn.hutool.core.lang.EnumItem
-
- intValue() - Method in class cn.hutool.core.convert.NumberWithFormat
-
- intValue() - Method in class cn.hutool.core.lang.hash.Number128
-
- intValue() - Method in class cn.hutool.core.lang.mutable.MutableByte
-
- intValue() - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
- intValue() - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
- intValue() - Method in class cn.hutool.core.lang.mutable.MutableInt
-
- intValue() - Method in class cn.hutool.core.lang.mutable.MutableLong
-
- intValue() - Method in class cn.hutool.core.lang.mutable.MutableShort
-
- INVALID_REGEX - Static variable in class cn.hutool.core.util.XmlUtil
-
在XML中无效的字符 正则
- inverse(Map<K, V>) - Static method in class cn.hutool.core.map.MapUtil
-
Map的键和值互换
互换键值对不检查值是否有重复,如果有则后加入的元素替换先加入的元素
值的顺序在HashMap中不确定,所以谁覆盖谁也不确定,在有序的Map中按照先后顺序覆盖,保留最后的值
- INVERTED_DECODER - Static variable in class cn.hutool.core.codec.Base62Codec.Base62Decoder
-
- INVERTED_ENCODER - Static variable in class cn.hutool.core.codec.Base62Codec.Base62Encoder
-
- InvocationTargetRuntimeException - Exception in cn.hutool.core.exceptions
-
InvocationTargetException的运行时异常
- InvocationTargetRuntimeException(Throwable) - Constructor for exception cn.hutool.core.exceptions.InvocationTargetRuntimeException
-
- InvocationTargetRuntimeException(String) - Constructor for exception cn.hutool.core.exceptions.InvocationTargetRuntimeException
-
- InvocationTargetRuntimeException(String, Object...) - Constructor for exception cn.hutool.core.exceptions.InvocationTargetRuntimeException
-
- InvocationTargetRuntimeException(String, Throwable) - Constructor for exception cn.hutool.core.exceptions.InvocationTargetRuntimeException
-
- InvocationTargetRuntimeException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.core.exceptions.InvocationTargetRuntimeException
-
- InvocationTargetRuntimeException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.exceptions.InvocationTargetRuntimeException
-
- invoke(Object, Method, Object[]) - Method in class cn.hutool.aop.interceptor.JdkInterceptor
-
- invoke(Object, Method, Object[]) - Method in class cn.hutool.core.annotation.AnnotationProxy
-
- invoke(Object, Method, Object[]) - Method in class cn.hutool.core.annotation.SynthesizedAnnotationProxy
-
- invoke(String, Object...) - Method in class cn.hutool.core.bean.DynaBean
-
执行原始Bean中的方法
- invoke(Object, Method, Object...) - Static method in class cn.hutool.core.lang.reflect.MethodHandleUtil
-
执行接口或对象中的方法
- invoke(boolean, Object, Method, Object...) - Static method in class cn.hutool.core.lang.reflect.MethodHandleUtil
-
执行接口或对象中的方法
interface Duck {
default String quack() {
return "Quack";
}
}
Duck duck = (Duck) Proxy.newProxyInstance(
ClassLoaderUtil.getClassLoader(),
new Class[] { Duck.class },
MethodHandleUtil::invoke);
- invoke(Object, Method, Object[]) - Method in class cn.hutool.core.map.MapProxy
-
- invoke(String, Object[]) - Static method in class cn.hutool.core.util.ClassUtil
-
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
非单例模式,如果是非静态方法,每次创建一个新对象
- invoke(String, boolean, Object...) - Static method in class cn.hutool.core.util.ClassUtil
-
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
- invoke(String, String, Object[]) - Static method in class cn.hutool.core.util.ClassUtil
-
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
非单例模式,如果是非静态方法,每次创建一个新对象
- invoke(String, String, boolean, Object...) - Static method in class cn.hutool.core.util.ClassUtil
-
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
- invoke(Object, Method, Object...) - Static method in class cn.hutool.core.util.ReflectUtil
-
执行方法
对于用户传入参数会做必要检查,包括:
1、忽略多余的参数
2、参数不够补齐默认值
3、传入参数为null,但是目标参数类型为原始类型,做转换
- invoke(Object, String, Object...) - Static method in class cn.hutool.core.util.ReflectUtil
-
执行对象中指定方法
如果需要传递的参数为null,请使用NullWrapperBean来传递,不然会丢失类型信息
- invoke(String, String, Object...) - Static method in class cn.hutool.script.ScriptUtil
-
执行JS脚本中的指定方法
- invokeAll(Collection<? extends Callable<T>>) - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- invokeAny(Collection<? extends Callable<T>>) - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- invokeFunction(String, Object...) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- invokeFunction(String, Object...) - Method in class cn.hutool.script.JavaScriptEngine
-
- invokeMethod(Object, String, Object...) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- invokeMethod(Object, String, Object...) - Method in class cn.hutool.script.JavaScriptEngine
-
- invokeRaw(Object, Method, Object...) - Static method in class cn.hutool.core.util.ReflectUtil
-
执行方法
对于用户传入参数会做必要检查,包括:
1、忽略多余的参数
2、参数不够补齐默认值
3、传入参数为null,但是目标参数类型为原始类型,做转换
- invokeSpecial(Object, String, Object...) - Static method in class cn.hutool.core.lang.reflect.MethodHandleUtil
-
执行接口或对象中的特殊方法(private、static等)
interface Duck {
default String quack() {
return "Quack";
}
}
Duck duck = (Duck) Proxy.newProxyInstance(
ClassLoaderUtil.getClassLoader(),
new Class[] { Duck.class },
MethodHandleUtil::invokeDefault);
- invokeSpecial(Object, Method, Object...) - Static method in class cn.hutool.core.lang.reflect.MethodHandleUtil
-
执行接口或对象中的特殊方法(private、static等)
interface Duck {
default String quack() {
return "Quack";
}
}
Duck duck = (Duck) Proxy.newProxyInstance(
ClassLoaderUtil.getClassLoader(),
new Class[] { Duck.class },
MethodHandleUtil::invoke);
- invokeStatic(Method, Object...) - Static method in class cn.hutool.core.util.ReflectUtil
-
执行静态方法
- InvokeTask - Class in cn.hutool.cron.task
-
反射执行任务
通过传入类名#方法名,通过反射执行相应的方法
如果是静态方法直接执行,如果是对象方法,需要类有默认的构造方法。
- InvokeTask(String) - Constructor for class cn.hutool.cron.task.InvokeTask
-
构造
- invokeWithCheck(Object, Method, Object...) - Static method in class cn.hutool.core.util.ReflectUtil
-
执行方法
执行前要检查给定参数:
1.
- inxbuild() - Method in class cn.hutool.core.img.gif.NeuQuant
-
- ioAction - Variable in class cn.hutool.socket.aio.AioServer
-
- IoAction<T> - Interface in cn.hutool.socket.aio
-
Socket流处理接口
实现此接口用于处理接收到的消息,发送指定消息
- IoCopier<S,T> - Class in cn.hutool.core.io.copy
-
IO拷贝抽象,可自定义包括缓存、进度条等信息
此对象非线程安全
- IoCopier(int, long, StreamProgress) - Constructor for class cn.hutool.core.io.copy.IoCopier
-
构造
- IORuntimeException - Exception in cn.hutool.core.io
-
IO运行时异常,常用于对IOException的包装
- IORuntimeException(Throwable) - Constructor for exception cn.hutool.core.io.IORuntimeException
-
- IORuntimeException(String) - Constructor for exception cn.hutool.core.io.IORuntimeException
-
- IORuntimeException(String, Object...) - Constructor for exception cn.hutool.core.io.IORuntimeException
-
- IORuntimeException(String, Throwable) - Constructor for exception cn.hutool.core.io.IORuntimeException
-
- IORuntimeException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.io.IORuntimeException
-
- IoUtil - Class in cn.hutool.core.io
-
IO工具类
IO工具类只是辅助流的读写,并不负责关闭流。
- IoUtil() - Constructor for class cn.hutool.core.io.IoUtil
-
- IP_MASK_MAX - Static variable in class cn.hutool.core.net.Ipv4Util
-
最大掩码位
- IP_MASK_SPLIT_MARK - Static variable in class cn.hutool.core.net.Ipv4Util
-
IP与掩码的分割符
- IP_SPLIT_MARK - Static variable in class cn.hutool.core.net.Ipv4Util
-
IP段的分割符
- IPAD - Static variable in class cn.hutool.http.useragent.Platform
-
ipad
- IPHONE - Static variable in class cn.hutool.http.useragent.Platform
-
Iphone
- IPOD - Static variable in class cn.hutool.http.useragent.Platform
-
ipod
- IPV4 - Static variable in class cn.hutool.core.lang.PatternPool
-
IP v4
- IPV4 - Static variable in interface cn.hutool.core.lang.RegexPool
-
IP v4
采用分组方式便于解析地址的每一个段
- IPV4 - Static variable in class cn.hutool.core.lang.Validator
-
IP v4
- ipv4(String) - Static method in class cn.hutool.core.util.DesensitizedUtil
-
IPv4脱敏,如:脱敏前:192.0.2.1;脱敏后:192.*.*.*。
- ipv4ToLong(String) - Static method in class cn.hutool.core.net.Ipv4Util
-
根据ip地址(xxx.xxx.xxx.xxx)计算出long型的数据
方法别名:inet_aton
- ipv4ToLong(String, long) - Static method in class cn.hutool.core.net.Ipv4Util
-
根据ip地址(xxx.xxx.xxx.xxx)计算出long型的数据, 如果格式不正确返回 defaultValue
- ipv4ToLong(String) - Static method in class cn.hutool.core.net.NetUtil
-
根据ip地址计算出long型的数据
- Ipv4Util - Class in cn.hutool.core.net
-
IPV4地址工具类
pr自:https://gitee.com/loolly/hutool/pulls/161
- Ipv4Util() - Constructor for class cn.hutool.core.net.Ipv4Util
-
- IPV6 - Static variable in class cn.hutool.core.lang.PatternPool
-
IP v6
- IPV6 - Static variable in interface cn.hutool.core.lang.RegexPool
-
IP v6
- IPV6 - Static variable in class cn.hutool.core.lang.Validator
-
IP v6
- ipv6(String) - Static method in class cn.hutool.core.util.DesensitizedUtil
-
IPv6脱敏,如:脱敏前:2001:0db8:86a3:08d3:1319:8a2e:0370:7344;脱敏后:2001:*:*:*:*:*:*:*
- ipv6ToBigInteger(String) - Static method in class cn.hutool.core.net.NetUtil
-
将IPv6地址字符串转为大整数
- ipv6ToBitInteger(String) - Static method in class cn.hutool.core.net.NetUtil
-
- IS_ANDROID - Static variable in class cn.hutool.core.util.JdkUtil
-
是否Android环境
- IS_AT_LEAST_JDK17 - Static variable in class cn.hutool.core.util.JdkUtil
-
是否大于等于JDK17
- IS_JDK8 - Static variable in class cn.hutool.core.util.JdkUtil
-
是否JDK8
由于Hutool基于JDK8编译,当使用JDK版本低于8时,不支持。
- isAbsolutePath(String) - Static method in class cn.hutool.core.io.FileUtil
-
给定路径已经是绝对路径
此方法并没有针对路径做标准化,建议先执行
FileUtil.normalize(String)
方法标准化路径后判断
绝对路径判断条件是:
以/开头的路径
满足类似于 c:/xxxxx,其中祖母随意,不区分大小写
满足类似于 d:\xxxxx,其中祖母随意,不区分大小写
- isAbstract(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为抽象类
- isAbstract(Method) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否抽象方法
- isAbstractOrInterface(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为抽象类或接口
- isAfter(Date) - Method in class cn.hutool.core.date.DateTime
-
是否在给定日期之后
- isAfterOrEquals(Date) - Method in class cn.hutool.core.date.DateTime
-
是否在给定日期之后或与给定日期相等
- isAix() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isAllAssignableFrom(Class<?>[], Class<?>[]) - Static method in class cn.hutool.core.util.ClassUtil
-
比较判断types1和types2两组类,如果types1中所有的类都与types2对应位置的类相同,或者是其父类或接口,则返回true
- isAllBlank(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串数组中的元素,是否全部为空字符串。
- isAllCharMatch(CharSequence, Matcher<Character>) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
字符串的每一个字符是否都与定义的匹配器匹配
- isAllEmpty(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串数组中的元素,是否全部为空字符串。
- isAllEmpty(Object...) - Static method in class cn.hutool.core.util.ArrayUtil
-
- isAllEmpty(Object...) - Static method in class cn.hutool.core.util.ObjectUtil
-
- isAllNotBlank(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
- isAllNotEmpty(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串数组中的元素,是否都不为空字符串。
- isAllNotEmpty(Object...) - Static method in class cn.hutool.core.util.ArrayUtil
-
- isAllNotEmpty(Object...) - Static method in class cn.hutool.core.util.ObjectUtil
-
- isAllNotNull(T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
多个字段是否全部不为null
- isAllNull(Iterable<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
是否全部元素为null
- isAllNull(Iterator<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
是否全部元素为null
- isAllNull(T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
多个字段是否全为null
- isAllowFileExts - Variable in class cn.hutool.core.net.multipart.UploadSetting
-
扩展名是允许列表还是禁止列表
- isAllowFileExts() - Method in class cn.hutool.core.net.multipart.UploadSetting
-
是否允许文件扩展名
- isAlwaysMakeTags() - Method in class cn.hutool.http.HTMLFilter
-
- isAM(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
是否为上午
- isAM() - Method in class cn.hutool.core.date.DateTime
-
是否为上午
- isAM(Date) - Static method in class cn.hutool.core.date.DateUtil
-
是否为上午
- isAndroid() - Method in class cn.hutool.http.useragent.Platform
-
是否为Android平台,包括Android和Google TV
- isAnnotationPresent(Class<? extends Annotation>) - Method in interface cn.hutool.core.annotation.AggregateAnnotation
-
在聚合中是否存在的指定类型注解对象
- isAnnotationPresent(Class<? extends Annotation>) - Method in class cn.hutool.core.annotation.CombinationAnnotationElement
-
- isAnnotationPresent(Class<? extends Annotation>) - Method in class cn.hutool.core.annotation.GenericSynthesizedAggregateAnnotation
-
当前合成注解中是否存在指定元注解
- isArray(Object) - Static method in class cn.hutool.core.util.ArrayUtil
-
对象是否为数组对象
- isAscii(char) - Static method in class cn.hutool.core.util.CharUtil
-
是否为ASCII字符,ASCII字符位于0~127之间
CharUtil.isAscii('a') = true
CharUtil.isAscii('A') = true
CharUtil.isAscii('3') = true
CharUtil.isAscii('-') = true
CharUtil.isAscii('\n') = true
CharUtil.isAscii('©') = false
- isAsciiControl(char) - Static method in class cn.hutool.core.util.CharUtil
-
是否为ASCII控制符(不可见字符),控制符位于0~31和127
CharUtil.isAsciiControl('a') = false
CharUtil.isAsciiControl('A') = false
CharUtil.isAsciiControl('3') = false
CharUtil.isAsciiControl('-') = false
CharUtil.isAsciiControl('\n') = true
CharUtil.isAsciiControl('©') = false
- isAsciiPrintable(char) - Static method in class cn.hutool.core.util.CharUtil
-
是否为可见ASCII字符,可见字符位于32~126之间
CharUtil.isAsciiPrintable('a') = true
CharUtil.isAsciiPrintable('A') = true
CharUtil.isAsciiPrintable('3') = true
CharUtil.isAsciiPrintable('-') = true
CharUtil.isAsciiPrintable('\n') = false
CharUtil.isAsciiPrintable('©') = false
- isAssignable(Class<?>, Class<?>) - Static method in class cn.hutool.core.lang.Assert
-
断言 superType.isAssignableFrom(subType)
是否为 true
.
- isAssignable(Class<?>, Class<?>, String, Object...) - Static method in class cn.hutool.core.lang.Assert
-
断言 superType.isAssignableFrom(subType)
是否为 true
.
- isAssignable(Class<?>, Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
检查目标类是否可以从原类转化
转化包括:
1、原类是对象,目标类型是原类型实现的接口
2、目标类型是原类型的父类
3、两者是原始类型或者包装类型(相互转换)
- isAuth() - Method in class cn.hutool.extra.mail.MailAccount
-
是否需要用户名密码验证
- isAutoIncrement() - Method in class cn.hutool.db.meta.Column
-
是否自增
- isBackToPwd() - Method in class cn.hutool.extra.ftp.Ftp
-
是否执行完操作返回当前目录
- isBase64(CharSequence) - Static method in class cn.hutool.core.codec.Base64
-
检查是否为Base64
- isBase64(byte[]) - Static method in class cn.hutool.core.codec.Base64
-
检查是否为Base64
- isBase64Code(byte) - Static method in class cn.hutool.core.codec.Base64Decoder
-
给定的字符是否为Base64字符
- isBasicType(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为基本类型(包括包装类和原始类)
- isBasicType(Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
是否为基本类型,包括包装类型和非包装类型
- isBean(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断是否为Bean对象,判定方法是:
1、是否存在只有一个参数的setXXX方法
2、是否存在public类型的字段
- isBefore(Date) - Method in class cn.hutool.core.date.DateTime
-
是否在给定日期之前
- isBeforeOrEquals(Date) - Method in class cn.hutool.core.date.DateTime
-
是否在给定日期之前或与给定日期相等
- isBeside(long, long) - Static method in class cn.hutool.core.util.NumberUtil
-
判断两个数字是否相邻,例如1和2相邻,1和3不相邻
判断方法为做差取绝对值判断是否为1
- isBeside(int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
判断两个数字是否相邻,例如1和2相邻,1和3不相邻
判断方法为做差取绝对值判断是否为1
- isBetween(Number, Number, Number) - Static method in class cn.hutool.core.lang.Validator
-
检查给定的数字是否在指定范围内
- isBirthday(int, int, int) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为生日
- isBirthday(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为生日
只支持以下几种格式:
yyyyMMdd
yyyy-MM-dd
yyyy/MM/dd
yyyy.MM.dd
yyyy年MM月dd日
- isBlank(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
- isBlankChar(char) - Static method in class cn.hutool.core.util.CharUtil
-
是否空白符
空白符包括空格、制表符、全角空格和不间断空格
- isBlankChar(int) - Static method in class cn.hutool.core.util.CharUtil
-
是否空白符
空白符包括空格、制表符、全角空格和不间断空格
- isBlankIfStr(Object) - Static method in class cn.hutool.core.util.StrUtil
-
如果对象是字符串是否为空白,空白的定义如下:
null
空字符串:
""
空格、全角空格、制表符、换行符,等不可见字符
例:
StrUtil.isBlankIfStr(null) // true
StrUtil.isBlankIfStr("") // true
StrUtil.isBlankIfStr(" \t\n") // true
StrUtil.isBlankIfStr("abc") // false
注意:该方法与
StrUtil.isEmptyIfStr(Object)
的区别是:
该方法会校验空白字符,且性能相对于
StrUtil.isEmptyIfStr(Object)
略慢。
- isBlankOrUndefined(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
检查字符串是否为null、空白串、“null”、“undefined”
- isBoolean(Class<?>) - Static method in class cn.hutool.core.util.BooleanUtil
-
给定类是否为Boolean或者boolean
- isBoundary(byte) - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
- isCalledBy(Class<?>) - Method in interface cn.hutool.core.lang.caller.Caller
-
是否被指定类调用
- isCalledBy(Class<?>) - Static method in class cn.hutool.core.lang.caller.CallerUtil
-
是否被指定类调用
- isCalledBy(Class<?>) - Method in class cn.hutool.core.lang.caller.SecurityManagerCaller
-
- isCalledBy(Class<?>) - Method in class cn.hutool.core.lang.caller.StackTraceCaller
-
- isCarDrivingLicence(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为驾驶证 别名:驾驶证档案编号、行驶证编号
仅限:中国驾驶证档案编号
- isCarVin(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为车架号;别名:行驶证编号 车辆识别代号 车辆识别码
- isCausedBy(Throwable, Class<? extends Exception>...) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
判断是否由指定异常类引起
- isChar(Object) - Static method in class cn.hutool.core.util.CharUtil
-
给定对象对应的类是否为字符类,字符类包括:
Character.class
char.class
- isCharClass(Class<?>) - Static method in class cn.hutool.core.util.CharUtil
-
给定类名是否为字符类,字符类包括:
Character.class
char.class
- isCharEquals(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
检查给定字符串的所有字符是否都一样
- isCheckDuplicate() - Method in class cn.hutool.json.JSONConfig
-
是否检查多个相同的key
- isChinese(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否都为汉字
- isChinese(char) - Static method in class cn.hutool.extra.pinyin.PinyinUtil
-
是否为中文字符
- isChineseName(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
是否是中文姓名
维吾尔族姓名里面的点是 · 输入法中文状态下,键盘左上角数字1前面的那个符号;
错误字符:..。..
- isChunked() - Method in class cn.hutool.http.HttpResponse
-
是否为Transfer-Encoding:Chunked的内容
- isCitizenId(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为身份证号码(支持18位、15位和港澳台的10位)
- isClosed - Variable in class cn.hutool.core.io.watch.WatchServer
-
监听是否已经关闭
- isClosed() - Method in class cn.hutool.db.ds.pooled.PooledConnection
-
连接是否关闭,关闭条件:
1、被归还到池中
2、实际连接已关闭
- isClosed() - Method in class cn.hutool.db.sql.StatementWrapper
-
- isClosed - Variable in class cn.hutool.poi.excel.ExcelBase
-
是否被关闭
- isClosed - Variable in class cn.hutool.poi.word.Word07Writer
-
是否被关闭
- isCloseOnCompletion() - Method in class cn.hutool.db.sql.StatementWrapper
-
- isCommonFieldsEqual(Object, Object, String...) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断source与target的所有公共字段的值是否相同
- isConnected(AsynchronousSocketChannel) - Static method in class cn.hutool.socket.SocketUtil
-
远程主机是否处于连接状态
通过判断远程地址获取成功与否判断
- isCopyAttributes() - Method in class cn.hutool.core.io.file.FileCopier
-
是否拷贝所有属性
- isCopyContentIfDir() - Method in class cn.hutool.core.io.file.FileCopier
-
当拷贝来源是目录时是否只拷贝目录下的内容
- isCreditCode(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
是否是有效的统一社会信用代码
第一部分:登记管理部门代码1位 (数字或大写英文字母)
第二部分:机构类别代码1位 (数字或大写英文字母)
第三部分:登记管理机关行政区划码6位 (数字)
第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母)
第五部分:校验码1位 (数字或大写英文字母)
- isCreditCode(CharSequence) - Static method in class cn.hutool.core.util.CreditCodeUtil
-
是否是有效的统一社会信用代码
第一部分:登记管理部门代码1位 (数字或大写英文字母)
第二部分:机构类别代码1位 (数字或大写英文字母)
第三部分:登记管理机关行政区划码6位 (数字)
第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母)
第五部分:校验码1位 (数字或大写英文字母)
- isCreditCodeSimple(CharSequence) - Static method in class cn.hutool.core.util.CreditCodeUtil
-
正则校验统一社会信用代码(18位)
第一部分:登记管理部门代码1位 (数字或大写英文字母)
第二部分:机构类别代码1位 (数字或大写英文字母)
第三部分:登记管理机关行政区划码6位 (数字)
第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母)
第五部分:校验码1位 (数字或大写英文字母)
- isCropSupported() - Method in class cn.hutool.extra.qrcode.BufferedImageLuminanceSource
-
- isCustomFormat(String) - Static method in class cn.hutool.core.date.format.GlobalCustomFormat
-
检查指定格式是否为自定义格式
- isDaemon() - Method in class cn.hutool.cron.Scheduler
-
是否为守护线程
- isDataFlavorSupported(DataFlavor) - Method in class cn.hutool.core.swing.clipboard.ImageSelection
-
是否支持指定元数据类型
- isDateFormat(Cell) - Static method in class cn.hutool.poi.excel.ExcelDateUtil
-
- isDateFormat(Cell, ConditionalFormattingEvaluator) - Static method in class cn.hutool.poi.excel.ExcelDateUtil
-
判断是否日期格式
- isDateFormat(ExcelNumberFormat) - Static method in class cn.hutool.poi.excel.ExcelDateUtil
-
判断是否日期格式
- isDateFormat(int, String) - Static method in class cn.hutool.poi.excel.ExcelDateUtil
-
判断日期格式
- isDateFormat(CellValueRecordInterface, FormatTrackingHSSFListener) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
-
判断数字Record中是否为日期格式
- isDateFormat(int, String) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
-
判断日期格式
- isDebug() - Method in class cn.hutool.extra.mail.MailAccount
-
是否打开调试模式,调试模式会显示与邮件服务器通信过程,默认不开启
- isDebugEnabled() - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.logtube.LogTubeLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- isDebugEnabled() - Method in interface cn.hutool.log.level.DebugLog
-
- isDecodeUrl() - Static method in class cn.hutool.http.HttpGlobalConfig
-
获取是否忽略解码URL,包括URL中的Path部分和Param部分。
- isDefault(String) - Static method in enum cn.hutool.http.ContentType
-
是否为默认Content-Type,默认包括null
和application/x-www-form-urlencoded
- isDeflate() - Method in class cn.hutool.http.HttpResponse
-
是否为zlib(Deflate)压缩过的内容
- isDir(String) - Method in class cn.hutool.extra.ftp.AbstractFtp
-
判断给定路径是否为目录
- isDir(String) - Method in class cn.hutool.extra.ssh.Sftp
-
- isDirectory(Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
判断是否为目录,如果file为null,则返回false
此方法不会追踪到软链对应的真实地址,即软链被当作文件
- isDirectory(Path, boolean) - Static method in class cn.hutool.core.io.file.PathUtil
-
判断是否为目录,如果file为null,则返回false
- isDirectory(String) - Static method in class cn.hutool.core.io.FileUtil
-
判断是否为目录,如果path为null,则返回false
- isDirectory(File) - Static method in class cn.hutool.core.io.FileUtil
-
判断是否为目录,如果file为null,则返回false
- isDirEmpty(Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
目录是否为空
- isDirEmpty(File) - Static method in class cn.hutool.core.io.FileUtil
-
目录是否为空
- isDocumented(Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
是否会保存到 Javadoc 文档中
- isDouble(String) - Static method in class cn.hutool.core.util.NumberUtil
-
判断字符串是否是浮点数
- isElement(Node) - Static method in class cn.hutool.core.util.XmlUtil
-
- isEmail(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为可用邮箱地址
- isEmail(CharSequence, boolean) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为可用邮箱地址(兼容中文邮箱地址)
- isEmoji(char) - Static method in class cn.hutool.core.util.CharUtil
-
判断是否为emoji表情符
- isEmoji(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
-
是否为Emoji表情的Unicode符
- isEmpty() - Method in interface cn.hutool.cache.Cache
-
缓存是否为空
- isEmpty() - Method in class cn.hutool.cache.impl.AbstractCache
-
- isEmpty() - Method in class cn.hutool.cache.impl.NoCache
-
- isEmpty(Object, String...) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断Bean是否为空对象,空对象表示本身为null
或者所有属性都为null
此方法不判断static属性
- isEmpty(Collection<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
集合是否为空
- isEmpty(Iterable<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Iterable是否为空
- isEmpty(Iterator<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Iterator是否为空
- isEmpty(Enumeration<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Enumeration是否为空
- isEmpty(Map<?, ?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Map是否为空
- isEmpty() - Method in class cn.hutool.core.collection.ConcurrentHashSet
-
- isEmpty(Iterable<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
Iterable是否为空
- isEmpty(Iterator<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
Iterator是否为空
- isEmpty() - Method in class cn.hutool.core.collection.Partition
-
- isEmpty() - Method in class cn.hutool.core.collection.TransCollection
-
- isEmpty() - Method in class cn.hutool.core.collection.UniqueKeySet
-
- isEmpty() - Method in class cn.hutool.core.io.FastByteBuffer
-
- isEmpty(File) - Static method in class cn.hutool.core.io.FileUtil
-
文件是否为空
目录:里面没有文件时为空 文件:文件大小为0时为空
- isEmpty() - Method in class cn.hutool.core.lang.Opt
-
判断包裹里元素的值是否不存在,不存在为 true
,否则为false
- isEmpty(Object) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为空
对于String类型判定是否为empty(null 或 "")
- isEmpty() - Method in class cn.hutool.core.lang.WeightListRandom
-
判断随机池是否为空
- isEmpty() - Method in class cn.hutool.core.map.LinkedForestMap
-
当前实例是否为空
- isEmpty() - Method in class cn.hutool.core.map.MapProxy
-
- isEmpty(Map<?, ?>) - Static method in class cn.hutool.core.map.MapUtil
-
Map是否为空
- isEmpty() - Method in class cn.hutool.core.map.MapWrapper
-
- isEmpty() - Method in class cn.hutool.core.map.multi.RowKeyTable
-
- isEmpty() - Method in interface cn.hutool.core.map.multi.Table
-
表格是否为空
- isEmpty() - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- isEmpty() - Method in class cn.hutool.core.map.TableMap
-
- isEmpty(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
字符串是否为空,空的定义如下:
null
空字符串:
""
例:
CharSequenceUtil.isEmpty(null) // true
CharSequenceUtil.isEmpty("") // true
CharSequenceUtil.isEmpty(" \t\n") // false
CharSequenceUtil.isEmpty("abc") // false
注意:该方法与
CharSequenceUtil.isBlank(CharSequence)
的区别是:该方法不校验空白字符。
- isEmpty() - Method in class cn.hutool.core.text.csv.CsvRow
-
- isEmpty() - Method in class cn.hutool.core.text.StrBuilder
-
是否为空
- isEmpty(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
数组是否为空
- isEmpty(Object) - Static method in class cn.hutool.core.util.ArrayUtil
-
数组是否为空
此方法会匹配单一对象,如果此对象为null
则返回true
如果此对象为非数组,理解为此对象为数组的第一个元素,则返回false
如果此对象为数组对象,数组长度大于0情况下返回false,否则返回true
- isEmpty(Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
判断指定对象是否为空,支持:
1.
- isEmpty(long[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty(int[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty(short[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty(char[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty(byte[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty(double[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty(float[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty(boolean[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty() - Method in class cn.hutool.cron.Scheduler
-
是否无任务
- isEmpty() - Method in class cn.hutool.cron.TaskTable
-
任务表是否为空
- isEmpty() - Method in class cn.hutool.db.ThreadLocalConnection.GroupedConnection
-
持有的连接是否为空
- isEmpty() - Method in class cn.hutool.json.JSONArray
-
- isEmpty(Sheet) - Static method in class cn.hutool.poi.excel.WorkbookUtil
-
sheet是否为空
- isEmpty(String) - Method in class cn.hutool.setting.GroupedMap
-
某个分组对应的键值对是否为空
- isEmpty() - Method in class cn.hutool.setting.GroupedMap
-
是否为空,如果多个分组同时为空,也按照空处理
- isEmpty(String) - Method in class cn.hutool.setting.Setting
-
某个分组对应的键值对是否为空
- isEmpty() - Method in class cn.hutool.setting.Setting
-
- isEmptyIfStr(Object) - Static method in class cn.hutool.core.util.StrUtil
-
如果对象是字符串是否为空串,空的定义如下:
null
空字符串:
""
例:
StrUtil.isEmptyIfStr(null) // true
StrUtil.isEmptyIfStr("") // true
StrUtil.isEmptyIfStr(" \t\n") // false
StrUtil.isEmptyIfStr("abc") // false
注意:该方法与
StrUtil.isBlankIfStr(Object)
的区别是:该方法不校验空白字符。
- isEmptyOrUndefined(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
检查字符串是否为null、“”、“null”、“undefined”
- isEmptyParam(Method) - Static method in class cn.hutool.core.util.ReflectUtil
-
是否为无参数方法
- isEnabled(Level) - Method in class cn.hutool.log.AbstractLog
-
- isEnabled(Level) - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- isEnabled(Level) - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- isEnabled(Level) - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- isEnabled(Level) - Method in interface cn.hutool.log.Log
-
是否开启指定日志
- isEncodefilename() - Method in class cn.hutool.extra.mail.MailAccount
-
- isEnum(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
判断类是否为枚举类型
- isEnum(Class<?>) - Static method in class cn.hutool.core.util.EnumUtil
-
指定类是否为Enum类
- isEnum(Object) - Static method in class cn.hutool.core.util.EnumUtil
-
指定类是否为Enum类
- isEqualList(Collection<?>, Collection<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
- isEqualList(Iterable<?>, Iterable<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
- isEquals() - Method in class cn.hutool.core.builder.EqualsBuilder
-
Returns true
if the fields that have been checked
are all equal.
- isEqualsMethod(Method) - Static method in class cn.hutool.core.util.ReflectUtil
-
是否为equals方法
- isErrorEnabled() - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.logtube.LogTubeLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- isErrorEnabled() - Method in interface cn.hutool.log.level.ErrorLog
-
- isEven(int) - Static method in class cn.hutool.core.util.NumberUtil
-
检查是否为偶数
- isExistsAndNotDirectory(Path, boolean) - Static method in class cn.hutool.core.io.file.PathUtil
-
判断是否存在且为非目录
如果path为null
,返回false
如果path不存在,返回false
- isExpired() - Method in class cn.hutool.cache.impl.CacheObj
-
判断是否过期
- isExpired(Date, DateField, int, Date) - Static method in class cn.hutool.core.date.DateUtil
-
- isExpired(Date, Date, Date) - Static method in class cn.hutool.core.date.DateUtil
-
- isFail() - Method in class cn.hutool.core.lang.Opt
-
- isFalse(boolean, Supplier<X>) - Static method in class cn.hutool.core.lang.Assert
-
断言是否为假,如果为
true
抛出指定类型异常
并使用指定的函数获取错误信息返回
Assert.isFalse(i > 0, ()->{
// to query relation message
return new IllegalArgumentException("relation message to return");
});
- isFalse(boolean, String, Object...) - Static method in class cn.hutool.core.lang.Assert
-
断言是否为假,如果为
true
抛出
IllegalArgumentException
异常
Assert.isFalse(i < 0, "The value must not be negative");
- isFalse(boolean) - Static method in class cn.hutool.core.lang.Assert
-
断言是否为假,如果为
true
抛出
IllegalArgumentException
异常
Assert.isFalse(i < 0);
- isFalse(boolean) - Static method in class cn.hutool.core.lang.Validator
-
给定值是否不为false
- isFalse(Boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
检查 Boolean
值是否为 false
BooleanUtil.isFalse(Boolean.TRUE) = false
BooleanUtil.isFalse(Boolean.FALSE) = true
BooleanUtil.isFalse(null) = false
- isFile(Path, boolean) - Static method in class cn.hutool.core.io.file.PathUtil
-
判断是否为文件,如果file为null,则返回false
- isFile(String) - Static method in class cn.hutool.core.io.FileUtil
-
判断是否为文件,如果path为null,则返回false
- isFile(File) - Static method in class cn.hutool.core.io.FileUtil
-
判断是否为文件,如果file为null,则返回false
- isFile() - Method in class cn.hutool.core.net.multipart.UploadFileHeader
-
Returns true
if uploaded data are correctly marked as a file.
- isFileSeparator(char) - Static method in class cn.hutool.core.util.CharUtil
-
是否为Windows或者Linux(Unix)文件分隔符
Windows平台下分隔符为\,Linux(Unix)为/
- isFileURL(URL) - Static method in class cn.hutool.core.util.URLUtil
-
提供的URL是否为文件
文件协议包括"file", "vfsfile" 或 "vfs".
- isFirst() - Method in class cn.hutool.db.PageResult
-
- isFormUrlEncode(String) - Static method in enum cn.hutool.http.ContentType
-
是否为application/x-www-form-urlencoded
- isFromOrSuppressedThrowable(Throwable, Class<? extends Throwable>) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
判断指定异常是否来自或者包含指定异常
- isFromOrSuppressedThrowable(Throwable, Class<? extends Throwable>, boolean) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
判断指定异常是否来自或者包含指定异常
- isFull() - Method in interface cn.hutool.cache.Cache
-
缓存是否已满,仅用于有空间限制的缓存对象
- isFull() - Method in class cn.hutool.cache.impl.AbstractCache
-
- isFull() - Method in class cn.hutool.cache.impl.NoCache
-
- isGeneral(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为英文字母 、数字和下划线
- isGeneral(CharSequence, int, int) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为给定长度范围的英文字母 、数字和下划线
- isGeneral(CharSequence, int) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为给定最小长度的英文字母 、数字和下划线
- isGeneralWithChinese(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为中文字、英文字母、数字和下划线
- isGetMethod(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
-
是否为GET请求
- isGetMethod(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
是否为GET请求
- isGetMethod() - Method in class cn.hutool.http.server.HttpServerRequest
-
是否为GET请求
- isGetterOrSetter(Method, boolean) - Static method in class cn.hutool.core.util.ReflectUtil
-
检查给定方法是否为Getter或者Setter方法,规则为:
方法参数必须为0个或1个
方法名称不能是getClass
如果是无参方法,则判断是否以“get”或“is”开头
如果方法参数1个,则判断是否以“set”开头
- isGetterOrSetterIgnoreCase(Method) - Static method in class cn.hutool.core.util.ReflectUtil
-
检查给定方法是否为Getter或者Setter方法,规则为:
方法参数必须为0个或1个
如果是无参方法,则判断是否以“get”或“is”开头
如果方法参数1个,则判断是否以“set”开头
- isGreater(BigDecimal, BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
-
比较大小,参数1 > 参数2 返回true
- isGreaterOrEqual(BigDecimal, BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
-
比较大小,参数1 >= 参数2 返回true
- isGzip() - Method in class cn.hutool.http.HttpResponse
-
是否为gzip压缩过的内容
- isHashCodeMethod(Method) - Static method in class cn.hutool.core.util.ReflectUtil
-
是否为hashCode方法
- isHex(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为Hex(16进制)字符串
- isHexChar(char) - Static method in class cn.hutool.core.util.CharUtil
-
是否为16进制规范的字符,判断是否为如下字符
1. 0~9
2. a~f
4.
- isHexNumber(String) - Static method in class cn.hutool.core.util.HexUtil
-
判断给定字符串是否为16进制数
如果是,需要使用对应数字类型对象的decode
方法解码
例如:Integer.decode
方法解码int类型的16进制数字
- isHpUx() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isHttp(String) - Static method in class cn.hutool.http.HttpUtil
-
检测是否http
- isHttps(String) - Static method in class cn.hutool.http.HttpUtil
-
检测是否https
- isIE(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
-
客户浏览器是否为IE
- isIE(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
客户浏览器是否为IE
- isIgnoreCase() - Method in class cn.hutool.json.JSONConfig
-
是否忽略键的大小写
- isIgnoreEmptyRow() - Method in class cn.hutool.poi.excel.ExcelReader
-
是否忽略空行
- isIgnoreEOFError() - Static method in class cn.hutool.http.HttpGlobalConfig
-
获取是否忽略响应读取时可能的EOF异常。
- isIgnoreError() - Method in class cn.hutool.json.JSONConfig
-
是否忽略转换过程中的异常
- isIgnoreNullValue() - Method in class cn.hutool.json.JSONConfig
-
是否忽略null值
- isIn(Date, Date) - Method in class cn.hutool.core.date.DateTime
-
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
- isIn(Date, Date, Date) - Static method in class cn.hutool.core.date.DateUtil
-
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
- isIn(ChronoLocalDateTime<?>, ChronoLocalDateTime<?>, ChronoLocalDateTime<?>) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
- isIn(ChronoLocalDateTime<?>, ChronoLocalDateTime<?>, ChronoLocalDateTime<?>, boolean, boolean) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
判断当前时间(默认时区)是否在指定范围内
起始时间和结束时间可以互换
通过includeBegin, includeEnd参数控制时间范围区间是否为开区间,例如:传入参数:includeBegin=true, includeEnd=false,
则本方法会判断 date ∈ (beginDate, endDate] 是否成立
- isIn(TemporalAccessor, TemporalAccessor, TemporalAccessor) - Static method in class cn.hutool.core.date.TemporalAccessorUtil
-
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
- isIn(TemporalAccessor, TemporalAccessor, TemporalAccessor, boolean, boolean) - Static method in class cn.hutool.core.date.TemporalAccessorUtil
-
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
通过includeBegin, includeEnd参数控制日期范围区间是否为开区间,例如:传入参数:includeBegin=true, includeEnd=false,
则本方法会判断 date ∈ (beginDate, endDate] 是否成立
- isIn(BigDecimal, BigDecimal, BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
-
检查值是否在指定范围内
- isIncludeInterfaces() - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
-
是否允许扫描父接口
- isIncludeSuperClass() - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
-
是否允许扫描父类
- isInfoEnabled() - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.logtube.LogTubeLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- isInfoEnabled() - Method in interface cn.hutool.log.level.InfoLog
-
- isInherited(Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
是否可以被继承,默认为 false
- isInited() - Static method in class cn.hutool.dfa.SensitiveUtil
-
- isInitialize() - Method in class cn.hutool.core.lang.loader.LazyFunLoader
-
是否已经初始化
- isInMemory() - Method in class cn.hutool.core.net.multipart.UploadFile
-
- isInnerIP(String) - Static method in class cn.hutool.core.net.Ipv4Util
-
判定是否为内网IPv4
私有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这个网段是环回地址
- isInnerIP(String) - Static method in class cn.hutool.core.net.NetUtil
-
判定是否为内网IPv4
私有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这个网段是环回地址
- isInRange(String, String) - Static method in class cn.hutool.core.net.NetUtil
-
是否在CIDR规则配置范围内
方法来自:【成都】小邓
- isInstanceOf(Class<?>, T) - Static method in class cn.hutool.core.lang.Assert
-
断言给定对象是否是给定类的实例
Assert.instanceOf(Foo.class, foo);
- isInstanceOf(Class<?>, T, String, Object...) - Static method in class cn.hutool.core.lang.Assert
-
断言给定对象是否是给定类的实例
Assert.instanceOf(Foo.class, foo, "foo must be an instance of class Foo");
- isInteger(String) - Static method in class cn.hutool.core.util.NumberUtil
-
判断String是否是整数
支持10进制
- isInterface(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为接口
- isIos() - Method in class cn.hutool.http.useragent.Platform
-
是否为IOS平台,包括IPhone、IPod、IPad
- isIPad() - Method in class cn.hutool.http.useragent.Platform
-
是否为Iphone或者iPod设备
- isIPhoneOrIPod() - Method in class cn.hutool.http.useragent.Platform
-
是否为Iphone或者iPod设备
- isIpv4(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为IPV4地址
- isIpv6(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为IPV6地址
- isIrix() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isJarFileURL(URL) - Static method in class cn.hutool.core.util.URLUtil
-
提供的URL是否为Jar文件URL 判断依据为file协议且扩展名为.jar
- isJarOrZipFile(String) - Static method in class cn.hutool.core.compiler.JavaFileObjectUtil
-
是否是jar 或 zip 文件
- isJarURL(URL) - Static method in class cn.hutool.core.util.URLUtil
-
提供的URL是否为jar包URL 协议包括: "jar", "zip", "vfszip" 或 "wsjar".
- isJava10() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava11() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava12() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava13() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava14() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava15() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava16() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava17() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava18() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava1_1() - Method in class cn.hutool.system.JavaInfo
-
Deprecated.
- isJava1_2() - Method in class cn.hutool.system.JavaInfo
-
Deprecated.
- isJava1_3() - Method in class cn.hutool.system.JavaInfo
-
Deprecated.
- isJava1_4() - Method in class cn.hutool.system.JavaInfo
-
Deprecated.
- isJava1_5() - Method in class cn.hutool.system.JavaInfo
-
Deprecated.
- isJava1_6() - Method in class cn.hutool.system.JavaInfo
-
Deprecated.
- isJava1_7() - Method in class cn.hutool.system.JavaInfo
-
Deprecated.
- isJava1_8() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava9() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJavaFile(String) - Static method in class cn.hutool.core.compiler.JavaFileObjectUtil
-
是否是java文件
- isJavaVersionAtLeast(float) - Method in class cn.hutool.system.JavaInfo
-
判定当前Java的版本是否大于等于指定的版本号。
- isJavaVersionAtLeast(int) - Method in class cn.hutool.system.JavaInfo
-
判定当前Java的版本是否大于等于指定的版本号。
- isJdkClass(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为JDK中定义的类或接口,判断依据:
1、以java.
- isJdkMetaAnnotation(Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
是否为Jdk自带的元注解。
- isJson(String) - Static method in class cn.hutool.json.JSONUtil
-
- isJsonArray(String) - Static method in class cn.hutool.json.JSONUtil
-
- isJsonObj(String) - Static method in class cn.hutool.json.JSONUtil
-
- isKeepAlive() - Method in class cn.hutool.http.HttpRequest
-
- isKeepStrings() - Method in class cn.hutool.json.xml.ParseConfig
-
是否保持值为String类型,如果为false
,则尝试转换为对应类型(numeric, boolean, string)
- isLast() - Method in class cn.hutool.cron.pattern.matcher.DayOfMonthMatcher
-
- isLast() - Method in class cn.hutool.db.PageResult
-
- isLastDayOfMonth(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
是否为本月最后一天
- isLastDayOfMonth() - Method in class cn.hutool.core.date.DateTime
-
是否为本月最后一天
- isLastDayOfMonth(Date) - Static method in class cn.hutool.core.date.DateUtil
-
是否为本月最后一天
- isLeapMonth(int, int) - Static method in class cn.hutool.core.date.chinese.ChineseMonth
-
当前农历月份是否为闰月
- isLeapMonth() - Method in class cn.hutool.core.date.ChineseDate
-
当前农历月份是否为闰月
- isLeapYear() - Method in class cn.hutool.core.date.DateTime
-
是否闰年
- isLeapYear(int) - Static method in class cn.hutool.core.date.DateUtil
-
是否闰年
- isLess(BigDecimal, BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
-
比较大小,参数1 < 参数2 返回true
- isLessOrEqual(BigDecimal, BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
-
比较大小,参数1<=参数2 返回true
- isLetter(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
判断字符串是否全部为字母组成,包括大写和小写字母和汉字
- isLetter(char) - Static method in class cn.hutool.core.util.CharUtil
-
判断是否为字母(包括大写字母和小写字母)
字母包括A~Z和a~z
CharUtil.isLetter('a') = true
CharUtil.isLetter('A') = true
CharUtil.isLetter('3') = false
CharUtil.isLetter('-') = false
CharUtil.isLetter('\n') = false
CharUtil.isLetter('©') = false
- isLetterLower(char) - Static method in class cn.hutool.core.util.CharUtil
-
检查字符是否为小写字母,小写字母指a~z
CharUtil.isLetterLower('a') = true
CharUtil.isLetterLower('A') = false
CharUtil.isLetterLower('3') = false
CharUtil.isLetterLower('-') = false
CharUtil.isLetterLower('\n') = false
CharUtil.isLetterLower('©') = false
- isLetterOrNumber(char) - Static method in class cn.hutool.core.util.CharUtil
-
是否为字母或数字,包括A~Z、a~z、0~9
CharUtil.isLetterOrNumber('a') = true
CharUtil.isLetterOrNumber('A') = true
CharUtil.isLetterOrNumber('3') = true
CharUtil.isLetterOrNumber('-') = false
CharUtil.isLetterOrNumber('\n') = false
CharUtil.isLetterOrNumber('©') = false
- isLetterUpper(char) - Static method in class cn.hutool.core.util.CharUtil
-
判断是否为大写字母,大写字母包括A~Z
CharUtil.isLetterUpper('a') = false
CharUtil.isLetterUpper('A') = true
CharUtil.isLetterUpper('3') = false
CharUtil.isLetterUpper('-') = false
CharUtil.isLetterUpper('\n') = false
CharUtil.isLetterUpper('©') = false
- isLinux() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isLoaded() - Method in class cn.hutool.core.net.multipart.MultipartFormData
-
是否已被解析
- isLocked() - Method in class cn.hutool.core.comparator.ComparatorChain
-
是否已经被锁定。
- isLong(String) - Static method in class cn.hutool.core.util.NumberUtil
-
判断字符串是否是Long类型
支持10进制
- isLowerCase(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
判断字符串是否全部为小写字母
- isLowerCase(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串中的字母是否全部为小写,判断依据如下:
1.
- isMac(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为MAC地址
- isMac() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isMacOS() - Method in class cn.hutool.http.useragent.OS
-
是否为MacOS
- isMacOsX() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isMaskBitValid(int) - Static method in class cn.hutool.core.net.Ipv4Util
-
判断掩码位是否合法
- isMaskValid(String) - Static method in class cn.hutool.core.net.Ipv4Util
-
判断掩码是否合法
- isMatch(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
给定内容是否匹配正则
- isMatch(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
给定内容是否匹配正则
- isMatch(String) - Method in class cn.hutool.dfa.WordTree
-
指定文本是否包含树中的词
- isMatch(String) - Method in class cn.hutool.http.useragent.UserAgentInfo
-
指定内容中是否包含匹配此信息的内容
- isMatchName(Object, String, boolean) - Static method in class cn.hutool.core.bean.BeanUtil
-
给定的Bean的类名是否匹配指定类名字符串
如果isSimple为true
,则只匹配类名而忽略包名,例如:cn.hutool.TestEntity只匹配TestEntity
如果isSimple为false
,则匹配包括包名的全类名,例如:cn.hutool.TestEntity匹配cn.hutool.TestEntity
- isMatchRegex(Pattern, CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
通过正则表达式验证
- isMatchRegex(String, CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
通过正则表达式验证
- isMatchSecond() - Method in class cn.hutool.cron.CronConfig
-
是否支持秒匹配
- isMatchSecond() - Method in class cn.hutool.cron.Scheduler
-
是否支持秒匹配
- isMergedRegion(Sheet, String) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
判断指定的单元格是否是合并单元格
- isMergedRegion(Cell) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
判断指定的单元格是否是合并单元格
- isMergedRegion(Sheet, int, int) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
判断指定的单元格是否是合并单元格
- isMobile(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为手机号码(中国)
- isMobile(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
验证是否为手机号码(中国大陆)
- isMobile() - Method in class cn.hutool.http.useragent.Browser
-
是否移动浏览器
- isMobile() - Method in class cn.hutool.http.useragent.Platform
-
是否为移动平台
- isMobile() - Method in class cn.hutool.http.useragent.UserAgent
-
是否为移动平台
- isMobileHk(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
验证是否为手机号码(中国香港)
- isMobileMo(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
验证是否为手机号码(中国澳门)
- isMobileTw(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
验证是否为手机号码(中国台湾)
- isModifed(File, long) - Static method in class cn.hutool.core.io.FileUtil
-
- isModified(File, long) - Static method in class cn.hutool.core.io.FileUtil
-
判断文件是否被改动
如果文件对象为 null 或者文件不存在,被视为改动
- isModified() - Method in class cn.hutool.core.io.resource.FileResource
-
- isModified() - Method in class cn.hutool.core.io.resource.MultiResource
-
- isModified() - Method in interface cn.hutool.core.io.resource.Resource
-
检查资源是否变更
一般用于文件类资源,检查文件是否被修改过。
- isModified() - Method in class cn.hutool.core.io.resource.UrlResource
-
- isModified() - Method in class cn.hutool.core.io.resource.VfsResource
-
- isMoney(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为货币
- isMultipart(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
-
是否为Multipart类型表单,此类型表单用于文件上传
- isMultipart(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
是否为Multipart类型表单,此类型表单用于文件上传
- isMultipart() - Method in class cn.hutool.http.server.HttpServerRequest
-
是否为Multipart类型表单,此类型表单用于文件上传
- isMutable() - Method in class cn.hutool.core.date.DateTime
-
- isNegative() - Method in class cn.hutool.core.io.unit.DataSize
-
是否为负数,不包括0
- isNextVal(Object) - Static method in class cn.hutool.db.dialect.impl.OracleDialect
-
检查字段值是否为Oracle自增字段,自增字段以`.nextval`结尾
- isNonUnique() - Method in class cn.hutool.db.meta.IndexInfo
-
- isNormalClass(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为标准的类
这个类必须:
1、非接口
2、非抽象类
3、非Enum枚举
4、非数组
5、非注解
6、非原始类型(int, long等)
- isNotBlank(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
- isNotEmpty(Object, String...) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断Bean是否为非空对象,非空对象表示本身不为null
或者含有非null
属性的对象
- isNotEmpty(Collection<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
集合是否为非空
- isNotEmpty(Iterable<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Iterable是否为空
- isNotEmpty(Iterator<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Iterator是否为空
- isNotEmpty(Enumeration<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Enumeration是否为空
- isNotEmpty(Map<?, ?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Map是否为非空
- isNotEmpty(Iterable<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
Iterable是否为空
- isNotEmpty(Iterator<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
Iterator是否为空
- isNotEmpty(File) - Static method in class cn.hutool.core.io.FileUtil
-
目录是否为空
- isNotEmpty(Object) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为非空
对于String类型判定是否为empty(null 或 "")
- isNotEmpty(Map<?, ?>) - Static method in class cn.hutool.core.map.MapUtil
-
Map是否为非空
- isNotEmpty(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
字符串是否为非空白,非空白的定义如下:
不为
null
不为空字符串:
""
例:
CharSequenceUtil.isNotEmpty(null) // false
CharSequenceUtil.isNotEmpty("") // false
CharSequenceUtil.isNotEmpty(" \t\n") // true
CharSequenceUtil.isNotEmpty("abc") // true
注意:该方法与
CharSequenceUtil.isNotBlank(CharSequence)
的区别是:该方法不校验空白字符。
- isNotEmpty(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
数组是否为非空
- isNotEmpty(Object) - Static method in class cn.hutool.core.util.ArrayUtil
-
数组是否为非空
此方法会匹配单一对象,如果此对象为null
则返回false
如果此对象为非数组,理解为此对象为数组的第一个元素,则返回true
如果此对象为数组对象,数组长度大于0情况下返回true,否则返回false
- isNotEmpty(Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
判断指定对象是否为非空,支持:
1.
- isNotEmpty(long[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotEmpty(int[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotEmpty(short[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotEmpty(char[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotEmpty(byte[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotEmpty(double[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotEmpty(float[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotEmpty(boolean[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotJdkMateAnnotation(Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
是否不为Jdk自带的元注解。
- isNotNeedProcess(Set<Class<?>>, Class<?>) - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
-
当前类是否不需要处理
- isNotNull(Object) - Static method in class cn.hutool.core.lang.Validator
-
给定值是否不为null
- isNotNull(Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
检查对象是否不为null
1. !
- isNotPublic(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
指定类是否为非public
- isNotPublic(Method) - Static method in class cn.hutool.core.util.ClassUtil
-
指定方法是否为非public
- isNotStopChar(char) - Static method in class cn.hutool.dfa.StopChar
-
是否为合法字符(待处理字符)
- isNull(Object, Supplier<X>) - Static method in class cn.hutool.core.lang.Assert
-
断言对象是否为
null
,如果不为
null
抛出指定类型异常
并使用指定的函数获取错误信息返回
Assert.isNull(value, ()->{
// to query relation message
return new IllegalArgumentException("relation message to return");
});
- isNull(Object, String, Object...) - Static method in class cn.hutool.core.lang.Assert
-
- isNull(Object) - Static method in class cn.hutool.core.lang.Assert
-
- isNull(Object) - Static method in class cn.hutool.core.lang.Validator
-
给定值是否为null
- isNull(Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
检查对象是否为null
判断标准为:
1. == null
2. equals(null)
- isNull(K) - Method in interface cn.hutool.json.JSONGetter
-
key对应值是否为null
或无此key
- isNull(Object) - Static method in class cn.hutool.json.JSONUtil
-
是否为null对象,null的情况包括:
1.
- isNullable() - Method in class cn.hutool.db.meta.Column
-
是否为可空
- isNullOrDefaultStyle(Workbook, CellStyle) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
给定样式是否为null(无样式)或默认样式,默认样式为workbook.getCellStyleAt(0)
- isNullOrUndefined(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
检查字符串是否为null、“null”、“undefined”
- isNumber(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证该字符串是否是数字
- isNumber(char) - Static method in class cn.hutool.core.util.CharUtil
-
检查是否为数字字符,数字字符指0~9
CharUtil.isNumber('a') = false
CharUtil.isNumber('A') = false
CharUtil.isNumber('3') = true
CharUtil.isNumber('-') = false
CharUtil.isNumber('\n') = false
CharUtil.isNumber('©') = false
- isNumber(CharSequence) - Static method in class cn.hutool.core.util.NumberUtil
-
是否为数字,支持包括:
1、10进制
2、16进制数字(0x开头)
3、科学计数法形式(1234E3)
4、类型标识形式(123D)
5、正负数标识形式(+123、-234)
- isNumeric(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
检查字符串是否都为数字组成
- ISO8601_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
-
- ISO8601_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
-
- ISO8601_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
-
ISO8601日期时间格式,精确到毫秒:yyyy-MM-dd HH:mm:ss,SSS
- ISO8859_1_ESCAPE - Static variable in class cn.hutool.core.text.escape.Html4Escape
-
- ISO8859_1_UNESCAPE - Static variable in class cn.hutool.core.text.escape.Html4Unescape
-
- ISO_8859_1 - Static variable in class cn.hutool.core.util.CharsetUtil
-
ISO-8859-1
- isOdd(int) - Static method in class cn.hutool.core.util.NumberUtil
-
检查是否为奇数
- isOk() - Method in class cn.hutool.http.HttpResponse
-
请求是否成功,判断依据为:状态码范围在200~299内。
- isOnlyCopyFile() - Method in class cn.hutool.core.io.file.FileCopier
-
当拷贝来源是目录时是否只拷贝文件而忽略子目录
- isOpen(InetSocketAddress, int) - Static method in class cn.hutool.core.net.NetUtil
-
检查远程端口是否开启
- isOpen() - Method in class cn.hutool.socket.aio.AioServer
-
服务是否开启状态
- isOpen() - Method in class cn.hutool.socket.aio.AioSession
-
会话是否打开状态
当Socket保持连接时会话始终打开
- isOperatorBetween() - Method in class cn.hutool.db.sql.Condition
-
是否 between x and y 类型
- isOperatorIn() - Method in class cn.hutool.db.sql.Condition
-
是否IN条件
- isOperatorIs() - Method in class cn.hutool.db.sql.Condition
-
是否IS条件
- isOperatorLike() - Method in class cn.hutool.db.sql.Condition
-
是否LIKE条件
- isOracle(DatabaseMetaData) - Static method in class cn.hutool.db.meta.MetaUtil
-
判断当前数据库是否为Oracle。
- isOrder() - Method in class cn.hutool.json.JSONConfig
-
- isOs2() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isOuterClassField(Field) - Static method in class cn.hutool.core.util.ReflectUtil
-
是否为父类引用字段
当字段所在类是对象子类时(对象中定义的非static的class),会自动生成一个以"this$0"为名称的字段,指向父类对象
- isOverlap(Date, Date, Date, Date) - Static method in class cn.hutool.core.date.DateUtil
-
检查两个时间段是否有时间重叠
重叠指两个时间段是否有交集,注意此方法时间段重合时如:
此方法未纠正开始时间小于结束时间
当realStartTime和realEndTime或startTime和endTime相等时,退化为判断区间是否包含点
当realStartTime和realEndTime和startTime和endTime相等时,退化为判断点与点是否相等
See
准确的区间关系参考:艾伦区间代数
- isOverlap(ChronoLocalDateTime<?>, ChronoLocalDateTime<?>, ChronoLocalDateTime<?>, ChronoLocalDateTime<?>) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
检查两个时间段是否有时间重叠
重叠指两个时间段是否有交集,注意此方法时间段重合时如:
此方法未纠正开始时间小于结束时间
当realStartTime和realEndTime或startTime和endTime相等时,退化为判断区间是否包含点
当realStartTime和realEndTime和startTime和endTime相等时,退化为判断点与点是否相等
See
准确的区间关系参考:艾伦区间代数
- isOverride() - Method in class cn.hutool.core.io.file.FileCopier
-
是否覆盖目标文件
- isPartOfArrayFormulaGroup() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- isPattern(String) - Method in class cn.hutool.core.text.AntPathMatcher
-
判断给定路径是否是表达式
- isPhone(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
验证是否为座机号码+手机号码(CharUtil中国)+ 400 + 800电话 + 手机号号码(中国香港)
- isPk() - Method in class cn.hutool.db.meta.Column
-
是否主键
- isPk(String) - Method in class cn.hutool.db.meta.Table
-
给定列名是否为主键
- isPlaceHolder() - Method in class cn.hutool.db.sql.Condition
-
是否使用条件占位符
- isPlateNumber(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为中国车牌号
- isPM(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
是否为下午
- isPM() - Method in class cn.hutool.core.date.DateTime
-
是否为下午
- isPM(Date) - Static method in class cn.hutool.core.date.DateUtil
-
是否为下午
- isPoolable() - Method in class cn.hutool.db.sql.StatementWrapper
-
- isPostMethod(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
-
是否为POST请求
- isPostMethod(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
是否为POST请求
- isPostMethod() - Method in class cn.hutool.http.server.HttpServerRequest
-
是否为POST请求
- isPowerOfTwo(long) - Static method in class cn.hutool.core.util.NumberUtil
-
判断一个整数是否是2的幂
- isPresent() - Method in class cn.hutool.core.lang.Opt
-
判断包裹里元素的值是否存在,存在为 true
,否则为false
- isPresent(String) - Static method in class cn.hutool.core.util.ClassLoaderUtil
-
- isPresent(String, ClassLoader) - Static method in class cn.hutool.core.util.ClassLoaderUtil
-
- isPrimes(int) - Static method in class cn.hutool.core.util.NumberUtil
-
是否是质数(素数)
质数表的质数又称素数。
- isPrimitiveWrapper(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为包装类型
- isProxyAnnotation(Class<?>) - Static method in class cn.hutool.core.annotation.SynthesizedAnnotationProxy
-
该类是否为通过SynthesizedAnnotationProxy
生成的代理类
- isPruneExpiredActive() - Method in class cn.hutool.cache.impl.AbstractCache
-
只有设置公共缓存失效时长或每个对象单独的失效时长时清理可用
- isPublic(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
指定类是否为Public
- isPublic(Method) - Static method in class cn.hutool.core.util.ClassUtil
-
指定方法是否为Public
- isPublic(Field) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是Public字段
- isPublic(Method) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是Public方法
- isPublic(Class<?>) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是Public类
- isPublic(Constructor<?>) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是Public构造
- isReadable(boolean) - Method in class cn.hutool.core.bean.PropDesc
-
- isReadableBean(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断是否为可读的Bean对象,判定方法是:
1、是否存在只有无参数的getXXX方法或者isXXX方法
2、是否存在public类型的字段
- isReadOnly() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- isRedirected(int) - Static method in class cn.hutool.http.HttpStatus
-
是否为重定向状态码
- isRoot() - Method in class cn.hutool.core.map.LinkedForestMap.TreeEntryNode
-
当前节点是否为根节点
- isRotateSupported() - Method in class cn.hutool.extra.qrcode.BufferedImageLuminanceSource
-
- isRunning() - Method in class cn.hutool.core.date.StopWatch
-
检查是否有正在运行的任务
- isSame(String) - Method in enum cn.hutool.db.sql.LogicalOperator
-
给定字符串逻辑运算符是否与当前逻辑运算符一致,不区分大小写,自动去除两边空白符
- isSameDay(Calendar, Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
比较两个日期是否为同一天
- isSameDay(Date, Date) - Static method in class cn.hutool.core.date.DateUtil
-
比较两个日期是否为同一天
- isSameDay(LocalDateTime, LocalDateTime) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
比较两个日期是否为同一天
- isSameDay(LocalDate, LocalDate) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
比较两个日期是否为同一天
- isSameInstant(Calendar, Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
检查两个Calendar时间戳是否相同。
- isSameMonth(Calendar, Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
比较两个日期是否为同一月
同一个月的意思是:ERA(公元)、year(年)、month(月)都一致。
- isSameMonth(Date, Date) - Static method in class cn.hutool.core.date.DateUtil
-
比较两个日期是否为同一月
- isSameTime(Date, Date) - Static method in class cn.hutool.core.date.DateUtil
-
是否为相同时间
此方法比较两个日期的时间戳是否相同
- isSameWeek(Calendar, Calendar, boolean) - Static method in class cn.hutool.core.date.CalendarUtil
-
比较两个日期是否为同一周
- isSameWeek(Date, Date, boolean) - Static method in class cn.hutool.core.date.DateUtil
-
比较两个日期是否为同一周
- isShutdown() - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- isSimpleTypeOrArray(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否简单值类型或简单值类型的数组
包括:原始类型,、String、other CharSequence, a Number, a Date, a URI, a URL, a Locale or a Class及其数组
- isSimpleValueType(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为简单值类型
包括:
原始类型
String、other CharSequence
Number
Date
URI
URL
Locale
Class
- isSocketFactoryFallback() - Method in class cn.hutool.extra.mail.MailAccount
-
如果设置为true,未能创建一个套接字使用指定的套接字工厂类将导致使用java.net.Socket创建的套接字类, 默认值为true
- isSolaris() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isSorted(T[], Comparator<? super T>) - Static method in class cn.hutool.core.util.ArrayUtil
-
检查数组是否有序,即comparator.compare(array[i], array[i + 1]) <= 0,若传入空数组或空比较器,则返回false
- isSorted(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
检查数组是否升序,即array[i].compareTo(array[i + 1]) <= 0,若传入空数组,则返回false
- isSorted(byte[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSorted(short[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSorted(char[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSorted(int[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSorted(long[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSorted(double[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSorted(float[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedASC(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
检查数组是否升序,即array[i].compareTo(array[i + 1]) <= 0,若传入空数组,则返回false
- isSortedASC(byte[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedASC(short[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedASC(char[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedASC(int[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedASC(long[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedASC(double[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedASC(float[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedDESC(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
检查数组是否降序,即array[i].compareTo(array[i + 1]) >= 0,若传入空数组,则返回false
- isSortedDESC(byte[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
- isSortedDESC(short[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
- isSortedDESC(char[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
- isSortedDESC(int[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
- isSortedDESC(long[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
- isSortedDESC(double[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
- isSortedDESC(float[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
- isSourceModified(Resource) - Method in class cn.hutool.extra.template.engine.velocity.SimpleStringResourceLoader
-
- isSplitlongparameters() - Method in class cn.hutool.extra.mail.MailAccount
-
对于超长参数是否切分为多份,默认为false(国内邮箱附件不支持切分的附件名)
- isSslEnable() - Method in class cn.hutool.extra.mail.MailAccount
-
是否使用 SSL安全连接
- isStarted() - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- isStarted() - Method in class cn.hutool.cron.Scheduler
-
- isStarttlsEnable() - Method in class cn.hutool.extra.mail.MailAccount
-
是否使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。
- isStatic(Method) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为静态方法
- isStatic(Field) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是static字段
- isStatic(Method) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是static方法
- isStatic(Class<?>) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是static类
- isStopChar(char) - Static method in class cn.hutool.dfa.StopChar
-
判断指定的词是否是不处理的词。
- isStripComments() - Method in class cn.hutool.http.HTMLFilter
-
- isStripTrailingZeros() - Method in class cn.hutool.json.JSONConfig
-
是否去除末尾多余0,例如如果为true,5.0返回5
- isSub(Path, Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
判断给定的目录是否为给定文件或文件夹的子目录
- isSub(File, File) - Static method in class cn.hutool.core.io.FileUtil
-
判断给定的目录是否为给定文件或文件夹的子目录
- isSub(T[], T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
查找子数组的位置
- isSubEquals(CharSequence, int, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取第一个字串的部分字符,与第二个字符串比较(长度一致),判断截取的子串是否相同
任意一个字符串为null返回false
- isSubEquals(CharSequence, int, CharSequence, int, int, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取两个字符串的不同部分(长度一致),判断截取的子串是否相同
任意一个字符串为null返回false
- isSuccess() - Method in class cn.hutool.extra.validation.BeanValidationResult
-
是否验证通过
- ISSUED_AT - Static variable in interface cn.hutool.jwt.RegisteredPayload
-
jwt的签发时间
- ISSUER - Static variable in interface cn.hutool.jwt.RegisteredPayload
-
jwt签发者
- isSunOS() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isSupportTransaction - Variable in class cn.hutool.db.AbstractDb
-
是否支持事务
- isSurround(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串是否被字符包围
- isSurround(CharSequence, char, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串是否被字符包围
- isSymlink(Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
判断是否为符号链接文件
- isSymlink(File) - Static method in class cn.hutool.core.io.FileUtil
-
判断是否为符号链接文件
- isSynthesizedAnnotation(Annotation) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
该注解对象是否为通过代理类生成的合成注解
- isSynthetic(Field) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是合成字段(由java编译器生成的)
- isSynthetic(Method) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是合成方法(由java编译器生成的)
- isSynthetic(Class<?>) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是合成类(由java编译器生成的)
- isTel(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
验证是否为座机号码(中国大陆)
- isTel400800(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
验证是否为座机号码(中国大陆)+ 400 + 800
- isTerminated() - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- isTopLevelClass(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为顶层类,即定义在包中的类,而非定义在类中的内部类
- isToStringMethod(Method) - Static method in class cn.hutool.core.util.ReflectUtil
-
是否为toString方法
- isTraceEnabled() - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.logtube.LogTubeLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- isTraceEnabled() - Method in interface cn.hutool.log.level.TraceLog
-
- isTransientSupport() - Method in class cn.hutool.json.JSONConfig
-
是否支持transient关键字修饰和@Transient注解,如果支持,被修饰的字段或方法对应的字段将被忽略。
- isTrue(boolean, Supplier<? extends X>) - Static method in class cn.hutool.core.lang.Assert
-
断言是否为真,如果为
false
抛出给定的异常
Assert.isTrue(i > 0, IllegalArgumentException::new);
- isTrue(boolean, String, Object...) - Static method in class cn.hutool.core.lang.Assert
-
断言是否为真,如果为
false
抛出
IllegalArgumentException
异常
Assert.isTrue(i > 0, "The value must be greater than zero");
- isTrue(boolean) - Static method in class cn.hutool.core.lang.Assert
-
断言是否为真,如果为
false
抛出
IllegalArgumentException
异常
Assert.isTrue(i > 0);
- isTrue(boolean) - Static method in class cn.hutool.core.lang.Validator
-
给定值是否为true
- isTrue(Boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
检查 Boolean
值是否为 true
BooleanUtil.isTrue(Boolean.TRUE) = true
BooleanUtil.isTrue(Boolean.FALSE) = false
BooleanUtil.isTrue(null) = false
- isTrustAnyHost() - Static method in class cn.hutool.http.HttpGlobalConfig
-
是否信任所有Host
- isType(String, String...) - Static method in class cn.hutool.core.io.file.FileNameUtil
-
根据文件名检查文件类型,忽略大小写
- isTypeJSON(String) - Static method in class cn.hutool.json.JSONUtil
-
是否为JSON类型字符串,首尾都为大括号或中括号判定为JSON字符串
- isTypeJSONArray(String) - Static method in class cn.hutool.json.JSONUtil
-
是否为JSONArray类型的字符串,首尾都为中括号判定为JSONArray字符串
- isTypeJSONObject(String) - Static method in class cn.hutool.json.JSONUtil
-
是否为JSONObject类型字符串,首尾都为大括号判定为JSONObject字符串
- isUnknown(String) - Static method in class cn.hutool.core.net.NetUtil
-
检测给定字符串是否为未知,多用于检测HTTP请求相关
- isUnknown(Type) - Static method in class cn.hutool.core.util.TypeUtil
-
- isUnknown() - Method in class cn.hutool.http.useragent.UserAgentInfo
-
是否为Unknown
- isUploaded() - Method in class cn.hutool.core.net.multipart.UploadFile
-
- isUpperCase(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
判断字符串是否全部为大写字母
- isUpperCase(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串中的字母是否全部为大写,判断依据如下:
1.
- isUrl(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为URL
- isUsableLocalPort(int) - Static method in class cn.hutool.core.net.NetUtil
-
检测本地端口可用性
来自org.springframework.util.SocketUtils
- isUseVariable - Variable in class cn.hutool.setting.Setting
-
是否使用变量
- isUUID(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为UUID
包括带横线标准格式和不带横线的简单模式
- isValid(String) - Static method in class cn.hutool.core.lang.ObjectId
-
给定的字符串是否为有效的ObjectId
- isValid(double) - Static method in class cn.hutool.core.util.NumberUtil
-
检查是否为有效的数字
检查double否为无限大,或者Not a Number(NaN)
- isValid(float) - Static method in class cn.hutool.core.util.NumberUtil
-
检查是否为有效的数字
检查double否为无限大,或者Not a Number(NaN)
- isValid(int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- isValidCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
是否有效身份证号,忽略X的大小写
如果身份证号码中含有空格始终返回false
- isValidCard10(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
验证10位身份编码是否合法
- isValidCard15(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
验证15位身份编码是否合法
- isValidCard18(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
判断18位身份证的合法性
根据〖中华人民共和国国家标准GB11643-1999〗中有关公民身份号码的规定,公民身份号码是特征组合码,由十七位数字本体码和一位数字校验码组成。
- isValidCard18(String, boolean) - Static method in class cn.hutool.core.util.IdcardUtil
-
判断18位身份证的合法性
根据〖中华人民共和国国家标准GB11643-1999〗中有关公民身份号码的规定,公民身份号码是特征组合码,由十七位数字本体码和一位数字校验码组成。
- isValidHKCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
验证香港身份证号码(存在Bug,部份特殊身份证无法检查)
身份证前2位为英文字符,如果只出现一个英文字符则表示第一位是空格,对应数字58 前2位英文字符A-Z分别对应数字10-35 最后一位校验码为0-9的数字加上字符"A","A"代表10
将身份证号码全部转换为数字,分别对应乘9-1相加的总和,整除11则证件号码有效
- isValidIfNumber(Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
检查是否为有效的数字
检查Double和Float是否为无限大,或者Not a Number
非数字类型和Null将返回true
- isValidLine(String) - Method in class cn.hutool.core.collection.LineIter
-
重写此方法来判断是否每一行都被返回,默认全部为true
- isValidNumber(Number) - Static method in class cn.hutool.core.util.NumberUtil
-
检查是否为有效的数字
检查Double和Float是否为无限大,或者Not a Number
非数字类型和Null将返回false
- isValidPort(int) - Static method in class cn.hutool.core.net.NetUtil
-
是否为有效的端口
此方法并不检查端口是否被占用
- isValidTWCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
验证台湾身份证号码
- isValueEquivalentToDefaultValue() - Method in class cn.hutool.core.annotation.AliasedAnnotationAttribute
-
- isValueEquivalentToDefaultValue() - Method in interface cn.hutool.core.annotation.AnnotationAttribute
-
该注解属性的值是否等于默认值
- isValueEquivalentToDefaultValue() - Method in class cn.hutool.core.annotation.CacheableAnnotationAttribute
-
- isValueEquivalentToDefaultValue() - Method in class cn.hutool.core.annotation.ForceAliasedAnnotationAttribute
-
- isValueEquivalentToDefaultValue() - Method in class cn.hutool.core.annotation.MirroredAnnotationAttribute
-
- isValueEquivalentToDefaultValue() - Method in interface cn.hutool.core.annotation.WrappedAnnotationAttribute
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.logtube.LogTubeLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- isWarnEnabled() - Method in interface cn.hutool.log.level.WarnLog
-
- isWeekend() - Method in class cn.hutool.core.date.DateTime
-
是否为周末,周末指周六或者周日
- isWeekend(Date) - Static method in class cn.hutool.core.date.DateUtil
-
是否为周末(周六或周日)
- isWeekend(LocalDateTime) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
是否为周末(周六或周日)
- isWeekend(LocalDate) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
是否为周末(周六或周日)
- isWindows() - Static method in class cn.hutool.core.io.FileUtil
-
是否为Windows环境
- isWindows() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindows10() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindows2000() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindows7() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindows8() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindows8_1() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindows95() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindows98() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindowsME() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindowsNT() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindowsXP() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWord(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证该字符串是否是字母(包括大写和小写字母)
- isWrap(CharSequence, String, String) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串是否被包装
- isWrap(CharSequence, String) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串是否被同一字符包装(前后都有这些字符串)
- isWrap(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串是否被同一字符包装(前后都有这些字符串)
- isWrap(CharSequence, char, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串是否被包装
- isWrapped() - Method in interface cn.hutool.core.annotation.AnnotationAttribute
-
- isWrapped() - Method in interface cn.hutool.core.annotation.WrappedAnnotationAttribute
-
- isWrapperFor(Class<?>) - Method in class cn.hutool.db.ds.DataSourceWrapper
-
- isWrapperFor(Class<?>) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- isWrapperFor(Class<?>) - Method in class cn.hutool.db.ds.simple.AbstractDataSource
-
- isWrapperFor(Class<?>) - Method in class cn.hutool.db.sql.StatementWrapper
-
- isWritable(boolean) - Method in class cn.hutool.core.bean.PropDesc
-
- isWriteLongAsString() - Method in class cn.hutool.json.JSONConfig
-
是否将Long值写出为字符串类型
- isXls(InputStream) - Static method in class cn.hutool.poi.excel.ExcelFileUtil
-
- isXlsx() - Method in class cn.hutool.poi.excel.ExcelBase
-
判断是否为xlsx格式的Excel表(Excel07格式)
- isXlsx(InputStream) - Static method in class cn.hutool.poi.excel.ExcelFileUtil
-
- isXlsx(File) - Static method in class cn.hutool.poi.excel.ExcelFileUtil
-
是否为XLSX格式的Excel文件(XSSF)
XLSX文件主要用于Excel 2007+创建
- isZipCode(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为邮政编码(中国)
- items() - Method in interface cn.hutool.core.lang.EnumItem
-
获取所有枚举对象
- IterableIter<T> - Interface in cn.hutool.core.collection
-
- iterator() - Method in class cn.hutool.cache.impl.AbstractCache
-
- iterator() - Method in class cn.hutool.cache.impl.NoCache
-
- iterator() - Method in class cn.hutool.core.collection.BoundedPriorityQueue
-
- iterator() - Method in class cn.hutool.core.collection.ConcurrentHashSet
-
- iterator() - Method in interface cn.hutool.core.collection.IterableIter
-
- iterator() - Method in class cn.hutool.core.collection.IterChain
-
- iterator - Variable in class cn.hutool.core.collection.PartitionIter
-
被分批的迭代器
- iterator() - Method in class cn.hutool.core.collection.TransCollection
-
- iterator() - Method in class cn.hutool.core.collection.UniqueKeySet
-
- iterator() - Method in class cn.hutool.core.comparator.ComparatorChain
-
- iterator() - Method in class cn.hutool.core.io.resource.MultiResource
-
- iterator() - Method in class cn.hutool.core.io.watch.watchers.WatcherChain
-
- iterator() - Method in class cn.hutool.core.lang.Range
-
- iterator() - Method in class cn.hutool.core.lang.SimpleCache
-
- iterator() - Method in class cn.hutool.core.lang.Tuple
-
- iterator() - Method in class cn.hutool.core.map.MapWrapper
-
- iterator() - Method in class cn.hutool.core.map.multi.AbsTable
-
- iterator() - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- iterator() - Method in class cn.hutool.core.map.TableMap
-
- iterator() - Method in class cn.hutool.core.text.csv.CsvData
-
- iterator() - Method in class cn.hutool.core.text.csv.CsvReader
-
- iterator() - Method in class cn.hutool.core.text.csv.CsvRow
-
- iterator() - Method in class cn.hutool.core.text.replacer.ReplacerChain
-
- iterator() - Method in class cn.hutool.extra.tokenizer.engine.ansj.AnsjResult
-
- iterator() - Method in class cn.hutool.http.HttpInterceptor.Chain
-
- iterator() - Method in class cn.hutool.json.JSONArray
-
- iterator() - Method in class cn.hutool.json.JSONObjectIter
-
- IteratorEnumeration<E> - Class in cn.hutool.core.collection
-
- IteratorEnumeration(Iterator<E>) - Constructor for class cn.hutool.core.collection.IteratorEnumeration
-
构造
- IterChain<T> - Class in cn.hutool.core.collection
-
- IterChain() - Constructor for class cn.hutool.core.collection.IterChain
-
- IterChain(Iterator<T>...) - Constructor for class cn.hutool.core.collection.IterChain
-
构造
- IterUtil - Class in cn.hutool.core.collection
-
- IterUtil() - Constructor for class cn.hutool.core.collection.IterUtil
-
- iw - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- ix - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- iy - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- padAfter(CharSequence, int, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
补充字符串以满足最小长度,如果提供的字符串大于指定长度,截断之
CharSequenceUtil.padAfter(null, *, *);//null
CharSequenceUtil.padAfter("1", 3, '0');//"100"
CharSequenceUtil.padAfter("123", 2, '0');//"23"
CharSequenceUtil.padAfter("123", -1, '0')//"" 空串
- padAfter(CharSequence, int, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
补充字符串以满足最小长度
CharSequenceUtil.padAfter(null, *, *);//null
CharSequenceUtil.padAfter("1", 3, "ABC");//"1AB"
CharSequenceUtil.padAfter("123", 2, "ABC");//"23"
- Padding - Enum in cn.hutool.crypto
-
补码方式
补码方式是在分组密码中,当明文长度不是分组长度的整数倍时,需要在最后一个分组中填充一些数据使其凑满一个分组的长度。
- padLeft(List<T>, int, T) - Static method in class cn.hutool.core.collection.CollUtil
-
填充List,以达到最小长度
- padPre(CharSequence, int, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
补充字符串以满足指定长度,如果提供的字符串大于指定长度,截断之
同:leftPad (org.apache.commons.lang3.leftPad)
CharSequenceUtil.padPre(null, *, *);//null
CharSequenceUtil.padPre("1", 3, "ABC");//"AB1"
CharSequenceUtil.padPre("123", 2, "ABC");//"12"
CharSequenceUtil.padPre("1039", -1, "0");//"103"
- padPre(CharSequence, int, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
补充字符串以满足最小长度,如果提供的字符串大于指定长度,截断之
同:leftPad (org.apache.commons.lang3.leftPad)
CharSequenceUtil.padPre(null, *, *);//null
CharSequenceUtil.padPre("1", 3, '0');//"001"
CharSequenceUtil.padPre("123", 2, '0');//"12"
- padRight(Collection<T>, int, T) - Static method in class cn.hutool.core.collection.CollUtil
-
填充List,以达到最小长度
- page(int, int, List<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
对指定List分页取值
- page(int, int, List<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
对指定List分页取值
- page(List<T>, int, Consumer<List<T>>) - Static method in class cn.hutool.core.collection.ListUtil
-
对指定List进行分页,逐页返回数据
- page(Collection<String>, Entity, int, int, RsHandler<T>) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(Entity, int, int, RsHandler<T>) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(Entity, Page, RsHandler<T>) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(Collection<String>, Entity, Page, RsHandler<T>) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(CharSequence, Page, RsHandler<T>, Object...) - Method in class cn.hutool.db.AbstractDb
-
分页查询
- page(CharSequence, Page, Class<T>, Object...) - Method in class cn.hutool.db.AbstractDb
-
分页查询
- page(SqlBuilder, Page, RsHandler<T>) - Method in class cn.hutool.db.AbstractDb
-
分页查询
- page(CharSequence, Page, Object...) - Method in class cn.hutool.db.AbstractDb
-
分页查询
- page(Collection<String>, Entity, int, int) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(Collection<String>, Entity, Page) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(Entity, int, int) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(Entity, Page) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(Entity, Page, String...) - Method in class cn.hutool.db.DaoTemplate
-
分页
- page(Entity, Page) - Method in class cn.hutool.db.DaoTemplate
-
分页
- page(Connection, Query, RsHandler<T>) - Method in class cn.hutool.db.DialectRunner
-
分页查询
此方法不会关闭Connection
- page(Connection, SqlBuilder, Page, RsHandler<T>) - Method in class cn.hutool.db.DialectRunner
-
分页查询
此方法不会关闭Connection
- Page - Class in cn.hutool.db
-
分页对象
- Page() - Constructor for class cn.hutool.db.Page
-
- Page(int, int) - Constructor for class cn.hutool.db.Page
-
构造
- Page(int, int, Order) - Constructor for class cn.hutool.db.Page
-
构造
- page(Connection, Collection<String>, Entity, int, int, RsHandler<T>) - Method in class cn.hutool.db.SqlConnRunner
-
分页查询
此方法不会关闭Connection
- page(Connection, SqlBuilder, Page) - Method in class cn.hutool.db.SqlConnRunner
-
分页查询
此方法不会关闭Connection
- page(Connection, Collection<String>, Entity, int, int) - Method in class cn.hutool.db.SqlConnRunner
-
分页查询
此方法不会关闭Connection
- page(Connection, Entity, Page) - Method in class cn.hutool.db.SqlConnRunner
-
分页全字段查询
此方法不会关闭Connection
- page(Connection, Collection<String>, Entity, Page) - Method in class cn.hutool.db.SqlConnRunner
-
分页查询
此方法不会关闭Connection
- page(Connection, Collection<String>, Entity, Page, RsHandler<T>) - Method in class cn.hutool.db.SqlConnRunner
-
分页查询
此方法不会关闭Connection
- pageForEntityList(Entity, int, int) - Method in class cn.hutool.db.AbstractDb
-
分页查询,结果为Entity列表,不计算总数
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- pageForEntityList(Entity, Page) - Method in class cn.hutool.db.AbstractDb
-
分页查询,结果为Entity列表,不计算总数
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- PageResult<T> - Class in cn.hutool.db
-
分页数据结果集
- PageResult() - Constructor for class cn.hutool.db.PageResult
-
构造
- PageResult(int, int) - Constructor for class cn.hutool.db.PageResult
-
构造
- PageResult(int, int, int) - Constructor for class cn.hutool.db.PageResult
-
构造
- PageResultHandler - Class in cn.hutool.db.handler
-
分页结果集处理类 ,处理出的结果为PageResult
- PageResultHandler(PageResult<Entity>) - Constructor for class cn.hutool.db.handler.PageResultHandler
-
构造
结果集根据给定的分页对象查询数据库,填充结果
- PageResultHandler(PageResult<Entity>, boolean) - Constructor for class cn.hutool.db.handler.PageResultHandler
-
构造
结果集根据给定的分页对象查询数据库,填充结果
- PageUtil - Class in cn.hutool.core.util
-
分页工具类
- PageUtil() - Constructor for class cn.hutool.core.util.PageUtil
-
- Pair<K,V> - Class in cn.hutool.core.lang
-
键值对对象,只能在构造时传入键值
- Pair(K, V) - Constructor for class cn.hutool.core.lang.Pair
-
构造
- PairConverter - Class in cn.hutool.core.convert.impl
-
- PairConverter(Type) - Constructor for class cn.hutool.core.convert.impl.PairConverter
-
构造,Pair的key和value泛型类型自动获取
- PairConverter(Type, Type, Type) - Constructor for class cn.hutool.core.convert.impl.PairConverter
-
构造
- palSize - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- parallelStream() - Method in class cn.hutool.core.lang.Tuple
-
将元组转成并行流
- ParameterizedTypeImpl - Class in cn.hutool.core.lang
-
- ParameterizedTypeImpl(Type[], Type, Type) - Constructor for class cn.hutool.core.lang.ParameterizedTypeImpl
-
构造
- parse(CharSequence, boolean, DateParser) - Static method in class cn.hutool.core.date.CalendarUtil
-
- parse(CharSequence, DateFormat) - Static method in class cn.hutool.core.date.DateUtil
-
构建DateTime对象
- parse(CharSequence, DateParser) - Static method in class cn.hutool.core.date.DateUtil
-
构建DateTime对象
- parse(CharSequence, DateParser, boolean) - Static method in class cn.hutool.core.date.DateUtil
-
构建DateTime对象
- parse(CharSequence, DateTimeFormatter) - Static method in class cn.hutool.core.date.DateUtil
-
构建DateTime对象
- parse(CharSequence, String) - Static method in class cn.hutool.core.date.DateUtil
-
将特定格式的日期转换为Date对象
- parse(CharSequence, String, Locale) - Static method in class cn.hutool.core.date.DateUtil
-
将特定格式的日期转换为Date对象
- parse(String, String...) - Static method in class cn.hutool.core.date.DateUtil
-
通过给定的日期格式解析日期时间字符串。
- parse(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
将日期字符串转换为
DateTime
对象,格式:
yyyy-MM-dd HH:mm:ss
yyyy/MM/dd HH:mm:ss
yyyy.MM.dd HH:mm:ss
yyyy年MM月dd日 HH时mm分ss秒
yyyy-MM-dd
yyyy/MM/dd
yyyy.MM.dd
HH:mm:ss
HH时mm分ss秒
yyyy-MM-dd HH:mm
yyyy-MM-dd HH:mm:ss.SSS
yyyy-MM-dd HH:mm:ss.SSSSSS
yyyyMMddHHmmss
yyyyMMddHHmmssSSS
yyyyMMdd
EEE, dd MMM yyyy HH:mm:ss z
EEE MMM dd HH:mm:ss zzz yyyy
yyyy-MM-dd'T'HH:mm:ss'Z'
yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
yyyy-MM-dd'T'HH:mm:ssZ
yyyy-MM-dd'T'HH:mm:ss.SSSZ
- parse(String) - Method in interface cn.hutool.core.date.format.DateParser
-
- parse(String, ParsePosition) - Method in interface cn.hutool.core.date.format.DateParser
-
- parse(String, ParsePosition, Calendar) - Method in interface cn.hutool.core.date.format.DateParser
-
根据给定格式更新
Calendar
Upon success, the ParsePosition index is updated to indicate how much of the source text was consumed.
- parse(String) - Method in class cn.hutool.core.date.format.FastDateFormat
-
- parse(String, ParsePosition) - Method in class cn.hutool.core.date.format.FastDateFormat
-
- parse(String, ParsePosition, Calendar) - Method in class cn.hutool.core.date.format.FastDateFormat
-
- parse(String) - Method in class cn.hutool.core.date.format.FastDateParser
-
- parse(String, ParsePosition) - Method in class cn.hutool.core.date.format.FastDateParser
-
- parse(String, ParsePosition, Calendar) - Method in class cn.hutool.core.date.format.FastDateParser
-
- parse(CharSequence, String) - Static method in class cn.hutool.core.date.format.GlobalCustomFormat
-
使用自定义格式解析日期
- parse(CharSequence) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- parse(CharSequence, DateTimeFormatter) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- parse(CharSequence, String) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- parse(CharSequence) - Static method in class cn.hutool.core.io.unit.DataSize
-
获取指定数据大小文本对应的DataSize对象,如果无单位指定,默认获取
DataUnit.BYTES
例如:
"12KB" -- parses as "12 kilobytes"
"5MB" -- parses as "5 megabytes"
"20" -- parses as "20 bytes"
- parse(CharSequence, DataUnit) - Static method in class cn.hutool.core.io.unit.DataSize
-
Obtain a DataSize from a text string such as
12MB
using
the specified default
DataUnit
if no unit is specified.
- parse(String) - Static method in class cn.hutool.core.io.unit.DataSizeUtil
-
解析数据大小字符串,转换为bytes大小
- parse(T) - Static method in class cn.hutool.core.lang.Dict
-
将PO对象转为Dict
- parse(TreeNode<T>, Tree<T>) - Method in class cn.hutool.core.lang.tree.parser.DefaultNodeParser
-
- parse(T, Tree<E>) - Method in interface cn.hutool.core.lang.tree.parser.NodeParser
-
- parse(CharSequence, Charset) - Method in class cn.hutool.core.net.url.UrlPath
-
解析path
- parse(String, Charset) - Method in class cn.hutool.core.net.url.UrlQuery
-
解析URL中的查询字符串
- parse(String, Charset, boolean) - Method in class cn.hutool.core.net.url.UrlQuery
-
解析URL中的查询字符串
- parse(Reader) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
- parse(String) - Static method in class cn.hutool.core.util.CharsetUtil
-
解析字符串编码为Charset对象,解析失败返回系统默认编码
- parse(String, Charset) - Static method in class cn.hutool.core.util.CharsetUtil
-
解析字符串编码为Charset对象,解析失败返回默认编码
- parse(String) - Method in class cn.hutool.cron.pattern.parser.PartParser
-
- parse(String) - Static method in class cn.hutool.cron.pattern.parser.PatternParser
-
解析表达式到匹配列表中
- parse(T) - Static method in class cn.hutool.db.ActiveEntity
-
将PO对象转为Entity
- parse(T, boolean, boolean) - Static method in class cn.hutool.db.ActiveEntity
-
将PO对象转为ActiveEntity
- parse(T) - Static method in class cn.hutool.db.Entity
-
将PO对象转为Entity
- parse(T, boolean, boolean) - Static method in class cn.hutool.db.Entity
-
将PO对象转为Entity
- parse(String, Object) - Static method in class cn.hutool.db.sql.Condition
-
解析为Condition
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.analysis.AnalysisEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.ansj.AnsjEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.hanlp.HanLPEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.jcseg.JcsegEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.jieba.JiebaEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.mmseg.MmsegEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.mynlp.MynlpEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.word.WordEngine
-
- parse(CharSequence) - Method in interface cn.hutool.extra.tokenizer.TokenizerEngine
-
文本分词处理接口,通过实现此接口完成分词,产生分词结果
- parse(String) - Static method in class cn.hutool.http.useragent.UserAgentParser
-
解析User-Agent
- parse(String) - Static method in class cn.hutool.http.useragent.UserAgentUtil
-
解析User-Agent
- parse(T) - Method in interface cn.hutool.json.JSONBeanParser
-
value转Bean
通过实现此接口,将JSON中的值填充到当前对象的字段值中,即对象自行实现JSON反序列化逻辑
- parse(String) - Method in class cn.hutool.json.JSONSupport
-
JSON String转Bean
- parse(JSON) - Method in class cn.hutool.json.JSONSupport
-
JSON转Bean
- parse(Object) - Static method in class cn.hutool.json.JSONUtil
-
转换对象为JSON,如果用户不配置JSONConfig,则JSON的有序与否与传入对象有关。
- parse(Object, JSONConfig) - Static method in class cn.hutool.json.JSONUtil
-
转换对象为JSON,如果用户不配置JSONConfig,则JSON的有序与否与传入对象有关。
- parse(String, Charset) - Method in class cn.hutool.jwt.Claims
-
解析JWT JSON
- parse(String) - Method in class cn.hutool.jwt.JWT
-
解析JWT内容
- parse(XSSFReader) - Static method in class cn.hutool.poi.excel.sax.SheetRidReader
-
从XSSFReader
中解析sheet名、sheet id等相关信息
- parseAddress(String, Charset) - Static method in class cn.hutool.extra.mail.InternalMailUtil
-
将一个地址字符串解析为多个地址
地址间使用" "、","、";"分隔
- parseAddress(String, Charset) - Static method in class cn.hutool.extra.mail.JakartaInternalMailUtil
-
将一个地址字符串解析为多个地址
地址间使用" "、","、";"分隔
- parseAddressFromStrs(String[], Charset) - Static method in class cn.hutool.extra.mail.InternalMailUtil
-
将多个字符串邮件地址转为InternetAddress
列表
单个字符串地址可以是多个地址合并的字符串
- parseAddressFromStrs(String[], Charset) - Static method in class cn.hutool.extra.mail.JakartaInternalMailUtil
-
将多个字符串邮件地址转为InternetAddress
列表
单个字符串地址可以是多个地址合并的字符串
- parseArray(String) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONArray
- parseArray(Object) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONArray
- parseArray(Object, JSONConfig) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONArray
- parseArray(Object, boolean) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONArray
- parseBean(T) - Method in class cn.hutool.core.lang.Dict
-
将值对象转换为Dict
类名会被当作表名,小写第一个字母
- parseBean(T, boolean, boolean) - Method in class cn.hutool.core.lang.Dict
-
将值对象转换为Dict
类名会被当作表名,小写第一个字母
- parseBean(T) - Method in class cn.hutool.db.ActiveEntity
-
- parseBean(T, boolean, boolean) - Method in class cn.hutool.db.ActiveEntity
-
- parseBean(T) - Method in class cn.hutool.db.Entity
-
将值对象转换为Entity
类名会被当作表名,小写第一个字母
- parseBean(T, boolean, boolean) - Method in class cn.hutool.db.Entity
-
将值对象转换为Entity
类名会被当作表名,小写第一个字母
- parseByPatterns(String, String...) - Static method in class cn.hutool.core.date.CalendarUtil
-
通过给定的日期格式解析日期时间字符串。
- parseByPatterns(String, Locale, String...) - Static method in class cn.hutool.core.date.CalendarUtil
-
通过给定的日期格式解析日期时间字符串。
- parseByPatterns(String, Locale, boolean, String...) - Static method in class cn.hutool.core.date.CalendarUtil
-
通过给定的日期格式解析日期时间字符串。
- ParseConfig - Class in cn.hutool.json.xml
-
XML解析为JSON的可选选项
参考:https://github.com/stleary/JSON-java/blob/master/src/main/java/org/json/ParserConfiguration.java
- ParseConfig() - Constructor for class cn.hutool.json.xml.ParseConfig
-
- parseCookies(String) - Static method in class cn.hutool.core.net.NetUtil
-
解析Cookie信息
- parseCST(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
- parseDate(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
解析日期字符串,忽略时分秒,支持的格式包括:
yyyy-MM-dd
yyyy/MM/dd
yyyy.MM.dd
yyyy年MM月dd日
- parseDate(CharSequence) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
解析日期时间字符串为
LocalDate
,仅支持yyyy-MM-dd'T'HH:mm:ss格式,例如:2007-12-03T10:15:30
- parseDate(CharSequence, DateTimeFormatter) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- parseDate(CharSequence, String) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- parseDateTime(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
解析日期时间字符串,格式支持:
yyyy-MM-dd HH:mm:ss
yyyy/MM/dd HH:mm:ss
yyyy.MM.dd HH:mm:ss
yyyy年MM月dd日 HH:mm:ss
- parseDouble(String) - Static method in class cn.hutool.core.util.NumberUtil
-
解析转换数字字符串为long型数字,规则如下:
1、0开头的忽略开头的0
2、空串返回0
3、其它情况按照10进制转换
4、.123形式返回0.123(按照小于0的小数对待)
- parseDouble(String, Double) - Static method in class cn.hutool.core.util.NumberUtil
-
解析转换数字字符串为
Double
规则如下:
1、0开头的忽略开头的0
2、空串返回0
3、其它情况按照10进制转换
4、.123形式返回0.123(按照小于0的小数对待)
- parseFirstAddress(String, Charset) - Static method in class cn.hutool.extra.mail.InternalMailUtil
-
解析第一个地址
- parseFirstAddress(String, Charset) - Static method in class cn.hutool.extra.mail.JakartaInternalMailUtil
-
解析第一个地址
- parseFloat(String) - Static method in class cn.hutool.core.util.NumberUtil
-
解析转换数字字符串为long型数字,规则如下:
1、0开头的忽略开头的0
2、空串返回0
3、其它情况按照10进制转换
4、.123形式返回0.123(按照小于0的小数对待)
- parseFloat(String, Float) - Static method in class cn.hutool.core.util.NumberUtil
-
解析转换数字字符串为
Float
规则如下:
1、0开头的忽略开头的0
2、空串返回0
3、其它情况按照10进制转换
4、.123形式返回0.123(按照小于0的小数对待)
- parseFromXml(String) - Static method in class cn.hutool.json.JSONUtil
-
XML字符串转为JSONObject
- parseInt(String) - Static method in class cn.hutool.core.util.NumberUtil
-
解析转换数字字符串为int型数字,规则如下:
1、0x开头的视为16进制数字
2、0开头的忽略开头的0
3、其它情况按照10进制转换
4、空串返回0
5、.123形式返回0(按照小于0的小数对待)
6、123.56截取小数点之前的数字,忽略小数部分
- parseInt(String, Integer) - Static method in class cn.hutool.core.util.NumberUtil
-
解析转换数字字符串为
Integer
规则如下:
1、0x开头的视为16进制数字
2、0开头的忽略开头的0
3、其它情况按照10进制转换
4、空串返回0
5、.123形式返回0(按照小于0的小数对待)
6、123.56截取小数点之前的数字,忽略小数部分
7、解析失败返回默认值
- parseJSONObject(JSONObject, String, boolean) - Static method in class cn.hutool.json.xml.JSONXMLParser
-
转换XML为JSONObject
转换过程中一些信息可能会丢失,JSON中无法区分节点和属性,相同的节点将被处理为JSONArray。
- parseJSONObject(JSONObject, String, ParseConfig) - Static method in class cn.hutool.json.xml.JSONXMLParser
-
转换XML为JSONObject
转换过程中一些信息可能会丢失,JSON中无法区分节点和属性,相同的节点将被处理为JSONArray。
- parseLocalDateTime(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
构建LocalDateTime对象
格式:yyyy-MM-dd HH:mm:ss
- parseLocalDateTime(CharSequence, String) - Static method in class cn.hutool.core.date.DateUtil
-
构建LocalDateTime对象
- parseLong(String) - Static method in class cn.hutool.core.util.NumberUtil
-
解析转换数字字符串为long型数字,规则如下:
1、0x开头的视为16进制数字
2、0开头的忽略开头的0
3、空串返回0
4、其它情况按照10进制转换
5、.123形式返回0(按照小于0的小数对待)
6、123.56截取小数点之前的数字,忽略小数部分
- parseLong(String, Long) - Static method in class cn.hutool.core.util.NumberUtil
-
解析转换数字字符串为
Long
规则如下:
1、0x开头的视为16进制数字
2、0开头的忽略开头的0
3、其它情况按照10进制转换
4、空串返回0
5、.123形式返回0(按照小于0的小数对待)
6、123.56截取小数点之前的数字,忽略小数部分
7、解析失败返回默认值
- parseMultipart(UploadSetting) - Method in class cn.hutool.http.server.HttpServerRequest
-
获得multipart/form-data 表单内容
包括文件和普通表单数据
在同一次请求中,此方法只能被执行一次!
- parseNumber(String) - Static method in class cn.hutool.core.util.NumberUtil
-
将指定字符串转换为
Number
对象
此方法不支持科学计数法
需要注意的是,在不同Locale下,数字的表示形式也是不同的,例如:
德国、荷兰、比利时、丹麦、意大利、罗马尼亚和欧洲大多地区使用`,`区分小数
也就是说,在这些国家地区,1.20表示120,而非1.2。
- parseNumber(String, Number) - Static method in class cn.hutool.core.util.NumberUtil
-
- parseObj(String) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONObject对象
- parseObj(Object) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONObject对象
此方法会忽略空值,但是对JSON字符串不影响
- parseObj(Object, JSONConfig) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONObject对象
此方法会忽略空值,但是对JSON字符串不影响
- parseObj(Object, boolean) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONObject对象
- parseObj(Object, boolean, boolean) - Static method in class cn.hutool.json.JSONUtil
-
- parseObject(String) - Method in interface cn.hutool.core.date.format.DateParser
-
- parseObject(String, ParsePosition) - Method in interface cn.hutool.core.date.format.DateParser
-
- parseObject(String, ParsePosition) - Method in class cn.hutool.core.date.format.FastDateFormat
-
- parsePattern() - Method in class cn.hutool.core.date.format.FastDatePrinter
-
Returns a list of Rules given a pattern.
- parseRequestStream(InputStream, Charset) - Method in class cn.hutool.core.net.multipart.MultipartFormData
-
提取上传的文件和表单数据
- parseRFC2822(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
解析RFC2822时间,格式:
EEE MMM dd HH:mm:ss z yyyy(例如:Wed Aug 01 00:00:00 CST 2012)
- parseTime(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
解析时间,格式HH:mm:ss,日期部分默认为1970-01-01
- parseTimeToday(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
解析时间,格式HH:mm 或 HH:mm:ss,日期默认为今天
- parseTo(JSONObject, Filter<MutablePair<String, Object>>) - Method in class cn.hutool.json.JSONParser
-
- parseTo(JSONArray, Filter<Mutable<Object>>) - Method in class cn.hutool.json.JSONParser
-
- parseToken(String, int[]) - Method in class cn.hutool.core.date.format.FastDatePrinter
-
Performs the parsing of tokens.
- parseToken(String) - Static method in class cn.hutool.jwt.JWTUtil
-
解析JWT Token
- parseUTC(String) - Static method in class cn.hutool.core.date.DateUtil
-
解析UTC时间,格式:
yyyy-MM-dd'T'HH:mm:ss'Z'
yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
yyyy-MM-dd'T'HH:mm:ssZ
yyyy-MM-dd'T'HH:mm:ss.SSSZ
yyyy-MM-dd'T'HH:mm:ss+0800
yyyy-MM-dd'T'HH:mm:ss+08:00
- parseWithUnderlineCase(T) - Static method in class cn.hutool.db.ActiveEntity
-
将PO对象转为ActiveEntity,并采用下划线法转换字段
- parseWithUnderlineCase(T) - Static method in class cn.hutool.db.Entity
-
将PO对象转为Entity,并采用下划线法转换字段
- parseXml(String) - Static method in class cn.hutool.core.util.XmlUtil
-
将String类型的XML转换为XML文档
- Part - Enum in cn.hutool.cron.pattern
-
表达式各个部分的枚举,用于限定在表达式中的位置和规则(如最小值和最大值)
Enum.ordinal()
表示此部分在表达式中的位置,如0表示秒
表达式各个部分的枚举位置为:
0 1 2 3 4 5 6
[SECOND] MINUTE HOUR DAY_OF_MONTH MONTH DAY_OF_WEEK [YEAR]
- partition(List<T>, int) - Static method in class cn.hutool.core.collection.ListUtil
-
通过传入分区长度,将指定列表分区为不同的块,每块区域的长度相同(最后一块可能小于长度)
分区是在原List的基础上进行的,返回的分区是不可变的抽象列表,原列表元素变更,分区中元素也会变更。
- Partition<T> - Class in cn.hutool.core.collection
-
列表分区或分段
通过传入分区长度,将指定列表分区为不同的块,每块区域的长度相同(最后一块可能小于长度)
分区是在原List的基础上进行的,返回的分区是不可变的抽象列表,原列表元素变更,分区中元素也会变更。
- Partition(List<T>, int) - Constructor for class cn.hutool.core.collection.Partition
-
列表分区
- partition(Map<K, V>, int) - Static method in class cn.hutool.core.map.MapUtil
-
将一个Map按照固定大小拆分成多个子Map
- PartitionIter<T> - Class in cn.hutool.core.collection
-
分批迭代工具,可以分批处理数据
比如调用其他客户的接口,传入的入参有限,需要分批
比如mysql/oracle用in语句查询,超过1000可以分批
比如数据库取出游标,可以把游标里的数据一批一批处理
- PartitionIter(Iterator<T>, int) - Constructor for class cn.hutool.core.collection.PartitionIter
-
创建分组对象
- partitionSize - Variable in class cn.hutool.core.collection.PartitionIter
-
实际每批大小
- PartMatcher - Interface in cn.hutool.cron.pattern.matcher
-
表达式中的某个位置部分匹配器
用于匹配日期位中对应数字是否匹配
- PartParser - Class in cn.hutool.cron.pattern.parser
-
- PartParser(Part) - Constructor for class cn.hutool.cron.pattern.parser.PartParser
-
构造
- partValue(int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
把给定的总数平均分成N份,返回每份的个数
当除以分数有余数时每份+1
- partValue(int, int, boolean) - Static method in class cn.hutool.core.util.NumberUtil
-
把给定的总数平均分成N份,返回每份的个数
如果isPlusOneWhenHasRem为true,则当除以分数有余数时每份+1,否则丢弃余数部分
- PassAuth - Class in cn.hutool.core.net
-
- PassAuth(String, char[]) - Constructor for class cn.hutool.core.net.PassAuth
-
构造
- passCurrentRow() - Method in class cn.hutool.poi.excel.ExcelWriter
-
跳过当前行
- passRows(int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
跳过指定行数
- PasswdStrength - Class in cn.hutool.core.text
-
检测密码强度
来自:https://github.com/venshine/CheckPasswordStrength
- PasswdStrength() - Constructor for class cn.hutool.core.text.PasswdStrength
-
- PasswdStrength.CHAR_TYPE - Enum in cn.hutool.core.text
-
字符类型枚举
- PasswdStrength.PASSWD_LEVEL - Enum in cn.hutool.core.text
-
密码等级枚举
- password(String) - Static method in class cn.hutool.core.util.DesensitizedUtil
-
【密码】密码的全部字符都用*代替,比如:******
- patch(String) - Static method in class cn.hutool.http.HttpRequest
-
PATCH请求
- PATH - Static variable in class cn.hutool.core.net.RFC3986
-
path = segment / "/"
- PATH_FILE_PRE - Static variable in class cn.hutool.core.io.FileUtil
-
当Path为文件形式时, path会加入一个表示文件的前缀
- PATH_SEGMENT - Static variable in class cn.hutool.core.net.URLEncoder
-
Deprecated.
URL的Path的每一个Segment URLEncoder
默认的编码器针对URI路径编码,定义如下:
pchar = unreserved / pct-encoded / sub-delims / ":"(非空segment不包含:) / "@"
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
sub-delims = "!"
- PATH_SEPARATOR - Static variable in class cn.hutool.core.io.FileUtil
-
多个PATH之间的分隔符
在Unix和Linux下 是':'
; 在Windows下是 ';'
- PATH_SEPARATOR - Static variable in interface cn.hutool.system.SystemPropsKeys
-
路径分隔符(在 UNIX 系统中是“:”)
- PATH_SEPARATOR - Static variable in class cn.hutool.system.SystemUtil
-
路径分隔符(在 UNIX 系统中是“:”)的KEY
- PathConverter - Class in cn.hutool.core.convert.impl
-
字符串转换器
- PathConverter() - Constructor for class cn.hutool.core.convert.impl.PathConverter
-
- pathEndsWith(File, String) - Static method in class cn.hutool.core.io.FileUtil
-
判断文件路径是否有指定后缀,忽略大小写
常用语判断扩展名
- pathEquals(File, File) - Static method in class cn.hutool.core.io.FileUtil
-
文件路径是否相同
取两个文件的绝对路径比较,在Windows下忽略大小写,在Linux下不忽略。
- PathMover - Class in cn.hutool.core.io.file
-
文件移动封装
- PathMover(Path, Path, CopyOption[]) - Constructor for class cn.hutool.core.io.file.PathMover
-
构造
- PathUtil - Class in cn.hutool.core.io.file
-
NIO中Path对象操作封装
- PathUtil() - Constructor for class cn.hutool.core.io.file.PathUtil
-
- pattern - Variable in class cn.hutool.core.date.format.AbstractDateBasic
-
The pattern
- PatternFinder - Class in cn.hutool.core.text.finder
-
正则查找器
通过传入正则表达式,查找指定字符串中匹配正则的开始和结束位置
- PatternFinder(String, boolean) - Constructor for class cn.hutool.core.text.finder.PatternFinder
-
构造
- PatternFinder(Pattern) - Constructor for class cn.hutool.core.text.finder.PatternFinder
-
构造
- PatternMatcher - Class in cn.hutool.cron.pattern.matcher
-
单一表达式的匹配器,匹配器由7个
PartMatcher
组成,分别是:
0 1 2 3 4 5 6
SECOND MINUTE HOUR DAY_OF_MONTH MONTH DAY_OF_WEEK YEAR
- PatternMatcher(PartMatcher, PartMatcher, PartMatcher, PartMatcher, PartMatcher, PartMatcher, PartMatcher) - Constructor for class cn.hutool.cron.pattern.matcher.PatternMatcher
-
构造
- PatternParser - Class in cn.hutool.cron.pattern.parser
-
- PatternParser() - Constructor for class cn.hutool.cron.pattern.parser.PatternParser
-
- patternParts - Variable in class cn.hutool.core.bean.BeanPath
-
- PatternPool - Class in cn.hutool.core.lang
-
- PatternPool() - Constructor for class cn.hutool.core.lang.PatternPool
-
- pbkdf2(char[], byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
PBKDF2加密密码
- PBKDF2 - Class in cn.hutool.crypto.symmetric
-
PBKDF2应用一个伪随机函数以导出密钥,PBKDF2简单而言就是将salted hash进行多次重复计算。
- PBKDF2() - Constructor for class cn.hutool.crypto.symmetric.PBKDF2
-
构造,算法PBKDF2WithHmacSHA1,盐长度16,密文长度512,迭代次数1000
- PBKDF2(String, int, int) - Constructor for class cn.hutool.crypto.symmetric.PBKDF2
-
构造
- PCHAR - Static variable in class cn.hutool.core.net.RFC3986
-
pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
- peek(Consumer<T>) - Method in class cn.hutool.core.lang.Opt
-
- peeks(Consumer<T>...) - Method in class cn.hutool.core.lang.Opt
-
- PemUtil - Class in cn.hutool.crypto
-
PEM(Privacy Enhanced Mail)格式相关工具类。
- PemUtil() - Constructor for class cn.hutool.crypto.PemUtil
-
- PercentCodec - Class in cn.hutool.core.codec
-
百分号编码(Percent-encoding), 也称作URL编码(URL encoding)。
- PercentCodec() - Constructor for class cn.hutool.core.codec.PercentCodec
-
构造
[a-zA-Z0-9]默认不被编码
- PercentCodec(BitSet) - Constructor for class cn.hutool.core.codec.PercentCodec
-
构造
- PeriodConverter - Class in cn.hutool.core.convert.impl
-
- PeriodConverter() - Constructor for class cn.hutool.core.convert.impl.PeriodConverter
-
- PhoenixDialect - Class in cn.hutool.db.dialect.impl
-
Phoenix数据库方言
- PhoenixDialect() - Constructor for class cn.hutool.db.dialect.impl.PhoenixDialect
-
- PhoneUtil - Class in cn.hutool.core.util
-
电话号码工具类,包括:
手机号码
400、800号码
座机号码
- PhoneUtil() - Constructor for class cn.hutool.core.util.PhoneUtil
-
- PI - Static variable in class cn.hutool.core.util.CoordinateUtil
-
坐标转换参数:π
- PicType - Enum in cn.hutool.poi.word
-
Word中的图片类型
- Pid - Enum in cn.hutool.core.lang
-
- ping(String) - Static method in class cn.hutool.core.net.NetUtil
-
检测IP地址是否能ping通
- ping(String, int) - Static method in class cn.hutool.core.net.NetUtil
-
检测IP地址是否能ping通
- Pinyin4jEngine - Class in cn.hutool.extra.pinyin.engine.pinyin4j
-
封装了Pinyin4j的引擎。
- Pinyin4jEngine() - Constructor for class cn.hutool.extra.pinyin.engine.pinyin4j.Pinyin4jEngine
-
构造
- Pinyin4jEngine(HanyuPinyinOutputFormat) - Constructor for class cn.hutool.extra.pinyin.engine.pinyin4j.Pinyin4jEngine
-
构造
- PinyinComparator - Class in cn.hutool.core.comparator
-
按照GBK拼音顺序对给定的汉字字符串排序
- PinyinComparator() - Constructor for class cn.hutool.core.comparator.PinyinComparator
-
构造
- PinyinEngine - Interface in cn.hutool.extra.pinyin
-
拼音引擎接口,具体的拼音实现通过实现此接口,完成具体实现功能
- PinyinException - Exception in cn.hutool.extra.pinyin
-
模板异常
- PinyinException(Throwable) - Constructor for exception cn.hutool.extra.pinyin.PinyinException
-
- PinyinException(String) - Constructor for exception cn.hutool.extra.pinyin.PinyinException
-
- PinyinException(String, Object...) - Constructor for exception cn.hutool.extra.pinyin.PinyinException
-
- PinyinException(String, Throwable) - Constructor for exception cn.hutool.extra.pinyin.PinyinException
-
- PinyinException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.extra.pinyin.PinyinException
-
- PinyinException(Throwable, String, Object...) - Constructor for exception cn.hutool.extra.pinyin.PinyinException
-
- PinyinFactory - Class in cn.hutool.extra.pinyin.engine
-
简单拼音引擎工厂,用于根据用户引入的拼音库jar,自动创建对应的拼音引擎对象
- PinyinFactory() - Constructor for class cn.hutool.extra.pinyin.engine.PinyinFactory
-
- PinyinUtil - Class in cn.hutool.extra.pinyin
-
拼音工具类,封装了TinyPinyin、JPinyin、Pinyin4j,通过SPI自动识别。
- PinyinUtil() - Constructor for class cn.hutool.extra.pinyin.PinyinUtil
-
- pixelAspect - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- pixels - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- pixels - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- pixelStack - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- PJWFilter - Class in cn.hutool.bloomfilter.filter
-
- PJWFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.PJWFilter
-
- PJWFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.PJWFilter
-
- pjwHash(String) - Static method in class cn.hutool.core.util.HashUtil
-
PJW算法
- PLATE_NUMBER - Static variable in class cn.hutool.core.lang.PatternPool
-
中国车牌号码(兼容新能源车牌)
- PLATE_NUMBER - Static variable in interface cn.hutool.core.lang.RegexPool
-
中国车牌号码(兼容新能源车牌)
- PLATE_NUMBER - Static variable in class cn.hutool.core.lang.Validator
-
中国车牌号码
- Platform - Class in cn.hutool.http.useragent
-
平台对象
- Platform(String, String) - Constructor for class cn.hutool.http.useragent.Platform
-
构造
- platforms - Static variable in class cn.hutool.http.useragent.Platform
-
支持的平台类型
- PoiChecker - Class in cn.hutool.poi
-
POI引入检查器
- PoiChecker() - Constructor for class cn.hutool.poi.PoiChecker
-
- POIException - Exception in cn.hutool.poi.exceptions
-
POI异常
- POIException(Throwable) - Constructor for exception cn.hutool.poi.exceptions.POIException
-
- POIException(String) - Constructor for exception cn.hutool.poi.exceptions.POIException
-
- POIException(String, Object...) - Constructor for exception cn.hutool.poi.exceptions.POIException
-
- POIException(String, Throwable) - Constructor for exception cn.hutool.poi.exceptions.POIException
-
- POIException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.poi.exceptions.POIException
-
- POIException(Throwable, String, Object...) - Constructor for exception cn.hutool.poi.exceptions.POIException
-
- PooledConnection - Class in cn.hutool.db.ds.pooled
-
池化
- PooledConnection(PooledDataSource) - Constructor for class cn.hutool.db.ds.pooled.PooledConnection
-
构造
- PooledConnection(PooledDataSource, Connection) - Constructor for class cn.hutool.db.ds.pooled.PooledConnection
-
- PooledDataSource - Class in cn.hutool.db.ds.pooled
-
池化数据源
- PooledDataSource() - Constructor for class cn.hutool.db.ds.pooled.PooledDataSource
-
构造,读取默认的配置文件和默认分组
- PooledDataSource(String) - Constructor for class cn.hutool.db.ds.pooled.PooledDataSource
-
构造,读取默认的配置文件
- PooledDataSource(DbSetting, String) - Constructor for class cn.hutool.db.ds.pooled.PooledDataSource
-
构造
- PooledDataSource(DbConfig) - Constructor for class cn.hutool.db.ds.pooled.PooledDataSource
-
构造
- PooledDSFactory - Class in cn.hutool.db.ds.pooled
-
Hutool自身实现的池化数据源工厂类
- PooledDSFactory() - Constructor for class cn.hutool.db.ds.pooled.PooledDSFactory
-
- PooledDSFactory(Setting) - Constructor for class cn.hutool.db.ds.pooled.PooledDSFactory
-
- popPart(Stack<T>, int) - Static method in class cn.hutool.core.collection.CollUtil
-
切取部分数据
切取后的栈将减少这些元素
- popPart(Deque<T>, int) - Static method in class cn.hutool.core.collection.CollUtil
-
切取部分数据
切取后的栈将减少这些元素
- PORT_RANGE_MAX - Static variable in class cn.hutool.core.net.NetUtil
-
默认最大端口,65535
- PORT_RANGE_MIN - Static variable in class cn.hutool.core.net.NetUtil
-
默认最小端口,1024
- post(String) - Static method in class cn.hutool.http.HttpRequest
-
POST请求
- post(String, Map<String, Object>) - Static method in class cn.hutool.http.HttpUtil
-
发送post请求
- post(String, Map<String, Object>, int) - Static method in class cn.hutool.http.HttpUtil
-
发送post请求
- post(String, String) - Static method in class cn.hutool.http.HttpUtil
-
发送post请求
请求体body参数支持两种类型:
1.
- post(String, String, int) - Static method in class cn.hutool.http.HttpUtil
-
发送post请求
请求体body参数支持两种类型:
1.
- PostgresqlDialect - Class in cn.hutool.db.dialect.impl
-
Postgree方言
- PostgresqlDialect() - Constructor for class cn.hutool.db.dialect.impl.PostgresqlDialect
-
构造
- postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class cn.hutool.extra.spring.SpringUtil
-
- postProcessors - Variable in class cn.hutool.core.annotation.AbstractAnnotationSynthesizer
-
合成注解属性处理器
- postVisitDirectory(Path, IOException) - Method in class cn.hutool.core.io.file.visitor.DelVisitor
-
访问目录结束后删除目录,当执行此方法时,子文件或目录都已访问(删除)完毕
理论上当执行到此方法时,目录下已经被清空了
- pow(Number, int) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的幂运算
- pow(BigDecimal, int) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的幂运算
如果n为负数,则返回1/a的-n次方,默认四舍五入
- prefix - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- prepareCall(String) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareCall(String, int, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareCall(String, int, int, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareCall(Connection, String, Object...) - Static method in class cn.hutool.db.StatementUtil
-
- prepareStatement(String) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareStatement(String, int, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareStatement(String, int, int, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareStatement(String, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareStatement(String, int[]) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareStatement(String, String[]) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareStatement(Connection, SqlBuilder) - Static method in class cn.hutool.db.StatementUtil
-
- prepareStatement(Connection, String, Collection<Object>) - Static method in class cn.hutool.db.StatementUtil
-
- prepareStatement(Connection, String, Object...) - Static method in class cn.hutool.db.StatementUtil
-
- prepareStatement(boolean, Connection, String, Object...) - Static method in class cn.hutool.db.StatementUtil
-
- prepareStatementForBatch(Connection, String, Object[]...) - Static method in class cn.hutool.db.StatementUtil
-
- prepareStatementForBatch(Connection, String, Iterable<Object[]>) - Static method in class cn.hutool.db.StatementUtil
-
- prepareStatementForBatch(Connection, String, Iterable<String>, Entity...) - Static method in class cn.hutool.db.StatementUtil
-
- prependIfMissing(CharSequence, CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
如果给定字符串不是以给定的一个或多个字符串为开头,则在首部添加起始字符串
不忽略大小写
- prependIfMissing(CharSequence, CharSequence, boolean, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
如果给定字符串不是以给定的一个或多个字符串为开头,则在首部添加起始字符串
- prependIfMissingIgnoreCase(CharSequence, CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
如果给定字符串不是以给定的一个或多个字符串为开头,则在首部添加起始字符串
忽略大小写
- pressImage(Image, int, int, float) - Method in class cn.hutool.core.img.Img
-
给图片添加图片水印
- pressImage(Image, Rectangle, float) - Method in class cn.hutool.core.img.Img
-
给图片添加图片水印
- pressImage(File, File, Image, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
- pressImage(InputStream, OutputStream, Image, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(ImageInputStream, ImageOutputStream, Image, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(Image, File, Image, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(Image, OutputStream, Image, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(Image, ImageOutputStream, Image, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(Image, Image, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(Image, Image, Rectangle, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressText(String, Color, Font, int, int, float) - Method in class cn.hutool.core.img.Img
-
给图片添加文字水印
此方法只在给定位置写出一个水印字符串
- pressText(String, Color, Font, Point, float) - Method in class cn.hutool.core.img.Img
-
给图片添加文字水印
此方法只在给定位置写出一个水印字符串
- pressText(File, File, String, Color, Font, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加文字水印
- pressText(InputStream, OutputStream, String, Color, Font, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressText(ImageInputStream, ImageOutputStream, String, Color, Font, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressText(Image, File, String, Color, Font, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressText(Image, OutputStream, String, Color, Font, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressText(Image, ImageOutputStream, String, Color, Font, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressText(Image, String, Color, Font, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressTextFull(String, Color, Font, int, int, float) - Method in class cn.hutool.core.img.Img
-
给图片添加全屏文字水印
- prettyPrint() - Method in class cn.hutool.core.date.StopWatch
-
生成所有任务的一个任务花费时间表,单位纳秒
- prettyPrint(TimeUnit) - Method in class cn.hutool.core.date.StopWatch
-
生成所有任务的一个任务花费时间表
- prev - Variable in class cn.hutool.cron.timingwheel.TimerTask
-
上一个节点
- preVisitDirectory(Path, BasicFileAttributes) - Method in class cn.hutool.core.compress.ZipCopyVisitor
-
- preVisitDirectory(Path, BasicFileAttributes) - Method in class cn.hutool.core.io.file.visitor.CopyVisitor
-
- preVisitDirectory(Path, BasicFileAttributes) - Method in class cn.hutool.core.io.file.visitor.MoveVisitor
-
- primaryKeyField - Variable in class cn.hutool.db.DaoTemplate
-
本表的主键字段,请在子类中覆盖或构造方法中指定,默认为id
- PRIME1 - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- PRIME2 - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- PRIME3 - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- PRIME4 - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- PRIMITIVE_WRAPPER_MAP - Static variable in enum cn.hutool.core.convert.BasicType
-
原始类型为Key,包装类型为Value,例如: int.class =》 Integer.class.
- PrimitiveArrayUtil - Class in cn.hutool.core.util
-
原始类型数组工具类
- PrimitiveArrayUtil() - Constructor for class cn.hutool.core.util.PrimitiveArrayUtil
-
- PrimitiveConverter - Class in cn.hutool.core.convert.impl
-
原始类型转换器
支持类型为:
byte
short
int
long
float
double
char
boolean
- PrimitiveConverter(Class<?>) - Constructor for class cn.hutool.core.convert.impl.PrimitiveConverter
-
构造
- print(Object) - Static method in class cn.hutool.core.lang.Console
-
同 System.out.print()方法,打印控制台日志
- print(Object, Object...) - Static method in class cn.hutool.core.lang.Console
-
同 System.out.println()方法,打印控制台日志
如果传入打印对象为
Throwable
对象,那么同时打印堆栈
- print(String, Object...) - Static method in class cn.hutool.core.lang.Console
-
同 System.out.print()方法,打印控制台日志
- print() - Method in class cn.hutool.core.lang.ConsoleTable
-
打印到控制台
- print(File) - Static method in class cn.hutool.core.swing.DesktopUtil
-
使用关联应用程序的打印命令, 用本机桌面打印设备来打印文件
- printAllUtils() - Static method in class cn.hutool.Hutool
-
控制台打印所有工具类
- printProgress(char, int) - Static method in class cn.hutool.core.lang.Console
-
打印进度条
- printProgress(char, int, double) - Static method in class cn.hutool.core.lang.Console
-
打印进度条
- privateKey - Variable in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
私钥
- process(SynthesizedAnnotation, AnnotationSynthesizer) - Method in class cn.hutool.core.annotation.AbstractLinkAnnotationPostProcessor
-
- process(SynthesizedAnnotation, AnnotationSynthesizer) - Method in class cn.hutool.core.annotation.AliasAnnotationPostProcessor
-
- process(SynthesizedAnnotation, AnnotationSynthesizer) - Method in interface cn.hutool.core.annotation.SynthesizedAnnotationPostProcessor
-
给定指定被合成注解与其所属的合成注解聚合器实例,经过处理后返回最终
- process() - Method in class cn.hutool.core.img.gif.NeuQuant
-
- process(FoundWord) - Method in interface cn.hutool.dfa.SensitiveProcessor
-
敏感词过滤处理
- process(T) - Method in interface cn.hutool.http.HttpInterceptor
-
处理请求
- processLinkedAttribute(AnnotationSynthesizer, Link, SynthesizedAnnotation, AnnotationAttribute, SynthesizedAnnotation, AnnotationAttribute) - Method in class cn.hutool.core.annotation.AbstractLinkAnnotationPostProcessor
-
对关联的合成注解对象及其关联属性的处理
- processLinkedAttribute(AnnotationSynthesizer, Link, SynthesizedAnnotation, AnnotationAttribute, SynthesizedAnnotation, AnnotationAttribute) - Method in class cn.hutool.core.annotation.AliasLinkAnnotationPostProcessor
-
- processLinkedAttribute(AnnotationSynthesizer, Link, SynthesizedAnnotation, AnnotationAttribute, SynthesizedAnnotation, AnnotationAttribute) - Method in class cn.hutool.core.annotation.MirrorLinkAnnotationPostProcessor
-
- processMultiple(int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
可以用于计算双色球、大乐透注数的方法
比如大乐透35选5可以这样调用processMultiple(7,5); 就是数学中的:C75=7*6/2*1
- processRecord(Record) - Method in class cn.hutool.poi.excel.sax.Excel03SaxReader
-
HSSFListener 监听方法,处理 Record
- processStream(MultipartRequestInputStream) - Method in class cn.hutool.core.net.multipart.UploadFile
-
处理上传表单流,提取出文件
- processTypes() - Method in class cn.hutool.core.annotation.AbstractLinkAnnotationPostProcessor
-
- processTypes() - Method in class cn.hutool.core.annotation.AliasLinkAnnotationPostProcessor
-
- processTypes() - Method in class cn.hutool.core.annotation.MirrorLinkAnnotationPostProcessor
-
- Profile - Class in cn.hutool.setting.profile
-
Profile可以让我们定义一系列的配置信息,然后指定其激活条件。
- Profile() - Constructor for class cn.hutool.setting.profile.Profile
-
默认构造,环境使用默认的:default,编码UTF-8,不使用变量
- Profile(String) - Constructor for class cn.hutool.setting.profile.Profile
-
构造,编码UTF-8,不使用变量
- Profile(String, Charset, boolean) - Constructor for class cn.hutool.setting.profile.Profile
-
构造
- progress - Variable in class cn.hutool.core.io.copy.IoCopier
-
进度条
- progress(long, long) - Method in interface cn.hutool.core.io.StreamProgress
-
进行中
- PropDesc - Class in cn.hutool.core.bean
-
属性描述,包括了字段、getter、setter和相应的方法执行
- PropDesc(Field, Method, Method) - Constructor for class cn.hutool.core.bean.PropDesc
-
构造
Getter和Setter方法设置为默认可访问
- PropertyComparator<T> - Class in cn.hutool.core.comparator
-
Bean属性排序器
支持读取Bean多层次下的属性
- PropertyComparator(String) - Constructor for class cn.hutool.core.comparator.PropertyComparator
-
构造
- PropertyComparator(String, boolean) - Constructor for class cn.hutool.core.comparator.PropertyComparator
-
构造
- PropertyComparator(String, boolean, boolean) - Constructor for class cn.hutool.core.comparator.PropertyComparator
-
构造
- PropIgnore - Annotation Type in cn.hutool.core.annotation
-
属性忽略注解,使用此注解的字段等会被忽略,主要用于Bean拷贝、Bean转Map等
此注解应用于字段时,忽略读取和设置属性值,应用于setXXX方法忽略设置值,应用于getXXX忽略读取值
- Props - Class in cn.hutool.setting.dialect
-
Properties文件读取封装类
- Props() - Constructor for class cn.hutool.setting.dialect.Props
-
构造
- Props(String) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,使用相对于Class文件根目录的相对路径
- Props(String, String) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,使用相对于Class文件根目录的相对路径
- Props(String, Charset) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,使用相对于Class文件根目录的相对路径
- Props(File) - Constructor for class cn.hutool.setting.dialect.Props
-
构造
- Props(File, String) - Constructor for class cn.hutool.setting.dialect.Props
-
构造
- Props(File, Charset) - Constructor for class cn.hutool.setting.dialect.Props
-
构造
- Props(String, Class<?>) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,相对于classes读取文件
- Props(String, Class<?>, String) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,相对于classes读取文件
- Props(String, Class<?>, Charset) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,相对于classes读取文件
- Props(URL) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,使用URL读取
- Props(URL, String) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,使用URL读取
- Props(URL, Charset) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,使用URL读取
- Props(Properties) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,使用URL读取
- PropsUtil - Class in cn.hutool.setting.dialect
-
Props工具类
提供静态方法获取配置文件
- PropsUtil() - Constructor for class cn.hutool.setting.dialect.PropsUtil
-
- Protocol<T> - Interface in cn.hutool.socket.protocol
-
协议接口
通过实现此接口完成消息的编码和解码
所有Socket使用相同协议对象,类成员变量和对象成员变量易造成并发读写问题。
- ProviderFactory - Class in cn.hutool.crypto
-
Provider对象生产工厂类
1.
- proxy(T, Aspect) - Method in class cn.hutool.aop.proxy.CglibProxyFactory
-
- proxy(T, Aspect) - Method in class cn.hutool.aop.proxy.JdkProxyFactory
-
- proxy(T, Class<? extends Aspect>) - Method in class cn.hutool.aop.proxy.ProxyFactory
-
创建代理
- proxy(T, Aspect) - Method in class cn.hutool.aop.proxy.ProxyFactory
-
创建代理
- proxy(T, Aspect) - Method in class cn.hutool.aop.proxy.SpringCglibProxyFactory
-
- proxy(T, Class<? extends Aspect>) - Static method in class cn.hutool.aop.ProxyUtil
-
使用切面代理对象
- proxy(T, Aspect) - Static method in class cn.hutool.aop.ProxyUtil
-
使用切面代理对象
- proxyAuth(String) - Method in class cn.hutool.http.HttpRequest
-
验证,简单插入Authorization头
- ProxyFactory - Class in cn.hutool.aop.proxy
-
代理工厂
根据用户引入代理库的不同,产生不同的代理对象
- ProxyFactory() - Constructor for class cn.hutool.aop.proxy.ProxyFactory
-
- ProxySocketFactory - Class in cn.hutool.core.net
-
代理Socket工厂,用于创建代理Socket
来自commons-net的DefaultSocketFactory
- ProxySocketFactory(Proxy) - Constructor for class cn.hutool.core.net.ProxySocketFactory
-
构造
- ProxyUtil - Class in cn.hutool.aop
-
代理工具类
- ProxyUtil() - Constructor for class cn.hutool.aop.ProxyUtil
-
- prune() - Method in interface cn.hutool.cache.Cache
-
从缓存中清理过期对象,清理策略取决于具体实现
- prune() - Method in class cn.hutool.cache.impl.NoCache
-
- prune() - Method in class cn.hutool.cache.impl.ReentrantCache
-
- prune() - Method in class cn.hutool.cache.impl.StampedCache
-
- pruneCache() - Method in class cn.hutool.cache.impl.AbstractCache
-
清理实现
子类实现此方法时无需加锁
- pruneCache() - Method in class cn.hutool.cache.impl.FIFOCache
-
先进先出的清理策略
先遍历缓存清理过期的缓存对象,如果清理后还是满的,则删除第一个缓存对象
- pruneCache() - Method in class cn.hutool.cache.impl.LFUCache
-
清理过期对象。
- pruneCache() - Method in class cn.hutool.cache.impl.LRUCache
-
只清理超时对象,LRU的实现会交给LinkedHashMap
- pruneCache() - Method in class cn.hutool.cache.impl.TimedCache
-
清理过期对象
- psForCount(Connection, Query) - Method in interface cn.hutool.db.dialect.Dialect
-
- psForCount(Connection, SqlBuilder) - Method in interface cn.hutool.db.dialect.Dialect
-
- psForDelete(Connection, Query) - Method in interface cn.hutool.db.dialect.Dialect
-
- psForDelete(Connection, Query) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- psForFind(Connection, Query) - Method in interface cn.hutool.db.dialect.Dialect
-
- psForFind(Connection, Query) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- psForInsert(Connection, Entity) - Method in interface cn.hutool.db.dialect.Dialect
-
- psForInsert(Connection, Entity) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- psForInsertBatch(Connection, Entity...) - Method in interface cn.hutool.db.dialect.Dialect
-
构建用于批量插入的PreparedStatement
用户实现需按照数据库方言格式,将
Entity
转换为带有占位符的SQL语句及参数列表
- psForInsertBatch(Connection, Entity...) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- psForPage(Connection, Query) - Method in interface cn.hutool.db.dialect.Dialect
-
- psForPage(Connection, SqlBuilder, Page) - Method in interface cn.hutool.db.dialect.Dialect
-
- psForPage(Connection, Query) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- psForPage(Connection, SqlBuilder, Page) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- psForUpdate(Connection, Entity, Query) - Method in interface cn.hutool.db.dialect.Dialect
-
- psForUpdate(Connection, Entity, Query) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- psForUpdate(Connection, Entity, Query) - Method in class cn.hutool.db.dialect.impl.PhoenixDialect
-
- psForUpsert(Connection, Entity, String...) - Method in interface cn.hutool.db.dialect.Dialect
-
- psForUpsert(Connection, Entity, String...) - Method in class cn.hutool.db.dialect.impl.DmDialect
-
- psForUpsert(Connection, Entity, String...) - Method in class cn.hutool.db.dialect.impl.H2Dialect
-
- psForUpsert(Connection, Entity, String...) - Method in class cn.hutool.db.dialect.impl.MysqlDialect
-
构建用于upsert的
PreparedStatement
MySQL通过主键方式实现Upsert,故keys无效,生成SQL语法为:
INSERT INTO demo(a,b,c) values(?
- psForUpsert(Connection, Entity, String...) - Method in class cn.hutool.db.dialect.impl.PhoenixDialect
-
- psForUpsert(Connection, Entity, String...) - Method in class cn.hutool.db.dialect.impl.PostgresqlDialect
-
- publicKey - Variable in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
公钥
- publishEvent(ApplicationEvent) - Static method in class cn.hutool.extra.spring.SpringUtil
-
发布事件
- publishEvent(Object) - Static method in class cn.hutool.extra.spring.SpringUtil
-
发布事件
Spring 4.2+ 版本事件可以不再是ApplicationEvent
的子类
- PUNY_CODE_PREFIX - Static variable in class cn.hutool.core.codec.PunyCode
-
- PunyCode - Class in cn.hutool.core.codec
-
Punycode是一个根据RFC 3492标准而制定的编码系统,主要用于把域名从地方语言所采用的Unicode编码转换成为可用于DNS系统的编码
参考:https://blog.csdn.net/a19881029/article/details/18262671
- PunyCode() - Constructor for class cn.hutool.core.codec.PunyCode
-
- PURE_DATE_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
-
- PURE_DATE_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
-
- PURE_DATE_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
-
标准日期格式:yyyyMMdd
- PURE_DATETIME_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
-
- PURE_DATETIME_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
-
- PURE_DATETIME_MS_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
-
- PURE_DATETIME_MS_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
-
- PURE_DATETIME_MS_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
-
标准日期格式:yyyyMMddHHmmssSSS
- PURE_DATETIME_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
-
标准日期格式:yyyyMMddHHmmss
- PURE_TIME_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
-
- PURE_TIME_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
-
- PURE_TIME_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
-
标准日期格式:HHmmss
- put(K, V) - Method in interface cn.hutool.cache.Cache
-
将对象加入到缓存,使用默认失效时长
- put(K, V, long) - Method in interface cn.hutool.cache.Cache
-
- put(K, V) - Method in class cn.hutool.cache.impl.AbstractCache
-
- put(K, V) - Method in class cn.hutool.cache.impl.NoCache
-
- put(K, V, long) - Method in class cn.hutool.cache.impl.NoCache
-
- put(K, V, long) - Method in class cn.hutool.cache.impl.ReentrantCache
-
- put(K, V, long) - Method in class cn.hutool.cache.impl.StampedCache
-
- put(String, Object) - Method in class cn.hutool.core.lang.Dict
-
- put(K, V) - Method in class cn.hutool.core.lang.SimpleCache
-
放入缓存
- put(Object) - Static method in class cn.hutool.core.lang.Singleton
-
将已有对象放入单例中,其Class做为键
- put(String, Object) - Static method in class cn.hutool.core.lang.Singleton
-
将已有对象放入单例中,key做为键
- put(K, V) - Method in class cn.hutool.core.map.BiMap
-
- put(K, TreeEntry<K, V>) - Method in interface cn.hutool.core.map.ForestMap
-
添加一个节点,效果等同于 putNode(key, node.getValue())
若key对应节点不存在,则以传入的键值创建一个新的节点;
若key对应节点存在,则将该节点的值替换为node
指定的值;
- put(K, V) - Method in class cn.hutool.core.map.MapBuilder
-
链式Map创建
- put(boolean, K, V) - Method in class cn.hutool.core.map.MapBuilder
-
链式Map创建
- put(boolean, K, Supplier<V>) - Method in class cn.hutool.core.map.MapBuilder
-
链式Map创建
- put(Object, Object) - Method in class cn.hutool.core.map.MapProxy
-
- put(K, V) - Method in class cn.hutool.core.map.MapWrapper
-
- put(R, C, V) - Method in class cn.hutool.core.map.multi.RowKeyTable
-
- put(R, C, V) - Method in interface cn.hutool.core.map.multi.Table
-
为表格指定行列赋值,如果不存在,创建之,存在则替换之,返回原值
- put(K, V) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- put(K, V) - Method in class cn.hutool.core.map.TableMap
-
- put(K, V) - Method in class cn.hutool.core.map.TransMap
-
- put(String, Session) - Method in enum cn.hutool.extra.ssh.JschSessionPool
-
加入Session
- put(String, String) - Method in class cn.hutool.extra.ssh.Sftp
-
将本地文件上传到目标服务器,目标文件名为destPath,若destPath为目录,则目标文件名将与srcFilePath文件名相同。
- put(String, String, Sftp.Mode) - Method in class cn.hutool.extra.ssh.Sftp
-
将本地文件上传到目标服务器,目标文件名为destPath,若destPath为目录,则目标文件名将与srcFilePath文件名相同。
- put(String, String, SftpProgressMonitor, Sftp.Mode) - Method in class cn.hutool.extra.ssh.Sftp
-
将本地文件上传到目标服务器,目标文件名为destPath,若destPath为目录,则目标文件名将与srcFilePath文件名相同。
- put(InputStream, String, SftpProgressMonitor, Sftp.Mode) - Method in class cn.hutool.extra.ssh.Sftp
-
将本地数据流上传到目标服务器,目标文件名为destPath,目标必须为文件
- put(String) - Static method in class cn.hutool.http.HttpRequest
-
PUT请求
- put(Object) - Method in class cn.hutool.json.JSONArray
-
Append an object value.
- put(int, Object) - Method in class cn.hutool.json.JSONArray
-
加入或者替换JSONArray中指定Index的值,如果index大于JSONArray的长度,将在指定index设置值,之前的位置填充JSONNull.Null
- put(String, Object) - Method in class cn.hutool.json.JSONObject
-
- put(Type, JSONArraySerializer<?>) - Static method in class cn.hutool.json.serialize.GlobalSerializeMapping
-
加入自定义的序列化器
- put(Type, JSONObjectSerializer<?>) - Static method in class cn.hutool.json.serialize.GlobalSerializeMapping
-
加入自定义的序列化器
- put(Type, JSONDeserializer<?>) - Static method in class cn.hutool.json.serialize.GlobalSerializeMapping
-
加入自定义的反序列化器
- put(String, Object) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- put(String, Object) - Method in class cn.hutool.script.JavaScriptEngine
-
- put(String, String, String) - Method in class cn.hutool.setting.GroupedMap
-
将键值对加入到对应分组中
- put(String, String) - Method in class cn.hutool.setting.Setting
-
将指定键值对加入到默认分组(空分组)中
- putAll(Map<? extends String, ?>) - Method in class cn.hutool.core.lang.Dict
-
- putAll(Map<? extends K, ? extends V>) - Method in class cn.hutool.core.map.BiMap
-
- putAll(Map<? extends K, ? extends TreeEntry<K, V>>) - Method in interface cn.hutool.core.map.ForestMap
-
批量添加节点,若节点具有父节点或者子节点,则一并在当前实例中引入该关系
- putAll(Map<K, V>) - Method in class cn.hutool.core.map.MapBuilder
-
链式Map创建
- putAll(Map<?, ?>) - Method in class cn.hutool.core.map.MapProxy
-
- putAll(Map<? extends K, ? extends V>) - Method in class cn.hutool.core.map.MapWrapper
-
- putAll(Table<? extends R, ? extends C, ? extends V>) - Method in interface cn.hutool.core.map.multi.Table
-
批量加入
- putAll(Map<? extends K, ? extends V>) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- putAll(Map<? extends K, ? extends V>) - Method in class cn.hutool.core.map.TableMap
-
- putAll(Map<? extends K, ? extends V>) - Method in class cn.hutool.core.map.TransMap
-
- putAll(Map<? extends String, ?>) - Method in class cn.hutool.json.JSONObject
-
- putAll(Map<String, ?>) - Method in class cn.hutool.jwt.Claims
-
加入多个Claims属性
- putAll(String, Map<? extends String, ? extends String>) - Method in class cn.hutool.setting.GroupedMap
-
加入多个键值对到某个分组下
- putAll(String, Map<? extends String, ? extends String>) - Method in class cn.hutool.setting.Setting
-
加入多个键值对到某个分组下
- putAll(Map<? extends String, ? extends String>) - Method in class cn.hutool.setting.Setting
-
将键值对Map加入默认分组(空分组)中
- putAllNode(C, Function<V, K>, Function<V, K>, boolean) - Method in interface cn.hutool.core.map.ForestMap
-
批量添加节点
- putAllValues(Map<? extends K, ? extends Collection<V>>) - Method in class cn.hutool.core.map.multi.AbsCollValueMap
-
放入所有value
- putByGroup(String, String, String) - Method in class cn.hutool.setting.Setting
-
将键值对加入到对应分组中
- putByPath(String, Object) - Method in interface cn.hutool.json.JSON
-
设置表达式指定位置(或filed对应)的值
若表达式指向一个JSONArray则设置其坐标对应位置的值,若指向JSONObject则put对应key的值
注意:如果为JSONArray,设置值下标小于其长度,将替换原有值,否则追加新值
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
表达式栗子:
persion
persion.name
persons[3]
person.friends[5].name
- putByPath(String, Object) - Method in class cn.hutool.json.JSONArray
-
- putByPath(String, Object) - Method in class cn.hutool.json.JSONObject
-
- putByPath(JSON, String, Object) - Static method in class cn.hutool.json.JSONUtil
-
设置表达式指定位置(或filed对应)的值
若表达式指向一个JSONArray则设置其坐标对应位置的值,若指向JSONObject则put对应key的值
注意:如果为JSONArray,则设置值得下标不能大于已有JSONArray的长度
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
表达式栗子:
persion
persion.name
persons[3]
person.friends[5].name
- putCustom(Type, Class<? extends Converter<?>>) - Method in class cn.hutool.core.convert.ConverterRegistry
-
登记自定义转换器
- putCustom(Type, Converter<?>) - Method in class cn.hutool.core.convert.ConverterRegistry
-
登记自定义转换器
- putDefault(boolean) - Method in enum cn.hutool.http.GlobalHeaders
-
加入默认的头部信息
- putDeserializer(Type, JSONDeserializer<?>) - Static method in class cn.hutool.json.JSONUtil
-
加入自定义的反序列化器
- putExtra(String, Object) - Method in class cn.hutool.core.lang.tree.Tree
-
扩展属性
- putExtra(String, Object) - Method in class cn.hutool.core.lang.tree.TreeBuilder
-
扩展属性
- putFileType(String, String) - Static method in class cn.hutool.core.io.FileTypeUtil
-
增加文件类型映射
如果已经存在将覆盖之前的映射
- putFormatter(String, Function<Date, String>) - Static method in class cn.hutool.core.date.format.GlobalCustomFormat
-
加入日期格式化规则
- putIfAbsent(String, Object) - Method in class cn.hutool.core.lang.Dict
-
- putIfAbsent(K, V) - Method in class cn.hutool.core.map.BiMap
-
- putIfAbsent(K, V) - Method in class cn.hutool.core.map.MapWrapper
-
- putIfAbsent(K, V) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- putIfAbsent(K, V) - Method in class cn.hutool.core.map.TransMap
-
- putLinkedNodes(K, V, K, V) - Method in interface cn.hutool.core.map.ForestMap
-
同时添加父子节点:
若parentKey
或childKey
对应的节点不存在,则会根据键值创建一个对应的节点;
若parentKey
或childKey
对应的节点存在,则会更新对应节点的值;
该操作等同于:
putNode(parentKey, parentValue);
putNode(childKey, childValue);
linkNodes(parentKey, childKey);
- putLinkedNodes(K, K, V) - Method in interface cn.hutool.core.map.ForestMap
-
添加子节点,并为子节点指定父节点:
若parentKey
或childKey
对应的节点不存在,则会根据键值创建一个对应的节点;
若parentKey
或childKey
对应的节点存在,则会更新对应节点的值;
- putLinkedNodes(K, V, K, V) - Method in class cn.hutool.core.map.LinkedForestMap
-
同时添加父子节点:
若parentKey
或childKey
对应的节点不存在,则会根据键值创建一个对应的节点;
若parentKey
或childKey
对应的节点存在,则会更新对应节点的值;
该操作等同于:
TreeEntry<K, V> parent = putNode(parentKey, parentValue);
TreeEntry<K, V> child = putNode(childKey, childValue);
linkNodes(parentKey, childKey);
- putLinkedNodes(K, K, V) - Method in class cn.hutool.core.map.LinkedForestMap
-
添加子节点,并为子节点指定父节点:
若parentKey
或childKey
对应的节点不存在,则会根据键值创建一个对应的节点;
若parentKey
或childKey
对应的节点存在,则会更新对应节点的值;
- putNode(K, V) - Method in interface cn.hutool.core.map.ForestMap
-
添加一个节点
若key对应节点不存在,则以传入的键值创建一个新的节点;
若key对应节点存在,则将该节点的值替换为node
指定的值;
- putNode(K, V) - Method in class cn.hutool.core.map.LinkedForestMap
-
添加一个节点
若key对应节点不存在,则以传入的键值创建一个新的节点;
若key对应节点存在,则将该节点的值替换为node
指定的值;
- putOnce(String, Object) - Method in class cn.hutool.json.JSONObject
-
一次性Put 键值对,如果key已经存在抛出异常,如果键值中有null值,忽略
- putOpt(String, Object) - Method in class cn.hutool.json.JSONObject
-
在键和值都为非空的情况下put到JSONObject中
- putParser(String, Function<CharSequence, Date>) - Static method in class cn.hutool.core.date.format.GlobalCustomFormat
-
加入日期解析规则
- putPropertyDescriptorMap(Class<?>, Map<String, PropertyDescriptor>, boolean) - Method in enum cn.hutool.core.bean.BeanInfoCache
-
加入缓存
- putSerializer(Type, JSONArraySerializer<?>) - Static method in class cn.hutool.json.JSONUtil
-
加入自定义的序列化器
- putSerializer(Type, JSONObjectSerializer<?>) - Static method in class cn.hutool.json.JSONUtil
-
加入自定义的序列化器
- putValue(K, V) - Method in class cn.hutool.core.map.multi.AbsCollValueMap
-
放入Value
如果键对应值列表有值,加入,否则创建一个新列表后加入
- putWithoutLock(K, V, long) - Method in class cn.hutool.cache.impl.AbstractCache
-
加入元素,无锁
- pwd() - Method in class cn.hutool.extra.ftp.AbstractFtp
-
远程当前目录(工作目录)
- pwd() - Method in class cn.hutool.extra.ftp.Ftp
-
远程当前目录
- pwd() - Method in class cn.hutool.extra.ssh.Sftp
-
远程当前目录
- pwd() - Method in class cn.hutool.extra.ssh.SshjSftp
-
- RADBIAS - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- RADBIASSHIFT - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- RADIUS - Static variable in class cn.hutool.core.util.CoordinateUtil
-
地球半径(Krasovsky 1940)
- RADIUSBIAS - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- RADIUSBIASSHIFT - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- RADIUSDEC - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- RADIXS_34 - Static variable in class cn.hutool.core.util.RadixUtil
-
34进制字符串,不包含 IO 字符
对于需要补齐的,自己可以随机填充IO字符
26个字母:abcdefghijklmnopqrstuvwxyz
- RADIXS_59 - Static variable in class cn.hutool.core.util.RadixUtil
-
59进制字符串,不包含 IOl 字符
- RADIXS_SHUFFLE_34 - Static variable in class cn.hutool.core.util.RadixUtil
-
打乱后的34进制
- RADIXS_SHUFFLE_59 - Static variable in class cn.hutool.core.util.RadixUtil
-
打乱后的59进制
- RadixUtil - Class in cn.hutool.core.util
-
进制转换工具类,可以转换为任意进制
把一个十进制整数根据自己定义的进制规则进行转换
from:https://gitee.com/loolly/hutool/pulls/260
主要应用一下情况:
根据ID生成邀请码,并且尽可能的缩短。
- RadixUtil() - Constructor for class cn.hutool.core.util.RadixUtil
-
- radpower - Variable in class cn.hutool.core.img.gif.NeuQuant
-
- rainbow(int, int, int) - Static method in class cn.hutool.core.util.PageUtil
-
- rainbow(int, int) - Static method in class cn.hutool.core.util.PageUtil
-
- RandomAccessAvgPartition<T> - Class in cn.hutool.core.collection
-
列表分区或分段(可随机访问列表)
通过传入分区个数,将指定列表分区为不同的块,每块区域的长度均匀分布(个数差不超过1)
[1,2,3,4] -》 [1,2], [3, 4]
[1,2,3,4] -》 [1,2], [3], [4]
[1,2,3,4] -》 [1], [2], [3], [4]
[1,2,3,4] -》 [1], [2], [3], [4], []
分区是在原List的基础上进行的,返回的分区是不可变的抽象列表,原列表元素变更,分区中元素也会变更。
- RandomAccessAvgPartition(List<T>, int) - Constructor for class cn.hutool.core.collection.RandomAccessAvgPartition
-
列表分区
- RandomAccessPartition<T> - Class in cn.hutool.core.collection
-
列表分区或分段(可随机访问列表)
通过传入分区长度,将指定列表分区为不同的块,每块区域的长度相同(最后一块可能小于长度)
分区是在原List的基础上进行的,返回的分区是不可变的抽象列表,原列表元素变更,分区中元素也会变更。
- RandomAccessPartition(List<T>, int) - Constructor for class cn.hutool.core.collection.RandomAccessPartition
-
构造
- randomBigDecimal() - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数[0, 1)
- randomBigDecimal(BigDecimal) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数 [0,limit)
- randomBigDecimal(BigDecimal, BigDecimal) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomBoolean() - Static method in class cn.hutool.core.util.RandomUtil
-
获得随机Boolean值
- randomBytes(int) - Static method in class cn.hutool.core.util.RandomUtil
-
随机bytes
- randomByWeight(double) - Method in class cn.hutool.core.lang.WeightListRandom
-
按照给定的总权重随机出一个元素
- randomChar() - Static method in class cn.hutool.core.util.RandomUtil
-
随机字母或数字,小写
- randomChar(String) - Static method in class cn.hutool.core.util.RandomUtil
-
随机字符
- randomChinese() - Static method in class cn.hutool.core.util.RandomUtil
-
随机汉字('一'-'鿿')
- randomColor(Color, int) - Static method in class cn.hutool.core.img.ColorUtil
-
生成随机颜色,与指定颜色有一定的区分度
- randomColor() - Static method in class cn.hutool.core.img.ColorUtil
-
生成随机颜色
- randomColor(Random) - Static method in class cn.hutool.core.img.ColorUtil
-
生成随机颜色
- randomColor() - Static method in class cn.hutool.core.img.ImgUtil
-
生成随机颜色
- randomColor(Color, int) - Static method in class cn.hutool.core.img.ImgUtil
-
生成随机颜色,与指定颜色有一定的区分度
- randomColor(Color) - Static method in class cn.hutool.core.img.ImgUtil
-
生成随机颜色,与指定颜色有一定的区分度
- randomColor(Random) - Static method in class cn.hutool.core.img.ImgUtil
-
生成随机颜色
- randomCreditCode() - Static method in class cn.hutool.core.util.CreditCodeUtil
-
获取一个随机的统一社会信用代码
- randomDate(Date, DateField, int, int) - Static method in class cn.hutool.core.util.RandomUtil
-
以给定日期为基准,随机产生一个日期
- randomDay(int, int) - Static method in class cn.hutool.core.util.RandomUtil
-
以当天为基准,随机产生一个日期
- randomDouble(double, double) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomDouble(double, double, int, RoundingMode) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomDouble() - Static method in class cn.hutool.core.util.RandomUtil
-
获得随机数[0, 1)
- randomDouble(int, RoundingMode) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomDouble(double) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数 [0,limit)
- randomDouble(double, int, RoundingMode) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomEle(List<T>) - Static method in class cn.hutool.core.util.RandomUtil
-
随机获得列表中的元素
- randomEle(List<T>, int) - Static method in class cn.hutool.core.util.RandomUtil
-
随机获得列表中的元素
- randomEle(T[]) - Static method in class cn.hutool.core.util.RandomUtil
-
随机获得数组中的元素
- randomEle(T[], int) - Static method in class cn.hutool.core.util.RandomUtil
-
随机获得数组中的元素
- randomEleList(List<T>, int) - Static method in class cn.hutool.core.util.RandomUtil
-
- randomEles(List<T>, int) - Static method in class cn.hutool.core.util.RandomUtil
-
随机获得列表中的一定量元素
- randomEleSet(Collection<T>, int) - Static method in class cn.hutool.core.util.RandomUtil
-
随机获得列表中的一定量的不重复元素,返回Set
- randomFloat() - Static method in class cn.hutool.core.util.RandomUtil
-
获得随机数[0, 1)
- randomFloat(float) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数 [0,limit)
- randomFloat(float, float) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数[min, max)
- RandomGenerator - Class in cn.hutool.captcha.generator
-
随机字符验证码生成器
可以通过传入的基础集合和长度随机生成验证码字符
- RandomGenerator(int) - Constructor for class cn.hutool.captcha.generator.RandomGenerator
-
构造,使用字母+数字做为基础
- RandomGenerator(String, int) - Constructor for class cn.hutool.captcha.generator.RandomGenerator
-
构造
- randomInt() - Static method in class cn.hutool.core.util.RandomUtil
-
获得随机数int值
- randomInt(int) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数 [0,limit)
- randomInt(int, int) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomInt(int, int, boolean, boolean) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomInts(int) - Static method in class cn.hutool.core.util.RandomUtil
-
创建指定长度的随机索引
- randomLong() - Static method in class cn.hutool.core.util.RandomUtil
-
获得随机数
- randomLong(long) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数 [0,limit)
- randomLong(long, long) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数[min, max)
- randomLong(long, long, boolean, boolean) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomNanoId() - Static method in class cn.hutool.core.lang.id.NanoId
-
- randomNanoId(int) - Static method in class cn.hutool.core.lang.id.NanoId
-
生成伪随机的NanoId字符串
- randomNanoId(Random, char[], int) - Static method in class cn.hutool.core.lang.id.NanoId
-
生成伪随机的NanoId字符串
- randomNumber() - Static method in class cn.hutool.core.util.RandomUtil
-
随机数字,数字为0~9单个数字
- randomNumbers(int) - Static method in class cn.hutool.core.util.RandomUtil
-
获得一个只包含数字的字符串
- randomString(int) - Static method in class cn.hutool.core.util.RandomUtil
-
获得一个随机的字符串(只包含数字和字符)
- randomString(String, int) - Static method in class cn.hutool.core.util.RandomUtil
-
获得一个随机的字符串
- randomStringLowerWithoutStr(int, String) - Static method in class cn.hutool.core.util.RandomUtil
-
获得一个随机的字符串(只包含数字和小写字母) 并排除指定字符串
- randomStringUpper(int) - Static method in class cn.hutool.core.util.RandomUtil
-
获得一个随机的字符串(只包含数字和大写字符)
- randomStringWithoutStr(int, String) - Static method in class cn.hutool.core.util.RandomUtil
-
获得一个随机的字符串(只包含数字和字母) 并排除指定字符串
- RandomUtil - Class in cn.hutool.core.util
-
随机工具类
- RandomUtil() - Constructor for class cn.hutool.core.util.RandomUtil
-
- randomUUID() - Static method in class cn.hutool.core.lang.UUID
-
获取类型 4(伪随机生成的)UUID 的静态工厂。
- randomUUID(boolean) - Static method in class cn.hutool.core.lang.UUID
-
获取类型 4(伪随机生成的)UUID 的静态工厂。
- randomUUID() - Static method in class cn.hutool.core.util.IdUtil
-
获取随机UUID
- range(Date, Date, DateField) - Static method in class cn.hutool.core.date.DateUtil
-
创建日期范围生成器
- Range<T> - Class in cn.hutool.core.lang
-
范围生成器。
- Range(T, Range.Stepper<T>) - Constructor for class cn.hutool.core.lang.Range
-
构造
- Range(T, T, Range.Stepper<T>) - Constructor for class cn.hutool.core.lang.Range
-
构造
- Range(T, T, Range.Stepper<T>, boolean, boolean) - Constructor for class cn.hutool.core.lang.Range
-
构造
- range(int) - Static method in class cn.hutool.core.util.NumberUtil
-
从0开始给定范围内的整数列表,步进为1
- range(int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
给定范围内的整数列表,步进为1
- range(int, int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
给定范围内的整数列表
- range(int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
生成一个从0开始的数字列表
- range(int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
生成一个数字列表
自动判定正序反序
- range(int, int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
生成一个数字列表
自动判定正序反序
- Range.Stepper<T> - Interface in cn.hutool.core.lang
-
步进接口,此接口用于实现如何对一个对象按照指定步进增加步进
步进接口可以定义以下逻辑:
1、步进规则,即对象如何做步进
2、步进大小,通过实现此接口,在实现类中定义一个对象属性,可灵活定义步进大小
3、限制range个数,通过实现此接口,在实现类中定义一个对象属性,可灵活定义limit,限制range个数
- rangeConsume(Date, Date, DateField, Consumer<Date>) - Static method in class cn.hutool.core.date.DateUtil
-
按日期范围遍历,执行 consumer
- rangeContains(DateRange, DateRange) - Static method in class cn.hutool.core.date.DateUtil
-
俩个时间区间取交集
- rangeFunc(Date, Date, DateField, Function<Date, T>) - Static method in class cn.hutool.core.date.DateUtil
-
按日期范围遍历,执行 function
- rangeNotContains(DateRange, DateRange) - Static method in class cn.hutool.core.date.DateUtil
-
俩个时间区间取差集(end - start)
- rangeToList(Date, Date, DateField) - Static method in class cn.hutool.core.date.DateUtil
-
根据步进单位获取起始日期时间和结束日期时间的时间区间集合
- rangeToList(Date, Date, DateField, int) - Static method in class cn.hutool.core.date.DateUtil
-
根据步进单位和步进获取起始日期时间和结束日期时间的时间区间集合
- ratio - Variable in class cn.hutool.extra.qrcode.QrConfig
-
二维码中的Logo缩放的比例系数,如5表示长宽最小值的1/5
- raw - Variable in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- rc4(String) - Static method in class cn.hutool.crypto.SecureUtil
-
RC4算法
- RC4 - Class in cn.hutool.crypto.symmetric
-
RC4加密解密算法实现
注意:由于安全问题,已经基本不在HTTPS中使用了
来自:https://github.com/xSAVIKx/RC4-cipher/blob/master/src/main/java/com/github/xsavikx/rc4/RC4.java
- RC4(String) - Constructor for class cn.hutool.crypto.symmetric.RC4
-
构造
- RE_CHINESE - Static variable in class cn.hutool.core.util.ReUtil
-
正则表达式匹配中文汉字
- RE_CHINESES - Static variable in class cn.hutool.core.util.ReUtil
-
正则表达式匹配中文字符串
- RE_HTML_MARK - Static variable in class cn.hutool.http.HtmlUtil
-
- RE_KEYS - Static variable in class cn.hutool.core.util.ReUtil
-
正则中需要被转义的关键字
- RE_SCRIPT - Static variable in class cn.hutool.http.HtmlUtil
-
- read(Consumer<ZipEntry>) - Method in class cn.hutool.core.compress.ZipReader
-
- read(BufferedInputStream) - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads GIF image from stream
- read(InputStream) - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads GIF image from stream
- read(String) - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads GIF file from specified file/URL source
(URL assumed if name contains ":/" or "file:")
- read() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads a single byte from the input stream.
- read(String) - Static method in class cn.hutool.core.img.ImgUtil
-
从文件中读取图片,请使用绝对路径,使用相对路径会相对于ClassPath
- read(File) - Static method in class cn.hutool.core.img.ImgUtil
-
从文件中读取图片
- read(Resource) - Static method in class cn.hutool.core.img.ImgUtil
-
- read(InputStream) - Static method in class cn.hutool.core.img.ImgUtil
-
从流中读取图片
- read(ImageInputStream) - Static method in class cn.hutool.core.img.ImgUtil
-
从图片流中读取图片
- read(URL) - Static method in class cn.hutool.core.img.ImgUtil
-
从URL中读取图片
- read() - Method in class cn.hutool.core.io.BOMInputStream
-
- read(char[], int, int) - Method in class cn.hutool.core.io.BomReader
-
- read(FileReader.ReaderHandler<T>) - Method in class cn.hutool.core.io.file.FileReader
-
按照给定的readerHandler读取文件中的数据
- read(InputStream, String) - Static method in class cn.hutool.core.io.IoUtil
-
- read(InputStream, Charset) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取内容,读取完毕后关闭流
- read(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取内容,读到输出流中,读取完毕后关闭流
- read(InputStream, boolean) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取内容,读到输出流中,读取完毕后可选是否关闭流
- read(Reader) - Static method in class cn.hutool.core.io.IoUtil
-
从Reader中读取String,读取完毕后关闭Reader
- read(Reader, boolean) - Static method in class cn.hutool.core.io.IoUtil
-
- read() - Method in class cn.hutool.core.io.LimitedInputStream
-
- read(byte[], int, int) - Method in class cn.hutool.core.io.LimitedInputStream
-
- read(ReadableByteChannel, Charset) - Static method in class cn.hutool.core.io.NioUtil
-
从流中读取内容,读取完毕后并不关闭流
- read(ReadableByteChannel) - Static method in class cn.hutool.core.io.NioUtil
-
从流中读取内容,读到输出流中
- read(FileChannel, String) - Static method in class cn.hutool.core.io.NioUtil
-
从FileChannel中读取内容,读取完毕后并不关闭Channel
- read(FileChannel, Charset) - Static method in class cn.hutool.core.io.NioUtil
-
从FileChannel中读取内容
- read(File) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
读取CSV文件,默认UTF-8编码
- read(File, Charset) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
读取CSV文件
- read(Path) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
读取CSV文件,默认UTF-8编码
- read(Path, Charset) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
读取CSV文件
- read(Reader) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从Reader中读取CSV数据,读取后关闭Reader
- read(Reader, boolean) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从Reader中读取CSV数据
- read(Reader, Class<T>) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从Reader中读取CSV数据并转换为Bean列表,读取后关闭Reader。
- read(String, Class<T>) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从字符串中读取CSV数据并转换为Bean列表,读取后关闭Reader。
- read(Reader, CsvRowHandler) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从Reader中读取CSV数据,读取后关闭Reader
- read(Reader, boolean, CsvRowHandler) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从Reader中读取CSV数据,读取后关闭Reader
- read() - Method in class cn.hutool.core.text.csv.CsvReader
-
读取CSV文件,此方法只能调用一次
调用此方法的前提是构造中传入文件路径或Reader
- read(CsvRowHandler) - Method in class cn.hutool.core.text.csv.CsvReader
-
读取CSV数据,此方法只能调用一次
调用此方法的前提是构造中传入文件路径或Reader
- read(ZipFile, Consumer<ZipEntry>) - Static method in class cn.hutool.core.util.ZipUtil
-
- read(ZipInputStream, Consumer<ZipEntry>) - Static method in class cn.hutool.core.util.ZipUtil
-
- read() - Method in class cn.hutool.extra.compress.extractor.Seven7EntryInputStream
-
- read() - Method in class cn.hutool.http.HttpInputStream
-
- read(byte[], int, int) - Method in class cn.hutool.http.HttpInputStream
-
- read() - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet的所有行列数据
- read(int) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet
- read(int, int) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet,此方法会把第一行作为标题行,替换标题别名
- read(int, int, boolean) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet
- read(CellHandler) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet,此方法为类流处理方式,当读到指定单元格时,会调用CellEditor接口
用户通过实现此接口,可以更加灵活地处理每个单元格的数据。
- read(int, int, CellHandler) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet,此方法为类流处理方式,当读到指定单元格时,会调用CellEditor接口
用户通过实现此接口,可以更加灵活地处理每个单元格的数据。
- read(int, int, int) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取Excel为Map的列表
Map表示一行,标题为key,单元格内容为value
- read(int, int, Class<T>) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取Excel为Bean的列表
- read(int, int, int, Class<T>) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取Excel为Bean的列表
- read(SheetReader<T>) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取数据为指定类型
- read(Sheet) - Method in class cn.hutool.poi.excel.reader.BeanSheetReader
-
- read(Sheet) - Method in class cn.hutool.poi.excel.reader.ColumnSheetReader
-
- read(Sheet) - Method in class cn.hutool.poi.excel.reader.ListSheetReader
-
- read(Sheet) - Method in class cn.hutool.poi.excel.reader.MapSheetReader
-
- read(Sheet) - Method in interface cn.hutool.poi.excel.reader.SheetReader
-
读取数据
- read(File, String) - Method in class cn.hutool.poi.excel.sax.Excel03SaxReader
-
- read(InputStream, String) - Method in class cn.hutool.poi.excel.sax.Excel03SaxReader
-
- read(POIFSFileSystem, String) - Method in class cn.hutool.poi.excel.sax.Excel03SaxReader
-
读取
- read(File, int) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
- read(File, String) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
- read(InputStream, int) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
- read(InputStream, String) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
- read(OPCPackage, int) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
开始读取Excel,Sheet编号从0开始计数
- read(OPCPackage, String) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
开始读取Excel,Sheet编号从0开始计数
- read(XSSFReader, String) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
开始读取Excel,Sheet编号从0开始计数
- read(File, String) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel
- read(InputStream, String) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel,读取结束后并不关闭流
- read(String) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel,读取所有sheet
- read(File) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel,读取所有sheet
- read(InputStream) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel,读取所有sheet,读取结束后并不关闭流
- read(String, int) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel
- read(String, String) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel
- read(File, int) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel
- read(InputStream, int) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel,读取结束后并不关闭流
- read(XSSFReader) - Method in class cn.hutool.poi.excel.sax.SheetRidReader
-
读取Wordkbook的XML中sheet标签中sheetId和rid的对应关系
- read() - Method in class cn.hutool.socket.aio.AioClient
-
从服务端读取数据
- read() - Method in class cn.hutool.socket.aio.AioSession
-
读取数据到Buffer
- read(CompletionHandler<Integer, AioSession>) - Method in class cn.hutool.socket.aio.AioSession
-
读取数据到Buffer
- readableFileSize() - Method in class cn.hutool.core.io.file.FileWrapper
-
可读的文件大小
- readableFileSize(File) - Static method in class cn.hutool.core.io.FileUtil
-
可读的文件大小
- readableFileSize(long) - Static method in class cn.hutool.core.io.FileUtil
-
- readAll() - Method in class cn.hutool.poi.excel.ExcelReader
-
读取Excel为Map的列表,读取所有行,默认第一行做为标题,数据从第二行开始
Map表示一行,标题为key,单元格内容为value
- readAll(Class<T>) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取Excel为Bean的列表,读取所有行,默认第一行做为标题,数据从第二行开始
- readAsText(Workbook, boolean) - Static method in class cn.hutool.poi.excel.ExcelExtractorUtil
-
读取为文本格式
使用ExcelExtractor
提取Excel内容
- readAsText(boolean) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取为文本格式
使用ExcelExtractor
提取Excel内容
- readBlock() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads next variable length block from input.
- readBoundary() - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
输入流中读取边界
- readBySax(File, ContentHandler) - Static method in class cn.hutool.core.util.XmlUtil
-
- readBySax(Reader, ContentHandler) - Static method in class cn.hutool.core.util.XmlUtil
-
- readBySax(InputStream, ContentHandler) - Static method in class cn.hutool.core.util.XmlUtil
-
- readBySax(InputSource, ContentHandler) - Static method in class cn.hutool.core.util.XmlUtil
-
- readBySax(String, int, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
通过Sax方式读取Excel,同时支持03和07格式
- readBySax(String, String, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
通过Sax方式读取Excel,同时支持03和07格式
- readBySax(File, int, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
通过Sax方式读取Excel,同时支持03和07格式
- readBySax(File, String, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
通过Sax方式读取Excel,同时支持03和07格式
- readBySax(InputStream, int, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
通过Sax方式读取Excel,同时支持03和07格式
- readBySax(InputStream, String, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
通过Sax方式读取Excel,同时支持03和07格式
- readByte() - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
读取byte字节流,在末尾抛出异常
- readBytes(ByteBuffer) - Static method in class cn.hutool.core.io.BufferUtil
-
读取剩余部分bytes
- readBytes(ByteBuffer, int) - Static method in class cn.hutool.core.io.BufferUtil
-
读取指定长度的bytes
如果长度不足,则读取剩余部分,此时buffer必须为读模式
- readBytes(ByteBuffer, int, int) - Static method in class cn.hutool.core.io.BufferUtil
-
读取指定区间的数据
- readBytes() - Method in class cn.hutool.core.io.file.FileReader
-
- readBytes(Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
读取文件的所有内容为byte数组
- readBytes(File) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件所有数据
文件的长度不能超过Integer.MAX_VALUE
- readBytes(String) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件所有数据
文件的长度不能超过Integer.MAX_VALUE
- readBytes(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取bytes,读取完毕后关闭流
- readBytes(InputStream, boolean) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取bytes
- readBytes(InputStream, int) - Static method in class cn.hutool.core.io.IoUtil
-
读取指定长度的byte数组,不关闭流
- readBytes() - Method in class cn.hutool.core.io.resource.BytesResource
-
- readBytes() - Method in class cn.hutool.core.io.resource.CharSequenceResource
-
- readBytes() - Method in class cn.hutool.core.io.resource.MultiResource
-
- readBytes() - Method in interface cn.hutool.core.io.resource.Resource
-
读取资源内容,读取完毕后会关闭流
关闭流并不影响下一次读取
- readBytes(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
读取Classpath下的资源为byte[]
- readCellValue(int, int) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取某个单元格的值
- readCertificate(String, InputStream, char[], String) - Static method in class cn.hutool.crypto.KeyUtil
-
读取Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readCertificate(String, InputStream) - Static method in class cn.hutool.crypto.KeyUtil
-
读取Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readCertificate(String, InputStream, char[], String) - Static method in class cn.hutool.crypto.SecureUtil
-
读取Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readCertificate(String, InputStream) - Static method in class cn.hutool.crypto.SecureUtil
-
读取Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readColorTable(int) - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads color table as 256 RGB integer values
- readColumn(int, int) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet中指定列
- readColumn(int, int, int) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet中指定列
- readContents() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Main file parser.
- readCookieMap(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
-
将cookie封装到Map里面
- readCookieMap(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
将cookie封装到Map里面
- readDataHeader(Charset) - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
从流中读取文件头部信息, 如果达到末尾则返回null
- readDataHeaderString(Charset) - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
读取数据头信息字符串
- ReaderWriterCopier - Class in cn.hutool.core.io.copy
-
- ReaderWriterCopier() - Constructor for class cn.hutool.core.io.copy.ReaderWriterCopier
-
构造
- ReaderWriterCopier(int) - Constructor for class cn.hutool.core.io.copy.ReaderWriterCopier
-
构造
- ReaderWriterCopier(int, long) - Constructor for class cn.hutool.core.io.copy.ReaderWriterCopier
-
构造
- ReaderWriterCopier(int, long, StreamProgress) - Constructor for class cn.hutool.core.io.copy.ReaderWriterCopier
-
构造
- readFrom(InputStream, ContentHandler) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
-
- readFromStr(String) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从字符串中读取CSV数据
- readFromStr(String, CsvRowHandler) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从字符串中读取CSV数据
- readGraphicControlExt() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads Graphics Control Extension values
- ReadHandler - Class in cn.hutool.socket.aio
-
数据读取完成回调,调用Session中相应方法处理消息,单例使用
- ReadHandler() - Constructor for class cn.hutool.socket.aio.ReadHandler
-
- readHeader() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads GIF file header information.
- readHex(InputStream, int, boolean) - Static method in class cn.hutool.core.io.IoUtil
-
读取16进制字符串
- readHex64Lower(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取前64个byte并转换为16进制,字母部分使用小写
- readHex64Upper(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取前64个byte并转换为16进制,字母部分使用大写
- readHex8192Upper(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取前8192个byte并转换为16进制,字母部分使用大写
- readImage() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads next frame image
- readJKSKeyStore(File, char[]) - Static method in class cn.hutool.crypto.KeyUtil
-
读取密钥库(Java Key Store,JKS) KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readJKSKeyStore(InputStream, char[]) - Static method in class cn.hutool.crypto.KeyUtil
-
读取密钥库(Java Key Store,JKS) KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readJKSKeyStore(InputStream, char[]) - Static method in class cn.hutool.crypto.SecureUtil
-
读取密钥库(Java Key Store,JKS) KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readJSON(File, Charset) - Static method in class cn.hutool.json.JSONUtil
-
读取JSON
- readJSONArray(File, Charset) - Static method in class cn.hutool.json.JSONUtil
-
读取JSONArray
- readJSONObject(File, Charset) - Static method in class cn.hutool.json.JSONUtil
-
读取JSONObject
- readKeyStore(String, File, char[]) - Static method in class cn.hutool.crypto.KeyUtil
-
读取KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readKeyStore(String, InputStream, char[]) - Static method in class cn.hutool.crypto.KeyUtil
-
读取KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readKeyStore(String, InputStream, char[]) - Static method in class cn.hutool.crypto.SecureUtil
-
读取KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readLine(ByteBuffer, Charset) - Static method in class cn.hutool.core.io.BufferUtil
-
读取一行,如果buffer中最后一部分并非完整一行,则返回null
支持的换行符如下:
1.
- readLine(RandomAccessFile, Charset, LineHandler) - Static method in class cn.hutool.core.io.FileUtil
-
单行处理文件内容
- readLine(RandomAccessFile, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
单行处理文件内容
- readLines(T) - Method in class cn.hutool.core.io.file.FileReader
-
从文件中读取每一行数据
- readLines(LineHandler) - Method in class cn.hutool.core.io.file.FileReader
-
按照行处理文件内容
- readLines() - Method in class cn.hutool.core.io.file.FileReader
-
从文件中读取每一行数据
- readLines(String, String, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(String, Charset, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, String, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, Charset, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(URL, String, T) - Static method in class cn.hutool.core.io.FileUtil
-
- readLines(URL, Charset, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(URL, String) - Static method in class cn.hutool.core.io.FileUtil
-
- readLines(URL, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(String, String) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(String, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, String) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, Charset, Predicate<String>) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, Charset, LineHandler) - Static method in class cn.hutool.core.io.FileUtil
-
按行处理文件内容
- readLines(RandomAccessFile, Charset, LineHandler) - Static method in class cn.hutool.core.io.FileUtil
-
按行处理文件内容
- readLines(InputStream, String, T) - Static method in class cn.hutool.core.io.IoUtil
-
- readLines(InputStream, Charset, T) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取内容
- readLines(Reader, T) - Static method in class cn.hutool.core.io.IoUtil
-
从Reader中读取内容
- readLines(InputStream, Charset, LineHandler) - Static method in class cn.hutool.core.io.IoUtil
-
按行读取数据,针对每行的数据做处理
- readLines(Reader, LineHandler) - Static method in class cn.hutool.core.io.IoUtil
-
按行读取数据,针对每行的数据做处理
Reader
自带编码定义,因此读取数据的编码跟随其编码。
- readLock() - Method in class cn.hutool.core.thread.lock.NoReadWriteLock
-
- readLSD() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads Logical Screen Descriptor
- readMapList(Reader) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从Reader中读取CSV数据,结果为Map,读取后关闭Reader。
- readNetscapeExt() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads Netscape extenstion to obtain iteration count
- readObj(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取对象,即对象的反序列化
注意!!!
- readObj(InputStream, Class<T>) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取对象,即对象的反序列化,读取后不关闭流
注意!!!
- readObj(ValidateObjectInputStream, Class<T>) - Static method in class cn.hutool.core.io.IoUtil
-
- readPem(InputStream) - Static method in class cn.hutool.crypto.PemUtil
-
从pem流中读取公钥或私钥
- readPemKey(InputStream, char[]) - Static method in class cn.hutool.crypto.OpensslKeyUtil
-
- readPemKey(InputStream) - Static method in class cn.hutool.crypto.PemUtil
-
- readPemObject(InputStream) - Static method in class cn.hutool.crypto.PemUtil
-
读取pem文件中的信息,包括类型、头信息和密钥内容
- readPemObject(Reader) - Static method in class cn.hutool.crypto.PemUtil
-
读取pem文件中的信息,包括类型、头信息和密钥内容
- readPemPrivateKey(InputStream) - Static method in class cn.hutool.crypto.BCUtil
-
读取PEM格式的私钥
- readPemPrivateKey(InputStream) - Static method in class cn.hutool.crypto.PemUtil
-
读取PEM格式的私钥,支持PKCS#8和PKCS#1的ECC格式
- readPemPublicKey(InputStream) - Static method in class cn.hutool.crypto.BCUtil
-
读取PEM格式的公钥
- readPemPublicKey(InputStream) - Static method in class cn.hutool.crypto.PemUtil
-
读取PEM格式的公钥
- readPKCS12KeyStore(File, char[]) - Static method in class cn.hutool.crypto.KeyUtil
-
读取PKCS12 KeyStore文件
KeyStore文件用于数字证书的密钥对保存
- readPKCS12KeyStore(InputStream, char[]) - Static method in class cn.hutool.crypto.KeyUtil
-
读取PKCS12 KeyStore文件
KeyStore文件用于数字证书的密钥对保存
- readPublicKeyFromCert(InputStream) - Static method in class cn.hutool.crypto.KeyUtil
-
读取X.509 Certification文件中的公钥
Certification为证书文件
see: https://www.cnblogs.com/yinliang/p/10115519.html
- readRow(int) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取某一行数据
- readRow(Sheet, int) - Method in class cn.hutool.poi.excel.reader.AbstractSheetReader
-
读取某一行数据
- readRow(Row, CellEditor) - Static method in class cn.hutool.poi.excel.RowUtil
-
读取一行
- readRow(Row, int, int, CellEditor) - Static method in class cn.hutool.poi.excel.RowUtil
-
读取一行
- readShort() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads next 16-bit value, LSB first
- readSm2PemPrivateKey(InputStream) - Static method in class cn.hutool.crypto.PemUtil
-
- readStr(ByteBuffer, Charset) - Static method in class cn.hutool.core.io.BufferUtil
-
读取剩余部分并转为字符串
- readStr(Charset) - Method in class cn.hutool.core.io.resource.BytesResource
-
- readStr(Charset) - Method in class cn.hutool.core.io.resource.CharSequenceResource
-
- readStr(Charset) - Method in class cn.hutool.core.io.resource.MultiResource
-
- readStr(Charset) - Method in interface cn.hutool.core.io.resource.Resource
-
读取资源内容,读取完毕后会关闭流
关闭流并不影响下一次读取
- readStr(String, Charset) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
读取Classpath下的资源为字符串
- readString() - Method in class cn.hutool.core.io.file.FileReader
-
读取文件内容
- readString(File, String) - Static method in class cn.hutool.core.io.FileUtil
-
- readString(File, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件内容
- readString(String, String) - Static method in class cn.hutool.core.io.FileUtil
-
- readString(String, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件内容
- readString(URL, String) - Static method in class cn.hutool.core.io.FileUtil
-
- readString(URL, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件内容
- readString(Charset) - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
读取字节流,直到下一个boundary
- readTo(File) - Method in class cn.hutool.core.compress.ZipReader
-
解压到指定目录中
- readTo(File, Filter<ZipEntry>) - Method in class cn.hutool.core.compress.ZipReader
-
解压到指定目录中
- readUtf8(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取UTF8编码的内容
- readUtf8(FileChannel) - Static method in class cn.hutool.core.io.NioUtil
-
从FileChannel中读取UTF-8编码内容
- readUtf8Lines(String, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行的UTF-8编码数据
- readUtf8Lines(File, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据,数据编码为UTF-8
- readUtf8Lines(URL, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据,编码为UTF-8
- readUtf8Lines(URL) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readUtf8Lines(String) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据,编码为UTF-8
- readUtf8Lines(File) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readUtf8Lines(File, Predicate<String>) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readUtf8Lines(File, LineHandler) - Static method in class cn.hutool.core.io.FileUtil
-
按行处理文件内容,编码为UTF-8
- readUtf8Lines(InputStream, T) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取内容,使用UTF-8编码
- readUtf8Lines(InputStream, LineHandler) - Static method in class cn.hutool.core.io.IoUtil
-
按行读取UTF-8编码数据,针对每行的数据做处理
- readUtf8Str(ByteBuffer) - Static method in class cn.hutool.core.io.BufferUtil
-
读取剩余部分并转为UTF-8编码字符串
- readUtf8Str() - Method in class cn.hutool.core.io.resource.MultiResource
-
- readUtf8Str() - Method in interface cn.hutool.core.io.resource.Resource
-
读取资源内容,读取完毕后会关闭流
关闭流并不影响下一次读取
- readUtf8Str(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
读取Classpath下的资源为字符串,使用UTF-8编码
- readUtf8String(File) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件内容
- readUtf8String(String) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件内容
- readX509Certificate(InputStream, char[], String) - Static method in class cn.hutool.crypto.KeyUtil
-
读取X.509 Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readX509Certificate(InputStream) - Static method in class cn.hutool.crypto.KeyUtil
-
读取X.509 Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readX509Certificate(InputStream, char[], String) - Static method in class cn.hutool.crypto.SecureUtil
-
读取X.509 Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readX509Certificate(InputStream) - Static method in class cn.hutool.crypto.SecureUtil
-
读取X.509 Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readXML(File) - Static method in class cn.hutool.core.util.XmlUtil
-
读取解析XML文件
- readXML(String) - Static method in class cn.hutool.core.util.XmlUtil
-
读取解析XML文件
如果给定内容以“<”开头,表示这是一个XML内容,直接读取,否则按照路径处理
路径可以为相对路径,也可以是绝对路径,相对路径相对于ClassPath
- readXML(InputStream) - Static method in class cn.hutool.core.util.XmlUtil
-
读取解析XML文件
编码在XML中定义
- readXML(Reader) - Static method in class cn.hutool.core.util.XmlUtil
-
读取解析XML文件
- readXML(InputSource) - Static method in class cn.hutool.core.util.XmlUtil
-
读取解析XML文件
编码在XML中定义
- reconnectIfTimeout() - Method in class cn.hutool.extra.ftp.AbstractFtp
-
如果连接超时的话,重新进行连接
- reconnectIfTimeout() - Method in class cn.hutool.extra.ftp.Ftp
-
如果连接超时的话,重新进行连接 经测试,当连接超时时,client.isConnected()仍然返回ture,无法判断是否连接超时 因此,通过发送pwd命令的方式,检查连接是否超时
- reconnectIfTimeout() - Method in class cn.hutool.extra.ssh.Sftp
-
- reconnectIfTimeout() - Method in class cn.hutool.extra.ssh.SshjSftp
-
- recursiveDownloadFolder(String, File) - Method in class cn.hutool.extra.ftp.AbstractFtp
-
递归下载FTP服务器上文件到本地(文件目录和服务器同步), 服务器上有新文件会覆盖本地文件
- recursiveDownloadFolder(String, File) - Method in class cn.hutool.extra.ftp.Ftp
-
递归下载FTP服务器上文件到本地(文件目录和服务器同步)
- recursiveDownloadFolder(String, File) - Method in class cn.hutool.extra.ssh.Sftp
-
递归下载FTP服务器上文件到本地(文件目录和服务器同步)
- recursiveDownloadFolder(String, File) - Method in class cn.hutool.extra.ssh.SshjSftp
-
- REDIS_CONFIG_PATH - Static variable in class cn.hutool.db.nosql.redis.RedisDS
-
默认配置文件
- RedisDS - Class in cn.hutool.db.nosql.redis
-
Jedis数据源
- RedisDS() - Constructor for class cn.hutool.db.nosql.redis.RedisDS
-
构造,使用默认配置文件,默认分组
- RedisDS(String) - Constructor for class cn.hutool.db.nosql.redis.RedisDS
-
构造,使用默认配置文件
- RedisDS(Setting, String) - Constructor for class cn.hutool.db.nosql.redis.RedisDS
-
构造
- reduceListMap() - Static method in class cn.hutool.core.stream.CollectorUtil
-
聚合这种数据类型:Collection<Map<K,V>> => Map<K,List<V>>
其中key相同的value,会累加到List中
- reduceListMap(Supplier<R>) - Static method in class cn.hutool.core.stream.CollectorUtil
-
聚合这种数据类型:Collection<Map<K,V>> => Map<K,List<V>>
其中key相同的value,会累加到List中
- ReentrantCache<K,V> - Class in cn.hutool.cache.impl
-
使用
ReentrantLock
保护的缓存,读写都使用悲观锁完成,主要避免某些Map无法使用读写锁的问题
例如使用了LinkedHashMap的缓存,由于get方法也会改变Map的结构,因此读写必须加互斥锁
- ReentrantCache() - Constructor for class cn.hutool.cache.impl.ReentrantCache
-
- ReferenceConcurrentMap<K,V> - Class in cn.hutool.core.map
-
线程安全的ReferenceMap实现
参考:jdk.management.resource.internal.WeakKeyConcurrentHashMap
- ReferenceConcurrentMap(ConcurrentMap<Reference<K>, V>, ReferenceUtil.ReferenceType) - Constructor for class cn.hutool.core.map.ReferenceConcurrentMap
-
构造
- ReferenceConverter - Class in cn.hutool.core.convert.impl
-
- ReferenceConverter(Class<? extends Reference>) - Constructor for class cn.hutool.core.convert.impl.ReferenceConverter
-
构造
- ReferenceUtil - Class in cn.hutool.core.util
-
- ReferenceUtil() - Constructor for class cn.hutool.core.util.ReferenceUtil
-
- ReferenceUtil.ReferenceType - Enum in cn.hutool.core.util
-
引用类型
- reflectionCompare(Object, Object) - Static method in class cn.hutool.core.builder.CompareToBuilder
-
通过反射比较两个Bean对象,对象字段可以为private。
- reflectionCompare(Object, Object, boolean) - Static method in class cn.hutool.core.builder.CompareToBuilder
-
Compares two Object
s via reflection.
- reflectionCompare(Object, Object, Collection<String>) - Static method in class cn.hutool.core.builder.CompareToBuilder
-
Compares two Object
s via reflection.
- reflectionCompare(Object, Object, String...) - Static method in class cn.hutool.core.builder.CompareToBuilder
-
Compares two Object
s via reflection.
- reflectionCompare(Object, Object, boolean, Class<?>, String...) - Static method in class cn.hutool.core.builder.CompareToBuilder
-
Compares two Object
s via reflection.
- reflectionEquals(Object, Object, Collection<String>) - Static method in class cn.hutool.core.builder.EqualsBuilder
-
反射检查两个对象是否equals,此方法检查对象及其父对象的属性(包括私有属性)是否equals
- reflectionEquals(Object, Object, String...) - Static method in class cn.hutool.core.builder.EqualsBuilder
-
反射检查两个对象是否equals,此方法检查对象及其父对象的属性(包括私有属性)是否equals
- reflectionEquals(Object, Object, boolean) - Static method in class cn.hutool.core.builder.EqualsBuilder
-
This method uses reflection to determine if the two Object
s
are equal.
- reflectionEquals(Object, Object, boolean, Class<?>, String...) - Static method in class cn.hutool.core.builder.EqualsBuilder
-
This method uses reflection to determine if the two Object
s
are equal.
- reflectionHashCode(int, int, Object) - Static method in class cn.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object
.
- reflectionHashCode(int, int, Object, boolean) - Static method in class cn.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object
.
- reflectionHashCode(int, int, T, boolean, Class<? super T>, String...) - Static method in class cn.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object
.
- reflectionHashCode(Object, boolean) - Static method in class cn.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object
.
- reflectionHashCode(Object, Collection<String>) - Static method in class cn.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object
.
- reflectionHashCode(Object, String...) - Static method in class cn.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object
.
- ReflectUtil - Class in cn.hutool.core.util
-
反射工具类
- ReflectUtil() - Constructor for class cn.hutool.core.util.ReflectUtil
-
- refuse(Class<?>...) - Method in class cn.hutool.core.io.ValidateObjectInputStream
-
禁止反序列化的类,用于反序列化验证
- REGEX_NORM - Static variable in class cn.hutool.core.date.DatePattern
-
标准日期时间正则,每个字段支持单个数字或2个数字,包括:
yyyy-MM-dd HH:mm:ss.SSSSSS
yyyy-MM-dd HH:mm:ss.SSS
yyyy-MM-dd HH:mm:ss
yyyy-MM-dd HH:mm
yyyy-MM-dd
- RegexPool - Interface in cn.hutool.core.lang
-
常用正则表达式字符串池
- register(Watchable, WatchService, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
注册Watchable对象到WatchService服务
- registerBean(String, T) - Static method in class cn.hutool.extra.spring.SpringUtil
-
动态向Spring注册Bean
由BeanFactory
实现,通过工具开放API
更新: shadow 2021-07-29 17:20:44 增加自动注入,修复注册bean无法反向注入的问题
- registerChannel(Selector, SelectableChannel, Operation) - Static method in class cn.hutool.socket.nio.NioUtil
-
注册通道的指定操作到指定Selector上
- RegisteredPayload<T extends RegisteredPayload<T>> - Interface in cn.hutool.jwt
-
注册的标准载荷(Payload)声明
- registerPath(Path, int) - Method in class cn.hutool.core.io.watch.WatchServer
-
将指定路径加入到监听中
- rejectedExecution(Runnable, ThreadPoolExecutor) - Method in class cn.hutool.core.thread.BlockPolicy
-
- RejectPolicy - Enum in cn.hutool.core.thread
-
线程拒绝策略枚举
如果设置了maxSize, 当总线程数达到上限, 会调用RejectedExecutionHandler进行处理,此枚举为JDK预定义的几种策略枚举表示
- RelationType - Enum in cn.hutool.core.annotation
-
- release() - Method in class cn.hutool.db.ds.pooled.PooledConnection
-
释放连接
- releaseSavepoint(Savepoint) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- reload() - Method in class cn.hutool.setting.GroupedSet
-
重新加载配置文件
- remove(long) - Method in interface cn.hutool.bloomfilter.bitMap.BitMap
-
移除值
- remove(long) - Method in class cn.hutool.bloomfilter.bitMap.IntMap
-
- remove(long) - Method in class cn.hutool.bloomfilter.bitMap.LongMap
-
- remove(K) - Method in interface cn.hutool.cache.Cache
-
从缓存中移除对象
- remove() - Method in class cn.hutool.cache.impl.CacheObjIterator
-
从缓存中移除没有过期的当前值,此方法不支持
- remove() - Method in class cn.hutool.cache.impl.CacheValuesIterator
-
从缓存中移除没有过期的当前值,不支持此方法
- remove(K) - Method in class cn.hutool.cache.impl.NoCache
-
- remove(K) - Method in class cn.hutool.cache.impl.ReentrantCache
-
- remove(K) - Method in class cn.hutool.cache.impl.StampedCache
-
- remove() - Method in class cn.hutool.core.collection.ArrayIter
-
不允许操作数组元素
- remove(Object) - Method in class cn.hutool.core.collection.ConcurrentHashSet
-
- remove() - Method in class cn.hutool.core.collection.CopiedIter
-
此对象不支持移除元素
- remove() - Method in class cn.hutool.core.collection.EnumerationIter
-
- remove() - Method in class cn.hutool.core.collection.FilterIter
-
- remove() - Method in class cn.hutool.core.collection.IterChain
-
- remove() - Method in class cn.hutool.core.collection.NodeListIter
-
- remove() - Method in class cn.hutool.core.collection.TransIter
-
- remove(Object) - Method in class cn.hutool.core.collection.UniqueKeySet
-
- remove() - Method in class cn.hutool.core.io.resource.MultiResource
-
- remove(T) - Method in class cn.hutool.core.lang.ConsistentHash
-
移除节点的同时移除相应的虚拟节点
- remove(Object) - Method in class cn.hutool.core.lang.Dict
-
- remove(Object, Object) - Method in class cn.hutool.core.lang.Dict
-
- remove(String, int) - Static method in class cn.hutool.core.lang.PatternPool
-
移除缓存
- remove() - Method in class cn.hutool.core.lang.Range
-
- remove(K) - Method in class cn.hutool.core.lang.SimpleCache
-
移除缓存
- remove(Class<?>) - Static method in class cn.hutool.core.lang.Singleton
-
移除指定Singleton对象
- remove(String) - Static method in class cn.hutool.core.lang.Singleton
-
移除指定Singleton对象
- remove(E) - Method in class cn.hutool.core.lang.WeightListRandom
-
移除元素
- remove(Object) - Method in class cn.hutool.core.map.BiMap
-
- remove(Object, Object) - Method in class cn.hutool.core.map.BiMap
-
- remove(Object) - Method in interface cn.hutool.core.map.ForestMap
-
将指定节点从当前
Map
中删除
若存在父节点或子节点,则将其断开其与父节点或子节点的引用关系;
若同时存在父节点或子节点,则会在删除后将让子节点直接成为父节点的子节点,比如:
现有引用关系 a -> b -> c,删除 b 后,将有 a -> c
- remove(Object) - Method in class cn.hutool.core.map.LinkedForestMap
-
将指定节点从当前
Map
中删除
若存在父节点或子节点,则将其断开其与父节点或子节点的引用关系;
若同时存在父节点或子节点,则会在删除后将让子节点直接成为父节点的子节点,比如:
现有引用关系 a -> b -> c,删除 b 后,将有 a -> c
- remove(Object) - Method in class cn.hutool.core.map.MapProxy
-
- remove(Object) - Method in class cn.hutool.core.map.MapWrapper
-
- remove(Object, Object) - Method in class cn.hutool.core.map.MapWrapper
-
- remove(R, C) - Method in class cn.hutool.core.map.multi.RowKeyTable
-
- remove(R, C) - Method in interface cn.hutool.core.map.multi.Table
-
移除指定值
- remove(Object) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- remove(Object, Object) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- remove(Object) - Method in class cn.hutool.core.map.TableMap
-
移除指定的所有键和对应的所有值
- remove(Object, Object) - Method in class cn.hutool.core.map.TableMap
-
- remove(Object) - Method in class cn.hutool.core.map.TransMap
-
- remove(Object, Object) - Method in class cn.hutool.core.map.TransMap
-
- remove(int, int) - Static method in class cn.hutool.core.math.BitStatusUtil
-
删除一个状态
- remove(CharSequence) - Method in class cn.hutool.core.net.url.UrlQuery
-
移除键及对应所有的值
- remove(Object) - Method in class cn.hutool.core.text.csv.CsvRow
-
- remove(int) - Method in class cn.hutool.core.text.csv.CsvRow
-
- remove(T[], int) - Static method in class cn.hutool.core.util.ArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(long[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(int[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(short[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(char[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(byte[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(double[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(float[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(boolean[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(Object, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(String) - Static method in class cn.hutool.cron.CronUtil
-
移除任务
- remove(String) - Method in class cn.hutool.cron.TaskTable
-
移除Task
- remove(Session) - Method in enum cn.hutool.extra.ssh.JschSessionPool
-
移除指定Session
- remove() - Method in class cn.hutool.extra.tokenizer.engine.ansj.AnsjResult
-
- remove() - Method in class cn.hutool.extra.tokenizer.engine.hanlp.HanLPResult
-
- remove() - Method in class cn.hutool.extra.tokenizer.engine.jieba.JiebaResult
-
- remove() - Method in class cn.hutool.extra.tokenizer.engine.mynlp.MynlpResult
-
- remove() - Method in class cn.hutool.extra.tokenizer.engine.word.WordResult
-
- remove(URI, HttpCookie) - Method in class cn.hutool.http.cookie.ThreadLocalCookieStore
-
- remove(int) - Method in class cn.hutool.json.JSONArray
-
- remove(Object) - Method in class cn.hutool.json.JSONArray
-
- remove(String, String) - Method in class cn.hutool.setting.GroupedMap
-
从指定分组中删除指定值
- remove(String, Object) - Method in class cn.hutool.setting.Setting
-
从指定分组中删除指定值
- remove(Object) - Method in class cn.hutool.setting.Setting
-
移除默认分组(空分组)中指定值
- removeAll(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
移除字符串中所有给定字符串
例:removeAll("aa-bb-cc-dd", "-") =》 aabbccdd
- removeAll(CharSequence, char...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去除字符串中指定的多个字符,如有多个则全部去除
- removeAll(Collection<?>) - Method in class cn.hutool.core.text.csv.CsvRow
-
- removeAll() - Method in class cn.hutool.http.cookie.ThreadLocalCookieStore
-
- removeAll(Collection<?>) - Method in class cn.hutool.json.JSONArray
-
- removeAllEmojis(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
-
去除字符串中所有的Emoji Unicode字符
- removeAllHtmlAttr(String, String...) - Static method in class cn.hutool.http.HtmlUtil
-
去除指定标签的所有属性
- removeAllLineBreaks(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去除所有换行符,包括:
1.
- removeAllPrefix(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去掉指定所有前缀,如:
str=abcdef, prefix=ab => return cdef
str=ababcdef, prefix=ab => return cdef
str=ababcdef, prefix="" => return ababcdef
str=ababcdef, prefix=null => return ababcdef
- removeAllSuffix(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去掉指定所有后缀,如:
str=11abab, suffix=ab => return 11
str=11ab, suffix=ab => return 11
str=11ab, suffix="" => return 11ab
str=11ab, suffix=null => return 11ab
- removeAny(T, E...) - Static method in class cn.hutool.core.collection.CollUtil
-
去掉集合中的多个元素,此方法直接修改原集合
- removeAny(Map<K, V>, K...) - Static method in class cn.hutool.core.map.MapUtil
-
去掉Map中指定key的键值对,修改原Map
- removeAny(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
移除字符串中所有给定字符串,当某个字符串出现多次,则全部移除
例:removeAny("aa-bb-cc-dd", "a", "b") =》 --cc-dd
- removeBlank(T) - Static method in class cn.hutool.core.collection.CollUtil
-
去除null
或者""或者空白字符串 元素,此方法直接修改原集合
- removeBlank(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
去除null
或者""或者空白字符串 元素
- removeByIndex(int) - Method in class cn.hutool.core.map.TableMap
-
移除指定位置的键值对
- removeCellComment() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- removeCurrent() - Method in class cn.hutool.http.cookie.ThreadLocalCookieStore
-
移除当前线程的Cookie
- removeEldestEntry(Map.Entry<K, V>) - Method in class cn.hutool.core.map.FixedLinkedHashMap
-
- removeEle(T[], T) - Static method in class cn.hutool.core.util.ArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(long[], long) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(int[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(short[], short) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(char[], char) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(byte[], byte) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(double[], double) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(float[], float) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(boolean[], boolean) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEmpty(T) - Static method in class cn.hutool.core.collection.CollUtil
-
去除null
或者"" 元素,此方法直接修改原集合
- removeEmpty(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
去除null
或者"" 元素
- removeEqual(T, String...) - Method in class cn.hutool.core.lang.Dict
-
与给定实体对比并去除相同的部分
此方法用于在更新操作时避免所有字段被更新,跳过不需要更新的字段 version from 2.0.0
- removeFileType(String) - Static method in class cn.hutool.core.io.FileTypeUtil
-
移除文件类型映射
- removeFinalModify(Field) - Static method in class cn.hutool.core.util.ModifierUtil
-
设置final的field字段可以被修改
只要不会被编译器内联优化的 final 属性就可以通过反射有效的进行修改 -- 修改后代码中可使用到新的值;
以下属性,编译器会内联优化,无法通过反射修改:
基本类型 byte, char, short, int, long, float, double, boolean
Literal String 类型(直接双引号字符串)
以下属性,可以通过反射修改:
基本类型的包装类 Byte、Character、Short、Long、Float、Double、Boolean
字符串,通过 new String("")实例化
自定义java类
//示例,移除final修饰符
class JdbcDialects {private static final List<Number> dialects = new ArrayList<>();}
Field field = ReflectUtil.getField(JdbcDialects.class, fieldName);
ReflectUtil.removeFinalModify(field);
ReflectUtil.setFieldValue(JdbcDialects.class, fieldName, dialects);
- removeFinalModify(Field) - Static method in class cn.hutool.core.util.ReflectUtil
-
设置final的field字段可以被修改
只要不会被编译器内联优化的 final 属性就可以通过反射有效的进行修改 -- 修改后代码中可使用到新的值;
以下属性,编译器会内联优化,无法通过反射修改:
基本类型 byte, char, short, int, long, float, double, boolean
Literal String 类型(直接双引号字符串)
以下属性,可以通过反射修改:
基本类型的包装类 Byte、Character、Short、Long、Float、Double、Boolean
字符串,通过 new String("")实例化
自定义java类
//示例,移除final修饰符
class JdbcDialects {private static final List<Number> dialects = new ArrayList<>();}
Field field = ReflectUtil.getField(JdbcDialects.class, fieldName);
ReflectUtil.removeFinalModify(field);
ReflectUtil.setFieldValue(JdbcDialects.class, fieldName, dialects);
- removeFormula() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- removeHeader(String) - Method in enum cn.hutool.http.GlobalHeaders
-
移除一个头信息
- removeHeader(Header) - Method in enum cn.hutool.http.GlobalHeaders
-
移除一个头信息
- removeHeader(String) - Method in class cn.hutool.http.HttpBase
-
移除一个头信息
- removeHeader(Header) - Method in class cn.hutool.http.HttpBase
-
移除一个头信息
- removeHeaderAlias(String) - Method in class cn.hutool.core.text.csv.CsvConfig
-
去除标题别名
- removeHeaderAlias(String) - Method in class cn.hutool.poi.excel.ExcelBase
-
去除标题别名
- removeHtmlAttr(String, String...) - Static method in class cn.hutool.http.HtmlUtil
-
去除HTML标签中的属性,如果多个标签有相同属性,都去除
- removeHtmlTag(String, String...) - Static method in class cn.hutool.http.HtmlUtil
-
清除指定HTML标签和被标签包围的内容
不区分大小写
- removeHtmlTag(String, boolean, String...) - Static method in class cn.hutool.http.HtmlUtil
-
清除指定HTML标签
不区分大小写
- removeHyperlink() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- removeIf(Predicate<? super T>) - Method in class cn.hutool.core.collection.TransCollection
-
- removeListener(ClipboardListener) - Method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
去除指定监听
- removeListener(TaskListener) - Method in class cn.hutool.cron.listener.TaskListenerManager
-
移除监听器
- removeListener(TaskListener) - Method in class cn.hutool.cron.Scheduler
-
移除监听器
- removeNew(String...) - Method in class cn.hutool.db.Entity
-
过滤Map去除指定键值对,如果键不存在跳过
- removeNull(T) - Static method in class cn.hutool.core.collection.CollUtil
-
去除null
元素,此方法直接修改原集合
- removeNull(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
去除null
元素
- removeNullValue(Map<K, V>) - Static method in class cn.hutool.core.map.MapUtil
-
去除Map中值为null
的键值对
注意:此方法在传入的Map上直接修改。
- removePreAndLowerFirst(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去掉首部指定长度的字符串并将剩余字符串首字母小写
例如:str=setName, preLength=3 =》 return name
- removePreAndLowerFirst(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去掉首部指定长度的字符串并将剩余字符串首字母小写
例如:str=setName, prefix=set =》 return name
- removePrefix(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去掉指定前缀
- removePrefixIgnoreCase(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
忽略大小写去掉指定前缀
- removeRow(Row) - Static method in class cn.hutool.poi.excel.RowUtil
-
从工作表中删除指定的行,此方法修复sheet.shiftRows删除行时会拆分合并的单元格的问题
- removeSafe(char) - Method in class cn.hutool.core.codec.PercentCodec
-
移除安全字符
安全字符不被编码
- removeSafeCharacter(char) - Method in class cn.hutool.core.net.URLEncoder
-
Deprecated.
移除安全字符
安全字符不被编码
- removeShowSqlParams(Setting) - Static method in class cn.hutool.db.DbUtil
-
移除配置文件中的Show SQL相关配置项
此方法用于移除用户配置在分组下的配置项目
- removeSufAndLowerFirst(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去掉指定后缀,并小写首字母
- removeSuffix(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去掉指定后缀
- removeSuffixIgnoreCase(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
忽略大小写去掉指定后缀
- removeTask(TimerTask) - Method in class cn.hutool.cron.timingwheel.TimerTaskList
-
移除任务
- removeValue(K, V) - Method in class cn.hutool.core.map.multi.AbsCollValueMap
-
移除value集合中的某个值
- removeValues(K, Collection<V>) - Method in class cn.hutool.core.map.multi.AbsCollValueMap
-
移除value集合中的某些值
- removeWithAddIf(T, T, Predicate<? super E>) - Static method in class cn.hutool.core.collection.CollUtil
-
移除集合中的多个元素,并将结果存放到指定的集合
此方法直接修改原集合
- removeWithAddIf(T, Predicate<? super E>) - Static method in class cn.hutool.core.collection.CollUtil
-
移除集合中的多个元素,并将结果存放到生成的新集合中后返回
此方法直接修改原集合
- removeWithoutLock(K) - Method in class cn.hutool.cache.impl.AbstractCache
-
移除key对应的对象,不加锁
- rename(Path, String, boolean) - Static method in class cn.hutool.core.io.file.PathUtil
-
修改文件或目录的文件名,不变更路径,只是简单修改文件名
FileUtil.rename(file, "aaa.jpg", false) xx/xx.png =》xx/aaa.jpg
- rename(File, String, boolean) - Static method in class cn.hutool.core.io.FileUtil
-
修改文件或目录的文件名,不变更路径,只是简单修改文件名,不保留扩展名。
- rename(File, String, boolean, boolean) - Static method in class cn.hutool.core.io.FileUtil
-
修改文件或目录的文件名,不变更路径,只是简单修改文件名
重命名有两种模式:
1、isRetainExt为true时,保留原扩展名:
FileUtil.rename(file, "aaa", true) xx/xx.png =》xx/aaa.png
2、isRetainExt为false时,不保留原扩展名,需要在newName中
FileUtil.rename(file, "aaa.jpg", false) xx/xx.png =》xx/aaa.jpg
- renameKey(Map<K, V>, K, K) - Static method in class cn.hutool.core.map.MapUtil
-
- renameSheet(String) - Method in class cn.hutool.poi.excel.ExcelBase
-
重命名当前sheet
- renameSheet(String) - Method in class cn.hutool.poi.excel.ExcelWriter
-
重命名当前sheet
- renameSheet(int, String) - Method in class cn.hutool.poi.excel.ExcelWriter
-
重命名sheet
- render(Map<?, ?>, File) - Method in class cn.hutool.extra.template.AbstractTemplate
-
- render(Map<?, ?>) - Method in class cn.hutool.extra.template.AbstractTemplate
-
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.beetl.BeetlTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.beetl.BeetlTemplate
-
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.enjoy.EnjoyTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.enjoy.EnjoyTemplate
-
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.freemarker.FreemarkerTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.freemarker.FreemarkerTemplate
-
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.jetbrick.JetbrickTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.jetbrick.JetbrickTemplate
-
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.rythm.RythmTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.rythm.RythmTemplate
-
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.thymeleaf.ThymeleafTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.thymeleaf.ThymeleafTemplate
-
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.velocity.VelocityTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.velocity.VelocityTemplate
-
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.wit.WitTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.wit.WitTemplate
-
- render(Map<?, ?>, Writer) - Method in interface cn.hutool.extra.template.Template
-
将模板与绑定参数融合后输出到Writer
- render(Map<?, ?>, OutputStream) - Method in interface cn.hutool.extra.template.Template
-
将模板与绑定参数融合后输出到流
- render(Map<?, ?>, File) - Method in interface cn.hutool.extra.template.Template
-
写出到文件
- render(Map<?, ?>) - Method in interface cn.hutool.extra.template.Template
-
将模板与绑定参数融合后返回为字符串
- repeat - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- repeat(char, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
重复某个字符
CharSequenceUtil.repeat('e', 0) = ""
CharSequenceUtil.repeat('e', 3) = "eee"
CharSequenceUtil.repeat('e', -2) = ""
- repeat(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
重复某个字符串
- repeatAndJoin(CharSequence, int, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
重复某个字符串并通过分界符连接
CharSequenceUtil.repeatAndJoin("?"
- repeatByLength(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
重复某个字符串到指定长度
- replace(String, Object, Object) - Method in class cn.hutool.core.lang.Dict
-
- replace(String, Object) - Method in class cn.hutool.core.lang.Dict
-
- replace(T) - Method in interface cn.hutool.core.lang.Replacer
-
替换指定类型为目标类型
- replace(K, V, V) - Method in class cn.hutool.core.map.MapWrapper
-
- replace(K, V) - Method in class cn.hutool.core.map.MapWrapper
-
- replace(K, V) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- replace(K, V, V) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- replace(K, V, V) - Method in class cn.hutool.core.map.TableMap
-
- replace(K, V) - Method in class cn.hutool.core.map.TableMap
-
替换指定key的所有值为指定值
- replace(K, V, V) - Method in class cn.hutool.core.map.TransMap
-
- replace(K, V) - Method in class cn.hutool.core.map.TransMap
-
- replace(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符串中的指定字符串
- replace(CharSequence, CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符串中的指定字符串
- replace(CharSequence, int, CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符串中的指定字符串
- replace(CharSequence, int, int, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
- replace(CharSequence, int, int, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
- replace(CharSequence, Pattern, Func1<Matcher, String>) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换所有正则匹配的文本,并使用自定义函数决定如何替换
replaceFun可以通过
Matcher
提取出匹配到的内容的不同部分,然后经过重新处理、组装变成新的内容放回原位。
- replace(CharSequence, String, Func1<Matcher, String>) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换所有正则匹配的文本,并使用自定义函数决定如何替换
- replace(CharSequence, int, StrBuilder) - Method in class cn.hutool.core.text.escape.NumericEntityUnescaper
-
- replace(CharSequence, int, StrBuilder) - Method in class cn.hutool.core.text.replacer.LookupReplacer
-
- replace(CharSequence, int, StrBuilder) - Method in class cn.hutool.core.text.replacer.ReplacerChain
-
- replace(CharSequence, int, StrBuilder) - Method in class cn.hutool.core.text.replacer.StrReplacer
-
抽象的字符串替换方法,通过传入原字符串和当前位置,执行替换逻辑,返回处理或替换的字符串长度部分。
- replace(CharSequence) - Method in class cn.hutool.core.text.replacer.StrReplacer
-
- replace(T[], int, T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
将新元素插入到到已有数组中的某个位置
添加新元素会生成一个新数组或原有数组
如果插入位置为为负数,那么生成一个由插入元素顺序加已有数组顺序的新数组
- replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in class cn.hutool.core.map.MapWrapper
-
- replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in class cn.hutool.core.map.TableMap
-
- replaceAll(CharSequence, String, String) - Static method in class cn.hutool.core.util.ReUtil
-
正则替换指定值
通过正则查找到字符串,然后把匹配到的字符串加入到replacementTemplate中,$1表示分组1的字符串
例如:原字符串是:中文1234,我想把1234换成(1234),则可以:
ReUtil.replaceAll("中文1234", "(\\d+)", "($1)"))
结果:中文(1234)
- replaceAll(CharSequence, Pattern, String) - Static method in class cn.hutool.core.util.ReUtil
-
正则替换指定值
通过正则查找到字符串,然后把匹配到的字符串加入到replacementTemplate中,$1表示分组1的字符串
- replaceAll(CharSequence, String, Func1<Matcher, String>) - Static method in class cn.hutool.core.util.ReUtil
-
替换所有正则匹配的文本,并使用自定义函数决定如何替换
replaceFun可以通过
Matcher
提取出匹配到的内容的不同部分,然后经过重新处理、组装变成新的内容放回原位。
- replaceAll(CharSequence, Pattern, Func1<Matcher, String>) - Static method in class cn.hutool.core.util.ReUtil
-
替换所有正则匹配的文本,并使用自定义函数决定如何替换
replaceFun可以通过
Matcher
提取出匹配到的内容的不同部分,然后经过重新处理、组装变成新的内容放回原位。
- replaceAttribute(String, UnaryOperator<AnnotationAttribute>) - Method in class cn.hutool.core.annotation.GenericSynthesizedAnnotation
-
替换属性值
- replaceAttribute(String, UnaryOperator<AnnotationAttribute>) - Method in interface cn.hutool.core.annotation.SynthesizedAnnotation
-
替换属性值
- replaceByCodePoint(CharSequence, int, int, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
- replaceByCodePoint(CharSequence, int, int, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
- replaceChars(CharSequence, String, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符字符数组中所有的字符为replacedStr
提供的chars为所有需要被替换的字符,例如:"\r\n",则"\r"和"\n"都会被替换,哪怕他们单独存在
- replaceChars(CharSequence, char[], CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符字符数组中所有的字符为replacedStr
- replaceFirst(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符串中第一个指定字符串
- replaceFirst(CharSequence, CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符串中第一个指定字符串
- replaceFirst(Pattern, CharSequence, String) - Static method in class cn.hutool.core.util.ReUtil
-
替换匹配的第一个内容
- replaceIgnoreCase(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符串中的指定字符串,忽略大小写
- replaceLast(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符串中最后一个指定字符串
- replaceLast(CharSequence, CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符串中最后一个指定字符串
- Replacer<T> - Interface in cn.hutool.core.lang
-
替换器
通过实现此接口完成指定类型对象的替换操作,替换后的目标类型依旧为指定类型
- ReplacerChain - Class in cn.hutool.core.text.replacer
-
字符串替换链,用于组合多个字符串替换逻辑
- ReplacerChain(StrReplacer...) - Constructor for class cn.hutool.core.text.replacer.ReplacerChain
-
构造
- RequestBody - Interface in cn.hutool.http.body
-
定义请求体接口
- RESERVED - Static variable in class cn.hutool.core.net.RFC3986
-
- reset() - Method in class cn.hutool.core.builder.EqualsBuilder
-
Reset the EqualsBuilder so you can use the same object again
- reset() - Method in class cn.hutool.core.collection.ArrayIter
-
重置数组位置
- reset() - Method in class cn.hutool.core.collection.NodeListIter
-
- reset() - Method in interface cn.hutool.core.collection.ResettableIter
-
重置,重置后可重新遍历
- reset() - Method in class cn.hutool.core.io.checksum.crc16.CRC16Ansi
-
- reset() - Method in class cn.hutool.core.io.checksum.crc16.CRC16CCITTFalse
-
- reset() - Method in class cn.hutool.core.io.checksum.crc16.CRC16Checksum
-
- reset() - Method in class cn.hutool.core.io.checksum.crc16.CRC16Modbus
-
- reset() - Method in class cn.hutool.core.io.checksum.crc16.CRC16USB
-
- reset() - Method in class cn.hutool.core.io.checksum.crc16.CRC16X25
-
- reset() - Method in class cn.hutool.core.io.checksum.CRC16
-
- reset() - Method in class cn.hutool.core.io.checksum.CRC8
-
- reset() - Method in class cn.hutool.core.io.FastByteArrayOutputStream
-
- reset() - Method in class cn.hutool.core.io.FastByteBuffer
-
- reset() - Method in class cn.hutool.core.io.resource.MultiResource
-
重置游标
- reset() - Method in class cn.hutool.core.lang.Range
-
重置Range
- reset() - Method in class cn.hutool.core.lang.tree.TreeBuilder
-
重置Builder,实现复用
- reset() - Method in interface cn.hutool.core.text.finder.Finder
-
复位查找器,用于重用对象
- reset() - Method in class cn.hutool.core.text.finder.PatternFinder
-
- reset() - Method in class cn.hutool.core.text.split.SplitIter
-
重置
- reset() - Method in class cn.hutool.core.text.StrBuilder
-
删除全部字符,位置归零
- reset() - Method in class cn.hutool.core.thread.ConcurrencyTester
-
重置测试器,重置包括:
清空worker
重置计时器
- reset() - Method in class cn.hutool.crypto.digest.Digester
-
- reset() - Method in class cn.hutool.crypto.digest.mac.BCMacEngine
-
- reset() - Method in class cn.hutool.crypto.digest.mac.DefaultHMacEngine
-
- reset() - Method in interface cn.hutool.crypto.digest.mac.MacEngine
-
重置
- reset() - Method in class cn.hutool.http.HttpInputStream
-
- reset() - Method in class cn.hutool.http.webservice.SoapClient
-
重置SOAP客户端,用于客户端复用
重置后需调用serMethod方法重新指定请求方法,并调用setParam方法重新定义参数
- reset() - Method in class cn.hutool.poi.excel.ExcelWriter
-
重置Writer,包括:
1.
- resetFrame() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Resets frame state for reading next image.
- resetRow() - Method in class cn.hutool.poi.excel.ExcelWriter
-
重置当前行为0
- ResettableIter<E> - Interface in cn.hutool.core.collection
-
- resize(T[], int, Class<?>) - Static method in class cn.hutool.core.util.ArrayUtil
-
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。
- resize(Object, int) - Static method in class cn.hutool.core.util.ArrayUtil
-
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。
- resize(T[], int) - Static method in class cn.hutool.core.util.ArrayUtil
-
生成一个新的重新设置大小的数组
新数组的类型为原数组的类型,调整大小后拷贝原数组到新数组下。
- resize(byte[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。
- resolve(Func1<T, ?>) - Static method in class cn.hutool.core.lang.func.LambdaUtil
-
解析lambda表达式,加了缓存。
- resolve(Func0<R>) - Static method in class cn.hutool.core.lang.func.LambdaUtil
-
解析lambda表达式,加了缓存。
- resolveClass(ObjectStreamClass) - Method in class cn.hutool.core.io.ValidateObjectInputStream
-
只允许反序列化SerialObject class
- Resource - Interface in cn.hutool.core.io.resource
-
资源接口定义
资源是数据表示的统称,我们可以将任意的数据封装为一个资源,然后读取其内容。
- resource - Variable in class cn.hutool.setting.Setting
-
设定文件的资源
- ResourceBody - Class in cn.hutool.http.body
-
Resource
类型的Http request body,主要发送编码后的表单数据或rest body(如JSON或XML)
- ResourceBody(Resource) - Constructor for class cn.hutool.http.body.ResourceBody
-
构造
- ResourceClassLoader<T extends Resource> - Class in cn.hutool.core.lang
-
资源类加载器,可以加载任意类型的资源类
- ResourceClassLoader(ClassLoader, Map<String, T>) - Constructor for class cn.hutool.core.lang.ResourceClassLoader
-
构造
- ResourceUtil - Class in cn.hutool.core.io.resource
-
Resource资源工具类
- ResourceUtil() - Constructor for class cn.hutool.core.io.resource.ResourceUtil
-
- responseCode() - Method in class cn.hutool.http.HttpConnection
-
获取响应码
- restart() - Method in class cn.hutool.core.date.TimeInterval
-
重新开始计算时间(重置开始时间)
- restart() - Static method in class cn.hutool.cron.CronUtil
-
重新启动定时任务
此方法会清除动态加载的任务,重新启动后,守护线程与否与之前保持一致
- Result - Interface in cn.hutool.extra.tokenizer
-
分词结果接口定义
实现此接口包装分词器的分词结果,通过实现Iterator相应方法获取分词中的单词
- retainAll(Collection<?>) - Method in class cn.hutool.core.text.csv.CsvRow
-
- retainAll(Collection<?>) - Method in class cn.hutool.json.JSONArray
-
- returnGeneratedKey - Static variable in class cn.hutool.db.GlobalDbConfig
-
是否INSERT语句中默认返回主键(默认返回主键)
- ReUtil - Class in cn.hutool.core.util
-
- ReUtil() - Constructor for class cn.hutool.core.util.ReUtil
-
- reverse(List<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
反序给定List,会在原List基础上直接修改
- reverse(List<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
反序给定List,会在原List基础上直接修改
- reverse(Map<T, T>) - Static method in class cn.hutool.core.map.MapUtil
-
Map的键和值互换
互换键值对不检查值是否有重复,如果有则后加入的元素替换先加入的元素
值的顺序在HashMap中不确定,所以谁覆盖谁也不确定,在有序的Map中按照先后顺序覆盖,保留最后的值
- reverse(T[], int, int) - Static method in class cn.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(long[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(long[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(int[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(int[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(short[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(short[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(char[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(char[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(byte[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(byte[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(double[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(double[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(float[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(float[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(boolean[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(boolean[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(String) - Static method in class cn.hutool.core.util.StrUtil
-
反转字符串
例如:abcd =》dcba
- ReverseComparator<E> - Class in cn.hutool.core.comparator
-
反转比较器
- ReverseComparator(Comparator<? super E>) - Constructor for class cn.hutool.core.comparator.ReverseComparator
-
- reverseNew(List<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
反序给定List,会创建一个新的List,原List数据不变
- reverseNew(List<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
反序给定List,会创建一个新的List,原List数据不变
- RFC3986 - Class in cn.hutool.core.net
-
- RFC3986() - Constructor for class cn.hutool.core.net.RFC3986
-
- RhinoEngine - Class in cn.hutool.extra.expression.engine.rhino
-
rhino引擎封装
见:https://github.com/mozilla/rhino
- RhinoEngine() - Constructor for class cn.hutool.extra.expression.engine.rhino.RhinoEngine
-
- RichTextCellSetter - Class in cn.hutool.poi.excel.cell.setters
-
RichTextString
值单元格设置器
- RID_PREFIX - Static variable in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
- rightClick() - Static method in class cn.hutool.core.swing.RobotUtil
-
模拟右键单击
鼠标单击包括鼠标右键的按下和释放
- RingIndexUtil - Class in cn.hutool.core.collection
-
集合索引环形获取工具类
- RingIndexUtil() - Constructor for class cn.hutool.core.collection.RingIndexUtil
-
- ringNextInt(int, AtomicInteger) - Static method in class cn.hutool.core.collection.RingIndexUtil
-
通过cas操作 实现对指定值内的回环累加
- ringNextIntByObj(Object, AtomicInteger) - Static method in class cn.hutool.core.collection.RingIndexUtil
-
通过cas操作 实现对指定值内的回环累加
- ringNextLong(long, AtomicLong) - Static method in class cn.hutool.core.collection.RingIndexUtil
-
通过cas操作 实现对指定值内的回环累加
此方法一般用于大量数据完成回环累加(如数据库中的值大于int最大值)
- rmd2(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
RMD2(MD2withRSA)签名器
- rmd5(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
RMD5(MD5withRSA)签名器
- RobotUtil - Class in cn.hutool.core.swing
-
- RobotUtil() - Constructor for class cn.hutool.core.swing.RobotUtil
-
- rollback() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- rollback(Savepoint) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- rollback() - Method in class cn.hutool.db.Session
-
回滚事务
- rollback(Savepoint) - Method in class cn.hutool.db.Session
-
回滚到某个保存点,保存点的设置请使用setSavepoint方法
- RootAction - Class in cn.hutool.http.server.action
-
默认的处理器,通过解析用户传入的path,找到网页根目录下对应文件后返回
- RootAction(String) - Constructor for class cn.hutool.http.server.action.RootAction
-
构造
- RootAction(File) - Constructor for class cn.hutool.http.server.action.RootAction
-
构造
- RootAction(String, String...) - Constructor for class cn.hutool.http.server.action.RootAction
-
构造
- RootAction(File, String...) - Constructor for class cn.hutool.http.server.action.RootAction
-
构造
- Rot - Class in cn.hutool.core.codec
-
RotN(rotate by N places),回转N位密码,是一种简易的替换式密码,也是过去在古罗马开发的凯撒加密的一种变体。
- Rot() - Constructor for class cn.hutool.core.codec.Rot
-
- rotate(int) - Method in class cn.hutool.core.img.Img
-
旋转图片为指定角度
来自:http://blog.51cto.com/cping1982/130066
- rotate(File, int, File) - Static method in class cn.hutool.core.img.ImgUtil
-
旋转图片为指定角度
此方法不会关闭输出流
- rotate(Image, int, File) - Static method in class cn.hutool.core.img.ImgUtil
-
旋转图片为指定角度
此方法不会关闭输出流
- rotate(Image, int, OutputStream) - Static method in class cn.hutool.core.img.ImgUtil
-
旋转图片为指定角度
此方法不会关闭输出流
- rotate(Image, int, ImageOutputStream) - Static method in class cn.hutool.core.img.ImgUtil
-
旋转图片为指定角度
此方法不会关闭输出流,输出格式为JPG
- rotate(Image, int) - Static method in class cn.hutool.core.img.ImgUtil
-
- rotateCounterClockwise() - Method in class cn.hutool.extra.qrcode.BufferedImageLuminanceSource
-
- rotatingHash(String, int) - Static method in class cn.hutool.core.util.HashUtil
-
旋转hash
- round(Calendar, DateField) - Static method in class cn.hutool.core.date.CalendarUtil
-
修改日期为某个时间字段四舍五入时间
- round(Date, DateField) - Static method in class cn.hutool.core.date.DateUtil
-
修改日期为某个时间字段四舍五入时间
- round(double) - Method in class cn.hutool.core.img.Img
-
图片圆角处理
- round(double, int) - Static method in class cn.hutool.core.util.NumberUtil
-
- round(String, int) - Static method in class cn.hutool.core.util.NumberUtil
-
- round(BigDecimal, int) - Static method in class cn.hutool.core.util.NumberUtil
-
- round(double, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- round(String, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- round(BigDecimal, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- round - Variable in class cn.hutool.extra.qrcode.QrConfig
-
二维码中的Logo圆角弧度
- roundDown(Number, int) - Static method in class cn.hutool.core.util.NumberUtil
-
保留固定小数位数,舍去多余位数
- roundDown(BigDecimal, int) - Static method in class cn.hutool.core.util.NumberUtil
-
保留固定小数位数,舍去多余位数
- roundHalfEven(Number, int) - Static method in class cn.hutool.core.util.NumberUtil
-
四舍六入五成双计算法
四舍六入五成双是一种比较精确比较科学的计数保留法,是一种数字修约规则。
- roundHalfEven(BigDecimal, int) - Static method in class cn.hutool.core.util.NumberUtil
-
四舍六入五成双计算法
四舍六入五成双是一种比较精确比较科学的计数保留法,是一种数字修约规则。
- rounding(BigDecimal, RoundingMode) - Method in class cn.hutool.core.math.Money
-
对BigDecimal型的值按指定取整方式取整。
- roundStr(double, int) - Static method in class cn.hutool.core.util.NumberUtil
-
- roundStr(String, int) - Static method in class cn.hutool.core.util.NumberUtil
-
- roundStr(double, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- roundStr(String, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- RowHandler - Interface in cn.hutool.poi.excel.sax.handler
-
Sax方式读取Excel行处理器
- rowHandler - Variable in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
行处理器
- rowIdToString(RowId) - Static method in class cn.hutool.db.sql.SqlUtil
-
将RowId转为字符串
- rowKeySet() - Method in interface cn.hutool.core.map.multi.Table
-
返回所有行的key,行的key不可重复
- RowKeyTable<R,C,V> - Class in cn.hutool.core.map.multi
-
将行的键作为主键的
Table
实现
此结构为: 行=(列=值)
- RowKeyTable() - Constructor for class cn.hutool.core.map.multi.RowKeyTable
-
构造
- RowKeyTable(boolean) - Constructor for class cn.hutool.core.map.multi.RowKeyTable
-
构造
- RowKeyTable(Map<R, Map<C, V>>) - Constructor for class cn.hutool.core.map.multi.RowKeyTable
-
构造
- RowKeyTable(Map<R, Map<C, V>>, Builder<? extends Map<C, V>>) - Constructor for class cn.hutool.core.map.multi.RowKeyTable
-
构造
- rowMap() - Method in class cn.hutool.core.map.multi.RowKeyTable
-
- rowMap() - Method in interface cn.hutool.core.map.multi.Table
-
返回行列对应的Map
- RowUtil - Class in cn.hutool.poi.excel
-
Excel中的行Row
封装工具类
- RowUtil() - Constructor for class cn.hutool.poi.excel.RowUtil
-
- rs256(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
RS256(SHA256withRSA)签名器
- rs384(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
RS384(SHA384withRSA)签名器
- rs512(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
RS512(SHA512withRSA)签名器
- RSA - Class in cn.hutool.crypto.asymmetric
-
RSA公钥/私钥/签名加密解密
罗纳德·李维斯特(Ron [R]ivest)、阿迪·萨莫尔(Adi [S]hamir)和伦纳德·阿德曼(Leonard [A]dleman)
由于非对称加密速度极其缓慢,一般文件不使用它来加密而是使用对称加密,
非对称加密算法可以用来对对称加密的密钥加密,这样保证密钥的安全也就保证了数据的安全
- RSA() - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造,生成新的私钥公钥对
- RSA(String) - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造,生成新的私钥公钥对
- RSA(String, String) - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- RSA(String, String, String) - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- RSA(byte[], byte[]) - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- RSA(BigInteger, BigInteger, BigInteger) - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- RSA(PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- RSA(String, PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- rsa() - Static method in class cn.hutool.crypto.SecureUtil
-
创建RSA算法对象
生成新的私钥公钥对
- rsa(String, String) - Static method in class cn.hutool.crypto.SecureUtil
-
创建RSA算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- rsa(byte[], byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
创建RSA算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- rsAsn1ToPlain(byte[]) - Static method in class cn.hutool.crypto.SmUtil
-
BC的SM3withSM2签名得到的结果的rs是asn1格式的,这个方法转化成直接拼接r||s
- RSFilter - Class in cn.hutool.bloomfilter.filter
-
- RSFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.RSFilter
-
- RSFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.RSFilter
-
- rsha1(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
RSHA1(SHA1withRSA)签名器
- RsHandler<T> - Interface in cn.hutool.db.handler
-
结果集处理接口
此接口用于实现
ResultSet
转换或映射为用户指定的pojo对象
默认实现有:
- rsHash(String) - Static method in class cn.hutool.core.util.HashUtil
-
RS算法hash
- rsPlainToAsn1(byte[]) - Static method in class cn.hutool.crypto.SmUtil
-
BC的SM3withSM2验签需要的rs是asn1格式的,这个方法将直接拼接r||s的字节数组转化成asn1格式
- run() - Method in class cn.hutool.core.io.file.LineReadWatcher
-
- run() - Method in class cn.hutool.core.io.watch.WatchMonitor
-
- run() - Method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
- run() - Method in class cn.hutool.core.thread.SemaphoreRunnable
-
- run() - Method in class cn.hutool.core.thread.SyncFinisher.Worker
-
- run() - Method in class cn.hutool.cron.CronTimer
-
- run() - Method in class cn.hutool.cron.TaskExecutor
-
- run() - Method in class cn.hutool.cron.TaskLauncher
-
- RunnableTask - Class in cn.hutool.cron.task
-
- RunnableTask(Runnable) - Constructor for class cn.hutool.cron.task.RunnableTask
-
- runner - Variable in class cn.hutool.db.AbstractDb
-
- RuntimeInfo - Class in cn.hutool.system
-
运行时信息,包括内存总大小、已用大小、可用大小等
- RuntimeInfo() - Constructor for class cn.hutool.system.RuntimeInfo
-
- RuntimeUtil - Class in cn.hutool.core.util
-
系统运行时工具类,用于执行系统命令的工具
- RuntimeUtil() - Constructor for class cn.hutool.core.util.RuntimeUtil
-
- RythmEngine - Class in cn.hutool.extra.template.engine.rythm
-
Rythm模板引擎
文档:http://rythmengine.org/doc/index
- RythmEngine() - Constructor for class cn.hutool.extra.template.engine.rythm.RythmEngine
-
默认构造
- RythmEngine(TemplateConfig) - Constructor for class cn.hutool.extra.template.engine.rythm.RythmEngine
-
构造
- RythmEngine(RythmEngine) - Constructor for class cn.hutool.extra.template.engine.rythm.RythmEngine
-
构造
- RythmTemplate - Class in cn.hutool.extra.template.engine.rythm
-
Rythm模板包装
- RythmTemplate(ITemplate) - Constructor for class cn.hutool.extra.template.engine.rythm.RythmTemplate
-
构造
- SafeConcurrentHashMap<K,V> - Class in cn.hutool.core.map
-
- SafeConcurrentHashMap() - Constructor for class cn.hutool.core.map.SafeConcurrentHashMap
-
构造,默认初始大小(16)
- SafeConcurrentHashMap(int) - Constructor for class cn.hutool.core.map.SafeConcurrentHashMap
-
构造
- SafeConcurrentHashMap(Map<? extends K, ? extends V>) - Constructor for class cn.hutool.core.map.SafeConcurrentHashMap
-
构造
- SafeConcurrentHashMap(int, float) - Constructor for class cn.hutool.core.map.SafeConcurrentHashMap
-
构造
- SafeConcurrentHashMap(int, float, int) - Constructor for class cn.hutool.core.map.SafeConcurrentHashMap
-
构造
- safeContains(Collection<?>, Object) - Static method in class cn.hutool.core.collection.CollUtil
-
判断指定集合是否包含指定值,如果集合为空(null或者空),返回false
,否则找到元素返回true
- safeGet(String) - Method in class cn.hutool.core.bean.DynaBean
-
获得字段对应值,获取异常返回null
- safeSleep(Number) - Static method in class cn.hutool.core.thread.ThreadUtil
-
- safeSleep(long) - Static method in class cn.hutool.core.thread.ThreadUtil
-
- safeUnescape(String) - Static method in class cn.hutool.core.util.EscapeUtil
-
安全的unescape文本,当文本不是被escape的时候,返回原文。
- salt - Variable in class cn.hutool.crypto.digest.Digester
-
盐值
- saltPosition - Variable in class cn.hutool.crypto.digest.Digester
-
加盐位置,即将盐值字符串放置在数据的index数,默认0
- sample - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- samplefac - Variable in class cn.hutool.core.img.gif.NeuQuant
-
- scale(float) - Method in class cn.hutool.core.img.Img
-
缩放图像(按比例缩放)
- scale(int, int) - Method in class cn.hutool.core.img.Img
-
缩放图像(按长宽缩放)
注意:目标长宽与原图不成比例会变形
- scale(int, int, int) - Method in class cn.hutool.core.img.Img
-
缩放图像(按长宽缩放)
注意:目标长宽与原图不成比例会变形
- scale(int, int, Color) - Method in class cn.hutool.core.img.Img
-
等比缩放图像,此方法按照按照给定的长宽等比缩放图片,按照长宽缩放比最多的一边等比缩放,空白部分填充背景色
缩放后默认为jpeg格式
- scale(File, File, float) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放),目标文件的扩展名决定目标文件类型
- scale(InputStream, OutputStream, float) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(ImageInputStream, ImageOutputStream, float) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, File, float) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, OutputStream, float) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, ImageOutputStream, float) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, float) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
- scale(Image, int, int) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按长宽缩放)
注意:目标长宽与原图不成比例会变形
- scale(File, File, int, int, Color) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按高度和宽度缩放)
缩放后默认格式与源图片相同,无法识别原图片默认JPG
- scale(InputStream, OutputStream, int, int, Color) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按高度和宽度缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(ImageInputStream, ImageOutputStream, int, int, Color) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按高度和宽度缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, ImageOutputStream, int, int, Color) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按高度和宽度缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, int, int, Color) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按高度和宽度缩放)
缩放后默认为jpeg格式
- ScaleType - Enum in cn.hutool.core.img
-
图片缩略算法类型
- scan(BiConsumer<Integer, Annotation>, AnnotatedElement, Predicate<Annotation>) - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
-
则根据广度优先递归扫描类的层级结构,并对层级结构中类/接口声明的层级索引和它们声明的注解对象进行处理
- scan(BiConsumer<Integer, Annotation>, AnnotatedElement, Predicate<Annotation>) - Method in interface cn.hutool.core.annotation.scanner.AnnotationScanner
-
扫描注解元素的层级结构(若存在),然后对获取到的注解和注解对应的层级索引进行处理。
- scan(BiConsumer<Integer, Annotation>, AnnotatedElement, Predicate<Annotation>) - Method in class cn.hutool.core.annotation.scanner.ElementAnnotationScanner
-
- scan(BiConsumer<Integer, Annotation>, AnnotatedElement, Predicate<Annotation>) - Method in class cn.hutool.core.annotation.scanner.EmptyAnnotationScanner
-
- scan(BiConsumer<Integer, Annotation>, AnnotatedElement, Predicate<Annotation>) - Method in class cn.hutool.core.annotation.scanner.FieldAnnotationScanner
-
- scan(BiConsumer<Integer, Annotation>, AnnotatedElement, Predicate<Annotation>) - Method in class cn.hutool.core.annotation.scanner.GenericAnnotationScanner
-
扫描注解元素的层级结构(若存在),然后对获取到的注解和注解对应的层级索引进行处理
- scan(BiConsumer<Integer, Annotation>, AnnotatedElement, Predicate<Annotation>) - Method in class cn.hutool.core.annotation.scanner.MetaAnnotationScanner
-
按广度优先扫描指定注解上的元注解,对扫描到的注解与层级索引进行操作
- scan() - Method in class cn.hutool.core.lang.ClassScanner
-
扫描包路径下满足class过滤器条件的所有class文件
此方法首先扫描指定包名下的资源目录,如果未扫描到,则扫描整个classpath中所有加载的类
- scan(boolean) - Method in class cn.hutool.core.lang.ClassScanner
-
扫描包路径下满足class过滤器条件的所有class文件
- scanAllPackage() - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描该包路径下所有class文件,包括其他加载的jar或者类
- scanAllPackage(String, Filter<Class<?>>) - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描包路径下和所有在classpath中加载的类,满足class过滤器条件的所有class文件,
如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException
因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理
- scanAllPackageByAnnotation(String, Class<? extends Annotation>) - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描指定包路径下所有包含指定注解的类,包括其他加载的jar或者类
- scanAllPackageBySuper(String, Class<?>) - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描指定包路径下所有指定类或接口的子类或实现类,不包括指定父类本身,包括其他加载的jar或者类
- scanByAllSupported(AnnotatedElement, AnnotationScanner...) - Static method in interface cn.hutool.core.annotation.scanner.AnnotationScanner
-
根据指定的扫描器,扫描元素上可能存在的注解
- scanByAnySupported(AnnotatedElement, AnnotationScanner...) - Static method in interface cn.hutool.core.annotation.scanner.AnnotationScanner
-
给定一组扫描器,使用第一个支持处理该类型元素的扫描器获取元素上可能存在的注解
- scanClass(Class<?>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
- scanIfSupport(BiConsumer<Integer, Annotation>, AnnotatedElement, Predicate<Annotation>) - Method in interface cn.hutool.core.annotation.scanner.AnnotationScanner
-
- scanInterfaceIfNecessary(List<Class<?>>, Class<?>) - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
-
- scanMetaAnnotation(Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
- scanMethod(Method) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
- scanner() - Static method in class cn.hutool.core.lang.Console
-
- scanPackage() - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描classpath下所有class文件,如果classpath下已经有类,不再扫描其他加载的jar或者类
- scanPackage(String) - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描该包路径下所有class文件
- scanPackage(String, Filter<Class<?>>) - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描包路径下满足class过滤器条件的所有class文件,
如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException
因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理
- scanPackage() - Static method in class cn.hutool.core.util.ClassUtil
-
扫描该包路径下所有class文件
- scanPackage(String) - Static method in class cn.hutool.core.util.ClassUtil
-
扫描该包路径下所有class文件
- scanPackage(String, Filter<Class<?>>) - Static method in class cn.hutool.core.util.ClassUtil
-
扫描包路径下满足class过滤器条件的所有class文件,
如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException
因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理,有可能是一个不完善的地方,以后需要进行修改
- scanPackageByAnnotation(String, Class<? extends Annotation>) - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描指定包路径下所有包含指定注解的类
如果classpath下已经有类,不再扫描其他加载的jar或者类
- scanPackageByAnnotation(String, Class<? extends Annotation>) - Static method in class cn.hutool.core.util.ClassUtil
-
扫描指定包路径下所有包含指定注解的类
- scanPackageBySuper(String, Class<?>) - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描指定包路径下所有指定类或接口的子类或实现类,不包括指定父类本身
如果classpath下已经有类,不再扫描其他加载的jar或者类
- scanPackageBySuper(String, Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
扫描指定包路径下所有指定类或接口的子类或实现类
- scanSuperClassIfNecessary(List<Class<?>>, Class<?>) - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
-
- schedule(Runnable, long) - Method in enum cn.hutool.cache.GlobalPruneTimer
-
启动定时任务
- schedule(ScheduledThreadPoolExecutor, Runnable, long, long, boolean) - Static method in class cn.hutool.core.thread.ThreadUtil
-
开始执行一个定时任务,执行方式分fixedRate模式和fixedDelay模式。
- schedule(ScheduledThreadPoolExecutor, Runnable, long, long, TimeUnit, boolean) - Static method in class cn.hutool.core.thread.ThreadUtil
-
开始执行一个定时任务,执行方式分fixedRate模式和fixedDelay模式。
- schedule(String, Task) - Static method in class cn.hutool.cron.CronUtil
-
加入定时任务
- schedule(String, String, Task) - Static method in class cn.hutool.cron.CronUtil
-
加入定时任务
- schedule(String, Runnable) - Static method in class cn.hutool.cron.CronUtil
-
加入定时任务
- schedule(Setting) - Static method in class cn.hutool.cron.CronUtil
-
批量加入配置文件中的定时任务
- schedule(Setting) - Method in class cn.hutool.cron.Scheduler
-
批量加入配置文件中的定时任务
配置文件格式为: xxx.xxx.xxx.Class.method = * * * * *
- schedule(String, Runnable) - Method in class cn.hutool.cron.Scheduler
-
新增Task,使用随机UUID
- schedule(String, Task) - Method in class cn.hutool.cron.Scheduler
-
新增Task,使用随机UUID
- schedule(String, String, Runnable) - Method in class cn.hutool.cron.Scheduler
-
新增Task,如果任务ID已经存在,抛出异常
- schedule(String, String, Task) - Method in class cn.hutool.cron.Scheduler
-
新增Task,如果任务ID已经存在,抛出异常
- schedule(String, CronPattern, Task) - Method in class cn.hutool.cron.Scheduler
-
新增Task,如果任务ID已经存在,抛出异常
- schedulePrune(long) - Method in class cn.hutool.cache.impl.TimedCache
-
定时清理
- Scheduler - Class in cn.hutool.cron
-
任务调度器
调度器启动流程:
启动Timer =》 启动TaskLauncher =》 启动TaskExecutor
调度器关闭流程:
关闭Timer =》 关闭所有运行中的TaskLauncher =》 关闭所有运行中的TaskExecutor
其中:
TaskLauncher:定时器每分钟调用一次(如果
Scheduler.isMatchSecond()
为
true
每秒调用一次),
负责检查
TaskTable是否有匹配到此时间运行的Task
TaskExecutor:TaskLauncher匹配成功后,触发TaskExecutor执行具体的作业,执行完毕销毁
- Scheduler() - Constructor for class cn.hutool.cron.Scheduler
-
- scheduler - Variable in class cn.hutool.cron.TaskExecutorManager
-
- scheduler - Variable in class cn.hutool.cron.TaskLauncherManager
-
- ScreenUtil - Class in cn.hutool.core.swing
-
屏幕相关(当前显示设置)工具类
- ScreenUtil() - Constructor for class cn.hutool.core.swing.ScreenUtil
-
- ScriptRuntimeException - Exception in cn.hutool.script
-
脚本运行时异常
- ScriptRuntimeException(Throwable) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
- ScriptRuntimeException(String) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
- ScriptRuntimeException(String, Object...) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
- ScriptRuntimeException(String, Throwable) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
- ScriptRuntimeException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
- ScriptRuntimeException(Throwable, String, Object...) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
- ScriptRuntimeException(String, String, int) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
Creates a ScriptException
with message, filename and linenumber to be used in error messages.
- ScriptRuntimeException(String, String, int, int) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
ScriptException
constructor specifying message, filename, line number and column number.
- ScriptRuntimeException(ScriptException) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
- ScriptUtil - Class in cn.hutool.script
-
脚本工具类
- ScriptUtil() - Constructor for class cn.hutool.script.ScriptUtil
-
- SDBMFilter - Class in cn.hutool.bloomfilter.filter
-
- SDBMFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.SDBMFilter
-
- SDBMFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.SDBMFilter
-
- sdbmHash(String) - Static method in class cn.hutool.core.util.HashUtil
-
SDBM算法
- second() - Method in class cn.hutool.core.date.DateTime
-
获得指定日期的秒数部分
- second(Date) - Static method in class cn.hutool.core.date.DateUtil
-
获得指定日期的秒数部分
- secondToTime(int) - Static method in class cn.hutool.core.date.DateUtil
-
- SecureUtil - Class in cn.hutool.crypto
-
安全相关工具类
加密分为三种:
1、对称加密(symmetric),例如:AES、DES等
2、非对称加密(asymmetric),例如:RSA、DSA等
3、摘要加密(digest),例如:MD5、SHA-1、SHA-256、HMAC等
- SecureUtil() - Constructor for class cn.hutool.crypto.SecureUtil
-
- SecurityManagerCaller - Class in cn.hutool.core.lang.caller
-
- SecurityManagerCaller() - Constructor for class cn.hutool.core.lang.caller.SecurityManagerCaller
-
- Segment<T extends Number> - Interface in cn.hutool.core.lang
-
片段表示,用于表示文本、集合等数据结构的一个区间。
- SEGMENT - Static variable in class cn.hutool.core.net.RFC3986
-
- SEGMENT_NZ_NC - Static variable in class cn.hutool.core.net.RFC3986
-
segment-nz-nc = SEGMENT ; non-zero-length segment without any colon ":"
- select() - Method in class cn.hutool.core.math.Arrangement
-
全排列选择(列表全部参与排列)
- select(int) - Method in class cn.hutool.core.math.Arrangement
-
排列选择(从列表中选择m个排列)
- select(int) - Method in class cn.hutool.core.math.Combination
-
组合选择(从列表中选择m个组合)
- select(boolean, String...) - Method in class cn.hutool.db.sql.SqlBuilder
-
查询
- select(boolean, Collection<String>) - Method in class cn.hutool.db.sql.SqlBuilder
-
查询
- select(String...) - Method in class cn.hutool.db.sql.SqlBuilder
-
查询(非Distinct)
- select(Collection<String>) - Method in class cn.hutool.db.sql.SqlBuilder
-
查询(非Distinct)
- selectAll() - Method in class cn.hutool.core.math.Arrangement
-
排列所有组合,即A(n, 1) + A(n, 2) + A(n, 3)...
- selectAll() - Method in class cn.hutool.core.math.Combination
-
全组合
- selectNumberRule(int, int) - Method in class cn.hutool.core.date.format.FastDatePrinter
-
Gets an appropriate rule for the padding required.
- SemaphoreRunnable - Class in cn.hutool.core.thread
-
带有信号量控制的
Runnable
接口抽象实现
通过设置信号量,可以限制可以访问某些资源(物理或逻辑的)线程数目。
- SemaphoreRunnable(Runnable, Semaphore) - Constructor for class cn.hutool.core.thread.SemaphoreRunnable
-
构造
- send() - Method in class cn.hutool.extra.mail.JakartaMail
-
发送
- send(String, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(String, String, String, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人、抄送人、密送人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(Collection<String>, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(Collection<String>, Collection<String>, Collection<String>, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(MailAccount, String, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
发送邮件给多人
- send(MailAccount, Collection<String>, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
发送邮件给多人
- send(MailAccount, Collection<String>, Collection<String>, Collection<String>, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
发送邮件给多人
- send(String, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(String, String, String, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人、抄送人、密送人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(Collection<String>, Collection<String>, Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(MailAccount, String, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
发送邮件给多人
- send(MailAccount, Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
发送邮件给多人
- send(MailAccount, Collection<String>, Collection<String>, Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
发送邮件给多人
- send() - Method in class cn.hutool.extra.mail.Mail
-
发送
- send(String, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(String, String, String, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人、抄送人、密送人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(Collection<String>, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(Collection<String>, Collection<String>, Collection<String>, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(MailAccount, String, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
发送邮件给多人
- send(MailAccount, Collection<String>, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
发送邮件给多人
- send(MailAccount, Collection<String>, Collection<String>, Collection<String>, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
发送邮件给多人
- send(String, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(String, String, String, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人、抄送人、密送人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(Collection<String>, Collection<String>, Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(MailAccount, String, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
发送邮件给多人
- send(MailAccount, Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
发送邮件给多人
- send(MailAccount, Collection<String>, Collection<String>, Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
发送邮件给多人
- send(int) - Method in class cn.hutool.http.server.HttpServerResponse
-
发送HTTP状态码,Content-Length为0不定长度,会输出Transfer-encoding: chunked
- send(int, long) - Method in class cn.hutool.http.server.HttpServerResponse
-
发送HTTP状态码
- send() - Method in class cn.hutool.http.webservice.SoapClient
-
执行Webservice请求,即发送SOAP内容
- send(boolean) - Method in class cn.hutool.http.webservice.SoapClient
-
执行Webservice请求,即发送SOAP内容
- send404(String) - Method in class cn.hutool.http.server.HttpServerResponse
-
发送404错误页
- sendError(int, String) - Method in class cn.hutool.http.server.HttpServerResponse
-
发送错误页
- sendForMessage() - Method in class cn.hutool.http.webservice.SoapClient
-
执行Webservice请求,即发送SOAP内容
- sendForResponse() - Method in class cn.hutool.http.webservice.SoapClient
-
发送请求,获取异步响应
- sendHtml(String, String, String, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送HTML邮件,发送给单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- sendHtml(Collection<String>, String, String, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送HTML邮件,发送给多人
- sendHtml(String, String, String, Map<String, InputStream>, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送HTML邮件,发送给单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- sendHtml(Collection<String>, String, String, Map<String, InputStream>, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送HTML邮件,发送给多人
- sendHtml(String, String, String, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送HTML邮件,发送给单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- sendHtml(Collection<String>, String, String, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送HTML邮件,发送给多人
- sendHtml(String, String, String, Map<String, InputStream>, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送HTML邮件,发送给单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- sendHtml(Collection<String>, String, String, Map<String, InputStream>, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送HTML邮件,发送给多人
- sendOk() - Method in class cn.hutool.http.server.HttpServerResponse
-
发送成功状态码
- sendOk(int) - Method in class cn.hutool.http.server.HttpServerResponse
-
发送成功状态码
- sendResponseHeaders(int, long) - Method in class cn.hutool.http.server.HttpExchangeWrapper
-
- sendText(String, String, String, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送文本邮件,发送给单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- sendText(Collection<String>, String, String, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送文本邮件,发送给多人
- sendText(String, String, String, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送文本邮件,发送给单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- sendText(Collection<String>, String, String, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送文本邮件,发送给多人
- sensitiveFilter(T, boolean, SensitiveProcessor) - Static method in class cn.hutool.dfa.SensitiveUtil
-
敏感词过滤
- sensitiveFilter(String) - Static method in class cn.hutool.dfa.SensitiveUtil
-
处理过滤文本中的敏感词,默认替换成*
- sensitiveFilter(String, boolean, SensitiveProcessor) - Static method in class cn.hutool.dfa.SensitiveUtil
-
处理过滤文本中的敏感词,默认替换成*
- SensitiveProcessor - Interface in cn.hutool.dfa
-
- SensitiveUtil - Class in cn.hutool.dfa
-
敏感词工具类
- SensitiveUtil() - Constructor for class cn.hutool.dfa.SensitiveUtil
-
- serialize(T) - Static method in class cn.hutool.core.util.ObjectUtil
-
序列化
对象必须实现Serializable接口
- serialize(T) - Static method in class cn.hutool.core.util.SerializeUtil
-
序列化
对象必须实现Serializable接口
- serialize(T, V) - Method in interface cn.hutool.json.serialize.JSONSerializer
-
序列化实现,通过实现此方法,将指定类型的对象转换为
JSON
对象
转换后的对象可以为JSONObject也可以为JSONArray,首先new一个空的JSON,然后将需要的数据字段put到JSON对象中去即可。
- serialize(JSONObject, TemporalAccessor) - Method in class cn.hutool.json.serialize.TemporalAccessorSerializer
-
- SerializeUtil - Class in cn.hutool.core.util
-
序列化工具类
注意!
- SerializeUtil() - Constructor for class cn.hutool.core.util.SerializeUtil
-
- ServiceLoaderUtil - Class in cn.hutool.core.util
-
SPI机制中的服务加载工具类,流程如下
1、创建接口,并创建实现类
2、ClassPath/META-INF/services下创建与接口全限定类名相同的文件
3、文件内容填写实现类的全限定类名
相关介绍见:https://www.jianshu.com/p/3a3edbcd8f24
- ServiceLoaderUtil() - Constructor for class cn.hutool.core.util.ServiceLoaderUtil
-
- ServletUtil - Class in cn.hutool.extra.servlet
-
Servlet相关工具类封装
- ServletUtil() - Constructor for class cn.hutool.extra.servlet.ServletUtil
-
- Session - Class in cn.hutool.db
-
数据库SQL执行会话
会话通过共用Connection而可以实现JDBC事务
一个会话只维护一个连接,推荐在执行完后关闭Session,避免重用
本对象并不是线程安全的,多个线程共用一个Session将会导致不可预知的问题
- Session(DataSource) - Constructor for class cn.hutool.db.Session
-
构造,从DataSource中识别方言
- Session(DataSource, String) - Constructor for class cn.hutool.db.Session
-
构造
- Session(DataSource, Dialect) - Constructor for class cn.hutool.db.Session
-
构造
- set(Object, Object) - Method in class cn.hutool.core.bean.BeanPath
-
设置表达式指定位置(或filed对应)的值
若表达式指向一个List则设置其坐标对应位置的值,若指向Map则put对应key的值,Bean则设置字段的值
注意:
1.
- set(String, Object) - Method in class cn.hutool.core.bean.DynaBean
-
设置字段值
- set(boolean, T...) - Static method in class cn.hutool.core.collection.CollUtil
-
新建一个HashSet
- set(String, Object) - Method in class cn.hutool.core.lang.Dict
-
设置列
- set(T) - Method in interface cn.hutool.core.lang.mutable.Mutable
-
设置值
- set(boolean) - Method in class cn.hutool.core.lang.mutable.MutableBool
-
设置值
- set(Boolean) - Method in class cn.hutool.core.lang.mutable.MutableBool
-
- set(byte) - Method in class cn.hutool.core.lang.mutable.MutableByte
-
设置值
- set(Number) - Method in class cn.hutool.core.lang.mutable.MutableByte
-
- set(double) - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
设置值
- set(Number) - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
- set(float) - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
设置值
- set(Number) - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
- set(int) - Method in class cn.hutool.core.lang.mutable.MutableInt
-
设置值
- set(Number) - Method in class cn.hutool.core.lang.mutable.MutableInt
-
- set(long) - Method in class cn.hutool.core.lang.mutable.MutableLong
-
设置值
- set(Number) - Method in class cn.hutool.core.lang.mutable.MutableLong
-
- set(T) - Method in class cn.hutool.core.lang.mutable.MutableObj
-
- set(Pair<K, V>) - Method in class cn.hutool.core.lang.mutable.MutablePair
-
- set(short) - Method in class cn.hutool.core.lang.mutable.MutableShort
-
设置值
- set(Number) - Method in class cn.hutool.core.lang.mutable.MutableShort
-
- set(Transferable) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
-
设置内容到剪贴板
- set(Transferable, ClipboardOwner) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
-
设置内容到剪贴板
- set(int, String) - Method in class cn.hutool.core.text.csv.CsvRow
-
- set(String, String) - Static method in class cn.hutool.core.util.SystemPropsUtil
-
设置系统属性,value为null
表示移除此属性
- set(Part, String) - Method in class cn.hutool.cron.pattern.CronPatternBuilder
-
设置对应部分的定时任务值
- set(String, Object) - Method in class cn.hutool.db.ActiveEntity
-
- set(DSFactory) - Static method in class cn.hutool.db.ds.GlobalDSFactory
-
设置全局的数据源工厂
在项目中存在多个连接池库的情况下,我们希望使用低优先级的库时使用此方法自定义之
重新定义全局的数据源工厂此方法可在以下两种情况下调用:
1.
- set(String, Object) - Method in class cn.hutool.db.Entity
-
- set(Object) - Method in class cn.hutool.json.JSONArray
-
Append an object value.
- set(int, Object) - Method in class cn.hutool.json.JSONArray
-
加入或者替换JSONArray中指定Index的值,如果index大于JSONArray的长度,将在指定index设置值,之前的位置填充JSONNull.Null
- set(int, Object, Filter<MutablePair<Integer, Object>>) - Method in class cn.hutool.json.JSONArray
-
加入或者替换JSONArray中指定Index的值,如果index大于JSONArray的长度,将在指定index设置值,之前的位置填充JSONNull.Null
- set(String, Object) - Method in class cn.hutool.json.JSONObject
-
设置键值对到JSONObject中,在忽略null模式下,如果值为null
,将此键移除
- set(String, Object, Filter<MutablePair<String, Object>>, boolean) - Method in class cn.hutool.json.JSONObject
-
设置键值对到JSONObject中,在忽略null模式下,如果值为null
,将此键移除
- set(Class<? extends LogFactory>) - Static method in class cn.hutool.log.GlobalLogFactory
-
自定义日志实现
- set(LogFactory) - Static method in class cn.hutool.log.GlobalLogFactory
-
自定义日志实现
- set(String, String) - Method in class cn.hutool.setting.Setting
-
设置值
- setAccessible(Method) - Static method in class cn.hutool.core.util.ClassUtil
-
设置方法为可访问
- setAccessible(T) - Static method in class cn.hutool.core.util.ReflectUtil
-
设置方法为可访问(私有方法可以被外部调用)
- setAlgorithmParameterSpec(AlgorithmParameterSpec) - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
- setAlign(CellStyle, HorizontalAlignment, VerticalAlignment) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
设置cell文本对齐样式
- setAlign(HorizontalAlignment, VerticalAlignment) - Method in class cn.hutool.poi.excel.StyleSet
-
设置cell文本对齐样式
- setAllowCoreThreadTimeOut(boolean) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置线程执行超时后是否回收线程
- setAllowFileExts(boolean) - Method in class cn.hutool.core.net.multipart.UploadSetting
-
设定是否允许扩展名
- setAlpha(Graphics2D, float) - Static method in class cn.hutool.core.img.GraphicsUtil
-
设置画笔透明度
- setAlwaysDelimitText(boolean) - Method in class cn.hutool.core.text.csv.CsvWriteConfig
-
设置是否始终使用文本分隔符,文本包装符,默认false,按需添加
- setAlwaysDelimitText(boolean) - Method in class cn.hutool.core.text.csv.CsvWriter
-
设置是否始终使用文本分隔符,文本包装符,默认false,按需添加
- setAmount(BigDecimal) - Method in class cn.hutool.core.math.Money
-
设置本货币对象代表的金额数。
- setApplicationContext(ApplicationContext) - Method in class cn.hutool.extra.spring.SpringUtil
-
- setArray(int, Array) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setAsActiveCell() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setAsciiStream(int, InputStream, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setAsciiStream(int, InputStream, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setAsciiStream(int, InputStream) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setAscOrDesc(String) - Method in class cn.hutool.db.meta.ColumnIndexInfo
-
- setAssignFlag(char) - Method in class cn.hutool.setting.SettingLoader
-
赋值分隔符(用于分隔键值对)
- setAttachments(DataSource...) - Method in class cn.hutool.extra.mail.JakartaMail
-
增加附件或图片,附件使用DataSource
形式表示,可以使用FileDataSource
包装文件表示文件附件
- setAttachments(DataSource...) - Method in class cn.hutool.extra.mail.Mail
-
- setAttr(String, Object) - Method in class cn.hutool.http.server.HttpServerResponse
-
设置属性
- setAttribute(String, AnnotationAttribute) - Method in class cn.hutool.core.annotation.GenericSynthesizedAnnotation
-
设置属性值
- setAttribute(String, AnnotationAttribute) - Method in interface cn.hutool.core.annotation.SynthesizedAnnotation
-
设置属性值
- setAttribute(String, Object) - Method in class cn.hutool.http.server.HttpExchangeWrapper
-
- setAttributes(Map<String, AnnotationAttribute>) - Method in interface cn.hutool.core.annotation.SynthesizedAnnotation
-
设置该注解的全部属性
- setAudience(String...) - Method in interface cn.hutool.jwt.RegisteredPayload
-
设置接收jwt的一方("aud")的Payload值
- setAuth(boolean) - Method in class cn.hutool.extra.mail.MailAccount
-
设置是否需要用户名密码验证
- setAutoCommit(boolean) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setAutoIncrement(boolean) - Method in class cn.hutool.db.meta.Column
-
设置是否自增
- setAutoTransCamelCase(boolean) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置是否自动转换为驼峰方式
一般用于map转bean和bean转bean出现非驼峰格式时,在尝试转换失败的情况下,是否二次检查转为驼峰匹配
此设置用于解决Bean和Map转换中的匹配问题而设置,并不是一个强制参数。
- setBackColor(int) - Method in class cn.hutool.extra.qrcode.QrConfig
-
- setBackColor(Color) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置背景色,例如:Color.BLUE
- setBackground(Color) - Method in class cn.hutool.captcha.AbstractCaptcha
-
设置背景色
- setBackground(Color) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets the background color for the last added frame
and any subsequent frames.
- setBackgroundColor(Color) - Method in class cn.hutool.core.img.Img
-
设置图片的背景色
- setBackgroundColor(IndexedColors, boolean) - Method in class cn.hutool.poi.excel.StyleSet
-
设置单元格背景样式
- setBackToPwd(boolean) - Method in class cn.hutool.extra.ftp.Ftp
-
设置执行完操作是否返回当前目录
- setBccs(String...) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置多个密送人(blind carbon copy)
- setBccs(String...) - Method in class cn.hutool.extra.mail.Mail
-
设置多个密送人(blind carbon copy)
- setBeginAtSameTime(boolean) - Method in class cn.hutool.core.thread.SyncFinisher
-
设置是否所有worker线程同时开始
- setBeginLineNo(long) - Method in class cn.hutool.core.text.csv.CsvReadConfig
-
设置开始的行(包括),默认0,此处为原始文件行号
- setBetweenMs(long) - Method in class cn.hutool.core.date.BetweenFormatter
-
设置 时长毫秒数
- setBigDecimal(int, BigDecimal) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBinaryStream(int, InputStream, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBinaryStream(int, InputStream, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBinaryStream(int, InputStream) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBindings(Bindings, int) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- setBindings(Bindings, int) - Method in class cn.hutool.script.JavaScriptEngine
-
- setBlank() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setBlob(int, Blob) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBlob(int, InputStream, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBlob(int, InputStream) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBlockSize(int) - Method in class cn.hutool.http.HttpConfig
-
采用流方式上传数据,无需本地缓存数据。
- setBoolean(int, boolean) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBorder(CellStyle, BorderStyle, IndexedColors) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
设置cell的四个边框粗细和颜色
- setBorder(BorderStyle, IndexedColors) - Method in class cn.hutool.poi.excel.StyleSet
-
定义所有单元格的边框类型
- setBoundary(String) - Static method in class cn.hutool.http.HttpGlobalConfig
-
设置默认的Multipart边界
- setBrowser(Browser) - Method in class cn.hutool.http.useragent.UserAgent
-
设置浏览器类型
- setByGroup(String, String, String) - Method in class cn.hutool.setting.Setting
-
将键值对加入到对应分组中
此方法用于与getXXX统一参数顺序
- setByte(int, byte) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBytes(int, byte[]) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setCacheHash(boolean) - Method in class cn.hutool.core.lang.Tuple
-
缓存Hash值,当为true时,此对象的hash值只被计算一次,常用于Tuple中的值不变时使用。
- setCachePatterns(boolean) - Method in class cn.hutool.core.text.AntPathMatcher
-
- setCapacity(int) - Method in class cn.hutool.core.map.FixedLinkedHashMap
-
设置容量
- setCaseInsensitive(boolean) - Method in class cn.hutool.db.AbstractDb
-
设置是否在结果中忽略大小写
如果忽略,则在Entity中调用getXXX时,字段值忽略大小写,默认忽略
- setCaseInsensitive(boolean) - Method in class cn.hutool.db.DialectRunner
-
设置是否在结果中忽略大小写
如果忽略,则在Entity中调用getXXX时,字段值忽略大小写,默认忽略
- setCaseInsensitive(boolean) - Static method in class cn.hutool.db.GlobalDbConfig
-
设置全局是否在结果中忽略大小写
如果忽略,则在Entity中调用getXXX时,字段值忽略大小写,默认忽略
- setCaseInsensitiveGlobal(boolean) - Static method in class cn.hutool.db.DbUtil
-
设置全局是否在结果中忽略大小写
如果忽略,则在Entity中调用getXXX时,字段值忽略大小写,默认忽略
- setCaseSensitive(boolean) - Method in class cn.hutool.core.text.AntPathMatcher
-
设置是否大小写敏感,默认为true
- setCatalog(String) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setCatalog(String) - Method in class cn.hutool.db.meta.IndexInfo
-
- setCatalog(String) - Method in class cn.hutool.db.meta.Table
-
设置catalog
- setCcs(String...) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置多个抄送人(carbon copy)
- setCcs(String...) - Method in class cn.hutool.extra.mail.Mail
-
设置多个抄送人(carbon copy)
- setCellComment(Comment) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellEditor(CellEditor) - Method in class cn.hutool.poi.excel.ExcelReader
-
设置单元格值处理逻辑
当Excel中的值并不能满足我们的读取要求时,通过传入一个编辑接口,可以对单元格值自定义,例如对数字和日期类型值转换为字符串等
- setCellEditor(CellEditor) - Method in class cn.hutool.poi.excel.reader.AbstractSheetReader
-
设置单元格值处理逻辑
当Excel中的值并不能满足我们的读取要求时,通过传入一个编辑接口,可以对单元格值自定义,例如对数字和日期类型值转换为字符串等
- setCellEditor(CellEditor) - Method in class cn.hutool.poi.excel.reader.BeanSheetReader
-
设置单元格值处理逻辑
当Excel中的值并不能满足我们的读取要求时,通过传入一个编辑接口,可以对单元格值自定义,例如对数字和日期类型值转换为字符串等
- setCellErrorValue(byte) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellFormula(String) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellStyle(CellStyle) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellType(CellType) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellValue(Cell, Object, StyleSet, boolean) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
设置单元格值
根据传入的styleSet自动匹配样式
当为头部样式时默认赋值头部样式,但是头部中如果有数字、日期等类型,将按照数字、日期样式设置
- setCellValue(Cell, Object, CellStyle) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
设置单元格值
根据传入的styleSet自动匹配样式
当为头部样式时默认赋值头部样式,但是头部中如果有数字、日期等类型,将按照数字、日期样式设置
- setCellValue(Cell, Object) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
设置单元格值
根据传入的styleSet自动匹配样式
当为头部样式时默认赋值头部样式,但是头部中如果有数字、日期等类型,将按照数字、日期样式设置
- setCellValue(double) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellValue(Date) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellValue(LocalDateTime) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellValue(Calendar) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellValue(RichTextString) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellValue(String) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellValue(boolean) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCent(long) - Method in class cn.hutool.core.math.Money
-
设置货币的分值。
- setCertificate(Certificate) - Method in class cn.hutool.crypto.asymmetric.Sign
-
设置
Certificate
为PublicKey
如果Certificate是X509Certificate,我们需要检查是否有密钥扩展
- setChannelHandler(ChannelHandler) - Method in class cn.hutool.socket.nio.NioClient
-
设置NIO数据处理器
- setChannelHandler(ChannelHandler) - Method in class cn.hutool.socket.nio.NioServer
-
设置NIO数据处理器
- setCharacterStream(int, Reader, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setCharacterStream(int, Reader, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setCharacterStream(int, Reader) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setCharFilter(Filter<Character>) - Static method in class cn.hutool.dfa.SensitiveUtil
-
设置字符过滤规则,通过定义字符串过滤规则,过滤不需要的字符
当accept为false时,此字符不参与匹配
- setCharFilter(Filter<Character>) - Method in class cn.hutool.dfa.WordTree
-
设置字符过滤规则,通过定义字符串过滤规则,过滤不需要的字符
当accept为false时,此字符不参与匹配
- setCharset(Charset) - Method in class cn.hutool.core.io.file.FileWrapper
-
设置字符集编码
- setCharset(Charset) - Method in class cn.hutool.core.net.url.UrlBuilder
-
设置编码,用于URLEncode和URLDecode
- setCharset(Charset) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setCharset(Charset) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置字符集编码
- setCharset(Charset) - Method in class cn.hutool.extra.mail.Mail
-
设置字符集编码
- setCharset(Charset) - Method in class cn.hutool.extra.mail.MailAccount
-
设置字符集编码,此选项不会修改全局配置,若修改全局配置,请设置此项为null
并设置:
System.setProperty("mail.mime.charset", charset);
- setCharset(Charset) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置编码
- setCharset(Charset) - Method in class cn.hutool.extra.template.engine.jetbrick.loader.StringResourceLoader
-
设置编码
- setCharset(Charset) - Method in class cn.hutool.extra.template.TemplateConfig
-
设置编码
- setCharset(Charset) - Method in class cn.hutool.http.server.HttpServerResponse
-
设置响应的编码
- setCharset(Charset) - Method in class cn.hutool.http.webservice.SoapClient
-
设置编码
- setCharset(Charset) - Method in class cn.hutool.jwt.JWT
-
设置编码
- setCharset(Charset) - Method in class cn.hutool.jwt.signers.AsymmetricJWTSigner
-
设置编码
- setCharset(Charset) - Method in class cn.hutool.jwt.signers.HMacJWTSigner
-
设置编码
- setCharset(Charset) - Method in class cn.hutool.setting.profile.Profile
-
设置编码
- setCharset(Charset) - Method in class cn.hutool.setting.Setting
-
自定义字符编码
- setCheckDuplicate(boolean) - Method in class cn.hutool.json.JSONConfig
-
是否检查多个相同的key
- setChildren(List<Tree<T>>) - Method in class cn.hutool.core.lang.tree.Tree
-
设置子节点,设置后会覆盖所有原有子节点
- setChildrenKey(String) - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
设置子点对应的名称
- setChunkedStreamingMode(int) - Method in class cn.hutool.http.HttpConnection
-
采用流方式上传数据,无需本地缓存数据。
- setChunkedStreamingMode(int) - Method in class cn.hutool.http.HttpRequest
-
采用流方式上传数据,无需本地缓存数据。
- setClaim(String, Object) - Method in class cn.hutool.jwt.Claims
-
增加Claims属性,如果属性值为null
,则移除这个属性
- setClassLoader(ClassLoader) - Method in class cn.hutool.core.lang.ClassScanner
-
设置自定义的类加载器
- setClientInfo(String, String) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setClientInfo(Properties) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setClob(int, Clob) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setClob(int, Reader, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setClob(int, Reader) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setColor(CellStyle, IndexedColors, FillPatternType) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
给cell设置颜色
- setColor(CellStyle, short, FillPatternType) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
给cell设置颜色
- setColorFactory(Function<Level, AnsiColor>) - Static method in class cn.hutool.log.dialect.console.ConsoleColorLog
-
设置颜色工厂,根据日志级别,定义不同的颜色
- setColumn(Column) - Method in class cn.hutool.db.meta.Table
-
设置列对象
- setColumnDef(String) - Method in class cn.hutool.db.meta.Column
-
设置默认值
- setColumnIndexInfoList(List<ColumnIndexInfo>) - Method in class cn.hutool.db.meta.IndexInfo
-
- setColumnName(String) - Method in class cn.hutool.db.meta.ColumnIndexInfo
-
- setColumnStyle(int, CellStyle) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置列的默认样式
- setColumnStyleIfHasData(int, int, CellStyle) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- setColumnWidth(int, int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置列宽(单位为一个字符的宽度,例如传入width为10,表示10个字符的宽度)
- setComment(String) - Method in class cn.hutool.core.compress.ZipWriter
-
设置注释
- setComment(String) - Method in class cn.hutool.db.meta.Column
-
设置注释
- setComment(String) - Method in class cn.hutool.db.meta.Table
-
设置注释
- setComment(Cell, String, String, ClientAnchor) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
为特定单元格添加批注
- setCommentCharacter(Character) - Method in class cn.hutool.core.text.csv.CsvConfig
-
设置 注释符号,用于区分注释行,null
表示忽略注释
- setComparator(int, Comparator<E>) - Method in class cn.hutool.core.comparator.ComparatorChain
-
替换指定位置的比较器,保持原排序方式
- setComparator(int, Comparator<E>, boolean) - Method in class cn.hutool.core.comparator.ComparatorChain
-
替换指定位置的比较器,替换指定排序方式
- setConfig(HttpConfig) - Method in class cn.hutool.http.HttpRequest
-
将新的配置加入
注意加入的配置可能被修改
- setConnectionAndReadTimeout(int) - Method in class cn.hutool.http.HttpConnection
-
设置连接和读取的超时时间
- setConnectionConfig(ConnectionConfig) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
设置连接相关配置,使用ConnectionConfigFactory创建ConnectionConfig
对象
- setConnectionTimeout(long) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setConnectionTimeout(long) - Method in class cn.hutool.extra.mail.MailAccount
-
设置Socket连接超时值,单位毫秒,缺省值不超时
- setConnectionTimeout(int) - Method in class cn.hutool.http.HttpConfig
-
设置连接超时,单位:毫秒
- setConnectionTimeout(int) - Method in class cn.hutool.http.HttpRequest
-
设置连接超时,单位:毫秒
- setConnectionTimeout(int) - Method in class cn.hutool.http.webservice.SoapClient
-
设置连接超时,单位:毫秒
- setConnectTimeout(int) - Method in class cn.hutool.http.HttpConnection
-
设置连接超时
- setConnProps(Properties) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setConnProps(Properties) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- setContainsHeader(boolean) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
设置是否首行做为标题行,默认false
- setContainsHeader(boolean) - Method in class cn.hutool.core.text.csv.CsvReadConfig
-
- setContent(String) - Method in class cn.hutool.extra.mail.JakartaMail
-
- setContent(String, boolean) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置正文
- setContent(String) - Method in class cn.hutool.extra.mail.Mail
-
- setContent(String, boolean) - Method in class cn.hutool.extra.mail.Mail
-
设置正文
- setContentLength(long) - Method in class cn.hutool.http.server.HttpServerResponse
-
设置Content-Length头
- setContentType(String) - Method in class cn.hutool.http.server.HttpServerResponse
-
- setContext(ScriptContext) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- setContext(ScriptContext) - Method in class cn.hutool.script.JavaScriptEngine
-
- setConverter(TypeConverter) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置自定义类型转换器,默认使用全局万能转换器转换。
- setCookie(String) - Method in class cn.hutool.http.HttpConnection
-
设置Cookie
- setCookieManager(CookieManager) - Static method in class cn.hutool.http.cookie.GlobalCookieManager
-
- setCookieManager(CookieManager) - Static method in class cn.hutool.http.HttpGlobalConfig
-
- setCookieManager(CookieManager) - Static method in class cn.hutool.http.HttpRequest
-
- setCopyAttributes(boolean) - Method in class cn.hutool.core.io.file.FileCopier
-
设置是否拷贝所有属性
- setCopyContentIfDir(boolean) - Method in class cn.hutool.core.io.file.FileCopier
-
当拷贝来源是目录时是否只拷贝目录下的内容
- setCopyFilter(Filter<T>) - Method in class cn.hutool.core.lang.copier.SrcToDestCopier
-
设置过滤器
- setCorePoolSize(int) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置初始池大小,默认0
- setCpuModel(String) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setCpuNum(Integer) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setCronSetting(Setting) - Static method in class cn.hutool.cron.CronUtil
-
自定义定时任务配置文件
- setCronSetting(String) - Static method in class cn.hutool.cron.CronUtil
-
自定义定时任务配置文件路径
- setcSys(long) - Method in class cn.hutool.system.oshi.CpuTicks
-
- setCurrentDSFactory(DSFactory) - Static method in class cn.hutool.db.ds.DSFactory
-
设置全局的数据源工厂
在项目中存在多个连接池库的情况下,我们希望使用低优先级的库时使用此方法自定义之
重新定义全局的数据源工厂此方法可在以下两种情况下调用:
1.
- setCurrentLogFactory(Class<? extends LogFactory>) - Static method in class cn.hutool.log.LogFactory
-
自定义日志实现
- setCurrentLogFactory(LogFactory) - Static method in class cn.hutool.log.LogFactory
-
自定义日志实现
- setCurrentRow(int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置当前所在行
- setCurrentRowToEnd() - Method in class cn.hutool.poi.excel.ExcelWriter
-
定位到最后一行的后边,用于追加数据
- setCursorName(String) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setCustomEngine(Class<? extends TemplateEngine>) - Method in class cn.hutool.extra.template.TemplateConfig
-
设置自定义引擎,null表示系统自动判断
- setCustomProperty(String, Object) - Method in class cn.hutool.extra.mail.MailAccount
-
设置自定义属性,如mail.smtp.ssl.socketFactory
- setDaemon(boolean) - Method in class cn.hutool.core.thread.ThreadFactoryBuilder
-
设置是否守护线程
- setDaemon(boolean) - Method in class cn.hutool.cron.Scheduler
-
- setDate(int, Date) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setDate(int, Date, Calendar) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setDateFormat(String) - Method in class cn.hutool.json.JSONArray
-
设置转为字符串时的日期格式,默认为时间戳(null值)
- setDateFormat(String) - Method in class cn.hutool.json.JSONConfig
-
设置日期格式,null表示默认的时间戳
此方法设置的日期格式仅对转换为JSON字符串有效,对解析JSON为bean无效。
- setDateFormat(String) - Method in class cn.hutool.json.JSONObject
-
设置转为字符串时的日期格式,默认为时间戳(null值)
此方法设置的日期格式仅对转换为JSON字符串有效,对解析JSON为bean无效。
- setDbSettingPath(String) - Static method in class cn.hutool.db.GlobalDbConfig
-
自定义数据库配置文件路径(绝对路径或相对classpath路径)
- setDbSettingPathGlobal(String) - Static method in class cn.hutool.db.DbUtil
-
自定义数据库配置文件路径(绝对路径或相对classpath路径)
- setDebug(boolean) - Method in class cn.hutool.extra.mail.MailAccount
-
设置是否打开调试模式,调试模式会显示与邮件服务器通信过程,默认不开启
- setDebugOutput(PrintStream) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置debug输出位置,可以自定义debug日志
- setDebugOutput(PrintStream) - Method in class cn.hutool.extra.mail.Mail
-
设置debug输出位置,可以自定义debug日志
- setDecodeUrl(boolean) - Method in class cn.hutool.http.HttpConfig
-
设置是否忽略解码URL,包括URL中的Path部分和Param部分。
- setDecodeUrl(boolean) - Static method in class cn.hutool.http.HttpGlobalConfig
-
设置是否忽略解码URL,包括URL中的Path部分和Param部分。
- setDecryptBlockSize(int) - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
设置解密块大小
- setDeep(Integer) - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
设置递归深度
- setDefaultRowHeight(int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置默认行高,值为一个点的高度
- setDelay(int) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
设置每一帧的间隔时间
Sets the delay time between each frame, or changes it
for subsequent frames (applies to last frame added).
- setDelay(long) - Method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
设置重试等待
- setDelay(int) - Static method in class cn.hutool.core.swing.RobotUtil
-
设置默认的延迟时间
当按键执行完后的等待时间,也可以用ThreadUtil.sleep方法代替
- setDelayQueueTimeout(long) - Method in class cn.hutool.cron.timingwheel.SystemTimer
-
设置执行队列取元素超时时长,单位毫秒
- setDelimiter(CharSequence) - Method in class cn.hutool.core.text.StrJoiner
-
设置分隔符
- setDest(T) - Method in class cn.hutool.core.lang.copier.SrcToDestCopier
-
设置目标
- setDestFile(File) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置写出的目标文件
- setDestFile(File) - Method in class cn.hutool.poi.word.Word07Writer
-
设置写出的目标文件
- setDialect(Dialect) - Method in class cn.hutool.db.DialectRunner
-
设置SQL方言
- setDigest(Digest) - Method in class cn.hutool.crypto.asymmetric.SM2
-
设置Hash算法
- setDigestCount(int) - Method in class cn.hutool.crypto.digest.Digester
-
设置重复计算摘要值次数
- setDigit(int) - Method in class cn.hutool.db.meta.Column
-
设置小数位数
- setDirection(Direction) - Method in class cn.hutool.db.sql.Order
-
设置排序方向
- setDispose(int) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets the GIF frame disposal code for the last added frame
and any subsequent frames.
- setDouble(int, double) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setDriver(String) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setDriver(String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- setEditable(Class<?>) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置限制的类或接口,必须为目标对象的实现接口或父类,用于限制拷贝的属性
- setEmptyResult(String) - Method in class cn.hutool.core.text.StrJoiner
-
设置当没有任何元素加入时,默认返回的字符串,默认""
- setEncodefilename(boolean) - Method in class cn.hutool.extra.mail.MailAccount
-
设置对于文件名是否使用
MailAccount.charset
编码,此选项不会修改全局配置
如果此选项设置为
false
,则是否编码取决于两个系统属性:
mail.mime.encodefilename 是否编码附件文件名
mail.mime.charset 编码文件名的编码
- setEncodeSpaceAsPlus(boolean) - Method in class cn.hutool.core.codec.PercentCodec
-
是否将空格编码为+
如果为true
,则将空格编码为"+",此项只在"application/x-www-form-urlencoded"中使用
如果为false
,则空格编码为"%20",此项一般用于URL的Query部分(RFC3986规范)
- setEncodeSpaceAsPlus(boolean) - Method in class cn.hutool.core.net.URLEncoder
-
Deprecated.
是否将空格编码为+
- setEncoding(DSAEncoding) - Method in class cn.hutool.crypto.asymmetric.SM2
-
设置DSA signatures的编码
- setEncryptBlockSize(int) - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
设置加密块大小
- setEndIndex(int) - Method in class cn.hutool.core.text.finder.TextFinder
-
设置查找的结束位置
如果从前向后查找,结束位置最大为text.length()
如果从后向前,结束位置为-1
- setEndingLineBreak(boolean) - Method in class cn.hutool.core.text.csv.CsvWriteConfig
-
文件末尾是否添加换行符
按照https://datatracker.ietf.org/doc/html/rfc4180#section-2 规范,末尾换行符可有可无。
- setEndLineNo(long) - Method in class cn.hutool.core.text.csv.CsvReadConfig
-
设置结束的行(包括),默认不限制,此处为原始文件行号
- setEngine(Engine) - Method in class cn.hutool.http.useragent.UserAgent
-
设置引擎类型
- setEngineVersion(String) - Method in class cn.hutool.http.useragent.UserAgent
-
设置引擎版本
- setEquals(boolean) - Method in class cn.hutool.core.builder.EqualsBuilder
-
Sets the isEquals
value.
- setErrorCorrection(ErrorCorrectionLevel) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置纠错级别
- setErrorMessages(List<BeanValidationResult.ErrorMessage>) - Method in class cn.hutool.extra.validation.BeanValidationResult
-
设置错误信息列表
- setErrorOnDifferentFieldCount(boolean) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
设置每行字段个数不同时是否抛出异常,默认false
- setErrorOnDifferentFieldCount(boolean) - Method in class cn.hutool.core.text.csv.CsvReadConfig
-
设置每行字段个数不同时是否抛出异常,默认false
- setEscapeProcessing(boolean) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class cn.hutool.core.thread.SyncFinisher
-
设置异常处理
- setExecutor(Executor) - Method in class cn.hutool.http.server.SimpleServer
-
设置自定义线程池
- setExecutorService(ExecutorService) - Method in class cn.hutool.core.thread.SyncFinisher
-
- setExpiration(long) - Method in class cn.hutool.cron.timingwheel.TimerTaskList
-
设置过期时间
- setExpiresAt(Date) - Method in interface cn.hutool.jwt.RegisteredPayload
-
设置jwt的过期时间("exp")的Payload值,这个过期时间必须要大于签发时间
- setExtra(Map<String, Object>) - Method in class cn.hutool.core.lang.tree.TreeNode
-
设置扩展字段
- setFetchDirection(int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setFetchSize(int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setField(DateField, int) - Method in class cn.hutool.core.date.DateTime
-
- setField(int, int) - Method in class cn.hutool.core.date.DateTime
-
- setField(String) - Method in class cn.hutool.db.sql.Condition
-
设置字段名
- setField(String) - Method in class cn.hutool.db.sql.Order
-
设置排序字段
- setFieldMapping(Map<String, String>) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置拷贝属性的字段映射,用于不同的属性之前拷贝做对应表用
需要注意的是,当使用ValueProvider作为数据提供者时,这个映射是相反的,即fieldMapping中key为目标Bean的名称,而value是提供者中的key
- setFieldNameEditor(Editor<String>) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置字段属性编辑器,用于自定义属性转换规则,例如驼峰转下划线等
此转换器只针对源端的字段做转换,请确认转换后与目标端字段一致
当转换后的字段名为null时忽略这个字段
需要注意的是,当使用ValueProvider作为数据提供者时,这个映射是相反的,即fieldMapping中key为目标Bean的名称,而value是提供者中的key
- setFieldNames(Collection<String>) - Method in class cn.hutool.db.ActiveEntity
-
- setFieldNames(String...) - Method in class cn.hutool.db.ActiveEntity
-
- setFieldNames(Collection<String>) - Method in class cn.hutool.db.Entity
-
设置字段列表,用于限制加入的字段的值
- setFieldNames(String...) - Method in class cn.hutool.db.Entity
-
设置字段列表,用于限制加入的字段的值
- setFields(Func0<?>...) - Method in class cn.hutool.core.lang.Dict
-
通过lambda批量设置值
实际使用时,可以使用getXXX的方法引用来完成键值对的赋值:
User user = GenericBuilder.of(User::new).with(User::setUsername, "hutool").build();
Dict.create().setFields(user::getNickname, user::getUsername);
- setFields(Func0<?>...) - Method in class cn.hutool.db.ActiveEntity
-
通过lambda批量设置值
- setFields(Func0<?>...) - Method in class cn.hutool.db.Entity
-
通过lambda批量设置值
- setFields(Collection<String>) - Method in class cn.hutool.db.sql.Query
-
设置查询的字段名列表
- setFields(String...) - Method in class cn.hutool.db.sql.Query
-
设置查询的字段名列表
- setFieldSeparator(char) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
设置字段分隔符,默认逗号','
- setFieldSeparator(char) - Method in class cn.hutool.core.text.csv.CsvConfig
-
设置字段分隔符,默认逗号','
- setFieldValue(Object, String, Object) - Static method in class cn.hutool.core.bean.BeanUtil
-
设置字段值,通过反射设置字段值,并不调用setXXX方法
对象同样支持Map类型,fieldNameOrIndex即为key,支持:
Map
List
Bean
- setFieldValue(Object, String, Object) - Static method in class cn.hutool.core.util.ReflectUtil
-
- setFieldValue(Object, Field, Object) - Static method in class cn.hutool.core.util.ReflectUtil
-
- setFieldValueEditor(BiFunction<String, Object, Object>) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置字段属性值编辑器,用于自定义属性值转换规则,例如null转""等
- setFile(File) - Method in class cn.hutool.core.io.file.FileWrapper
-
设置文件
- setFileExts(String[]) - Method in class cn.hutool.core.net.multipart.UploadSetting
-
设定文件扩展名限定里列表
禁止列表还是允许列表取决于isAllowFileExts
- setFiles(File...) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置文件类型附件,文件可以是图片文件,此时自动设置cid(正文中引用图片),默认cid为文件名
- setFiles(File...) - Method in class cn.hutool.extra.mail.Mail
-
设置文件类型附件,文件可以是图片文件,此时自动设置cid(正文中引用图片),默认cid为文件名
- setFilter(Predicate<Class<?>>) - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
-
设置过滤器,若类型无法通过该过滤器,则该类型及其树结构将直接不被查找
- setFirstDayOfWeek(Week) - Method in class cn.hutool.core.date.DateTime
-
- setFirstPageNo(int) - Static method in class cn.hutool.core.util.PageUtil
-
设置首页页码,可以为0或者1
当设置为0时,页码0表示第一页,开始位置为0
当设置为1时,页码1表示第一页,开始位置为0
- setFixedContentLength(long) - Method in class cn.hutool.http.HttpRequest
-
设置固定长度的流模式,会设置HTTP请求头中的Content-Length字段,告知服务器整个请求体的精确字节大小。
- setFixedLengthStreamingMode(long) - Method in class cn.hutool.http.HttpConnection
-
设置固定长度的流模式,会设置HTTP请求头中的Content-Length字段,告知服务器整个请求体的精确字节大小。
- setFloat(int, float) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setFlushEveryBuffer(boolean) - Method in class cn.hutool.core.io.copy.IoCopier
-
设置是否每次写出一个buffer内容就执行flush
- setFollowRedirects(boolean) - Method in class cn.hutool.http.HttpRequest
-
- setFollowRedirectsCookie(boolean) - Method in class cn.hutool.http.HttpConfig
-
自动重定向时是否处理cookie
- setFollowRedirectsCookie(boolean) - Method in class cn.hutool.http.HttpRequest
-
自动重定向时是否处理cookie
- setFont(Font) - Method in class cn.hutool.captcha.AbstractCaptcha
-
自定义字体
- setFont(short, short, String, boolean) - Method in class cn.hutool.poi.excel.StyleSet
-
设置全局字体
- setFont(Font, boolean) - Method in class cn.hutool.poi.excel.StyleSet
-
设置全局字体
- setFontStyle(Font, short, short, String) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
设置字体样式
- setForeColor(int) - Method in class cn.hutool.extra.qrcode.QrConfig
-
- setForeColor(Color) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置前景色,例如:Color.BLUE.getRGB()
- setFormat(String) - Method in class cn.hutool.core.convert.impl.CalendarConverter
-
设置日期格式
- setFormat(String) - Method in class cn.hutool.core.convert.impl.DateConverter
-
设置日期格式
- setFormat(String) - Method in class cn.hutool.core.convert.impl.TemporalAccessorConverter
-
设置日期格式
- setFormatIfDate(String) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置日期格式,用于日期转字符串,默认为null
- setForwardSort(int) - Method in class cn.hutool.core.comparator.ComparatorChain
-
更改指定位置的排序方式为正序
- setFragment(String) - Method in class cn.hutool.core.net.url.UrlBuilder
-
设置标识符,例如#后边的部分
- setFrameRate(float) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets frame rate in frames per second.
- setFree(double) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setFreezePane(int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置窗口冻结,之前冻结的窗口会被覆盖,如果rowSplit为0表示取消冻结
- setFreezePane(int, int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置窗口冻结,之前冻结的窗口会被覆盖,如果colSplit和rowSplit为0表示取消冻结
- setFrom(String) - Method in class cn.hutool.extra.mail.MailAccount
-
设置发送方,遵循RFC-822标准
发件人可以是以下形式:
1. user@xxx.xx
2.
- setGenerator(CodeGenerator) - Method in class cn.hutool.captcha.AbstractCaptcha
-
设置验证码生成器
- setGlobalAuthenticator(String, char[]) - Static method in class cn.hutool.core.net.NetUtil
-
设置全局验证
- setGlobalAuthenticator(Authenticator) - Static method in class cn.hutool.core.net.NetUtil
-
设置全局验证
- setGlobalTimeout(int) - Static method in class cn.hutool.http.HttpRequest
-
设置全局默认的连接和读取超时时长
- setGroup(String) - Method in class cn.hutool.extra.ssh.Connector
-
设定用户组名
- setHandler(RejectedExecutionHandler) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置当线程阻塞(block)时的异常处理器,所谓线程阻塞即线程池和等待队列已满,无法处理线程时采取的策略
此处可以使用JDK预定义的几种策略,见
RejectPolicy
枚举
- setHeader(HttpServletResponse, String, Object) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
-
设置响应的Header
- setHeader(HttpServletResponse, String, Object) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
设置响应的Header
- setHeader(Header, String) - Method in class cn.hutool.http.server.HttpServerResponse
-
设置响应头,如果已经存在,则覆盖
- setHeader(String, String) - Method in class cn.hutool.http.server.HttpServerResponse
-
设置响应头,如果已经存在,则覆盖
- setHeader(String, List<String>) - Method in class cn.hutool.http.server.HttpServerResponse
-
设置响应头,如果已经存在,则覆盖
- setHeader(String, Object) - Method in class cn.hutool.jwt.JWT
-
设置JWT头信息
- setHeaderAlias(Map<String, String>) - Method in class cn.hutool.core.text.csv.CsvConfig
-
设置标题行的别名Map
- setHeaderAlias(Map<String, String>) - Method in class cn.hutool.poi.excel.ExcelBase
-
设置标题行的别名Map
- setHeaderAlias(Map<String, String>) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- setHeaderAlias(Map<String, String>) - Method in class cn.hutool.poi.excel.reader.AbstractSheetReader
-
设置标题行的别名Map
- setHeaderAlias(Map<String, String>) - Method in class cn.hutool.poi.excel.reader.BeanSheetReader
-
设置标题行的别名Map
- setHeaderLineNo(long) - Method in class cn.hutool.core.text.csv.CsvReadConfig
-
设置标题行行号,默认-1,表示无标题行
- setHeaderOrFooter(String, Align, boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置Excel页眉或页脚
- setHeaders(Map<String, List<String>>) - Method in class cn.hutool.http.server.HttpServerResponse
-
设置所有响应头,如果已经存在,则覆盖
- setHeight(int) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置高度
- setHighValue(long) - Method in class cn.hutool.core.lang.hash.Number128
-
设置高位值
- setHoldability(int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setHost(String) - Method in class cn.hutool.core.net.url.UrlBuilder
-
设置主机,例如127.0.0.1
- setHost(String) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setHost(String) - Method in class cn.hutool.extra.mail.MailAccount
-
设置SMTP服务器域名
- setHost(String) - Method in class cn.hutool.extra.ssh.Connector
-
设定主机名
- setHostnameVerifier(HostnameVerifier) - Method in class cn.hutool.http.HttpConfig
-
设置域名验证器
只针对HTTPS请求,如果不设置,不做验证,所有域名被信任
- setHostnameVerifier(HostnameVerifier) - Method in class cn.hutool.http.HttpRequest
-
设置域名验证器
只针对HTTPS请求,如果不设置,不做验证,所有域名被信任
- setHtml(boolean) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置是否是HTML
- setHtml(boolean) - Method in class cn.hutool.extra.mail.Mail
-
设置是否是HTML
- setHttpProxy(String, int) - Method in class cn.hutool.http.HttpConfig
-
设置Http代理
- setHttpProxy(String, int) - Method in class cn.hutool.http.HttpRequest
-
设置Http代理
- setHttpsInfo(HostnameVerifier, SSLSocketFactory) - Method in class cn.hutool.http.HttpConnection
-
设置https请求参数
有些时候htts请求会出现com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl的实现,此为sun内部api,按照普通http请求处理
- setHyperlink(Hyperlink) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setId(T) - Method in interface cn.hutool.core.lang.tree.Node
-
设置ID
- setId(T) - Method in class cn.hutool.core.lang.tree.Tree
-
- setId(E) - Method in class cn.hutool.core.lang.tree.TreeBuilder
-
设置ID
- setId(T) - Method in class cn.hutool.core.lang.tree.TreeNode
-
- setIdKey(String) - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
设置ID对应的名称
- setIdle(long) - Method in class cn.hutool.system.oshi.CpuTicks
-
- setIgnoreCase(boolean) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置是否忽略字段的大小写
- setIgnoreCase(boolean) - Method in class cn.hutool.json.JSONConfig
-
设置是否忽略键的大小写
- setIgnoreElementError(boolean) - Method in class cn.hutool.core.convert.impl.ArrayConverter
-
设置是否忽略元素转换错误
- setIgnoreEmptyRow(boolean) - Method in class cn.hutool.poi.excel.ExcelReader
-
设置是否忽略空行
- setIgnoreEmptyRow(boolean) - Method in class cn.hutool.poi.excel.reader.AbstractSheetReader
-
设置是否忽略空行
- setIgnoreEmptyRow(boolean) - Method in class cn.hutool.poi.excel.reader.BeanSheetReader
-
设置是否忽略空行
- setIgnoreEOFError(boolean) - Method in class cn.hutool.http.HttpConfig
-
设置是否忽略响应读取时可能的EOF异常。
- setIgnoreEOFError(boolean) - Static method in class cn.hutool.http.HttpGlobalConfig
-
设置是否忽略响应读取时可能的EOF异常。
- setIgnoreError(boolean) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置是否忽略字段的注入错误
- setIgnoreError(boolean) - Method in class cn.hutool.json.JSONConfig
-
设置是否忽略转换过程中的异常
- setIgnoreLoadError(boolean) - Method in class cn.hutool.core.lang.ClassScanner
-
设置是否忽略loadClass时的错误
- setIgnoreNull(String, Object) - Method in class cn.hutool.core.lang.Dict
-
设置列,当键或值为null时忽略
- setIgnoreNull(String, Object) - Method in class cn.hutool.db.ActiveEntity
-
- setIgnoreNull(String, Object) - Method in class cn.hutool.db.Entity
-
- setIgnoreNullValue(boolean) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置是否忽略空值,当源对象的值为null时,true: 忽略而不注入此值,false: 注入null
- setIgnoreNullValue(boolean) - Method in class cn.hutool.json.JSONConfig
-
设置是否忽略null值
- setIgnoreProperties(String...) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置忽略的目标对象中属性列表,设置一个属性列表,不拷贝这些属性值
- setIgnoreProperties(Func1<P, R>...) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置忽略的目标对象中属性列表,设置一个属性列表,不拷贝这些属性值,Lambda方式
- setImage(Image) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
-
设置图片到剪贴板
- setImg(String) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置二维码中的Logo文件
- setImg(File) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置二维码中的Logo文件
- setImg(Image) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置二维码中的Logo
- setIncludeInterfaces(boolean) - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
-
是否允许扫描父接口
- setIncludeInterfaces(boolean) - Method in class cn.hutool.core.annotation.scanner.TypeAnnotationScanner
-
是否允许扫描父接口
- setIncludeSuperClass(boolean) - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
-
是否允许扫描父类
- setIncludeSuperClass(boolean) - Method in class cn.hutool.core.annotation.scanner.TypeAnnotationScanner
-
是否允许扫描父类
- setIndexInfoList(List<IndexInfo>) - Method in class cn.hutool.db.meta.Table
-
设置索引信息
- setIndexName(String) - Method in class cn.hutool.db.meta.IndexInfo
-
- setInitialize(boolean) - Method in class cn.hutool.core.lang.ClassScanner
-
设置是否在扫描到类时初始化类
- setInitialSize(int) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setInstanceFollowRedirects(boolean) - Method in class cn.hutool.http.HttpConnection
-
设置自动HTTP 30X跳转
- setInt(int, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setInterceptorOnRedirect(boolean) - Method in class cn.hutool.http.HttpConfig
-
重定向时是否使用拦截器
- setIoAction(IoAction<ByteBuffer>) - Method in class cn.hutool.socket.aio.AioServer
-
设置IO处理器,单例存在
- setIoWait(long) - Method in class cn.hutool.system.oshi.CpuTicks
-
- setIrq(long) - Method in class cn.hutool.system.oshi.CpuTicks
-
- setIssuedAt(Date) - Method in interface cn.hutool.jwt.RegisteredPayload
-
设置jwt的签发时间("iat")
- setIssuer(String) - Method in interface cn.hutool.jwt.RegisteredPayload
-
设置 jwt签发者("iss")的Payload值
- setIv(byte[]) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
设置偏移向量
- setIv(IvParameterSpec) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
设置偏移向量
- setJWTId(String) - Method in interface cn.hutool.jwt.RegisteredPayload
-
设置jwt的唯一身份标识("jti")
- setKeepAliveTime(long, TimeUnit) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置线程存活时间,即当池中线程多于初始大小时,多出的线程保留的时长
- setKeepAliveTime(long) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置线程存活时间,即当池中线程多于初始大小时,多出的线程保留的时长,单位纳秒
- setKeepStrings(boolean) - Method in class cn.hutool.json.xml.ParseConfig
-
设置是否保持值为String类型,如果为false
,则尝试转换为对应类型(numeric, boolean, string)
- setKeepTaskList(boolean) - Method in class cn.hutool.core.date.StopWatch
-
设置是否在停止后保留任务,false
表示停止运行后不保留任务
- setKey(K) - Method in class cn.hutool.core.lang.mutable.MutablePair
-
设置键
- setKey(Key) - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
- setKey(String) - Method in class cn.hutool.crypto.symmetric.RC4
-
设置密钥
- setKey(byte[]) - Method in class cn.hutool.jwt.JWT
-
设置密钥,如果头部指定了算法,直接使用,否则默认算法是:HS256(HmacSHA256)
- setKeyComparator(Comparator<String>) - Method in class cn.hutool.json.JSONConfig
-
设置键排序规则
键排序规则,null
表示不排序,不排序情况下,按照加入顺序排序
- setKeyId(String) - Method in class cn.hutool.jwt.JWTHeader
-
增加“kid”头信息
- setKeyManagers(KeyManager...) - Method in class cn.hutool.core.net.SSLContextBuilder
-
设置 JSSE key managers
- setKeyManagers(KeyManager...) - Method in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
Deprecated.
设置 JSSE key managers
- setLat(double) - Method in class cn.hutool.core.util.CoordinateUtil.Coordinate
-
设置纬度
- setLevel(int) - Method in class cn.hutool.core.compress.ZipWriter
-
设置压缩级别,可选1~9,-1表示默认
- setLevel(BetweenFormatter.Level) - Method in class cn.hutool.core.date.BetweenFormatter
-
设置格式化级别
- setLevel(Level) - Static method in class cn.hutool.log.dialect.console.ConsoleLog
-
设置自定义的日志显示级别
- setLevelFormatter(Function<BetweenFormatter.Level, String>) - Method in class cn.hutool.core.date.BetweenFormatter
-
设置级别格式化器
- setLineDelimiter(char[]) - Method in class cn.hutool.core.text.csv.CsvWriteConfig
-
设置换行符
- setLineDelimiter(char[]) - Method in class cn.hutool.core.text.csv.CsvWriter
-
设置换行符
- setLinkOperator(LogicalOperator) - Method in class cn.hutool.db.sql.Condition
-
设置与前一个Condition连接的逻辑运算符,可以是and或or
- setListener(CacheListener<K, V>) - Method in interface cn.hutool.cache.Cache
-
设置监听
- setListener(CacheListener<K, V>) - Method in class cn.hutool.cache.impl.AbstractCache
-
设置监听
- setListener(CacheListener<K, V>) - Method in class cn.hutool.cache.impl.WeakCache
-
- setLng(double) - Method in class cn.hutool.core.util.CoordinateUtil.Coordinate
-
设置经度
- setLoginTimeout(int) - Method in class cn.hutool.db.ds.DataSourceWrapper
-
- setLoginTimeout(int) - Method in class cn.hutool.db.ds.simple.AbstractDataSource
-
- setLogWriter(PrintWriter) - Method in class cn.hutool.db.ds.DataSourceWrapper
-
- setLogWriter(PrintWriter) - Method in class cn.hutool.db.ds.simple.AbstractDataSource
-
- setLong(int, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setLowValue(long) - Method in class cn.hutool.core.lang.hash.Number128
-
设置低位值
- setMargin(Integer) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置边距
- setMatchSecond(boolean) - Method in class cn.hutool.cron.CronConfig
-
设置是否支持秒匹配,默认不使用
- setMatchSecond(boolean) - Static method in class cn.hutool.cron.CronUtil
-
设置是否支持秒匹配
此方法用于定义是否使用秒匹配模式,如果为true,则定时任务表达式中的第一位为秒,否则为分,默认是分
- setMatchSecond(boolean) - Method in class cn.hutool.cron.Scheduler
-
设置是否支持秒匹配,默认不使用
- setMaxActive(int) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setMaxColor(int) - Method in class cn.hutool.captcha.GifCaptcha
-
设置验证码字符颜色
- setMaxDepth(int) - Method in class cn.hutool.core.io.watch.WatchMonitor
-
当监听目录时,监听目录的最大深度
当设置值为1(或小于1)时,表示不递归监听子目录
例如设置:
maxDepth <= 1 表示只监听当前目录
maxDepth = 2 表示监听当前目录以及下层目录
maxDepth = 3 表示监听当前目录以及下层
- setMaxEntrySize(long) - Static method in class cn.hutool.poi.GlobalPoiConfig
-
设置单个Zip文件中最大文件大小,默认为4GB,即32位zip格式的最大值。
- setMaxFieldSize(int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setMaxFileSize(long) - Method in class cn.hutool.core.net.multipart.UploadSetting
-
设定最大文件大小,-1表示无限制
- setMaxNestingDepth(int) - Method in class cn.hutool.json.xml.ParseConfig
-
设置最大嵌套深度,用于解析时限制解析层级,当大于这个层级时抛出异常,-1表示无限制
- setMaxPoolSize(int) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置最大池大小(允许同时执行的最大线程数)
- setMaxRedirectCount(int) - Method in class cn.hutool.http.HttpConfig
-
设置最大重定向次数
如果次数小于1则表示不重定向,大于等于1表示打开重定向
- setMaxRedirectCount(int) - Static method in class cn.hutool.http.HttpGlobalConfig
-
设置默认全局默认的最大重定向次数,如设置0表示不重定向
如果设置为1,表示重定向一次,即请求两次
- setMaxRedirectCount(int) - Method in class cn.hutool.http.HttpRequest
-
设置最大重定向次数
如果次数小于1则表示不重定向,大于等于1表示打开重定向
- setMaxRows(int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setMaxSizeDiff(int) - Method in class cn.hutool.core.compress.ZipReader
-
设置检查ZipBomb文件差异倍数,-1表示不检查ZipBomb
- setMaxTextSize(long) - Static method in class cn.hutool.poi.GlobalPoiConfig
-
设置解压前文本的最大字符数,超过抛出异常。
- setMaxWait(long) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setMemoryThreshold(int) - Method in class cn.hutool.core.net.multipart.UploadSetting
-
设定文件保存到内存的边界
如果文件大小小于这个边界,将保存于内存中,否则保存至临时目录中
- setMergedRegionStyle(Cell, CellStyle) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
设置合并单元格样式,如果不是则不设置
- setMessage(String) - Method in class cn.hutool.extra.validation.BeanValidationResult.ErrorMessage
-
- setMethod(Method) - Method in class cn.hutool.http.HttpConnection
-
设置请求方法
- setMethod(Method) - Method in class cn.hutool.http.HttpRequest
-
设置请求方法
- setMethod(Name, Map<String, Object>, boolean) - Method in class cn.hutool.http.webservice.SoapClient
-
设置请求方法
- setMethod(QName, Map<String, Object>, boolean) - Method in class cn.hutool.http.webservice.SoapClient
-
设置请求方法
- setMethod(String) - Method in class cn.hutool.http.webservice.SoapClient
-
设置请求方法
方法名自动识别前缀,前缀和方法名使用“:”分隔
当识别到前缀后,自动添加xmlns属性,关联到默认的namespaceURI
- setMethod(String, String) - Method in class cn.hutool.http.webservice.SoapClient
-
设置请求方法
方法名自动识别前缀,前缀和方法名使用“:”分隔
当识别到前缀后,自动添加xmlns属性,关联到传入的namespaceURI
- setMethod(QName) - Method in class cn.hutool.http.webservice.SoapClient
-
设置请求方法
- setMinColor(int) - Method in class cn.hutool.captcha.GifCaptcha
-
设置验证码字符颜色
- setMinIdle(int) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setMinimalDaysInFirstWeek(int) - Method in class cn.hutool.core.date.DateTime
-
设置第一周最少天数
- setMinInflateRatio(double) - Static method in class cn.hutool.poi.GlobalPoiConfig
-
设置解压时的最小压缩比例
为了避免`Zip Bomb`,POI中设置了最小压缩比例,这个比例为:
压缩后的大小/解压后的大小
POI的默认值是0.01(即最小压缩到1%),如果文档中的文件压缩比例小于这个值,就会报错。
- setMobile(boolean) - Method in class cn.hutool.http.useragent.UserAgent
-
设置是否为移动平台
- setMode(SM2Engine.Mode) - Method in class cn.hutool.crypto.asymmetric.SM2
-
设置SM2模式,旧版是C1C2C3,新版本是C1C3C2
- setMode(CipherMode) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
初始化模式并清空数据
- setMode(FtpMode) - Method in class cn.hutool.extra.ftp.Ftp
-
设置FTP连接模式,可选主动和被动模式
- setModifiers(WatchEvent.Modifier[]) - Method in class cn.hutool.core.io.watch.WatchServer
-
设置监听选项,例如监听频率等,可设置项包括:
1、com.sun.nio.file.StandardWatchEventKinds
2、com.sun.nio.file.SensitivityWatchEventModifier
- setMutable(boolean) - Method in class cn.hutool.core.date.DateTime
-
- setName(CharSequence) - Method in interface cn.hutool.core.lang.tree.Node
-
设置节点标签名称
- setName(CharSequence) - Method in class cn.hutool.core.lang.tree.Tree
-
- setName(CharSequence) - Method in class cn.hutool.core.lang.tree.TreeBuilder
-
设置节点标签名称
- setName(CharSequence) - Method in class cn.hutool.core.lang.tree.TreeNode
-
- setName(String) - Method in class cn.hutool.db.meta.Column
-
设置列名
- setNameKey(String) - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
设置节点名对应的名称
- setNamePrefix(String) - Method in class cn.hutool.core.thread.ThreadFactoryBuilder
-
设置线程名前缀,例如设置前缀为hutool-thread-,则线程名为hutool-thread-1之类。
- setNamespaceAware(boolean) - Static method in class cn.hutool.core.util.XmlUtil
-
设置是否打开命名空间支持,默认打开
- setNatureKeyComparator() - Method in class cn.hutool.json.JSONConfig
-
设置自然排序,即按照字母顺序排序
- setNCharacterStream(int, Reader, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNCharacterStream(int, Reader) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNClob(int, NClob) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNClob(int, Reader, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNClob(int, Reader) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNegative(boolean) - Method in class cn.hutool.core.text.finder.PatternFinder
-
- setNegative(boolean) - Method in class cn.hutool.core.text.finder.TextFinder
-
设置是否反向查找,true
表示从后向前查找
- setNetworkTimeout(Executor, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setNice(long) - Method in class cn.hutool.system.oshi.CpuTicks
-
- setNonUnique(boolean) - Method in class cn.hutool.db.meta.IndexInfo
-
- setNotBefore(Date) - Method in interface cn.hutool.jwt.RegisteredPayload
-
设置不可用时间点界限("nbf")的Payload值
- setNString(int, String) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNull(int, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNull(int, int, String) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNullable(boolean) - Method in class cn.hutool.db.meta.Column
-
设置是否为可空
- setNullMode(StrJoiner.NullMode) - Method in class cn.hutool.core.text.StrJoiner
-
设置null
元素处理逻辑
- setObj(T) - Method in class cn.hutool.core.lang.WeightRandom.WeightObj
-
设置对象
- setObject(int, Object, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setObject(int, Object) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setObject(int, Object, int, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setOnce(String, Object, Filter<MutablePair<String, Object>>) - Method in class cn.hutool.json.JSONObject
-
一次性Put 键值对,如果key已经存在抛出异常,如果键值中有null值,忽略
- setOneAsFirstPageNo() - Static method in class cn.hutool.core.util.PageUtil
-
设置首页页码为1
当设置为1时,页码1表示第一页,开始位置为0
- setOnlyAlias(boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置是否只保留别名中的字段值,如果为true,则不设置alias的字段将不被输出,false表示原样输出
Bean中设置@Alias时,setOnlyAlias是无效的,这个参数只和addHeaderAlias配合使用,原因是注解是Bean内部的操作,而addHeaderAlias是Writer的操作,不互通。
- setOnlyCopyFile(boolean) - Method in class cn.hutool.core.io.file.FileCopier
-
设置当拷贝来源是目录时是否只拷贝文件而忽略子目录
- setOperator(String) - Method in class cn.hutool.db.sql.Condition
-
设置运算符
大于号,小于号,等于号 等
- setOption(SocketOption<T>, T) - Method in class cn.hutool.socket.aio.AioClient
-
- setOption(SocketOption<T>, T) - Method in class cn.hutool.socket.aio.AioServer
-
- setOrAppend(List<T>, int, T) - Static method in class cn.hutool.core.collection.CollUtil
-
设置或增加元素。
- setOrAppend(List<T>, int, T) - Static method in class cn.hutool.core.collection.ListUtil
-
设置或增加元素。
- setOrAppend(T[], int, T) - Static method in class cn.hutool.core.util.ArrayUtil
-
将元素值设置为数组的某个位置,当给定的index大于数组长度,则追加
- setOrAppend(Object, int, Object) - Static method in class cn.hutool.core.util.ArrayUtil
-
将元素值设置为数组的某个位置,当给定的index大于数组长度,则追加
替换时返回原数组,追加时返回新数组
- setOrder(Order...) - Method in class cn.hutool.db.Page
-
设置排序
- setOrder(boolean) - Method in class cn.hutool.json.JSONConfig
-
- setOrPadding(List<T>, int, T) - Static method in class cn.hutool.core.collection.ListUtil
-
在指定位置设置元素。
- setOrPadding(List<T>, int, T, T) - Static method in class cn.hutool.core.collection.ListUtil
-
在指定位置设置元素。
- setOrPadding(List<T>, int, T, T, int) - Static method in class cn.hutool.core.collection.ListUtil
-
在指定位置设置元素。
- setOs(OS) - Method in class cn.hutool.http.useragent.UserAgent
-
设置系统类型
- setOsVersion(String) - Method in class cn.hutool.http.useragent.UserAgent
-
设置系统版本
- setOverride(boolean) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置是否覆盖目标值,如果不覆盖,会先读取目标对象的值,为null
则写,否则忽略。
- setOverride(boolean) - Method in class cn.hutool.core.io.file.FileCopier
-
设置是否覆盖目标文件
- setPage(int) - Method in class cn.hutool.db.PageResult
-
设置页码,0表示第一页
- setPage(Page) - Method in class cn.hutool.db.sql.Query
-
设置分页对象
- setPageNumber(int) - Method in class cn.hutool.db.Page
-
设置页码,0表示第一页
- setPageSize(int) - Method in class cn.hutool.db.Page
-
设置每页结果数
- setPageSize(int) - Method in class cn.hutool.db.PageResult
-
设置每页结果数
- setParam(PreparedStatement, int, Object) - Static method in class cn.hutool.db.StatementUtil
-
- setParam(String, Object) - Method in class cn.hutool.http.webservice.SoapClient
-
设置方法参数,使用方法的前缀
- setParam(String, Object, boolean) - Method in class cn.hutool.http.webservice.SoapClient
-
设置方法参数
- setParameter(AlgorithmParameterSpec) - Method in class cn.hutool.crypto.asymmetric.Sign
-
设置签名的参数
- setParams(AlgorithmParameterSpec) - Method in class cn.hutool.crypto.CipherWrapper
-
- setParams(AlgorithmParameterSpec) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
- setParams(Map<String, Object>) - Method in class cn.hutool.http.webservice.SoapClient
-
批量设置参数,使用方法的前缀
- setParams(Map<String, Object>, boolean) - Method in class cn.hutool.http.webservice.SoapClient
-
批量设置参数
- setParent(Tree<T>) - Method in class cn.hutool.core.lang.tree.Tree
-
设置父节点
- setParentId(T) - Method in interface cn.hutool.core.lang.tree.Node
-
设置父节点ID
- setParentId(T) - Method in class cn.hutool.core.lang.tree.Tree
-
- setParentId(E) - Method in class cn.hutool.core.lang.tree.TreeBuilder
-
设置父节点ID
- setParentId(T) - Method in class cn.hutool.core.lang.tree.TreeNode
-
- setParentIdKey(String) - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
设置父点对应的名称
- setPass(String) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setPass(String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- setPass(String) - Method in class cn.hutool.extra.mail.MailAccount
-
设置密码
- setPassword(String) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setPassword(String) - Method in class cn.hutool.extra.ssh.Connector
-
设定密码
- setPath(UrlPath) - Method in class cn.hutool.core.net.url.UrlBuilder
-
设置路径,例如/aa/bb/cc,将覆盖之前所有的path相关设置
- setPath(String) - Method in class cn.hutool.extra.template.TemplateConfig
-
设置模板路径,如果ClassPath或者WebRoot模式,则表示相对路径
- setPathSeparator(String) - Method in class cn.hutool.core.text.AntPathMatcher
-
设置路径分隔符
- setPattern(CronPattern) - Method in class cn.hutool.cron.task.CronTask
-
设置新的定时表达式
- setPayload(String, Object) - Method in class cn.hutool.jwt.JWT
-
设置JWT载荷信息
- setPayload(String, Object) - Method in class cn.hutool.jwt.JWTPayload
-
- setPayload(String, Object) - Method in interface cn.hutool.jwt.RegisteredPayload
-
设置Payload值
- setPixels() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Creates new frame image from current data (and previous
frames as specified by their disposition codes).
- setPk(boolean) - Method in class cn.hutool.db.meta.Column
-
设置是否主键
- setPkNames(Set<String>) - Method in class cn.hutool.db.meta.Table
-
设置主键列表
- setPlaceHolder(boolean) - Method in class cn.hutool.db.sql.Condition
-
设置是否使用条件占位符
- setPlatform(Platform) - Method in class cn.hutool.http.useragent.UserAgent
-
设置平台类型
- setPoolable(boolean) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setPort(int) - Method in class cn.hutool.core.net.url.UrlBuilder
-
设置端口,默认-1
- setPort(int) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setPort(int) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
自定义默认端口,如果不设置,使用默认端口:21
- setPort(Integer) - Method in class cn.hutool.extra.mail.MailAccount
-
设置SMTP服务端口
- setPort(int) - Method in class cn.hutool.extra.ssh.Connector
-
设定端口号
- setPositionBaseCentre(boolean) - Method in class cn.hutool.core.img.Img
-
计算x,y坐标的时候是否从中心做为原始坐标开始计算
- setPrefix(CharSequence) - Method in class cn.hutool.core.text.StrJoiner
-
设置前缀
- setPreWrapQuote(Character) - Method in class cn.hutool.db.sql.Wrapper
-
设置前置包装的符号
- setPriority(int) - Method in class cn.hutool.core.thread.ThreadFactoryBuilder
-
设置线程优先级
- setPrivateKey(PrivateKey) - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
设置私钥
- setPrivateKey(PrivateKey) - Method in class cn.hutool.crypto.asymmetric.SM2
-
- setPrivateKeyParams(ECPrivateKeyParameters) - Method in class cn.hutool.crypto.asymmetric.SM2
-
设置私钥参数
- setProfile(String) - Static method in class cn.hutool.setting.profile.GlobalProfile
-
设置全局环境
- setProfile(String) - Method in class cn.hutool.setting.profile.Profile
-
设置环境
- setPropertiesFilter(BiPredicate<Field, Object>) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
- setProperty(Object, String, Object) - Static method in class cn.hutool.core.bean.BeanUtil
-
解析Bean中的属性值
- setProperty(String, Object) - Method in class cn.hutool.setting.dialect.Props
-
设置值,无给定键创建之。
- setPropertyName(String) - Method in class cn.hutool.extra.validation.BeanValidationResult.ErrorMessage
-
- setProtocol(String) - Method in class cn.hutool.core.net.SSLContextBuilder
-
设置协议。
- setProtocol(String) - Method in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
Deprecated.
设置协议
- setProxy(Proxy) - Method in class cn.hutool.http.HttpConfig
-
设置代理
- setProxy(Proxy) - Method in class cn.hutool.http.HttpRequest
-
设置代理
- setPublicKey(PublicKey) - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
设置公钥
- setPublicKey(PublicKey) - Method in class cn.hutool.crypto.asymmetric.SM2
-
- setPublicKeyParams(ECPublicKeyParameters) - Method in class cn.hutool.crypto.asymmetric.SM2
-
设置公钥参数
- setPurgeListener(BiConsumer<Reference<? extends K>, V>) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
设置对象回收清除监听
- setQrVersion(Integer) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置二维码中的信息量,可设置0-40的整数,二维码图片也会根据qrVersion而变化,0表示根据传入信息自动变化
- setQuality(int) - Method in class cn.hutool.captcha.GifCaptcha
-
设置图像的颜色量化(转换质量 由GIF规范允许的最大256种颜色)。
- setQuality(int) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets quality of color quantization (conversion of images
to the maximum 256 colors allowed by the GIF specification).
- setQuality(double) - Method in class cn.hutool.core.img.Img
-
设置图片输出质量,数字为0~1(不包括0和1)表示质量压缩比,除此数字外设置表示不压缩
- setQuality(float) - Method in class cn.hutool.core.img.Img
-
设置图片输出质量,数字为0~1(不包括0和1)表示质量压缩比,除此数字外设置表示不压缩
- setQuery(UrlQuery) - Method in class cn.hutool.core.net.url.UrlBuilder
-
设置查询语句,例如a=1&b=2,将覆盖之前所有的query相关设置
- setQueryTimeout(int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setRandom(SecureRandom) - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
设置随机数生成器,可自定义随机数种子
- setRandom(SecureRandom) - Method in class cn.hutool.crypto.CipherWrapper
-
设置随机数生成器,可自定义随机数种子
- setRandom(SecureRandom) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
设置随机数生成器,可自定义随机数种子
- setRange(Part, int, int) - Method in class cn.hutool.cron.pattern.CronPatternBuilder
-
设置区间
- setRatio(int) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置二维码中的Logo缩放的比例系数,如5表示长宽最小值的1/5
- setReadBufferSize(int) - Method in class cn.hutool.socket.SocketConfig
-
设置读取缓存大小
- setReadOnly(boolean) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setReadTimeout(int) - Method in class cn.hutool.http.HttpConfig
-
设置连接超时,单位:毫秒
- setReadTimeout(int) - Method in class cn.hutool.http.HttpConnection
-
设置读取超时
- setReadTimeout(int) - Method in class cn.hutool.http.HttpRequest
-
设置连接超时,单位:毫秒
- setReadTimeout(int) - Method in class cn.hutool.http.webservice.SoapClient
-
设置连接超时,单位:毫秒
- setReadTimeout(long) - Method in class cn.hutool.socket.SocketConfig
-
设置读取超时时长,小于等于0表示默认
- setRef(int, Ref) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setRemoveListener(Consumer<Map.Entry<K, V>>) - Method in class cn.hutool.core.map.FixedLinkedHashMap
-
设置自定义移除监听
- setRepeat(int) - Method in class cn.hutool.captcha.GifCaptcha
-
设置GIF帧应该播放的次数。
- setRepeat(int) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets the number of times the set of GIF frames
should be played.
- setReply(String...) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置多个回复地址(reply-to)
- setReply(String...) - Method in class cn.hutool.extra.mail.Mail
-
设置多个回复地址(reply-to)
- setResourceMode(TemplateConfig.ResourceMode) - Method in class cn.hutool.extra.template.TemplateConfig
-
设置模板资源加载方式
- setRest(boolean) - Method in class cn.hutool.http.HttpRequest
-
设置是否rest模式
rest模式下get请求不会把参数附加到URL之后
- setReturnGeneratedKey(boolean) - Static method in class cn.hutool.db.GlobalDbConfig
-
设置全局是否INSERT语句中默认返回主键(默认返回主键)
如果false,则在Insert操作后,返回影响行数
主要用于某些数据库不支持返回主键的情况
- setReturnGeneratedKeyGlobal(boolean) - Static method in class cn.hutool.db.DbUtil
-
设置全局是否INSERT语句中默认返回主键(默认返回主键)
如果false,则在Insert操作后,返回影响行数
主要用于某些数据库不支持返回主键的情况
- setReverseSort(int) - Method in class cn.hutool.core.comparator.ComparatorChain
-
更改指定位置的排序方式为反序
- setRoot(String) - Method in class cn.hutool.http.server.SimpleServer
-
设置根目录,默认的页面从root目录中读取解析返回
- setRoot(File) - Method in class cn.hutool.http.server.SimpleServer
-
设置根目录,默认的页面从root目录中读取解析返回
- setRound(double) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置二维码中的Logo圆角弧度
- setRowHandler(RowHandler) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
设置行处理器
- setRowHandler(RowHandler) - Method in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
设置行处理器
- setRowHeight(int, int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置行高,值为一个点的高度
- setRowId(int, RowId) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setRowStyle(int, CellStyle) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置行样式
- setRowStyleIfHasData(int, CellStyle) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- setRunner(SqlConnRunner) - Method in class cn.hutool.db.AbstractDb
-
- setSalt(byte[]) - Method in class cn.hutool.crypto.digest.Digester
-
设置加盐内容
- setSaltPosition(int) - Method in class cn.hutool.crypto.digest.Digester
-
设置加盐的位置,只有盐值存在时有效
加盐的位置指盐位于数据byte数组中的位置,例如:
data: 0123456
则当saltPosition = 2时,盐位于data的1和2中间,即第二个空隙,即:
data: 01[salt]23456
- setSavepoint() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setSavepoint(String) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setSavepoint() - Method in class cn.hutool.db.Session
-
设置保存点
- setSavepoint(String) - Method in class cn.hutool.db.Session
-
设置保存点
- setSBCMode(boolean) - Method in class cn.hutool.core.lang.ConsoleTable
-
设置是否使用全角模式
当包含中文字符时,输出的表格可能无法对齐,因此当设置为全角模式时,全部字符转为全角。
- setScanSameSignatureMethod(boolean) - Method in class cn.hutool.core.annotation.scanner.MethodAnnotationScanner
-
设置是否扫描类层级结构中具有相同方法签名的方法
- setSchema(String) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setSchema(String) - Method in class cn.hutool.db.meta.IndexInfo
-
- setSchema(String) - Method in class cn.hutool.db.meta.Table
-
设置schema
- setScheme(String) - Method in class cn.hutool.core.net.url.UrlBuilder
-
设置协议,例如http
- setSecondValue(Object) - Method in class cn.hutool.db.sql.Condition
-
设置between 类型中第二个值
- setSecureRandom(SecureRandom) - Method in class cn.hutool.core.net.SSLContextBuilder
-
设置 SecureRandom
- setSecureRandom(SecureRandom) - Method in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
Deprecated.
设置 SecureRandom
- setSeparator(String) - Method in class cn.hutool.core.date.BetweenFormatter
-
设置分隔符
- setServerLanguageCode(String) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setSetting(Setting) - Method in class cn.hutool.db.nosql.mongo.MongoDS
-
设定MongoDB配置文件
- setShapeHint(SymbolShapeHint) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置DATA_MATRIX的符号形状
- setSheet(String) - Method in class cn.hutool.poi.excel.ExcelBase
-
自定义需要读取或写出的Sheet,如果给定的sheet不存在,创建之。
- setSheet(int) - Method in class cn.hutool.poi.excel.ExcelBase
-
自定义需要读取或写出的Sheet,如果给定的sheet不存在,创建之(命名为默认)
在读取中,此方法用于切换读取的sheet,在写出时,此方法用于新建或者切换sheet
- setSheet(Sheet) - Method in class cn.hutool.poi.excel.ExcelBase
-
设置自定义Sheet
- setSheet(int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- setSheet(String) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- setShort(int, short) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setShowSql(boolean, boolean, boolean, Level) - Static method in class cn.hutool.db.GlobalDbConfig
-
设置全局配置:是否通过debug日志显示SQL
- setShowSqlGlobal(Setting) - Static method in class cn.hutool.db.DbUtil
-
从配置文件中读取SQL打印选项,读取后会去除相应属性
- setShowSqlGlobal(boolean, boolean, boolean, Level) - Static method in class cn.hutool.db.DbUtil
-
设置全局配置:是否通过debug日志显示SQL
- setSignature(Signature) - Method in class cn.hutool.crypto.asymmetric.Sign
-
设置签名
- setSigner(String, byte[]) - Method in class cn.hutool.jwt.JWT
-
设置签名算法
- setSigner(String, Key) - Method in class cn.hutool.jwt.JWT
-
设置签名算法
- setSigner(String, KeyPair) - Method in class cn.hutool.jwt.JWT
-
设置非对称签名算法
- setSigner(JWTSigner) - Method in class cn.hutool.jwt.JWT
-
设置签名算法
- setSize(int, int) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets the GIF frame size.
- setSize(int) - Method in class cn.hutool.db.meta.Column
-
设置大小或数据长度
- setSkipEmptyRows(boolean) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
设置是否跳过空白行,默认true
- setSkipEmptyRows(boolean) - Method in class cn.hutool.core.text.csv.CsvReadConfig
-
设置是否跳过空白行,默认true
- setSocketFactoryClass(String) - Method in class cn.hutool.extra.mail.MailAccount
-
设置指定实现javax.net.SocketFactory接口的类的名称,这个类将被用于创建SMTP的套接字
- setSocketFactoryFallback(boolean) - Method in class cn.hutool.extra.mail.MailAccount
-
如果设置为true,未能创建一个套接字使用指定的套接字工厂类将导致使用java.net.Socket创建的套接字类, 默认值为true
- setSocketFactoryPort(int) - Method in class cn.hutool.extra.mail.MailAccount
-
指定的端口连接到在使用指定的套接字工厂。
- setSoftIrq(long) - Method in class cn.hutool.system.oshi.CpuTicks
-
- setSoTimeout(long) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setSplitlongparameters(boolean) - Method in class cn.hutool.extra.mail.MailAccount
-
设置对于超长参数是否切分为多份,默认为false(国内邮箱附件不支持切分的附件名)
注意此项为全局设置,此项会调用
System.setProperty("mail.mime.splitlongparameters", true)
- setSQLXML(int, SQLXML) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setSrc(T) - Method in class cn.hutool.core.lang.copier.SrcToDestCopier
-
设置源
- setSsl(SslConfiguration) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
使用SSL安全连接,可以使用SslConfigurationFactory创建SslConfiguration
- setSsl(File, String) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
使用SSL安全连接
- setSslEnable(Boolean) - Method in class cn.hutool.extra.mail.MailAccount
-
设置是否使用SSL安全连接
- setSSLProtocol(String) - Method in class cn.hutool.http.HttpConfig
-
- setSSLProtocol(String) - Method in class cn.hutool.http.HttpRequest
-
- setSslProtocols(String) - Method in class cn.hutool.extra.mail.MailAccount
-
设置SSL协议,多个协议用空格分隔
- setSSLSocketFactory(SSLSocketFactory) - Method in class cn.hutool.http.HttpConfig
-
设置SSLSocketFactory
只针对HTTPS请求,如果不设置,使用默认的SSLSocketFactory
默认SSLSocketFactory为:SSLSocketFactoryBuilder.create().build();
- setSSLSocketFactory(SSLSocketFactory) - Method in class cn.hutool.http.HttpRequest
-
设置SSLSocketFactory
只针对HTTPS请求,如果不设置,使用默认的SSLSocketFactory
默认SSLSocketFactory为:SSLSocketFactoryBuilder.create().build();
- setStarttlsEnable(boolean) - Method in class cn.hutool.extra.mail.MailAccount
-
设置是否使用STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。
- setSteal(long) - Method in class cn.hutool.system.oshi.CpuTicks
-
- setStopOnDelete(boolean) - Method in class cn.hutool.core.io.file.Tailer
-
设置删除文件后是否退出并抛出异常
- setStr(String) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
-
设置字符串文本到剪贴板
- setStr(String, String) - Method in class cn.hutool.db.nosql.redis.RedisDS
-
从Redis中设置值
- setStreams(InputStream, OutputStream) - Method in class cn.hutool.http.server.HttpExchangeWrapper
-
- setStrict(boolean) - Method in class cn.hutool.core.net.url.UrlQuery
-
设置是否严格模式
- setString(int, String) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setStripTrailingZeros(boolean) - Method in class cn.hutool.json.JSONConfig
-
设置是否去除末尾多余0,例如如果为true,5.0返回5
- setStyle(CellStyle, String) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- setStyle(CellStyle, int, int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- setStyleSet(StyleSet) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置样式集,如果不使用样式,传入null
- setSubject(String) - Method in interface cn.hutool.jwt.RegisteredPayload
-
设置jwt所面向的用户("sub")的Payload值
- setSuccess(boolean) - Method in class cn.hutool.extra.validation.BeanValidationResult
-
设置是否通过
- setSuffix(CharSequence) - Method in class cn.hutool.core.text.StrJoiner
-
设置后缀
- setSufWrapQuote(Character) - Method in class cn.hutool.db.sql.Wrapper
-
设置后置包装的符号
- setSys(double) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setSystemKey(String) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setTableName(String) - Method in class cn.hutool.db.ActiveEntity
-
- setTableName(String) - Method in class cn.hutool.db.Entity
-
设置表名
- setTableName(String) - Method in class cn.hutool.db.meta.Column
-
设置表名
- setTableName(String) - Method in class cn.hutool.db.meta.IndexInfo
-
- setTableName(String) - Method in class cn.hutool.db.meta.Table
-
设置表名
- setTableNames(String...) - Method in class cn.hutool.db.sql.Query
-
设置表名
- setTargetImageType(String) - Method in class cn.hutool.core.img.Img
-
设置目标图片文件格式,用于写出
- setter - Variable in class cn.hutool.core.bean.PropDesc
-
Setter方法
- setText(CharSequence) - Method in class cn.hutool.core.text.finder.PatternFinder
-
- setText(CharSequence) - Method in class cn.hutool.core.text.finder.TextFinder
-
设置被查找的文本
- setTextAlpha(float) - Method in class cn.hutool.captcha.AbstractCaptcha
-
设置文字透明度
- setTextDelimiter(char) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
设置 文本分隔符,文本包装符,默认双引号'"'
- setTextDelimiter(char) - Method in class cn.hutool.core.text.csv.CsvConfig
-
设置 文本分隔符,文本包装符,默认双引号'"'
- setThreadExecutor(ExecutorService) - Method in class cn.hutool.cron.Scheduler
-
设置自定义线程池
自定义线程池时须考虑方法执行的线程是否为守护线程
- setThreadFactory(ThreadFactory) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置线程工厂,用于自定义线程创建
- setThreadFactory(ThreadFactory) - Method in class cn.hutool.core.thread.ThreadFactoryBuilder
-
设置用于创建基础线程的线程工厂
- setThreadPoolSize(int) - Method in class cn.hutool.socket.SocketConfig
-
设置共享线程池大小,此线程池用于接收和处理用户连接
- setTicks(CpuTicks) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setTime(long) - Method in class cn.hutool.core.date.DateTime
-
- setTime(int, Time) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setTime(int, Time, Calendar) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setTimeout(long) - Method in class cn.hutool.extra.mail.MailAccount
-
设置SMTP超时时长,单位毫秒,缺省值不超时
- setTimeout(int) - Static method in class cn.hutool.http.HttpGlobalConfig
-
设置默认的连接和读取超时时长
-1: 含义,永不超时。
- setTimestamp(int, Timestamp) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setTimestamp(int, Timestamp, Calendar) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setTimeZone(TimeZone) - Method in class cn.hutool.core.date.DateTime
-
设置时区
- setTimeZone(TimeZone) - Method in class cn.hutool.cron.CronConfig
-
设置时区
- setTimeZone(TimeZone) - Method in class cn.hutool.cron.Scheduler
-
设置时区
- Setting - Class in cn.hutool.setting
-
设置工具类。
- Setting() - Constructor for class cn.hutool.setting.Setting
-
空构造
- Setting(String) - Constructor for class cn.hutool.setting.Setting
-
构造
- Setting(String, boolean) - Constructor for class cn.hutool.setting.Setting
-
构造
- Setting(String, Charset, boolean) - Constructor for class cn.hutool.setting.Setting
-
构造,使用相对于Class文件根目录的相对路径
- Setting(File, Charset, boolean) - Constructor for class cn.hutool.setting.Setting
-
构造
- Setting(String, Class<?>, Charset, boolean) - Constructor for class cn.hutool.setting.Setting
-
构造,相对于classes读取文件
- Setting(URL, Charset, boolean) - Constructor for class cn.hutool.setting.Setting
-
构造
- Setting(Resource, Charset, boolean) - Constructor for class cn.hutool.setting.Setting
-
构造
- SettingLoader - Class in cn.hutool.setting
-
Setting文件加载器
- SettingLoader(GroupedMap) - Constructor for class cn.hutool.setting.SettingLoader
-
构造
- SettingLoader(GroupedMap, Charset, boolean) - Constructor for class cn.hutool.setting.SettingLoader
-
构造
- SettingRuntimeException - Exception in cn.hutool.setting
-
设置异常
- SettingRuntimeException(Throwable) - Constructor for exception cn.hutool.setting.SettingRuntimeException
-
- SettingRuntimeException(String) - Constructor for exception cn.hutool.setting.SettingRuntimeException
-
- SettingRuntimeException(String, Object...) - Constructor for exception cn.hutool.setting.SettingRuntimeException
-
- SettingRuntimeException(String, Throwable) - Constructor for exception cn.hutool.setting.SettingRuntimeException
-
- SettingRuntimeException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.setting.SettingRuntimeException
-
- SettingRuntimeException(Throwable, String, Object...) - Constructor for exception cn.hutool.setting.SettingRuntimeException
-
- SettingUtil - Class in cn.hutool.setting
-
Setting工具类
提供静态方法获取配置文件
- SettingUtil() - Constructor for class cn.hutool.setting.SettingUtil
-
- setTitle(String) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置标题
- setTitle(String) - Method in class cn.hutool.extra.mail.Mail
-
设置标题
- setTmpUploadPath(String) - Method in class cn.hutool.core.net.multipart.UploadSetting
-
设定上传文件的临时目录,null表示使用系统临时目录
- setTos(String...) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置多个收件人
- setTos(String...) - Method in class cn.hutool.extra.mail.Mail
-
设置多个收件人
- setTotal(int) - Method in class cn.hutool.db.PageResult
-
设置总数
- setToTal(double) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setTotalPage(int) - Method in class cn.hutool.db.PageResult
-
设置总页数
- setTransactionIsolation(int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setTransactionIsolation(int) - Method in class cn.hutool.db.Session
-
设置事务的隔离级别
Connection.TRANSACTION_NONE 驱动不支持事务
Connection.TRANSACTION_READ_UNCOMMITTED 允许脏读、不可重复读和幻读
Connection.TRANSACTION_READ_COMMITTED 禁止脏读,但允许不可重复读和幻读
Connection.TRANSACTION_REPEATABLE_READ 禁止脏读和不可重复读,单运行幻读
Connection.TRANSACTION_SERIALIZABLE 禁止脏读、不可重复读和幻读
- setTransientSupport(boolean) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置是否支持transient关键字修饰和@Transient注解,如果支持,被修饰的字段或方法对应的字段将被忽略。
- setTransientSupport(boolean) - Method in class cn.hutool.json.JSONConfig
-
设置是否支持transient关键字修饰和@Transient注解,如果支持,被修饰的字段或方法对应的字段将被忽略。
- setTransparent(Color) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets the transparent color for the last added frame
and any subsequent frames.
- setTransparent(Color, boolean) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets the transparent color for the last added frame
and any subsequent frames.
- setTrimField(boolean) - Method in class cn.hutool.core.text.csv.CsvReadConfig
-
- setTrimTokens(boolean) - Method in class cn.hutool.core.text.AntPathMatcher
-
设置是否去除路径节点两边的空白符,默认为false
- setTrustAnyHost(boolean) - Static method in class cn.hutool.http.HttpGlobalConfig
-
是否信任所有Host
见:https://github.com/dromara/hutool/issues/2042
- setTrustManagers(TrustManager...) - Method in class cn.hutool.core.net.SSLContextBuilder
-
设置信任信息
- setTrustManagers(TrustManager...) - Method in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
Deprecated.
设置信任信息
- setTryCount(int) - Method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
设置重试次数
- setType(int) - Method in class cn.hutool.db.meta.Column
-
设置类型,对应java.sql.Types中的类型
- setTypeMap(Map<String, Class<?>>) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setTypeName(String) - Method in class cn.hutool.db.meta.Column
-
设置类型名称
- setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class cn.hutool.core.thread.ThreadFactoryBuilder
-
设置未捕获异常的处理方式
- setUnicodeStream(int, InputStream, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
Deprecated.
- setUrl(String) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setUrl(String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- setURL(int, URL) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setUrl(String) - Method in class cn.hutool.http.HttpRequest
-
设置URL
- setUrl(UrlBuilder) - Method in class cn.hutool.http.HttpRequest
-
设置URL
- setUrl(String) - Method in class cn.hutool.http.webservice.SoapClient
-
设置Webservice请求地址
- setUrlHandler(URLStreamHandler) - Method in class cn.hutool.http.HttpRequest
-
设置
URLStreamHandler
部分环境下需要单独设置此项,例如当 WebLogic Server 实例充当 SSL 客户端角色(它会尝试通过 SSL 连接到其他服务器或应用程序)时,
它会验证 SSL 服务器在数字证书中返回的主机名是否与用于连接 SSL 服务器的 URL 主机名相匹配。
- setUseBouncyCastle(boolean) - Static method in enum cn.hutool.crypto.GlobalBouncyCastleProvider
-
设置是否使用Bouncy Castle库
如果设置为false,表示强制关闭Bouncy Castle而使用JDK
- setUseDefaultContentTypeIfNull(boolean) - Method in class cn.hutool.http.HttpConfig
-
设置是否使用默认Content-Type,如果请求中未设置Content-Type,是否使用默认值
- setUseGlobalSession(boolean) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置是否使用全局会话,默认为true
- setUseGlobalSession(boolean) - Method in class cn.hutool.extra.mail.Mail
-
设置是否使用全局会话,默认为true
- setUseJdkToStringStyle(boolean) - Static method in class cn.hutool.core.date.DateTime
-
设置全局的,是否使用
Date
默认的toString()格式
如果为
true
,则调用toString()时返回"EEE MMM dd HH:mm:ss zzz yyyy"格式,
如果为
false
,则返回"yyyy-MM-dd HH:mm:ss",
默认为
false
- setUser(String) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setUser(String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- setUser(String) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setUser(String) - Method in class cn.hutool.extra.mail.MailAccount
-
设置用户名
- setUser(String) - Method in class cn.hutool.extra.ssh.Connector
-
设定用户名
- setUser(double) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setUser(long) - Method in class cn.hutool.system.oshi.CpuTicks
-
- setUserManager(UserManager) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
自定义用户管理器,一般用于使用配置文件配置用户信息
- setUsersConfig(File) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
自定义用户信息配置文件,此方法会重置用户管理器
- setUseVar(boolean) - Method in class cn.hutool.setting.profile.Profile
-
设置是否使用变量
- setValue(Annotation, String, Object) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
设置新的注解的属性(字段)值
- setValue(Object, Object) - Method in class cn.hutool.core.bean.PropDesc
-
- setValue(Object, Object, boolean, boolean) - Method in class cn.hutool.core.bean.PropDesc
-
设置属性值,可以自动转换字段类型为目标类型
- setValue(Object, Object, boolean, boolean, boolean) - Method in class cn.hutool.core.bean.PropDesc
-
设置属性值,可以自动转换字段类型为目标类型
- setValue(V) - Method in class cn.hutool.core.lang.mutable.MutablePair
-
设置值
- setValue(V) - Method in class cn.hutool.core.map.AbsEntry
-
- setValue(TreeEntry<K, V>) - Method in class cn.hutool.core.map.LinkedForestMap.EntryNodeWrapper
-
- setValue(V) - Method in class cn.hutool.core.map.LinkedForestMap.TreeEntryNode
-
设置节点的value
- setValue(Object) - Method in class cn.hutool.db.sql.Condition
-
设置值,不解析表达式
- setValue(Object, boolean) - Method in class cn.hutool.db.sql.Condition
-
设置值
- setValue(Object) - Method in class cn.hutool.extra.validation.BeanValidationResult.ErrorMessage
-
- setValue(Cell) - Method in interface cn.hutool.poi.excel.cell.CellSetter
-
自定义单元格值设置,同时可以设置单元格样式、格式等信息
- setValue(Cell) - Method in class cn.hutool.poi.excel.cell.FormulaCellValue
-
- setValue(Cell) - Method in class cn.hutool.poi.excel.cell.setters.BooleanCellSetter
-
- setValue(Cell) - Method in class cn.hutool.poi.excel.cell.setters.CalendarCellSetter
-
- setValue(Cell) - Method in class cn.hutool.poi.excel.cell.setters.CharSequenceCellSetter
-
- setValue(Cell) - Method in class cn.hutool.poi.excel.cell.setters.DateCellSetter
-
- setValue(Cell) - Method in class cn.hutool.poi.excel.cell.setters.HyperlinkCellSetter
-
- setValue(Cell) - Method in class cn.hutool.poi.excel.cell.setters.NullCellSetter
-
- setValue(Cell) - Method in class cn.hutool.poi.excel.cell.setters.NumberCellSetter
-
- setValue(Cell) - Method in class cn.hutool.poi.excel.cell.setters.RichTextCellSetter
-
- setValue(Cell) - Method in class cn.hutool.poi.excel.cell.setters.TemporalAccessorCellSetter
-
- setValueByMap(Iterable<E>, Map<K, V>, Function<E, K>, BiConsumer<E, V>) - Static method in class cn.hutool.core.collection.CollUtil
-
使用给定的map将集合中的原素进行属性或者值的重新设定
- SetValueMap<K,V> - Class in cn.hutool.core.map.multi
-
值作为集合Set(LinkedHashSet)的Map实现,通过调用putValue可以在相同key时加入多个值,多个值用集合表示
- SetValueMap() - Constructor for class cn.hutool.core.map.multi.SetValueMap
-
构造
- SetValueMap(int) - Constructor for class cn.hutool.core.map.multi.SetValueMap
-
构造
- SetValueMap(Map<? extends K, ? extends Collection<V>>) - Constructor for class cn.hutool.core.map.multi.SetValueMap
-
构造
- SetValueMap(float, Map<? extends K, ? extends Collection<V>>) - Constructor for class cn.hutool.core.map.multi.SetValueMap
-
构造
- SetValueMap(int, float) - Constructor for class cn.hutool.core.map.multi.SetValueMap
-
构造
- setValues(Part, int...) - Method in class cn.hutool.cron.pattern.CronPatternBuilder
-
设置值
- setVarRegex(String) - Method in class cn.hutool.setting.Setting
-
设置变量的正则
正则只能有一个group表示变量本身,剩余为字符 例如 \$\{(name)\}表示${name}变量名为name的一个变量表示
- setVarRegex(String) - Method in class cn.hutool.setting.SettingLoader
-
设置变量的正则
正则只能有一个group表示变量本身,剩余为字符 例如 \$\{(name)\}表示${name}变量名为name的一个变量表示
- setVersion(String) - Method in class cn.hutool.http.useragent.UserAgent
-
设置浏览器版本
- setWait(double) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setWatcher(Watcher) - Method in class cn.hutool.core.io.watch.WatchMonitor
-
- setWeight(Comparable<?>) - Method in interface cn.hutool.core.lang.tree.Node
-
设置权重
- setWeight(Comparable<?>) - Method in class cn.hutool.core.lang.tree.Tree
-
- setWeight(Comparable<?>) - Method in class cn.hutool.core.lang.tree.TreeBuilder
-
设置权重
- setWeight(Comparable<?>) - Method in class cn.hutool.core.lang.tree.TreeNode
-
- setWeightKey(String) - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
设置权重对应的名称
- setWhere(Condition...) - Method in class cn.hutool.db.sql.Query
-
设置条件语句
- setWidth(int) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置宽度
- setWithEndTag(boolean) - Method in class cn.hutool.core.net.url.UrlBuilder
-
是否path的末尾加 /
- setWithEndTag(boolean) - Method in class cn.hutool.core.net.url.UrlPath
-
是否path的末尾加 /
- setWorkQueue(BlockingQueue<Runnable>) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置队列,用于存在未执行的线程
可选队列有:
1.
- setWrapElement(boolean) - Method in class cn.hutool.core.text.StrJoiner
-
设置前缀和后缀是否包装每个元素
- setWrapper(Character) - Method in class cn.hutool.db.AbstractDb
-
设置包装器,包装器用于对表名、字段名进行符号包装(例如双引号),防止关键字与这些表名或字段冲突
- setWrapper(Wrapper) - Method in class cn.hutool.db.AbstractDb
-
设置包装器,包装器用于对表名、字段名进行符号包装(例如双引号),防止关键字与这些表名或字段冲突
- setWrapper(Character) - Method in class cn.hutool.db.Db
-
- setWrapper(Wrapper) - Method in class cn.hutool.db.Db
-
- setWrapper(Wrapper) - Method in interface cn.hutool.db.dialect.Dialect
-
设置包装器
- setWrapper(Wrapper) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- setWrapper(Character) - Method in class cn.hutool.db.DialectRunner
-
设置包装器,包装器用于对表名、字段名进行符号包装(例如双引号),防止关键字与这些表名或字段冲突
- setWrapper(Wrapper) - Method in class cn.hutool.db.DialectRunner
-
设置包装器,包装器用于对表名、字段名进行符号包装(例如双引号),防止关键字与这些表名或字段冲突
- setWrapper(Character) - Method in class cn.hutool.db.Session
-
- setWrapper(Wrapper) - Method in class cn.hutool.db.Session
-
- setWrapText() - Method in class cn.hutool.poi.excel.StyleSet
-
设置单元格文本自动换行
- setWriteBufferSize(int) - Method in class cn.hutool.socket.SocketConfig
-
设置写出缓存大小
- setWriteLongAsString(boolean) - Method in class cn.hutool.json.JSONConfig
-
设置是否将Long值写出为字符串类型
- setWriteTimeout(long) - Method in class cn.hutool.extra.mail.MailAccount
-
设置Socket写出超时值,单位毫秒,缺省值不超时
- setWriteTimeout(long) - Method in class cn.hutool.socket.SocketConfig
-
设置写出超时时长,小于等于0表示默认
- setX(int) - Method in class cn.hutool.poi.excel.cell.CellLocation
-
- setY(int) - Method in class cn.hutool.poi.excel.cell.CellLocation
-
- Seven7EntryInputStream - Class in cn.hutool.extra.compress.extractor
-
7z解压中文件流读取的封装
- Seven7EntryInputStream(SevenZFile, SevenZArchiveEntry) - Constructor for class cn.hutool.extra.compress.extractor.Seven7EntryInputStream
-
构造
- SevenZArchiver - Class in cn.hutool.extra.compress.archiver
-
7zip格式的归档封装
- SevenZArchiver(File) - Constructor for class cn.hutool.extra.compress.archiver.SevenZArchiver
-
构造
- SevenZArchiver(OutputStream) - Constructor for class cn.hutool.extra.compress.archiver.SevenZArchiver
-
构造
- SevenZArchiver(SeekableByteChannel) - Constructor for class cn.hutool.extra.compress.archiver.SevenZArchiver
-
构造
- SevenZExtractor - Class in cn.hutool.extra.compress.extractor
-
7z格式数据解压器,即将归档打包的数据释放
- SevenZExtractor(File) - Constructor for class cn.hutool.extra.compress.extractor.SevenZExtractor
-
构造
- SevenZExtractor(File, char[]) - Constructor for class cn.hutool.extra.compress.extractor.SevenZExtractor
-
构造
- SevenZExtractor(InputStream) - Constructor for class cn.hutool.extra.compress.extractor.SevenZExtractor
-
构造
- SevenZExtractor(InputStream, char[]) - Constructor for class cn.hutool.extra.compress.extractor.SevenZExtractor
-
构造
- SevenZExtractor(SeekableByteChannel) - Constructor for class cn.hutool.extra.compress.extractor.SevenZExtractor
-
构造
- SevenZExtractor(SeekableByteChannel, char[]) - Constructor for class cn.hutool.extra.compress.extractor.SevenZExtractor
-
构造
- Sftp - Class in cn.hutool.extra.ssh
-
SFTP是Secure File Transfer Protocol的缩写,安全文件传送协议。
- Sftp(String, int, String, String) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp(String, int, String, String, Charset) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp(FtpConfig) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp(FtpConfig, boolean) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp(Session) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp(Session, Charset) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp(Session, Charset, long) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp(ChannelSftp, Charset, long) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp(ChannelSftp, Charset) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp.Mode - Enum in cn.hutool.extra.ssh
-
JSch支持的三种文件传输模式
- sha1(byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值
- sha1(String, String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值
- sha1(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算sha1摘要值,使用UTF-8编码
- sha1(InputStream) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值
- sha1(File) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值
- sha1() - Static method in class cn.hutool.crypto.SecureUtil
-
SHA1加密
例:
SHA1加密:sha1().digest(data)
SHA1加密并转为16进制字符串:sha1().digestHex(data)
- sha1(String) - Static method in class cn.hutool.crypto.SecureUtil
-
SHA1加密,生成16进制SHA1字符串
- sha1(InputStream) - Static method in class cn.hutool.crypto.SecureUtil
-
SHA1加密,生成16进制SHA1字符串
- sha1(File) - Static method in class cn.hutool.crypto.SecureUtil
-
SHA1加密文件,生成16进制SHA1字符串
- sha1Hex(byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha1Hex(String, String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha1Hex(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha1Hex(InputStream) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha1Hex(File) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha256(byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值
- sha256(String, String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值
- sha256(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算sha256摘要值,使用UTF-8编码
- sha256(InputStream) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值
- sha256(File) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值
- sha256() - Static method in class cn.hutool.crypto.SecureUtil
-
SHA256加密
例:
SHA256加密:sha256().digest(data)
SHA256加密并转为16进制字符串:sha256().digestHex(data)
- sha256(String) - Static method in class cn.hutool.crypto.SecureUtil
-
SHA256加密,生成16进制SHA256字符串
- sha256(InputStream) - Static method in class cn.hutool.crypto.SecureUtil
-
SHA256加密,生成16进制SHA256字符串
- sha256(File) - Static method in class cn.hutool.crypto.SecureUtil
-
SHA256加密文件,生成16进制SHA256字符串
- sha256Hex(byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha256Hex(String, String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值,并转为16进制字符串
- sha256Hex(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值,并转为16进制字符串
- sha256Hex(InputStream) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值,并转为16进制字符串
- sha256Hex(File) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值,并转为16进制字符串
- sha512(byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-512摘要值
- sha512(String, String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-512摘要值
- sha512(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算sha512摘要值,使用UTF-8编码
- sha512(InputStream) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-512摘要值
- sha512(File) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-512摘要值
- sha512Hex(byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha512Hex(String, String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-512摘要值,并转为16进制字符串
- sha512Hex(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-512摘要值,并转为16进制字符串
- sha512Hex(InputStream) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-512摘要值,并转为16进制字符串
- sha512Hex(File) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-512摘要值,并转为16进制字符串
- shapeHint - Variable in class cn.hutool.extra.qrcode.QrConfig
-
DATA_MATRIX的符号形状
- sharedStrings - Variable in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
- ShearCaptcha - Class in cn.hutool.captcha
-
扭曲干扰验证码
- ShearCaptcha(int, int) - Constructor for class cn.hutool.captcha.ShearCaptcha
-
构造
- ShearCaptcha(int, int, int) - Constructor for class cn.hutool.captcha.ShearCaptcha
-
构造
- ShearCaptcha(int, int, int, int) - Constructor for class cn.hutool.captcha.ShearCaptcha
-
构造
- ShearCaptcha(int, int, CodeGenerator, int) - Constructor for class cn.hutool.captcha.ShearCaptcha
-
构造
- ShearCaptcha(int, int, int, int, float) - Constructor for class cn.hutool.captcha.ShearCaptcha
-
构造
- sheet - Variable in class cn.hutool.poi.excel.ExcelBase
-
Excel中对应的Sheet
- SHEET_NAME_PREFIX - Static variable in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
- SheetDataSaxHandler - Class in cn.hutool.poi.excel.sax
-
sheetData标签内容读取处理器
<sheetData></sheetData>
- SheetDataSaxHandler(RowHandler) - Constructor for class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
- sheetIndex - Variable in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
- SheetReader<T> - Interface in cn.hutool.poi.excel.reader
-
Excel Sheet
读取接口,通过实现此接口,将Sheet
中的数据读取为不同类型。
- SheetRidReader - Class in cn.hutool.poi.excel.sax
-
在Sax方式读取Excel时,读取sheet标签中sheetId和rid的对应关系,类似于:
<sheet name="Sheet6" sheetId="4" r:id="rId6"/>
读取结果为:
{"4": "6"}
- SheetRidReader() - Constructor for class cn.hutool.poi.excel.sax.SheetRidReader
-
- SHORT - Static variable in class cn.hutool.core.date.format.FastDateFormat
-
SHORT locale dependent date or time style.
- shortSummary() - Method in class cn.hutool.core.date.StopWatch
-
获取任务信息,类似于:
StopWatch '[id]': running time = [total] ns
- shortSummary(TimeUnit) - Method in class cn.hutool.core.date.StopWatch
-
获取任务信息,类似于:
StopWatch '[id]': running time = [total] [unit]
- shortToBytes(short) - Static method in class cn.hutool.core.convert.Convert
-
short转byte数组
默认以小端序转换
- shortToBytes(short) - Static method in class cn.hutool.core.util.ByteUtil
-
short转byte数组
默认以小端序转换
- shortToBytes(short, ByteOrder) - Static method in class cn.hutool.core.util.ByteUtil
-
short转byte数组
自定义端序
- shortValue() - Method in class cn.hutool.core.lang.mutable.MutableShort
-
- shuffle(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(T[], Random) - Static method in class cn.hutool.core.util.ArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(int[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(int[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(long[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(long[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(double[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(double[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(float[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(float[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(boolean[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(boolean[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(byte[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(byte[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(char[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(char[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(short[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(short[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shutdown() - Method in enum cn.hutool.cache.GlobalPruneTimer
-
销毁全局定时器
- shutdown() - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- shutdown(boolean) - Static method in class cn.hutool.core.thread.GlobalThreadPool
-
关闭公共线程池
- shutdownNow() - Method in enum cn.hutool.cache.GlobalPruneTimer
-
销毁全局定时器
- shutdownNow() - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- Sign - Class in cn.hutool.crypto.asymmetric
-
- Sign(SignAlgorithm) - Constructor for class cn.hutool.crypto.asymmetric.Sign
-
构造,创建新的私钥公钥对
- Sign(String) - Constructor for class cn.hutool.crypto.asymmetric.Sign
-
构造,创建新的私钥公钥对
- Sign(SignAlgorithm, String, String) - Constructor for class cn.hutool.crypto.asymmetric.Sign
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- Sign(SignAlgorithm, byte[], byte[]) - Constructor for class cn.hutool.crypto.asymmetric.Sign
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- Sign(SignAlgorithm, KeyPair) - Constructor for class cn.hutool.crypto.asymmetric.Sign
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- Sign(SignAlgorithm, PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.Sign
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- Sign(String, String, String) - Constructor for class cn.hutool.crypto.asymmetric.Sign
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- Sign(String, byte[], byte[]) - Constructor for class cn.hutool.crypto.asymmetric.Sign
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- Sign(String, KeyPair) - Constructor for class cn.hutool.crypto.asymmetric.Sign
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- Sign(String, PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.Sign
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- sign(String, Charset) - Method in class cn.hutool.crypto.asymmetric.Sign
-
生成文件签名
- sign(String) - Method in class cn.hutool.crypto.asymmetric.Sign
-
生成文件签名
- sign(byte[]) - Method in class cn.hutool.crypto.asymmetric.Sign
-
用私钥对信息生成数字签名
- sign(InputStream) - Method in class cn.hutool.crypto.asymmetric.Sign
-
- sign(InputStream, int) - Method in class cn.hutool.crypto.asymmetric.Sign
-
生成签名
- sign(byte[]) - Method in class cn.hutool.crypto.asymmetric.SM2
-
- sign(byte[], byte[]) - Method in class cn.hutool.crypto.asymmetric.SM2
-
- sign(SignAlgorithm) - Static method in class cn.hutool.crypto.SecureUtil
-
创建签名算法对象
生成新的私钥公钥对
- sign(SignAlgorithm, String, String) - Static method in class cn.hutool.crypto.SecureUtil
-
创建签名算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- sign(SignAlgorithm, byte[], byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
创建Sign算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- sign(SignAlgorithm) - Static method in class cn.hutool.crypto.SignUtil
-
创建签名算法对象
生成新的私钥公钥对
- sign(SignAlgorithm, String, String) - Static method in class cn.hutool.crypto.SignUtil
-
创建签名算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- sign(SignAlgorithm, byte[], byte[]) - Static method in class cn.hutool.crypto.SignUtil
-
创建Sign算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- sign() - Method in class cn.hutool.jwt.JWT
-
签名生成JWT字符串
- sign(boolean) - Method in class cn.hutool.jwt.JWT
-
签名生成JWT字符串
- sign(JWTSigner) - Method in class cn.hutool.jwt.JWT
-
签名生成JWT字符串
- sign(JWTSigner, boolean) - Method in class cn.hutool.jwt.JWT
-
签名生成JWT字符串
- sign(String, String) - Method in class cn.hutool.jwt.signers.AsymmetricJWTSigner
-
- sign(byte[]) - Method in class cn.hutool.jwt.signers.AsymmetricJWTSigner
-
签名字符串数据
- sign(byte[]) - Method in class cn.hutool.jwt.signers.EllipticCurveJWTSigner
-
- sign(String, String) - Method in class cn.hutool.jwt.signers.HMacJWTSigner
-
- sign(String, String) - Method in interface cn.hutool.jwt.signers.JWTSigner
-
签名
- sign(String, String) - Method in class cn.hutool.jwt.signers.NoneJWTSigner
-
- SignAlgorithm - Enum in cn.hutool.crypto.asymmetric
-
签名算法类型
see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#Signature
- signature - Variable in class cn.hutool.crypto.asymmetric.Sign
-
签名,用于签名和验证
- signer - Variable in class cn.hutool.crypto.asymmetric.SM2
-
- signHex(String, Charset) - Method in class cn.hutool.crypto.asymmetric.Sign
-
生成文件签名,并转为16进制字符串
- signHex(String) - Method in class cn.hutool.crypto.asymmetric.Sign
-
生成文件签名
- signHex(byte[]) - Method in class cn.hutool.crypto.asymmetric.Sign
-
生成签名,并转为16进制字符串
- signHex(InputStream) - Method in class cn.hutool.crypto.asymmetric.Sign
-
- signHex(String) - Method in class cn.hutool.crypto.asymmetric.SM2
-
- signHex(String, String) - Method in class cn.hutool.crypto.asymmetric.SM2
-
- signHexFromHex(String) - Method in class cn.hutool.crypto.asymmetric.SM2
-
用私钥对信息生成数字签名
- signHexFromHex(String, String) - Method in class cn.hutool.crypto.asymmetric.SM2
-
用私钥对信息生成数字签名
- signParams(SymmetricCrypto, Map<?, ?>, String...) - Static method in class cn.hutool.crypto.SecureUtil
-
对参数做签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
拼接后的字符串键值对之间无符号,键值对之间无符号,忽略null值
- signParams(SymmetricCrypto, Map<?, ?>, String, String, boolean, String...) - Static method in class cn.hutool.crypto.SecureUtil
-
对参数做签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
- signParams(DigestAlgorithm, Map<?, ?>, String...) - Static method in class cn.hutool.crypto.SecureUtil
-
对参数做签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
拼接后的字符串键值对之间无符号,键值对之间无符号,忽略null值
- signParams(DigestAlgorithm, Map<?, ?>, String, String, boolean, String...) - Static method in class cn.hutool.crypto.SecureUtil
-
对参数做签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
- signParams(SymmetricCrypto, Map<?, ?>, String...) - Static method in class cn.hutool.crypto.SignUtil
-
对参数做签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
拼接后的字符串键值对之间无符号,键值对之间无符号,忽略null值
- signParams(SymmetricCrypto, Map<?, ?>, String, String, boolean, String...) - Static method in class cn.hutool.crypto.SignUtil
-
对参数做签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
- signParams(DigestAlgorithm, Map<?, ?>, String...) - Static method in class cn.hutool.crypto.SignUtil
-
对参数做签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
拼接后的字符串键值对之间无符号,键值对之间无符号,忽略null值
- signParams(DigestAlgorithm, Map<?, ?>, String, String, boolean, String...) - Static method in class cn.hutool.crypto.SignUtil
-
对参数做签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
- signParamsMd5(Map<?, ?>, String...) - Static method in class cn.hutool.crypto.SecureUtil
-
对参数做md5签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
拼接后的字符串键值对之间无符号,键值对之间无符号,忽略null值
- signParamsMd5(Map<?, ?>, String...) - Static method in class cn.hutool.crypto.SignUtil
-
对参数做md5签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
拼接后的字符串键值对之间无符号,键值对之间无符号,忽略null值
- signParamsSha1(Map<?, ?>, String...) - Static method in class cn.hutool.crypto.SecureUtil
-
对参数做Sha1签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
拼接后的字符串键值对之间无符号,键值对之间无符号,忽略null值
- signParamsSha1(Map<?, ?>, String...) - Static method in class cn.hutool.crypto.SignUtil
-
对参数做Sha1签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
拼接后的字符串键值对之间无符号,键值对之间无符号,忽略null值
- signParamsSha256(Map<?, ?>, String...) - Static method in class cn.hutool.crypto.SecureUtil
-
对参数做Sha256签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
拼接后的字符串键值对之间无符号,键值对之间无符号,忽略null值
- signParamsSha256(Map<?, ?>, String...) - Static method in class cn.hutool.crypto.SignUtil
-
对参数做Sha256签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
拼接后的字符串键值对之间无符号,键值对之间无符号,忽略null值
- SignUtil - Class in cn.hutool.crypto
-
- SignUtil() - Constructor for class cn.hutool.crypto.SignUtil
-
- Simhash - Class in cn.hutool.core.text
-
Simhash是一种局部敏感hash,用于海量文本去重。
- Simhash() - Constructor for class cn.hutool.core.text.Simhash
-
构造
- Simhash(int, int) - Constructor for class cn.hutool.core.text.Simhash
-
构造
- similar(String, String) - Static method in class cn.hutool.core.text.TextSimilarity
-
利用莱文斯坦距离(Levenshtein distance)算法计算相似度,两个都是空串相似度为1,被认为是相同的串
比较方法为:
只比较两个字符串字母、数字、汉字部分,其他符号去除
计算出两个字符串最大子串,除以最长的字符串,结果即为相似度
- similar(String, String, int) - Static method in class cn.hutool.core.text.TextSimilarity
-
利用莱文斯坦距离(Levenshtein distance)算法计算相似度百分比
- similar(String, String) - Static method in class cn.hutool.core.util.StrUtil
-
计算两个字符串的相似度
- similar(String, String, int) - Static method in class cn.hutool.core.util.StrUtil
-
计算两个字符串的相似度百分比
- SIMPLE_MONTH_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
-
- SIMPLE_MONTH_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
-
- SIMPLE_MONTH_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
-
简单年月格式:yyyyMM
- SimpleAspect - Class in cn.hutool.aop.aspects
-
简单切面类,不做任何操作
可以继承此类实现自己需要的方法即可
- SimpleAspect() - Constructor for class cn.hutool.aop.aspects.SimpleAspect
-
- SimpleCache<K,V> - Class in cn.hutool.core.lang
-
- SimpleCache() - Constructor for class cn.hutool.core.lang.SimpleCache
-
- SimpleCache(Map<Mutable<K>, V>) - Constructor for class cn.hutool.core.lang.SimpleCache
-
构造
通过自定义Map初始化,可以自定义缓存实现。
- SimpleCollector<T,A,R> - Class in cn.hutool.core.stream
-
- SimpleCollector(Supplier<A>, BiConsumer<A, T>, BinaryOperator<A>, Function<A, R>, Set<Collector.Characteristics>) - Constructor for class cn.hutool.core.stream.SimpleCollector
-
构造
- SimpleCollector(Supplier<A>, BiConsumer<A, T>, BinaryOperator<A>, Set<Collector.Characteristics>) - Constructor for class cn.hutool.core.stream.SimpleCollector
-
构造
- SimpleDataSource - Class in cn.hutool.db.ds.simple
-
简易数据源,没有使用连接池,仅供测试或打开关闭连接非常少的场合使用!
- SimpleDataSource() - Constructor for class cn.hutool.db.ds.simple.SimpleDataSource
-
构造
- SimpleDataSource(String) - Constructor for class cn.hutool.db.ds.simple.SimpleDataSource
-
构造
- SimpleDataSource(Setting, String) - Constructor for class cn.hutool.db.ds.simple.SimpleDataSource
-
构造
- SimpleDataSource(String, String, String) - Constructor for class cn.hutool.db.ds.simple.SimpleDataSource
-
构造
- SimpleDataSource(String, String, String, String) - Constructor for class cn.hutool.db.ds.simple.SimpleDataSource
-
构造
- SimpleDSFactory - Class in cn.hutool.db.ds.simple
-
简单数据源工厂类
- SimpleDSFactory() - Constructor for class cn.hutool.db.ds.simple.SimpleDSFactory
-
- SimpleDSFactory(Setting) - Constructor for class cn.hutool.db.ds.simple.SimpleDSFactory
-
- SimpleFilter - Class in cn.hutool.http.server.filter
-
匿名简单过滤器,跳过了描述
- SimpleFilter() - Constructor for class cn.hutool.http.server.filter.SimpleFilter
-
- SimpleFtpServer - Class in cn.hutool.extra.ftp
-
基于 Apache FtpServer(http://mina.apache.org/ftpserver-project/)的FTP服务端简单封装。
- SimpleFtpServer() - Constructor for class cn.hutool.extra.ftp.SimpleFtpServer
-
构造
- SimpleIoAction - Class in cn.hutool.socket.aio
-
简易IO信息处理类
简单实现了accept和failed事件
- SimpleIoAction() - Constructor for class cn.hutool.socket.aio.SimpleIoAction
-
- SimpleServer - Class in cn.hutool.http.server
-
简易Http服务器,基于HttpServer
- SimpleServer(int) - Constructor for class cn.hutool.http.server.SimpleServer
-
构造
- SimpleServer(String, int) - Constructor for class cn.hutool.http.server.SimpleServer
-
构造
- SimpleServer(InetSocketAddress) - Constructor for class cn.hutool.http.server.SimpleServer
-
构造
- SimpleServer(InetSocketAddress, HttpsConfigurator) - Constructor for class cn.hutool.http.server.SimpleServer
-
构造
- SimpleStringResourceLoader - Class in cn.hutool.extra.template.engine.velocity
-
ResourceLoader
的字符串实现形式
用于直接获取字符串模板
- SimpleStringResourceLoader() - Constructor for class cn.hutool.extra.template.engine.velocity.SimpleStringResourceLoader
-
- SimpleStringTemplateLoader - Class in cn.hutool.extra.template.engine.freemarker
-
TemplateLoader
字符串实现形式
用于直接获取字符串模板
- SimpleStringTemplateLoader() - Constructor for class cn.hutool.extra.template.engine.freemarker.SimpleStringTemplateLoader
-
- SimpleTaskListener - Class in cn.hutool.cron.listener
-
简单监听实现,不做任何操作
继承此监听后实现需要的方法即可
- SimpleTaskListener() - Constructor for class cn.hutool.cron.listener.SimpleTaskListener
-
- simpleUUID() - Static method in class cn.hutool.core.util.IdUtil
-
简化的UUID,去掉了横线
- SimpleWatcher - Class in cn.hutool.core.io.watch
-
空白WatchListener
用户继承此类后实现需要监听的方法
- SimpleWatcher() - Constructor for class cn.hutool.core.io.watch.SimpleWatcher
-
- SINGLE_QUOTE - Static variable in interface cn.hutool.core.text.CharPool
-
字符常量:单引号 '\''
- Singleton - Class in cn.hutool.core.lang
-
单例类
提供单例对象的统一管理,当调用get方法时,如果对象池中存在此对象,返回此对象,否则创建新对象返回
- size - Variable in class cn.hutool.bloomfilter.filter.AbstractFilter
-
- size() - Method in interface cn.hutool.cache.Cache
-
缓存的对象数量
- size() - Method in class cn.hutool.cache.impl.AbstractCache
-
- size() - Method in class cn.hutool.cache.impl.NoCache
-
- size() - Method in class cn.hutool.core.collection.AvgPartition
-
- size(Object) - Static method in class cn.hutool.core.collection.CollUtil
-
获取Collection或者iterator的大小,此方法可以处理的对象类型如下:
Collection - the collection size
Map - the map size
Array - the array size
Iterator - the number of elements remaining in the iterator
Enumeration - the number of elements remaining in the enumeration
- size() - Method in class cn.hutool.core.collection.ConcurrentHashSet
-
- size(Iterable<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
返回 Iterable 对象的元素数量
- size(Iterator<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
返回 Iterator 对象的元素数量
- size - Variable in class cn.hutool.core.collection.Partition
-
- size() - Method in class cn.hutool.core.collection.Partition
-
- size() - Method in class cn.hutool.core.collection.TransCollection
-
- size() - Method in class cn.hutool.core.collection.UniqueKeySet
-
- size() - Method in class cn.hutool.core.comparator.ComparatorChain
-
比较器链中比较器个数
- size() - Method in class cn.hutool.core.io.FastByteArrayOutputStream
-
- size() - Method in class cn.hutool.core.io.FastByteBuffer
-
- size(File) - Static method in class cn.hutool.core.io.FileUtil
-
计算目录或文件的总大小
当给定对象为文件时,直接调用
File.length()
当给定对象为目录时,遍历目录下的所有文件和目录,递归计算其大小,求和返回
此方法不包括目录本身的占用空间大小。
- size(File, boolean) - Static method in class cn.hutool.core.io.FileUtil
-
计算目录或文件的总大小
当给定对象为文件时,直接调用
File.length()
当给定对象为目录时,遍历目录下的所有文件和目录,递归计算其大小,求和返回
- size() - Method in class cn.hutool.core.io.resource.UrlResource
-
获取资源长度
- size() - Method in class cn.hutool.core.io.resource.VfsResource
-
获取VFS文件大小
- size() - Method in class cn.hutool.core.lang.Tuple
-
得到元组的大小
- size() - Method in class cn.hutool.core.map.LinkedForestMap
-
获取当前实例中的节点个数
- size() - Method in class cn.hutool.core.map.MapProxy
-
- size() - Method in class cn.hutool.core.map.MapWrapper
-
- size() - Method in interface cn.hutool.core.map.multi.Table
-
表格大小,一般为单元格的个数
- size() - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- size() - Method in class cn.hutool.core.map.TableMap
-
- size() - Method in class cn.hutool.core.net.multipart.UploadFile
-
- size() - Method in class cn.hutool.core.text.csv.CsvRow
-
- size(URL) - Static method in class cn.hutool.core.util.URLUtil
-
获取URL对应数据长度
如果URL为文件,转换为文件获取文件长度。
- size() - Method in class cn.hutool.cron.Scheduler
-
当前任务数
- size() - Method in class cn.hutool.cron.TaskTable
-
任务表大小,加入的任务数
- size() - Method in class cn.hutool.json.JSONArray
-
- size() - Method in class cn.hutool.setting.GroupedMap
-
总的键值对数
- size() - Method in class cn.hutool.setting.Setting
-
键值总数
- sizeSet - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- skip() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Skips variable length blocks up to and including
next zero length block.
- skip(long) - Method in class cn.hutool.core.io.LimitedInputStream
-
- skip(long) - Method in class cn.hutool.http.HttpInputStream
-
- skipBytes(long) - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
跳过指定位数的 bytes.
- skipEmptyRows - Variable in class cn.hutool.core.text.csv.CsvReadConfig
-
是否跳过空白行,默认true
- skipPast(String) - Method in class cn.hutool.json.XMLTokener
-
Skip characters until past the requested string.
- skipTo(char) - Method in class cn.hutool.json.JSONTokener
-
Skip characters until the next character is the requested character.
- skipToBoundary() - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
跳过边界表示
- SLASH - Static variable in interface cn.hutool.core.text.CharPool
-
字符常量:斜杠 '/'
- SLASH - Static variable in interface cn.hutool.core.text.StrPool
-
字符串常量:斜杠 "/"
- SLASH - Static variable in class cn.hutool.json.XML
-
The Character '/'.
- sleep(Number, TimeUnit) - Static method in class cn.hutool.core.thread.ThreadUtil
-
挂起当前线程
- sleep(Number) - Static method in class cn.hutool.core.thread.ThreadUtil
-
挂起当前线程
- sleep(long) - Static method in class cn.hutool.core.thread.ThreadUtil
-
挂起当前线程
- Slf4jLog - Class in cn.hutool.log.dialect.slf4j
-
- Slf4jLog(Logger) - Constructor for class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- Slf4jLog(Class<?>) - Constructor for class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- Slf4jLog(String) - Constructor for class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- Slf4jLogFactory - Class in cn.hutool.log.dialect.slf4j
-
- Slf4jLogFactory() - Constructor for class cn.hutool.log.dialect.slf4j.Slf4jLogFactory
-
- Slf4jLogFactory(boolean) - Constructor for class cn.hutool.log.dialect.slf4j.Slf4jLogFactory
-
构造
- slice(File, File, int, int) - Static method in class cn.hutool.core.img.ImgUtil
-
图像切片(指定切片的宽度和高度)
- slice(Image, File, int, int) - Static method in class cn.hutool.core.img.ImgUtil
-
图像切片(指定切片的宽度和高度)
- sliceByRowsAndCols(File, File, int, int) - Static method in class cn.hutool.core.img.ImgUtil
-
图像切割(指定切片的行数和列数)
- sliceByRowsAndCols(File, File, String, int, int) - Static method in class cn.hutool.core.img.ImgUtil
-
图像切割(指定切片的行数和列数)
- sliceByRowsAndCols(Image, File, int, int) - Static method in class cn.hutool.core.img.ImgUtil
-
图像切割(指定切片的行数和列数),默认RGB模式
- sliceByRowsAndCols(Image, File, String, int, int) - Static method in class cn.hutool.core.img.ImgUtil
-
图像切割(指定切片的行数和列数),默认RGB模式
- SM2 - Class in cn.hutool.crypto.asymmetric
-
国密SM2非对称算法实现,基于BC库
SM2算法只支持公钥加密,私钥解密
参考:https://blog.csdn.net/pridas/article/details/86118774
国密算法包括:
非对称加密和签名:SM2
摘要签名算法:SM3
对称加密:SM4
- SM2() - Constructor for class cn.hutool.crypto.asymmetric.SM2
-
构造,生成新的私钥公钥对
- SM2(String, String) - Constructor for class cn.hutool.crypto.asymmetric.SM2
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- SM2(byte[], byte[]) - Constructor for class cn.hutool.crypto.asymmetric.SM2
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- SM2(PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.SM2
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- SM2(String, String, String) - Constructor for class cn.hutool.crypto.asymmetric.SM2
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- SM2(byte[], byte[], byte[]) - Constructor for class cn.hutool.crypto.asymmetric.SM2
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- SM2(ECPrivateKeyParameters, ECPublicKeyParameters) - Constructor for class cn.hutool.crypto.asymmetric.SM2
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- sm2() - Static method in class cn.hutool.crypto.SmUtil
-
创建SM2算法对象
生成新的私钥公钥对
- sm2(String, String) - Static method in class cn.hutool.crypto.SmUtil
-
创建SM2算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- sm2(byte[], byte[]) - Static method in class cn.hutool.crypto.SmUtil
-
创建SM2算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- sm2(PrivateKey, PublicKey) - Static method in class cn.hutool.crypto.SmUtil
-
创建SM2算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- sm2(ECPrivateKeyParameters, ECPublicKeyParameters) - Static method in class cn.hutool.crypto.SmUtil
-
创建SM2算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- SM2_CURVE_NAME - Static variable in class cn.hutool.crypto.SmUtil
-
SM2默认曲线
- SM2_DEFAULT_CURVE - Static variable in class cn.hutool.crypto.KeyUtil
-
SM2默认曲线
Default SM2 curve
- SM2_DOMAIN_PARAMS - Static variable in class cn.hutool.crypto.SmUtil
-
SM2推荐曲线参数(来自https://github.com/ZZMarquis/gmhelper)
- SM3 - Class in cn.hutool.crypto.digest
-
国密SM3杂凑(摘要)算法
国密算法包括:
非对称加密和签名:SM2
摘要签名算法:SM3
对称加密:SM4
- SM3() - Constructor for class cn.hutool.crypto.digest.SM3
-
构造
- SM3(byte[]) - Constructor for class cn.hutool.crypto.digest.SM3
-
构造
- SM3(byte[], int) - Constructor for class cn.hutool.crypto.digest.SM3
-
构造
- SM3(byte[], int, int) - Constructor for class cn.hutool.crypto.digest.SM3
-
构造
- sm3() - Static method in class cn.hutool.crypto.SmUtil
-
SM3加密
例:
SM3加密:sm3().digest(data)
SM3加密并转为16进制字符串:sm3().digestHex(data)
- sm3(String) - Static method in class cn.hutool.crypto.SmUtil
-
SM3加密,生成16进制SM3字符串
- sm3(InputStream) - Static method in class cn.hutool.crypto.SmUtil
-
SM3加密,生成16进制SM3字符串
- sm3(File) - Static method in class cn.hutool.crypto.SmUtil
-
SM3加密文件,生成16进制SM3字符串
- sm3WithSalt(byte[]) - Static method in class cn.hutool.crypto.SmUtil
-
SM3加密,可以传入盐
- sm4() - Static method in class cn.hutool.crypto.SmUtil
-
SM4加密,生成随机KEY。
- sm4(byte[]) - Static method in class cn.hutool.crypto.SmUtil
-
SM4加密
例:
SM4加密:sm4(key).encrypt(data)
SM4解密:sm4(key).decrypt(data)
- SM4 - Class in cn.hutool.crypto.symmetric
-
国密对称堆成加密算法SM4实现
国密算法包括:
非对称加密和签名:SM2
摘要签名算法:SM3
对称加密:SM4
- SM4() - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造,使用随机密钥
- SM4(byte[]) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- SM4(Mode, Padding) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造,使用随机密钥
- SM4(Mode, Padding, byte[]) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- SM4(Mode, Padding, byte[], byte[]) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- SM4(Mode, Padding, SecretKey) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- SM4(Mode, Padding, SecretKey, byte[]) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- SM4(Mode, Padding, SecretKey, IvParameterSpec) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- SM4(String, String) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- SM4(String, String, byte[]) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- SM4(String, String, byte[], byte[]) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- SM4(String, String, SecretKey) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- SM4(String, String, SecretKey, IvParameterSpec) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- sm4cmac(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
SM4CMAC(SM4CMAC)签名器
- SM4MacEngine - Class in cn.hutool.crypto.digest.mac
-
SM4算法的MAC引擎实现
- SM4MacEngine(CipherParameters) - Constructor for class cn.hutool.crypto.digest.mac.SM4MacEngine
-
构造
- SmartcnEngine - Class in cn.hutool.extra.tokenizer.engine.analysis
-
Lucene-smartcn分词引擎实现
项目地址:https://github.com/apache/lucene-solr/tree/master/lucene/analysis/smartcn
- SmartcnEngine() - Constructor for class cn.hutool.extra.tokenizer.engine.analysis.SmartcnEngine
-
构造
- SmUtil - Class in cn.hutool.crypto
-
SM国密算法工具类
此工具类依赖org.bouncycastle:bcprov-jdk15to18
封装包括:
SM2 椭圆曲线非对称加密和签名
SM3 杂凑算法
SM4 对称加密
- SmUtil() - Constructor for class cn.hutool.crypto.SmUtil
-
- Snowflake - Class in cn.hutool.core.lang
-
Twitter的Snowflake 算法
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
- Snowflake() - Constructor for class cn.hutool.core.lang.Snowflake
-
构造,使用自动生成的工作节点ID和数据中心ID
- Snowflake(long) - Constructor for class cn.hutool.core.lang.Snowflake
-
构造
- Snowflake(long, long) - Constructor for class cn.hutool.core.lang.Snowflake
-
构造
- Snowflake(long, long, boolean) - Constructor for class cn.hutool.core.lang.Snowflake
-
构造
- Snowflake(Date, long, long, boolean) - Constructor for class cn.hutool.core.lang.Snowflake
-
- Snowflake(Date, long, long, boolean, long) - Constructor for class cn.hutool.core.lang.Snowflake
-
- Snowflake(Date, long, long, boolean, long, long) - Constructor for class cn.hutool.core.lang.Snowflake
-
- SnowflakeGenerator - Class in cn.hutool.core.lang.generator
-
Snowflake生成器
注意,默认此生成器必须单例使用,否则会有重复
默认构造的终端ID和数据中心ID都为0,不适用于分布式环境。
- SnowflakeGenerator() - Constructor for class cn.hutool.core.lang.generator.SnowflakeGenerator
-
构造
- SnowflakeGenerator(long, long) - Constructor for class cn.hutool.core.lang.generator.SnowflakeGenerator
-
构造
- SoapClient - Class in cn.hutool.http.webservice
-
SOAP客户端
此对象用于构建一个SOAP消息,并通过HTTP接口发出消息内容。
- SoapClient(String) - Constructor for class cn.hutool.http.webservice.SoapClient
-
构造,默认使用soap1.1版本协议
- SoapClient(String, SoapProtocol) - Constructor for class cn.hutool.http.webservice.SoapClient
-
构造
- SoapClient(String, SoapProtocol, String) - Constructor for class cn.hutool.http.webservice.SoapClient
-
构造
- SoapProtocol - Enum in cn.hutool.http.webservice
-
SOAP协议版本枚举
- SoapRuntimeException - Exception in cn.hutool.http.webservice
-
SOAP异常
- SoapRuntimeException(Throwable) - Constructor for exception cn.hutool.http.webservice.SoapRuntimeException
-
- SoapRuntimeException(String) - Constructor for exception cn.hutool.http.webservice.SoapRuntimeException
-
- SoapRuntimeException(String, Object...) - Constructor for exception cn.hutool.http.webservice.SoapRuntimeException
-
- SoapRuntimeException(String, Throwable) - Constructor for exception cn.hutool.http.webservice.SoapRuntimeException
-
- SoapRuntimeException(Throwable, String, Object...) - Constructor for exception cn.hutool.http.webservice.SoapRuntimeException
-
- SoapUtil - Class in cn.hutool.http.webservice
-
SOAP相关工具类
- SoapUtil() - Constructor for class cn.hutool.http.webservice.SoapUtil
-
- SocketConfig - Class in cn.hutool.socket
-
Socket通讯配置
- SocketConfig() - Constructor for class cn.hutool.socket.SocketConfig
-
- SocketRuntimeException - Exception in cn.hutool.socket
-
Socket异常
- SocketRuntimeException(Throwable) - Constructor for exception cn.hutool.socket.SocketRuntimeException
-
- SocketRuntimeException(String) - Constructor for exception cn.hutool.socket.SocketRuntimeException
-
- SocketRuntimeException(String, Object...) - Constructor for exception cn.hutool.socket.SocketRuntimeException
-
- SocketRuntimeException(String, Throwable) - Constructor for exception cn.hutool.socket.SocketRuntimeException
-
- SocketRuntimeException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.socket.SocketRuntimeException
-
- SocketRuntimeException(Throwable, String, Object...) - Constructor for exception cn.hutool.socket.SocketRuntimeException
-
- SocketUtil - Class in cn.hutool.socket
-
Socket相关工具类
- SocketUtil() - Constructor for class cn.hutool.socket.SocketUtil
-
- SolarTerms - Class in cn.hutool.core.date.chinese
-
24节气相关信息
- SolarTerms() - Constructor for class cn.hutool.core.date.chinese.SolarTerms
-
- sort(Collection<T>, Comparator<? super T>) - Static method in class cn.hutool.core.collection.CollUtil
-
排序集合,排序不会修改原集合
- sort(List<T>, Comparator<? super T>) - Static method in class cn.hutool.core.collection.CollUtil
-
针对List排序,排序会修改原List
- sort(Map<K, V>, Comparator<? super K>) - Static method in class cn.hutool.core.collection.CollUtil
-
排序Map
- sort(List<T>, Comparator<? super T>) - Static method in class cn.hutool.core.collection.ListUtil
-
针对List排序,排序会修改原List
- sort(Map<K, V>) - Static method in class cn.hutool.core.map.MapUtil
-
排序已有Map,Key有序的Map,使用默认Key排序方式(字母顺序)
- sort(Map<K, V>, Comparator<? super K>) - Static method in class cn.hutool.core.map.MapUtil
-
排序已有Map,Key有序的Map
- sortByEntry(Map<K, V>, Comparator<Map.Entry<K, V>>) - Static method in class cn.hutool.core.collection.CollUtil
-
通过Entry排序,可以按照键排序,也可以按照值排序,亦或者两者综合排序
- sortByPinyin(Collection<String>) - Static method in class cn.hutool.core.collection.CollUtil
-
根据汉字的拼音顺序排序
- sortByPinyin(List<String>) - Static method in class cn.hutool.core.collection.CollUtil
-
根据汉字的拼音顺序排序
- sortByPinyin(List<String>) - Static method in class cn.hutool.core.collection.ListUtil
-
根据汉字的拼音顺序排序
- sortByProperty(Collection<T>, String) - Static method in class cn.hutool.core.collection.CollUtil
-
根据Bean的属性排序
- sortByProperty(List<T>, String) - Static method in class cn.hutool.core.collection.CollUtil
-
根据Bean的属性排序
- sortByProperty(List<T>, String) - Static method in class cn.hutool.core.collection.ListUtil
-
根据Bean的属性排序
- sortByValue(Map<K, V>, boolean) - Static method in class cn.hutool.core.map.MapUtil
-
按照值排序,可选是否倒序
- sortEntryToList(Collection<Map.Entry<K, V>>) - Static method in class cn.hutool.core.collection.CollUtil
-
将Set排序(根据Entry的值)
- sortJoin(Map<?, ?>, String, String, boolean, String...) - Static method in class cn.hutool.core.map.MapUtil
-
根据参数排序后拼接为字符串,常用于签名
- sortPageAll(int, int, Comparator<T>, Collection<T>...) - Static method in class cn.hutool.core.collection.CollUtil
-
- sortToMap(Collection<Map.Entry<K, V>>, Comparator<Map.Entry<K, V>>) - Static method in class cn.hutool.core.collection.CollUtil
-
通过Entry排序,可以按照键排序,也可以按照值排序,亦或者两者综合排序
- source - Variable in class cn.hutool.core.annotation.AbstractAnnotationSynthesizer
-
合成注解来源最初来源
- source - Variable in class cn.hutool.core.bean.copier.AbsCopier
-
- SPACE - Static variable in interface cn.hutool.core.text.CharPool
-
字符常量:空格符 ' '
- SPACE - Static variable in class cn.hutool.core.text.CharSequenceUtil
-
字符串常量:空格符 " "
- spawnExecutor(CronTask) - Method in class cn.hutool.cron.TaskExecutorManager
-
启动 执行器TaskExecutor,即启动作业
- spawnLauncher(long) - Method in class cn.hutool.cron.TaskLauncherManager
-
启动 TaskLauncher
- SPECIFICATION_NAME - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 运行时环境规范名称
- SPECIFICATION_NAME - Static variable in class cn.hutool.system.SystemUtil
-
Java 运行时环境规范名称的KEY
- SPECIFICATION_VENDOR - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 运行时环境规范供应商
- SPECIFICATION_VENDOR - Static variable in class cn.hutool.system.SystemUtil
-
Java 运行时环境规范供应商的KEY
- SPECIFICATION_VERSION - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 运行时环境规范版本
- SPECIFICATION_VERSION - Static variable in class cn.hutool.system.SystemUtil
-
Java 运行时环境规范版本的KEY
- SpELEngine - Class in cn.hutool.extra.expression.engine.spel
-
Spring-Expression引擎封装
见:https://github.com/spring-projects/spring-framework/tree/master/spring-expression
- SpELEngine() - Constructor for class cn.hutool.extra.expression.engine.spel.SpELEngine
-
构造
- spendMs(long) - Static method in class cn.hutool.core.date.DateUtil
-
计时,常用于记录某段代码的执行时间,单位:毫秒
- spendNt(long) - Static method in class cn.hutool.core.date.DateUtil
-
计时,常用于记录某段代码的执行时间,单位:纳秒
- split(Collection<T>, int) - Static method in class cn.hutool.core.collection.CollUtil
-
对集合按照指定长度分段,每一个段为单独的集合,返回这个集合的列表
- split(List<T>, int) - Static method in class cn.hutool.core.collection.ListUtil
-
对集合按照指定长度分段,每一个段为单独的集合,返回这个集合的列表
需要特别注意的是,此方法调用
List.subList(int, int)
切分List,
此方法返回的是原List的视图,也就是说原List有变更,切分后的结果也会变更。
- split(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串
a#b#c =》 [a,b,c]
a##b#c =》 [a,"",b,c]
- split(CharSequence, char, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串,不去除切分后每个元素两边的空白符,不去除空白项
- split(CharSequence, char, boolean, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串,不限制分片数量
- split(CharSequence, char, int, boolean, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串
- split(CharSequence, char, int, boolean, Function<String, R>) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串
- split(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串,如果分隔符不存在则返回原字符串
- split(CharSequence, CharSequence, boolean, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串
- split(CharSequence, CharSequence, int, boolean, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串
- split(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
根据给定长度,将给定字符串截取为多个部分
- split(CharSequence, char, boolean, boolean) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串
- split(CharSequence, char, int, boolean, boolean) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串,大小写敏感
- split(CharSequence, char, int, boolean, Function<String, R>) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串,大小写敏感
- split(CharSequence, char, int, boolean, boolean, boolean) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串
- split(CharSequence, char, int, boolean, boolean, Function<String, R>) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串
如果为空字符串或者null 则返回空集合
- split(CharSequence, String, boolean, boolean) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串,不忽略大小写
- split(CharSequence, String, int, boolean, boolean) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串,不忽略大小写
- split(CharSequence, String, int, boolean, boolean, boolean) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串
如果为空字符串或者null 则返回空集合
- split(CharSequence, int) - Static method in class cn.hutool.core.text.StrSplitter
-
使用空白符切分字符串
切分后的字符串两边不包含空白符,空串或空白符串并不做为元素之一
如果为空字符串或者null 则返回空集合
- split(String, Pattern, int, boolean, boolean) - Static method in class cn.hutool.core.text.StrSplitter
-
通过正则切分字符串
如果为空字符串或者null 则返回空集合
- split(byte[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
拆分byte数组为几个等份(最后一份按照剩余长度分配空间)
- splitAvg(List<T>, int) - Static method in class cn.hutool.core.collection.ListUtil
-
将集合平均分成多个list,返回这个集合的列表
例:
ListUtil.splitAvg(null, 3); // []
ListUtil.splitAvg(Arrays.asList(1, 2, 3, 4), 2); // [[1, 2], [3, 4]]
ListUtil.splitAvg(Arrays.asList(1, 2, 3), 5); // [[1], [2], [3], [], []]
ListUtil.splitAvg(Arrays.asList(1, 2, 3), 2); // [[1, 2], [3]]
- splitByLength(CharSequence, int) - Static method in class cn.hutool.core.text.StrSplitter
-
根据给定长度,将给定字符串截取为多个部分
- splitByRegex(String, String, int, boolean, boolean) - Static method in class cn.hutool.core.text.StrSplitter
-
通过正则切分字符串
- spliterator() - Method in class cn.hutool.core.collection.TransCollection
-
- spliterator() - Method in class cn.hutool.core.lang.Tuple
-
- SpliteratorUtil - Class in cn.hutool.core.collection
-
- SpliteratorUtil() - Constructor for class cn.hutool.core.collection.SpliteratorUtil
-
- splitIgnoreCase(CharSequence, char, int, boolean, boolean) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串,忽略大小写
- splitIgnoreCase(CharSequence, String, int, boolean, boolean) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串,忽略大小写
- SplitIter - Class in cn.hutool.core.text.split
-
- SplitIter(CharSequence, TextFinder, int, boolean) - Constructor for class cn.hutool.core.text.split.SplitIter
-
构造
- splitList(List<T>, int) - Static method in class cn.hutool.core.collection.CollUtil
-
- splitPath(CharSequence) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串路径,仅支持Unix分界符:/
- splitPath(CharSequence, int) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串路径,仅支持Unix分界符:/
- splitPathToArray(CharSequence) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串路径,仅支持Unix分界符:/
- splitPathToArray(CharSequence, int) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串路径,仅支持Unix分界符:/
- splitToArray(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串,如果分隔符不存在则返回原字符串
- splitToArray(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串
- splitToArray(CharSequence, char, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串
- splitToArray(CharSequence, char, int, boolean, boolean) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串为字符串数组
- splitToArray(CharSequence, String, int, boolean, boolean) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串为字符串数组
- splitToArray(String, int) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串为字符串数组
- splitToArray(String, Pattern, int, boolean, boolean) - Static method in class cn.hutool.core.text.StrSplitter
-
通过正则切分字符串为字符串数组
- splitToInt(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串为int数组
- splitToInt(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串为int数组
- splitToLong(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串为long数组
- splitToLong(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串为long数组
- splitTrim(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串,去除切分后每个元素两边的空白符,去除空白项
- splitTrim(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串,去除切分后每个元素两边的空白符,去除空白项
- splitTrim(CharSequence, char, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串,去除切分后每个元素两边的空白符,去除空白项
- splitTrim(CharSequence, CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串,去除切分后每个元素两边的空白符,去除空白项
- splitTrim(CharSequence, char, boolean) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串
- splitTrim(CharSequence, char, int, boolean) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串,大小写敏感,去除每个元素两边空白符
- splitTrim(CharSequence, String, boolean) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串,去除每个元素两边空格,忽略大小写
- splitTrim(CharSequence, String, int, boolean) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串,去除每个元素两边空格,忽略大小写
- splitTrimIgnoreCase(CharSequence, String, int, boolean) - Static method in class cn.hutool.core.text.StrSplitter
-
切分字符串,去除每个元素两边空格,忽略大小写
- SpringCglibInterceptor - Class in cn.hutool.aop.interceptor
-
Spring-cglib实现的动态代理切面
- SpringCglibInterceptor(Object, Aspect) - Constructor for class cn.hutool.aop.interceptor.SpringCglibInterceptor
-
构造
- SpringCglibProxyFactory - Class in cn.hutool.aop.proxy
-
基于Spring-cglib的切面代理工厂
- SpringCglibProxyFactory() - Constructor for class cn.hutool.aop.proxy.SpringCglibProxyFactory
-
- SpringUtil - Class in cn.hutool.extra.spring
-
Spring(Spring boot)工具封装,包括:
Spring IOC容器中的bean对象获取
注册和注销Bean
- SpringUtil() - Constructor for class cn.hutool.extra.spring.SpringUtil
-
- SqlBuilder - Class in cn.hutool.db.sql
-
SQL构建器
首先拼接SQL语句,值使用 ?
- SqlBuilder() - Constructor for class cn.hutool.db.sql.SqlBuilder
-
- SqlBuilder(Wrapper) - Constructor for class cn.hutool.db.sql.SqlBuilder
-
- SqlBuilder.Join - Enum in cn.hutool.db.sql
-
SQL中多表关联用的关键字
- SqlConnRunner - Class in cn.hutool.db
-
SQL执行类
此执行类只接受方言参数,不需要数据源,只有在执行方法时需要数据库连接对象
此对象存在的意义在于,可以由使用者自定义数据库连接对象,并执行多个方法,方便事务的统一控制或减少连接对象的创建关闭
相比
DialectRunner
,此类中提供了更多重载方法
- SqlConnRunner(Dialect) - Constructor for class cn.hutool.db.SqlConnRunner
-
构造
- SqlConnRunner(String) - Constructor for class cn.hutool.db.SqlConnRunner
-
构造
- SqlExecutor - Class in cn.hutool.db.sql
-
SQL执行器,全部为静态方法,执行查询或非查询的SQL语句
此方法为JDBC的简单封装,与数据库类型无关
- SqlExecutor() - Constructor for class cn.hutool.db.sql.SqlExecutor
-
- SqlFormatter - Class in cn.hutool.db.sql
-
SQL格式化器 from Hibernate
- SqlFormatter() - Constructor for class cn.hutool.db.sql.SqlFormatter
-
- Sqlite3Dialect - Class in cn.hutool.db.dialect.impl
-
SqlLite3方言
- Sqlite3Dialect() - Constructor for class cn.hutool.db.dialect.impl.Sqlite3Dialect
-
- SqlLog - Enum in cn.hutool.db.sql
-
SQL在日志中打印配置
- SqlServer2012Dialect - Class in cn.hutool.db.dialect.impl
-
SQLServer2012 方言
- SqlServer2012Dialect() - Constructor for class cn.hutool.db.dialect.impl.SqlServer2012Dialect
-
- SqlUtil - Class in cn.hutool.db.sql
-
SQL相关工具类,包括相关SQL语句拼接等
- SqlUtil() - Constructor for class cn.hutool.db.sql.SqlUtil
-
- sqrt(long) - Static method in class cn.hutool.core.util.NumberUtil
-
- src - Variable in class cn.hutool.core.lang.copier.SrcToDestCopier
-
源
- SrcToDestCopier<T,C extends SrcToDestCopier<T,C>> - Class in cn.hutool.core.lang.copier
-
- SrcToDestCopier() - Constructor for class cn.hutool.core.lang.copier.SrcToDestCopier
-
- SSH_NONE - Static variable in class cn.hutool.extra.ssh.JschUtil
-
不使用SSH的值
- SshjSftp - Class in cn.hutool.extra.ssh
-
在使用jsch 进行sftp协议下载文件时,总是中文乱码,而该框架源码又不允许设置编码。
- SshjSftp(String) - Constructor for class cn.hutool.extra.ssh.SshjSftp
-
构造,使用默认端口
- SshjSftp(String, String, String) - Constructor for class cn.hutool.extra.ssh.SshjSftp
-
构造
- SshjSftp(String, int, String, String) - Constructor for class cn.hutool.extra.ssh.SshjSftp
-
构造
- SshjSftp(String, int, String, String, Charset) - Constructor for class cn.hutool.extra.ssh.SshjSftp
-
构造
- SshjSftp(FtpConfig) - Constructor for class cn.hutool.extra.ssh.SshjSftp
-
构造
- SSL - Static variable in interface cn.hutool.core.net.SSLProtocols
-
Supports some version of SSL; may support other versions
- SSLContextBuilder - Class in cn.hutool.core.net
-
- SSLContextBuilder() - Constructor for class cn.hutool.core.net.SSLContextBuilder
-
- SSLProtocols - Interface in cn.hutool.core.net
-
SSL或TLS协议
- SSLSocketFactoryBuilder - Class in cn.hutool.http.ssl
-
- SSLSocketFactoryBuilder() - Constructor for class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
Deprecated.
构造
- SSLUtil - Class in cn.hutool.core.net
-
SSL(Secure Sockets Layer 安全套接字协议)相关工具封装
- SSLUtil() - Constructor for class cn.hutool.core.net.SSLUtil
-
- SSLv2 - Static variable in interface cn.hutool.core.net.SSLProtocols
-
Supports SSL version 2 or later; may support other versions
- SSLv3 - Static variable in interface cn.hutool.core.net.SSLProtocols
-
Supports SSL version 3; may support other versions
- StackTraceCaller - Class in cn.hutool.core.lang.caller
-
通过StackTrace方式获取调用者。
- StackTraceCaller() - Constructor for class cn.hutool.core.lang.caller.StackTraceCaller
-
- StackTraceElementConverter - Class in cn.hutool.core.convert.impl
-
- StackTraceElementConverter() - Constructor for class cn.hutool.core.convert.impl.StackTraceElementConverter
-
- stacktraceToOneLineString(Throwable) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
堆栈转为单行完整字符串
- stacktraceToOneLineString(Throwable, int) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
堆栈转为单行完整字符串
- stacktraceToString(Throwable) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
堆栈转为完整字符串
- stacktraceToString(Throwable, int) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
堆栈转为完整字符串
- stacktraceToString(Throwable, int, Map<Character, String>) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
堆栈转为完整字符串
- StampedCache<K,V> - Class in cn.hutool.cache.impl
-
- StampedCache() - Constructor for class cn.hutool.cache.impl.StampedCache
-
- start(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
开始计时并返回当前时间
- start() - Method in class cn.hutool.core.date.StopWatch
-
开始默认的新任务
- start(String) - Method in class cn.hutool.core.date.StopWatch
-
开始指定名称的新任务
- start() - Method in class cn.hutool.core.date.TimeInterval
-
- start(OutputStream) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Initiates GIF file creation on the given stream.
- start(String) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Initiates writing of a GIF file with the specified name.
- start() - Method in class cn.hutool.core.io.file.Tailer
-
开始监听
- start(boolean) - Method in class cn.hutool.core.io.file.Tailer
-
开始监听
- start() - Method in interface cn.hutool.core.io.StreamProgress
-
开始
- start(int) - Method in class cn.hutool.core.text.finder.CharFinder
-
- start(int) - Method in class cn.hutool.core.text.finder.CharMatcherFinder
-
- start(int) - Method in interface cn.hutool.core.text.finder.Finder
-
返回开始位置,即起始字符位置(包含),未找到返回-1
- start(int) - Method in class cn.hutool.core.text.finder.LengthFinder
-
- start(int) - Method in class cn.hutool.core.text.finder.PatternFinder
-
- start(int) - Method in class cn.hutool.core.text.finder.StrFinder
-
- start() - Method in class cn.hutool.core.thread.SyncFinisher
-
- start(boolean) - Method in class cn.hutool.core.thread.SyncFinisher
-
- start() - Static method in class cn.hutool.cron.CronUtil
-
开始,非守护线程模式
- start(boolean) - Static method in class cn.hutool.cron.CronUtil
-
开始
- start(boolean) - Method in class cn.hutool.cron.Scheduler
-
启动
- start() - Method in class cn.hutool.cron.Scheduler
-
启动
- start() - Method in class cn.hutool.cron.timingwheel.SystemTimer
-
启动,异步
- start() - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
启动FTP服务,阻塞当前线程
- start() - Method in class cn.hutool.http.server.SimpleServer
-
启动Http服务器,启动后会阻塞当前线程
- start(boolean) - Method in class cn.hutool.socket.aio.AioServer
-
开始监听
- start() - Method in class cn.hutool.socket.nio.NioServer
-
启动NIO服务端,即开始监听
- started - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- startElement(String, String, String, Attributes) - Method in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
读到一个xml开始标签时的回调处理方法
- startElement(String, String, String, Attributes) - Method in class cn.hutool.poi.excel.sax.SheetRidReader
-
- startIndex - Variable in class cn.hutool.core.lang.DefaultSegment
-
- startRowIndex - Variable in class cn.hutool.poi.excel.reader.AbstractSheetReader
-
读取起始行(包含,从0开始计数)
- startRowIndex - Variable in class cn.hutool.poi.excel.sax.handler.AbstractRowHandler
-
读取起始行(包含,从0开始计数)
- startWith(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
字符串是否以给定字符开始
- startWith(CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
是否以指定字符串开头
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
- startWith(CharSequence, CharSequence, boolean, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
是否以指定字符串开头
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
CharSequenceUtil.startWith("123", "123", false, true); -- false
CharSequenceUtil.startWith("ABCDEF", "abc", true, true); -- true
CharSequenceUtil.startWith("abc", "abc", true, true); -- false
- startWith(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
是否以指定字符串开头
- startWithAny(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串是否以任何一个字符串开始
给定字符串和数组为空都返回false
- startWithAnyIgnoreCase(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串是否以任何一个字符串开始(忽略大小写)
给定字符串和数组为空都返回false
- startWithIgnoreCase(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
是否以指定字符串开头,忽略大小写
- startWithIgnoreEquals(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
是否以指定字符串开头,忽略相等字符串的情况
- stat(String) - Method in class cn.hutool.extra.ftp.Ftp
-
获取服务端目录状态。
- state(boolean, Supplier<String>) - Static method in class cn.hutool.core.lang.Assert
-
检查boolean表达式,当检查结果为false时抛出 IllegalStateException
。
- state(boolean, String, Object...) - Static method in class cn.hutool.core.lang.Assert
-
检查boolean表达式,当检查结果为false时抛出 IllegalStateException
。
- state(boolean) - Static method in class cn.hutool.core.lang.Assert
-
检查boolean表达式,当检查结果为false时抛出 IllegalStateException
。
- StatefulException - Exception in cn.hutool.core.exceptions
-
带有状态码的异常
- StatefulException() - Constructor for exception cn.hutool.core.exceptions.StatefulException
-
- StatefulException(String) - Constructor for exception cn.hutool.core.exceptions.StatefulException
-
- StatefulException(String, Object...) - Constructor for exception cn.hutool.core.exceptions.StatefulException
-
- StatefulException(Throwable) - Constructor for exception cn.hutool.core.exceptions.StatefulException
-
- StatefulException(String, Throwable) - Constructor for exception cn.hutool.core.exceptions.StatefulException
-
- StatefulException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.core.exceptions.StatefulException
-
- StatefulException(int, String) - Constructor for exception cn.hutool.core.exceptions.StatefulException
-
- StatefulException(int, Throwable) - Constructor for exception cn.hutool.core.exceptions.StatefulException
-
- StatefulException(int, String, Throwable) - Constructor for exception cn.hutool.core.exceptions.StatefulException
-
- StatementUtil - Class in cn.hutool.db
-
Statement和PreparedStatement工具类
- StatementUtil() - Constructor for class cn.hutool.db.StatementUtil
-
- StatementWrapper - Class in cn.hutool.db.sql
-
- StatementWrapper(PreparedStatement) - Constructor for class cn.hutool.db.sql.StatementWrapper
-
构造
- StaticLog - Class in cn.hutool.log
-
静态日志类,用于在不引入日志对象的情况下打印日志
- status - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- status - Variable in class cn.hutool.http.HttpResponse
-
响应状态码
- STATUS_FORMAT_ERROR - Static variable in class cn.hutool.core.img.gif.GifDecoder
-
File read status: Error decoding file (may be partially decoded)
- STATUS_OK - Static variable in class cn.hutool.core.img.gif.GifDecoder
-
File read status: No errors.
- STATUS_OPEN_ERROR - Static variable in class cn.hutool.core.img.gif.GifDecoder
-
File read status: Unable to open source.
- step(T, T, int) - Method in interface cn.hutool.core.lang.Range.Stepper
-
增加步进
增加步进后的返回值如果为null
则表示步进结束
用户需根据end参数自行定义边界,当达到边界时返回null表示结束,否则Range中边界对象无效,会导致无限循环
- stop() - Method in class cn.hutool.core.date.StopWatch
-
停止当前任务
- stop() - Method in class cn.hutool.core.io.file.Tailer
-
结束,此方法需在异步模式或
- stop() - Method in class cn.hutool.core.thread.SyncFinisher
-
结束线程池。
- stop() - Static method in class cn.hutool.cron.CronUtil
-
停止
- stop() - Method in class cn.hutool.cron.Scheduler
-
停止定时任务
此方法调用后会将定时器进程立即结束,如果为守护线程模式,则正在执行的作业也会自动结束,否则作业线程将在执行完成后结束。
- stop(boolean) - Method in class cn.hutool.cron.Scheduler
-
停止定时任务
此方法调用后会将定时器进程立即结束,如果为守护线程模式,则正在执行的作业也会自动结束,否则作业线程将在执行完成后结束。
- stop() - Method in class cn.hutool.cron.timingwheel.SystemTimer
-
强制结束
- STOP_WORD - Static variable in class cn.hutool.dfa.StopChar
-
不需要处理的词,如标点符号、空格等
- StopChar - Class in cn.hutool.dfa
-
过滤词及一些简单处理
- StopChar() - Constructor for class cn.hutool.dfa.StopChar
-
- stopNow() - Method in class cn.hutool.core.thread.SyncFinisher
-
立即结束线程池所有线程。
- stopTimer() - Method in class cn.hutool.cron.CronTimer
-
关闭定时器
- StopWatch - Class in cn.hutool.core.date
-
秒表封装
此工具用于存储一组任务的耗时时间,并一次性打印对比。
- StopWatch() - Constructor for class cn.hutool.core.date.StopWatch
-
构造,不启动任何任务
- StopWatch(String) - Constructor for class cn.hutool.core.date.StopWatch
-
构造,不启动任何任务
- StopWatch(String, boolean) - Constructor for class cn.hutool.core.date.StopWatch
-
构造,不启动任何任务
- StopWatch.TaskInfo - Class in cn.hutool.core.date
-
存放任务名称和花费时间对象
- store(Long) - Method in class cn.hutool.core.text.Simhash
-
按照(frac, 《simhash, content》)索引进行存储
- store(HttpConnection) - Static method in class cn.hutool.http.cookie.GlobalCookieManager
-
存储响应的Cookie信息到本地
- store(String) - Method in class cn.hutool.setting.dialect.Props
-
持久化当前设置,会覆盖掉之前的设置
- store(String, Class<?>) - Method in class cn.hutool.setting.dialect.Props
-
存储当前设置,会覆盖掉以前的设置
- store() - Method in class cn.hutool.setting.Setting
-
持久化当前设置,会覆盖掉之前的设置
持久化不会保留之前的分组,注意如果配置文件在jar内部或者在exe中,此方法会报错。
- store(String) - Method in class cn.hutool.setting.Setting
-
持久化当前设置,会覆盖掉之前的设置
持久化不会保留之前的分组
- store(File) - Method in class cn.hutool.setting.Setting
-
持久化当前设置,会覆盖掉之前的设置
持久化不会保留之前的分组
- store(String) - Method in class cn.hutool.setting.SettingLoader
-
持久化当前设置,会覆盖掉之前的设置
持久化会不会保留之前的分组
- store(File) - Method in class cn.hutool.setting.SettingLoader
-
持久化当前设置,会覆盖掉之前的设置
持久化会不会保留之前的分组
- str(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
- str(Object, String) - Static method in class cn.hutool.core.util.StrUtil
-
- str(Object, Charset) - Static method in class cn.hutool.core.util.StrUtil
-
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组
2、对象数组会调用Arrays.toString方法
- str(byte[], String) - Static method in class cn.hutool.core.util.StrUtil
-
将byte数组转为字符串
- str(byte[], Charset) - Static method in class cn.hutool.core.util.StrUtil
-
解码字节码
- str(Byte[], String) - Static method in class cn.hutool.core.util.StrUtil
-
将Byte数组转为字符串
- str(Byte[], Charset) - Static method in class cn.hutool.core.util.StrUtil
-
解码字节码
- str(ByteBuffer, String) - Static method in class cn.hutool.core.util.StrUtil
-
将编码的byteBuffer数据转换为字符串
- str(ByteBuffer, Charset) - Static method in class cn.hutool.core.util.StrUtil
-
将编码的byteBuffer数据转换为字符串
- strBuilder(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
创建StrBuilder对象
- StrBuilder - Class in cn.hutool.core.text
-
可复用的字符串生成器,非线程安全
TODO 6.x移除此类,java8的StringBuilder非常完善了,无需重写。
- StrBuilder() - Constructor for class cn.hutool.core.text.StrBuilder
-
构造
- StrBuilder(int) - Constructor for class cn.hutool.core.text.StrBuilder
-
构造
- StrBuilder(CharSequence...) - Constructor for class cn.hutool.core.text.StrBuilder
-
构造
- strBuilder() - Static method in class cn.hutool.core.util.StrUtil
-
创建StrBuilder对象
- strBuilder(int) - Static method in class cn.hutool.core.util.StrUtil
-
创建StrBuilder对象
- StrClipboardListener - Class in cn.hutool.core.swing.clipboard
-
剪贴板字符串内容监听
- StrClipboardListener() - Constructor for class cn.hutool.core.swing.clipboard.StrClipboardListener
-
- stream() - Method in class cn.hutool.core.lang.Opt
-
如果包裹里元素的值存在,就返回一个包含该元素的
Stream
,
否则返回一个空元素的
Stream
该方法能将 Opt 中的元素传递给
Stream
{@code
Stream
> os = ..
- stream() - Method in class cn.hutool.core.lang.Tuple
-
将元组转成流
- stream() - Method in class cn.hutool.core.text.csv.CsvReader
-
根据Reader创建
Stream
,以便使用stream方式读取csv行
- StreamArchiver - Class in cn.hutool.extra.compress.archiver
-
数据归档封装,归档即将几个文件或目录打成一个压缩包
支持的归档文件格式为:
ArchiveStreamFactory.AR
ArchiveStreamFactory.CPIO
ArchiveStreamFactory.JAR
ArchiveStreamFactory.TAR
ArchiveStreamFactory.ZIP
- StreamArchiver(Charset, String, File) - Constructor for class cn.hutool.extra.compress.archiver.StreamArchiver
-
构造
- StreamArchiver(Charset, String, OutputStream) - Constructor for class cn.hutool.extra.compress.archiver.StreamArchiver
-
构造
- StreamCopier - Class in cn.hutool.core.io.copy
-
- StreamCopier() - Constructor for class cn.hutool.core.io.copy.StreamCopier
-
构造
- StreamCopier(int) - Constructor for class cn.hutool.core.io.copy.StreamCopier
-
构造
- StreamCopier(int, long) - Constructor for class cn.hutool.core.io.copy.StreamCopier
-
构造
- StreamCopier(int, long, StreamProgress) - Constructor for class cn.hutool.core.io.copy.StreamCopier
-
构造
- StreamExtractor - Class in cn.hutool.extra.compress.extractor
-
数据解压器,即将归档打包的数据释放
- StreamExtractor(Charset, File) - Constructor for class cn.hutool.extra.compress.extractor.StreamExtractor
-
构造
- StreamExtractor(Charset, String, File) - Constructor for class cn.hutool.extra.compress.extractor.StreamExtractor
-
构造
- StreamExtractor(Charset, InputStream) - Constructor for class cn.hutool.extra.compress.extractor.StreamExtractor
-
构造
- StreamExtractor(Charset, String, InputStream) - Constructor for class cn.hutool.extra.compress.extractor.StreamExtractor
-
构造
如果抛出异常,则提供的流将被关闭
- StreamProgress - Interface in cn.hutool.core.io
-
Stream进度条
提供流拷贝进度监测,如开始、结束触发,以及进度回调。
- StreamUtil - Class in cn.hutool.core.stream
-
- StreamUtil() - Constructor for class cn.hutool.core.stream.StreamUtil
-
- StrFinder - Class in cn.hutool.core.text.finder
-
字符串查找器
- StrFinder(CharSequence, boolean) - Constructor for class cn.hutool.core.text.finder.StrFinder
-
构造
- StrFormatter - Class in cn.hutool.core.text
-
字符串格式化工具
- StrFormatter() - Constructor for class cn.hutool.core.text.StrFormatter
-
- StringConverter - Class in cn.hutool.core.convert.impl
-
字符串转换器,提供各种对象转换为字符串的逻辑封装
- StringConverter() - Constructor for class cn.hutool.core.convert.impl.StringConverter
-
- StringHandler - Class in cn.hutool.db.handler
-
处理为字符串结果,当查询结果为单个字符串时使用此处理器
- StringHandler() - Constructor for class cn.hutool.db.handler.StringHandler
-
- StringResource - Class in cn.hutool.core.io.resource
-
字符串资源,字符串做为资源
- StringResource(String) - Constructor for class cn.hutool.core.io.resource.StringResource
-
构造,使用UTF8编码
- StringResource(String, String) - Constructor for class cn.hutool.core.io.resource.StringResource
-
构造,使用UTF8编码
- StringResource(String, String, Charset) - Constructor for class cn.hutool.core.io.resource.StringResource
-
构造
- StringResourceLoader - Class in cn.hutool.extra.template.engine.jetbrick.loader
-
字符串模板加载器
- StringResourceLoader() - Constructor for class cn.hutool.extra.template.engine.jetbrick.loader.StringResourceLoader
-
- stringToValue(String) - Static method in class cn.hutool.json.InternalJSONUtil
-
尝试转换字符串为number, boolean, or null,无法转换返回String
- strip(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去除两边的指定字符串
- strip(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去除两边的指定字符串
两边字符如果存在,则去除,不存在不做处理
"aaa_STRIPPED_bbb", "a", "b" -> "aa_STRIPPED_bb"
"aaa_STRIPPED_bbb", null, null -> "aaa_STRIPPED_bbb"
"aaa_STRIPPED_bbb", "", "" -> "aaa_STRIPPED_bbb"
"aaa_STRIPPED_bbb", "", "b" -> "aaa_STRIPPED_bb"
"aaa_STRIPPED_bbb", null, "b" -> "aaa_STRIPPED_bb"
"aaa_STRIPPED_bbb", "a", "" -> "aa_STRIPPED_bbb"
"aaa_STRIPPED_bbb", "a", null -> "aa_STRIPPED_bbb"
"a", "a", "a" -> ""
- strip(CharSequence, CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去除两边的指定字符串
两边字符如果存在,则去除,不存在不做处理
"aaa_STRIPPED_bbb", "a", "b" -> "aa_STRIPPED_bb"
"aaa_STRIPPED_bbb", null, null -> "aaa_STRIPPED_bbb"
"aaa_STRIPPED_bbb", "", "" -> "aaa_STRIPPED_bbb"
"aaa_STRIPPED_bbb", "", "b" -> "aaa_STRIPPED_bb"
"aaa_STRIPPED_bbb", null, "b" -> "aaa_STRIPPED_bb"
"aaa_STRIPPED_bbb", "a", "" -> "aa_STRIPPED_bbb"
"aaa_STRIPPED_bbb", "a", null -> "aa_STRIPPED_bbb"
"a", "a", "a" -> ""
- stripAll(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去除两边所有的指定字符串
"aaa_STRIPPED_bbb", "a" -> "_STRIPPED_bbb"
"aaa_STRIPPED_bbb", "a", "b" -> "_STRIPPED_"
"aaa_STRIPPED_bbb", "" -> "aaa_STRIPPED_bbb"
- stripAll(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去除两边所有的指定字符串
"aaa_STRIPPED_bbb", "a", "b" -> "_STRIPPED_"
"aaa_STRIPPED_bbb", null, null -> "aaa_STRIPPED_bbb"
"aaa_STRIPPED_bbb", "", "" -> "aaa_STRIPPED_bbb"
"aaa_STRIPPED_bbb", "", "b" -> "aaa_STRIPPED_"
"aaa_STRIPPED_bbb", null, "b" -> "aaa_STRIPPED_"
"aaa_STRIPPED_bbb", "a", "" -> "_STRIPPED_bbb"
"aaa_STRIPPED_bbb", "a", null -> "_STRIPPED_bbb"
// special test
"aaaaaabbb", "aaa", null -> "bbb"
"aaaaaaabbb", "aa", null -> "abbb"
"aaaaaaaaa", "aaa", "aa" -> ""
"a", "a", "a" -> ""
- stripIgnoreCase(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去除两边的指定字符串,忽略大小写
- stripIgnoreCase(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去除两边的指定字符串,忽略大小写
- stripName(String, int) - Method in interface cn.hutool.extra.compress.extractor.Extractor
-
剥离名称
- StrJoiner - Class in cn.hutool.core.text
-
字符串连接器(拼接器),通过给定的字符串和多个元素,拼接为一个字符串
相较于
StringJoiner
提供更加灵活的配置,包括:
支持任意Appendable接口实现
支持每个元素单独wrap
支持自定义null的处理逻辑
支持自定义默认结果
- StrJoiner(CharSequence) - Constructor for class cn.hutool.core.text.StrJoiner
-
构造
- StrJoiner(Appendable, CharSequence) - Constructor for class cn.hutool.core.text.StrJoiner
-
构造
- StrJoiner(CharSequence, CharSequence, CharSequence) - Constructor for class cn.hutool.core.text.StrJoiner
-
构造
- StrJoiner(Appendable, CharSequence, CharSequence, CharSequence) - Constructor for class cn.hutool.core.text.StrJoiner
-
构造
- StrJoiner.NullMode - Enum in cn.hutool.core.text
-
null
处理的模式
- StrMatcher - Class in cn.hutool.core.text
-
字符串模式匹配,使用${XXXXX}作为变量,例如:
pattern: ${name}-${age}-${gender}-${country}-${province}-${city}-${status}
text: "小明-19-男-中国-河南-郑州-已婚"
result: {name=小明, age=19, gender=男, country=中国, province=河南, city=郑州, status=已婚}
- StrMatcher(String) - Constructor for class cn.hutool.core.text.StrMatcher
-
构造
- stroke(Color, float) - Method in class cn.hutool.core.img.Img
-
描边,此方法为向内描边,会覆盖图片相应的位置
- stroke(Color, Stroke) - Method in class cn.hutool.core.img.Img
-
描边,此方法为向内描边,会覆盖图片相应的位置
- StrPool - Interface in cn.hutool.core.text
-
常用字符串常量定义
- StrReplacer - Class in cn.hutool.core.text.replacer
-
抽象字符串替换类
通过实现replace方法实现局部替换逻辑
- StrReplacer() - Constructor for class cn.hutool.core.text.replacer.StrReplacer
-
- StrSplitter - Class in cn.hutool.core.text
-
字符串切分器,封装统一的字符串分割静态方法
- StrSplitter() - Constructor for class cn.hutool.core.text.StrSplitter
-
- strToBcd(String) - Static method in class cn.hutool.core.codec.BCD
-
Deprecated.
字符串转BCD码
- strToUnicode(String) - Static method in class cn.hutool.core.convert.Convert
-
String的字符串转换成unicode的String
- StrUtil - Class in cn.hutool.core.util
-
字符串工具类
- StrUtil() - Constructor for class cn.hutool.core.util.StrUtil
-
- StyleSet - Class in cn.hutool.poi.excel
-
样式集合,此样式集合汇集了整个工作簿的样式,用于减少样式的创建和冗余
- StyleSet(Workbook) - Constructor for class cn.hutool.poi.excel.StyleSet
-
构造
- stylesTable - Variable in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
- StyleUtil - Class in cn.hutool.poi.excel.style
-
Excel样式工具类
- StyleUtil() - Constructor for class cn.hutool.poi.excel.style.StyleUtil
-
- sub(List<T>, int, int) - Static method in class cn.hutool.core.collection.CollUtil
-
截取列表的部分
- sub(List<T>, int, int, int) - Static method in class cn.hutool.core.collection.CollUtil
-
截取列表的部分
- sub(Collection<T>, int, int) - Static method in class cn.hutool.core.collection.CollUtil
-
截取集合的部分
- sub(Collection<T>, int, int, int) - Static method in class cn.hutool.core.collection.CollUtil
-
截取集合的部分
- sub(List<T>, int, int) - Static method in class cn.hutool.core.collection.ListUtil
-
截取集合的部分
- sub(List<T>, int, int, int) - Static method in class cn.hutool.core.collection.ListUtil
-
- sub(int, int) - Method in class cn.hutool.core.lang.Tuple
-
截取元组指定部分
- sub(CharSequence, int, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
改进JDK subString
index从0开始计算,最后一个字符为-1
如果from和to位置一样,返回 ""
如果from或to为负数,则按照length从后向前数位置,如果绝对值大于字符串长度,则from归到0,to归到length
如果经过修正的index中from大于to,则互换from和to example:
abcdefgh 2 3 =》 c
abcdefgh 2 -3 =》 cde
- sub(T[], int, int) - Static method in class cn.hutool.core.util.ArrayUtil
-
获取子数组
- sub(Object, int, int) - Static method in class cn.hutool.core.util.ArrayUtil
-
获取子数组
- sub(Object, int, int, int) - Static method in class cn.hutool.core.util.ArrayUtil
-
获取子数组
- sub(float, float) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的减法运算
- sub(float, double) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的减法运算
- sub(double, float) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的减法运算
- sub(double, double) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的减法运算
- sub(Double, Double) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的减法运算
- sub(Number, Number) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的减法运算
如果传入多个值为null或者空,则返回0
- sub(Number...) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的减法运算
如果传入多个值为null或者空,则返回0
- sub(String...) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的减法运算
如果传入多个值为null或者空,则返回0
- sub(BigDecimal...) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的减法运算
如果传入多个值为null或者空,则返回0
- sub(byte[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
获取子数组
- sub(int[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
获取子数组
- sub(long[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
获取子数组
- sub(short[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
获取子数组
- sub(char[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
获取子数组
- sub(double[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
获取子数组
- sub(float[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
获取子数组
- sub(boolean[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
获取子数组
- SUB_DELIMS - Static variable in class cn.hutool.core.net.RFC3986
-
sub-delims = "!"
- subAfter(CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取分隔字符串之后的字符串,不包括分隔字符串
如果给定的字符串为空串(null或""),返回原字符串
如果分隔字符串为空串(null或""),则返回空串,如果分隔字符串未找到,返回空串,举例如下:
CharSequenceUtil.subAfter(null, *, false) = null
CharSequenceUtil.subAfter("", *, false) = ""
CharSequenceUtil.subAfter(*, null, false) = ""
CharSequenceUtil.subAfter("abc", "a", false) = "bc"
CharSequenceUtil.subAfter("abcba", "b", false) = "cba"
CharSequenceUtil.subAfter("abc", "c", false) = ""
CharSequenceUtil.subAfter("abc", "d", false) = ""
CharSequenceUtil.subAfter("abc", "", false) = "abc"
- subAfter(CharSequence, char, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取分隔字符串之后的字符串,不包括分隔字符串
如果给定的字符串为空串(null或""),返回原字符串
如果分隔字符串为空串(null或""),则返回空串,如果分隔字符串未找到,返回空串,举例如下:
CharSequenceUtil.subAfter(null, *, false) = null
CharSequenceUtil.subAfter("", *, false) = ""
CharSequenceUtil.subAfter("abc", 'a', false) = "bc"
CharSequenceUtil.subAfter("abcba", 'b', false) = "cba"
CharSequenceUtil.subAfter("abc", 'c', false) = ""
CharSequenceUtil.subAfter("abc", 'd', false) = ""
- subAfter(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
获取手机号后4位
- subBefore(CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取分隔字符串之前的字符串,不包括分隔字符串
如果给定的字符串为空串(null或"")或者分隔字符串为null,返回原字符串
如果分隔字符串为空串"",则返回空串,如果分隔字符串未找到,返回原字符串,举例如下:
CharSequenceUtil.subBefore(null, *, false) = null
CharSequenceUtil.subBefore("", *, false) = ""
CharSequenceUtil.subBefore("abc", "a", false) = ""
CharSequenceUtil.subBefore("abcba", "b", false) = "a"
CharSequenceUtil.subBefore("abc", "c", false) = "ab"
CharSequenceUtil.subBefore("abc", "d", false) = "abc"
CharSequenceUtil.subBefore("abc", "", false) = ""
CharSequenceUtil.subBefore("abc", null, false) = "abc"
- subBefore(CharSequence, char, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取分隔字符串之前的字符串,不包括分隔字符串
如果给定的字符串为空串(null或"")或者分隔字符串为null,返回原字符串
如果分隔字符串未找到,返回原字符串,举例如下:
CharSequenceUtil.subBefore(null, *, false) = null
CharSequenceUtil.subBefore("", *, false) = ""
CharSequenceUtil.subBefore("abc", 'a', false) = ""
CharSequenceUtil.subBefore("abcba", 'b', false) = "a"
CharSequenceUtil.subBefore("abc", 'c', false) = "ab"
CharSequenceUtil.subBefore("abc", 'd', false) = "abc"
- subBefore(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
获取手机号前3位
- subBetween(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取指定字符串中间部分,不包括标识字符串
栗子:
CharSequenceUtil.subBetween("wx[b]yz", "[", "]") = "b"
CharSequenceUtil.subBetween(null, *, *) = null
CharSequenceUtil.subBetween(*, null, *) = null
CharSequenceUtil.subBetween(*, *, null) = null
CharSequenceUtil.subBetween("", "", "") = ""
CharSequenceUtil.subBetween("", "", "]") = null
CharSequenceUtil.subBetween("", "[", "]") = null
CharSequenceUtil.subBetween("yabcz", "", "") = ""
CharSequenceUtil.subBetween("yabcz", "y", "z") = "abc"
CharSequenceUtil.subBetween("yabczyabcz", "y", "z") = "abc"
- subBetween(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取指定字符串中间部分,不包括标识字符串
栗子:
CharSequenceUtil.subBetween(null, *) = null
CharSequenceUtil.subBetween("", "") = ""
CharSequenceUtil.subBetween("", "tag") = null
CharSequenceUtil.subBetween("tagabctag", null) = null
CharSequenceUtil.subBetween("tagabctag", "") = ""
CharSequenceUtil.subBetween("tagabctag", "tag") = "abc"
- subBetween(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
获取手机号中间4位
- subBetweenAll(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取指定字符串多段中间部分,不包括标识字符串
栗子:
CharSequenceUtil.subBetweenAll("wx[b]y[z]", "[", "]") = ["b","z"]
CharSequenceUtil.subBetweenAll(null, *, *) = []
CharSequenceUtil.subBetweenAll(*, null, *) = []
CharSequenceUtil.subBetweenAll(*, *, null) = []
CharSequenceUtil.subBetweenAll("", "", "") = []
CharSequenceUtil.subBetweenAll("", "", "]") = []
CharSequenceUtil.subBetweenAll("", "[", "]") = []
CharSequenceUtil.subBetweenAll("yabcz", "", "") = []
CharSequenceUtil.subBetweenAll("yabcz", "y", "z") = ["abc"]
CharSequenceUtil.subBetweenAll("yabczyabcz", "y", "z") = ["abc","abc"]
CharSequenceUtil.subBetweenAll("[yabc[zy]abcz]", "[", "]"); = ["zy"] 重叠时只截取内部,
- subBetweenAll(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取指定字符串多段中间部分,不包括标识字符串
栗子:
CharSequenceUtil.subBetweenAll(null, *) = []
CharSequenceUtil.subBetweenAll(*, null) = []
CharSequenceUtil.subBetweenAll(*, *) = []
CharSequenceUtil.subBetweenAll("", "") = []
CharSequenceUtil.subBetweenAll("", "#") = []
CharSequenceUtil.subBetweenAll("gotanks", "") = []
CharSequenceUtil.subBetweenAll("#gotanks#", "#") = ["gotanks"]
CharSequenceUtil.subBetweenAll("#hello# #world#!"
- subByCodePoint(CharSequence, int, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
通过CodePoint截取字符串,可以截断Emoji
- SUBJECT - Static variable in interface cn.hutool.jwt.RegisteredPayload
-
jwt所面向的用户
- subList(int, int) - Method in class cn.hutool.core.text.csv.CsvRow
-
- subList(int, int) - Method in class cn.hutool.json.JSONArray
-
- submit(Runnable) - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- submit(Callable<T>) - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- submit(Runnable, T) - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- submit(Callable<T>) - Static method in class cn.hutool.core.thread.GlobalThreadPool
-
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
- submit(Runnable) - Static method in class cn.hutool.core.thread.GlobalThreadPool
-
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
- subPath(Path, int, int) - Static method in class cn.hutool.core.io.file.PathUtil
-
获取指定位置的子路径部分,支持负数,例如起始为-1表示从后数第一个节点位置
- subPath(String, File) - Static method in class cn.hutool.core.io.FileUtil
-
获得相对子路径
栗子:
dirPath: d:/aaa/bbb filePath: d:/aaa/bbb/ccc =》 ccc
dirPath: d:/Aaa/bbb filePath: d:/aaa/bbb/ccc.txt =》 ccc.txt
- subPath(String, String) - Static method in class cn.hutool.core.io.FileUtil
-
获得相对子路径,忽略大小写
栗子:
dirPath: d:/aaa/bbb filePath: d:/aaa/bbb/ccc =》 ccc
dirPath: d:/Aaa/bbb filePath: d:/aaa/bbb/ccc.txt =》 ccc.txt
dirPath: d:/Aaa/bbb filePath: d:/aaa/bbb/ =》 ""
- subPre(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切割指定位置之前部分的字符串
- subPreGbk(CharSequence, int, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取部分字符串,这里一个汉字的长度认为是2
- subPreGbk(CharSequence, int, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取部分字符串,这里一个汉字的长度认为是2
可以自定义halfUp,如len为10,如果截取后最后一个字符是半个字符,true
表示保留,则长度是11,否则长度9
- subSequence(int, int) - Method in class cn.hutool.core.text.StrBuilder
-
- subString(int) - Method in class cn.hutool.core.text.StrBuilder
-
返回自定段的字符串
- subString(int, int) - Method in class cn.hutool.core.text.StrBuilder
-
返回自定段的字符串
- subSuf(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切割指定位置之后部分的字符串
- subSufByLength(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切割指定长度的后部分的字符串
CharSequenceUtil.subSufByLength("abcde", 3) = "cde"
CharSequenceUtil.subSufByLength("abcde", 0) = ""
CharSequenceUtil.subSufByLength("abcde", -5) = ""
CharSequenceUtil.subSufByLength("abcde", -1) = ""
CharSequenceUtil.subSufByLength("abcde", 5) = "abcde"
CharSequenceUtil.subSufByLength("abcde", 10) = "abcde"
CharSequenceUtil.subSufByLength(null, 3) = null
- subTelAfter(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
获取固话号码中的号码
- subTelBefore(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
获取固话号码中的区号
- subtract(Collection<T>, Collection<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
计算集合的单差集,即只返回【集合1】中有,但是【集合2】中没有的元素,例如:
subtract([1,2,3,4],[2,3,4,5]) -》 [1]
- subtract(byte) - Method in class cn.hutool.core.lang.mutable.MutableByte
-
减去值
- subtract(Number) - Method in class cn.hutool.core.lang.mutable.MutableByte
-
减去值
- subtract(double) - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
减去值
- subtract(Number) - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
减去值
- subtract(float) - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
减去值
- subtract(Number) - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
减去值
- subtract(int) - Method in class cn.hutool.core.lang.mutable.MutableInt
-
减去值
- subtract(Number) - Method in class cn.hutool.core.lang.mutable.MutableInt
-
减去值
- subtract(long) - Method in class cn.hutool.core.lang.mutable.MutableLong
-
减去值
- subtract(Number) - Method in class cn.hutool.core.lang.mutable.MutableLong
-
减去值
- subtract(short) - Method in class cn.hutool.core.lang.mutable.MutableShort
-
减去值
- subtract(Number) - Method in class cn.hutool.core.lang.mutable.MutableShort
-
减去值
- subtract(Money) - Method in class cn.hutool.core.math.Money
-
货币减法。
- subtractFrom(Money) - Method in class cn.hutool.core.math.Money
-
货币累减。
- subtractToList(Collection<T>, Collection<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
计算集合的单差集,即只返回【集合1】中有,但是【集合2】中没有的元素,例如:
subtractToList([1,2,3,4],[2,3,4,5]) -》 [1]
- subWithLength(String, int, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取字符串,从指定位置开始,截取指定长度的字符串
如果fromIndex为正数,则向后截取指定length长度,如果为负数,则向前截取length长度。
- suffix - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- SUPERCLASS - Static variable in interface cn.hutool.core.annotation.scanner.AnnotationScanner
-
扫描元素本身以及父类的层级结构中声明的注解的扫描器
- SUPERCLASS_AND_META_ANNOTATION - Static variable in interface cn.hutool.core.annotation.scanner.AnnotationScanner
-
扫描元素本身以及父类的层级结构中声明的注解,以及这些注解的元注解的扫描器
- supplier() - Method in class cn.hutool.core.stream.SimpleCollector
-
- Supplier1<T,P1> - Interface in cn.hutool.core.lang.func
-
1参数Supplier
- Supplier2<T,P1,P2> - Interface in cn.hutool.core.lang.func
-
两个参数的Supplier
- Supplier3<T,P1,P2,P3> - Interface in cn.hutool.core.lang.func
-
3参数Supplier
- Supplier4<T,P1,P2,P3,P4> - Interface in cn.hutool.core.lang.func
-
4参数Supplier
- Supplier5<T,P1,P2,P3,P4,P5> - Interface in cn.hutool.core.lang.func
-
5参数Supplier
- support(AnnotatedElement) - Method in interface cn.hutool.core.annotation.scanner.AnnotationScanner
-
判断是否支持扫描该注解元素
- support(AnnotatedElement) - Method in class cn.hutool.core.annotation.scanner.ElementAnnotationScanner
-
判断是否支持扫描该注解元素,仅当注解元素不为空时返回true
- support(AnnotatedElement) - Method in class cn.hutool.core.annotation.scanner.EmptyAnnotationScanner
-
- support(AnnotatedElement) - Method in class cn.hutool.core.annotation.scanner.FieldAnnotationScanner
-
判断是否支持扫描该注解元素,仅当注解元素是
Field
时返回
true
- support(AnnotatedElement) - Method in class cn.hutool.core.annotation.scanner.GenericAnnotationScanner
-
- support(AnnotatedElement) - Method in class cn.hutool.core.annotation.scanner.MetaAnnotationScanner
-
- support(AnnotatedElement) - Method in class cn.hutool.core.annotation.scanner.MethodAnnotationScanner
-
判断是否支持扫描该注解元素,仅当注解元素是
Method
时返回
true
- support(AnnotatedElement) - Method in class cn.hutool.core.annotation.scanner.TypeAnnotationScanner
-
判断是否支持扫描该注解元素,仅当注解元素是
Class
接时返回
true
- swap(T[], int, int) - Static method in class cn.hutool.core.util.ArrayUtil
-
交换数组中两个位置的值
- swap(Object, int, int) - Static method in class cn.hutool.core.util.ArrayUtil
-
交换数组中两个位置的值
- swap(int[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
交换数组中两个位置的值
- swap(long[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
交换数组中两个位置的值
- swap(double[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
交换数组中两个位置的值
- swap(float[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
交换数组中两个位置的值
- swap(boolean[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
交换数组中两个位置的值
- swap(byte[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
交换数组中两个位置的值
- swap(char[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
交换数组中两个位置的值
- swap(short[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
交换数组中两个位置的值
- swapCase(String) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切换给定字符串中的大小写。
- swapElement(List<T>, T, T) - Static method in class cn.hutool.core.collection.ListUtil
-
将指定元素交换到指定元素位置,其他元素的索引值不变
交换会修改原List
如果集合中有多个相同元素,只交换第一个找到的元素
- swapTo(List<T>, T, Integer) - Static method in class cn.hutool.core.collection.ListUtil
-
将指定元素交换到指定索引位置,其他元素的索引值不变
交换会修改原List
如果集合中有多个相同元素,只交换第一个找到的元素
- SymmetricAlgorithm - Enum in cn.hutool.crypto.symmetric
-
对称算法类型
see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyGenerator
- SymmetricCrypto - Class in cn.hutool.crypto.symmetric
-
对称加密算法
在对称加密算法中,数据发信方将明文(原始数据)和加密密钥一起经过特殊加密算法处理后,使其变成复杂的加密密文发送出去。
- SymmetricCrypto(SymmetricAlgorithm) - Constructor for class cn.hutool.crypto.symmetric.SymmetricCrypto
-
构造,使用随机密钥
- SymmetricCrypto(String) - Constructor for class cn.hutool.crypto.symmetric.SymmetricCrypto
-
构造,使用随机密钥
- SymmetricCrypto(SymmetricAlgorithm, byte[]) - Constructor for class cn.hutool.crypto.symmetric.SymmetricCrypto
-
构造
- SymmetricCrypto(SymmetricAlgorithm, SecretKey) - Constructor for class cn.hutool.crypto.symmetric.SymmetricCrypto
-
构造
- SymmetricCrypto(String, byte[]) - Constructor for class cn.hutool.crypto.symmetric.SymmetricCrypto
-
构造
- SymmetricCrypto(String, SecretKey) - Constructor for class cn.hutool.crypto.symmetric.SymmetricCrypto
-
构造
- SymmetricCrypto(String, SecretKey, AlgorithmParameterSpec) - Constructor for class cn.hutool.crypto.symmetric.SymmetricCrypto
-
构造
- SymmetricDecryptor - Interface in cn.hutool.crypto.symmetric
-
对称解密器接口,提供:
从bytes解密
从Hex(16进制)解密
从Base64解密
- SymmetricEncryptor - Interface in cn.hutool.crypto.symmetric
-
对称加密器接口,提供:
加密为bytes
加密为Hex(16进制)
加密为Base64
- sync(Object) - Static method in class cn.hutool.core.thread.ThreadUtil
-
阻塞当前线程,保证在main方法中执行不被退出
- sync() - Method in class cn.hutool.http.HttpResponse
-
- SyncFinisher - Class in cn.hutool.core.thread
-
线程同步结束器
在完成一组正在其他线程中执行的操作之前,它允许一个或多个线程一直等待。
- SyncFinisher(int) - Constructor for class cn.hutool.core.thread.SyncFinisher
-
构造
- SyncFinisher.Worker - Class in cn.hutool.core.thread
-
工作者,为一个线程
- syncUpload(File, String) - Method in class cn.hutool.extra.ssh.Sftp
-
将本地文件或者文件夹同步(覆盖)上传到远程路径
- syntaxError(String) - Method in class cn.hutool.json.JSONTokener
-
Make a JSONException to signal a syntax error.
- synthesize(Class<A>, SynthesizedAnnotation) - Method in class cn.hutool.core.annotation.AbstractAnnotationSynthesizer
-
根据指定的注解类型和对应注解对象,合成最终所需的合成注解
- synthesize(Class<A>) - Method in class cn.hutool.core.annotation.AbstractAnnotationSynthesizer
-
获取合成注解
- synthesize(Class<T>) - Method in interface cn.hutool.core.annotation.AnnotationSynthesizer
-
获取合成注解
- synthesize(Class<T>, SynthesizedAnnotation) - Method in class cn.hutool.core.annotation.GenericSynthesizedAggregateAnnotation
-
若合成注解在存在指定元注解,则使用动态代理生成一个对应的注解实例
- SynthesizedAggregateAnnotation - Interface in cn.hutool.core.annotation
-
表示基于特定规则聚合,将一组注解聚合而来的注解对象,
该注解对象允许根据一定规则“合成”一些跟原始注解属性不一样合成注解。
- SynthesizedAnnotation - Interface in cn.hutool.core.annotation
-
- SynthesizedAnnotationAttributeProcessor - Interface in cn.hutool.core.annotation
-
合成注解属性选择器。
- synthesizedAnnotationMap - Variable in class cn.hutool.core.annotation.AbstractAnnotationSynthesizer
-
包含根注解以及其元注解在内的全部注解实例
- SynthesizedAnnotationPostProcessor - Interface in cn.hutool.core.annotation
-
- SynthesizedAnnotationProxy - Class in cn.hutool.core.annotation
-
- SynthesizedAnnotationSelector - Interface in cn.hutool.core.annotation
-
注解选择器,指定两个注解,选择其中一个返回。
- SynthesizedAnnotationSelector.FarthestAndNewestPrioritySelector - Class in cn.hutool.core.annotation
-
返回距离根对象更远的注解,当距离一样时优先返回新注解
- SynthesizedAnnotationSelector.FarthestAndOldestPrioritySelector - Class in cn.hutool.core.annotation
-
返回距离根对象更远的注解,当距离一样时优先返回旧注解
- SynthesizedAnnotationSelector.NearestAndNewestPrioritySelector - Class in cn.hutool.core.annotation
-
返回距离根对象更近的注解,当距离一样时优先返回新注解
- SynthesizedAnnotationSelector.NearestAndOldestPrioritySelector - Class in cn.hutool.core.annotation
-
返回距离根对象更近的注解,当距离一样时优先返回旧注解
- SYSTEM_COMPILER - Static variable in class cn.hutool.core.compiler.CompilerUtil
-
java 编译器
- systemCharset() - Static method in class cn.hutool.core.util.CharsetUtil
-
- systemCharsetName() - Static method in class cn.hutool.core.util.CharsetUtil
-
- SystemClock - Class in cn.hutool.core.date
-
系统时钟
高并发场景下System.currentTimeMillis()的性能问题的优化
System.currentTimeMillis()的调用比new一个普通对象要耗时的多(具体耗时高出多少我还没测试过,有人说是100倍左右)
System.currentTimeMillis()之所以慢是因为去跟系统打了一次交道
后台定时更新时钟,JVM退出时,线程自动回收
see: http://git.oschina.net/yu120/sequence
- SystemClock(long) - Constructor for class cn.hutool.core.date.SystemClock
-
构造
- SystemPropsKeys - Interface in cn.hutool.system
-
系统属性名称常量池
封装了包括Java运行时环境信息、Java虚拟机信息、Java类信息、OS信息、用户信息等
- SystemPropsUtil - Class in cn.hutool.core.util
-
- SystemPropsUtil() - Constructor for class cn.hutool.core.util.SystemPropsUtil
-
- SystemTimer - Class in cn.hutool.cron.timingwheel
-
系统计时器
- SystemTimer() - Constructor for class cn.hutool.cron.timingwheel.SystemTimer
-
构造
- SystemUtil - Class in cn.hutool.system
-
Java的System类封装工具类。
- SystemUtil() - Constructor for class cn.hutool.system.SystemUtil
-
- TAB - Static variable in interface cn.hutool.core.text.CharPool
-
字符常量:制表符 '\t'
- TAB - Static variable in interface cn.hutool.core.text.StrPool
-
字符串常量:制表符 "\t"
- TABLE - Static variable in class cn.hutool.core.codec.Caesar
-
- table(ConsoleTable) - Static method in class cn.hutool.core.lang.Console
-
打印表格到控制台
- Table<R,C,V> - Interface in cn.hutool.core.map.multi
-
表格数据结构定义
此结构类似于Guava的Table接口,使用两个键映射到一个值,类似于表格结构。
- Table - Class in cn.hutool.db.meta
-
数据库表信息
- Table(String) - Constructor for class cn.hutool.db.meta.Table
-
构造
- Table.Cell<R,C,V> - Interface in cn.hutool.core.map.multi
-
单元格,用于表示一个单元格的行、列和值
- TableMap<K,V> - Class in cn.hutool.core.map
-
可重复键和值的Map
通过键值单独建立List方式,使键值对一一对应,实现正向和反向两种查找
无论是正向还是反向,都是遍历列表查找过程,相比标准的HashMap要慢,数据越多越慢
- TableMap() - Constructor for class cn.hutool.core.map.TableMap
-
构造
- TableMap(int) - Constructor for class cn.hutool.core.map.TableMap
-
构造
- TableMap(K[], V[]) - Constructor for class cn.hutool.core.map.TableMap
-
构造
- tableName - Variable in class cn.hutool.db.DaoTemplate
-
表名
- TableType - Enum in cn.hutool.db.meta
-
元信息中表的类型
- TableUtil - Class in cn.hutool.poi.word
-
Word中表格相关工具
- TableUtil() - Constructor for class cn.hutool.poi.word.TableUtil
-
- tail(File, LineHandler) - Static method in class cn.hutool.core.io.FileUtil
-
文件内容跟随器,实现类似Linux下"tail -f"命令功能
此方法会阻塞当前线程
- tail(File, Charset, LineHandler) - Static method in class cn.hutool.core.io.FileUtil
-
文件内容跟随器,实现类似Linux下"tail -f"命令功能
此方法会阻塞当前线程
- tail(File, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
文件内容跟随器,实现类似Linux下"tail -f"命令功能
此方法会阻塞当前线程
- Tailer - Class in cn.hutool.core.io.file
-
文件内容跟随器,实现类似Linux下"tail -f"命令功能
- Tailer(File, LineHandler) - Constructor for class cn.hutool.core.io.file.Tailer
-
构造,默认UTF-8编码
- Tailer(File, LineHandler, int) - Constructor for class cn.hutool.core.io.file.Tailer
-
构造,默认UTF-8编码
- Tailer(File, Charset, LineHandler) - Constructor for class cn.hutool.core.io.file.Tailer
-
构造
- Tailer(File, Charset, LineHandler, int, long) - Constructor for class cn.hutool.core.io.file.Tailer
-
构造
- Tailer.ConsoleLineHandler - Class in cn.hutool.core.io.file
-
命令行打印的行处理器
- target - Variable in class cn.hutool.core.bean.copier.AbsCopier
-
- Task - Interface in cn.hutool.cron.task
-
定时作业接口,通过实现execute方法执行具体的任务
作业执行是异步执行,即不同作业、相同作业在不同时间的执行是相互独立的。
- TaskExecutor - Class in cn.hutool.cron
-
作业执行器
执行具体的作业,执行完毕销毁
作业执行器唯一关联一个作业,负责管理作业的运行的生命周期。
- TaskExecutor(Scheduler, CronTask) - Constructor for class cn.hutool.cron.TaskExecutor
-
构造
- taskExecutorManager - Variable in class cn.hutool.cron.Scheduler
-
执行器管理器
- TaskExecutorManager - Class in cn.hutool.cron
-
作业执行管理器
负责管理作业的启动、停止等
此类用于管理正在运行的作业情况,作业启动后加入任务列表,任务结束移除
- TaskExecutorManager(Scheduler) - Constructor for class cn.hutool.cron.TaskExecutorManager
-
- TaskLauncher - Class in cn.hutool.cron
-
作业启动器
负责检查
TaskTable
是否有匹配到此时运行的Task
检查完毕后启动器结束
- TaskLauncher(Scheduler, long) - Constructor for class cn.hutool.cron.TaskLauncher
-
构造
- taskLauncherManager - Variable in class cn.hutool.cron.Scheduler
-
启动器管理器
- TaskLauncherManager - Class in cn.hutool.cron
-
作业启动管理器
- TaskLauncherManager(Scheduler) - Constructor for class cn.hutool.cron.TaskLauncherManager
-
- TaskListener - Interface in cn.hutool.cron.listener
-
定时任务监听接口
通过实现此接口,实现对定时任务的各个环节做监听
- TaskListenerManager - Class in cn.hutool.cron.listener
-
监听调度器,统一管理监听
- TaskListenerManager() - Constructor for class cn.hutool.cron.listener.TaskListenerManager
-
- taskTable - Variable in class cn.hutool.cron.Scheduler
-
定时任务表
- TaskTable - Class in cn.hutool.cron
-
定时任务表
任务表将ID、表达式、任务一一对应,定时任务执行过程中,会周期性检查定时任务表中的所有任务表达式匹配情况,从而执行其对应的任务
任务的添加、移除使用读写锁保证线程安全性
- TaskTable() - Constructor for class cn.hutool.cron.TaskTable
-
构造
- TaskTable(int) - Constructor for class cn.hutool.cron.TaskTable
-
构造
- TEL - Static variable in class cn.hutool.core.lang.PatternPool
-
座机号码
- TEL - Static variable in interface cn.hutool.core.lang.RegexPool
-
座机号码
pr#387@Gitee
- TEL_400_800 - Static variable in class cn.hutool.core.lang.PatternPool
-
座机号码+400+800电话
- TEL_400_800 - Static variable in interface cn.hutool.core.lang.RegexPool
-
座机号码+400+800电话
- Template - Interface in cn.hutool.extra.template
-
抽象模板接口
- TemplateConfig - Class in cn.hutool.extra.template
-
模板配置
- TemplateConfig() - Constructor for class cn.hutool.extra.template.TemplateConfig
-
默认构造,使用UTF8编码,默认从ClassPath获取模板
- TemplateConfig(String) - Constructor for class cn.hutool.extra.template.TemplateConfig
-
构造,默认UTF-8编码
- TemplateConfig(String, TemplateConfig.ResourceMode) - Constructor for class cn.hutool.extra.template.TemplateConfig
-
构造,默认UTF-8编码
- TemplateConfig(Charset, String, TemplateConfig.ResourceMode) - Constructor for class cn.hutool.extra.template.TemplateConfig
-
构造
- TemplateConfig.ResourceMode - Enum in cn.hutool.extra.template
-
资源加载方式枚举
- TemplateEngine - Interface in cn.hutool.extra.template
-
引擎接口,通过实现此接口从而使用对应的模板引擎
- TemplateException - Exception in cn.hutool.extra.template
-
模板异常
- TemplateException(Throwable) - Constructor for exception cn.hutool.extra.template.TemplateException
-
- TemplateException(String) - Constructor for exception cn.hutool.extra.template.TemplateException
-
- TemplateException(String, Object...) - Constructor for exception cn.hutool.extra.template.TemplateException
-
- TemplateException(String, Throwable) - Constructor for exception cn.hutool.extra.template.TemplateException
-
- TemplateException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.extra.template.TemplateException
-
- TemplateException(Throwable, String, Object...) - Constructor for exception cn.hutool.extra.template.TemplateException
-
- TemplateFactory - Class in cn.hutool.extra.template.engine
-
简单模板工厂,用于根据用户引入的模板引擎jar,自动创建对应的模板引擎对象
- TemplateFactory() - Constructor for class cn.hutool.extra.template.engine.TemplateFactory
-
- TemplateUtil - Class in cn.hutool.extra.template
-
模板工具类
- TemplateUtil() - Constructor for class cn.hutool.extra.template.TemplateUtil
-
- TemporalAccessorCellSetter - Class in cn.hutool.poi.excel.cell.setters
-
- TemporalAccessorConverter - Class in cn.hutool.core.convert.impl
-
JDK8中新加入的java.time包对象解析转换器
支持的对象包括:
java.time.Instant
java.time.LocalDateTime
java.time.LocalDate
java.time.LocalTime
java.time.ZonedDateTime
java.time.OffsetDateTime
java.time.OffsetTime
- TemporalAccessorConverter(Class<?>) - Constructor for class cn.hutool.core.convert.impl.TemporalAccessorConverter
-
构造
- TemporalAccessorConverter(Class<?>, String) - Constructor for class cn.hutool.core.convert.impl.TemporalAccessorConverter
-
构造
- TemporalAccessorSerializer - Class in cn.hutool.json.serialize
-
- TemporalAccessorSerializer(Class<? extends TemporalAccessor>) - Constructor for class cn.hutool.json.serialize.TemporalAccessorSerializer
-
- TemporalAccessorUtil - Class in cn.hutool.core.date
-
- TemporalAccessorUtil() - Constructor for class cn.hutool.core.date.TemporalAccessorUtil
-
- TemporalUtil - Class in cn.hutool.core.date
-
- TemporalUtil() - Constructor for class cn.hutool.core.date.TemporalUtil
-
- test(Runnable) - Method in class cn.hutool.core.thread.ConcurrencyTester
-
- testKeyFilter(Object) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
测试是否保留key, true
不保留, false
保留
- testPropertyFilter(Field, Object) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
测试是否保留字段,true
保留,false
不保留
- text() - Method in interface cn.hutool.core.lang.EnumItem
-
在中文语境下,多数时间枚举会配合一个中文说明
- text - Variable in class cn.hutool.core.text.finder.TextFinder
-
- textAlpha - Variable in class cn.hutool.captcha.AbstractCaptcha
-
文字透明度
- textDelimiter - Variable in class cn.hutool.core.text.csv.CsvConfig
-
文本包装符,默认双引号'"'
- TextFinder - Class in cn.hutool.core.text.finder
-
文本查找抽象类
- TextFinder() - Constructor for class cn.hutool.core.text.finder.TextFinder
-
- TextSimilarity - Class in cn.hutool.core.text
-
文本相似度计算
工具类提供者:【杭州】fineliving
- TextSimilarity() - Constructor for class cn.hutool.core.text.TextSimilarity
-
- then(Consumer<HttpResponse>) - Method in class cn.hutool.http.HttpRequest
-
执行Request请求后,对响应内容后续处理
处理结束后关闭连接
- thenComparing(Comparator<? super T>) - Method in class cn.hutool.core.comparator.NullComparator
-
- thenFunction(Function<HttpResponse, T>) - Method in class cn.hutool.http.HttpRequest
-
执行Request请求后,对响应内容后续处理
处理结束后关闭连接
- thepicture - Variable in class cn.hutool.core.img.gif.NeuQuant
-
- thisDayOfMonth() - Static method in class cn.hutool.core.date.DateUtil
-
- thisDayOfWeek() - Static method in class cn.hutool.core.date.DateUtil
-
- thisDayOfWeekEnum() - Static method in class cn.hutool.core.date.DateUtil
-
- thisHour(boolean) - Static method in class cn.hutool.core.date.DateUtil
-
- thisMillisecond() - Static method in class cn.hutool.core.date.DateUtil
-
- thisMinute() - Static method in class cn.hutool.core.date.DateUtil
-
- thisMonth() - Static method in class cn.hutool.core.date.DateUtil
-
- thisMonthEnum() - Static method in class cn.hutool.core.date.DateUtil
-
- thisSecond() - Static method in class cn.hutool.core.date.DateUtil
-
- thisWeekOfMonth() - Static method in class cn.hutool.core.date.DateUtil
-
- thisWeekOfYear() - Static method in class cn.hutool.core.date.DateUtil
-
- thisYear() - Static method in class cn.hutool.core.date.DateUtil
-
- ThreadException - Exception in cn.hutool.core.thread
-
工具类异常
- ThreadException(Throwable) - Constructor for exception cn.hutool.core.thread.ThreadException
-
- ThreadException(String) - Constructor for exception cn.hutool.core.thread.ThreadException
-
- ThreadException(String, Object...) - Constructor for exception cn.hutool.core.thread.ThreadException
-
- ThreadException(String, Throwable) - Constructor for exception cn.hutool.core.thread.ThreadException
-
- ThreadException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.core.thread.ThreadException
-
- ThreadException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.thread.ThreadException
-
- threadExecutor - Variable in class cn.hutool.cron.Scheduler
-
线程池,用于执行TaskLauncher和TaskExecutor
- ThreadFactoryBuilder - Class in cn.hutool.core.thread
-
ThreadFactory创建器
参考:Guava的ThreadFactoryBuilder
- ThreadFactoryBuilder() - Constructor for class cn.hutool.core.thread.ThreadFactoryBuilder
-
- ThreadLocalConnection - Enum in cn.hutool.db
-
线程相关的数据库连接持有器
此对象为单例类,用于存储线程相关的Connection对象。
- ThreadLocalConnection.GroupedConnection - Class in cn.hutool.db
-
分组连接,根据不同的分组获取对应的连接,用于多数据源情况
- ThreadLocalCookieStore - Class in cn.hutool.http.cookie
-
线程隔离的Cookie存储。
- ThreadLocalCookieStore() - Constructor for class cn.hutool.http.cookie.ThreadLocalCookieStore
-
- ThreadUtil - Class in cn.hutool.core.thread
-
线程池工具
- ThreadUtil() - Constructor for class cn.hutool.core.thread.ThreadUtil
-
- ThymeleafEngine - Class in cn.hutool.extra.template.engine.thymeleaf
-
Thymeleaf模板引擎实现
- ThymeleafEngine() - Constructor for class cn.hutool.extra.template.engine.thymeleaf.ThymeleafEngine
-
默认构造
- ThymeleafEngine(TemplateConfig) - Constructor for class cn.hutool.extra.template.engine.thymeleaf.ThymeleafEngine
-
构造
- ThymeleafEngine(TemplateEngine) - Constructor for class cn.hutool.extra.template.engine.thymeleaf.ThymeleafEngine
-
构造
- ThymeleafTemplate - Class in cn.hutool.extra.template.engine.thymeleaf
-
Thymeleaf模板实现
- ThymeleafTemplate(TemplateEngine, String, Charset) - Constructor for class cn.hutool.extra.template.engine.thymeleaf.ThymeleafTemplate
-
构造
- TianlFilter - Class in cn.hutool.bloomfilter.filter
-
- TianlFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.TianlFilter
-
- TianlFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.TianlFilter
-
- tianlHash(String) - Static method in class cn.hutool.core.util.HashUtil
-
TianL Hash算法
- TIME - Static variable in class cn.hutool.core.lang.PatternPool
-
时间正则
- TIME - Static variable in interface cn.hutool.core.lang.RegexPool
-
时间正则
- TimedCache<K,V> - Class in cn.hutool.cache.impl
-
定时缓存
此缓存没有容量限制,对象只有在过期后才会被移除
- TimedCache(long) - Constructor for class cn.hutool.cache.impl.TimedCache
-
构造
- TimedCache(long, Map<Mutable<K>, CacheObj<K, V>>) - Constructor for class cn.hutool.cache.impl.TimedCache
-
构造
- TimeInterval - Class in cn.hutool.core.date
-
计时器
计算某个过程花费的时间,精确到毫秒或纳秒
- TimeInterval() - Constructor for class cn.hutool.core.date.TimeInterval
-
构造,默认使用毫秒计数
- TimeInterval(boolean) - Constructor for class cn.hutool.core.date.TimeInterval
-
构造
- TimeIntervalAspect - Class in cn.hutool.aop.aspects
-
通过日志打印方法的执行时间的切面
- TimeIntervalAspect() - Constructor for class cn.hutool.aop.aspects.TimeIntervalAspect
-
- timeout() - Method in interface cn.hutool.cache.Cache
-
缓存失效时长, 0
表示没有设置,单位毫秒
- timeout - Variable in class cn.hutool.cache.file.AbstractFileCache
-
默认超时时间,0表示无默认超时
- timeout() - Method in class cn.hutool.cache.file.AbstractFileCache
-
- timeout - Variable in class cn.hutool.cache.impl.AbstractCache
-
缓存失效时长, 0
表示无限制,单位毫秒
- timeout() - Method in class cn.hutool.cache.impl.AbstractCache
-
- timeout() - Method in class cn.hutool.cache.impl.NoCache
-
- timeout(int) - Method in class cn.hutool.http.HttpConfig
-
设置超时,单位:毫秒
超时包括:
1.
- timeout(int) - Method in class cn.hutool.http.HttpRequest
-
设置超时,单位:毫秒
超时包括:
1.
- timeout(int) - Method in class cn.hutool.http.webservice.SoapClient
-
设置超时,单位:毫秒
超时包括:
1.
- timer() - Static method in class cn.hutool.core.date.DateUtil
-
计时器
计算某个过程花费的时间,精确到毫秒
- timer(boolean) - Static method in class cn.hutool.core.date.DateUtil
-
计时器
计算某个过程花费的时间,精确到毫秒
- TimerTask - Class in cn.hutool.cron.timingwheel
-
延迟任务
- TimerTask(Runnable, long) - Constructor for class cn.hutool.cron.timingwheel.TimerTask
-
构造
- timerTaskList - Variable in class cn.hutool.cron.timingwheel.TimerTask
-
时间槽
- TimerTaskList - Class in cn.hutool.cron.timingwheel
-
任务队列,任务双向链表
- TimerTaskList() - Constructor for class cn.hutool.cron.timingwheel.TimerTaskList
-
构造
- timestamp() - Method in class cn.hutool.core.lang.UUID
-
与此 UUID 相关联的时间戳值。
- timeToSecond(String) - Static method in class cn.hutool.core.date.DateUtil
-
- timeZone - Variable in class cn.hutool.core.date.format.AbstractDateBasic
-
The time zone.
- timezone - Variable in class cn.hutool.cron.CronConfig
-
时区
- TimeZoneConverter - Class in cn.hutool.core.convert.impl
-
TimeZone转换器
- TimeZoneConverter() - Constructor for class cn.hutool.core.convert.impl.TimeZoneConverter
-
- TimingWheel - Class in cn.hutool.cron.timingwheel
-
多层时间轮,常用于延时任务。
- TimingWheel(long, int, Consumer<TimerTaskList>) - Constructor for class cn.hutool.cron.timingwheel.TimingWheel
-
构造
- TimingWheel(long, int, long, Consumer<TimerTaskList>) - Constructor for class cn.hutool.cron.timingwheel.TimingWheel
-
构造
- TinyLog - Class in cn.hutool.log.dialect.tinylog
-
- TinyLog(Class<?>) - Constructor for class cn.hutool.log.dialect.tinylog.TinyLog
-
- TinyLog(String) - Constructor for class cn.hutool.log.dialect.tinylog.TinyLog
-
- TinyLog2 - Class in cn.hutool.log.dialect.tinylog
-
- TinyLog2(Class<?>) - Constructor for class cn.hutool.log.dialect.tinylog.TinyLog2
-
- TinyLog2(String) - Constructor for class cn.hutool.log.dialect.tinylog.TinyLog2
-
- TinyLog2Factory - Class in cn.hutool.log.dialect.tinylog
-
- TinyLog2Factory() - Constructor for class cn.hutool.log.dialect.tinylog.TinyLog2Factory
-
构造
- TinyLogFactory - Class in cn.hutool.log.dialect.tinylog
-
- TinyLogFactory() - Constructor for class cn.hutool.log.dialect.tinylog.TinyLogFactory
-
构造
- TinyPinyinEngine - Class in cn.hutool.extra.pinyin.engine.tinypinyin
-
封装了TinyPinyin的引擎。
- TinyPinyinEngine() - Constructor for class cn.hutool.extra.pinyin.engine.tinypinyin.TinyPinyinEngine
-
构造
- TinyPinyinEngine(Pinyin.Config) - Constructor for class cn.hutool.extra.pinyin.engine.tinypinyin.TinyPinyinEngine
-
构造
- TLS - Static variable in interface cn.hutool.core.net.SSLProtocols
-
Supports some version of TLS; may support other versions
- TLSv1 - Static variable in interface cn.hutool.core.net.SSLProtocols
-
Supports RFC 2246: TLS version 1.0 ; may support other versions
- TLSv11 - Static variable in interface cn.hutool.core.net.SSLProtocols
-
Supports RFC 4346: TLS version 1.1 ; may support other versions
- TLSv12 - Static variable in interface cn.hutool.core.net.SSLProtocols
-
Supports RFC 5246: TLS version 1.2 ; may support other versions
- TMPDIR - Static variable in interface cn.hutool.system.SystemPropsKeys
-
默认的临时文件路径
- TMPDIR - Static variable in class cn.hutool.system.SystemUtil
-
默认的临时文件路径的KEY
- tmpUploadPath - Variable in class cn.hutool.core.net.multipart.UploadSetting
-
临时文件目录
- to(String...) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置收件人
- to(String...) - Method in class cn.hutool.extra.mail.Mail
-
设置收件人
- toAbsNormal(Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
将Path路径转换为标准的绝对路径
- toAbsoluteUrl(String, String) - Static method in class cn.hutool.core.net.NetUtil
-
相对URL转换为绝对URL
- toAlias(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
-
将字符串中的Unicode Emoji字符转换为别名表现形式(两个":"包围的格式)
例如: 😄
转换为 :smile:
EmojiParser.FitzpatrickAction
参数被设置为EmojiParser.FitzpatrickAction.PARSE
,则别名后会增加"|"并追加fitzpatrick类型
例如:👦🏿
转换为 :boy|type_6:
EmojiParser.FitzpatrickAction
参数被设置为EmojiParser.FitzpatrickAction.REMOVE
,则别名后的"|"和类型将被去除
例如:👦🏿
转换为 :boy:
EmojiParser.FitzpatrickAction
参数被设置为EmojiParser.FitzpatrickAction.IGNORE
,则别名后的类型将被忽略
例如:👦🏿
转换为 :boy:🏿
- toAlias(String, EmojiParser.FitzpatrickAction) - Static method in class cn.hutool.extra.emoji.EmojiUtil
-
将字符串中的Unicode Emoji字符转换为别名表现形式(两个":"包围的格式),别名后会增加"|"并追加fitzpatrick类型
例如:👦🏿
转换为 :boy|type_6:
- toAnsiElement(ForeOrBack) - Method in class cn.hutool.core.lang.ansi.AnsiColorWrapper
-
- toArray() - Method in class cn.hutool.core.io.FastByteBuffer
-
返回快速缓冲中的数据
- toArray(int, int) - Method in class cn.hutool.core.io.FastByteBuffer
-
返回快速缓冲中的数据
- toArray() - Method in class cn.hutool.core.text.csv.CsvRow
-
- toArray(T[]) - Method in class cn.hutool.core.text.csv.CsvRow
-
- toArray(boolean) - Method in class cn.hutool.core.text.split.SplitIter
-
获取切分后的对象数组
- toArray(ByteBuffer) - Static method in class cn.hutool.core.util.ArrayUtil
-
- toArray(Iterator<T>, Class<T>) - Static method in class cn.hutool.core.util.ArrayUtil
-
将集合转为数组
- toArray(Iterable<T>, Class<T>) - Static method in class cn.hutool.core.util.ArrayUtil
-
将集合转为数组
- toArray(Collection<T>, Class<T>) - Static method in class cn.hutool.core.util.ArrayUtil
-
将集合转为数组
- toArray() - Method in class cn.hutool.json.JSONArray
-
- toArray(T[]) - Method in class cn.hutool.json.JSONArray
-
- toArray(Class<?>) - Method in class cn.hutool.json.JSONArray
-
转为Bean数组
- toArray(JSONArray, Class<?>) - Static method in class cn.hutool.json.JSONConverter
-
JSONArray转数组
- toAsciiArt(BitMatrix, QrConfig) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
BitMatrix转ASCII Art字符画形式的二维码
- toAvailableStream(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
- toBase64(Image, String) - Static method in class cn.hutool.core.img.ImgUtil
-
将图片对象转换为Base64形式
- toBase64(Key) - Static method in class cn.hutool.crypto.KeyUtil
-
将密钥编码为Base64格式
- toBase64DataUri(Image, String) - Static method in class cn.hutool.core.img.ImgUtil
-
将图片对象转换为Base64的Data URI形式,格式为:data:image/[imageType];base64,[data]
- toBean(Object, Class<T>) - Static method in class cn.hutool.core.bean.BeanUtil
-
对象或Map转Bean
- toBean(Object, Class<T>, CopyOptions) - Static method in class cn.hutool.core.bean.BeanUtil
-
对象或Map转Bean
- toBean(Object, Supplier<T>, CopyOptions) - Static method in class cn.hutool.core.bean.BeanUtil
-
对象或Map转Bean
- toBean(Class<T>, ValueProvider<String>, CopyOptions) - Static method in class cn.hutool.core.bean.BeanUtil
-
ServletRequest 参数转Bean
- toBean(Type) - Method in interface cn.hutool.core.bean.copier.IJSONTypeConverter
-
转为实体类对象
- toBean(T) - Method in class cn.hutool.core.lang.Dict
-
转换为Bean对象
- toBean(T, boolean) - Method in class cn.hutool.core.lang.Dict
-
转换为Bean对象
- toBean(Class<T>) - Method in class cn.hutool.core.lang.Dict
-
填充Value Object对象
- toBean(Class<T>) - Method in class cn.hutool.core.text.csv.CsvRow
-
一行数据转换为Bean对象
- toBean(Map, Class<T>) - Static method in class cn.hutool.extra.cglib.CglibUtil
-
将Map转换为Bean
- toBean(ServletRequest, Class<T>, boolean) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
-
ServletRequest 参数转Bean
- toBean(ServletRequest, Class<T>, boolean) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
ServletRequest 参数转Bean
- toBean(Class<T>) - Method in interface cn.hutool.json.JSON
-
转为实体类对象,转换异常将被抛出
- toBean(TypeReference<T>) - Method in interface cn.hutool.json.JSON
-
转为实体类对象,转换异常将被抛出
- toBean(Type) - Method in interface cn.hutool.json.JSON
-
转为实体类对象
- toBean(Type, boolean) - Method in interface cn.hutool.json.JSON
-
- toBean(String, Class<T>) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转为实体类对象,转换异常将被抛出
- toBean(String, JSONConfig, Class<T>) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转为实体类对象,转换异常将被抛出
通过
JSONConfig
可选是否忽略大小写、忽略null等配置
- toBean(JSONObject, Class<T>) - Static method in class cn.hutool.json.JSONUtil
-
转为实体类对象,转换异常将被抛出
- toBean(String, TypeReference<T>, boolean) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转为实体类对象,转换异常将被抛出
- toBean(String, Type, boolean) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转为实体类对象,转换异常将被抛出
- toBean(JSON, TypeReference<T>, boolean) - Static method in class cn.hutool.json.JSONUtil
-
转为实体类对象
- toBean(JSON, Type, boolean) - Static method in class cn.hutool.json.JSONUtil
-
转为实体类对象
- toBean(String, T) - Method in class cn.hutool.setting.AbsSetting
-
将setting中的键值关系映射到对象中,原理是调用对象对应的set方法
只支持基本类型的转换
- toBean(String, Class<T>) - Method in class cn.hutool.setting.AbsSetting
-
将setting中的键值关系映射到对象中,原理是调用对象对应的set方法
只支持基本类型的转换
- toBean(T) - Method in class cn.hutool.setting.AbsSetting
-
将setting中的键值关系映射到对象中,原理是调用对象对应的set方法
只支持基本类型的转换
- toBean(Class<T>) - Method in class cn.hutool.setting.AbsSetting
-
将setting中的键值关系映射到对象中,原理是调用对象对应的set方法
只支持基本类型的转换
- toBean(Class<T>) - Method in class cn.hutool.setting.dialect.Props
-
将配置文件转换为Bean,支持嵌套Bean
支持的表达式:
persion
persion.name
persons[3]
person.friends[5].name
['person']['friends'][5]['name']
- toBean(Class<T>, String) - Method in class cn.hutool.setting.dialect.Props
-
将配置文件转换为Bean,支持嵌套Bean
支持的表达式:
persion
persion.name
persons[3]
person.friends[5].name
['person']['friends'][5]['name']
- toBeanIgnoreCase(Object, Class<T>, boolean) - Static method in class cn.hutool.core.bean.BeanUtil
-
对象或Map转Bean,忽略字段转换时发生的异常
- toBeanIgnoreCase(T) - Method in class cn.hutool.core.lang.Dict
-
转换为Bean对象
- toBeanIgnoreCase(Class<T>) - Method in class cn.hutool.core.lang.Dict
-
填充Value Object对象,忽略大小写
- toBeanIgnoreError(Object, Class<T>) - Static method in class cn.hutool.core.bean.BeanUtil
-
对象或Map转Bean,忽略字段转换时发生的异常
- toBeanWithCamelCase(T) - Method in class cn.hutool.core.lang.Dict
-
转换为Bean对象,并使用驼峰法模式转换
- toBigDecimal(Object, BigDecimal) - Static method in class cn.hutool.core.convert.Convert
-
转换为BigDecimal
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toBigDecimal(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为BigDecimal
如果给定的值为空,或者转换失败,返回null
转换失败不会报错
- toBigDecimal(Number) - Static method in class cn.hutool.core.util.NumberUtil
-
数字转
BigDecimal
Float、Double等有精度问题,转换为字符串后再转换
null转换为0
- toBigDecimal(String) - Static method in class cn.hutool.core.util.NumberUtil
-
- toBigInteger(Object, BigInteger) - Static method in class cn.hutool.core.convert.Convert
-
转换为BigInteger
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toBigInteger(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为BigInteger
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
- toBigInteger(String) - Static method in class cn.hutool.core.util.HexUtil
-
Hex(16进制)字符串转为BigInteger
- toBigInteger(Number) - Static method in class cn.hutool.core.util.NumberUtil
-
- toBigInteger(String) - Static method in class cn.hutool.core.util.NumberUtil
-
- toBool(Object, Boolean) - Static method in class cn.hutool.core.convert.Convert
-
转换为boolean
String支持的值为:true、false、yes、ok、no,1,0 如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toBool(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为boolean
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
- toBoolean(String) - Static method in class cn.hutool.core.util.BooleanUtil
-
转换字符串为boolean值
- toBooleanArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Boolean数组
- toBooleanObject(String) - Static method in class cn.hutool.core.util.BooleanUtil
-
转换字符串为boolean值
如果为["true", "yes", "y", "t", "ok", "1", "on", "是", "对", "真", "對", "√"],返回true
如果为["false", "no", "n", "f", "0", "off", "否", "错", "假", "錯", "×"],返回false
其他情况返回null
- toBuffered(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
- toBuffered(InputStream, int) - Static method in class cn.hutool.core.io.IoUtil
-
- toBuffered(OutputStream) - Static method in class cn.hutool.core.io.IoUtil
-
- toBuffered(OutputStream, int) - Static method in class cn.hutool.core.io.IoUtil
-
- toBuffered(Reader) - Static method in class cn.hutool.core.io.IoUtil
-
- toBuffered(Reader, int) - Static method in class cn.hutool.core.io.IoUtil
-
- toBuffered(Writer) - Static method in class cn.hutool.core.io.IoUtil
-
- toBuffered(Writer, int) - Static method in class cn.hutool.core.io.IoUtil
-
- toBufferedImage(Image) - Static method in class cn.hutool.core.img.ImgUtil
-
- toBufferedImage(Image, String) - Static method in class cn.hutool.core.img.ImgUtil
-
- toBufferedImage(Image, String, Color) - Static method in class cn.hutool.core.img.ImgUtil
-
- toBufferedImage(Image, int) - Static method in class cn.hutool.core.img.ImgUtil
-
- toBufferedImage(Image, int, Color) - Static method in class cn.hutool.core.img.ImgUtil
-
- toByte(Object, Byte) - Static method in class cn.hutool.core.convert.Convert
-
转换为byte
如果给定的值为null
,或者转换失败,返回默认值
转换失败不会报错
- toByte(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为byte
如果给定的值为null
,或者转换失败,返回默认值null
转换失败不会报错
- toByte(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为byte
- toByteArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Byte数组
- toByteArray() - Method in class cn.hutool.core.io.FastByteArrayOutputStream
-
转为Byte数组
- toByteObj(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为Byte
- toBytes(Image, String) - Static method in class cn.hutool.core.img.ImgUtil
-
将图片对象转换为bytes形式
- toBytes() - Method in class cn.hutool.core.io.unit.DataSize
-
返回bytes大小
- toBytes(int) - Static method in class cn.hutool.core.util.NumberUtil
-
- toCalendar() - Method in class cn.hutool.core.date.DateTime
-
- toCalendar(Locale) - Method in class cn.hutool.core.date.DateTime
-
转换为Calendar
- toCalendar(TimeZone) - Method in class cn.hutool.core.date.DateTime
-
转换为Calendar
- toCalendar(TimeZone, Locale) - Method in class cn.hutool.core.date.DateTime
-
转换为Calendar
- toCamelCase(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
将下划线方式命名的字符串转换为驼峰式。
- toCamelCase(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
将连接符方式命名的字符串转换为驼峰式。
- toCamelCase(CharSequence) - Static method in class cn.hutool.core.text.NamingCase
-
将下划线方式命名的字符串转换为驼峰式。
- toCamelCase(CharSequence, char) - Static method in class cn.hutool.core.text.NamingCase
-
将连接符方式命名的字符串转换为驼峰式。
- toCamelCase(CharSequence, char, boolean) - Static method in class cn.hutool.core.text.NamingCase
-
将连接符方式命名的字符串转换为驼峰式。
- toCamelCaseMap(Map<K, V>) - Static method in class cn.hutool.core.map.MapUtil
-
将已知Map转换为key为驼峰风格的Map
如果KEY为非String类型,保留原值
- toChar(Object, Character) - Static method in class cn.hutool.core.convert.Convert
-
转换为字符
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
- toChar(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为字符
如果给定的值为null
,或者转换失败,返回默认值null
转换失败不会报错
- toChar(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为char
- toCharacter(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为Character
- toCharArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Character数组
- toChinese() - Method in enum cn.hutool.core.date.Week
-
转换为中文名
- toChinese(String) - Method in enum cn.hutool.core.date.Week
-
转换为中文名
- toChronoUnit() - Method in enum cn.hutool.core.date.DateUnit
-
- toChronoUnit(DateUnit) - Static method in enum cn.hutool.core.date.DateUnit
-
- toChronoUnit(TimeUnit) - Static method in class cn.hutool.core.date.TemporalUtil
-
- toCloseByNumber(int) - Static method in class cn.hutool.core.util.CharUtil
-
将[1-20]数字转换为带圈的字符:
1 -》 '①'
12 -》 '⑫'
20 -》 '⑳'
也称作:封闭式字符,英文:Enclosed Alphanumerics
- toCloseChar(char) - Static method in class cn.hutool.core.util.CharUtil
-
将字母、数字转换为带圈的字符:
'1' -》 '①'
'A' -》 'Ⓐ'
'a' -》 'ⓐ'
获取带圈数字 /封闭式字母数字 ,从1-20,超过1-20报错
- toCollection(Iterable<E>) - Static method in class cn.hutool.core.collection.CollUtil
-
- toCollection(Class<?>, Class<?>, Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为集合类
- toCombination(AnnotatedElement) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
将指定的被注解的元素转换为组合注解元素
- toComparison() - Method in class cn.hutool.core.builder.CompareToBuilder
-
Returns a negative integer, a positive integer, or zero as
the builder
has judged the "left-hand" side
as less than, greater than, or equal to the "right-hand"
side.
- toCopyOnWriteArrayList(Collection<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
新建一个CopyOnWriteArrayList
- toDate(Object, Date) - Static method in class cn.hutool.core.convert.Convert
-
转换为Date
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toDate(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Date
如果给定的值为空,或者转换失败,返回null
转换失败不会报错
- toDateStr() - Method in class cn.hutool.core.date.DateTime
-
转为"yyyy-MM-dd" 格式字符串
- today() - Static method in class cn.hutool.core.date.DateUtil
-
当前日期,格式 yyyy-MM-dd
- toDBC(String) - Static method in class cn.hutool.core.convert.Convert
-
全角转半角
- toDBC(String, Set<Character>) - Static method in class cn.hutool.core.convert.Convert
-
替换全角为半角
- toDomainParams(ECParameterSpec) - Static method in class cn.hutool.crypto.BCUtil
-
构建ECDomainParameters对象
- toDomainParams(String) - Static method in class cn.hutool.crypto.BCUtil
-
构建ECDomainParameters对象
- toDomainParams(X9ECParameters) - Static method in class cn.hutool.crypto.BCUtil
-
构建ECDomainParameters对象
- toDouble(Object, Double) - Static method in class cn.hutool.core.convert.Convert
-
转换为double
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toDouble(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为double
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
- toDouble(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为double
- toDouble(Number) - Static method in class cn.hutool.core.util.NumberUtil
-
Number值转换为double
float强制转换存在精度问题,此方法避免精度丢失
- toDoubleArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Double数组
- toDoubleObj(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为double
- toEnum(Class<E>, Object, E) - Static method in class cn.hutool.core.convert.Convert
-
转换为Enum对象
如果给定的值为空,或者转换失败,返回默认值
- toEnum(Class<E>, Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Enum对象
如果给定的值为空,或者转换失败,返回默认值null
- toEpochMilli(TemporalAccessor) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- toEpochMilli(TemporalAccessor) - Static method in class cn.hutool.core.date.TemporalAccessorUtil
-
- toFile(Document, String) - Static method in class cn.hutool.core.util.XmlUtil
-
将XML文档写入到文件
使用Document中的编码
- toFile(Document, String, String) - Static method in class cn.hutool.core.util.XmlUtil
-
将XML文档写入到文件
- toFloat(Object, Float) - Static method in class cn.hutool.core.convert.Convert
-
转换为Float
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toFloat(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Float
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
- toFloat(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为float
- toFloatArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Float数组
- toFloatObj(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为Float
- toGigabytes() - Method in class cn.hutool.core.io.unit.DataSize
-
返回GB大小
- toHashCode() - Method in class cn.hutool.core.builder.HashCodeBuilder
-
Return the computed hashCode
.
- toHex(String, Charset) - Static method in class cn.hutool.core.convert.Convert
-
字符串转换成十六进制字符串,结果为小写
- toHex(byte[]) - Static method in class cn.hutool.core.convert.Convert
-
byte数组转16进制串
- toHex(Color) - Static method in class cn.hutool.core.img.ColorUtil
-
Color对象转16进制表示,例如#fcf6d6
- toHex(int, int, int) - Static method in class cn.hutool.core.img.ColorUtil
-
RGB颜色值转换成十六进制颜色码
- toHex(Color) - Static method in class cn.hutool.core.img.ImgUtil
-
Color对象转16进制表示,例如#fcf6d6
- toHex(int, int, int) - Static method in class cn.hutool.core.img.ImgUtil
-
RGB颜色值转换成十六进制颜色码
- toHex(int) - Static method in class cn.hutool.core.util.HexUtil
-
转为16进制字符串
- toHex(long) - Static method in class cn.hutool.core.util.HexUtil
-
转为16进制字符串
- toHints() - Method in class cn.hutool.extra.qrcode.QrConfig
-
转换为Zxing的二维码配置
- toHints(BarcodeFormat) - Method in class cn.hutool.extra.qrcode.QrConfig
-
转换为Zxing的二维码配置
- toHtml(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
-
将字符串中的Unicode Emoji字符转换为HTML表现形式(Hex方式)
例如:👦🏿
转换为 👦
- toHtml(String, boolean) - Static method in class cn.hutool.extra.emoji.EmojiUtil
-
将字符串中的Unicode Emoji字符转换为HTML表现形式,例如:
如果为hex形式,👦🏿
转换为 👦
否则,👦🏿
转换为 👦
- toHtmlHex(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
-
将字符串中的Unicode Emoji字符转换为HTML 16进制表现形式
例如:👦🏿
转换为 👦
- toIdentityMap(Collection<V>, Function<V, K>) - Static method in class cn.hutool.core.collection.CollStreamUtil
-
将collection转化为类型不变的map
Collection<V> ----> Map<K,V>
- toIdentityMap(Collection<V>, Function<V, K>, boolean) - Static method in class cn.hutool.core.collection.CollStreamUtil
-
将collection转化为类型不变的map
Collection<V> ----> Map<K,V>
- toImage(String) - Static method in class cn.hutool.core.img.ImgUtil
-
- toImage(byte[]) - Static method in class cn.hutool.core.img.ImgUtil
-
- toImage(BitMatrix, int, Integer) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
BitMatrix转BufferedImage
- toInstant(Object, Date) - Static method in class cn.hutool.core.convert.Convert
-
Instant
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toInstant(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
- toInstant(Date) - Static method in class cn.hutool.core.date.DateUtil
-
- toInstant(TemporalAccessor) - Static method in class cn.hutool.core.date.DateUtil
-
- toInstant(TemporalAccessor) - Static method in class cn.hutool.core.date.TemporalAccessorUtil
-
- toInt(Object, Integer) - Static method in class cn.hutool.core.convert.Convert
-
转换为int
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toInt(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为int
如果给定的值为null
,或者转换失败,返回默认值null
转换失败不会报错
- toInt(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为int
- toInt(byte[]) - Static method in class cn.hutool.core.util.NumberUtil
-
- toIntArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Integer数组
- toInteger(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为Integer
- toIntSecond(Date) - Static method in class cn.hutool.core.date.DateUtil
-
- toIpList(Set<InetAddress>) - Static method in class cn.hutool.core.net.NetUtil
-
地址列表转换为IP地址列表
- toJdkDate() - Method in class cn.hutool.core.date.DateTime
-
转换为
Date
考虑到很多框架(例如Hibernate)的兼容性,提供此方法返回JDK原生的Date对象
- toJdkDayOfWeek() - Method in enum cn.hutool.core.date.Week
-
- toJdkMonth() - Method in enum cn.hutool.core.date.Month
-
- toJSON() - Method in class cn.hutool.json.JSONSupport
-
- toJSONArray(Collection<String>) - Method in class cn.hutool.json.JSONObject
-
将指定KEY列表的值组成新的JSONArray
- toJSONArray() - Method in class cn.hutool.json.JSONTokener
-
- toJSONObject(JSONArray) - Method in class cn.hutool.json.JSONArray
-
根据给定名列表,与其位置对应的值组成JSONObject
- toJSONObject(String) - Static method in class cn.hutool.json.XML
-
转换XML为JSONObject
转换过程中一些信息可能会丢失,JSON中无法区分节点和属性,相同的节点将被处理为JSONArray。
- toJSONObject(String, boolean) - Static method in class cn.hutool.json.XML
-
转换XML为JSONObject
转换过程中一些信息可能会丢失,JSON中无法区分节点和属性,相同的节点将被处理为JSONArray。
- toJSONObject(String, ParseConfig) - Static method in class cn.hutool.json.XML
-
转换XML为JSONObject
转换过程中一些信息可能会丢失,JSON中无法区分节点和属性,相同的节点将被处理为JSONArray。
- toJSONObject(JSONObject, String, boolean) - Static method in class cn.hutool.json.XML
-
转换XML为JSONObject
转换过程中一些信息可能会丢失,JSON中无法区分节点和属性,相同的节点将被处理为JSONArray。
- toJSONObject(JSONObject, String, ParseConfig) - Static method in class cn.hutool.json.XML
-
转换XML为JSONObject
转换过程中一些信息可能会丢失,JSON中无法区分节点和属性,相同的节点将被处理为JSONArray。
- toJsonPrettyStr(JSON) - Static method in class cn.hutool.json.JSONUtil
-
转为JSON字符串
- toJsonPrettyStr(Object) - Static method in class cn.hutool.json.JSONUtil
-
转换为格式化后的JSON字符串
- toJsonStr(JSON, int) - Static method in class cn.hutool.json.JSONUtil
-
转为JSON字符串
- toJsonStr(JSON) - Static method in class cn.hutool.json.JSONUtil
-
转为JSON字符串
- toJsonStr(JSON, Writer) - Static method in class cn.hutool.json.JSONUtil
-
转为JSON字符串,并写出到write
- toJsonStr(Object) - Static method in class cn.hutool.json.JSONUtil
-
转换为JSON字符串
- toJsonStr(Object, JSONConfig) - Static method in class cn.hutool.json.JSONUtil
-
转换为JSON字符串
- toJsonStr(Object, Writer) - Static method in class cn.hutool.json.JSONUtil
-
转换为JSON字符串并写出到writer
- toJSONString(int) - Method in interface cn.hutool.json.JSON
-
格式化输出JSON字符串
- toJSONString(int, Filter<MutablePair<Object, Object>>) - Method in class cn.hutool.json.JSONArray
-
返回JSON字符串
支持过滤器,即选择哪些字段或值不写出
- toJSONString(int, Filter<MutablePair<Object, Object>>) - Method in class cn.hutool.json.JSONObject
-
返回JSON字符串
支持过滤器,即选择哪些字段或值不写出
- toJSONString() - Method in interface cn.hutool.json.JSONString
-
自定义转JSON字符串的方法
- toJSONString() - Method in class cn.hutool.json.JSONSupport
-
- toKebabCase(CharSequence) - Static method in class cn.hutool.core.text.NamingCase
-
将驼峰式命名的字符串转换为短横连接方式。
- tokenizePath(String) - Method in class cn.hutool.core.text.AntPathMatcher
-
Tokenize the given path into parts, based on this matcher's settings.
- tokenizePattern(String) - Method in class cn.hutool.core.text.AntPathMatcher
-
Tokenize the given path pattern into parts, based on this matcher's settings.
- TokenizerEngine - Interface in cn.hutool.extra.tokenizer
-
分词引擎接口定义,用户通过实现此接口完成特定分词引擎的适配
- TokenizerException - Exception in cn.hutool.extra.tokenizer
-
分词异常
- TokenizerException(Throwable) - Constructor for exception cn.hutool.extra.tokenizer.TokenizerException
-
- TokenizerException(String) - Constructor for exception cn.hutool.extra.tokenizer.TokenizerException
-
- TokenizerException(String, Object...) - Constructor for exception cn.hutool.extra.tokenizer.TokenizerException
-
- TokenizerException(String, Throwable) - Constructor for exception cn.hutool.extra.tokenizer.TokenizerException
-
- TokenizerException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.extra.tokenizer.TokenizerException
-
- TokenizerException(Throwable, String, Object...) - Constructor for exception cn.hutool.extra.tokenizer.TokenizerException
-
- TokenizerFactory - Class in cn.hutool.extra.tokenizer.engine
-
简单分词引擎工厂,用于根据用户引入的分词引擎jar,自动创建对应的引擎
- TokenizerFactory() - Constructor for class cn.hutool.extra.tokenizer.engine.TokenizerFactory
-
- TokenizerUtil - Class in cn.hutool.extra.tokenizer
-
分词工具类
- TokenizerUtil() - Constructor for class cn.hutool.extra.tokenizer.TokenizerUtil
-
- toKilobytes() - Method in class cn.hutool.core.io.unit.DataSize
-
返回KB大小
- TolerantMap<K,V> - Class in cn.hutool.core.map
-
一个可以提供默认值的Map
- TolerantMap(V) - Constructor for class cn.hutool.core.map.TolerantMap
-
构造
- TolerantMap(int, float, V) - Constructor for class cn.hutool.core.map.TolerantMap
-
构造
- TolerantMap(int, V) - Constructor for class cn.hutool.core.map.TolerantMap
-
构造
- TolerantMap(Map<K, V>, V) - Constructor for class cn.hutool.core.map.TolerantMap
-
构造
- toLinkedList(T...) - Static method in class cn.hutool.core.collection.ListUtil
-
新建LinkedList
- toList() - Method in class cn.hutool.core.collection.BoundedPriorityQueue
-
- toList(Collection<E>, Function<E, T>) - Static method in class cn.hutool.core.collection.CollStreamUtil
-
将collection转化为List集合,但是两者的泛型不同
Collection<E> ------> List<T>
- toList(Collection<E>, Function<E, T>, boolean) - Static method in class cn.hutool.core.collection.CollStreamUtil
-
将collection转化为List集合,但是两者的泛型不同
Collection<E> ------> List<T>
- toList(T...) - Static method in class cn.hutool.core.collection.CollUtil
-
数组转为ArrayList
- toList(Iterable<E>) - Static method in class cn.hutool.core.collection.IterUtil
-
Iterator转List
不判断,直接生成新的List
- toList(Iterator<E>) - Static method in class cn.hutool.core.collection.IterUtil
-
Iterator转List
不判断,直接生成新的List
- toList(T...) - Static method in class cn.hutool.core.collection.ListUtil
-
新建一个ArrayList
- toList(Collection<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
新建一个ArrayList
- toList(Iterable<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
- toList(Iterator<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
- toList(Enumeration<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
- toList(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为ArrayList,元素类型默认Object
- toList(Class<T>, Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为ArrayList
- toList() - Method in class cn.hutool.core.lang.Tuple
-
将元组转换成列表
- toList(boolean) - Method in class cn.hutool.core.text.split.SplitIter
-
获取切分后的对象列表
- toList(Function<String, T>) - Method in class cn.hutool.core.text.split.SplitIter
-
获取切分后的对象列表
- toList(Class<T>) - Method in class cn.hutool.json.JSONArray
-
- toList(JSONArray, Class<T>) - Static method in class cn.hutool.json.JSONConverter
-
将JSONArray转换为指定类型的对量列表
- toList(String, Class<T>) - Static method in class cn.hutool.json.JSONUtil
-
将JSONArray字符串转换为Bean的List,默认为ArrayList
- toList(JSONArray, Class<T>) - Static method in class cn.hutool.json.JSONUtil
-
将JSONArray转换为Bean的List,默认为ArrayList
- toListMap(Iterable<? extends Map<K, V>>) - Static method in class cn.hutool.core.collection.CollUtil
-
行转列,合并相同的键,值合并为列表
将Map列表中相同key的值组成列表做为Map的value
是
CollUtil.toMapList(Map)
的逆方法
比如传入数据:
[
{a: 1, b: 1, c: 1}
{a: 2, b: 2}
{a: 3, b: 3}
{a: 4}
]
结果是:
{
a: [1,2,3,4]
b: [1,2,3,]
c: [1]
}
- toListMap(Iterable<V>, Function<V, K>) - Static method in class cn.hutool.core.collection.IterUtil
-
将列表转成值为List的HashMap
- toListMap(Iterable<T>, Function<T, K>, Function<T, V>) - Static method in class cn.hutool.core.collection.IterUtil
-
将列表转成值为List的HashMap
- toListMap(Map<K, List<V>>, Iterable<T>, Function<T, K>, Function<T, V>) - Static method in class cn.hutool.core.collection.IterUtil
-
将列表转成值为List的HashMap
- toListMap(Iterable<? extends Map<K, V>>) - Static method in class cn.hutool.core.map.MapUtil
-
行转列,合并相同的键,值合并为列表
将Map列表中相同key的值组成列表做为Map的value
是
MapUtil.toMapList(Map)
的逆方法
比如传入数据:
[
{a: 1, b: 1, c: 1}
{a: 2, b: 2}
{a: 3, b: 3}
{a: 4}
]
结果是:
{
a: [1,2,3,4]
b: [1,2,3,]
c: [1]
}
- toLocalDateTime(Object, LocalDateTime) - Static method in class cn.hutool.core.convert.Convert
-
LocalDateTime
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toLocalDateTime(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为LocalDateTime
如果给定的值为空,或者转换失败,返回null
转换失败不会报错
- toLocalDateTime(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
- toLocalDateTime() - Method in class cn.hutool.core.date.DateTime
-
- toLocalDateTime(Instant) - Static method in class cn.hutool.core.date.DateUtil
-
- toLocalDateTime(Date) - Static method in class cn.hutool.core.date.DateUtil
-
- toLocation(String) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
将Excel中地址标识符(例如A11,B5)等转换为行列表示
例如:A11 -》 x:0,y:10,B5-》x:1,y:4
- toLong(Object, Long) - Static method in class cn.hutool.core.convert.Convert
-
转换为long
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toLong(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为long
如果给定的值为null
,或者转换失败,返回默认值null
转换失败不会报错
- toLong(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为long
- toLongArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Long数组
- toLongObj(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为Long
- toMap(Collection<E>, Function<E, K>, Function<E, V>) - Static method in class cn.hutool.core.collection.CollStreamUtil
-
将Collection转化为map(value类型与collection的泛型不同)
Collection<E> -----> Map<K,V>
- toMap(Collection<E>, Function<E, K>, Function<E, V>, boolean) - Static method in class cn.hutool.core.collection.CollStreamUtil
-
- toMap(Iterable<Map.Entry<K, V>>) - Static method in class cn.hutool.core.collection.CollUtil
-
将Entry集合转换为HashMap
- toMap(Object[]) - Static method in class cn.hutool.core.collection.CollUtil
-
将数组转换为Map(HashMap),支持数组元素类型为:
Map.Entry
长度大于1的数组(取前两个值),如果不满足跳过此元素
Iterable 长度也必须大于1(取前两个值),如果不满足跳过此元素
Iterator 长度也必须大于1(取前两个值),如果不满足跳过此元素
Map<Object, Object> colorMap = CollectionUtil.toMap(new String[][] {{
{"RED", "#FF0000"},
{"GREEN", "#00FF00"},
{"BLUE", "#0000FF"}});
参考:commons-lang
- toMap(Iterable<V>, Map<K, V>, Func1<V, K>) - Static method in class cn.hutool.core.collection.CollUtil
-
集合转换为Map,转换规则为:
按照keyFunc函数规则根据元素对象生成Key,元素作为值
- toMap(Iterable<E>, Map<K, V>, Func1<E, K>, Func1<E, V>) - Static method in class cn.hutool.core.collection.CollUtil
-
集合转换为Map,转换规则为:
按照keyFunc函数规则根据元素对象生成Key,按照valueFunc函数规则根据元素对象生成value组成新的Map
- toMap(Iterable<Map.Entry<K, V>>) - Static method in class cn.hutool.core.collection.IterUtil
-
将Entry集合转换为HashMap
- toMap(Iterable<K>, Iterable<V>) - Static method in class cn.hutool.core.collection.IterUtil
-
将键列表和值列表转换为Map
以键为准,值与键位置需对应。
- toMap(Iterable<K>, Iterable<V>, boolean) - Static method in class cn.hutool.core.collection.IterUtil
-
将键列表和值列表转换为Map
以键为准,值与键位置需对应。
- toMap(Iterator<K>, Iterator<V>) - Static method in class cn.hutool.core.collection.IterUtil
-
将键列表和值列表转换为Map
以键为准,值与键位置需对应。
- toMap(Iterator<K>, Iterator<V>, boolean) - Static method in class cn.hutool.core.collection.IterUtil
-
将键列表和值列表转换为Map
以键为准,值与键位置需对应。
- toMap(Iterable<V>, Function<V, K>) - Static method in class cn.hutool.core.collection.IterUtil
-
将列表转成HashMap
- toMap(Iterable<T>, Function<T, K>, Function<T, V>) - Static method in class cn.hutool.core.collection.IterUtil
-
将列表转成HashMap
- toMap(Map<K, V>, Iterable<T>, Function<T, K>, Function<T, V>) - Static method in class cn.hutool.core.collection.IterUtil
-
将列表转成Map
- toMap(Iterator<V>, Map<K, V>, Func1<V, K>) - Static method in class cn.hutool.core.collection.IterUtil
-
Iterator转换为Map,转换规则为:
按照keyFunc函数规则根据元素对象生成Key,元素作为值
- toMap(Iterator<E>, Map<K, V>, Func1<E, K>, Func1<E, V>) - Static method in class cn.hutool.core.collection.IterUtil
-
集合转换为Map,转换规则为:
按照keyFunc函数规则根据元素对象生成Key,按照valueFunc函数规则根据元素对象生成value组成新的Map
- toMap(Class<K>, Class<V>, Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Map,若value原本就是Map,则转为原始类型,若不是则默认转为HashMap
- toMap(Class<? extends Map>, Class<K>, Class<V>, Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Map
- toMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>, BinaryOperator<U>) - Static method in class cn.hutool.core.stream.CollectorUtil
-
- toMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>, BinaryOperator<U>, Supplier<M>) - Static method in class cn.hutool.core.stream.CollectorUtil
-
- toMap(Object) - Static method in class cn.hutool.extra.cglib.CglibUtil
-
将Bean转换为Map
- toMapList(Map<K, ? extends Iterable<V>>) - Static method in class cn.hutool.core.collection.CollUtil
-
列转行。
- toMapList(Map<K, ? extends Iterable<V>>) - Static method in class cn.hutool.core.map.MapUtil
-
列转行。
- toMarkSupportStream(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
- TomcatDSFactory - Class in cn.hutool.db.ds.tomcat
-
Tomcat-Jdbc-Pool数据源工厂类
- TomcatDSFactory() - Constructor for class cn.hutool.db.ds.tomcat.TomcatDSFactory
-
构造
- TomcatDSFactory(Setting) - Constructor for class cn.hutool.db.ds.tomcat.TomcatDSFactory
-
构造
- toMegabytes() - Method in class cn.hutool.core.io.unit.DataSize
-
返回MB大小
- tomorrow() - Static method in class cn.hutool.core.date.DateUtil
-
明天
- toMsStr() - Method in class cn.hutool.core.date.DateTime
-
- toNumber(Object, Number) - Static method in class cn.hutool.core.convert.Convert
-
转换为Number
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toNumber(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Number
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
- toNumberArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Number数组
- toObjectArray(Map<?, ?>) - Static method in class cn.hutool.core.map.MapUtil
-
将键值对转换为二维数组,第一维是key,第二维是value
- toOptional() - Method in class cn.hutool.core.lang.Opt
-
- toParameterizedType(Type) - Static method in class cn.hutool.core.util.TypeUtil
-
- toParameterizedType(Type, int) - Static method in class cn.hutool.core.util.TypeUtil
-
- toParams(Key) - Static method in class cn.hutool.crypto.BCUtil
-
密钥转换为AsymmetricKeyParameter
- toParams(String, ECDomainParameters) - Static method in class cn.hutool.crypto.BCUtil
-
转换为 ECPrivateKeyParameters
- toParams(byte[], ECDomainParameters) - Static method in class cn.hutool.crypto.BCUtil
-
转换为 ECPrivateKeyParameters
- toParams(BigInteger, ECDomainParameters) - Static method in class cn.hutool.crypto.BCUtil
-
转换为 ECPrivateKeyParameters
- toParams(BigInteger, BigInteger, ECDomainParameters) - Static method in class cn.hutool.crypto.BCUtil
-
转换为ECPublicKeyParameters
- toParams(String, String, ECDomainParameters) - Static method in class cn.hutool.crypto.BCUtil
-
转换为ECPublicKeyParameters
- toParams(byte[], byte[], ECDomainParameters) - Static method in class cn.hutool.crypto.BCUtil
-
转换为ECPublicKeyParameters
- toParams(PublicKey) - Static method in class cn.hutool.crypto.BCUtil
-
公钥转换为 ECPublicKeyParameters
- toParams(PrivateKey) - Static method in class cn.hutool.crypto.BCUtil
-
私钥转换为 ECPrivateKeyParameters
- toParams(Key) - Static method in class cn.hutool.crypto.ECKeyUtil
-
密钥转换为AsymmetricKeyParameter
- toParams(Map<String, ?>) - Static method in class cn.hutool.http.HttpUtil
-
将Map形式的Form表单数据转换为Url参数形式,会自动url编码键和值
- toParams(Map<String, Object>, String) - Static method in class cn.hutool.http.HttpUtil
-
- toParams(Map<String, ?>, Charset) - Static method in class cn.hutool.http.HttpUtil
-
将Map形式的Form表单数据转换为Url参数形式
paramMap中如果key为空(null和"")会被忽略,如果value为null,会被做为空白符("")
会自动url编码键和值
此方法用于拼接URL中的Query部分,并不适用于POST请求中的表单
key1=v1&key2=&key3=v3
- toParams(Map<String, ?>, Charset, boolean) - Static method in class cn.hutool.http.HttpUtil
-
将Map形式的Form表单数据转换为Url参数形式
paramMap中如果key为空(null和"")会被忽略,如果value为null,会被做为空白符("")
会自动url编码键和值
key1=v1&key2=&key3=v3
- toParent() - Method in class cn.hutool.extra.ftp.AbstractFtp
-
打开上级目录
- toPascalCase(CharSequence) - Static method in class cn.hutool.core.text.NamingCase
-
将下划线方式命名的字符串转换为帕斯卡式。
- toPem(String, byte[]) - Static method in class cn.hutool.crypto.PemUtil
-
将私钥或公钥转换为PEM格式的字符串
- toPkcs1(PrivateKey) - Static method in class cn.hutool.crypto.BCUtil
-
Java中的PKCS#8格式私钥转换为OpenSSL支持的PKCS#1格式
- toPkcs1(PublicKey) - Static method in class cn.hutool.crypto.BCUtil
-
Java中的X.509格式公钥转换为OpenSSL支持的PKCS#1格式
- toPrettyString() - Method in class cn.hutool.json.JSONSupport
-
美化的JSON(使用回车缩进显示JSON),用于打印输出debug
- toPrimitiveByteArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Byte数组
- toPrivateParams(String, ECDomainParameters) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为 ECPrivateKeyParameters
- toPrivateParams(byte[], ECDomainParameters) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为 ECPrivateKeyParameters
- toPrivateParams(BigInteger, ECDomainParameters) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为 ECPrivateKeyParameters
- toPrivateParams(PrivateKey) - Static method in class cn.hutool.crypto.ECKeyUtil
-
私钥转换为 ECPrivateKeyParameters
- toProperties() - Method in class cn.hutool.setting.dialect.Props
-
- toProperties() - Method in class cn.hutool.setting.Setting
-
转换为Properties对象,原分组变为前缀
- toProxyBean(Class<T>) - Method in class cn.hutool.core.map.MapProxy
-
将Map代理为指定接口的动态代理对象
- toPublicParams(String, String, ECDomainParameters) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为ECPublicKeyParameters
- toPublicParams(byte[], byte[], ECDomainParameters) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为ECPublicKeyParameters
- toPublicParams(BigInteger, BigInteger, ECDomainParameters) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为ECPublicKeyParameters
- toPublicParams(String, ECDomainParameters) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为ECPublicKeyParameters
- toPublicParams(byte[], ECDomainParameters) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为ECPublicKeyParameters
- toPublicParams(ECPoint, ECDomainParameters) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为ECPublicKeyParameters
- toPublicParams(PublicKey) - Static method in class cn.hutool.crypto.ECKeyUtil
-
公钥转换为 ECPublicKeyParameters
- toPushbackStream(InputStream, int) - Static method in class cn.hutool.core.io.IoUtil
-
- toRenderedImage(Image) - Static method in class cn.hutool.core.img.ImgUtil
-
- toSBC(String) - Static method in class cn.hutool.core.convert.Convert
-
半角转全角,null
返回null
- toSBC(String, Set<Character>) - Static method in class cn.hutool.core.convert.Convert
-
半角转全角,null
返回null
- toSegment(int, int) - Static method in class cn.hutool.core.util.PageUtil
-
将页数和每页条目数转换为开始位置和结束位置
此方法用于包括结束位置的分页方法
例如:
页码:0,每页10 =》 [0, 10]
页码:1,每页10 =》 [10, 20]
……
当
PageUtil.setFirstPageNo(int)
设置为1时:
页码:1,每页10 =》 [0, 10]
页码:2,每页10 =》 [10, 20]
……
- toSet(Collection<E>, Function<E, T>) - Static method in class cn.hutool.core.collection.CollStreamUtil
-
将collection转化为Set集合,但是两者的泛型不同
Collection<E> ------> Set<T>
- toSet(Collection<E>, Function<E, T>, boolean) - Static method in class cn.hutool.core.collection.CollStreamUtil
-
将collection转化为Set集合,但是两者的泛型不同
Collection<E> ------> Set<T>
- toSet(Class<T>, Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为HashSet
- toShort(Object, Short) - Static method in class cn.hutool.core.convert.Convert
-
转换为Short
如果给定的值为null
,或者转换失败,返回默认值
转换失败不会报错
- toShort(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Short
如果给定的值为null
,或者转换失败,返回默认值null
转换失败不会报错
- toShort(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为short
- toShortArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Short数组
- toShortObj(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为Short
- toSm2Params(String) - Static method in class cn.hutool.crypto.BCUtil
-
转换为 ECPrivateKeyParameters
- toSm2Params(byte[]) - Static method in class cn.hutool.crypto.BCUtil
-
转换为 ECPrivateKeyParameters
- toSm2Params(BigInteger) - Static method in class cn.hutool.crypto.BCUtil
-
转换为 ECPrivateKeyParameters
- toSm2Params(String, String) - Static method in class cn.hutool.crypto.BCUtil
-
转换为SM2的ECPublicKeyParameters
- toSm2Params(byte[], byte[]) - Static method in class cn.hutool.crypto.BCUtil
-
转换为SM2的ECPublicKeyParameters
- toSm2PrivateKey(ECPrivateKey) - Static method in class cn.hutool.crypto.ECKeyUtil
-
- toSm2PrivateParams(String) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为 ECPrivateKeyParameters
- toSm2PrivateParams(byte[]) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为 ECPrivateKeyParameters
- toSm2PrivateParams(BigInteger) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为 ECPrivateKeyParameters
- toSm2PublicParams(byte[]) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为 ECPublicKeyParameters
- toSm2PublicParams(String) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为 ECPublicKeyParameters
- toSm2PublicParams(String, String) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为SM2的ECPublicKeyParameters
- toSm2PublicParams(byte[], byte[]) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为SM2的ECPublicKeyParameters
- toSqlDate() - Method in class cn.hutool.core.date.DateTime
-
- toSqlDate(Date) - Static method in class cn.hutool.db.sql.SqlUtil
-
- toSqlTimestamp(Date) - Static method in class cn.hutool.db.sql.SqlUtil
-
- toStr(Iterator<E>) - Static method in class cn.hutool.core.collection.IterUtil
-
- toStr(Iterator<E>, Function<? super E, String>) - Static method in class cn.hutool.core.collection.IterUtil
-
- toStr(Iterator<E>, Function<? super E, String>, String, String, String) - Static method in class cn.hutool.core.collection.IterUtil
-
- toStr(Object, String) - Static method in class cn.hutool.core.convert.Convert
-
转换为字符串
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
- toStr(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为字符串
如果给定的值为null
,或者转换失败,返回默认值null
转换失败不会报错
- toStr(ByteArrayOutputStream, Charset) - Static method in class cn.hutool.core.io.IoUtil
-
- toStr(Number, String) - Static method in class cn.hutool.core.util.NumberUtil
-
- toStr(Number) - Static method in class cn.hutool.core.util.NumberUtil
-
- toStr(Number, boolean) - Static method in class cn.hutool.core.util.NumberUtil
-
- toStr(BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
-
- toStr(BigDecimal, boolean) - Static method in class cn.hutool.core.util.NumberUtil
-
- toStr(Node) - Static method in class cn.hutool.core.util.XmlUtil
-
- toStr(Document) - Static method in class cn.hutool.core.util.XmlUtil
-
- toStr(Node, boolean) - Static method in class cn.hutool.core.util.XmlUtil
-
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
- toStr(Document, boolean) - Static method in class cn.hutool.core.util.XmlUtil
-
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
- toStr(Node, String, boolean) - Static method in class cn.hutool.core.util.XmlUtil
-
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
- toStr(Document, String, boolean) - Static method in class cn.hutool.core.util.XmlUtil
-
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
- toStr(Node, String, boolean, boolean) - Static method in class cn.hutool.core.util.XmlUtil
-
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
- toStrArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为String数组
- toStream(Image, String) - Static method in class cn.hutool.core.img.ImgUtil
-
将图片对象转换为InputStream形式
- toStream(String, String) - Static method in class cn.hutool.core.io.IoUtil
-
- toStream(String, Charset) - Static method in class cn.hutool.core.io.IoUtil
-
String 转为流
- toStream(File) - Static method in class cn.hutool.core.io.IoUtil
-
- toStream(byte[]) - Static method in class cn.hutool.core.io.IoUtil
-
- toStream(ByteArrayOutputStream) - Static method in class cn.hutool.core.io.IoUtil
-
- toString() - Method in class cn.hutool.cache.impl.AbstractCache
-
- toString() - Method in class cn.hutool.cache.impl.CacheObj
-
- toString() - Method in class cn.hutool.cache.impl.ReentrantCache
-
- toString() - Method in class cn.hutool.core.bean.BeanPath
-
- toString() - Method in class cn.hutool.core.bean.DynaBean
-
- toString() - Method in class cn.hutool.core.convert.NumberWithFormat
-
- toString() - Method in class cn.hutool.core.date.BetweenFormatter
-
- toString() - Method in class cn.hutool.core.date.ChineseDate
-
- toString(DateUnit, BetweenFormatter.Level) - Method in class cn.hutool.core.date.DateBetween
-
格式化输出时间差
- toString(BetweenFormatter.Level) - Method in class cn.hutool.core.date.DateBetween
-
格式化输出时间差
- toString() - Method in class cn.hutool.core.date.DateBetween
-
- toString() - Method in class cn.hutool.core.date.DateTime
-
- toString(TimeZone) - Method in class cn.hutool.core.date.DateTime
-
转为"yyyy-MM-dd HH:mm:ss" 格式字符串
如果时区不为null
,会转换为其时区对应的时间,否则转换为当前时间对应的时区
- toString(String) - Method in class cn.hutool.core.date.DateTime
-
转为字符串
- toString(DatePrinter) - Method in class cn.hutool.core.date.DateTime
-
转为字符串
- toString(DateFormat) - Method in class cn.hutool.core.date.DateTime
-
转为字符串
- toString() - Method in class cn.hutool.core.date.format.AbstractDateBasic
-
- toString() - Method in class cn.hutool.core.date.format.FastDateFormat
-
- toString() - Method in class cn.hutool.core.date.StopWatch
-
- toString() - Method in class cn.hutool.core.io.FastByteArrayOutputStream
-
- toString(String) - Method in class cn.hutool.core.io.FastByteArrayOutputStream
-
转为字符串
- toString(Charset) - Method in class cn.hutool.core.io.FastByteArrayOutputStream
-
转为字符串
- toString() - Method in class cn.hutool.core.io.FastStringWriter
-
- toString() - Method in class cn.hutool.core.io.resource.ClassPathResource
-
- toString() - Method in class cn.hutool.core.io.resource.FileResource
-
返回路径
- toString() - Method in class cn.hutool.core.io.resource.UrlResource
-
返回路径
- toString() - Method in class cn.hutool.core.io.unit.DataSize
-
- toString() - Method in class cn.hutool.core.lang.ansi.Ansi8BitColor
-
- toString() - Method in enum cn.hutool.core.lang.ansi.AnsiBackground
-
- toString() - Method in enum cn.hutool.core.lang.ansi.AnsiColor
-
- toString() - Method in interface cn.hutool.core.lang.ansi.AnsiElement
-
- toString() - Method in enum cn.hutool.core.lang.ansi.AnsiStyle
-
- toString() - Method in class cn.hutool.core.lang.ConsoleTable
-
获取表格字符串
- toString() - Method in class cn.hutool.core.lang.mutable.MutableBool
-
- toString() - Method in class cn.hutool.core.lang.mutable.MutableByte
-
- toString() - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
- toString() - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
- toString() - Method in class cn.hutool.core.lang.mutable.MutableInt
-
- toString() - Method in class cn.hutool.core.lang.mutable.MutableLong
-
- toString() - Method in class cn.hutool.core.lang.mutable.MutableObj
-
- toString() - Method in class cn.hutool.core.lang.mutable.MutableShort
-
- toString() - Method in class cn.hutool.core.lang.Opt
-
返回包裹内元素调用toString()
的结果,不存在则返回null
- toString() - Method in class cn.hutool.core.lang.Pair
-
- toString() - Method in class cn.hutool.core.lang.ParameterizedTypeImpl
-
- toString() - Method in class cn.hutool.core.lang.tree.Tree
-
- toString() - Method in class cn.hutool.core.lang.Tuple
-
- toString() - Method in class cn.hutool.core.lang.TypeReference
-
- toString() - Method in class cn.hutool.core.lang.UUID
-
返回此UUID
的字符串表现形式。
- toString(boolean) - Method in class cn.hutool.core.lang.UUID
-
返回此UUID
的字符串表现形式。
- toString() - Method in class cn.hutool.core.lang.Version
-
- toString() - Method in class cn.hutool.core.map.AbsEntry
-
- toString() - Method in class cn.hutool.core.map.MapWrapper
-
- toString() - Method in class cn.hutool.core.map.multi.AbsTable
-
- toString() - Method in class cn.hutool.core.map.TableMap
-
- toString() - Method in class cn.hutool.core.map.TolerantMap
-
- toString() - Method in class cn.hutool.core.math.Money
-
生成本对象的缺省字符串表示
- toString() - Method in class cn.hutool.core.net.url.UrlBuilder
-
- toString() - Method in class cn.hutool.core.net.url.UrlPath
-
- toString() - Method in class cn.hutool.core.net.url.UrlQuery
-
生成查询字符串,类似于aaa=111&bbb=222
此方法不对任何特殊字符编码,仅用于输出显示
- toString(char) - Static method in class cn.hutool.core.text.ASCIIStrCache
-
字符转为字符串
如果为ASCII字符,使用缓存
- toString() - Method in class cn.hutool.core.text.csv.CsvData
-
- toString() - Method in class cn.hutool.core.text.csv.CsvRow
-
- toString(boolean) - Method in class cn.hutool.core.text.StrBuilder
-
生成字符串
- toString() - Method in class cn.hutool.core.text.StrBuilder
-
生成字符串
- toString() - Method in class cn.hutool.core.text.StrJoiner
-
- toString(String) - Static method in class cn.hutool.core.text.UnicodeUtil
-
Unicode字符串转为普通字符串
Unicode字符串的表现方式为:\\uXXXX
- toString() - Method in class cn.hutool.core.thread.threadlocal.NamedInheritableThreadLocal
-
- toString() - Method in class cn.hutool.core.thread.threadlocal.NamedThreadLocal
-
- toString(Object) - Static method in class cn.hutool.core.util.ArrayUtil
-
数组或集合转String
- toString(boolean, String, String) - Static method in class cn.hutool.core.util.BooleanUtil
-
将boolean转换为字符串
BooleanUtil.toString(true, "true", "false") = "true"
BooleanUtil.toString(false, "true", "false") = "false"
- toString(Boolean, String, String, String) - Static method in class cn.hutool.core.util.BooleanUtil
-
将boolean转换为字符串
BooleanUtil.toString(true, "true", "false", null) = "true"
BooleanUtil.toString(false, "true", "false", null) = "false"
BooleanUtil.toString(null, "true", "false", null) = null
- toString(char) - Static method in class cn.hutool.core.util.CharUtil
-
字符转为字符串
如果为ASCII字符,使用缓存
- toString() - Method in class cn.hutool.core.util.CoordinateUtil.Coordinate
-
- toString(Enum<?>) - Static method in class cn.hutool.core.util.EnumUtil
-
- toString() - Method in class cn.hutool.core.util.IdcardUtil.Idcard
-
- toString(Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
将Object转为String
策略为:
1、null转为"null"
2、调用Convert.toStr(Object)转换
- toString(Object) - Static method in class cn.hutool.core.util.StrUtil
-
调用对象的toString方法,null会返回“null”
- toString() - Method in class cn.hutool.cron.pattern.CronPattern
-
- toString() - Method in class cn.hutool.cron.pattern.matcher.AlwaysTrueMatcher
-
- toString() - Method in class cn.hutool.cron.pattern.matcher.BoolArrayMatcher
-
- toString() - Method in class cn.hutool.cron.TaskTable
-
- toString() - Method in class cn.hutool.cron.timingwheel.TimerTask
-
- toString() - Method in class cn.hutool.db.Entity
-
- toString() - Method in class cn.hutool.db.meta.Column
-
- toString() - Method in class cn.hutool.db.meta.ColumnIndexInfo
-
- toString() - Method in class cn.hutool.db.meta.IndexInfo
-
- toString() - Method in enum cn.hutool.db.meta.TableType
-
- toString() - Method in class cn.hutool.db.Page
-
- toString() - Method in class cn.hutool.db.sql.Condition
-
- toString(List<Object>) - Method in class cn.hutool.db.sql.Condition
-
转换为条件字符串,并回填占位符对应的参数值
- toString() - Method in class cn.hutool.db.sql.ConditionBuilder
-
构建组合条件
例如:name = ?
- toString(List<Object>) - Method in class cn.hutool.db.sql.ConditionGroup
-
将条件组转换为条件字符串,使用括号包裹,并回填占位符对应的参数值
- toString() - Method in class cn.hutool.db.sql.Order
-
- toString() - Method in class cn.hutool.db.sql.SqlBuilder
-
- toString() - Method in class cn.hutool.dfa.FoundWord
-
默认的,只输出匹配到的关键字
- toString() - Method in class cn.hutool.extra.mail.MailAccount
-
- toString() - Method in class cn.hutool.extra.ssh.Connector
-
toString方法仅用于测试显示
- toString() - Method in class cn.hutool.extra.ssh.Sftp
-
- toString() - Method in class cn.hutool.extra.tokenizer.engine.analysis.AnalysisWord
-
- toString() - Method in class cn.hutool.extra.tokenizer.engine.ansj.AnsjWord
-
- toString() - Method in class cn.hutool.extra.tokenizer.engine.hanlp.HanLPWord
-
- toString() - Method in class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerWord
-
- toString() - Method in class cn.hutool.extra.tokenizer.engine.jcseg.JcsegWord
-
- toString() - Method in class cn.hutool.extra.tokenizer.engine.jieba.JiebaWord
-
- toString() - Method in class cn.hutool.extra.tokenizer.engine.mmseg.MmsegWord
-
- toString() - Method in class cn.hutool.extra.tokenizer.engine.mynlp.MynlpWord
-
- toString() - Method in class cn.hutool.extra.tokenizer.engine.word.WordWord
-
- toString() - Method in class cn.hutool.extra.validation.BeanValidationResult.ErrorMessage
-
- toString() - Method in class cn.hutool.http.body.FormUrlEncodedBody
-
- toString() - Method in class cn.hutool.http.body.MultipartBody
-
- toString() - Method in class cn.hutool.http.body.ResourceBody
-
- toString() - Method in enum cn.hutool.http.ContentType
-
- toString(Charset) - Method in enum cn.hutool.http.ContentType
-
输出Content-Type字符串,附带编码信息
- toString() - Method in enum cn.hutool.http.Header
-
- toString() - Method in class cn.hutool.http.HttpBase
-
- toString() - Method in class cn.hutool.http.HttpConnection
-
- toString() - Method in class cn.hutool.http.HttpRequest
-
- toString() - Method in class cn.hutool.http.HttpResponse
-
- toString() - Method in class cn.hutool.http.useragent.UserAgentInfo
-
- toString(SOAPMessage, boolean) - Static method in class cn.hutool.http.webservice.SoapUtil
-
- toString(SOAPMessage, boolean, Charset) - Static method in class cn.hutool.http.webservice.SoapUtil
-
- toString() - Method in class cn.hutool.json.JSONArray
-
转为JSON字符串,无缩进
- toString() - Method in class cn.hutool.json.JSONNull
-
Get the "null" string value.
- toString() - Method in class cn.hutool.json.JSONObject
-
返回JSON字符串
如果解析错误,返回null
- toString() - Method in class cn.hutool.json.JSONSupport
-
- toString() - Method in class cn.hutool.json.JSONTokener
-
Make a printable string of this JSONTokener.
- toString() - Method in class cn.hutool.jwt.Claims
-
- toString() - Method in class cn.hutool.poi.excel.cell.CellLocation
-
- toString() - Method in class cn.hutool.poi.excel.cell.FormulaCellValue
-
- toString() - Method in class cn.hutool.setting.GroupedMap
-
- toString() - Method in class cn.hutool.setting.Setting
-
- toString() - Method in class cn.hutool.system.HostInfo
-
将当前主机的信息转换成字符串。
- toString() - Method in class cn.hutool.system.JavaInfo
-
将Java Implementation的信息转换成字符串。
- toString() - Method in class cn.hutool.system.JavaRuntimeInfo
-
将当前运行的JRE信息转换成字符串。
- toString() - Method in class cn.hutool.system.JavaSpecInfo
-
将Java Specification的信息转换成字符串。
- toString() - Method in class cn.hutool.system.JvmInfo
-
将Java Virtual Machine Implementation的信息转换成字符串。
- toString() - Method in class cn.hutool.system.JvmSpecInfo
-
将Java Virtual Machine Specification的信息转换成字符串。
- toString() - Method in class cn.hutool.system.oshi.CpuInfo
-
- toString() - Method in class cn.hutool.system.oshi.CpuTicks
-
- toString() - Method in class cn.hutool.system.OsInfo
-
将OS的信息转换成字符串。
- toString() - Method in class cn.hutool.system.RuntimeInfo
-
- toString() - Method in class cn.hutool.system.UserInfo
-
将当前用户的信息转换成字符串。
- toStringAndReset() - Method in class cn.hutool.core.text.StrBuilder
-
重置并返回生成的字符串
- toStringDefaultTimeZone() - Method in class cn.hutool.core.date.DateTime
-
转为"yyyy-MM-dd HH:mm:ss" 格式字符串
时区使用当前地区的默认时区
- toStringNormal() - Method in class cn.hutool.core.date.ChineseDate
-
转换为标准的日期格式来表示农历日期,例如2020-01-13
如果存在闰月,显示闰月月份,如润二月显示2
- toStringOnOff(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
将boolean转换为字符串 'on'
或者 'off'
.
- toStringOrEmpty(Object) - Static method in class cn.hutool.core.util.StrUtil
-
调用对象的toString方法,null会返回空字符串 ""
- toStringOrNull(Object) - Static method in class cn.hutool.core.util.StrUtil
-
调用对象的toString方法,null会返回null
- toStringPretty() - Method in interface cn.hutool.json.JSON
-
格式化打印JSON,缩进为4个空格
- toStringTrueFalse(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
将boolean转换为字符串 'true'
或者 'false'
.
- toStringYesNo(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
将boolean转换为字符串 'yes'
或者 'no'
.
- toSupplier(P1) - Method in interface cn.hutool.core.lang.func.Supplier1
-
- toSupplier(P1, P2) - Method in interface cn.hutool.core.lang.func.Supplier2
-
- toSupplier(P1, P2, P3) - Method in interface cn.hutool.core.lang.func.Supplier3
-
- toSupplier(P1, P2, P3, P4) - Method in interface cn.hutool.core.lang.func.Supplier4
-
- toSupplier(P1, P2, P3, P4, P5) - Method in interface cn.hutool.core.lang.func.Supplier5
-
- toSVG(BitMatrix, QrConfig) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
BitMatrix转SVG(字符串)
- toSVG(BitMatrix, Integer, Integer, Image, int) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
BitMatrix转SVG(字符串)
- toSymbolCase(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
将驼峰式命名的字符串转换为使用符号连接方式。
- toSymbolCase(CharSequence, char) - Static method in class cn.hutool.core.text.NamingCase
-
将驼峰式命名的字符串转换为使用符号连接方式。
- totalCpu() - Method in class cn.hutool.system.oshi.CpuTicks
-
获取CPU总的使用率
- totalLength(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串数组的总长度
null字符长度定义为0
- totalPage(int, int) - Static method in class cn.hutool.core.util.PageUtil
-
根据总数计算总页数
- totalPage(long, int) - Static method in class cn.hutool.core.util.PageUtil
-
根据总数计算总页数
- toTerabytes() - Method in class cn.hutool.core.io.unit.DataSize
-
返回TB大小
- toTimestamp() - Method in class cn.hutool.core.date.DateTime
-
- toTimeStr() - Method in class cn.hutool.core.date.DateTime
-
转为"HH:mm:ss" 格式字符串
- toTimeUnit(ChronoUnit) - Static method in class cn.hutool.core.date.TemporalUtil
-
- toTimeZone(ZoneId) - Static method in class cn.hutool.core.date.ZoneUtil
-
- TOTP - Class in cn.hutool.crypto.digest.otp
-
time-based one-time passwords (TOTP) 基于时间戳算法的一次性密码生成器,
规范见:
RFC 6238.
- TOTP(byte[]) - Constructor for class cn.hutool.crypto.digest.otp.TOTP
-
构造,使用默认HMAC算法(HmacSHA1)
- TOTP(Duration, byte[]) - Constructor for class cn.hutool.crypto.digest.otp.TOTP
-
构造,使用默认HMAC算法(HmacSHA1)
- TOTP(Duration, int, byte[]) - Constructor for class cn.hutool.crypto.digest.otp.TOTP
-
构造,使用默认HMAC算法(HmacSHA1)
- TOTP(Duration, int, HmacAlgorithm, byte[]) - Constructor for class cn.hutool.crypto.digest.otp.TOTP
-
构造
- toTreeSet(Collection<T>, Comparator<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
将集合转换为排序后的TreeSet
- touch(String) - Static method in class cn.hutool.core.io.FileUtil
-
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
- touch(File) - Static method in class cn.hutool.core.io.FileUtil
-
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
- touch(File, String) - Static method in class cn.hutool.core.io.FileUtil
-
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
- touch(String, String) - Static method in class cn.hutool.core.io.FileUtil
-
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
- toUnderlineCase(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
将驼峰式命名的字符串转换为下划线方式。
- toUnderlineCase(CharSequence) - Static method in class cn.hutool.core.text.NamingCase
-
将驼峰式命名的字符串转换为下划线方式,又称SnakeCase、underScoreCase。
- toUnicode(char) - Static method in class cn.hutool.core.text.UnicodeUtil
-
字符编码为Unicode形式
- toUnicode(int) - Static method in class cn.hutool.core.text.UnicodeUtil
-
字符编码为Unicode形式
- toUnicode(String) - Static method in class cn.hutool.core.text.UnicodeUtil
-
字符串编码为Unicode形式
- toUnicode(String, boolean) - Static method in class cn.hutool.core.text.UnicodeUtil
-
字符串编码为Unicode形式
- toUnicode(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
-
将子串中的Emoji别名(两个":"包围的格式)和其HTML表示形式替换为为Unicode Emoji符号
例如:
:smile:
替换为 😄
😄
替换为 😄
:boy|type_6:
替换为 👦🏿
- toUnicodeHex(char) - Method in class cn.hutool.core.codec.Base16Codec
-
将指定char值转换为Unicode字符串形式,常用于特殊字符(例如汉字)转Unicode形式
转换的字符串如果u后不足4位,则前面用0填充,例如:
'你' =》'你'
- toUnicodeHex(int) - Static method in class cn.hutool.core.util.HexUtil
-
将指定int值转换为Unicode字符串形式,常用于特殊字符(例如汉字)转Unicode形式
转换的字符串如果u后不足4位,则前面用0填充,例如:
'你' =》你
- toUnicodeHex(char) - Static method in class cn.hutool.core.util.HexUtil
-
将指定char值转换为Unicode字符串形式,常用于特殊字符(例如汉字)转Unicode形式
转换的字符串如果u后不足4位,则前面用0填充,例如:
'你' =》'你'
- toUnsignedByteArray(BigInteger) - Static method in class cn.hutool.core.util.NumberUtil
-
以无符号字节数组的形式返回传入值。
- toUnsignedByteArray(int, BigInteger) - Static method in class cn.hutool.core.util.NumberUtil
-
以无符号字节数组的形式返回传入值。
- toURI() - Method in class cn.hutool.core.net.url.UrlBuilder
-
转换为URI
- toURI(URL) - Static method in class cn.hutool.core.util.URLUtil
-
转URL为URI
- toURI(URL, boolean) - Static method in class cn.hutool.core.util.URLUtil
-
转URL为URI
- toURI(String) - Static method in class cn.hutool.core.util.URLUtil
-
转字符串为URI
- toURI(String, boolean) - Static method in class cn.hutool.core.util.URLUtil
-
转字符串为URI
- toURL() - Method in class cn.hutool.core.net.url.UrlBuilder
-
- toURL(URLStreamHandler) - Method in class cn.hutool.core.net.url.UrlBuilder
-
- toUrlForHttp(String) - Static method in class cn.hutool.core.util.URLUtil
-
将URL字符串转换为URL对象,并做必要验证
- toUrlForHttp(String, URLStreamHandler) - Static method in class cn.hutool.core.util.URLUtil
-
将URL字符串转换为URL对象,并做必要验证
- toUtf8Stream(String) - Static method in class cn.hutool.core.io.IoUtil
-
String 转为UTF-8编码的字节流流
- toXml(Object) - Static method in class cn.hutool.json.xml.JSONXMLSerializer
-
转换JSONObject为XML
Convert a JSONObject into a well-formed, element-normal XML string.
- toXml(Object, String) - Static method in class cn.hutool.json.xml.JSONXMLSerializer
-
转换JSONObject为XML
- toXml(Object, String, String...) - Static method in class cn.hutool.json.xml.JSONXMLSerializer
-
转换JSONObject为XML
- toXml(Object) - Static method in class cn.hutool.json.XML
-
转换JSONObject为XML
- toXml(Object, String) - Static method in class cn.hutool.json.XML
-
转换JSONObject为XML
- toXml(Object, String, String...) - Static method in class cn.hutool.json.XML
-
转换JSONObject为XML
- toXmlStr(JSON) - Static method in class cn.hutool.json.JSONUtil
-
转换为XML字符串
- toZipFile(File, Charset) - Static method in class cn.hutool.core.util.ZipUtil
-
- toZoneId(TimeZone) - Static method in class cn.hutool.core.date.ZoneUtil
-
- trace(String) - Static method in class cn.hutool.http.HttpRequest
-
TRACE请求
- trace(Throwable) - Method in class cn.hutool.log.AbstractLog
-
- trace(String, Object...) - Method in class cn.hutool.log.AbstractLog
-
- trace(Throwable, String, Object...) - Method in class cn.hutool.log.AbstractLog
-
- trace(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- trace(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- trace(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- trace(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- trace(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- trace(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- trace(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.logtube.LogTubeLog
-
- trace(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- trace(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- trace(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- trace(Throwable) - Method in interface cn.hutool.log.level.TraceLog
-
打印 TRACE 等级的日志
- trace(String, Object...) - Method in interface cn.hutool.log.level.TraceLog
-
打印 TRACE 等级的日志
- trace(Throwable, String, Object...) - Method in interface cn.hutool.log.level.TraceLog
-
打印 TRACE 等级的日志
- trace(String, Throwable, String, Object...) - Method in interface cn.hutool.log.level.TraceLog
-
打印 TRACE 等级的日志
- trace(String, Object...) - Static method in class cn.hutool.log.StaticLog
-
Trace等级日志,小于debug
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
- trace(Log, String, Object...) - Static method in class cn.hutool.log.StaticLog
-
Trace等级日志,小于Debug
- TraceLog - Interface in cn.hutool.log.level
-
TRACE级别日志接口
- trans(Collection<F>, Function<? super F, ? extends T>) - Static method in class cn.hutool.core.collection.CollUtil
-
使用给定的转换函数,转换源集合为新类型的集合
- trans(Iterator<F>, Function<? super F, ? extends T>) - Static method in class cn.hutool.core.collection.IterUtil
-
- trans(Spliterator<F>, Function<? super F, ? extends T>) - Static method in class cn.hutool.core.collection.SpliteratorUtil
-
- TransactionLevel - Enum in cn.hutool.db.transaction
-
事务级别枚举
脏读(Dirty Read):
一个事务会读到另一个事务更新后但未提交的数据,如果另一个事务回滚,那么当前事务读到的数据就是脏数据
不可重复读(Non Repeatable Read):
在一个事务内,多次读同一数据,在这个事务还没有结束时,如果另一个事务恰好修改了这个数据,那么,在第一个事务中,两次读取的数据就可能不一致
幻读(Phantom Read):
在一个事务中,第一次查询某条记录,发现没有,但是,当试图更新这条不存在的记录时,竟然能成功,且可以再次读取同一条记录。
- TransCollection<F,T> - Class in cn.hutool.core.collection
-
使用给定的转换函数,转换源集合为新类型的集合
- TransCollection(Collection<F>, Function<? super F, ? extends T>) - Constructor for class cn.hutool.core.collection.TransCollection
-
构造
- transElements(NodeList) - Static method in class cn.hutool.core.util.XmlUtil
-
将NodeList转换为Element列表
- transElements(Element, NodeList) - Static method in class cn.hutool.core.util.XmlUtil
-
将NodeList转换为Element列表
非Element节点将被忽略
- transform(AffineTransform, BufferedImage) - Static method in class cn.hutool.core.img.ImgUtil
-
转换图片
可以使用一系列平移 (translation)、缩放 (scale)、翻转 (flip)、旋转 (rotation) 和错切 (shear) 来构造仿射变换。
- transform(Source, Result, String, int) - Static method in class cn.hutool.core.util.XmlUtil
-
将XML文档写出
格式化输出逻辑参考:https://stackoverflow.com/questions/139076/how-to-pretty-print-xml-from-java
- transform(Source, Result, String, int, boolean) - Static method in class cn.hutool.core.util.XmlUtil
-
将XML文档写出
格式化输出逻辑参考:https://stackoverflow.com/questions/139076/how-to-pretty-print-xml-from-java
- transientSupport - Variable in class cn.hutool.core.bean.copier.CopyOptions
-
是否支持transient关键字修饰和@Transient注解,如果支持,被修饰的字段或方法对应的字段将被忽略。
- transIndex - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- transIndex - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- TransIter<F,T> - Class in cn.hutool.core.collection
-
- TransIter(Iterator<? extends F>, Function<? super F, ? extends T>) - Constructor for class cn.hutool.core.collection.TransIter
-
构造
- TransMap<K,V> - Class in cn.hutool.core.map
-
- TransMap(Supplier<Map<K, V>>) - Constructor for class cn.hutool.core.map.TransMap
-
构造
通过传入一个Map从而确定Map的类型,子类需创建一个空的Map,而非传入一个已有Map,否则值可能会被修改
- TransMap(Map<K, V>) - Constructor for class cn.hutool.core.map.TransMap
-
构造
通过传入一个Map从而确定Map的类型,子类需创建一个空的Map,而非传入一个已有Map,否则值可能会被修改
- transparency - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- transparent - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- transparentExactMatch - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- TransSpliterator<F,T> - Class in cn.hutool.core.collection
-
- TransSpliterator(Spliterator<F>, Function<? super F, ? extends T>) - Constructor for class cn.hutool.core.collection.TransSpliterator
-
- transToStartEnd(int, int) - Static method in class cn.hutool.core.util.PageUtil
-
将页数和每页条目数转换为开始位置和结束位置
此方法用于包括结束位置的分页方法
例如:
页码:0,每页10 =》 [0, 10]
页码:1,每页10 =》 [10, 20]
……
当
PageUtil.setFirstPageNo(int)
设置为1时:
页码:1,每页10 =》 [0, 10]
页码:2,每页10 =》 [10, 20]
……
- Tree<T> - Class in cn.hutool.core.lang.tree
-
通过转换器将你的实体转化为TreeNodeMap节点实体 属性都存在此处,属性有序,可支持排序
- Tree() - Constructor for class cn.hutool.core.lang.tree.Tree
-
- Tree(TreeNodeConfig) - Constructor for class cn.hutool.core.lang.tree.Tree
-
构造
- TreeBuilder<E> - Class in cn.hutool.core.lang.tree
-
树构建器
- TreeBuilder(E, TreeNodeConfig) - Constructor for class cn.hutool.core.lang.tree.TreeBuilder
-
构造
- TreeBuilder(Tree<E>) - Constructor for class cn.hutool.core.lang.tree.TreeBuilder
-
构造
- TreeEntry<K,V> - Interface in cn.hutool.core.map
-
允许拥有一个父节点与多个子节点的Map.Entry
实现,
表示一个以key作为唯一标识,并且可以挂载一个对应值的树节点,
提供一些基于该节点对其所在树结构进行访问的方法
- TreeEntryNode(LinkedForestMap.TreeEntryNode<K, V>, K) - Constructor for class cn.hutool.core.map.LinkedForestMap.TreeEntryNode
-
创建一个节点
- TreeEntryNode(LinkedForestMap.TreeEntryNode<K, V>, K, V) - Constructor for class cn.hutool.core.map.LinkedForestMap.TreeEntryNode
-
创建一个节点
- TreeNode<T> - Class in cn.hutool.core.lang.tree
-
树节点 每个属性都可以在
TreeNodeConfig
中被重命名
在你的项目里它可以是部门实体、地区实体等任意类树节点实体
类树节点实体: 包含key,父Key.不限于这些属性的可以构造成一颗树的实体对象
- TreeNode() - Constructor for class cn.hutool.core.lang.tree.TreeNode
-
空构造
- TreeNode(T, T, String, Comparable<?>) - Constructor for class cn.hutool.core.lang.tree.TreeNode
-
构造
- TreeNodeConfig - Class in cn.hutool.core.lang.tree
-
树配置属性相关
- TreeNodeConfig() - Constructor for class cn.hutool.core.lang.tree.TreeNodeConfig
-
- TreeUtil - Class in cn.hutool.core.lang.tree
-
树工具类
- TreeUtil() - Constructor for class cn.hutool.core.lang.tree.TreeUtil
-
- trim(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
除去字符串头尾部的空白,如果字符串是null
,依然返回null
。
- trim(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
除去字符串头尾部的空白符,如果字符串是null
,依然返回null
。
- trim(CharSequence, int, Predicate<Character>) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
按照断言,除去字符串头尾部的断言为真的字符,如果字符串是null
,依然返回null
。
- trim(String[]) - Static method in class cn.hutool.core.util.StrUtil
-
给定字符串数组全部做去首尾空格
- TrimEditor - Class in cn.hutool.poi.excel.editors
-
去除String类型的单元格值两边的空格
- TrimEditor() - Constructor for class cn.hutool.poi.excel.editors.TrimEditor
-
- trimEnd(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
除去字符串尾部的空白,如果字符串是null
,则返回null
。
- trimField - Variable in class cn.hutool.core.text.csv.CsvReadConfig
-
每个字段是否去除两边空白符
- trimStart(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
除去字符串头部的空白,如果字符串是null
,则返回null
。
- trimStrFields(T, String...) - Static method in class cn.hutool.core.bean.BeanUtil
-
把Bean里面的String属性做trim操作。
- trimToEmpty(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
除去字符串头尾部的空白,如果字符串是null
,返回""
。
- trimToNull(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
除去字符串头尾部的空白,如果字符串是null
或者"",返回null
。
- truncate(Calendar, DateField) - Static method in class cn.hutool.core.date.CalendarUtil
-
修改日期为某个时间字段起始时间
- truncate(Date, DateField) - Static method in class cn.hutool.core.date.DateUtil
-
修改日期为某个时间字段起始时间
- truncateByByteLength(String, Charset, int, int, boolean) - Static method in class cn.hutool.core.util.StrUtil
-
截断字符串,使用其按照指定编码为字节后不超过maxBytes长度
此方法用于截取总bytes数不超过指定长度,如果字符出没有超出原样输出,如果超出了,则截取掉超出部分,并可选添加...,
但是添加“...”后总长度也不超过限制长度。
- truncateUtf8(String, int) - Static method in class cn.hutool.core.util.StrUtil
-
截断字符串,使用其按照UTF-8编码为字节后不超过maxBytes长度。
- TRUST_ANY_HOSTNAME_VERIFIER - Static variable in class cn.hutool.http.ssl.DefaultSSLInfo
-
默认信任全部的域名校验器
- TrustAnyHostnameVerifier - Class in cn.hutool.http.ssl
-
https 域名校验
- TrustAnyHostnameVerifier() - Constructor for class cn.hutool.http.ssl.TrustAnyHostnameVerifier
-
- tryAdvance(Consumer<? super T>) - Method in class cn.hutool.core.collection.TransSpliterator
-
- tryConvertEnum(Object, Class) - Static method in class cn.hutool.core.convert.impl.EnumConverter
-
尝试转换,转换规则为:
如果实现
EnumItem
接口,则调用fromInt或fromStr转换
找到类似转换的静态方法调用实现转换且优先使用
约定枚举类应该提供 valueOf(String) 和 valueOf(Integer)用于转换
oriInt /name 转换托底
- tryLock() - Method in class cn.hutool.core.thread.lock.NoLock
-
- tryLock(long, TimeUnit) - Method in class cn.hutool.core.thread.lock.NoLock
-
- trySplit() - Method in class cn.hutool.core.collection.TransSpliterator
-
- ttl - Variable in class cn.hutool.cache.impl.CacheObj
-
对象存活时长,0表示永久存活
- Tuple - Class in cn.hutool.core.lang
-
不可变数组类型(元组),用于多值返回
多值可以支持每个元素值类型不同
- Tuple(Object...) - Constructor for class cn.hutool.core.lang.Tuple
-
构造
- tx(VoidFunc1<Db>) - Method in class cn.hutool.db.Db
-
执行事务,使用默认的事务级别
在同一事务中,所有对数据库操作都是原子的,同时提交或者同时回滚
- tx(TransactionLevel, VoidFunc1<Db>) - Method in class cn.hutool.db.Db
-
执行事务
在同一事务中,所有对数据库操作都是原子的,同时提交或者同时回滚
- tx(VoidFunc1<Session>) - Method in class cn.hutool.db.Session
-
在事务中执行操作,通过实现
VoidFunc1
接口的call方法执行多条SQL语句从而完成事务
- TYPE - Static variable in class cn.hutool.jwt.JWTHeader
-
声明类型,一般为jwt
- TYPE_HIERARCHY - Static variable in interface cn.hutool.core.annotation.scanner.AnnotationScanner
-
扫描元素本身以及父类、父接口的层级结构中声明的注解的扫描器
- TYPE_HIERARCHY_AND_META_ANNOTATION - Static variable in interface cn.hutool.core.annotation.scanner.AnnotationScanner
-
扫描元素本身以及父接口、父接口的层级结构中声明的注解,以及这些注解的元注解的扫描器
- TypeAnnotationScanner - Class in cn.hutool.core.annotation.scanner
-
- TypeAnnotationScanner(boolean, boolean, Predicate<Class<?>>, Set<Class<?>>) - Constructor for class cn.hutool.core.annotation.scanner.TypeAnnotationScanner
-
构造一个类注解扫描器
- TypeAnnotationScanner() - Constructor for class cn.hutool.core.annotation.scanner.TypeAnnotationScanner
-
构建一个类注解扫描器,默认允许扫描指定元素的父类以及父接口
- TypeAnnotationScanner.JdkProxyClassConverter - Class in cn.hutool.core.annotation.scanner
-
若类型为jdk代理类,则尝试转换为原始被代理类
- typeCode - Variable in enum cn.hutool.db.meta.JdbcType
-
- TypeConverter - Interface in cn.hutool.core.convert
-
类型转换接口函数,根据给定的值和目标类型,由用户自定义转换规则。
- TypeReference<T> - Class in cn.hutool.core.lang
-
Type类型参考
通过构建一个类型参考子类,可以获取其泛型参数中的Type类型。
- TypeReference() - Constructor for class cn.hutool.core.lang.TypeReference
-
构造
- TypeUtil - Class in cn.hutool.core.util
-
针对
Type
的工具类封装
最主要功能包括:
1.
- TypeUtil() - Constructor for class cn.hutool.core.util.TypeUtil
-
- validate(Instant, int, int) - Method in class cn.hutool.crypto.digest.otp.TOTP
-
用于验证code是否正确
- validate(T, Class<?>...) - Static method in class cn.hutool.extra.validation.ValidationUtil
-
校验对象
- validate(long) - Method in class cn.hutool.jwt.JWT
-
- validateAlgorithm() - Method in class cn.hutool.jwt.JWTValidator
-
- validateAlgorithm(JWTSigner) - Method in class cn.hutool.jwt.JWTValidator
-
- validateBetween(Number, Number, Number, String) - Static method in class cn.hutool.core.lang.Validator
-
检查给定的数字是否在指定范围内
- validateBirthday(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证验证是否为生日
- validateCarDrivingLicence(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为驾驶证 别名:驾驶证档案编号、行驶证编号
- validateCarVin(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为车架号;别名:行驶证编号 车辆识别代号 车辆识别码
- validateChinese(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为汉字
- validateCitizenIdNumber(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为身份证号码(支持18位、15位和港澳台的10位)
- validateDate() - Method in class cn.hutool.jwt.JWTValidator
-
- validateDate(Date) - Method in class cn.hutool.jwt.JWTValidator
-
- validateDate(Date, long) - Method in class cn.hutool.jwt.JWTValidator
-
- validateEmail(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为可用邮箱地址
- validateEmpty(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为空,非空时抛出异常
对于String类型判定是否为empty(null 或 "")
- validateEntity(Entity) - Static method in class cn.hutool.db.sql.SqlBuilder
-
验证实体类对象的有效性
- validateEqual(Object, Object, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否相等,不相等抛出异常
- ValidateException - Exception in cn.hutool.core.exceptions
-
验证异常
- ValidateException() - Constructor for exception cn.hutool.core.exceptions.ValidateException
-
- ValidateException(String) - Constructor for exception cn.hutool.core.exceptions.ValidateException
-
- ValidateException(String, Object...) - Constructor for exception cn.hutool.core.exceptions.ValidateException
-
- ValidateException(Throwable) - Constructor for exception cn.hutool.core.exceptions.ValidateException
-
- ValidateException(String, Throwable) - Constructor for exception cn.hutool.core.exceptions.ValidateException
-
- ValidateException(int, String) - Constructor for exception cn.hutool.core.exceptions.ValidateException
-
- ValidateException(int, Throwable) - Constructor for exception cn.hutool.core.exceptions.ValidateException
-
- ValidateException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.core.exceptions.ValidateException
-
- ValidateException(int, String, Throwable) - Constructor for exception cn.hutool.core.exceptions.ValidateException
-
- validateFalse(boolean, String, Object...) - Static method in class cn.hutool.core.lang.Validator
-
检查指定值是否为false
- validateGeneral(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为英文字母 、数字和下划线
- validateGeneral(T, int, int, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为给定长度范围的英文字母 、数字和下划线
- validateGeneral(T, int, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为给定最小长度的英文字母 、数字和下划线
- validateGeneralWithChinese(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为中文字、英文字母、数字和下划线
- validateHex(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为Hex(16进制)字符串
- validateIpv4(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为IPV4地址
- validateIpv6(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为IPV6地址
- validateLetter(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否全部为字母组成,包括大写和小写字母和汉字
- validateLowerCase(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证字符串是否全部为小写字母
- validateMac(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为MAC地址
- validateMatchRegex(String, T, String) - Static method in class cn.hutool.core.lang.Validator
-
- validateMobile(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为手机号码(中国)
- validateMoney(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为货币
- validateNotEmpty(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为非空,为空时抛出异常
对于String类型判定是否为empty(null 或 "")
- validateNotEmptyAndEqual(Object, Object, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否非空且与指定值相等
当数据为空时抛出验证异常
当两值不等时抛出异常
- validateNotEmptyAndNotEqual(Object, Object, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否非空且与指定值相等
当数据为空时抛出验证异常
当两值相等时抛出异常
- validateNotEqual(Object, Object, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否不等,相等抛出异常
- validateNotNull(T, String, Object...) - Static method in class cn.hutool.core.lang.Validator
-
检查指定值是否非null
- validateNull(T, String, Object...) - Static method in class cn.hutool.core.lang.Validator
-
检查指定值是否为null
- validateNumber(String, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为数字
- ValidateObjectInputStream - Class in cn.hutool.core.io
-
带有类验证的对象流,用于避免反序列化漏洞
详细见:https://xz.aliyun.com/t/41/
- ValidateObjectInputStream(InputStream, Class<?>...) - Constructor for class cn.hutool.core.io.ValidateObjectInputStream
-
构造
- validatePlateNumber(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为中国车牌号
- validateProperty(T, String, Class<?>...) - Static method in class cn.hutool.extra.validation.ValidationUtil
-
校验bean的某一个属性
- validateTrue(boolean, String, Object...) - Static method in class cn.hutool.core.lang.Validator
-
检查指定值是否为true
- validateUpperCase(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证字符串是否全部为大写字母
- validateUrl(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为URL
- validateUUID(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为UUID
包括带横线标准格式和不带横线的简单模式
- validateWord(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为字母(包括大写和小写字母)
- validateZipCode(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为邮政编码(中国)
- ValidationUtil - Class in cn.hutool.extra.validation
-
java bean 校验工具类,此工具类基于validation-api(jakarta.validation-api)封装
在实际使用中,用户需引入validation-api的实现,如:hibernate-validator
注意:hibernate-validator还依赖了javax.el,需自行引入。
- ValidationUtil() - Constructor for class cn.hutool.extra.validation.ValidationUtil
-
- Validator - Class in cn.hutool.core.lang
-
字段验证器(验证器),分两种类型的验证:
isXXX:通过返回boolean值判断是否满足给定格式。
- Validator() - Constructor for class cn.hutool.core.lang.Validator
-
- value(String, Type) - Method in class cn.hutool.core.bean.copier.provider.BeanValueProvider
-
- value(String, Type) - Method in class cn.hutool.core.bean.copier.provider.DynaBeanValueProvider
-
- value(T, Type) - Method in interface cn.hutool.core.bean.copier.ValueProvider
-
获取值
返回值一般需要匹配被注入类型,如果不匹配会调用默认转换 Convert#convert(Type, Object)实现转换
- value - Variable in class cn.hutool.core.lang.Pair
-
- value() - Method in enum cn.hutool.db.meta.TableType
-
获取值
- ValueListHandler - Class in cn.hutool.db.handler
-
结果集处理类 ,处理出的结果为List列表
- ValueListHandler() - Constructor for class cn.hutool.db.handler.ValueListHandler
-
- valueOf(String) - Static method in enum cn.hutool.cache.GlobalPruneTimer
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.annotation.RelationType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.bean.BeanDescCache
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.bean.BeanInfoCache
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.convert.BasicType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.date.BetweenFormatter.Level
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.date.DateField
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.date.DateModifier.ModifyType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.date.DateUnit
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.date.Month
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.date.Quarter
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.date.Week
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.img.ScaleType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.io.file.FileMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.io.file.LineSeparator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.io.FileMagicNumber
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.io.unit.DataUnit
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.io.watch.WatchKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.lang.ansi.AnsiBackground
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.lang.ansi.AnsiColor
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.lang.ansi.AnsiColors.BitDepth
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.lang.ansi.AnsiStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.lang.ansi.ForeOrBack
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.lang.Pid
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.text.PasswdStrength.CHAR_TYPE
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.text.PasswdStrength.PASSWD_LEVEL
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.text.StrJoiner.NullMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.thread.RejectPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.util.DesensitizedUtil.DesensitizedType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.util.ModifierUtil.ModifierType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.util.ReferenceUtil.ReferenceType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.cron.pattern.Part
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.asymmetric.AsymmetricAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.asymmetric.KeyType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.asymmetric.SignAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.CipherMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.digest.DigestAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.digest.HmacAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.GlobalBouncyCastleProvider
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.Padding
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.symmetric.fpe.FPE.FPEMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.symmetric.SymmetricAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.symmetric.ZUC.ZUCAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.db.dialect.DialectName
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.db.meta.JdbcType
-
Returns the enum constant of this type with the specified name.
- valueOf(int) - Static method in enum cn.hutool.db.meta.JdbcType
-
- valueOf(String) - Static method in enum cn.hutool.db.meta.TableType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.db.sql.Condition.LikeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.db.sql.Direction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.db.sql.LogicalOperator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.db.sql.SqlBuilder.Join
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.db.sql.SqlLog
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.db.ThreadLocalConnection
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.db.transaction.TransactionLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.extra.cglib.BeanCopierCache
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.extra.ftp.FtpMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.extra.mail.GlobalMailAccount
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.extra.ssh.ChannelType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.extra.ssh.JschSessionPool
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.extra.ssh.Sftp.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.extra.template.TemplateConfig.ResourceMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.http.ContentType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.http.GlobalHeaders
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.http.GlobalInterceptor
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.http.Header
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.http.Method
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.http.webservice.SoapProtocol
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.log.level.Level
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.poi.excel.sax.AttributeName
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.poi.excel.sax.CellDataType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.poi.excel.sax.ElementName
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.poi.excel.style.Align
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.poi.word.PicType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.socket.nio.Operation
-
Returns the enum constant of this type with the specified name.
- ValueProvider<T> - Interface in cn.hutool.core.bean.copier
-
值提供者,用于提供Bean注入时参数对应值得抽象接口
继承或匿名实例化此接口
在Bean注入过程中,Bean获得字段名,通过外部方式根据这个字段名查找相应的字段值,然后注入Bean
- ValueProviderToBeanCopier<T> - Class in cn.hutool.core.bean.copier
-
- ValueProviderToBeanCopier(ValueProvider<String>, T, Type, CopyOptions) - Constructor for class cn.hutool.core.bean.copier.ValueProviderToBeanCopier
-
构造
- values() - Static method in enum cn.hutool.cache.GlobalPruneTimer
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.annotation.RelationType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.bean.BeanDescCache
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.bean.BeanInfoCache
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values(Collection<Map<?, V>>) - Static method in class cn.hutool.core.collection.CollUtil
-
获取指定Map列表中所有的Value
- values() - Static method in enum cn.hutool.core.convert.BasicType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.date.BetweenFormatter.Level
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.date.DateField
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.date.DateModifier.ModifyType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.date.DateUnit
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.date.Month
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.date.Quarter
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.date.Week
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.img.ScaleType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.io.file.FileMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.io.file.LineSeparator
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.io.FileMagicNumber
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.io.unit.DataUnit
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.io.watch.WatchKind
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.lang.ansi.AnsiBackground
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.lang.ansi.AnsiColor
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.lang.ansi.AnsiColors.BitDepth
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.lang.ansi.AnsiStyle
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.lang.ansi.ForeOrBack
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.lang.Pid
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in class cn.hutool.core.map.LinkedForestMap
-
- values() - Method in class cn.hutool.core.map.MapProxy
-
- values() - Method in class cn.hutool.core.map.MapWrapper
-
- values() - Method in class cn.hutool.core.map.multi.AbsTable
-
- values() - Method in interface cn.hutool.core.map.multi.Table
-
所有行列值的集合
- values() - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- values() - Method in class cn.hutool.core.map.TableMap
-
- values() - Static method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.text.PasswdStrength.CHAR_TYPE
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.text.PasswdStrength.PASSWD_LEVEL
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.text.StrJoiner.NullMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.thread.RejectPolicy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.util.DesensitizedUtil.DesensitizedType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.util.ModifierUtil.ModifierType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.util.ReferenceUtil.ReferenceType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.cron.pattern.Part
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.asymmetric.AsymmetricAlgorithm
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.asymmetric.KeyType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.asymmetric.SignAlgorithm
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.CipherMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.digest.DigestAlgorithm
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.digest.HmacAlgorithm
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.GlobalBouncyCastleProvider
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.Mode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.Padding
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.symmetric.fpe.FPE.FPEMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.symmetric.SymmetricAlgorithm
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.symmetric.ZUC.ZUCAlgorithm
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.db.dialect.DialectName
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.db.meta.JdbcType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.db.meta.TableType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.db.sql.Condition.LikeType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.db.sql.Direction
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.db.sql.LogicalOperator
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.db.sql.SqlBuilder.Join
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.db.sql.SqlLog
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.db.ThreadLocalConnection
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.db.transaction.TransactionLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.extra.cglib.BeanCopierCache
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.extra.ftp.FtpMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.extra.mail.GlobalMailAccount
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.extra.ssh.ChannelType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.extra.ssh.JschSessionPool
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.extra.ssh.Sftp.Mode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.extra.template.TemplateConfig.ResourceMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.http.ContentType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.http.GlobalHeaders
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.http.GlobalInterceptor
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.http.Header
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.http.Method
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.http.webservice.SoapProtocol
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.log.level.Level
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.poi.excel.sax.AttributeName
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.poi.excel.sax.CellDataType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.poi.excel.sax.ElementName
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.poi.excel.style.Align
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.poi.word.PicType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values(String) - Method in class cn.hutool.setting.GroupedMap
-
指定分组下所有值
- values(String) - Method in class cn.hutool.setting.Setting
-
指定分组下所有值
- values() - Method in class cn.hutool.setting.Setting
-
获取默认分组(空分组)中的所有值列表
- values() - Static method in enum cn.hutool.socket.nio.Operation
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- valuesOfKeys(Map<K, V>, K...) - Static method in class cn.hutool.core.collection.CollUtil
-
从Map中获取指定键列表对应的值列表
如果key在map中不存在或key对应值为null,则返回值列表对应位置的值也为null
- valuesOfKeys(Map<K, V>, Iterable<K>) - Static method in class cn.hutool.core.collection.CollUtil
-
从Map中获取指定键列表对应的值列表
如果key在map中不存在或key对应值为null,则返回值列表对应位置的值也为null
- valuesOfKeys(Map<K, V>, Iterator<K>) - Static method in class cn.hutool.core.collection.CollUtil
-
从Map中获取指定键列表对应的值列表
如果key在map中不存在或key对应值为null,则返回值列表对应位置的值也为null
- valuesOfKeys(Map<K, V>, Iterator<K>) - Static method in class cn.hutool.core.map.MapUtil
-
从Map中获取指定键列表对应的值列表
如果key在map中不存在或key对应值为null,则返回值列表对应位置的值也为null
- variant() - Method in class cn.hutool.core.lang.UUID
-
与此 UUID
相关联的变体号。
- VelocityEngine - Class in cn.hutool.extra.template.engine.velocity
-
- VelocityEngine() - Constructor for class cn.hutool.extra.template.engine.velocity.VelocityEngine
-
默认构造
- VelocityEngine(TemplateConfig) - Constructor for class cn.hutool.extra.template.engine.velocity.VelocityEngine
-
构造
- VelocityEngine(VelocityEngine) - Constructor for class cn.hutool.extra.template.engine.velocity.VelocityEngine
-
构造
- VelocityTemplate - Class in cn.hutool.extra.template.engine.velocity
-
Velocity模板包装
- VelocityTemplate(Template) - Constructor for class cn.hutool.extra.template.engine.velocity.VelocityTemplate
-
构造
- VENDOR - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 运行时环境供应商
- VENDOR - Static variable in class cn.hutool.system.SystemUtil
-
Java 运行时环境供应商的KEY
- VENDOR_URL - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 供应商的 URL
- VENDOR_URL - Static variable in class cn.hutool.system.SystemUtil
-
Java 供应商的 URL的KEY
- verify(String) - Method in class cn.hutool.captcha.AbstractCaptcha
-
- verify(String, String) - Method in interface cn.hutool.captcha.generator.CodeGenerator
-
验证用户输入的字符串是否与生成的验证码匹配
用户通过实现此方法定义验证码匹配方式
- verify(String, String) - Method in class cn.hutool.captcha.generator.MathGenerator
-
- verify(String, String) - Method in class cn.hutool.captcha.generator.RandomGenerator
-
- verify(String) - Method in interface cn.hutool.captcha.ICaptcha
-
验证验证码是否正确,建议忽略大小写
- verify(byte[], byte[]) - Method in class cn.hutool.crypto.asymmetric.Sign
-
用公钥检验数字签名的合法性
- verify(byte[], byte[]) - Method in class cn.hutool.crypto.asymmetric.SM2
-
用公钥检验数字签名的合法性
- verify(byte[], byte[], byte[]) - Method in class cn.hutool.crypto.asymmetric.SM2
-
用公钥检验数字签名的合法性
- verify(byte[], byte[]) - Method in class cn.hutool.crypto.digest.mac.Mac
-
验证生成的摘要与给定的摘要比较是否一致
简单比较每个byte位是否相同
- verify(String, SSLSession) - Method in class cn.hutool.http.ssl.TrustAnyHostnameVerifier
-
- verify() - Method in class cn.hutool.jwt.JWT
-
验证JWT Token是否有效
- verify(JWTSigner) - Method in class cn.hutool.jwt.JWT
-
验证JWT Token是否有效
- verify(String, byte[]) - Static method in class cn.hutool.jwt.JWTUtil
-
验证JWT Token有效性
- verify(String, JWTSigner) - Static method in class cn.hutool.jwt.JWTUtil
-
验证JWT Token有效性
- verify(String, String, String) - Method in class cn.hutool.jwt.signers.AsymmetricJWTSigner
-
- verify(byte[], byte[]) - Method in class cn.hutool.jwt.signers.AsymmetricJWTSigner
-
验签数据
- verify(byte[], byte[]) - Method in class cn.hutool.jwt.signers.EllipticCurveJWTSigner
-
- verify(String, String, String) - Method in class cn.hutool.jwt.signers.HMacJWTSigner
-
- verify(String, String, String) - Method in interface cn.hutool.jwt.signers.JWTSigner
-
验签
- verify(String, String, String) - Method in class cn.hutool.jwt.signers.NoneJWTSigner
-
- verifyHex(String, String) - Method in class cn.hutool.crypto.asymmetric.SM2
-
用公钥检验数字签名的合法性
- verifyHex(String, String, String) - Method in class cn.hutool.crypto.asymmetric.SM2
-
用公钥检验数字签名的合法性
- version() - Method in class cn.hutool.core.lang.UUID
-
与此 UUID
相关联的版本号.
- Version - Class in cn.hutool.core.lang
-
字符串版本表示,用于解析版本号的不同部分并比较大小。
- Version(String) - Constructor for class cn.hutool.core.lang.Version
-
版本对象,格式:tok+ ( '-' tok+)?
- VERSION - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 运行时环境版本
- VERSION - Static variable in class cn.hutool.system.SystemUtil
-
Java 运行时环境版本的KEY
- VersionComparator - Class in cn.hutool.core.comparator
-
版本比较器
比较两个版本的大小
排序时版本从小到大排序,即比较时小版本在前,大版本在后
支持如:1.3.20.8,6.82.20160101,8.5a/8.5c等版本形式
参考:java.lang.module.ModuleDescriptor.Version
- VersionComparator() - Constructor for class cn.hutool.core.comparator.VersionComparator
-
默认构造
- VfsResource - Class in cn.hutool.core.io.resource
-
VFS资源封装
支持VFS 3.x on JBoss AS 6+,JBoss AS 7 and WildFly 8+
参考:org.springframework.core.io.VfsUtils
- VfsResource(Object) - Constructor for class cn.hutool.core.io.resource.VfsResource
-
构造
- Vigenere - Class in cn.hutool.crypto.symmetric
-
维吉尼亚密码实现。
- Vigenere() - Constructor for class cn.hutool.crypto.symmetric.Vigenere
-
- visitFile(Path, BasicFileAttributes) - Method in class cn.hutool.core.compress.ZipCopyVisitor
-
- visitFile(Path, BasicFileAttributes) - Method in class cn.hutool.core.io.file.visitor.CopyVisitor
-
- visitFile(Path, BasicFileAttributes) - Method in class cn.hutool.core.io.file.visitor.DelVisitor
-
- visitFile(Path, BasicFileAttributes) - Method in class cn.hutool.core.io.file.visitor.MoveVisitor
-
- VM_NAME - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 虚拟机实现名称
- VM_NAME - Static variable in class cn.hutool.system.SystemUtil
-
Java 虚拟机实现名称的KEY
- VM_SPECIFICATION_NAME - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 虚拟机规范名称
- VM_SPECIFICATION_NAME - Static variable in class cn.hutool.system.SystemUtil
-
Java 虚拟机规范名称的KEY
- VM_SPECIFICATION_VENDOR - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 虚拟机规范供应商
- VM_SPECIFICATION_VENDOR - Static variable in class cn.hutool.system.SystemUtil
-
Java 虚拟机规范供应商的KEY
- VM_SPECIFICATION_VERSION - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 虚拟机规范版本
- VM_SPECIFICATION_VERSION - Static variable in class cn.hutool.system.SystemUtil
-
Java 虚拟机规范版本的KEY
- VM_VENDOR - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 虚拟机实现供应商
- VM_VENDOR - Static variable in class cn.hutool.system.SystemUtil
-
Java 虚拟机实现供应商的KEY
- VM_VERSION - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 虚拟机实现版本
- VM_VERSION - Static variable in class cn.hutool.system.SystemUtil
-
Java 虚拟机实现版本的KEY
- VoidFunc<P> - Interface in cn.hutool.core.lang.func
-
函数对象
接口灵感来自于
ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
- VoidFunc0 - Interface in cn.hutool.core.lang.func
-
函数对象
接口灵感来自于
ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
- VoidFunc1<P> - Interface in cn.hutool.core.lang.func
-
函数对象
接口灵感来自于
ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象