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

A

abort(Executor) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
AbsCollValueMap<K,V,C extends Collection<V>> - Class in cn.hutool.core.map.multi
值作为集合的Map实现,通过调用putValue可以在相同key时加入多个值,多个值用集合表示
AbsCollValueMap() - Constructor for class cn.hutool.core.map.multi.AbsCollValueMap
构造
AbsCollValueMap(int) - Constructor for class cn.hutool.core.map.multi.AbsCollValueMap
构造
AbsCollValueMap(Map<? extends K, C>) - Constructor for class cn.hutool.core.map.multi.AbsCollValueMap
构造
AbsCollValueMap(float, Map<? extends K, C>) - Constructor for class cn.hutool.core.map.multi.AbsCollValueMap
构造
AbsCollValueMap(int, float) - Constructor for class cn.hutool.core.map.multi.AbsCollValueMap
构造
AbsCopier<S,T> - Class in cn.hutool.core.bean.copier
抽象的对象拷贝封装,提供来源对象、目标对象持有
AbsCopier(S, T, CopyOptions) - Constructor for class cn.hutool.core.bean.copier.AbsCopier
 
AbsEntry<K,V> - Class in cn.hutool.core.map
抽象的Map.Entry实现,来自Guava
实现了默认的AbsEntry.equals(Object)AbsEntry.hashCode()AbsEntry.toString()方法。
默认AbsEntry.setValue(Object)抛出异常。
AbsEntry() - Constructor for class cn.hutool.core.map.AbsEntry
 
AbsSetting - Class in cn.hutool.setting
Setting抽象类
AbsSetting() - Constructor for class cn.hutool.setting.AbsSetting
 
AbsTable<R,C,V> - Class in cn.hutool.core.map.multi
AbsTable() - Constructor for class cn.hutool.core.map.multi.AbsTable
 
AbstractAnnotationSynthesizer<T> - Class in cn.hutool.core.annotation
AnnotationSynthesizer的基本实现
AbstractAnnotationSynthesizer(T, SynthesizedAnnotationSelector, Collection<SynthesizedAnnotationPostProcessor>, AnnotationScanner) - Constructor for class cn.hutool.core.annotation.AbstractAnnotationSynthesizer
构造一个注解合成器
AbstractAsymmetricCrypto<T extends AbstractAsymmetricCrypto<T>> - Class in cn.hutool.crypto.asymmetric
抽象的非对称加密对象,包装了加密和解密为Hex和Base64的封装
AbstractAsymmetricCrypto(String, PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
构造
AbstractCache<K,V> - Class in cn.hutool.cache.impl
超时和限制大小的缓存的默认实现
继承此抽象缓存需要:
创建一个新的Map 实现 prune 策略
AbstractCache() - Constructor for class cn.hutool.cache.impl.AbstractCache
 
AbstractCaptcha - Class in cn.hutool.captcha
抽象验证码
抽象验证码实现了验证码字符串的生成、验证,验证码图片的写出
实现类通过实现AbstractCaptcha.createImage(String) 方法生成图片对象
AbstractCaptcha(int, int, int, int) - Constructor for class cn.hutool.captcha.AbstractCaptcha
构造,使用随机验证码生成器生成验证码
AbstractCaptcha(int, int, CodeGenerator, int) - Constructor for class cn.hutool.captcha.AbstractCaptcha
构造
AbstractCaptcha(int, int, CodeGenerator, int, float) - Constructor for class cn.hutool.captcha.AbstractCaptcha
构造
AbstractConverter<T> - Class in cn.hutool.core.convert
抽象转换器,提供通用的转换逻辑,同时通过convertInternal实现对应类型的专属逻辑
转换器不会抛出转换异常,转换失败时会返回null
AbstractConverter() - Constructor for class cn.hutool.core.convert.AbstractConverter
 
AbstractDataSource - Class in cn.hutool.db.ds.simple
数据源抽象实现
AbstractDataSource() - Constructor for class cn.hutool.db.ds.simple.AbstractDataSource
 
AbstractDateBasic - Class in cn.hutool.core.date.format
 
AbstractDateBasic(String, TimeZone, Locale) - Constructor for class cn.hutool.core.date.format.AbstractDateBasic
构造,内部使用
AbstractDb - Class in cn.hutool.db
抽象数据库操作类
通过给定的数据源执行给定SQL或者给定数据源和方言,执行相应的CRUD操作
提供抽象方法getConnection和closeConnection,用于自定义数据库连接的打开和关闭
AbstractDb(DataSource, Dialect) - Constructor for class cn.hutool.db.AbstractDb
构造
AbstractDSFactory - Class in cn.hutool.db.ds
抽象数据源工厂
此工厂抽象类用于实现数据源的缓存,当用户多次调用AbstractDSFactory.getDataSource(String) 时,工厂只需创建一次即可。
数据源是与配置文件中的分组相关的,每个分组的数据源相互独立,也就是每个分组的数据源是单例存在的。
AbstractDSFactory(String, Class<? extends DataSource>, Setting) - Constructor for class cn.hutool.db.ds.AbstractDSFactory
构造
AbstractFileCache - Class in cn.hutool.cache.file
文件缓存,以解决频繁读取文件引起的性能问题
AbstractFileCache(int, int, long) - Constructor for class cn.hutool.cache.file.AbstractFileCache
构造
AbstractFilter - Class in cn.hutool.bloomfilter.filter
抽象Bloom过滤器
AbstractFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.AbstractFilter
构造
AbstractFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.AbstractFilter
构造32位
AbstractFtp - Class in cn.hutool.extra.ftp
抽象FTP类,用于定义通用的FTP方法
AbstractFtp(FtpConfig) - Constructor for class cn.hutool.extra.ftp.AbstractFtp
构造
AbstractGenerator - Class in cn.hutool.captcha.generator
随机字符验证码生成器
可以通过传入的基础集合和长度随机生成验证码字符
AbstractGenerator(int) - Constructor for class cn.hutool.captcha.generator.AbstractGenerator
构造,使用字母+数字做为基础
AbstractGenerator(String, int) - Constructor for class cn.hutool.captcha.generator.AbstractGenerator
构造
AbstractLinkAnnotationPostProcessor - Class in cn.hutool.core.annotation
SynthesizedAnnotationPostProcessor的基本实现, 用于处理注解中带有Link注解的属性。
AbstractLinkAnnotationPostProcessor() - Constructor for class cn.hutool.core.annotation.AbstractLinkAnnotationPostProcessor
 
AbstractLog - Class in cn.hutool.log
抽象日志类
实现了一些通用的接口
AbstractLog() - Constructor for class cn.hutool.log.AbstractLog
 
AbstractResult - Class in cn.hutool.extra.tokenizer
对于未实现Iterator接口的普通结果类,装饰为Result
普通的结果类只需实现AbstractResult.nextWord() 即可
AbstractResult() - Constructor for class cn.hutool.extra.tokenizer.AbstractResult
 
AbstractRowHandler<T> - Class in cn.hutool.poi.excel.sax.handler
抽象行数据处理器,通过实现AbstractRowHandler.handle(int, long, List) 处理原始数据
并调用AbstractRowHandler.handleData(int, long, Object)处理经过转换后的数据。
AbstractRowHandler(int, int) - Constructor for class cn.hutool.poi.excel.sax.handler.AbstractRowHandler
构造
AbstractSheetReader<T> - Class in cn.hutool.poi.excel.reader
抽象Sheet数据读取实现
AbstractSheetReader(int, int) - Constructor for class cn.hutool.poi.excel.reader.AbstractSheetReader
构造
AbstractTemplate - Class in cn.hutool.extra.template
抽象模板,提供将模板融合后写出到文件、返回字符串等方法
AbstractTemplate() - Constructor for class cn.hutool.extra.template.AbstractTemplate
 
AbstractTypeAnnotationScanner<T extends AbstractTypeAnnotationScanner<T>> - Class in cn.hutool.core.annotation.scanner
为需要从类的层级结构中获取注解的AnnotationScanner提供基本实现
AbstractTypeAnnotationScanner(boolean, boolean, Predicate<Class<?>>, Set<Class<?>>) - Constructor for class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
构造一个类注解扫描器
AbstractTypeAnnotationScanner.JdkProxyClassConverter - Class in cn.hutool.core.annotation.scanner
若类型为jdk代理类,则尝试转换为原始被代理类
AbstractWrappedAnnotationAttribute - Class in cn.hutool.core.annotation
AbstractWrappedAnnotationAttribute(AnnotationAttribute, AnnotationAttribute) - Constructor for class cn.hutool.core.annotation.AbstractWrappedAnnotationAttribute
 
accept(T, int) - Method in interface cn.hutool.core.collection.CollUtil.Consumer
接受并处理一个参数
accept(K, V, int) - Method in interface cn.hutool.core.collection.CollUtil.KVConsumer
接受并处理一对参数
accept(Class<?>...) - Method in class cn.hutool.core.io.ValidateObjectInputStream
接受反序列化的类,用于反序列化验证
accept(T) - Method in interface cn.hutool.core.lang.Filter
是否接受对象
accept(P1, P2, P3) - Method in interface cn.hutool.core.lang.func.Consumer3
接收参数方法
accept() - Method in class cn.hutool.socket.aio.AioServer
处理接入的客户端
accept(AioSession) - Method in interface cn.hutool.socket.aio.IoAction
接收客户端连接(会话建立)事件处理
accept(AioSession) - Method in class cn.hutool.socket.aio.SimpleIoAction
 
AcceptHandler - Class in cn.hutool.socket.aio
接入完成回调,单例使用
AcceptHandler() - Constructor for class cn.hutool.socket.aio.AcceptHandler
 
AcceptHandler - Class in cn.hutool.socket.nio
接入完成回调,单例使用
AcceptHandler() - Constructor for class cn.hutool.socket.nio.AcceptHandler
 
accessCount - Variable in class cn.hutool.cache.impl.CacheObj
访问次数
accumulate(String, Object) - Method in class cn.hutool.json.JSONObject
积累值。类似于set,当key对应value已经存在时,与value组成新的JSONArray.
accumulator() - Method in class cn.hutool.core.stream.SimpleCollector
 
act - Variable in class cn.hutool.core.img.gif.GifDecoder
 
Action - Interface in cn.hutool.http.server.action
请求处理接口
当用户请求某个Path,则调用相应Action的doAction方法
ActionHandler - Class in cn.hutool.http.server.handler
Action处理器,用于将HttpHandler转换为Action形式
ActionHandler(Action) - Constructor for class cn.hutool.http.server.handler.ActionHandler
构造
ActiveEntity - Class in cn.hutool.db
动态实体类
提供了针对自身实体的增删改方法
ActiveEntity() - Constructor for class cn.hutool.db.ActiveEntity
构造
ActiveEntity(String) - Constructor for class cn.hutool.db.ActiveEntity
构造
ActiveEntity(Entity) - Constructor for class cn.hutool.db.ActiveEntity
构造
ActiveEntity(Db, String) - Constructor for class cn.hutool.db.ActiveEntity
构造
ActiveEntity(Db, Entity) - Constructor for class cn.hutool.db.ActiveEntity
构造
ActualTypeMapperPool - Class in cn.hutool.core.lang.reflect
泛型变量和泛型实际类型映射关系缓存
ActualTypeMapperPool() - Constructor for class cn.hutool.core.lang.reflect.ActualTypeMapperPool
 
add(long) - Method in interface cn.hutool.bloomfilter.bitMap.BitMap
加入值
add(long) - Method in class cn.hutool.bloomfilter.bitMap.IntMap
 
add(long) - Method in class cn.hutool.bloomfilter.bitMap.LongMap
 
add(String) - Method in class cn.hutool.bloomfilter.BitMapBloomFilter
增加字符串到Filter映射中
add(String) - Method in class cn.hutool.bloomfilter.BitSetBloomFilter
 
add(String) - Method in interface cn.hutool.bloomfilter.BloomFilter
在boolean的bitMap中增加一个字符串
如果存在就返回false .如果不存在.先增加这个字符串.再返回true
add(String) - Method in class cn.hutool.bloomfilter.filter.AbstractFilter
 
add(E) - Method in class cn.hutool.core.collection.ConcurrentHashSet
 
add(V) - Method in class cn.hutool.core.collection.UniqueKeySet
 
add(boolean, FileFilter, File...) - Method in class cn.hutool.core.compress.ZipWriter
对文件或文件目录进行压缩
add(Resource...) - Method in class cn.hutool.core.compress.ZipWriter
添加资源到压缩包,添加后关闭资源流
add(String, InputStream) - Method in class cn.hutool.core.compress.ZipWriter
添加文件流到压缩包,添加后关闭输入文件流
如果输入流为null,则只创建空目录
add(String[], InputStream[]) - Method in class cn.hutool.core.compress.ZipWriter
对流中的数据加入到压缩文件
路径列表和流列表长度必须一致
add(Color, Color) - Static method in class cn.hutool.core.img.ColorUtil
叠加颜色
add(File...) - Method in class cn.hutool.core.io.resource.MultiFileResource
增加文件资源
add(Collection<File>) - Method in class cn.hutool.core.io.resource.MultiFileResource
增加文件资源
add(Resource) - Method in class cn.hutool.core.io.resource.MultiFileResource
 
add(Resource) - Method in class cn.hutool.core.io.resource.MultiResource
增加资源
add(T) - Method in class cn.hutool.core.lang.ConsistentHash
增加节点
每增加一个节点,就会在闭环上增加给定复制节点数
例如复制节点数是2,则每调用此方法一次,增加两个虚拟节点,这两个节点指向同一Node 由于hash算法会调用node的toString方法,故按照toString去重
add(byte) - Method in class cn.hutool.core.lang.mutable.MutableByte
增加值
add(Number) - Method in class cn.hutool.core.lang.mutable.MutableByte
增加值
add(double) - Method in class cn.hutool.core.lang.mutable.MutableDouble
增加值
add(Number) - Method in class cn.hutool.core.lang.mutable.MutableDouble
增加值
add(float) - Method in class cn.hutool.core.lang.mutable.MutableFloat
增加值
add(Number) - Method in class cn.hutool.core.lang.mutable.MutableFloat
增加值
add(int) - Method in class cn.hutool.core.lang.mutable.MutableInt
增加值
add(Number) - Method in class cn.hutool.core.lang.mutable.MutableInt
增加值
add(long) - Method in class cn.hutool.core.lang.mutable.MutableLong
增加值
add(Number) - Method in class cn.hutool.core.lang.mutable.MutableLong
增加值
add(short) - Method in class cn.hutool.core.lang.mutable.MutableShort
增加值
add(Number) - Method in class cn.hutool.core.lang.mutable.MutableShort
增加值
add(T, double) - Method in class cn.hutool.core.lang.WeightRandom
增加对象
add(WeightRandom.WeightObj<T>) - Method in class cn.hutool.core.lang.WeightRandom
增加对象权重
add(int, int) - Static method in class cn.hutool.core.math.BitStatusUtil
增加状态
add(Money) - Method in class cn.hutool.core.math.Money
货币加法。
add(CharSequence) - Method in class cn.hutool.core.net.url.UrlPath
添加到path最后面
add(CharSequence, Object) - Method in class cn.hutool.core.net.url.UrlQuery
增加键值对
add(String) - Method in class cn.hutool.core.text.csv.CsvRow
 
add(int, String) - Method in class cn.hutool.core.text.csv.CsvRow
 
add(float, float) - Static method in class cn.hutool.core.util.NumberUtil
提供精确的加法运算
add(float, double) - Static method in class cn.hutool.core.util.NumberUtil
提供精确的加法运算
add(double, float) - Static method in class cn.hutool.core.util.NumberUtil
提供精确的加法运算
add(double, double) - Static method in class cn.hutool.core.util.NumberUtil
提供精确的加法运算
add(Double, Double) - Static method in class cn.hutool.core.util.NumberUtil
提供精确的加法运算
add(Number, Number) - Static method in class cn.hutool.core.util.NumberUtil
提供精确的加法运算
如果传入多个值为null或者空,则返回0
add(Number...) - Static method in class cn.hutool.core.util.NumberUtil
提供精确的加法运算
如果传入多个值为null或者空,则返回0
add(String...) - Static method in class cn.hutool.core.util.NumberUtil
提供精确的加法运算
如果传入多个值为null或者空,则返回0
add(BigDecimal...) - Static method in class cn.hutool.core.util.NumberUtil
提供精确的加法运算
如果传入多个值为null或者空,则返回0
add(String, CronPattern, Task) - Method in class cn.hutool.cron.TaskTable
新增Task
add() - Method in class cn.hutool.db.ActiveEntity
根据Entity中现有字段条件从数据库中增加一条数据
add(Entity) - Method in class cn.hutool.db.DaoTemplate
添加
add(File) - Method in interface cn.hutool.extra.compress.archiver.Archiver
将文件或目录加入归档,目录采取递归读取方式按照层级加入
add(File, Filter<File>) - Method in interface cn.hutool.extra.compress.archiver.Archiver
将文件或目录加入归档,目录采取递归读取方式按照层级加入
add(File, String, Filter<File>) - Method in interface cn.hutool.extra.compress.archiver.Archiver
将文件或目录加入归档包,目录采取递归读取方式按照层级加入
add(File, String, Filter<File>) - Method in class cn.hutool.extra.compress.archiver.SevenZArchiver
 
add(File, String, Filter<File>) - Method in class cn.hutool.extra.compress.archiver.StreamArchiver
将文件或目录加入归档包,目录采取递归读取方式按照层级加入
add(HttpConnection) - Static method in class cn.hutool.http.cookie.GlobalCookieManager
将本地存储的Cookie信息附带到Http请求中,不覆盖用户定义好的Cookie
add(URI, HttpCookie) - Method in class cn.hutool.http.cookie.ThreadLocalCookieStore
 
add(Object) - Method in class cn.hutool.json.JSONArray
 
add(int, Object) - Method in class cn.hutool.json.JSONArray
 
add(Div) - Method in class cn.hutool.poi.ofd.OfdWriter
增加节点
add(int, Annotation) - Method in class cn.hutool.poi.ofd.OfdWriter
增加注释,比如水印等
addAction(String, Action) - Method in class cn.hutool.http.server.SimpleServer
增加请求处理规则
addAll(E[]) - Method in class cn.hutool.core.collection.BoundedPriorityQueue
添加多个元素
参数为集合的情况请使用AbstractQueue.addAll(java.util.Collection<? extends E>)
addAll(Collection<T>, Object) - Static method in class cn.hutool.core.collection.CollUtil
将指定对象全部加入到集合中
提供的对象如果为集合类型,会自动转换为目标元素类型
addAll(Collection<T>, Object, Type) - Static method in class cn.hutool.core.collection.CollUtil
将指定对象全部加入到集合中
提供的对象如果为集合类型,会自动转换为目标元素类型
如果为String,支持类似于[1,2,3,4] 或者 1,2,3,4 这种格式
addAll(Collection<T>, Iterator<T>) - Static method in class cn.hutool.core.collection.CollUtil
加入全部
addAll(Collection<T>, Iterable<T>) - Static method in class cn.hutool.core.collection.CollUtil
加入全部
addAll(Collection<T>, Enumeration<T>) - Static method in class cn.hutool.core.collection.CollUtil
加入全部
addAll(Collection<T>, T[]) - Static method in class cn.hutool.core.collection.CollUtil
加入全部
addAll(Map<? extends CharSequence, ?>) - Method in class cn.hutool.core.net.url.UrlQuery
批量增加键值对
addAll(Collection<? extends String>) - Method in class cn.hutool.core.text.csv.CsvRow
 
addAll(int, Collection<? extends String>) - Method in class cn.hutool.core.text.csv.CsvRow
 
addAll(T[]...) - Static method in class cn.hutool.core.util.ArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(byte[]...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(int[]...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(long[]...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(double[]...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(float[]...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(char[]...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(boolean[]...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(short[]...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(Collection<?>) - Method in class cn.hutool.json.JSONArray
 
addAll(int, Collection<?>) - Method in class cn.hutool.json.JSONArray
 
addAllIfAbsent(Collection<? extends V>) - Method in class cn.hutool.core.collection.UniqueKeySet
加入集合中所有的值,如果值已经存在,则忽略之
addAllIfNotContains(List<T>, List<T>) - Static method in class cn.hutool.core.collection.CollUtil
将另一个列表中的元素加入到列表中,如果列表中已经存在此元素则忽略之
addAnonymous(String) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
添加匿名用户
addBatch(String) - Method in class cn.hutool.db.sql.StatementWrapper
 
addBatch() - Method in class cn.hutool.db.sql.StatementWrapper
 
addBefore(CharSequence) - Method in class cn.hutool.core.net.url.UrlPath
添加到path最前面
addBody(String...) - Method in class cn.hutool.core.lang.ConsoleTable
添加体信息
addChain(Iterator<T>) - Method in class cn.hutool.core.collection.IterChain
 
addChain(Comparator<E>) - Method in class cn.hutool.core.comparator.ComparatorChain
 
addChain(Watcher) - Method in class cn.hutool.core.io.watch.watchers.WatcherChain
 
addChain(E) - Method in interface cn.hutool.core.lang.Chain
加入责任链
addChain(StrReplacer) - Method in class cn.hutool.core.text.replacer.ReplacerChain
 
addChain(HttpInterceptor<T>) - Method in class cn.hutool.http.HttpInterceptor.Chain
 
addChildren(Tree<T>...) - Method in class cn.hutool.core.lang.tree.Tree
增加子节点,同时关联子节点的父节点为当前节点
addComparator(Comparator<E>) - Method in class cn.hutool.core.comparator.ComparatorChain
在链的尾部添加比较器,使用正向排序
addComparator(Comparator<E>, boolean) - Method in class cn.hutool.core.comparator.ComparatorChain
在链的尾部添加比较器,使用给定排序方式
addConditions(Condition...) - Method in class cn.hutool.db.sql.ConditionGroup
追加条件
addConnProps(String, String) - Method in class cn.hutool.db.ds.pooled.DbConfig
 
addConnProps(String, String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
 
addConverters(UnaryOperator<Class<?>>) - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
添加转换器
addCookie(HttpServletResponse, Cookie) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
设定返回给客户端的Cookie
addCookie(HttpServletResponse, String, String) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
设定返回给客户端的Cookie
addCookie(HttpServletResponse, String, String, int, String, String) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
设定返回给客户端的Cookie
addCookie(HttpServletResponse, String, String, int) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
设定返回给客户端的Cookie
Path: "/"
No Domain
addCookie(HttpServletResponse, Cookie) - Static method in class cn.hutool.extra.servlet.ServletUtil
设定返回给客户端的Cookie
addCookie(HttpServletResponse, String, String) - Static method in class cn.hutool.extra.servlet.ServletUtil
设定返回给客户端的Cookie
addCookie(HttpServletResponse, String, String, int, String, String) - Static method in class cn.hutool.extra.servlet.ServletUtil
设定返回给客户端的Cookie
addCookie(HttpServletResponse, String, String, int) - Static method in class cn.hutool.extra.servlet.ServletUtil
设定返回给客户端的Cookie
Path: "/"
No Domain
addCustomBrowser(String, String, String) - Static method in class cn.hutool.http.useragent.Browser
添加自定义的浏览器类型
addCustomOs(String, String, String) - Static method in class cn.hutool.http.useragent.OS
添加自定义的系统类型
addErrorMessage(BeanValidationResult.ErrorMessage) - Method in class cn.hutool.extra.validation.BeanValidationResult
增加错误信息
addExcludeTypes(Class<?>...) - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
添加不扫描的类型,该类型及其树结构将直接不被查找
addFieldNames(String...) - Method in class cn.hutool.db.ActiveEntity
 
addFieldNames(String...) - Method in class cn.hutool.db.Entity
添加字段列表
addFilter(Filter) - Method in class cn.hutool.http.server.SimpleServer
addFilter(HttpFilter) - Method in class cn.hutool.http.server.SimpleServer
addForGeneratedKey(Entity) - Method in class cn.hutool.db.DaoTemplate
添加
addForGeneratedKeys(Entity) - Method in class cn.hutool.db.DaoTemplate
添加
addFrame(BufferedImage) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
Adds next GIF frame.
addFtplet(String, Ftplet) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
增加FTP动作行为监听处理器,通过实现Ftplet,可以对用户的行为监听并执行相应动作
addHandler(String, HttpHandler) - Method in class cn.hutool.http.server.SimpleServer
增加请求处理规则
addHeader(String...) - Method in class cn.hutool.core.lang.ConsoleTable
添加头信息
addHeader(String, String) - Method in class cn.hutool.http.server.HttpServerResponse
添加响应头,如果已经存在,则追加
addHeaderAlias(String, String) - Method in class cn.hutool.core.text.csv.CsvConfig
增加标题别名
addHeaderAlias(String, String) - Method in class cn.hutool.poi.excel.ExcelBase
增加标题别名
addHeaderAlias(String, String) - Method in class cn.hutool.poi.excel.ExcelWriter
 
addHeaderAlias(String, String) - Method in class cn.hutool.poi.excel.reader.AbstractSheetReader
增加标题别名
addHeaderAlias(String, String) - Method in class cn.hutool.poi.excel.reader.BeanSheetReader
增加标题别名
addHeaders(Map<String, String>) - Method in class cn.hutool.http.HttpBase
新增请求头
不覆盖原有请求头
addHeaders(Map<String, ?>) - Method in class cn.hutool.jwt.JWT
增加JWT头信息
addHeaders(Map<String, ?>) - Method in class cn.hutool.jwt.JWTHeader
增加自定义JWT认证头
addIfAbsent(Collection<T>, S) - Static method in class cn.hutool.core.collection.CollUtil
一个对象不为空且不存在于该集合中时,加入到该集合中
addIfAbsent(V) - Method in class cn.hutool.core.collection.UniqueKeySet
加入值,如果值已经存在,则忽略之
addIgnoredErrors(CellRangeAddress, IgnoredErrorType...) - Method in class cn.hutool.poi.excel.ExcelWriter
设置忽略错误,即Excel中的绿色警告小标,只支持XSSFSheet
见:https://stackoverflow.com/questions/23488221/how-to-remove-warning-in-excel-using-apache-poi-in-java
addImage(String, InputStream) - Method in class cn.hutool.extra.mail.Mail
增加图片,图片的键对应到邮件模板中的占位字符串,图片类型默认为"image/jpeg"
addImage(String, InputStream, String) - Method in class cn.hutool.extra.mail.Mail
增加图片,图片的键对应到邮件模板中的占位字符串
addImage(String, File) - Method in class cn.hutool.extra.mail.Mail
增加图片,图片的键对应到邮件模板中的占位字符串
addInterceptor(HttpInterceptor<HttpRequest>) - Method in class cn.hutool.http.HttpRequest
设置拦截器,用于在请求前重新编辑请求
additiveHash(String, int) - Static method in class cn.hutool.core.util.HashUtil
加法hash
addJar(File) - Method in class cn.hutool.core.lang.JarClassLoader
加载Jar文件,或者加载目录
addLibrary(File...) - Method in class cn.hutool.core.compiler.JavaSourceCompiler
加入编译Java源码时所需要的jar包,jar包中必须为字节码
addListener(ClipboardListener) - Method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
设置 监听事件处理
addListener(TaskListener) - Method in class cn.hutool.cron.listener.TaskListenerManager
增加监听器
addListener(TaskListener) - Method in class cn.hutool.cron.Scheduler
增加监听器
addOrder(Order...) - Method in class cn.hutool.db.Page
设置排序
addOrUpdate(Entity) - Method in class cn.hutool.db.DaoTemplate
增加或者更新实体
addParams(Object...) - Method in class cn.hutool.db.sql.SqlBuilder
手动增加参数,调用此方法前需确认SQL中有对应占位符,主要用于自定义SQL片段中有占位符的情况,例如:
addPath(CharSequence) - Method in class cn.hutool.core.net.url.UrlBuilder
增加路径,在现有路径基础上追加路径
addPathSegment(CharSequence) - Method in class cn.hutool.core.net.url.UrlBuilder
增加路径节点,路径节点中的"/"会被转义为"%2F"
addPayloads(Map<String, ?>) - Method in class cn.hutool.jwt.JWT
增加JWT载荷信息
addPayloads(Map<String, ?>) - Method in class cn.hutool.jwt.JWTPayload
增加自定义JWT认证载荷信息
addPicture(File, int, int) - Method in class cn.hutool.poi.ofd.OfdWriter
追加图片
addPicture(Path, int, int) - Method in class cn.hutool.poi.ofd.OfdWriter
追加图片
addPicture(File, int, int) - Method in class cn.hutool.poi.word.Word07Writer
增加图片,单独成段落
addPicture(InputStream, PicType, String, int, int) - Method in class cn.hutool.poi.word.Word07Writer
增加图片,单独成段落,增加后图片流关闭,默认居中对齐
addPicture(InputStream, PicType, String, int, int, ParagraphAlignment) - Method in class cn.hutool.poi.word.Word07Writer
增加图片,单独成段落,增加后图片流关闭
addPk(String) - Method in class cn.hutool.db.meta.Table
添加主键
addPrefixIfNot(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
如果给定字符串不是以prefix开头的,在开头补充 prefix
addProvider(Provider) - Static method in class cn.hutool.crypto.SecureUtil
增加加密解密的算法提供者,默认优先使用,例如:
addQuery(String, Object) - Method in class cn.hutool.core.net.url.UrlBuilder
添加查询项,支持重复键
addRaw(Object, Filter<Mutable<Object>>) - Method in class cn.hutool.json.JSONArray
原始添加,添加的对象不做任何处理
addRepeatWorker(Runnable) - Method in class cn.hutool.core.thread.SyncFinisher
增加定义的线程数同等数量的worker
addRequestInterceptor(HttpInterceptor<HttpRequest>) - Method in enum cn.hutool.http.GlobalInterceptor
设置拦截器,用于在请求前重新编辑请求
addRequestInterceptor(HttpInterceptor<HttpRequest>) - Method in class cn.hutool.http.HttpConfig
设置拦截器,用于在请求前重新编辑请求
addRequestInterceptor(HttpInterceptor<HttpRequest>) - Method in class cn.hutool.http.HttpRequest
设置拦截器,用于在请求前重新编辑请求
addResource(T) - Method in class cn.hutool.core.lang.ResourceClassLoader
增加需要加载的类资源
addResponseInterceptor(HttpInterceptor<HttpResponse>) - Method in enum cn.hutool.http.GlobalInterceptor
设置拦截器,用于在响应读取后完成编辑或读取
addResponseInterceptor(HttpInterceptor<HttpResponse>) - Method in class cn.hutool.http.HttpConfig
设置拦截器,用于在请求前重新编辑请求
addResponseInterceptor(HttpInterceptor<HttpResponse>) - Method in class cn.hutool.http.HttpRequest
设置拦截器,用于在请求前重新编辑请求
address(String, int) - Static method in class cn.hutool.core.util.DesensitizedUtil
【地址】只显示到地区,不显示详细地址,比如:北京市海淀区****
addSafe(char) - Method in class cn.hutool.core.codec.PercentCodec
增加安全字符
安全字符不被编码
addSafeCharacter(char) - Method in class cn.hutool.core.net.URLEncoder
Deprecated.
增加安全字符
安全字符不被编码
addSelect(int, int, String...) - Method in class cn.hutool.poi.excel.ExcelWriter
增加下拉列表
addSelect(CellRangeAddressList, String...) - Method in class cn.hutool.poi.excel.ExcelWriter
增加下拉列表
addSetting(Setting) - Method in class cn.hutool.setting.Setting
添加一个Stting到主配置中
addShutdownHook(Runnable) - Static method in class cn.hutool.core.util.RuntimeUtil
增加一个JVM关闭后的钩子,用于在JVM关闭时执行某些操作
addSOAPHeader(QName, String, String, Boolean, Boolean) - Method in class cn.hutool.http.webservice.SoapClient
增加SOAP头信息,方法返回SOAPHeaderElement可以设置具体属性和子节点
addSOAPHeader(String) - Method in class cn.hutool.http.webservice.SoapClient
增加SOAP头信息,方法返回SOAPHeaderElement可以设置具体属性和子节点
addSOAPHeader(String, String) - Method in class cn.hutool.http.webservice.SoapClient
增加SOAP头信息,方法返回SOAPHeaderElement可以设置具体属性和子节点
addSOAPHeader(QName) - Method in class cn.hutool.http.webservice.SoapClient
增加SOAP头信息,方法返回SOAPHeaderElement可以设置具体属性和子节点
addSource(Resource...) - Method in class cn.hutool.core.compiler.JavaSourceCompiler
向编译器中加入待编译的资源
支持 .java, 文件夹, 压缩文件 递归搜索文件夹内的压缩文件和jar包
addSource(File...) - Method in class cn.hutool.core.compiler.JavaSourceCompiler
向编译器中加入待编译的文件
支持 .java, 文件夹, 压缩文件 递归搜索文件夹内的压缩文件和jar包
addSource(Map<String, String>) - Method in class cn.hutool.core.compiler.JavaSourceCompiler
向编译器中加入待编译的源码Map
addSource(String, String) - Method in class cn.hutool.core.compiler.JavaSourceCompiler
向编译器中加入待编译的源码
addSuffixIfNot(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
如果给定字符串不是以suffix结尾的,在尾部补充 suffix
addTable(Iterable<?>) - Method in class cn.hutool.poi.word.Word07Writer
增加表格数据
addTask(TimerTask) - Method in class cn.hutool.cron.timingwheel.SystemTimer
添加任务
addTask(TimerTask) - Method in class cn.hutool.cron.timingwheel.TimerTaskList
新增任务,将任务加入到双向链表的头部
addTask(TimerTask) - Method in class cn.hutool.cron.timingwheel.TimingWheel
添加任务到时间轮
addText(Font, String...) - Method in class cn.hutool.poi.ofd.OfdWriter
增加文本内容
addText(Font, String...) - Method in class cn.hutool.poi.word.Word07Writer
增加一个段落
addText(ParagraphAlignment, Font, String...) - Method in class cn.hutool.poi.word.Word07Writer
增加一个段落
addTo(Money) - Method in class cn.hutool.core.math.Money
货币累加。
addURL(URL) - Method in class cn.hutool.core.lang.JarClassLoader
 
addURL(File) - Method in class cn.hutool.core.lang.JarClassLoader
增加class所在目录或文件
如果为目录,此目录用于搜索class文件,如果为文件,需为jar文件
addUser(User) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
增加FTP用户
addValidationData(DataValidation) - Method in class cn.hutool.poi.excel.ExcelWriter
增加单元格控制,比如下拉列表、日期验证、数字范围验证等
addWord(String) - Method in class cn.hutool.dfa.WordTree
添加单词,使用默认类型
addWords(Collection<String>) - Method in class cn.hutool.dfa.WordTree
增加一组单词
addWords(String...) - Method in class cn.hutool.dfa.WordTree
增加一组单词
addWorker(Runnable) - Method in class cn.hutool.core.thread.SyncFinisher
增加工作线程
addWorker(SyncFinisher.Worker) - Method in class cn.hutool.core.thread.SyncFinisher
增加工作线程
advanceClock(long) - Method in class cn.hutool.cron.timingwheel.TimingWheel
推进时间
aes() - Static method in class cn.hutool.crypto.SecureUtil
AES加密,生成随机KEY。注意解密时必须使用相同 AES对象或者使用相同KEY
例:
aes(byte[]) - Static method in class cn.hutool.crypto.SecureUtil
AES加密
例:
AES - Class in cn.hutool.crypto.symmetric
AES加密算法实现
高级加密标准(英语:Advanced Encryption Standard,缩写:AES),在密码学中又称Rijndael加密法
对于Java中AES的默认模式是:AES/ECB/PKCS5Padding,如果使用CryptoJS,请调整为:padding: CryptoJS.pad.Pkcs7
AES() - Constructor for class cn.hutool.crypto.symmetric.AES
构造,默认AES/ECB/PKCS5Padding,使用随机密钥
AES(byte[]) - Constructor for class cn.hutool.crypto.symmetric.AES
构造,使用默认的AES/ECB/PKCS5Padding
AES(SecretKey) - Constructor for class cn.hutool.crypto.symmetric.AES
构造,使用默认的AES/ECB/PKCS5Padding
AES(Mode, Padding) - Constructor for class cn.hutool.crypto.symmetric.AES
构造,使用随机密钥
AES(Mode, Padding, byte[]) - Constructor for class cn.hutool.crypto.symmetric.AES
构造
AES(Mode, Padding, byte[], byte[]) - Constructor for class cn.hutool.crypto.symmetric.AES
构造
AES(Mode, Padding, SecretKey) - Constructor for class cn.hutool.crypto.symmetric.AES
构造
AES(Mode, Padding, SecretKey, byte[]) - Constructor for class cn.hutool.crypto.symmetric.AES
构造
AES(Mode, Padding, SecretKey, AlgorithmParameterSpec) - Constructor for class cn.hutool.crypto.symmetric.AES
构造
AES(String, String) - Constructor for class cn.hutool.crypto.symmetric.AES
构造
AES(String, String, byte[]) - Constructor for class cn.hutool.crypto.symmetric.AES
构造
AES(String, String, byte[], byte[]) - Constructor for class cn.hutool.crypto.symmetric.AES
构造
AES(String, String, SecretKey) - Constructor for class cn.hutool.crypto.symmetric.AES
构造
AES(String, String, SecretKey, AlgorithmParameterSpec) - Constructor for class cn.hutool.crypto.symmetric.AES
构造
after(Object, Method, Object[], Object) - Method in interface cn.hutool.aop.aspects.Aspect
目标方法执行后的操作
如果 target.method 抛出异常且 Aspect.afterException(java.lang.Object, java.lang.reflect.Method, java.lang.Object[], java.lang.Throwable) 返回true,则不会执行此操作
如果 Aspect.afterException(java.lang.Object, java.lang.reflect.Method, java.lang.Object[], java.lang.Throwable) 返回false,则无论target.method是否抛出异常,均会执行此操作
after(Object, Method, Object[], Object) - Method in class cn.hutool.aop.aspects.SimpleAspect
 
after(Object, Method, Object[], Object) - Method in class cn.hutool.aop.aspects.TimeIntervalAspect
 
afterException(Object, Method, Object[], Throwable) - Method in interface cn.hutool.aop.aspects.Aspect
目标方法抛出异常时的操作
afterException(Object, Method, Object[], Throwable) - Method in class cn.hutool.aop.aspects.SimpleAspect
 
afterException(HttpServerRequest, HttpServerResponse, Throwable) - Method in class cn.hutool.http.server.filter.DefaultExceptionFilter
 
afterException(HttpServerRequest, HttpServerResponse, Throwable) - Method in class cn.hutool.http.server.filter.ExceptionFilter
异常之后的处理逻辑
age(Calendar, Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
计算相对于dateToCompare的年龄,长用于计算指定生日在某年的年龄
age(long, long) - Static method in class cn.hutool.core.date.CalendarUtil
计算相对于dateToCompare的年龄,常用于计算指定生日在某年的年龄
按照《最高人民法院关于审理未成年人刑事案件具体应用法律若干问题的解释》第二条规定刑法第十七条规定的“周岁”,按照公历的年、月、日计算,从周岁生日的第二天起算。 2022-03-01出生,则相对2023-03-01,周岁为0,相对于2023-03-02才是1岁。 1999-02-28出生,则相对2000-02-29,周岁为1
age(Date, Date) - Static method in class cn.hutool.core.date.DateUtil
计算相对于dateToCompare的年龄,常用于计算指定生日在某年的年龄
ageOfNow(String) - Static method in class cn.hutool.core.date.DateUtil
生日转为年龄,计算法定年龄
ageOfNow(Date) - Static method in class cn.hutool.core.date.DateUtil
生日转为年龄,计算法定年龄
AggregateAnnotation - Interface in cn.hutool.core.annotation
表示一组被聚合在一起的注解对象
aggregatingFromAnnotation(Annotation...) - Static method in class cn.hutool.core.annotation.AnnotationUtil
对指定注解对象进行聚合
aggregatingFromAnnotationWithMeta(Annotation...) - Static method in class cn.hutool.core.annotation.AnnotationUtil
对指定注解对象及其元注解进行聚合
AioClient - Class in cn.hutool.socket.aio
Aio Socket客户端
AioClient(InetSocketAddress, IoAction<ByteBuffer>) - Constructor for class cn.hutool.socket.aio.AioClient
构造
AioClient(InetSocketAddress, IoAction<ByteBuffer>, SocketConfig) - Constructor for class cn.hutool.socket.aio.AioClient
构造
AioClient(AsynchronousSocketChannel, IoAction<ByteBuffer>, SocketConfig) - Constructor for class cn.hutool.socket.aio.AioClient
构造
AioServer - Class in cn.hutool.socket.aio
基于AIO的Socket服务端实现
AioServer(int) - Constructor for class cn.hutool.socket.aio.AioServer
构造
AioServer(InetSocketAddress, SocketConfig) - Constructor for class cn.hutool.socket.aio.AioServer
构造
AioSession - Class in cn.hutool.socket.aio
AIO会话
每个客户端对应一个会话对象
AioSession(AsynchronousSocketChannel, IoAction<ByteBuffer>, SocketConfig) - Constructor for class cn.hutool.socket.aio.AioSession
构造
algorithm - Variable in class cn.hutool.crypto.asymmetric.BaseAsymmetric
算法
ALGORITHM - Static variable in class cn.hutool.jwt.JWTHeader
加密算法,通常为HMAC SHA256(HS256)
ALGORITHM_NAME - Static variable in class cn.hutool.crypto.digest.SM3
 
ALGORITHM_NAME - Static variable in class cn.hutool.crypto.symmetric.ChaCha20
 
ALGORITHM_NAME - Static variable in class cn.hutool.crypto.symmetric.SM4
 
AlgorithmUtil - Class in cn.hutool.jwt.signers
算法工具类,算法和JWT算法ID对应表
AlgorithmUtil() - Constructor for class cn.hutool.jwt.signers.AlgorithmUtil
 
Alias - Annotation Type in cn.hutool.core.annotation
别名注解,使用此注解的字段、方法、参数等会有一个别名,用于Bean拷贝、Bean转Map等
ALIAS_ANNOTATION_POST_PROCESSOR - Static variable in interface cn.hutool.core.annotation.SynthesizedAnnotationPostProcessor
属性上带有Alias的注解对象的后置处理器
ALIAS_LINK_ANNOTATION_POST_PROCESSOR - Static variable in interface cn.hutool.core.annotation.SynthesizedAnnotationPostProcessor
属性上带有Link,且与其他注解的属性存在别名关系的注解对象的后置处理器
AliasAnnotationPostProcessor - Class in cn.hutool.core.annotation
用于处理注解对象中带有Alias注解的属性。
当该处理器执行完毕后,Alias注解指向的目标注解的属性将会被包装并替换为 ForceAliasedAnnotationAttribute
AliasAnnotationPostProcessor() - Constructor for class cn.hutool.core.annotation.AliasAnnotationPostProcessor
 
AliasedAnnotationAttribute - Class in cn.hutool.core.annotation
表示一个具有别名的属性。 当别名属性值为默认值时,优先返回原属性的值,当别名属性不为默认值时,优先返回别名属性的值
AliasedAnnotationAttribute(AnnotationAttribute, AnnotationAttribute) - Constructor for class cn.hutool.core.annotation.AliasedAnnotationAttribute
 
AliasFor - Annotation Type in cn.hutool.core.annotation
Link的子注解。表示“原始属性”将作为“关联属性”的别名。 当“原始属性”为默认值时,获取“关联属性”将返回“关联属性”本身的值; 当“原始属性”不为默认值时,获取“关联属性”将返回“原始属性”的值; 注意,该注解与LinkForceAliasForMirrorFor一起使用时,将只有被声明在最上面的注解会生效
aliasHeader(List<Object>) - Method in class cn.hutool.poi.excel.reader.AbstractSheetReader
转换标题别名,如果没有别名则使用原标题,当标题为空时,列号对应的字母便是header
aliasHeader(Object, int) - Method in class cn.hutool.poi.excel.reader.AbstractSheetReader
转换标题别名,如果没有别名则使用原标题,当标题为空时,列号对应的字母便是header
AliasLinkAnnotationPostProcessor - Class in cn.hutool.core.annotation
用于处理注解对象中带有Link注解,且Link.type()RelationType.ALIAS_FORRelationType.FORCE_ALIAS_FOR的属性。
当该处理器执行完毕后,Link注解指向的目标注解的属性将会被包装并替换为 AliasedAnnotationAttributeForceAliasedAnnotationAttribute
AliasLinkAnnotationPostProcessor() - Constructor for class cn.hutool.core.annotation.AliasLinkAnnotationPostProcessor
 
Align - Enum in cn.hutool.poi.excel.style
对齐方式枚举
ALL - Static variable in enum cn.hutool.core.io.watch.WatchKind
全部事件
ALL - Static variable in class cn.hutool.core.net.FormUrlencoded
query中的value,默认除"-", "_", ".", "*"外都编码
这个类似于JDK提供的URLEncoder
ALL - Static variable in class cn.hutool.core.net.URLEncoder
Deprecated.
全编码的URLEncoder
allIterators - Variable in class cn.hutool.core.collection.IterChain
 
allMatch(Collection<T>, Predicate<T>) - Static method in class cn.hutool.core.collection.CollUtil
是否全部匹配判断条件
allocate(int) - Method in class cn.hutool.core.math.Money
货币分配。
allocate(long[]) - Method in class cn.hutool.core.math.Money
货币分配。
allowPatch() - Static method in class cn.hutool.http.HttpGlobalConfig
增加支持的METHOD方法
此方法通过注入方式修改HttpURLConnection中的methods静态属性,增加PATCH方法
see: https://stackoverflow.com/questions/25163131/httpurlconnection-invalid-http-method-patch
ALPHABIASSHIFT - Static variable in class cn.hutool.core.img.gif.NeuQuant
 
alphadec - Variable in class cn.hutool.core.img.gif.NeuQuant
 
ALPHARADBIAS - Static variable in class cn.hutool.core.img.gif.NeuQuant
 
ALPHARADBSHIFT - Static variable in class cn.hutool.core.img.gif.NeuQuant
 
alterneigh(int, int, int, int, int) - Method in class cn.hutool.core.img.gif.NeuQuant
 
altersingle(int, int, int, int, int) - Method in class cn.hutool.core.img.gif.NeuQuant
 
alwaysDelimitText - Variable in class cn.hutool.core.text.csv.CsvWriteConfig
是否始终使用文本分隔符,文本包装符,默认false,按需添加
AlwaysTrueMatcher - Class in cn.hutool.cron.pattern.matcher
所有值匹配,始终返回true
AlwaysTrueMatcher() - Constructor for class cn.hutool.cron.pattern.matcher.AlwaysTrueMatcher
 
AMP - Static variable in interface cn.hutool.core.text.CharPool
字符常量:与 '&'
AMP - Static variable in class cn.hutool.core.util.XmlUtil
字符串常量:XML And 符转义 "&amp;" -> "&"
AMP - Static variable in class cn.hutool.http.HtmlUtil
 
AMP - Static variable in class cn.hutool.json.XML
The Character '&'.
AnalysisEngine - Class in cn.hutool.extra.tokenizer.engine.analysis
Lucene-analysis分词抽象封装
项目地址:https://github.com/apache/lucene-solr/tree/master/lucene/analysis
AnalysisEngine(Analyzer) - Constructor for class cn.hutool.extra.tokenizer.engine.analysis.AnalysisEngine
构造
AnalysisResult - Class in cn.hutool.extra.tokenizer.engine.analysis
Lucene-analysis分词抽象结果封装
项目地址:https://github.com/apache/lucene-solr/tree/master/lucene/analysis
AnalysisResult(TokenStream) - Constructor for class cn.hutool.extra.tokenizer.engine.analysis.AnalysisResult
构造
AnalysisWord - Class in cn.hutool.extra.tokenizer.engine.analysis
Lucene-analysis分词中的一个单词包装
AnalysisWord(CharTermAttribute) - Constructor for class cn.hutool.extra.tokenizer.engine.analysis.AnalysisWord
构造
analyzePixels() - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
Analyzes image colors and creates color map.
and(boolean...) - Static method in class cn.hutool.core.util.BooleanUtil
对Boolean数组取与
andOfWrap(Boolean...) - Static method in class cn.hutool.core.util.BooleanUtil
对Boolean数组取与
ANDROID - Static variable in class cn.hutool.http.useragent.Platform
android
AndroidSupportSSLFactory - Class in cn.hutool.http.ssl
兼容android低版本SSL连接
在测试HttpUrlConnection的时候,发现一部分手机无法连接[GithubPage]
AndroidSupportSSLFactory() - Constructor for class cn.hutool.http.ssl.AndroidSupportSSLFactory
 
AnimatedGifEncoder - Class in cn.hutool.core.img.gif
动态GIF动画生成器,可生成一个或多个帧的GIF。
AnimatedGifEncoder() - Constructor for class cn.hutool.core.img.gif.AnimatedGifEncoder
 
AnnotationAttribute - Interface in cn.hutool.core.annotation
表示注解的某个属性,等同于绑定的调用对象的Method方法。
SynthesizedAggregateAnnotation的解析以及取值过程中, 可以通过设置SynthesizedAnnotation的注解属性, 从而使得可以从一个注解对象中属性获取另一个注解对象的属性值
AnnotationAttributeValueProvider - Interface in cn.hutool.core.annotation
表示一个可以从当前接口的实现类中,获得特定的属性值
AnnotationProxy<T extends Annotation> - Class in cn.hutool.core.annotation
注解代理
通过代理指定注解,可以自定义调用注解的方法逻辑,如支持Alias 注解
AnnotationProxy(T) - Constructor for class cn.hutool.core.annotation.AnnotationProxy
构造
annotationScanner - Variable in class cn.hutool.core.annotation.AbstractAnnotationSynthesizer
注解扫描器
AnnotationScanner - Interface in cn.hutool.core.annotation.scanner
注解扫描器,用于从支持的可注解元素上获取所需注解
annotationSelector - Variable in class cn.hutool.core.annotation.AbstractAnnotationSynthesizer
合成注解选择器
AnnotationSynthesizer - Interface in cn.hutool.core.annotation
注解合成器,用于处理一组给定的与AnnotationSynthesizer.getSource()具有直接或间接联系的注解对象, 并返回与原始注解对象具有不同属性的“合成”注解。
annotationType() - Method in class cn.hutool.core.annotation.AnnotationProxy
 
annotationType() - Method in class cn.hutool.core.annotation.GenericSynthesizedAnnotation
获取被合成的注解类型
annotationType() - Method in interface cn.hutool.core.annotation.SynthesizedAggregateAnnotation
获取当前的注解类型
AnnotationUtil - Class in cn.hutool.core.annotation
注解工具类
快速获取注解对象、注解值等工具封装
AnnotationUtil() - Constructor for class cn.hutool.core.annotation.AnnotationUtil
 
Ansi8BitColor - Class in cn.hutool.core.lang.ansi
ANSI 8-bit前景或背景色(即8位编码,共256种颜色(2^8) )
0-7: 标准颜色(同ESC [ 30–37 m) 8-15: 高强度颜色(同ESC [ 90–97 m) 16-231(6 × 6 × 6 共 216色): 16 + 36 × r + 6 × g + b (0 ≤ r, g, b ≤ 5) 232-255: 从黑到白的24阶灰度色
AnsiBackground - Enum in cn.hutool.core.lang.ansi
ANSI背景颜色枚举
AnsiColor - Enum in cn.hutool.core.lang.ansi
ANSI标准颜色
AnsiColors - Class in cn.hutool.core.lang.ansi
AWT Colors 的上下文中使用 AnsiColor 的实用程序
AnsiColors(AnsiColors.BitDepth) - Constructor for class cn.hutool.core.lang.ansi.AnsiColors
创建具有指定位深度的新 AnsiColors 实例。
AnsiColors.BitDepth - Enum in cn.hutool.core.lang.ansi
此类支持的位深度。
AnsiColorWrapper - Class in cn.hutool.core.lang.ansi
ANSI 颜色包装类
AnsiColorWrapper(int, AnsiColors.BitDepth) - Constructor for class cn.hutool.core.lang.ansi.AnsiColorWrapper
创建指定位深度的 AnsiColorWrapper 实例
AnsiElement - Interface in cn.hutool.core.lang.ansi
ANSI可转义节点接口,实现为ANSI颜色等
AnsiEncoder - Class in cn.hutool.core.lang.ansi
生成ANSI格式的编码输出
AnsiEncoder() - Constructor for class cn.hutool.core.lang.ansi.AnsiEncoder
 
AnsiSqlDialect - Class in cn.hutool.db.dialect.impl
ANSI SQL 方言
AnsiSqlDialect() - Constructor for class cn.hutool.db.dialect.impl.AnsiSqlDialect
 
AnsiStyle - Enum in cn.hutool.core.lang.ansi
ANSI文本样式风格枚举
AnsjEngine - Class in cn.hutool.extra.tokenizer.engine.ansj
Ansj分词引擎实现
项目地址:https://github.com/NLPchina/ansj_seg
AnsjEngine() - Constructor for class cn.hutool.extra.tokenizer.engine.ansj.AnsjEngine
构造
AnsjEngine(Analysis) - Constructor for class cn.hutool.extra.tokenizer.engine.ansj.AnsjEngine
构造
AnsjResult - Class in cn.hutool.extra.tokenizer.engine.ansj
Ansj分词结果实现
项目地址:https://github.com/NLPchina/ansj_seg
AnsjResult(Result) - Constructor for class cn.hutool.extra.tokenizer.engine.ansj.AnsjResult
构造
AnsjWord - Class in cn.hutool.extra.tokenizer.engine.ansj
Ansj分词中的一个单词包装
AnsjWord(Term) - Constructor for class cn.hutool.extra.tokenizer.engine.ansj.AnsjWord
构造
AntPathMatcher - Class in cn.hutool.core.text
Ant风格的路径匹配器。
来自Spring-core和Ant
AntPathMatcher() - Constructor for class cn.hutool.core.text.AntPathMatcher
使用 AntPathMatcher.DEFAULT_PATH_SEPARATOR 作为分隔符构造
AntPathMatcher(String) - Constructor for class cn.hutool.core.text.AntPathMatcher
使用自定义的分隔符构造
AntPathMatcher.AntPathStringMatcher - Class in cn.hutool.core.text
Tests whether or not a string matches against a pattern via a Pattern.
AntPathMatcher.AntPatternComparator - Class in cn.hutool.core.text
The default Comparator implementation returned by AntPathMatcher.getPatternComparator(String).
AntPathStringMatcher(String, boolean) - Constructor for class cn.hutool.core.text.AntPathMatcher.AntPathStringMatcher
 
AntPatternComparator(String) - Constructor for class cn.hutool.core.text.AntPathMatcher.AntPatternComparator
 
anyMatch(Collection<T>, Predicate<T>) - Static method in class cn.hutool.core.collection.CollUtil
是否至少有一个符合判断条件
ApacheCommonsLog - Class in cn.hutool.log.dialect.commons
Apache Commons Logging
ApacheCommonsLog(Log, String) - Constructor for class cn.hutool.log.dialect.commons.ApacheCommonsLog
 
ApacheCommonsLog(Class<?>) - Constructor for class cn.hutool.log.dialect.commons.ApacheCommonsLog
 
ApacheCommonsLog(String) - Constructor for class cn.hutool.log.dialect.commons.ApacheCommonsLog
 
ApacheCommonsLog4JLog - Class in cn.hutool.log.dialect.commons
Apache Commons Logging for Log4j
ApacheCommonsLog4JLog(Log) - Constructor for class cn.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
ApacheCommonsLog4JLog(Class<?>) - Constructor for class cn.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
ApacheCommonsLog4JLog(String) - Constructor for class cn.hutool.log.dialect.commons.ApacheCommonsLog4JLog
 
ApacheCommonsLogFactory - Class in cn.hutool.log.dialect.commons
Apache Commons Logging
ApacheCommonsLogFactory() - Constructor for class cn.hutool.log.dialect.commons.ApacheCommonsLogFactory
 
apHash(String) - Static method in class cn.hutool.core.util.HashUtil
AP算法
APOS - Static variable in class cn.hutool.core.util.XmlUtil
字符串常量:XML 单引号转义 "&apos" -> "'"
APOS - Static variable in class cn.hutool.http.HtmlUtil
 
APOS - Static variable in class cn.hutool.json.XML
The Character '''.
append(Object, Object) - Method in class cn.hutool.core.builder.CompareToBuilder
Appends to the builder the comparison of two Objects.
append(Object, Object, Comparator<?>) - Method in class cn.hutool.core.builder.CompareToBuilder
Appends to the builder the comparison of two Objects.
append(long, long) - Method in class cn.hutool.core.builder.CompareToBuilder
Appends to the builder the comparison of two longs.
append(int, int) - Method in class cn.hutool.core.builder.CompareToBuilder
Appends to the builder the comparison of two ints.
append(short, short) - Method in class cn.hutool.core.builder.CompareToBuilder
Appends to the builder the comparison of two shorts.
append(char, char) - Method in class cn.hutool.core.builder.CompareToBuilder
Appends to the builder the comparison of two chars.
append(byte, byte) - Method in class cn.hutool.core.builder.CompareToBuilder
Appends to the builder the comparison of two bytes.
append(double, double) - Method in class cn.hutool.core.builder.CompareToBuilder
Appends to the builder the comparison of two doubles.
append(float, float) - Method in class cn.hutool.core.builder.CompareToBuilder
Appends to the builder the comparison of two floats.
append(boolean, boolean) - Method in class cn.hutool.core.builder.CompareToBuilder
Appends to the builder the comparison of two booleanss.
append(Object[], Object[]) - Method in class cn.hutool.core.builder.CompareToBuilder
Appends to the builder the deep comparison of two Object arrays.
append(Object[], Object[], Comparator<?>) - Method in class cn.hutool.core.builder.CompareToBuilder
Appends to the builder the deep comparison of two Object arrays.
append(long[], long[]) - Method in class cn.hutool.core.builder.CompareToBuilder
Appends to the builder the deep comparison of two long arrays.
append(int[], int[]) - Method in class cn.hutool.core.builder.CompareToBuilder
Appends to the builder the deep comparison of two int arrays.
append(short[], short[]) - Method in class cn.hutool.core.builder.CompareToBuilder
Appends to the builder the deep comparison of two short arrays.
append(char[], char[]) - Method in class cn.hutool.core.builder.CompareToBuilder
Appends to the builder the deep comparison of two char arrays.
append(byte[], byte[]) - Method in class cn.hutool.core.builder.CompareToBuilder
Appends to the builder the deep comparison of two byte arrays.
append(double[], double[]) - Method in class cn.hutool.core.builder.CompareToBuilder
Appends to the builder the deep comparison of two double arrays.
append(float[], float[]) - Method in class cn.hutool.core.builder.CompareToBuilder
Appends to the builder the deep comparison of two float arrays.
append(boolean[], boolean[]) - Method in class cn.hutool.core.builder.CompareToBuilder
Appends to the builder the deep comparison of two boolean arrays.
append(Object, Object) - Method in class cn.hutool.core.builder.EqualsBuilder
Test if two Objects are equal using their equals method.
append(long, long) - Method in class cn.hutool.core.builder.EqualsBuilder
Test if two long s are equal.
append(int, int) - Method in class cn.hutool.core.builder.EqualsBuilder
Test if two ints are equal.
append(short, short) - Method in class cn.hutool.core.builder.EqualsBuilder
Test if two shorts are equal.
append(char, char) - Method in class cn.hutool.core.builder.EqualsBuilder
Test if two chars are equal.
append(byte, byte) - Method in class cn.hutool.core.builder.EqualsBuilder
Test if two bytes are equal.
append(double, double) - Method in class cn.hutool.core.builder.EqualsBuilder
Test if two doubles are equal by testing that the pattern of bits returned by doubleToLong are equal.
append(float, float) - Method in class cn.hutool.core.builder.EqualsBuilder
Test if two floats are equal byt testing that the pattern of bits returned by doubleToLong are equal.
append(boolean, boolean) - Method in class cn.hutool.core.builder.EqualsBuilder
Test if two booleanss are equal.
append(boolean) - Method in class cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a boolean.
append(boolean[]) - Method in class cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a boolean array.
append(byte) - Method in class cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a byte.
append(byte[]) - Method in class cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a byte array.
append(char) - Method in class cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a char.
append(char[]) - Method in class cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a char array.
append(double) - Method in class cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a double.
append(double[]) - Method in class cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a double array.
append(float) - Method in class cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a float.
append(float[]) - Method in class cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a float array.
append(int) - Method in class cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for an int.
append(int[]) - Method in class cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for an int array.
append(long) - Method in class cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a long.
append(long[]) - Method in class cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a long array.
append(Object) - Method in class cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for an Object.
append(Object[]) - Method in class cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for an Object array.
append(short) - Method in class cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a short.
append(short[]) - Method in class cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a short array.
append(char) - Method in class cn.hutool.core.io.AppendableWriter
 
append(CharSequence, int, int) - Method in class cn.hutool.core.io.AppendableWriter
 
append(CharSequence) - Method in class cn.hutool.core.io.AppendableWriter
 
append(byte[], int, int) - Method in class cn.hutool.core.io.FastByteBuffer
向快速缓冲加入数据
append(byte[]) - Method in class cn.hutool.core.io.FastByteBuffer
向快速缓冲加入数据
append(byte) - Method in class cn.hutool.core.io.FastByteBuffer
向快速缓冲加入一个字节
append(FastByteBuffer) - Method in class cn.hutool.core.io.FastByteBuffer
将另一个快速缓冲加入到自身
append(String) - Method in class cn.hutool.core.io.file.FileAppender
追加
append(String) - Method in class cn.hutool.core.io.file.FileWriter
将String写入文件,追加模式
append(byte[], int, int) - Method in class cn.hutool.core.io.file.FileWriter
追加数据到文件
append(Map<E, Tree<E>>) - Method in class cn.hutool.core.lang.tree.TreeBuilder
增加节点列表,增加的节点是不带子节点的
append(Iterable<Tree<E>>) - Method in class cn.hutool.core.lang.tree.TreeBuilder
增加节点列表,增加的节点是不带子节点的
append(List<T>, NodeParser<T, E>) - Method in class cn.hutool.core.lang.tree.TreeBuilder
增加节点列表,增加的节点是不带子节点的
append(List<T>, E, NodeParser<T, E>) - Method in class cn.hutool.core.lang.tree.TreeBuilder
增加节点列表,增加的节点是不带子节点的
append(Object) - Method in class cn.hutool.core.text.StrBuilder
追加对象,对象会被转换为字符串
append(char) - Method in class cn.hutool.core.text.StrBuilder
追加一个字符
append(char[]) - Method in class cn.hutool.core.text.StrBuilder
追加一个字符数组
append(char[], int, int) - Method in class cn.hutool.core.text.StrBuilder
追加一个字符数组
append(CharSequence) - Method in class cn.hutool.core.text.StrBuilder
 
append(CharSequence, int, int) - Method in class cn.hutool.core.text.StrBuilder
 
append(Object) - Method in class cn.hutool.core.text.StrJoiner
追加对象到拼接器中
append(T[]) - Method in class cn.hutool.core.text.StrJoiner
追加数组中的元素到拼接器中
append(Iterator<T>) - Method in class cn.hutool.core.text.StrJoiner
追加Iterator中的元素到拼接器中
append(T[], Function<T, ? extends CharSequence>) - Method in class cn.hutool.core.text.StrJoiner
追加数组中的元素到拼接器中
append(Iterable<E>, Function<? super E, ? extends CharSequence>) - Method in class cn.hutool.core.text.StrJoiner
追加Iterator中的元素到拼接器中
append(Iterator<E>, Function<? super E, ? extends CharSequence>) - Method in class cn.hutool.core.text.StrJoiner
追加Iterator中的元素到拼接器中
append(CharSequence) - Method in class cn.hutool.core.text.StrJoiner
 
append(CharSequence, int, int) - Method in class cn.hutool.core.text.StrJoiner
 
append(char) - Method in class cn.hutool.core.text.StrJoiner
 
append(T[], T...) - Static method in class cn.hutool.core.util.ArrayUtil
将新元素添加到已有数组中
添加新元素会生成一个新的数组,不影响原数组
append(Object, T...) - Static method in class cn.hutool.core.util.ArrayUtil
将新元素添加到已有数组中
添加新元素会生成一个新的数组,不影响原数组
append(Node, Object) - Static method in class cn.hutool.core.util.XmlUtil
追加数据子节点,可以是Map、集合、文本
append(Path, Path, CopyOption...) - Static method in class cn.hutool.core.util.ZipUtil
在zip文件中添加新文件或目录
新文件添加在zip根目录,文件夹包括其本身和内容
如果待添加文件夹是系统根路径(如/或c:/),则只复制文件夹下的内容
append(Object) - Method in class cn.hutool.db.sql.SqlBuilder
追加SQL其它部分片段,此方法只是简单的追加SQL字符串,空格需手动加入,例如:
append(String, Object) - Method in class cn.hutool.json.JSONObject
追加值,如果key无对应值,就添加一个JSONArray,其元素只有value,如果值已经是一个JSONArray,则添加到值JSONArray中。
append(StringBuilder, String, Object) - Static method in class cn.hutool.system.SystemUtil
输出到StringBuilder
AppendableWriter - Class in cn.hutool.core.io
同时继承Writer和实现Appendable的聚合类,用于适配两种接口操作 实现来自:jodd
AppendableWriter(Appendable) - Constructor for class cn.hutool.core.io.AppendableWriter
 
appendChild(Node, String) - Static method in class cn.hutool.core.util.XmlUtil
在已有节点上创建子节点
appendChild(Node, String, String) - Static method in class cn.hutool.core.util.XmlUtil
在已有节点上创建子节点
appendHex(StringBuilder, byte) - Method in class cn.hutool.core.codec.Base16Codec
将byte值转为16进制并添加到StringBuilder
appendHex(StringBuilder, byte, boolean) - Static method in class cn.hutool.core.util.HexUtil
将byte值转为16进制并添加到StringBuilder
appendIfMissing(CharSequence, CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
如果给定字符串不是以给定的一个或多个字符串为结尾,则在尾部添加结尾字符串
不忽略大小写
appendIfMissing(CharSequence, CharSequence, boolean, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
如果给定字符串不是以给定的一个或多个字符串为结尾,则在尾部添加结尾字符串
appendIfMissingIgnoreCase(CharSequence, CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
如果给定字符串不是以给定的一个或多个字符串为结尾,则在尾部添加结尾字符串
忽略大小写
appendLines(Iterable<T>) - Method in class cn.hutool.core.io.file.FileWriter
将列表写入文件,追加模式
appendLines(Collection<T>, String, String) - Static method in class cn.hutool.core.io.FileUtil
将列表写入文件,追加模式
appendLines(Collection<T>, File, String) - Static method in class cn.hutool.core.io.FileUtil
将列表写入文件,追加模式
appendLines(Collection<T>, String, Charset) - Static method in class cn.hutool.core.io.FileUtil
将列表写入文件,追加模式
appendLines(Collection<T>, File, Charset) - Static method in class cn.hutool.core.io.FileUtil
将列表写入文件,追加模式,策略为: 当文件为空,从开头追加,尾部不加空行 当有内容,换行追加,尾部不加空行 当有内容,并末尾有空行,依旧换行追加
appendPath(CharSequence) - Method in class cn.hutool.core.net.url.UrlBuilder
Deprecated.
方法重复,请使用UrlBuilder.addPath(CharSequence)
appendRange(int, int, Collection<Integer>) - Static method in class cn.hutool.core.util.NumberUtil
将给定范围内的整数添加到已有集合中,步进为1
appendRange(int, int, int, Collection<Integer>) - Static method in class cn.hutool.core.util.NumberUtil
将给定范围内的整数添加到已有集合中
appendString(String, String, String) - Static method in class cn.hutool.core.io.FileUtil
将String写入文件,追加模式
appendString(String, String, Charset) - Static method in class cn.hutool.core.io.FileUtil
将String写入文件,追加模式
appendString(String, File, String) - Static method in class cn.hutool.core.io.FileUtil
将String写入文件,追加模式
appendString(String, File, Charset) - Static method in class cn.hutool.core.io.FileUtil
将String写入文件,追加模式
appendSuper(int) - Method in class cn.hutool.core.builder.CompareToBuilder
Appends to the builder the compareTo(Object) result of the superclass.
appendSuper(boolean) - Method in class cn.hutool.core.builder.EqualsBuilder
Adds the result of super.equals() to this builder.
appendSuper(int) - Method in class cn.hutool.core.builder.HashCodeBuilder
Adds the result of super.hashCode() to this builder.
appendText(Node, CharSequence) - Static method in class cn.hutool.core.util.XmlUtil
创建文本子节点
appendUtf8Lines(Collection<T>, File) - Static method in class cn.hutool.core.io.FileUtil
将列表写入文件,追加模式
appendUtf8Lines(Collection<T>, String) - Static method in class cn.hutool.core.io.FileUtil
将列表写入文件,追加模式
appendUtf8String(String, String) - Static method in class cn.hutool.core.io.FileUtil
将String写入文件,UTF-8编码追加模式
appendUtf8String(String, File) - Static method in class cn.hutool.core.io.FileUtil
将String写入文件,UTF-8编码追加模式
apply(Class<?>) - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner.JdkProxyClassConverter
 
apply(Class<?>) - Method in class cn.hutool.core.annotation.scanner.TypeAnnotationScanner.JdkProxyClassConverter
 
Archiver - Interface in cn.hutool.extra.compress.archiver
数据归档封装,归档即将几个文件或目录打成一个压缩包
areColorsWithinTolerance(Color, Color, int) - Static method in class cn.hutool.core.img.BackgroundRemoval
判断颜色是否在容差范围内 对比两个颜色的相似度,判断这个相似度是否小于 tolerance 容差值
areColorsWithinTolerance(Color, Color, Color) - Static method in class cn.hutool.core.img.BackgroundRemoval
判断颜色是否在容差范围内 对比两个颜色的相似度,判断这个相似度是否小于 tolerance 容差值
Arrangement - Class in cn.hutool.core.math
排列A(n, m)
排列组合相关类 参考:http://cgs1999.iteye.com/blog/2327664
Arrangement(String[]) - Constructor for class cn.hutool.core.math.Arrangement
构造
arrangementCount(int, int) - Static method in class cn.hutool.core.math.MathUtil
计算排列数,即A(n, m) = n!/(n-m)!
arrangementCount(int) - Static method in class cn.hutool.core.math.MathUtil
计算排列数,即A(n, n) = n!
arrangementSelect(String[], int) - Static method in class cn.hutool.core.math.MathUtil
排列选择(从列表中选择n个排列)
arrangementSelect(String[]) - Static method in class cn.hutool.core.math.MathUtil
全排列选择(列表全部参与排列)
array(int) - Method in class cn.hutool.core.io.FastByteBuffer
根据索引位返回缓冲集中的缓冲
ArrayConverter - Class in cn.hutool.core.convert.impl
数组转换器,包括原始类型数组
ArrayConverter(Class<?>) - Constructor for class cn.hutool.core.convert.impl.ArrayConverter
构造
ArrayConverter(Class<?>, boolean) - Constructor for class cn.hutool.core.convert.impl.ArrayConverter
构造
ArrayIter<E> - Class in cn.hutool.core.collection
数组Iterator对象
ArrayIter(E[]) - Constructor for class cn.hutool.core.collection.ArrayIter
构造
ArrayIter(Object) - Constructor for class cn.hutool.core.collection.ArrayIter
构造
ArrayIter(Object, int) - Constructor for class cn.hutool.core.collection.ArrayIter
构造
ArrayIter(Object, int, int) - Constructor for class cn.hutool.core.collection.ArrayIter
构造
ArrayTypeGetter - Interface in cn.hutool.core.getter
数组类型的Get接口
ArrayUtil - Class in cn.hutool.core.util
数组工具类
ArrayUtil() - Constructor for class cn.hutool.core.util.ArrayUtil
 
ASCIIStrCache - Class in cn.hutool.core.text
ASCII字符对应的字符串缓存
ASCIIStrCache() - Constructor for class cn.hutool.core.text.ASCIIStrCache
 
ascToBcd(byte[]) - Static method in class cn.hutool.core.codec.BCD
Deprecated.
ASCII转BCD
ascToBcd(byte[], int) - Static method in class cn.hutool.core.codec.BCD
Deprecated.
ASCII转BCD
asEnumeration(Iterator<E>) - Static method in class cn.hutool.core.collection.CollUtil
Iterator转换为Enumeration
asIterable(Iterator<E>) - Static method in class cn.hutool.core.collection.CollUtil
asIterable(Iterator<E>) - Static method in class cn.hutool.core.collection.IterUtil
asIterator(Enumeration<E>) - Static method in class cn.hutool.core.collection.CollUtil
Enumeration转换为Iterator
asIterator(Enumeration<E>) - Static method in class cn.hutool.core.collection.IterUtil
Enumeration转换为Iterator
ASN1Util - Class in cn.hutool.crypto
ASN.1 – Abstract Syntax Notation dot one,抽象记法1 工具类。
ASN.1描述了一种对数据进行表示、编码、传输和解码的数据格式。它的编码格式包括DER、BER、DL等
ASN1Util() - Constructor for class cn.hutool.crypto.ASN1Util
 
Aspect - Interface in cn.hutool.aop.aspects
切面接口
Assert - Class in cn.hutool.core.lang
断言
断言某些对象或值是否符合规定,否则抛出异常。经常用于做变量检查
Assert() - Constructor for class cn.hutool.core.lang.Assert
 
assertSameCurrencyAs(Money) - Method in class cn.hutool.core.math.Money
断言本货币对象与另一货币对象是否具有相同的币种。
AsymmetricAlgorithm - Enum in cn.hutool.crypto.asymmetric
非对称算法类型
see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
AsymmetricCrypto - Class in cn.hutool.crypto.asymmetric
非对称加密算法
AsymmetricCrypto(AsymmetricAlgorithm) - Constructor for class cn.hutool.crypto.asymmetric.AsymmetricCrypto
构造,创建新的私钥公钥对
AsymmetricCrypto(String) - Constructor for class cn.hutool.crypto.asymmetric.AsymmetricCrypto
构造,创建新的私钥公钥对
AsymmetricCrypto(AsymmetricAlgorithm, String, String) - Constructor for class cn.hutool.crypto.asymmetric.AsymmetricCrypto
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
AsymmetricCrypto(AsymmetricAlgorithm, byte[], byte[]) - Constructor for class cn.hutool.crypto.asymmetric.AsymmetricCrypto
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
AsymmetricCrypto(AsymmetricAlgorithm, PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.AsymmetricCrypto
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
AsymmetricCrypto(String, String, String) - Constructor for class cn.hutool.crypto.asymmetric.AsymmetricCrypto
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
AsymmetricCrypto(String, byte[], byte[]) - Constructor for class cn.hutool.crypto.asymmetric.AsymmetricCrypto
构造
AsymmetricCrypto(String, PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.AsymmetricCrypto
构造
AsymmetricDecryptor - Interface in cn.hutool.crypto.asymmetric
非对称解密器接口,提供: 从bytes解密 从Hex(16进制)解密 从Base64解密 从BCD解密
AsymmetricEncryptor - Interface in cn.hutool.crypto.asymmetric
非对称加密器接口,提供: 加密为bytes 加密为Hex(16进制) 加密为Base64 加密为BCD
AsymmetricJWTSigner - Class in cn.hutool.jwt.signers
非对称加密JWT签名封装
AsymmetricJWTSigner(String, Key) - Constructor for class cn.hutool.jwt.signers.AsymmetricJWTSigner
构造
AsymmetricJWTSigner(String, KeyPair) - Constructor for class cn.hutool.jwt.signers.AsymmetricJWTSigner
构造
AsyncUtil - Class in cn.hutool.core.thread
CompletableFuture异步工具类
CompletableFuture 是 Future 的改进,可以通过传入回调对象,在任务完成后调用之
AsyncUtil() - Constructor for class cn.hutool.core.thread.AsyncUtil
 
AT - Static variable in interface cn.hutool.core.text.CharPool
字符常量:艾特 '@'
AT - Static variable in interface cn.hutool.core.text.StrPool
字符串常量:艾特 "@"
AtomicBooleanConverter - Class in cn.hutool.core.convert.impl
AtomicBoolean转换器
AtomicBooleanConverter() - Constructor for class cn.hutool.core.convert.impl.AtomicBooleanConverter
 
AtomicIntegerArrayConverter - Class in cn.hutool.core.convert.impl
AtomicIntegerArrayConverter() - Constructor for class cn.hutool.core.convert.impl.AtomicIntegerArrayConverter
 
AtomicLoader<T> - Class in cn.hutool.core.lang.loader
原子引用加载器
使用AtomicReference 实懒加载,过程如下
AtomicLoader() - Constructor for class cn.hutool.core.lang.loader.AtomicLoader
 
AtomicLongArrayConverter - Class in cn.hutool.core.convert.impl
AtomicLongArrayConverter() - Constructor for class cn.hutool.core.convert.impl.AtomicLongArrayConverter
 
AtomicReferenceConverter - Class in cn.hutool.core.convert.impl
AtomicReferenceConverter() - Constructor for class cn.hutool.core.convert.impl.AtomicReferenceConverter
 
AttributeName - Enum in cn.hutool.poi.excel.sax
Excel的XML中属性名枚举
AUDIENCE - Static variable in interface cn.hutool.jwt.RegisteredPayload
接收jwt的一方
auth(String) - Method in class cn.hutool.http.HttpRequest
验证,简单插入Authorization头
AUTHOR - Static variable in class cn.hutool.Hutool
 
autoLoad(boolean) - Method in class cn.hutool.setting.dialect.Props
在配置文件变更时自动加载
autoLoad(boolean) - Method in class cn.hutool.setting.Setting
在配置文件变更时自动加载
autoLoad(boolean, Consumer<Boolean>) - Method in class cn.hutool.setting.Setting
在配置文件变更时自动加载
autoSizeColumn(int) - Method in class cn.hutool.poi.excel.BigExcelWriter
 
autoSizeColumn(int) - Method in class cn.hutool.poi.excel.ExcelWriter
设置某列为自动宽度,不考虑合并单元格
此方法必须在指定列数据完全写出后调用才有效。
autoSizeColumn(int, boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
设置某列为自动宽度
此方法必须在指定列数据完全写出后调用才有效。
autoSizeColumnAll() - Method in class cn.hutool.poi.excel.BigExcelWriter
 
autoSizeColumnAll() - Method in class cn.hutool.poi.excel.ExcelWriter
设置所有列为自动宽度,不考虑合并单元格
此方法必须在指定列数据完全写出后调用才有效。
列数计算是通过第一行计算的
autoTransCamelCase - Variable in class cn.hutool.core.bean.copier.CopyOptions
是否自动转换为驼峰方式
available() - Method in class cn.hutool.extra.compress.extractor.Seven7EntryInputStream
 
available() - Method in class cn.hutool.http.HttpInputStream
 
AvgPartition<T> - Class in cn.hutool.core.collection
列表分区或分段
通过传入分区个数,将指定列表分区为不同的块,每块区域的长度均匀分布(个数差不超过1)
AvgPartition(List<T>, int) - Constructor for class cn.hutool.core.collection.AvgPartition
列表分区
AviatorEngine - Class in cn.hutool.extra.expression.engine.aviator
Aviator引擎封装
见:https://github.com/killme2008/aviatorscript
AviatorEngine() - Constructor for class cn.hutool.extra.expression.engine.aviator.AviatorEngine
构造
awaitTermination(long, TimeUnit) - Method in class cn.hutool.core.thread.DelegatedExecutorService
 

B

back() - Method in class cn.hutool.json.JSONTokener
将标记回退到第一个字符,重新开始解析新的JSON
backColor - Variable in class cn.hutool.extra.qrcode.QrConfig
背景色,默认白色,null表示透明
background - Variable in class cn.hutool.captcha.AbstractCaptcha
背景色
background - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
 
background(int) - Static method in class cn.hutool.core.lang.ansi.Ansi8BitColor
背景色ANSI颜色实例
BackgroundRemoval - Class in cn.hutool.core.img
图片背景识别处理、背景替换、背景设置为矢量图
BackgroundRemoval() - Constructor for class cn.hutool.core.img.BackgroundRemoval
 
backgroundRemoval(String, String, int) - Static method in class cn.hutool.core.img.BackgroundRemoval
背景移除 图片去底工具 将 "纯色背景的图片" 还原成 "透明背景的图片" 将纯色背景的图片转成矢量图 取图片边缘的像素点和获取到的图片主题色作为要替换的背景色 再加入一定的容差值,然后将所有像素点与该颜色进行比较 发现相同则将颜色不透明度设置为0,使颜色完全透明.
backgroundRemoval(File, File, int) - Static method in class cn.hutool.core.img.BackgroundRemoval
背景移除 图片去底工具 将 "纯色背景的图片" 还原成 "透明背景的图片" 将纯色背景的图片转成矢量图 取图片边缘的像素点和获取到的图片主题色作为要替换的背景色 再加入一定的容差值,然后将所有像素点与该颜色进行比较 发现相同则将颜色不透明度设置为0,使颜色完全透明.
backgroundRemoval(File, File, Color, int) - Static method in class cn.hutool.core.img.BackgroundRemoval
背景移除 图片去底工具 将 "纯色背景的图片" 还原成 "透明背景的图片" 将纯色背景的图片转成矢量图 取图片边缘的像素点和获取到的图片主题色作为要替换的背景色 再加入一定的容差值,然后将所有像素点与该颜色进行比较 发现相同则将颜色不透明度设置为0,使颜色完全透明.
backgroundRemoval(BufferedImage, Color, int) - Static method in class cn.hutool.core.img.BackgroundRemoval
背景移除 图片去底工具 将 "纯色背景的图片" 还原成 "透明背景的图片" 将纯色背景的图片转成矢量图 取图片边缘的像素点和获取到的图片主题色作为要替换的背景色 再加入一定的容差值,然后将所有像素点与该颜色进行比较 发现相同则将颜色不透明度设置为0,使颜色完全透明.
backgroundRemoval(ByteArrayOutputStream, Color, int) - Static method in class cn.hutool.core.img.BackgroundRemoval
背景移除 图片去底工具 将 "纯色背景的图片" 还原成 "透明背景的图片" 将纯色背景的图片转成矢量图 取图片边缘的像素点和获取到的图片主题色作为要替换的背景色 再加入一定的容差值,然后将所有像素点与该颜色进行比较 发现相同则将颜色不透明度设置为0,使颜色完全透明.
backgroundRemoval(String, String, int) - Static method in class cn.hutool.core.img.ImgUtil
背景移除 图片去底工具 将 "纯色背景的图片" 还原成 "透明背景的图片" 将纯色背景的图片转成矢量图 取图片边缘的像素点和获取到的图片主题色作为要替换的背景色 再加入一定的容差值,然后将所有像素点与该颜色进行比较 发现相同则将颜色不透明度设置为0,使颜色完全透明.
backgroundRemoval(File, File, int) - Static method in class cn.hutool.core.img.ImgUtil
背景移除 图片去底工具 将 "纯色背景的图片" 还原成 "透明背景的图片" 将纯色背景的图片转成矢量图 取图片边缘的像素点和获取到的图片主题色作为要替换的背景色 再加入一定的容差值,然后将所有像素点与该颜色进行比较 发现相同则将颜色不透明度设置为0,使颜色完全透明.
backgroundRemoval(File, File, Color, int) - Static method in class cn.hutool.core.img.ImgUtil
背景移除 图片去底工具 将 "纯色背景的图片" 还原成 "透明背景的图片" 将纯色背景的图片转成矢量图 取图片边缘的像素点和获取到的图片主题色作为要替换的背景色 再加入一定的容差值,然后将所有像素点与该颜色进行比较 发现相同则将颜色不透明度设置为0,使颜色完全透明.
backgroundRemoval(BufferedImage, Color, int) - Static method in class cn.hutool.core.img.ImgUtil
背景移除 图片去底工具 将 "纯色背景的图片" 还原成 "透明背景的图片" 将纯色背景的图片转成矢量图 取图片边缘的像素点和获取到的图片主题色作为要替换的背景色 再加入一定的容差值,然后将所有像素点与该颜色进行比较 发现相同则将颜色不透明度设置为0,使颜色完全透明.
backgroundRemoval(ByteArrayOutputStream, Color, int) - Static method in class cn.hutool.core.img.ImgUtil
背景移除 图片去底工具 将 "纯色背景的图片" 还原成 "透明背景的图片" 将纯色背景的图片转成矢量图 取图片边缘的像素点和获取到的图片主题色作为要替换的背景色 再加入一定的容差值,然后将所有像素点与该颜色进行比较 发现相同则将颜色不透明度设置为0,使颜色完全透明.
BACKSLASH - Static variable in interface cn.hutool.core.text.CharPool
字符常量:反斜杠 '\\'
BACKSLASH - Static variable in interface cn.hutool.core.text.StrPool
字符串常量:反斜杠 "\\"
BANG - Static variable in class cn.hutool.json.XML
The Character '!'.
bankCard(String) - Static method in class cn.hutool.core.util.DesensitizedUtil
【银行卡号脱敏】由于银行卡号长度不定,所以只展示前4位,后面的位数根据卡号决定展示1-4位 例如:
Base16Codec - Class in cn.hutool.core.codec
Base16(Hex)编码解码器
十六进制(简写为hex或下标16)在数学中是一种逢16进1的进位制,一般用数字0到9和字母A到F表示(其中:A~F即10~15)。
例如十进制数57,在二进制写作111001,在16进制写作39。
Base16Codec(boolean) - Constructor for class cn.hutool.core.codec.Base16Codec
构造
Base32 - Class in cn.hutool.core.codec
Base32 - encodes and decodes RFC4648 Base32 (see https://datatracker.ietf.org/doc/html/rfc4648#section-6 )
base32就是用32(2的5次方)个特定ASCII码来表示256个ASCII码。
所以,5个ASCII字符经过base32编码后会变为8个字符(公约数为40),长度增加3/5.不足8n用“=”补足。
根据RFC4648 Base32规范,支持两种模式: Base 32 Alphabet (ABCDEFGHIJKLMNOPQRSTUVWXYZ234567) "Extended Hex" Base 32 Alphabet (0123456789ABCDEFGHIJKLMNOPQRSTUV)
Base32() - Constructor for class cn.hutool.core.codec.Base32
 
Base32Codec - Class in cn.hutool.core.codec
Base32 - encodes and decodes RFC4648 Base32 (see https://datatracker.ietf.org/doc/html/rfc4648#section-6 )
base32就是用32(2的5次方)个特定ASCII码来表示256个ASCII码。
所以,5个ASCII字符经过base32编码后会变为8个字符(公约数为40),长度增加3/5.不足8n用“=”补足。
根据RFC4648 Base32规范,支持两种模式: Base 32 Alphabet (ABCDEFGHIJKLMNOPQRSTUVWXYZ234567) "Extended Hex" Base 32 Alphabet (0123456789ABCDEFGHIJKLMNOPQRSTUV)
Base32Codec() - Constructor for class cn.hutool.core.codec.Base32Codec
 
Base32Codec.Base32Decoder - Class in cn.hutool.core.codec
Base32解码器
Base32Codec.Base32Encoder - Class in cn.hutool.core.codec
Bas32编码器
Base32Decoder(String) - Constructor for class cn.hutool.core.codec.Base32Codec.Base32Decoder
构造
Base32Encoder(String, Character) - Constructor for class cn.hutool.core.codec.Base32Codec.Base32Encoder
构造
Base58 - Class in cn.hutool.core.codec
Base58工具类,提供Base58的编码和解码方案
参考: https://github.com/Anujraval24/Base58Encoding
规范见:https://en.bitcoin.it/wiki/Base58Check_encoding
Base58() - Constructor for class cn.hutool.core.codec.Base58
 
Base58Codec - Class in cn.hutool.core.codec
Base58编码器
此编码器不包括校验码、版本等信息
Base58Codec() - Constructor for class cn.hutool.core.codec.Base58Codec
 
Base58Codec.Base58Decoder - Class in cn.hutool.core.codec
Base58解码器
Base58Codec.Base58Encoder - Class in cn.hutool.core.codec
Base58编码器
Base58Decoder(String) - Constructor for class cn.hutool.core.codec.Base58Codec.Base58Decoder
构造
Base58Encoder(char[]) - Constructor for class cn.hutool.core.codec.Base58Codec.Base58Encoder
构造
Base62 - Class in cn.hutool.core.codec
Base62工具类,提供Base62的编码和解码方案
Base62() - Constructor for class cn.hutool.core.codec.Base62
 
Base62Codec - Class in cn.hutool.core.codec
Base62编码解码实现,常用于短URL
From https://github.com/seruco/base62
Base62Codec() - Constructor for class cn.hutool.core.codec.Base62Codec
 
Base62Codec.Base62Decoder - Class in cn.hutool.core.codec
Base62解码器
Base62Codec.Base62Encoder - Class in cn.hutool.core.codec
Base62编码器
Base62Decoder(byte[]) - Constructor for class cn.hutool.core.codec.Base62Codec.Base62Decoder
构造
Base62Encoder(byte[]) - Constructor for class cn.hutool.core.codec.Base62Codec.Base62Encoder
构造
Base64 - Class in cn.hutool.core.codec
Base64工具类,提供Base64的编码和解码方案
base64编码是用64(2的6次方)个ASCII字符来表示256(2的8次方)个ASCII字符,
也就是三位二进制数组经过编码后变为四位的ASCII字符显示,长度比原来增加1/3。
Base64() - Constructor for class cn.hutool.core.codec.Base64
 
Base64Decoder - Class in cn.hutool.core.codec
Base64解码实现
Base64Decoder() - Constructor for class cn.hutool.core.codec.Base64Decoder
 
Base64Encoder - Class in cn.hutool.core.codec
Base64编码
TODO 6.x移除此类,使用JDK自身
Base64Encoder() - Constructor for class cn.hutool.core.codec.Base64Encoder
 
BASE_CHAR - Static variable in class cn.hutool.core.util.RandomUtil
用于随机选的字符
BASE_CHAR_NUMBER - Static variable in class cn.hutool.core.util.RandomUtil
用于随机选的字符和数字(包括大写和小写字母)
BASE_CHAR_NUMBER_LOWER - Static variable in class cn.hutool.core.util.RandomUtil
用于随机选的字符和数字(小写)
BASE_DAY - Static variable in class cn.hutool.core.date.chinese.LunarInfo
1900-01-31,农历正月初一
BASE_NUMBER - Static variable in class cn.hutool.core.util.RandomUtil
用于随机选的数字
BASE_YEAR - Static variable in class cn.hutool.core.date.chinese.LunarInfo
1900年
BaseAsymmetric<T extends BaseAsymmetric<T>> - Class in cn.hutool.crypto.asymmetric
非对称基础,提供锁、私钥和公钥的持有
BaseAsymmetric(String, PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.BaseAsymmetric
构造
BaseFieldComparator<T> - Class in cn.hutool.core.comparator
Deprecated.
此类不再需要,使用FuncComparator代替更加灵活
BaseFieldComparator() - Constructor for class cn.hutool.core.comparator.BaseFieldComparator
Deprecated.
 
baseStr - Variable in class cn.hutool.captcha.generator.AbstractGenerator
基础字符集合,用于随机获取字符串的字符集合
BASIC_ESCAPE - Static variable in class cn.hutool.core.text.escape.XmlEscape
 
BASIC_UNESCAPE - Static variable in class cn.hutool.core.text.escape.XmlUnescape
 
basicAuth(String, String) - Method in class cn.hutool.http.HttpRequest
简单验证,生成的头信息类似于:
basicProxyAuth(String, String) - Method in class cn.hutool.http.HttpRequest
简单代理验证,生成的头信息类似于:
BasicType - Enum in cn.hutool.core.convert
基本变量类型的枚举
基本类型枚举包括原始类型和包装类型
BasicTypeGetter<K> - Interface in cn.hutool.core.getter
基本类型的getter接口
提供一个统一的接口定义返回不同类型的值(基本类型)
BCD - Class in cn.hutool.core.codec
Deprecated.
由于对于ASCII的编码解码有缺陷,且这种BCD实现并不规范,因此会在6.0.0中移除
BCD() - Constructor for class cn.hutool.core.codec.BCD
Deprecated.
 
bcdToStr(byte[]) - Static method in class cn.hutool.core.codec.BCD
Deprecated.
BCD转ASCII字符串
BCHMacEngine - Class in cn.hutool.crypto.digest.mac
BouncyCastle的HMAC算法实现引擎,使用Mac 实现摘要
当引入BouncyCastle库时自动使用其作为Provider
BCHMacEngine(Digest, byte[], byte[]) - Constructor for class cn.hutool.crypto.digest.mac.BCHMacEngine
构造
BCHMacEngine(Digest, byte[]) - Constructor for class cn.hutool.crypto.digest.mac.BCHMacEngine
构造
BCHMacEngine(Digest, CipherParameters) - Constructor for class cn.hutool.crypto.digest.mac.BCHMacEngine
构造
BCHMacEngine(HMac, CipherParameters) - Constructor for class cn.hutool.crypto.digest.mac.BCHMacEngine
构造
BCMacEngine - Class in cn.hutool.crypto.digest.mac
BouncyCastle的MAC算法实现引擎,使用Mac 实现摘要
当引入BouncyCastle库时自动使用其作为Provider
BCMacEngine(Mac, CipherParameters) - Constructor for class cn.hutool.crypto.digest.mac.BCMacEngine
构造
BCrypt - Class in cn.hutool.crypto.digest
BCrypt加密算法实现。由它加密的文件可在所有支持的操作系统和处理器上进行转移。它的口令必须是8至56个字符,并将在内部被转化为448位的密钥。
BCrypt() - Constructor for class cn.hutool.crypto.digest.BCrypt
 
bcrypt(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
生成Bcrypt加密后的密文
bcryptCheck(String, String) - Static method in class cn.hutool.crypto.digest.DigestUtil
验证密码是否与Bcrypt加密后的密文匹配
BCUtil - Class in cn.hutool.crypto
Bouncy Castle相关工具类封装
BCUtil() - Constructor for class cn.hutool.crypto.BCUtil
 
bd09ToGcj02(double, double) - Static method in class cn.hutool.core.util.CoordinateUtil
百度坐标系 (BD-09) 与 火星坐标系 (GCJ-02)的转换 即 百度 转 谷歌、高德
bd09toWgs84(double, double) - Static method in class cn.hutool.core.util.CoordinateUtil
百度坐标系 (BD-09) 与 WGS84 的转换
BeanConverter<T> - Class in cn.hutool.core.convert.impl
Bean转换器,支持:
BeanConverter(Type) - Constructor for class cn.hutool.core.convert.impl.BeanConverter
构造,默认转换选项,注入失败的字段忽略
BeanConverter(Class<T>) - Constructor for class cn.hutool.core.convert.impl.BeanConverter
构造,默认转换选项,注入失败的字段忽略
BeanConverter(Type, CopyOptions) - Constructor for class cn.hutool.core.convert.impl.BeanConverter
构造
BeanCopier<T> - Class in cn.hutool.core.bean.copier
Bean拷贝,提供:
BeanCopier(Object, T, Type, CopyOptions) - Constructor for class cn.hutool.core.bean.copier.BeanCopier
构造
BeanCopierCache - Enum in cn.hutool.extra.cglib
BeanCopier属性缓存
缓存用于防止多次反射造成的性能问题
BeanDesc - Class in cn.hutool.core.bean
Bean信息描述做为BeanInfo替代方案,此对象持有JavaBean中的setters和getters等相关信息描述
查找Getter和Setter方法时会:
BeanDesc(Class<?>) - Constructor for class cn.hutool.core.bean.BeanDesc
构造
BeanDescCache - Enum in cn.hutool.core.bean
Bean属性缓存
缓存用于防止多次反射造成的性能问题
BeanException - Exception in cn.hutool.core.bean
Bean异常
BeanException(Throwable) - Constructor for exception cn.hutool.core.bean.BeanException
 
BeanException(String) - Constructor for exception cn.hutool.core.bean.BeanException
 
BeanException(String, Object...) - Constructor for exception cn.hutool.core.bean.BeanException
 
BeanException(String, Throwable) - Constructor for exception cn.hutool.core.bean.BeanException
 
BeanException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.bean.BeanException
 
BeanHandler<E> - Class in cn.hutool.db.handler
Bean对象处理器,只处理第一条数据
BeanHandler(Class<E>) - Constructor for class cn.hutool.db.handler.BeanHandler
 
BeanInfoCache - Enum in cn.hutool.core.bean
Bean属性缓存
缓存用于防止多次反射造成的性能问题
BeanListHandler<E> - Class in cn.hutool.db.handler
结果集处理类 ,处理出的结果为Bean列表
BeanListHandler(Class<E>) - Constructor for class cn.hutool.db.handler.BeanListHandler
构造
BeanPath - Class in cn.hutool.core.bean
Bean路径表达式,用于获取多层嵌套Bean中的字段值或Bean对象
根据给定的表达式,查找Bean中对应的属性值对象。 表达式分为两种: .表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值 []表达式,可以获取集合等对象中对应index的值
BeanPath(String) - Constructor for class cn.hutool.core.bean.BeanPath
构造
BeanRowHandler<T> - Class in cn.hutool.poi.excel.sax.handler
Bean形式的行处理器
将一行数据转换为Map,key为指定行,value为当前行对应位置的值
BeanRowHandler(int, int, int, Class<T>) - Constructor for class cn.hutool.poi.excel.sax.handler.BeanRowHandler
构造
BeanSheetReader<T> - Class in cn.hutool.poi.excel.reader
读取Sheet为bean的List列表形式
BeanSheetReader(int, int, int, Class<T>) - Constructor for class cn.hutool.poi.excel.reader.BeanSheetReader
构造
BeanToBeanCopier<S,T> - Class in cn.hutool.core.bean.copier
Bean属性拷贝到Bean中的拷贝器
BeanToBeanCopier(S, T, Type, CopyOptions) - Constructor for class cn.hutool.core.bean.copier.BeanToBeanCopier
构造
beanToMap(Object, String...) - Static method in class cn.hutool.core.bean.BeanUtil
将bean的部分属性转换成map
可选拷贝哪些属性值,默认是不忽略值为null的值的。
beanToMap(Object, boolean, boolean) - Static method in class cn.hutool.core.bean.BeanUtil
对象转Map
beanToMap(Object, Map<String, Object>, boolean, boolean) - Static method in class cn.hutool.core.bean.BeanUtil
对象转Map
beanToMap(Object, Map<String, Object>, boolean, Editor<String>) - Static method in class cn.hutool.core.bean.BeanUtil
对象转Map
通过实现Editor 可以自定义字段值,如果这个Editor返回null则忽略这个字段,以便实现:
beanToMap(Object, Map<String, Object>, CopyOptions) - Static method in class cn.hutool.core.bean.BeanUtil
对象转Map
通过自定义CopyOptions 完成抓换选项,以便实现:
BeanToMapCopier - Class in cn.hutool.core.bean.copier
Bean属性拷贝到Map中的拷贝器
BeanToMapCopier(Object, Map, Type, CopyOptions) - Constructor for class cn.hutool.core.bean.copier.BeanToMapCopier
构造
beanToXml(Object) - Static method in class cn.hutool.core.util.JAXBUtil
JavaBean转换成xml
beanToXml(Object, Charset, boolean) - Static method in class cn.hutool.core.util.JAXBUtil
JavaBean转换成xml
beanToXml(Object) - Static method in class cn.hutool.core.util.XmlUtil
将Bean转换为XML
beanToXml(Object, String) - Static method in class cn.hutool.core.util.XmlUtil
将Bean转换为XML
beanToXml(Object, String, boolean) - Static method in class cn.hutool.core.util.XmlUtil
将Bean转换为XML
BeanUtil - Class in cn.hutool.core.bean
Bean工具类
BeanUtil() - Constructor for class cn.hutool.core.bean.BeanUtil
 
BeanValidationResult - Class in cn.hutool.extra.validation
bean 校验结果
BeanValidationResult(boolean) - Constructor for class cn.hutool.extra.validation.BeanValidationResult
构造
BeanValidationResult.ErrorMessage - Class in cn.hutool.extra.validation
错误消息,包括字段名(字段路径)、消息内容和字段值
BeanValueProvider - Class in cn.hutool.core.bean.copier.provider
Bean的值提供者
BeanValueProvider(Object, boolean, boolean) - Constructor for class cn.hutool.core.bean.copier.provider.BeanValueProvider
构造
BeanValueProvider(Object, boolean, boolean, Editor<String>) - Constructor for class cn.hutool.core.bean.copier.provider.BeanValueProvider
构造
bearerAuth(String) - Method in class cn.hutool.http.HttpRequest
令牌验证,生成的头类似于:"Authorization: Bearer XXXXX",一般用于JWT
BeeDSFactory - Class in cn.hutool.db.ds.bee
BeeCP数据源工厂类
BeeDSFactory() - Constructor for class cn.hutool.db.ds.bee.BeeDSFactory
 
BeeDSFactory(Setting) - Constructor for class cn.hutool.db.ds.bee.BeeDSFactory
 
BeetlEngine - Class in cn.hutool.extra.template.engine.beetl
Beetl模板引擎封装
BeetlEngine() - Constructor for class cn.hutool.extra.template.engine.beetl.BeetlEngine
默认构造
BeetlEngine(TemplateConfig) - Constructor for class cn.hutool.extra.template.engine.beetl.BeetlEngine
构造
BeetlEngine(GroupTemplate) - Constructor for class cn.hutool.extra.template.engine.beetl.BeetlEngine
构造
BeetlTemplate - Class in cn.hutool.extra.template.engine.beetl
Beetl模板实现
BeetlTemplate(Template) - Constructor for class cn.hutool.extra.template.engine.beetl.BeetlTemplate
构造
before(Object, Method, Object[]) - Method in interface cn.hutool.aop.aspects.Aspect
目标方法执行前的操作
before(Object, Method, Object[]) - Method in class cn.hutool.aop.aspects.SimpleAspect
 
before(Object, Method, Object[]) - Method in class cn.hutool.aop.aspects.TimeIntervalAspect
 
beginArray() - Method in class cn.hutool.json.serialize.JSONWriter
JSONArray写出开始,默认写出"["
beginLineNo - Variable in class cn.hutool.core.text.csv.CsvReadConfig
定义开始的行(包括),此处为原始文件行号
beginObj() - Method in class cn.hutool.json.serialize.JSONWriter
JSONObject写出开始,默认写出"{"
beginOfDay(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
修改某天的开始时间
beginOfDay(Date) - Static method in class cn.hutool.core.date.DateUtil
获取某天的开始时间
beginOfDay(LocalDateTime) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
修改为一天的开始时间,例如:2020-02-02 00:00:00,000
beginOfDay(LocalDate) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
修改为一天的开始时间,例如:2020-02-02 00:00:00,000
beginOfHour(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
修改某小时的开始时间
beginOfHour(Date) - Static method in class cn.hutool.core.date.DateUtil
获取某小时的开始时间
beginOfMinute(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
修改某分钟的开始时间
beginOfMinute(Date) - Static method in class cn.hutool.core.date.DateUtil
获取某分钟的开始时间
beginOfMonth(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
修改某月的开始时间
beginOfMonth(Date) - Static method in class cn.hutool.core.date.DateUtil
获取某月的开始时间
beginOfQuarter(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
修改某季度的开始时间
beginOfQuarter(Date) - Static method in class cn.hutool.core.date.DateUtil
获取某季度的开始时间
beginOfSecond(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
修改秒级别的开始时间,即忽略毫秒部分
beginOfSecond(Date) - Static method in class cn.hutool.core.date.DateUtil
获取秒级别的开始时间,即毫秒部分设置为0
beginOfWeek(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
修改给定日期当前周的开始时间,周一定为一周的开始时间
beginOfWeek(Calendar, boolean) - Static method in class cn.hutool.core.date.CalendarUtil
修改给定日期当前周的开始时间
beginOfWeek(Date) - Static method in class cn.hutool.core.date.DateUtil
获取某周的开始时间,周一定为一周的开始时间
beginOfWeek(Date, boolean) - Static method in class cn.hutool.core.date.DateUtil
获取某周的开始时间
beginOfYear(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
修改某年的开始时间
beginOfYear(Date) - Static method in class cn.hutool.core.date.DateUtil
获取某年的开始时间
beginTransaction() - Method in class cn.hutool.db.Session
开始事务
bernstein(String) - Static method in class cn.hutool.core.util.HashUtil
Bernstein's hash
BETA - Static variable in class cn.hutool.core.img.gif.NeuQuant
 
BETAGAMMA - Static variable in class cn.hutool.core.img.gif.NeuQuant
 
BETASHIFT - Static variable in class cn.hutool.core.img.gif.NeuQuant
 
between(DateUnit) - Method in class cn.hutool.core.date.DateBetween
判断两个日期相差的时长
返回 给定单位的时长差
between(Date) - Method in class cn.hutool.core.date.DateTime
计算相差时长
between(Date, DateUnit) - Method in class cn.hutool.core.date.DateTime
计算相差时长
between(Date, DateUnit, BetweenFormatter.Level) - Method in class cn.hutool.core.date.DateTime
计算相差时长
between(Date, Date, DateUnit) - Static method in class cn.hutool.core.date.DateUtil
判断两个日期相差的时长,只保留绝对值
between(Date, Date, DateUnit, boolean) - Static method in class cn.hutool.core.date.DateUtil
判断两个日期相差的时长
between(LocalDateTime, LocalDateTime) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
获取两个日期的差,如果结束时间早于开始时间,获取结果为负。
between(LocalDateTime, LocalDateTime, ChronoUnit) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
获取两个日期的差,如果结束时间早于开始时间,获取结果为负。
between(Temporal, Temporal) - Static method in class cn.hutool.core.date.TemporalUtil
获取两个日期的差,如果结束时间早于开始时间,获取结果为负。
between(Temporal, Temporal, ChronoUnit) - Static method in class cn.hutool.core.date.TemporalUtil
获取两个日期的差,如果结束时间早于开始时间,获取结果为负。
betweenDay(Date, Date, boolean) - Static method in class cn.hutool.core.date.DateUtil
判断两个日期相差的天数
BetweenFormatter - Class in cn.hutool.core.date
时长格式化器,用于格式化输出两个日期相差的时长
根据BetweenFormatter.Level不同,调用BetweenFormatter.format()方法后返回类似于: XX小时XX分XX秒 XX天XX小时 XX月XX天XX小时
BetweenFormatter(long, BetweenFormatter.Level) - Constructor for class cn.hutool.core.date.BetweenFormatter
构造
BetweenFormatter(long, BetweenFormatter.Level, int) - Constructor for class cn.hutool.core.date.BetweenFormatter
构造
BetweenFormatter.Level - Enum in cn.hutool.core.date
格式化等级枚举
betweenMonth(boolean) - Method in class cn.hutool.core.date.DateBetween
计算两个日期相差月数
在非重置情况下,如果起始日期的天大于结束日期的天,月数要少算1(不足1个月)
betweenMonth(Date, Date, boolean) - Static method in class cn.hutool.core.date.DateUtil
计算两个日期相差月数
在非重置情况下,如果起始日期的天大于结束日期的天,月数要少算1(不足1个月)
betweenMs(Date, Date) - Static method in class cn.hutool.core.date.DateUtil
判断两个日期相差的毫秒数
betweenPeriod(LocalDate, LocalDate) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
获取两个日期的表象时间差,如果结束时间早于开始时间,获取结果为负。
betweenWeek(Date, Date, boolean) - Static method in class cn.hutool.core.date.DateUtil
计算指定时间区间内的周数
betweenYear(boolean) - Method in class cn.hutool.core.date.DateBetween
计算两个日期相差年数
在非重置情况下,如果起始日期的月大于结束日期的月,年数要少算1(不足1年)
betweenYear(Date, Date, boolean) - Static method in class cn.hutool.core.date.DateUtil
计算两个日期相差年数
在非重置情况下,如果起始日期的月大于结束日期的月,年数要少算1(不足1年)
bgColor - Variable in class cn.hutool.core.img.gif.GifDecoder
 
bgIndex - Variable in class cn.hutool.core.img.gif.GifDecoder
 
bias - Variable in class cn.hutool.core.img.gif.NeuQuant
 
BigExcelWriter - Class in cn.hutool.poi.excel
大数据量Excel写出,只支持XLSX(Excel07版本)
通过封装SXSSFWorkbook,限制对滑动窗口中的行的访问来实现其低内存使用。
注意如果写出数据大于滑动窗口大小,就会写出到临时文件,此时写出的数据无法访问和编辑。
BigExcelWriter() - Constructor for class cn.hutool.poi.excel.BigExcelWriter
构造,默认生成xlsx格式的Excel文件
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(java.io.OutputStream)方法写出到流
若写出到文件,还需调用ExcelWriter.setDestFile(File)方法自定义写出的文件,然后调用ExcelWriter.flush()方法写出到文件
BigExcelWriter(int) - Constructor for class cn.hutool.poi.excel.BigExcelWriter
构造
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(java.io.OutputStream)方法写出到流
若写出到文件,需要调用ExcelWriter.flush(File) 写出到文件
BigExcelWriter(int, boolean, boolean, String) - Constructor for class cn.hutool.poi.excel.BigExcelWriter
构造
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(java.io.OutputStream)方法写出到流
若写出到文件,需要调用ExcelWriter.flush(File) 写出到文件
BigExcelWriter(String) - Constructor for class cn.hutool.poi.excel.BigExcelWriter
构造,默认写出到第一个sheet,第一个sheet名为sheet1
BigExcelWriter(int, String) - Constructor for class cn.hutool.poi.excel.BigExcelWriter
构造
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(java.io.OutputStream)方法写出到流
若写出到文件,需要调用ExcelWriter.flush(File) 写出到文件
BigExcelWriter(String, String) - Constructor for class cn.hutool.poi.excel.BigExcelWriter
构造
BigExcelWriter(File) - Constructor for class cn.hutool.poi.excel.BigExcelWriter
构造,默认写出到第一个sheet,第一个sheet名为sheet1
BigExcelWriter(File, String) - Constructor for class cn.hutool.poi.excel.BigExcelWriter
构造
BigExcelWriter(SXSSFWorkbook, String) - Constructor for class cn.hutool.poi.excel.BigExcelWriter
构造
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(java.io.OutputStream)方法写出到流
若写出到文件,还需调用ExcelWriter.setDestFile(File)方法自定义写出的文件,然后调用ExcelWriter.flush()方法写出到文件
BigExcelWriter(Sheet) - Constructor for class cn.hutool.poi.excel.BigExcelWriter
构造
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(java.io.OutputStream)方法写出到流
若写出到文件,还需调用ExcelWriter.setDestFile(File)方法自定义写出的文件,然后调用ExcelWriter.flush()方法写出到文件
bigIntegerToIPv6(BigInteger) - Static method in class cn.hutool.core.net.NetUtil
将大整数转换成ipv6字符串
BiMap<K,V> - Class in cn.hutool.core.map
双向Map
互换键值对不检查值是否有重复,如果有则后加入的元素替换先加入的元素
值的顺序在HashMap中不确定,所以谁覆盖谁也不确定,在有序的Map中按照先后顺序覆盖,保留最后的值
它与TableMap的区别是,BiMap维护两个Map实现高效的正向和反向查找
BiMap(Map<K, V>) - Constructor for class cn.hutool.core.map.BiMap
构造
binary() - Method in class cn.hutool.core.img.Img
彩色转为黑白二值化图片
binary(File, File) - Static method in class cn.hutool.core.img.ImgUtil
彩色转为黑白二值化图片,根据目标文件扩展名确定转换后的格式
binary(InputStream, OutputStream, String) - Static method in class cn.hutool.core.img.ImgUtil
彩色转为黑白二值化图片
此方法并不关闭流
binary(ImageInputStream, ImageOutputStream, String) - Static method in class cn.hutool.core.img.ImgUtil
彩色转为黑白黑白二值化图片
此方法并不关闭流
binary(Image, File) - Static method in class cn.hutool.core.img.ImgUtil
彩色转为黑白二值化图片,根据目标文件扩展名确定转换后的格式
binary(Image, OutputStream, String) - Static method in class cn.hutool.core.img.ImgUtil
彩色转为黑白二值化图片
此方法并不关闭流,输出JPG格式
binary(Image, ImageOutputStream, String) - Static method in class cn.hutool.core.img.ImgUtil
彩色转为黑白二值化图片
此方法并不关闭流,输出JPG格式
binary(Image) - Static method in class cn.hutool.core.img.ImgUtil
彩色转为黑白二值化图片
binaryToInt(String) - Static method in class cn.hutool.core.util.NumberUtil
二进制转int
binaryToLong(String) - Static method in class cn.hutool.core.util.NumberUtil
二进制转long
bindPort(Session, String, int, int) - Static method in class cn.hutool.extra.ssh.JschUtil
绑定端口到本地。 一个会话可绑定多个端口
bindPort(Session, String, int, String, int) - Static method in class cn.hutool.extra.ssh.JschUtil
绑定端口到本地。 一个会话可绑定多个端口
bindRemotePort(Session, int, String, int) - Static method in class cn.hutool.extra.ssh.JschUtil
绑定ssh服务端的serverPort端口, 到host主机的port端口上.
BIRTHDAY - Static variable in class cn.hutool.core.lang.PatternPool
生日
BIRTHDAY - Static variable in interface cn.hutool.core.lang.RegexPool
生日
BIRTHDAY - Static variable in class cn.hutool.core.lang.Validator
生日
BitMap - Interface in cn.hutool.bloomfilter.bitMap
BitMap接口,用于将某个int或long值映射到一个数组中,从而判定某个值是否存在
BitMapBloomFilter - Class in cn.hutool.bloomfilter
BloomFilter 实现
1.构建hash算法
2.散列hash映射到数组的bit位置
3.验证
此实现方式可以指定Hash算法
BitMapBloomFilter(int) - Constructor for class cn.hutool.bloomfilter.BitMapBloomFilter
构造,使用默认的5个过滤器
BitMapBloomFilter(int, BloomFilter...) - Constructor for class cn.hutool.bloomfilter.BitMapBloomFilter
使用自定的多个过滤器建立BloomFilter
BitSetBloomFilter - Class in cn.hutool.bloomfilter
BloomFilter实现方式2,此方式使用BitSet存储。
Hash算法的使用使用固定顺序,只需指定个数即可
BitSetBloomFilter(int, int, int) - Constructor for class cn.hutool.bloomfilter.BitSetBloomFilter
构造一个布隆过滤器,过滤器的容量为c * k 个bit.
BitStatusUtil - Class in cn.hutool.core.math
通过位运算表示状态的工具类
参数必须是 `偶数` 且 `大于等于0`! 工具实现见博客:https://blog.starxg.com/2020/11/bit-status/
BitStatusUtil() - Constructor for class cn.hutool.core.math.BitStatusUtil
 
bkdrHash(String) - Static method in class cn.hutool.core.util.HashUtil
BKDR算法
blankToDefault(CharSequence, String) - Static method in class cn.hutool.core.text.CharSequenceUtil
如果字符串是null或者""或者空白,则返回指定默认字符串,否则返回字符串本身。
blobToStr(Blob, Charset) - Static method in class cn.hutool.db.sql.SqlUtil
Blob字段值转字符串
block - Variable in class cn.hutool.core.img.gif.GifDecoder
 
BlockPolicy - Class in cn.hutool.core.thread
当任务队列过长时处于阻塞状态,直到添加到队列中 如果阻塞过程中被中断,就会抛出InterruptedException异常
有时候在线程池内访问第三方接口,只希望固定并发数去访问,并且不希望丢弃任务时使用此策略,队列满的时候会处于阻塞状态(例如刷库的场景)
BlockPolicy(Consumer<Runnable>) - Constructor for class cn.hutool.core.thread.BlockPolicy
构造
BlockPolicy() - Constructor for class cn.hutool.core.thread.BlockPolicy
构造
blockSize - Variable in class cn.hutool.core.img.gif.GifDecoder
 
BloomFilter - Interface in cn.hutool.bloomfilter
Bloom filter 是由 Howard Bloom 在 1970 年提出的二进制向量数据结构,它具有很好的空间和时间效率,被用来检测一个元素是不是集合中的一个成员。
如果检测结果为是,该元素不一定在集合中;但如果检测结果为否,该元素一定不在集合中。
因此Bloom filter具有100%的召回率。这样每个检测请求返回有“在集合内(可能错误)”和“不在集合内(绝对不在集合内)”两种情况。
BloomFilterUtil - Class in cn.hutool.bloomfilter
布隆过滤器工具
BloomFilterUtil() - Constructor for class cn.hutool.bloomfilter.BloomFilterUtil
 
body - Variable in class cn.hutool.http.HttpBase
存储主体
body(String) - Method in class cn.hutool.http.HttpRequest
设置内容主体
请求体body参数支持两种类型:
body(String, String) - Method in class cn.hutool.http.HttpRequest
设置内容主体
请求体body参数支持两种类型:
body(byte[]) - Method in class cn.hutool.http.HttpRequest
设置主体字节码
需在此方法调用前使用charset方法设置编码,否则使用默认编码UTF-8
body(Resource) - Method in class cn.hutool.http.HttpRequest
设置主体字节码
需在此方法调用前使用charset方法设置编码,否则使用默认编码UTF-8
body(byte[]) - Method in class cn.hutool.http.HttpResponse
设置主体字节码
需在此方法调用前使用charset方法设置编码,否则使用默认编码UTF-8
body() - Method in class cn.hutool.http.HttpResponse
获取响应主体
bodyBytes() - Method in class cn.hutool.http.HttpBase
获取bodyBytes存储字节码
bodyBytes() - Method in class cn.hutool.http.HttpResponse
获取响应流字节码
此方法会转为同步模式
bodyStream() - Method in class cn.hutool.http.HttpResponse
获得服务区响应流
异步模式下获取Http原生流,同步模式下获取获取到的在内存中的副本
如果想在同步模式下获取流,请先调用HttpResponse.sync()方法强制同步
流获取后处理完毕需关闭此类
BOMInputStream - Class in cn.hutool.core.io
读取带BOM头的流内容,getCharset()方法调用后会得到BOM头的编码,且会去除BOM头
BOM定义:http://www.unicode.org/unicode/faq/utf_bom.html
00 00 FE FF = UTF-32, big-endian FF FE 00 00 = UTF-32, little-endian EF BB BF = UTF-8 FE FF = UTF-16, big-endian FF FE = UTF-16, little-endian 使用:
String enc = "UTF-8"; // or NULL to use systemdefault
FileInputStream fis = new FileInputStream(file);
BOMInputStream uin = new BOMInputStream(fis, enc);
enc = uin.getCharset(); // check and skip possible BOM bytes


参考: http://akini.mbnet.fi/java/unicodereader/UnicodeInputStream.java.txt
BOMInputStream(InputStream) - Constructor for class cn.hutool.core.io.BOMInputStream
构造
BOMInputStream(InputStream, String) - Constructor for class cn.hutool.core.io.BOMInputStream
构造
BomReader - Class in cn.hutool.core.io
读取带BOM头的流内容的Reader,如果非bom的流或无法识别的编码,则默认UTF-8
BOM定义:http://www.unicode.org/unicode/faq/utf_bom.html 00 00 FE FF = UTF-32, big-endian FF FE 00 00 = UTF-32, little-endian EF BB BF = UTF-8 FE FF = UTF-16, big-endian FF FE = UTF-16, little-endian 使用:
FileInputStream fis = new FileInputStream(file);
BomReader uin = new BomReader(fis);
BomReader(InputStream) - Constructor for class cn.hutool.core.io.BomReader
构造
BoolArrayMatcher - Class in cn.hutool.cron.pattern.matcher
将表达式中的数字值列表转换为Boolean数组,匹配时匹配相应数组位
BoolArrayMatcher(List<Integer>) - Constructor for class cn.hutool.cron.pattern.matcher.BoolArrayMatcher
构造
BooleanCellSetter - Class in cn.hutool.poi.excel.cell.setters
Boolean 值单元格设置器
BooleanConverter - Class in cn.hutool.core.convert.impl
布尔转换器
BooleanConverter() - Constructor for class cn.hutool.core.convert.impl.BooleanConverter
 
BooleanUtil - Class in cn.hutool.core.util
Boolean类型相关工具类
BooleanUtil() - Constructor for class cn.hutool.core.util.BooleanUtil
 
Bopomofo4jEngine - Class in cn.hutool.extra.pinyin.engine.bopomofo4j
封装了Bopomofo4j的引擎。
Bopomofo4jEngine() - Constructor for class cn.hutool.extra.pinyin.engine.bopomofo4j.Bopomofo4jEngine
 
boundary - Variable in class cn.hutool.core.net.multipart.MultipartRequestInputStream
part部分边界
BoundedPriorityQueue<E> - Class in cn.hutool.core.collection
有界优先队列
按照给定的排序规则,排序元素,当队列满时,按照给定的排序规则淘汰末尾元素(去除末尾元素)
BoundedPriorityQueue(int) - Constructor for class cn.hutool.core.collection.BoundedPriorityQueue
 
BoundedPriorityQueue(int, Comparator<? super E>) - Constructor for class cn.hutool.core.collection.BoundedPriorityQueue
构造
BRACKET_END - Static variable in interface cn.hutool.core.text.CharPool
字符常量:中括号(右) ']'
BRACKET_END - Static variable in interface cn.hutool.core.text.StrPool
字符串常量:中括号(右) "]"
BRACKET_START - Static variable in interface cn.hutool.core.text.CharPool
字符常量:中括号(左) '['
BRACKET_START - Static variable in interface cn.hutool.core.text.StrPool
字符串常量:中括号(左) "["
brief(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
将给定字符串,变成 "xxx...xxx" 形式的字符串 abcdefgh 9 -》 abcdefgh abcdefgh 8 -》 abcdefgh abcdefgh 7 -》 ab...gh abcdefgh 6 -》 ab...h abcdefgh 5 -》 a...h abcdefgh 4 -》 a..h abcdefgh 3 -》 a.h abcdefgh 2 -》 a. abcdefgh 1 -》 a abcdefgh 0 -》 abcdefgh abcdefgh -1 -》 abcdefgh
browers - Static variable in class cn.hutool.http.useragent.Browser
支持的浏览器类型
browse(String) - Static method in class cn.hutool.core.swing.DesktopUtil
使用平台默认浏览器打开指定URL地址
browse(URI) - Static method in class cn.hutool.core.swing.DesktopUtil
使用平台默认浏览器打开指定URI地址
Browser - Class in cn.hutool.http.useragent
浏览器对象
Browser(String, String, String) - Constructor for class cn.hutool.http.useragent.Browser
构造
BufferedImageLuminanceSource - Class in cn.hutool.extra.qrcode
BufferedImage 图片二维码源
来自:http://blog.csdn.net/yangxin_blog/article/details/50850701
此类同样在zxing-j2se包中也有提供
BufferedImageLuminanceSource(BufferedImage) - Constructor for class cn.hutool.extra.qrcode.BufferedImageLuminanceSource
构造
BufferedImageLuminanceSource(BufferedImage, int, int, int, int) - Constructor for class cn.hutool.extra.qrcode.BufferedImageLuminanceSource
构造
bufferSize - Variable in class cn.hutool.core.io.copy.IoCopier
 
bufferSize(long) - Method in class cn.hutool.core.io.copy.IoCopier
缓存大小,取默认缓存和目标长度最小值
BufferUtil - Class in cn.hutool.core.io
ByteBuffer 工具类
此工具来自于 t-io 项目以及其它项目的相关部分收集
ByteBuffer的相关介绍见:https://www.cnblogs.com/ruber/p/6857159.html
BufferUtil() - Constructor for class cn.hutool.core.io.BufferUtil
 
build() - Method in interface cn.hutool.core.builder.Builder
构建
build() - 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.
build() - Method in class cn.hutool.core.builder.EqualsBuilder
Returns true if the fields that have been checked are all equal.
build() - Method in class cn.hutool.core.builder.GenericBuilder
构建
build() - Method in class cn.hutool.core.builder.HashCodeBuilder
Returns the computed hashCode.
build() - Method in class cn.hutool.core.lang.tree.TreeBuilder
 
build(List<TreeNode<Integer>>) - Static method in class cn.hutool.core.lang.tree.TreeUtil
树构建
build(List<TreeNode<E>>, E) - Static method in class cn.hutool.core.lang.tree.TreeUtil
树构建
build(List<T>, E, NodeParser<T, E>) - Static method in class cn.hutool.core.lang.tree.TreeUtil
树构建
build(List<T>, E, TreeNodeConfig, NodeParser<T, E>) - Static method in class cn.hutool.core.lang.tree.TreeUtil
树构建
build(Map<E, Tree<E>>, E) - Static method in class cn.hutool.core.lang.tree.TreeUtil
树构建,按照权重排序
build() - Method in class cn.hutool.core.map.MapBuilder
创建后的map
build() - Method in class cn.hutool.core.net.SSLContextBuilder
build() - Method in class cn.hutool.core.net.url.UrlBuilder
创建URL字符串
build(Charset) - Method in class cn.hutool.core.net.url.UrlPath
构建path,前面带'/'
build(Charset, boolean) - Method in class cn.hutool.core.net.url.UrlPath
构建path,前面带'/'
build(Charset) - Method in class cn.hutool.core.net.url.UrlQuery
构建URL查询字符串,即将key-value键值对转换为key1=v1&key2=v2&key3=v3形式。
对于null处理规则如下: 如果key为null,则这个键值对忽略 如果value为null,只保留key,如key1对应value为null生成类似于key1&key2=v2形式
build(Charset, boolean) - Method in class cn.hutool.core.net.url.UrlQuery
构建URL查询字符串,即将key-value键值对转换为key1=v1&key2=v2&key3=v3形式。
对于null处理规则如下: 如果key为null,则这个键值对忽略 如果value为null,只保留key,如key1对应value为null生成类似于key1&key2=v2形式
build(PercentCodec, PercentCodec, Charset) - Method in class cn.hutool.core.net.url.UrlQuery
构建URL查询字符串,即将key-value键值对转换为key1=v1&key2=v2&key3=v3形式。
对于null处理规则如下: 如果key为null,则这个键值对忽略 如果value为null,只保留key,如key1对应value为null生成类似于key1&key2=v2形式
build(PercentCodec, PercentCodec, Charset, boolean) - Method in class cn.hutool.core.net.url.UrlQuery
构建URL查询字符串,即将key-value键值对转换为key1=v1&key2=v2&key3=v3形式。
对于null处理规则如下: 如果key为null,则这个键值对忽略 如果value为null,只保留key,如key1对应value为null生成类似于key1&key2=v2形式
build() - Method in class cn.hutool.core.thread.ExecutorBuilder
构建ThreadPoolExecutor
build() - Method in class cn.hutool.core.thread.ThreadFactoryBuilder
build() - Method in class cn.hutool.cron.pattern.CronPatternBuilder
 
build() - Method in class cn.hutool.db.sql.ConditionBuilder
构建组合条件
例如:name = ? AND type IN (?, ?) AND other LIKE ?
build(List<Object>) - Method in class cn.hutool.db.sql.ConditionBuilder
构建组合条件
例如:name = ? AND type IN (?, ?) AND other LIKE ?
build() - Method in class cn.hutool.db.sql.SqlBuilder
构建,默认打印SQL日志
build() - Method in class cn.hutool.extra.mail.Mail
 
build(String, Charset) - Static method in enum cn.hutool.http.ContentType
输出Content-Type字符串,附带编码信息
build(ContentType, Charset) - Static method in enum cn.hutool.http.ContentType
输出Content-Type字符串,附带编码信息
build() - Method in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
Deprecated.
构建SSLSocketFactory
buildBasicAuth(String, String, Charset) - Static method in class cn.hutool.http.HttpUtil
构建简单的账号秘密验证信息,构建后类似于:
buildChecked() - Method in class cn.hutool.core.net.SSLContextBuilder
构建SSLContext需要处理异常
buildConditions(Entity) - Static method in class cn.hutool.db.sql.SqlUtil
通过实体对象构建条件对象
buildEqualsWhere(Entity, List<Object>) - Static method in class cn.hutool.db.sql.SqlUtil
构件相等条件的where语句
如果没有条件语句,泽返回空串,表示没有条件
Builder<T> - Interface in cn.hutool.core.builder
建造者模式接口定义
builder() - Static method in class cn.hutool.core.map.MapUtil
创建链接调用map
builder(Map<K, V>) - Static method in class cn.hutool.core.map.MapUtil
创建链接调用map
builder(K, V) - Static method in class cn.hutool.core.map.MapUtil
创建链接调用map
builder(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
创建StringBuilder对象
builder() - Static method in class cn.hutool.core.util.StrUtil
创建StringBuilder对象
builder(int) - Static method in class cn.hutool.core.util.StrUtil
创建StringBuilder对象
buildFinalizable() - Method in class cn.hutool.core.thread.ExecutorBuilder
创建有回收关闭功能的ExecutorService
buildInetSocketAddress(String, int) - Static method in class cn.hutool.core.net.NetUtil
构建InetSocketAddress
当host中包含端口时(用“:”隔开),使用host中的端口,否则使用默认端口
给定host为空时使用本地host(127.0.0.1)
buildLikeValue(String, Condition.LikeType, boolean) - Static method in class cn.hutool.db.sql.SqlUtil
创建LIKE语句中的值,创建的结果为:
buildList() - Method in class cn.hutool.core.lang.tree.TreeBuilder
构建树列表,没有顶层节点,例如:
buildQuery(Map<String, ?>, Charset) - Static method in class cn.hutool.core.util.URLUtil
将Map形式的Form表单数据转换为Url参数形式
paramMap中如果key为空(null和"")会被忽略,如果value为null,会被做为空白符("")
会自动url编码键和值
buildQuietly() - Method in class cn.hutool.core.net.SSLContextBuilder
buildSingle(List<TreeNode<Integer>>) - Static method in class cn.hutool.core.lang.tree.TreeUtil
构建单root节点树
buildSingle(List<TreeNode<E>>, E) - Static method in class cn.hutool.core.lang.tree.TreeUtil
构建单root节点树
它会生成一个以指定ID为ID的空的节点,然后逐级增加子节点。
buildSingle(List<T>, E, NodeParser<T, E>) - Static method in class cn.hutool.core.lang.tree.TreeUtil
构建单root节点树
它会生成一个以指定ID为ID的空的节点,然后逐级增加子节点。
buildSingle(List<T>, E, TreeNodeConfig, NodeParser<T, E>) - Static method in class cn.hutool.core.lang.tree.TreeUtil
构建单root节点树
它会生成一个以指定ID为ID的空的节点,然后逐级增加子节点。
buildSingle(Map<E, Tree<E>>, E) - Static method in class cn.hutool.core.lang.tree.TreeUtil
单点树构建,按照权重排序
它会生成一个以指定ID为ID的空的节点,然后逐级增加子节点。
byteBuffer(CharSequence, String) - Static method in class cn.hutool.core.text.CharSequenceUtil
字符串转换为byteBuffer
byteLength(CharSequence, Charset) - Static method in class cn.hutool.core.text.CharSequenceUtil
给定字符串转为bytes后的byte数(byte长度)
bytes(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
编码字符串
使用系统默认编码
bytes(CharSequence, String) - Static method in class cn.hutool.core.text.CharSequenceUtil
编码字符串
bytes(CharSequence, Charset) - Static method in class cn.hutool.core.text.CharSequenceUtil
编码字符串
BytesBody - Class in cn.hutool.http.body
bytes类型的Http request body,主要发送编码后的表单数据或rest body(如JSON或XML)
BytesBody(byte[]) - Constructor for class cn.hutool.http.body.BytesBody
构造
BytesResource - Class in cn.hutool.core.io.resource
基于byte[]的资源获取器
注意:此对象中getUrl方法始终返回null
BytesResource(byte[]) - Constructor for class cn.hutool.core.io.resource.BytesResource
构造
BytesResource(byte[], String) - Constructor for class cn.hutool.core.io.resource.BytesResource
构造
bytesToDouble(byte[]) - Static method in class cn.hutool.core.util.ByteUtil
byte数组转Double
默认以小端序转换
bytesToDouble(byte[], ByteOrder) - Static method in class cn.hutool.core.util.ByteUtil
byte数组转double
自定义端序
bytesToFloat(byte[]) - Static method in class cn.hutool.core.util.ByteUtil
byte数组转float
默认以小端序转换
bytesToFloat(byte[], ByteOrder) - Static method in class cn.hutool.core.util.ByteUtil
byte数组转float
自定义端序
bytesToInt(byte[]) - Static method in class cn.hutool.core.convert.Convert
byte[]转int值
默认以小端序转换
bytesToInt(byte[]) - Static method in class cn.hutool.core.util.ByteUtil
byte[]转int值
默认以小端序转换
bytesToInt(byte[], ByteOrder) - Static method in class cn.hutool.core.util.ByteUtil
byte[]转int值
自定义端序
bytesToInt(byte[], int, ByteOrder) - Static method in class cn.hutool.core.util.ByteUtil
byte[]转int值
自定义端序
bytesToLong(byte[]) - Static method in class cn.hutool.core.convert.Convert
bytesToLong(byte[]) - Static method in class cn.hutool.core.util.ByteUtil
byte数组转long
默认以小端序转换
from: https://stackoverflow.com/questions/4485128/how-do-i-convert-long-to-byte-and-back-in-java
bytesToLong(byte[], ByteOrder) - Static method in class cn.hutool.core.util.ByteUtil
byte数组转long
自定义端序
from: https://stackoverflow.com/questions/4485128/how-do-i-convert-long-to-byte-and-back-in-java
bytesToLong(byte[], int, ByteOrder) - Static method in class cn.hutool.core.util.ByteUtil
byte数组转long
自定义端序
from: https://stackoverflow.com/questions/4485128/how-do-i-convert-long-to-byte-and-back-in-java
bytesToNumber(byte[], Class<T>, ByteOrder) - Static method in class cn.hutool.core.util.ByteUtil
byte数组转换为指定类型数字
bytesToShort(byte[]) - Static method in class cn.hutool.core.convert.Convert
byte数组转short
默认以小端序转换
bytesToShort(byte[]) - Static method in class cn.hutool.core.util.ByteUtil
byte数组转short
默认以小端序转换
bytesToShort(byte[], ByteOrder) - Static method in class cn.hutool.core.util.ByteUtil
byte数组转short
自定义端序
bytesToShort(byte[], int, ByteOrder) - Static method in class cn.hutool.core.util.ByteUtil
byte数组转short
自定义端序
byteToUnsignedInt(byte) - Static method in class cn.hutool.core.convert.Convert
byte转无符号int
byteToUnsignedInt(byte) - Static method in class cn.hutool.core.util.ByteUtil
byte转无符号int
ByteUtil - Class in cn.hutool.core.util
对数字和字节进行转换。
假设数据存储是以大端模式存储的:
byte: 字节类型 占8位二进制 00000000 char: 字符类型 占2个字节 16位二进制 byte[0] byte[1] int : 整数类型 占4个字节 32位二进制 byte[0] byte[1] byte[2] byte[3] long: 长整数类型 占8个字节 64位二进制 byte[0] byte[1] byte[2] byte[3] byte[4] byte[5] long: 长整数类型 占8个字节 64位二进制 byte[0] byte[1] byte[2] byte[3] byte[4] byte[5] byte[6] byte[7] float: 浮点数(小数) 占4个字节 32位二进制 byte[0] byte[1] byte[2] byte[3] double: 双精度浮点数(小数) 占8个字节 64位二进制 byte[0] byte[1] byte[2] byte[3] byte[4]byte[5] byte[6] byte[7] 注:注释来自Hanlp,代码提供来自pr#1492@Github
ByteUtil() - Constructor for class cn.hutool.core.util.ByteUtil
 
byteValue() - Method in class cn.hutool.core.lang.mutable.MutableByte
 

C

C3p0DSFactory - Class in cn.hutool.db.ds.c3p0
Druid数据源工厂类
C3p0DSFactory() - Constructor for class cn.hutool.db.ds.c3p0.C3p0DSFactory
构造,使用默认配置
C3p0DSFactory(Setting) - Constructor for class cn.hutool.db.ds.c3p0.C3p0DSFactory
构造
C_AT - Static variable in interface cn.hutool.core.text.StrPool
字符常量:艾特 '@'
C_BACKSLASH - Static variable in interface cn.hutool.core.text.StrPool
字符常量:反斜杠 '\\'
C_BRACKET_END - Static variable in interface cn.hutool.core.text.StrPool
字符常量:中括号(右) ']'
C_BRACKET_START - Static variable in interface cn.hutool.core.text.StrPool
字符常量:中括号(左) '['
C_COLON - Static variable in interface cn.hutool.core.text.StrPool
字符常量:冒号 ':'
C_COMMA - Static variable in interface cn.hutool.core.text.StrPool
字符常量:逗号 ','
C_CR - Static variable in interface cn.hutool.core.text.StrPool
字符常量:回车符 '\r'
C_DELIM_END - Static variable in interface cn.hutool.core.text.StrPool
字符常量:花括号(右) '}'
C_DELIM_START - Static variable in interface cn.hutool.core.text.StrPool
字符常量:花括号(左) '{'
C_DOT - Static variable in interface cn.hutool.core.text.StrPool
字符常量:点 '.'
C_LF - Static variable in interface cn.hutool.core.text.StrPool
字符常量:换行符 '\n'
C_SLASH - Static variable in interface cn.hutool.core.text.StrPool
字符常量:斜杠 '/'
C_SPACE - Static variable in interface cn.hutool.core.text.StrPool
字符常量:空格符 ' '
C_TAB - Static variable in interface cn.hutool.core.text.StrPool
字符常量:制表符 '\t'
C_UNDERLINE - Static variable in interface cn.hutool.core.text.StrPool
字符常量:下划线 '_'
Cache<K,V> - Interface in cn.hutool.cache
缓存接口
cache - Variable in class cn.hutool.cache.file.AbstractFileCache
缓存实现
CacheableAnnotationAttribute - Class in cn.hutool.core.annotation
AnnotationAttribute的基本实现
CacheableAnnotationAttribute(Annotation, Method) - Constructor for class cn.hutool.core.annotation.CacheableAnnotationAttribute
 
CacheableSynthesizedAnnotationAttributeProcessor - Class in cn.hutool.core.annotation
带缓存功能的SynthesizedAnnotationAttributeProcessor实现, 构建时需要传入比较器,获取属性值时将根据比较器对合成注解进行排序, 然后选择具有所需属性的,排序最靠前的注解用于获取属性值
CacheableSynthesizedAnnotationAttributeProcessor(Comparator<Hierarchical>) - Constructor for class cn.hutool.core.annotation.CacheableSynthesizedAnnotationAttributeProcessor
创建一个带缓存的注解值选择器
CacheableSynthesizedAnnotationAttributeProcessor() - Constructor for class cn.hutool.core.annotation.CacheableSynthesizedAnnotationAttributeProcessor
创建一个带缓存的注解值选择器, 默认按SynthesizedAnnotation.getVerticalDistance()SynthesizedAnnotation.getHorizontalDistance()排序, 越靠前的越优先被取值。
CacheListener<K,V> - Interface in cn.hutool.cache
缓存监听,用于实现缓存操作时的回调监听,例如缓存对象的移除事件等
cacheMap - Variable in class cn.hutool.cache.impl.AbstractCache
 
CacheObj<K,V> - Class in cn.hutool.cache.impl
缓存对象
CacheObj(K, V, long) - Constructor for class cn.hutool.cache.impl.CacheObj
构造
cacheObjIter() - Method in class cn.hutool.cache.impl.AbstractCache
获取所有CacheObj值的Iterator形式
cacheObjIterator() - Method in interface cn.hutool.cache.Cache
返回包含键和值得迭代器
CacheObjIterator<K,V> - Class in cn.hutool.cache.impl
AbstractCache 的CacheObj迭代器.
cacheObjIterator() - Method in class cn.hutool.cache.impl.NoCache
 
cacheObjIterator() - Method in class cn.hutool.cache.impl.ReentrantCache
 
cacheObjIterator() - Method in class cn.hutool.cache.impl.StampedCache
 
CacheUtil - Class in cn.hutool.cache
缓存工具类
CacheUtil() - Constructor for class cn.hutool.cache.CacheUtil
 
CacheValuesIterator<V> - Class in cn.hutool.cache.impl
AbstractCache 的值迭代器.
Caesar - Class in cn.hutool.core.codec
凯撒密码实现
算法来自:https://github.com/zhaorenjie110/SymmetricEncryptionAndDecryption
Caesar() - Constructor for class cn.hutool.core.codec.Caesar
 
calculate(String) - Method in class cn.hutool.core.math.Calculator
按照给定的表达式计算
calculate(String) - Static method in class cn.hutool.core.util.NumberUtil
计算数学表达式的值,只支持加减乘除和取余
如:
   calculate("(0*1--3)-5/-4-(3*(-2.13))") -》 10.64
Calculator - Class in cn.hutool.core.math
数学表达式计算工具类
见:https://github.com/dromara/hutool/issues/1090#issuecomment-693750140
Calculator() - Constructor for class cn.hutool.core.math.Calculator
 
calendar() - Static method in class cn.hutool.core.date.CalendarUtil
创建Calendar对象,时间为默认时区的当前时间
calendar(Date) - Static method in class cn.hutool.core.date.CalendarUtil
转换为Calendar对象
calendar(long) - Static method in class cn.hutool.core.date.CalendarUtil
转换为Calendar对象,使用当前默认时区
calendar(long, TimeZone) - Static method in class cn.hutool.core.date.CalendarUtil
转换为Calendar对象
CalendarCellSetter - Class in cn.hutool.poi.excel.cell.setters
Calendar 值单元格设置器
CalendarConverter - Class in cn.hutool.core.convert.impl
日期转换器
CalendarConverter() - Constructor for class cn.hutool.core.convert.impl.CalendarConverter
 
CalendarUtil - Class in cn.hutool.core.date
针对Calendar 对象封装工具类
CalendarUtil() - Constructor for class cn.hutool.core.date.CalendarUtil
 
call() - Method in interface cn.hutool.core.exceptions.CheckedUtil.Func0Rt
 
call(P) - Method in interface cn.hutool.core.exceptions.CheckedUtil.Func1Rt
 
call(P...) - Method in interface cn.hutool.core.exceptions.CheckedUtil.FuncRt
 
call() - Method in interface cn.hutool.core.exceptions.CheckedUtil.VoidFunc0Rt
 
call(P) - Method in interface cn.hutool.core.exceptions.CheckedUtil.VoidFunc1Rt
 
call(P...) - Method in interface cn.hutool.core.exceptions.CheckedUtil.VoidFuncRt
 
call(P...) - Method in interface cn.hutool.core.lang.func.Func
执行函数
call() - Method in interface cn.hutool.core.lang.func.Func0
执行函数
call(P) - Method in interface cn.hutool.core.lang.func.Func1
执行函数
call(P...) - Method in interface cn.hutool.core.lang.func.VoidFunc
执行函数
call() - Method in interface cn.hutool.core.lang.func.VoidFunc0
执行函数
call(P) - Method in interface cn.hutool.core.lang.func.VoidFunc1
执行函数
call(Connection, String, Object...) - Static method in class cn.hutool.db.sql.SqlExecutor
执行调用存储过程
此方法不会关闭Connection
callbackRead() - Method in class cn.hutool.socket.aio.AioSession
执行读,用于读取事件结束的回调
Caller - Interface in cn.hutool.core.lang.caller
调用者接口
可以通过此接口的实现类方法获取调用者、多级调用者以及判断是否被调用
CallerUtil - Class in cn.hutool.core.lang.caller
调用者。可以通过此类的方法获取调用者、多级调用者以及判断是否被调用
CallerUtil() - Constructor for class cn.hutool.core.lang.caller.CallerUtil
 
callQuery(Connection, String, Object...) - Static method in class cn.hutool.db.sql.SqlExecutor
执行调用存储过程
此方法不会关闭Connection
callWithRuntimeException(P...) - Method in interface cn.hutool.core.lang.func.Func
执行函数,异常包装为RuntimeException
callWithRuntimeException() - Method in interface cn.hutool.core.lang.func.Func0
执行函数,异常包装为RuntimeException
callWithRuntimeException(P) - Method in interface cn.hutool.core.lang.func.Func1
执行函数,异常包装为RuntimeException
callWithRuntimeException(P...) - Method in interface cn.hutool.core.lang.func.VoidFunc
执行函数,异常包装为RuntimeException
callWithRuntimeException() - Method in interface cn.hutool.core.lang.func.VoidFunc0
执行函数,异常包装为RuntimeException
callWithRuntimeException(P) - Method in interface cn.hutool.core.lang.func.VoidFunc1
执行函数,异常包装为RuntimeException
CamelCaseLinkedMap<K,V> - Class in cn.hutool.core.map
驼峰Key风格的LinkedHashMap
对KEY转换为驼峰,get("int_value")和get("intValue")获得的值相同,put进入的值也会被覆盖
CamelCaseLinkedMap() - Constructor for class cn.hutool.core.map.CamelCaseLinkedMap
构造
CamelCaseLinkedMap(int) - Constructor for class cn.hutool.core.map.CamelCaseLinkedMap
构造
CamelCaseLinkedMap(Map<? extends K, ? extends V>) - Constructor for class cn.hutool.core.map.CamelCaseLinkedMap
构造
CamelCaseLinkedMap(float, Map<? extends K, ? extends V>) - Constructor for class cn.hutool.core.map.CamelCaseLinkedMap
构造
CamelCaseLinkedMap(int, float) - Constructor for class cn.hutool.core.map.CamelCaseLinkedMap
构造
CamelCaseMap<K,V> - Class in cn.hutool.core.map
驼峰Key风格的Map
对KEY转换为驼峰,get("int_value")和get("intValue")获得的值相同,put进入的值也会被覆盖
CamelCaseMap() - Constructor for class cn.hutool.core.map.CamelCaseMap
构造
CamelCaseMap(int) - Constructor for class cn.hutool.core.map.CamelCaseMap
构造
CamelCaseMap(Map<? extends K, ? extends V>) - Constructor for class cn.hutool.core.map.CamelCaseMap
构造
CamelCaseMap(float, Map<? extends K, ? extends V>) - Constructor for class cn.hutool.core.map.CamelCaseMap
构造
CamelCaseMap(int, float) - Constructor for class cn.hutool.core.map.CamelCaseMap
构造
cancel() - Method in class cn.hutool.db.sql.StatementWrapper
 
cancelPruneSchedule() - Method in class cn.hutool.cache.impl.TimedCache
取消定时清理
capacity() - Method in interface cn.hutool.cache.Cache
返回缓存容量,0表示无大小限制
capacity - Variable in class cn.hutool.cache.file.AbstractFileCache
容量
capacity() - Method in class cn.hutool.cache.file.AbstractFileCache
 
capacity - Variable in class cn.hutool.cache.impl.AbstractCache
返回缓存容量,0表示无大小限制
capacity() - Method in class cn.hutool.cache.impl.AbstractCache
 
capacity() - Method in class cn.hutool.cache.impl.NoCache
 
CaptchaUtil - Class in cn.hutool.captcha
图形验证码工具
CaptchaUtil() - Constructor for class cn.hutool.captcha.CaptchaUtil
 
captureScreen() - Static method in class cn.hutool.core.swing.RobotUtil
截取全屏
captureScreen(File) - Static method in class cn.hutool.core.swing.RobotUtil
截取全屏到文件
captureScreen(Rectangle) - Static method in class cn.hutool.core.swing.RobotUtil
截屏
captureScreen(Rectangle, File) - Static method in class cn.hutool.core.swing.RobotUtil
截屏
captureScreen() - Static method in class cn.hutool.core.swing.ScreenUtil
截取全屏
captureScreen(File) - Static method in class cn.hutool.core.swing.ScreenUtil
截取全屏到文件
captureScreen(Rectangle) - Static method in class cn.hutool.core.swing.ScreenUtil
截屏
captureScreen(Rectangle, File) - Static method in class cn.hutool.core.swing.ScreenUtil
截屏
CAR_DRIVING_LICENCE - Static variable in class cn.hutool.core.lang.PatternPool
驾驶证 别名:驾驶证档案编号、行驶证编号 eg:430101758218 12位数字字符串 仅限:中国驾驶证档案编号
CAR_DRIVING_LICENCE - Static variable in interface cn.hutool.core.lang.RegexPool
驾驶证 别名:驾驶证档案编号、行驶证编号 eg:430101758218 12位数字字符串 仅限:中国驾驶证档案编号
CAR_DRIVING_LICENCE - Static variable in class cn.hutool.core.lang.Validator
驾驶证 别名:驾驶证档案编号、行驶证编号;12位数字字符串;仅限:中国驾驶证档案编号
CAR_VIN - Static variable in class cn.hutool.core.lang.PatternPool
车架号(车辆识别代号由世界制造厂识别代号(WMI、车辆说明部分(VDS)车辆指示部分(VIS)三部分组成,共 17 位字码。)
别名:车辆识别代号、车辆识别码、车架号、十七位码
标准号:GB 16735-2019
标准官方地址:https://openstd.samr.gov.cn/bzgk/gb/newGbInfo?hcno=E2EBF667F8C032B1EDFD6DF9C1114E02 对年产量大于或等于1 000 辆的完整车辆和/或非完整车辆制造厂:
CAR_VIN - Static variable in interface cn.hutool.core.lang.RegexPool
车架号(车辆识别代号由世界制造厂识别代号(WMI、车辆说明部分(VDS)车辆指示部分(VIS)三部分组成,共 17 位字码。)
别名:车辆识别代号、车辆识别码、车架号、十七位码
标准号:GB 16735-2019
标准官方地址:https://openstd.samr.gov.cn/bzgk/gb/newGbInfo?hcno=E2EBF667F8C032B1EDFD6DF9C1114E02 对年产量大于或等于1 000 辆的完整车辆和/或非完整车辆制造厂:
CAR_VIN - Static variable in class cn.hutool.core.lang.Validator
车架号;别名:车辆识别代号 车辆识别码;十七位码
carLicense(String) - Static method in class cn.hutool.core.util.DesensitizedUtil
【中国车牌】车牌中间用*代替 eg1:null -》 "" eg1:"" -》 "" eg3:苏D40000 -》 苏D4***0 eg4:陕A12345D -》 陕A1****D eg5:京A123 -》 京A123 如果是错误的车牌,不处理
caseInsensitive - Variable in class cn.hutool.db.AbstractDb
是否大小写不敏感(默认大小写不敏感)
caseInsensitive - Variable in class cn.hutool.db.DialectRunner
是否大小写不敏感(默认大小写不敏感)
caseInsensitive - Static variable in class cn.hutool.db.GlobalDbConfig
是否大小写不敏感(默认大小写不敏感)
CaseInsensitiveLinkedMap<K,V> - Class in cn.hutool.core.map
忽略大小写的LinkedHashMap
对KEY忽略大小写,get("Value")和get("value")获得的值相同,put进入的值也会被覆盖
CaseInsensitiveLinkedMap() - Constructor for class cn.hutool.core.map.CaseInsensitiveLinkedMap
构造
CaseInsensitiveLinkedMap(int) - Constructor for class cn.hutool.core.map.CaseInsensitiveLinkedMap
构造
CaseInsensitiveLinkedMap(Map<? extends K, ? extends V>) - Constructor for class cn.hutool.core.map.CaseInsensitiveLinkedMap
构造
CaseInsensitiveLinkedMap(float, Map<? extends K, ? extends V>) - Constructor for class cn.hutool.core.map.CaseInsensitiveLinkedMap
构造
CaseInsensitiveLinkedMap(int, float) - Constructor for class cn.hutool.core.map.CaseInsensitiveLinkedMap
构造
CaseInsensitiveMap<K,V> - Class in cn.hutool.core.map
忽略大小写的Map
对KEY忽略大小写,get("Value")和get("value")获得的值相同,put进入的值也会被覆盖
CaseInsensitiveMap() - Constructor for class cn.hutool.core.map.CaseInsensitiveMap
构造
CaseInsensitiveMap(int) - Constructor for class cn.hutool.core.map.CaseInsensitiveMap
构造
CaseInsensitiveMap(Map<? extends K, ? extends V>) - Constructor for class cn.hutool.core.map.CaseInsensitiveMap
构造
注意此构造将传入的Map所有值复制到当前map中,不修改传入map。
CaseInsensitiveMap(float, Map<? extends K, ? extends V>) - Constructor for class cn.hutool.core.map.CaseInsensitiveMap
构造
CaseInsensitiveMap(int, float) - Constructor for class cn.hutool.core.map.CaseInsensitiveMap
构造
CaseInsensitiveTreeMap<K,V> - Class in cn.hutool.core.map
忽略大小写的TreeMap
对KEY忽略大小写,get("Value")和get("value")获得的值相同,put进入的值也会被覆盖
CaseInsensitiveTreeMap() - Constructor for class cn.hutool.core.map.CaseInsensitiveTreeMap
构造
CaseInsensitiveTreeMap(Map<? extends K, ? extends V>) - Constructor for class cn.hutool.core.map.CaseInsensitiveTreeMap
构造
CaseInsensitiveTreeMap(SortedMap<? extends K, ? extends V>) - Constructor for class cn.hutool.core.map.CaseInsensitiveTreeMap
构造
CaseInsensitiveTreeMap(Comparator<? super K>) - Constructor for class cn.hutool.core.map.CaseInsensitiveTreeMap
构造
cast(Class<?>, Object) - Static method in class cn.hutool.core.util.ArrayUtil
强转数组类型
强制转换的前提是数组元素类型可被强制转换
强制转换后会生成一个新数组
CastConverter<T> - Class in cn.hutool.core.convert.impl
强转转换器
CastConverter() - Constructor for class cn.hutool.core.convert.impl.CastConverter
 
castDown(Collection<? super T>) - Static method in class cn.hutool.core.convert.CastUtil
泛型集合向下转型。例如将Collection<Number>转换为Collection<Integer>
castDown(Set<? super T>) - Static method in class cn.hutool.core.convert.CastUtil
泛型集合向下转型。例如将Set<Number>转换为Set<Integer>
castDown(List<? super T>) - Static method in class cn.hutool.core.convert.CastUtil
泛型集合向下转型。例如将List<Number>转换为List<Integer>
castDown(Map<? super K, ? super V>) - Static method in class cn.hutool.core.convert.CastUtil
泛型集合向下转型。例如将Map<Number,Number>转换为Map<Integer, Integer>
castToBufferedImage(Image, String) - Static method in class cn.hutool.core.img.ImgUtil
ImageBufferedImage
首先尝试强转,否则新建一个BufferedImage后重新绘制,使用 imageType 模式
castToRenderedImage(Image, String) - Static method in class cn.hutool.core.img.ImgUtil
ImageRenderedImage
首先尝试强转,否则新建一个BufferedImage后重新绘制,使用 BufferedImage.TYPE_INT_RGB 模式。
castUp(Collection<? extends T>) - Static method in class cn.hutool.core.convert.CastUtil
泛型集合向上转型。例如将Collection<Integer>转换为Collection<Number>
castUp(Set<? extends T>) - Static method in class cn.hutool.core.convert.CastUtil
泛型集合向上转型。例如将Set<Integer>转换为Set<Number>
castUp(List<? extends T>) - Static method in class cn.hutool.core.convert.CastUtil
泛型接口向上转型。例如将List<Integer>转换为List<Number>
castUp(Map<? extends K, ? extends V>) - Static method in class cn.hutool.core.convert.CastUtil
泛型集合向下转型。例如将Map<Integer, Integer>转换为Map<Number,Number>
CastUtil - Class in cn.hutool.core.convert
转换工具类,提供集合、Map等向上向下转换工具
CastUtil() - Constructor for class cn.hutool.core.convert.CastUtil
 
causeInstanceOf(Class<? extends Throwable>) - Method in exception cn.hutool.core.io.IORuntimeException
导致这个异常的异常是否是指定类型的异常
causeInstanceOf(Class<? extends Throwable>) - Method in exception cn.hutool.core.io.resource.NoResourceException
导致这个异常的异常是否是指定类型的异常
CBCBlockCipherMacEngine - Class in cn.hutool.crypto.digest.mac
CBCBlockCipherMac实现的MAC算法,使用CBC Block方式
CBCBlockCipherMacEngine(BlockCipher, int, Key, byte[]) - Constructor for class cn.hutool.crypto.digest.mac.CBCBlockCipherMacEngine
构造
CBCBlockCipherMacEngine(BlockCipher, int, byte[], byte[]) - Constructor for class cn.hutool.crypto.digest.mac.CBCBlockCipherMacEngine
构造
CBCBlockCipherMacEngine(BlockCipher, int, Key) - Constructor for class cn.hutool.crypto.digest.mac.CBCBlockCipherMacEngine
构造
CBCBlockCipherMacEngine(BlockCipher, int, byte[]) - Constructor for class cn.hutool.crypto.digest.mac.CBCBlockCipherMacEngine
构造
CBCBlockCipherMacEngine(BlockCipher, int, CipherParameters) - Constructor for class cn.hutool.crypto.digest.mac.CBCBlockCipherMacEngine
构造
CBCBlockCipherMacEngine(CBCBlockCipherMac, CipherParameters) - Constructor for class cn.hutool.crypto.digest.mac.CBCBlockCipherMacEngine
构造
cd(String) - Method in class cn.hutool.extra.ftp.AbstractFtp
打开指定目录,具体逻辑取决于实现,例如在FTP中,进入失败返回false, SFTP中则抛出异常
cd(String) - Method in class cn.hutool.extra.ftp.Ftp
改变目录
cd(String) - Method in class cn.hutool.extra.ssh.Sftp
打开指定目录,如果指定路径非目录或不存在抛出异常
cd(String) - Method in class cn.hutool.extra.ssh.SshjSftp
 
ceilDiv(int, int) - Static method in class cn.hutool.core.util.NumberUtil
补充Math.ceilDiv() JDK8中添加了和Math.floorDiv()但却没有ceilDiv()
ceiling(Calendar, DateField) - Static method in class cn.hutool.core.date.CalendarUtil
修改日期为某个时间字段结束时间
ceiling(Calendar, DateField, boolean) - Static method in class cn.hutool.core.date.CalendarUtil
修改日期为某个时间字段结束时间
可选是否归零毫秒。
ceiling(Date, DateField) - Static method in class cn.hutool.core.date.DateUtil
修改日期为某个时间字段结束时间
ceiling(Date, DateField, boolean) - Static method in class cn.hutool.core.date.DateUtil
修改日期为某个时间字段结束时间
可选是否归零毫秒。
CELL_FILL_CHAR - Static variable in class cn.hutool.poi.excel.sax.ExcelSaxUtil
 
CellDataType - Enum in cn.hutool.poi.excel.sax
单元格数据类型枚举
CellEditor - Interface in cn.hutool.poi.excel.cell
单元格编辑器接口
在读取Excel值时,有时我们需要针对所有单元格统一处理结果值(如null转默认值)的情况,实现接口并调用
reader.setCellEditor()设置编辑器
cellEditor - Variable in class cn.hutool.poi.excel.reader.AbstractSheetReader
单元格值处理接口
CellHandler - Interface in cn.hutool.poi.excel.cell
单元格处理器接口
用于在读取Excel单元格值时自定义结果值的获取,如在获取值的同时,获取单元格样式、坐标等信息,或根据单元格信息,装饰转换结果值
CellLocation - Class in cn.hutool.poi.excel.cell
单元格位置
CellLocation(int, int) - Constructor for class cn.hutool.poi.excel.cell.CellLocation
构造
cellSet() - Method in class cn.hutool.core.map.multi.AbsTable
 
cellSet() - Method in interface cn.hutool.core.map.multi.Table
所有单元格集合
CellSetter - Interface in cn.hutool.poi.excel.cell
单元格值自定义设置器,主要用于Excel数据导出,用户通过自定义此接口,实现可定制化的单元格值设定
CellSetterFactory - Class in cn.hutool.poi.excel.cell.setters
CellSetter 简单静态工厂类,用于根据值类型创建对应的CellSetter
CellSetterFactory() - Constructor for class cn.hutool.poi.excel.cell.setters.CellSetterFactory
 
cellStyle - Variable in class cn.hutool.poi.excel.StyleSet
默认样式
cellStyleForDate - Variable in class cn.hutool.poi.excel.StyleSet
默认日期样式
cellStyleForHyperlink - Variable in class cn.hutool.poi.excel.StyleSet
默认链接样式
cellStyleForNumber - Variable in class cn.hutool.poi.excel.StyleSet
默认数字样式
CellUtil - Class in cn.hutool.poi.excel.cell
Excel表格中单元格工具类
CellUtil() - Constructor for class cn.hutool.poi.excel.cell.CellUtil
 
CellValue<T> - Interface in cn.hutool.poi.excel.cell
抽象的单元格值接口,用于判断不同类型的单元格值
center(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
居中字符串,两边补充指定字符串,如果指定长度小于字符串,则返回原字符串
center(CharSequence, int, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
居中字符串,两边补充指定字符串,如果指定长度小于字符串,则返回原字符串
center(CharSequence, int, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
居中字符串,两边补充指定字符串,如果指定长度小于字符串,则返回原字符串
centToYuan(long) - Static method in class cn.hutool.core.math.MathUtil
金额分转换为元
CERT_TYPE_X509 - Static variable in class cn.hutool.crypto.KeyUtil
Certification类型:X.509
CglibInterceptor - Class in cn.hutool.aop.interceptor
Cglib实现的动态代理切面
CglibInterceptor(Object, Aspect) - Constructor for class cn.hutool.aop.interceptor.CglibInterceptor
构造
CglibProxyFactory - Class in cn.hutool.aop.proxy
基于Cglib的切面代理工厂
CglibProxyFactory() - Constructor for class cn.hutool.aop.proxy.CglibProxyFactory
 
CglibUtil - Class in cn.hutool.extra.cglib
Cglib工具类
CglibUtil() - Constructor for class cn.hutool.extra.cglib.CglibUtil
 
CH_ID - Static variable in class cn.hutool.core.stream.CollectorUtil
说明已包含IDENTITY_FINISH特征 为 Characteristics.IDENTITY_FINISH 的缩写
CH_NOID - Static variable in class cn.hutool.core.stream.CollectorUtil
说明不包含IDENTITY_FINISH特征
ChaCha20 - Class in cn.hutool.crypto.symmetric
ChaCha20算法实现
ChaCha系列流密码,作为salsa密码的改良版,具有更强的抵抗密码分析攻击的特性,“20”表示该算法有20轮的加密计算。
ChaCha20(byte[], byte[]) - Constructor for class cn.hutool.crypto.symmetric.ChaCha20
构造
Chain<E,T> - Interface in cn.hutool.core.lang
责任链接口
Chain() - Constructor for class cn.hutool.http.HttpInterceptor.Chain
 
changeC1C2C3ToC1C3C2(byte[], ECDomainParameters) - Static method in class cn.hutool.crypto.SmUtil
bc加解密使用旧标c1||c2||c3,此方法在加密后调用,将结果转化为c1||c3||c2
changeC1C3C2ToC1C2C3(byte[], ECDomainParameters) - Static method in class cn.hutool.crypto.SmUtil
bc加解密使用旧标c1||c3||c2,此方法在解密前调用,将密文转化为c1||c2||c3再去解密
ChannelCopier - Class in cn.hutool.core.io.copy
ChannelCopier() - Constructor for class cn.hutool.core.io.copy.ChannelCopier
构造
ChannelCopier(int) - Constructor for class cn.hutool.core.io.copy.ChannelCopier
构造
ChannelCopier(int, long) - Constructor for class cn.hutool.core.io.copy.ChannelCopier
构造
ChannelCopier(int, long, StreamProgress) - Constructor for class cn.hutool.core.io.copy.ChannelCopier
构造
ChannelHandler - Interface in cn.hutool.socket.nio
NIO数据处理接口,通过实现此接口,可以从SocketChannel中读写数据
ChannelType - Enum in cn.hutool.extra.ssh
Jsch支持的Channel类型
ChannelUtil - Class in cn.hutool.socket
Channel相关封装
ChannelUtil() - Constructor for class cn.hutool.socket.ChannelUtil
 
CharacterConverter - Class in cn.hutool.core.convert.impl
字符转换器
CharacterConverter() - Constructor for class cn.hutool.core.convert.impl.CharacterConverter
 
characteristics() - Method in class cn.hutool.core.collection.TransSpliterator
 
characteristics() - Method in class cn.hutool.core.stream.SimpleCollector
 
characters(char[], int, int) - Method in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
 
charAt(int) - Method in class cn.hutool.core.text.StrBuilder
 
CharFinder - Class in cn.hutool.core.text.finder
字符查找器
查找指定字符在字符串中的位置信息
CharFinder(char) - Constructor for class cn.hutool.core.text.finder.CharFinder
构造,不忽略字符大小写
CharFinder(char, boolean) - Constructor for class cn.hutool.core.text.finder.CharFinder
构造
CharMatcherFinder - Class in cn.hutool.core.text.finder
字符匹配查找器
查找满足指定Matcher 匹配的字符所在位置,此类长用于查找某一类字符,如数字等
CharMatcherFinder(Matcher<Character>) - Constructor for class cn.hutool.core.text.finder.CharMatcherFinder
构造
CharPool - Interface in cn.hutool.core.text
常用字符常量
CharSequenceCellSetter - Class in cn.hutool.poi.excel.cell.setters
CharSequence 值单元格设置器
CharSequenceResource - Class in cn.hutool.core.io.resource
CharSequence资源,字符串做为资源
CharSequenceResource(CharSequence) - Constructor for class cn.hutool.core.io.resource.CharSequenceResource
构造,使用UTF8编码
CharSequenceResource(CharSequence, String) - Constructor for class cn.hutool.core.io.resource.CharSequenceResource
构造,使用UTF8编码
CharSequenceResource(CharSequence, CharSequence, Charset) - Constructor for class cn.hutool.core.io.resource.CharSequenceResource
构造
CharSequenceUtil - Class in cn.hutool.core.text
CharSequence 相关工具类封装
CharSequenceUtil() - Constructor for class cn.hutool.core.text.CharSequenceUtil
 
charset - Variable in class cn.hutool.core.io.file.FileWrapper
 
charset(String) - Static method in class cn.hutool.core.util.CharsetUtil
转换为Charset对象
charset - Variable in class cn.hutool.extra.qrcode.QrConfig
编码
charset - Variable in class cn.hutool.http.HttpBase
编码
charset() - Method in class cn.hutool.http.HttpBase
返回字符集
charset(String) - Method in class cn.hutool.http.HttpBase
设置字符集
charset(Charset) - Method in class cn.hutool.http.HttpBase
设置字符集
charset(Charset) - Method in class cn.hutool.http.webservice.SoapClient
 
charset - Variable in class cn.hutool.setting.Setting
本设置对象的字符集
CHARSET_GBK - Static variable in class cn.hutool.core.util.CharsetUtil
GBK
CHARSET_ISO_8859_1 - Static variable in class cn.hutool.core.util.CharsetUtil
ISO-8859-1
CHARSET_PATTERN - Static variable in class cn.hutool.http.HttpUtil
正则:Content-Type中的编码信息
CHARSET_UTF_8 - Static variable in class cn.hutool.core.util.CharsetUtil
UTF-8
CharsetConverter - Class in cn.hutool.core.convert.impl
编码对象转换器
CharsetConverter() - Constructor for class cn.hutool.core.convert.impl.CharsetConverter
 
CharsetDetector - Class in cn.hutool.core.io
编码探测器
CharsetDetector() - Constructor for class cn.hutool.core.io.CharsetDetector
 
CharsetUtil - Class in cn.hutool.core.util
字符集工具类
CharsetUtil() - Constructor for class cn.hutool.core.util.CharsetUtil
 
CharUtil - Class in cn.hutool.core.util
字符工具类
部分工具来自于Apache Commons系列
CharUtil() - Constructor for class cn.hutool.core.util.CharUtil
 
check(String) - Static method in class cn.hutool.core.text.PasswdStrength
检查密码的健壮性
checkAttributeType(AnnotationAttribute, AnnotationAttribute) - Method in class cn.hutool.core.annotation.AbstractLinkAnnotationPostProcessor
校验两个注解属性的返回值类型是否一致
checkBetween(int, int, int, Supplier<? extends X>) - Static method in class cn.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(int, int, int, String, Object...) - Static method in class cn.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(int, int, int) - Static method in class cn.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(long, long, long, Supplier<? extends X>) - Static method in class cn.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(long, long, long, String, Object...) - Static method in class cn.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(long, long, long) - Static method in class cn.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(double, double, double, Supplier<? extends X>) - Static method in class cn.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(double, double, double, String, Object...) - Static method in class cn.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(double, double, double) - Static method in class cn.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(Number, Number, Number) - Static method in class cn.hutool.core.lang.Assert
检查值是否在指定范围内
checkClientTrusted(X509Certificate[], String) - Method in class cn.hutool.core.net.DefaultTrustManager
 
checkClientTrusted(X509Certificate[], String, Socket) - Method in class cn.hutool.core.net.DefaultTrustManager
 
checkClientTrusted(X509Certificate[], String, SSLEngine) - Method in class cn.hutool.core.net.DefaultTrustManager
 
CheckedUtil - Class in cn.hutool.core.exceptions
方便的执行会抛出受检查类型异常的方法调用或者代码段
CheckedUtil() - Constructor for class cn.hutool.core.exceptions.CheckedUtil
 
CheckedUtil.Func0Rt<R> - Interface in cn.hutool.core.exceptions
 
CheckedUtil.Func1Rt<P,R> - Interface in cn.hutool.core.exceptions
 
CheckedUtil.FuncRt<P,R> - Interface in cn.hutool.core.exceptions
 
CheckedUtil.VoidFunc0Rt - Interface in cn.hutool.core.exceptions
 
CheckedUtil.VoidFunc1Rt<P> - Interface in cn.hutool.core.exceptions
 
CheckedUtil.VoidFuncRt<P> - Interface in cn.hutool.core.exceptions
 
checkIndex(int, int) - Static method in class cn.hutool.core.lang.Assert
检查下标(数组、集合、字符串)是否符合要求,下标必须满足:
checkIndex(int, int, String, Object...) - Static method in class cn.hutool.core.lang.Assert
检查下标(数组、集合、字符串)是否符合要求,下标必须满足:
checkIndexLimit(int, int) - Static method in class cn.hutool.core.lang.Validator
检查给定的index是否超出长度限制,默认检查超出倍数(10倍),此方法主要用于内部,检查包括: 数组调用setOrPadding时,最多允许padding的长度 List调用setOrPadding时,最多允许padding的长度 JSONArray调用setOrPadding时,最多允许padding的长度
checkLinkedAttributeNotNull(AnnotationAttribute, AnnotationAttribute, Link) - Method in class cn.hutool.core.annotation.AbstractLinkAnnotationPostProcessor
检查Link指向的注解属性是否存在
checkLinkedSelf(AnnotationAttribute, AnnotationAttribute) - Method in class cn.hutool.core.annotation.AbstractLinkAnnotationPostProcessor
检查Link指向的注解属性是否就是本身
checkLogExist(Class<?>) - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLogFactory
 
checkLogExist(Class<?>) - Method in class cn.hutool.log.LogFactory
检查日志实现是否存在
此方法仅用于检查所提供的日志相关类是否存在,当传入的日志类类不存在时抛出ClassNotFoundException
此方法的作用是在detectLogFactory方法自动检测所用日志时,如果实现类不存在,调用此方法会自动抛出异常,从而切换到下一种日志的检测。
checkPoiImport() - Static method in class cn.hutool.poi.PoiChecker
检查POI包的引入情况
checkpw(String, String) - Static method in class cn.hutool.crypto.digest.BCrypt
检查明文密码文本是否匹配加密后的文本
checkServerTrusted(X509Certificate[], String) - Method in class cn.hutool.core.net.DefaultTrustManager
 
checkServerTrusted(X509Certificate[], String, Socket) - Method in class cn.hutool.core.net.DefaultTrustManager
 
checkServerTrusted(X509Certificate[], String, SSLEngine) - Method in class cn.hutool.core.net.DefaultTrustManager
 
checkSlip(File, File) - Static method in class cn.hutool.core.io.FileUtil
检查父完整路径是否为自路径的前半部分,如果不是说明不是子路径,可能存在slip注入。
checksum(File, Checksum) - Static method in class cn.hutool.core.io.FileUtil
计算文件校验码
checksum(InputStream, Checksum) - Static method in class cn.hutool.core.io.IoUtil
计算流的校验码,计算后关闭流
checksumCRC32(File) - Static method in class cn.hutool.core.io.FileUtil
计算文件CRC32校验码
checksumCRC32(InputStream) - Static method in class cn.hutool.core.io.IoUtil
计算流CRC32校验码,计算后关闭流
checksumValue(InputStream, Checksum) - Static method in class cn.hutool.core.io.IoUtil
计算流的校验码,计算后关闭流
checkTransactionSupported(Connection) - Method in class cn.hutool.db.AbstractDb
检查数据库是否支持事务,此项检查同一个数据源只检查一次,如果不支持抛出DbRuntimeException异常
checkValue(int) - Method in enum cn.hutool.cron.pattern.Part
检查单个值是否有效
checkValueNull() - Method in class cn.hutool.db.sql.Condition
检查值是否为null,如果为null转换为 "IS NULL"形式
CHINESE - Static variable in class cn.hutool.core.lang.PatternPool
单个中文汉字
CHINESE - Static variable in interface cn.hutool.core.lang.RegexPool
单个中文汉字
参照维基百科汉字Unicode范围(https://zh.wikipedia.org/wiki/%E6%B1%89%E5%AD%97 页面右侧)
CHINESE_DATE_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyy年MM月dd日
CHINESE_DATE_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyy年MM月dd日
CHINESE_DATE_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
标准日期格式:yyyy年MM月dd日
CHINESE_DATE_TIME_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyy年MM月dd日HH时mm分ss秒
CHINESE_DATE_TIME_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyy年MM月dd日HH时mm分ss秒
CHINESE_DATE_TIME_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
标准日期格式:yyyy年MM月dd日 HH时mm分ss秒
CHINESE_NAME - Static variable in class cn.hutool.core.lang.PatternPool
中文姓名 总结中国人姓名:2-60位,只能是中文和 ·
CHINESE_NAME - Static variable in interface cn.hutool.core.lang.RegexPool
中文姓名 维吾尔族姓名里面的点是 · 输入法中文状态下,键盘左上角数字1前面的那个符号;
错误字符:..。..
正确维吾尔族姓名:
ChineseDate - Class in cn.hutool.core.date
农历日期工具,最大支持到2099年,支持: 通过公历日期构造获取对应农历 通过农历日期直接构造
ChineseDate(Date) - Constructor for class cn.hutool.core.date.ChineseDate
通过公历日期构造
ChineseDate(LocalDate) - Constructor for class cn.hutool.core.date.ChineseDate
通过公历日期构造
ChineseDate(int, int, int) - Constructor for class cn.hutool.core.date.ChineseDate
构造方法传入日期
此方法自动判断闰月,如果chineseMonth为本年的闰月,则按照闰月计算
ChineseDate(int, int, int, boolean) - Constructor for class cn.hutool.core.date.ChineseDate
构造方法传入日期
通过isLeapMonth参数区分是否闰月,如五月是闰月,当isLeapMonth为true时,表示润五月,false表示五月
chineseMoneyToNumber(String) - Static method in class cn.hutool.core.convert.Convert
中文大写数字金额转换为数字,返回结果以元为单位的BigDecimal类型数字
如: “陆万柒仟伍佰伍拾陆元叁角贰分”返回“67556.32” “叁角贰分”返回“0.32”
chineseMoneyToNumber(String) - Static method in class cn.hutool.core.convert.NumberChineseFormatter
中文大写数字金额转换为数字,返回结果以元为单位的BigDecimal类型数字 如: “陆万柒仟伍佰伍拾陆元叁角贰分”返回“67556.32” “叁角贰分”返回“0.32”
ChineseMonth - Class in cn.hutool.core.date.chinese
农历月份表示
ChineseMonth() - Constructor for class cn.hutool.core.date.chinese.ChineseMonth
 
chineseName(String) - Static method in class cn.hutool.core.util.DesensitizedUtil
【中文姓名】只显示第一个汉字,其他隐藏为2个星号,比如:李**
CHINESES - Static variable in class cn.hutool.core.lang.PatternPool
中文汉字
CHINESES - Static variable in interface cn.hutool.core.lang.RegexPool
中文汉字
chineseToNumber(String) - Static method in class cn.hutool.core.convert.Convert
数字中文表示形式转数字 一百一十二 -》 112 一千零一十二 -》 1012
chineseToNumber(String) - Static method in class cn.hutool.core.convert.NumberChineseFormatter
把中文转换为数字 如 二百二十 220
一百一十二 -》 112 一千零一十二 -》 1012
choose(T, T) - Method in interface cn.hutool.core.annotation.Hierarchical.Selector
比较两个被合成的对象,选择其中的一个并返回
choose(T, T) - Method in class cn.hutool.core.annotation.Hierarchical.Selector.FarthestAndNewestPrioritySelector
 
choose(T, T) - Method in class cn.hutool.core.annotation.Hierarchical.Selector.FarthestAndOldestPrioritySelector
 
choose(T, T) - Method in class cn.hutool.core.annotation.Hierarchical.Selector.NearestAndNewestPrioritySelector
 
choose(T, T) - Method in class cn.hutool.core.annotation.Hierarchical.Selector.NearestAndOldestPrioritySelector
 
choose(T, T) - Method in interface cn.hutool.core.annotation.SynthesizedAnnotationSelector
比较两个被合成的注解,选择其中的一个并返回
choose(T, T) - Method in class cn.hutool.core.annotation.SynthesizedAnnotationSelector.FarthestAndNewestPrioritySelector
 
choose(T, T) - Method in class cn.hutool.core.annotation.SynthesizedAnnotationSelector.FarthestAndOldestPrioritySelector
 
choose(T, T) - Method in class cn.hutool.core.annotation.SynthesizedAnnotationSelector.NearestAndNewestPrioritySelector
 
choose(T, T) - Method in class cn.hutool.core.annotation.SynthesizedAnnotationSelector.NearestAndOldestPrioritySelector
 
chr(int) - Static method in class cn.hutool.http.HTMLFilter
 
CipherMode - Enum in cn.hutool.crypto
Cipher模式的枚举封装
cipherWrapper - Variable in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
Cipher负责完成加密或解密工作
CipherWrapper - Class in cn.hutool.crypto
Cipher包装类,提供初始化模式等额外方法
包装之后可提供自定义或默认的: AlgorithmParameterSpec SecureRandom
CipherWrapper(String) - Constructor for class cn.hutool.crypto.CipherWrapper
构造
CipherWrapper(Cipher) - Constructor for class cn.hutool.crypto.CipherWrapper
构造
CircleCaptcha - Class in cn.hutool.captcha
圆圈干扰验证码
CircleCaptcha(int, int) - Constructor for class cn.hutool.captcha.CircleCaptcha
构造
CircleCaptcha(int, int, int) - Constructor for class cn.hutool.captcha.CircleCaptcha
构造
CircleCaptcha(int, int, int, int) - Constructor for class cn.hutool.captcha.CircleCaptcha
构造
CircleCaptcha(int, int, CodeGenerator, int) - Constructor for class cn.hutool.captcha.CircleCaptcha
构造
CircleCaptcha(int, int, int, int, float) - Constructor for class cn.hutool.captcha.CircleCaptcha
构造
CITIZEN_ID - Static variable in class cn.hutool.core.lang.PatternPool
18位身份证号码
CITIZEN_ID - Static variable in interface cn.hutool.core.lang.RegexPool
18位身份证号码
CITIZEN_ID - Static variable in class cn.hutool.core.lang.Validator
身份证号码
CityHash - Class in cn.hutool.core.lang.hash
Google发布的Hash计算算法:CityHash64 与 CityHash128。
它们分别根据字串计算 64 和 128 位的散列值。这些算法不适用于加密,但适合用在散列表等处。
CityHash() - Constructor for class cn.hutool.core.lang.hash.CityHash
 
cityHash128(byte[]) - Static method in class cn.hutool.core.util.HashUtil
CityHash算法128-bit实现
cityHash128(byte[], Number128) - Static method in class cn.hutool.core.util.HashUtil
CityHash算法128-bit实现
cityHash32(byte[]) - Static method in class cn.hutool.core.util.HashUtil
CityHash算法32-bit实现
cityHash64(byte[], long) - Static method in class cn.hutool.core.util.HashUtil
CityHash算法64-bit实现,种子1使用默认的CityHash#k2
cityHash64(byte[], long, long) - Static method in class cn.hutool.core.util.HashUtil
CityHash算法64-bit实现,种子1使用默认的CityHash#k2
cityHash64(byte[]) - Static method in class cn.hutool.core.util.HashUtil
CityHash算法64-bit实现
Claims - Class in cn.hutool.jwt
Claims 认证,简单的JSONObject包装
Claims() - Constructor for class cn.hutool.jwt.Claims
 
CLASS_EXT - Static variable in class cn.hutool.core.io.FileUtil
Class文件扩展名
CLASS_PATH - Static variable in interface cn.hutool.system.SystemPropsKeys
Java 类路径
CLASS_PATH - Static variable in class cn.hutool.system.SystemUtil
Java 类路径的KEY
CLASS_VERSION - Static variable in interface cn.hutool.system.SystemPropsKeys
Java 类格式版本号
CLASS_VERSION - Static variable in class cn.hutool.system.SystemUtil
Java 类格式版本号的KEY
ClassConverter - Class in cn.hutool.core.convert.impl
类转换器
将类名转换为类,默认初始化这个类(执行static块)
ClassConverter() - Constructor for class cn.hutool.core.convert.impl.ClassConverter
构造
ClassConverter(boolean) - Constructor for class cn.hutool.core.convert.impl.ClassConverter
构造
ClassLoaderUtil - Class in cn.hutool.core.util
ClassLoader工具类
ClassLoaderUtil() - Constructor for class cn.hutool.core.util.ClassLoaderUtil
 
CLASSPATH_URL_PREFIX - Static variable in class cn.hutool.core.util.URLUtil
针对ClassPath路径的伪协议前缀(兼容Spring): "classpath:"
ClassPathResource - Class in cn.hutool.core.io.resource
ClassPath单一资源访问类
传入路径path必须为相对路径,如果传入绝对路径,Linux路径会去掉开头的“/”,而Windows路径会直接报错。
传入的path所指向的资源必须存在,否则报错
ClassPathResource(String) - Constructor for class cn.hutool.core.io.resource.ClassPathResource
构造
ClassPathResource(String, ClassLoader) - Constructor for class cn.hutool.core.io.resource.ClassPathResource
构造
ClassPathResource(String, Class<?>) - Constructor for class cn.hutool.core.io.resource.ClassPathResource
构造
ClassPathResource(String, ClassLoader, Class<?>) - Constructor for class cn.hutool.core.io.resource.ClassPathResource
构造
ClassScanner - Class in cn.hutool.core.lang
类扫描器
ClassScanner() - Constructor for class cn.hutool.core.lang.ClassScanner
构造,默认UTF-8编码
ClassScanner(String) - Constructor for class cn.hutool.core.lang.ClassScanner
构造,默认UTF-8编码
ClassScanner(String, Filter<Class<?>>) - Constructor for class cn.hutool.core.lang.ClassScanner
构造,默认UTF-8编码
ClassScanner(String, Filter<Class<?>>, Charset) - Constructor for class cn.hutool.core.lang.ClassScanner
构造
ClassUtil - Class in cn.hutool.core.util
类工具类
ClassUtil() - Constructor for class cn.hutool.core.util.ClassUtil
 
clean(String) - Static method in class cn.hutool.core.io.FileUtil
清空文件夹
注意:清空文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
clean(File) - Static method in class cn.hutool.core.io.FileUtil
清空文件夹
注意:清空文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
cleanBlank(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
清理空白字符
cleanComment(String) - Static method in class cn.hutool.core.util.XmlUtil
去除XML文本中的注释内容
cleanEmpty(File) - Static method in class cn.hutool.core.io.FileUtil
清理空文件夹
此方法用于递归删除空的文件夹,不删除文件
如果传入的文件夹本身就是空的,删除这个文件夹
cleanHtmlTag(String) - Static method in class cn.hutool.http.HtmlUtil
清除所有HTML标签,但是不删除标签内的内容
cleanInvalid(String) - Static method in class cn.hutool.core.io.file.FileNameUtil
清除文件名中的在Windows下不支持的非法字符,包括: \ / : * ? " < > |
cleanInvalid(String) - Static method in class cn.hutool.core.io.FileUtil
清除文件名中的在Windows下不支持的非法字符,包括: \ / : * ? " < > |
cleanInvalid(String) - Static method in class cn.hutool.core.util.XmlUtil
去除XML文本中的无效字符
clear() - Method in interface cn.hutool.cache.Cache
清空缓存
clear() - Method in class cn.hutool.cache.file.AbstractFileCache
清空缓存
clear() - Method in class cn.hutool.cache.impl.NoCache
 
clear() - Method in class cn.hutool.cache.impl.ReentrantCache
 
clear() - Method in class cn.hutool.cache.impl.StampedCache
 
clear() - Method in enum cn.hutool.core.bean.BeanDescCache
清空全局的Bean属性缓存
clear() - Method in enum cn.hutool.core.bean.BeanInfoCache
清空缓存
clear(Collection<?>...) - Static method in class cn.hutool.core.collection.CollUtil
清除一个或多个集合内的元素,每个集合调用clear()方法
clear() - Method in class cn.hutool.core.collection.ConcurrentHashSet
 
clear(Iterator<?>) - Static method in class cn.hutool.core.collection.IterUtil
清空指定Iterator,此方法遍历后调用Iterator.remove()移除每个元素
clear() - Method in class cn.hutool.core.collection.TransCollection
 
clear() - Method in class cn.hutool.core.collection.UniqueKeySet
 
clear() - Method in class cn.hutool.core.date.GroupTimeInterval
清空所有定时记录
clear() - Static method in class cn.hutool.core.lang.PatternPool
清空缓存池
clear() - Method in class cn.hutool.core.lang.SimpleCache
清空缓存池
clear() - Method in class cn.hutool.core.lang.WeightRandom
清空权重表
clear() - Method in class cn.hutool.core.map.BiMap
 
clear() - Method in interface cn.hutool.core.map.ForestMap
将当前集合清空,并清除全部节点间的引用关系
clear() - Method in class cn.hutool.core.map.LinkedForestMap
将当前集合清空,并清除全部节点间的引用关系
clear() - Method in class cn.hutool.core.map.MapBuilder
清空Map
clear() - Method in class cn.hutool.core.map.MapProxy
 
clear(Map<?, ?>...) - Static method in class cn.hutool.core.map.MapUtil
清除一个或多个Map集合内的元素,每个Map调用clear()方法
clear() - Method in class cn.hutool.core.map.MapWrapper
 
clear() - Method in class cn.hutool.core.map.multi.RowKeyTable
 
clear() - Method in interface cn.hutool.core.map.multi.Table
清空表格
clear() - Method in class cn.hutool.core.map.ReferenceConcurrentMap
 
clear() - Method in class cn.hutool.core.map.TableMap
 
clear() - Static method in class cn.hutool.core.math.BitStatusUtil
清空状态就是0
clear() - Method in class cn.hutool.core.text.csv.CsvRow
 
clear() - Method in class cn.hutool.core.text.StrBuilder
删除全部字符,位置归零
clear() - Static method in class cn.hutool.core.util.DesensitizedUtil
清空为空字符串
clear() - Method in class cn.hutool.cron.Scheduler
清空任务表
clear() - Method in class cn.hutool.dfa.WordTree
清除所有的词, 此方法调用后, wordTree 将被清空 endCharacterSet 也将清空
clear() - Method in enum cn.hutool.http.GlobalInterceptor
清空请求和响应拦截器
clear() - Method in class cn.hutool.http.HttpInterceptor.Chain
清空
clear() - Method in class cn.hutool.json.JSONArray
 
clear(String) - Method in class cn.hutool.setting.GroupedMap
清除指定分组下的所有键值对
clear() - Method in class cn.hutool.setting.profile.Profile
清空所有环境的配置文件
clear(String) - Method in class cn.hutool.setting.Setting
清除指定分组下的所有键值对
clear() - Method in class cn.hutool.setting.Setting
清空默认分组(空分组)中的所有键值对
clearBatch() - Method in class cn.hutool.db.sql.StatementWrapper
 
clearHeaderAlias() - Method in class cn.hutool.poi.excel.ExcelBase
清空标题别名,key为Map中的key,value为别名
clearHeaderAlias() - Method in class cn.hutool.poi.excel.ExcelWriter
 
clearHeaders() - Method in enum cn.hutool.http.GlobalHeaders
清除所有头信息,包括全局头信息
clearHeaders() - Method in class cn.hutool.http.HttpBase
清除所有头信息,包括全局头信息
clearListener() - Method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
清空监听
clearParameters() - Method in class cn.hutool.db.sql.StatementWrapper
 
clearRequest() - Method in enum cn.hutool.http.GlobalInterceptor
清空请求拦截器
clearResponse() - Method in enum cn.hutool.http.GlobalInterceptor
清空响应拦截器
clearToNull() - Static method in class cn.hutool.core.util.DesensitizedUtil
清空为null
clearWarnings() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
clearWarnings() - Method in class cn.hutool.db.sql.StatementWrapper
 
clearWorker() - Method in class cn.hutool.core.thread.SyncFinisher
清空工作线程对象
click() - Static method in class cn.hutool.core.swing.RobotUtil
模拟单击
鼠标单击包括鼠标左键的按下和释放
ClipboardListener - Interface in cn.hutool.core.swing.clipboard
剪贴板监听事件处理接口
用户通过实现此接口,实现监听剪贴板内容变化
ClipboardMonitor - Enum in cn.hutool.core.swing.clipboard
剪贴板监听
ClipboardUtil - Class in cn.hutool.core.swing.clipboard
系统剪贴板工具类
ClipboardUtil() - Constructor for class cn.hutool.core.swing.clipboard.ClipboardUtil
 
clobToStr(Clob) - Static method in class cn.hutool.db.sql.SqlUtil
Clob字段值转字符串
clockSequence() - Method in class cn.hutool.core.lang.UUID
与此 UUID 相关联的时钟序列值。
clone() - Method in interface cn.hutool.core.clone.Cloneable
克隆当前对象,浅复制
clone() - Method in class cn.hutool.core.clone.CloneSupport
 
clone() - Method in class cn.hutool.core.collection.UniqueKeySet
 
clone() - Method in class cn.hutool.core.lang.ClassScanner
 
clone() - Method in class cn.hutool.core.lang.Dict
 
clone() - Method in class cn.hutool.core.map.MapWrapper
 
clone(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
克隆数组
clone(T) - Static method in class cn.hutool.core.util.ArrayUtil
克隆数组,如果非数组返回null
clone(T) - Static method in class cn.hutool.core.util.ObjectUtil
克隆对象
如果对象实现Cloneable接口,调用其clone方法
如果实现Serializable接口,执行深度克隆
否则返回null
clone(T) - Static method in class cn.hutool.core.util.SerializeUtil
序列化后拷贝流的方式克隆
对象必须实现Serializable接口
clone() - Method in class cn.hutool.db.ActiveEntity
 
clone() - Method in class cn.hutool.db.ds.DataSourceWrapper
 
clone() - Method in class cn.hutool.db.Entity
 
clone() - Method in class cn.hutool.db.meta.Column
 
clone() - Method in class cn.hutool.db.meta.ColumnIndexInfo
 
clone() - Method in class cn.hutool.db.meta.IndexInfo
 
clone() - Method in class cn.hutool.db.meta.Table
 
clone() - Method in class cn.hutool.json.JSONArray
 
clone() - Method in class cn.hutool.json.JSONObject
 
clone0() - Method in interface cn.hutool.core.clone.DefaultCloneable
浅拷贝,提供默认的泛型返回值的clone方法。
Cloneable<T> - Interface in cn.hutool.core.clone
克隆支持接口
cloneByStream(T) - Static method in class cn.hutool.core.util.ObjectUtil
序列化后拷贝流的方式克隆
对象必须实现Serializable接口
cloneCellStyle(Cell, CellStyle) - Static method in class cn.hutool.poi.excel.style.StyleUtil
克隆新的CellStyle
cloneCellStyle(Workbook, CellStyle) - Static method in class cn.hutool.poi.excel.style.StyleUtil
克隆新的CellStyle
cloneIfPossible(T) - Static method in class cn.hutool.core.util.ObjectUtil
返回克隆后的对象,如果克隆失败,返回原对象
CloneRuntimeException - Exception in cn.hutool.core.clone
克隆异常
CloneRuntimeException(Throwable) - Constructor for exception cn.hutool.core.clone.CloneRuntimeException
 
CloneRuntimeException(String) - Constructor for exception cn.hutool.core.clone.CloneRuntimeException
 
CloneRuntimeException(String, Object...) - Constructor for exception cn.hutool.core.clone.CloneRuntimeException
 
CloneRuntimeException(String, Throwable) - Constructor for exception cn.hutool.core.clone.CloneRuntimeException
 
CloneRuntimeException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.clone.CloneRuntimeException
 
cloneSheet(int, String, boolean) - Method in class cn.hutool.poi.excel.ExcelBase
复制当前sheet为新sheet
CloneSupport<T> - Class in cn.hutool.core.clone
克隆支持类,提供默认的克隆方法
CloneSupport() - Constructor for class cn.hutool.core.clone.CloneSupport
 
cloneTree() - Method in class cn.hutool.core.lang.tree.Tree
递归克隆当前节点(即克隆整个树,保留字段值)
注意,此方法只会克隆节点,节点属性如果是引用类型,不会克隆
close() - Method in class cn.hutool.core.collection.LineIter
关闭Reader
close() - Method in class cn.hutool.core.compress.Deflate
 
close() - Method in class cn.hutool.core.compress.Gzip
 
close() - Method in class cn.hutool.core.compress.ZipReader
 
close() - Method in class cn.hutool.core.compress.ZipWriter
 
close() - Method in class cn.hutool.core.io.AppendableWriter
 
close() - Method in class cn.hutool.core.io.BOMInputStream
 
close() - Method in class cn.hutool.core.io.BomReader
 
close() - Method in class cn.hutool.core.io.FastByteArrayOutputStream
此方法无任何效果,当流被关闭后不会抛出IOException
close() - Method in class cn.hutool.core.io.FastStringWriter
 
close(Closeable) - Static method in class cn.hutool.core.io.IoUtil
关闭
关闭失败不会抛出异常
close(AutoCloseable) - Static method in class cn.hutool.core.io.NioUtil
关闭
关闭失败不会抛出异常
close() - Method in class cn.hutool.core.io.watch.WatchServer
关闭监听
close() - Method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
关闭(停止)监听
close() - Method in class cn.hutool.core.text.csv.CsvParser
 
close() - Method in class cn.hutool.core.text.csv.CsvReader
 
close() - Method in class cn.hutool.core.text.csv.CsvWriter
 
close() - Method in class cn.hutool.core.thread.ConcurrencyTester
 
close() - Method in class cn.hutool.core.thread.SyncFinisher
 
close(Object...) - Static method in class cn.hutool.db.DbUtil
连续关闭一系列的SQL相关对象
这些对象必须按照顺序关闭,否则会出错。
close(String) - Method in class cn.hutool.db.ds.AbstractDSFactory
 
close() - Method in class cn.hutool.db.ds.DataSourceWrapper
 
close() - Method in class cn.hutool.db.ds.DSFactory
关闭默认数据源(空组)
close(String) - Method in class cn.hutool.db.ds.DSFactory
关闭对应数据源
close() - Method in class cn.hutool.db.ds.pooled.PooledConnection
重写关闭连接,实际操作是归还到连接池中
close() - Method in class cn.hutool.db.ds.pooled.PooledDataSource
 
close() - Method in class cn.hutool.db.ds.simple.SimpleDataSource
 
close() - Method in class cn.hutool.db.nosql.mongo.MongoDS
 
close() - Method in class cn.hutool.db.nosql.redis.RedisDS
 
close() - Method in class cn.hutool.db.Session
 
close() - Method in class cn.hutool.db.sql.StatementWrapper
 
close(DataSource) - Method in enum cn.hutool.db.ThreadLocalConnection
关闭数据库,并从线程池中移除
close(DataSource) - Method in class cn.hutool.db.ThreadLocalConnection.GroupedConnection
关闭并移除Connection
如果处于事务中,则不进行任何操作
close() - Method in interface cn.hutool.extra.compress.archiver.Archiver
无异常关闭
close() - Method in class cn.hutool.extra.compress.archiver.SevenZArchiver
 
close() - Method in class cn.hutool.extra.compress.archiver.StreamArchiver
 
close() - Method in interface cn.hutool.extra.compress.extractor.Extractor
无异常关闭
close() - Method in class cn.hutool.extra.compress.extractor.SevenZExtractor
 
close() - Method in class cn.hutool.extra.compress.extractor.StreamExtractor
 
close() - Method in class cn.hutool.extra.ftp.Ftp
 
close(Session) - Static method in class cn.hutool.extra.ssh.GanymedUtil
关闭会话
close(String) - Method in enum cn.hutool.extra.ssh.JschSessionPool
关闭SSH连接会话
close(Session) - Static method in class cn.hutool.extra.ssh.JschUtil
关闭SSH连接会话
close(Channel) - Static method in class cn.hutool.extra.ssh.JschUtil
关闭会话通道
close(String) - Static method in class cn.hutool.extra.ssh.JschUtil
关闭SSH连接会话
close() - Method in class cn.hutool.extra.ssh.Sftp
 
close() - Method in class cn.hutool.extra.ssh.SshjSftp
 
close() - Method in class cn.hutool.http.HttpInputStream
 
close() - Method in class cn.hutool.http.HttpResponse
 
close() - Method in class cn.hutool.http.MultipartOutputStream
 
close() - Method in class cn.hutool.http.server.HttpExchangeWrapper
 
close() - Method in class cn.hutool.http.server.HttpServerBase
调用HttpExchange.close(),关闭请求流和响应流
close() - Method in class cn.hutool.json.serialize.JSONWriter
 
close() - Method in class cn.hutool.poi.excel.BigExcelWriter
 
close() - Method in class cn.hutool.poi.excel.ExcelBase
关闭工作簿
如果用户设定了目标文件,先写出目标文件后给关闭工作簿
close() - Method in class cn.hutool.poi.excel.ExcelWriter
关闭工作簿
如果用户设定了目标文件,先写出目标文件后给关闭工作簿
close() - Method in class cn.hutool.poi.ofd.OfdWriter
 
close() - Method in class cn.hutool.poi.word.Word07Writer
关闭Word文档
如果用户设定了目标文件,先写出目标文件后给关闭工作簿
close() - Method in class cn.hutool.socket.aio.AioClient
关闭客户端
close() - Method in class cn.hutool.socket.aio.AioServer
关闭服务
close() - Method in class cn.hutool.socket.aio.AioSession
关闭会话
close() - Method in class cn.hutool.socket.nio.NioClient
 
close() - Method in class cn.hutool.socket.nio.NioServer
 
closeAll() - Static method in class cn.hutool.db.nosql.mongo.MongoFactory
关闭全部连接
closeAll() - Method in enum cn.hutool.extra.ssh.JschSessionPool
关闭所有SSH连接会话
closeAll() - Static method in class cn.hutool.extra.ssh.JschUtil
关闭所有SSH连接会话
closeConnection(Connection) - Method in class cn.hutool.db.AbstractDb
关闭连接
自定义关闭连接有利于自定义回收连接机制,或者不关闭
closeConnection(Connection) - Method in class cn.hutool.db.Db
 
closeConnection(Connection) - Method in class cn.hutool.db.Session
 
closeCookie() - Static method in class cn.hutool.http.HttpGlobalConfig
关闭Cookie
closeCookie() - Static method in class cn.hutool.http.HttpRequest
关闭Cookie
closeCookie() - Static method in class cn.hutool.http.HttpUtil
关闭Cookie
closeIfPosible(Object) - Static method in class cn.hutool.core.io.IoUtil
尝试关闭指定对象
判断对象如果实现了AutoCloseable,则调用之
closeIn() - Method in class cn.hutool.socket.aio.AioSession
关闭输出
closeOnCompletion() - Method in class cn.hutool.db.sql.StatementWrapper
 
closeOut() - Method in class cn.hutool.socket.aio.AioSession
关闭输出
closeStream - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
 
closeTemplateSource(Object) - Method in class cn.hutool.extra.template.engine.freemarker.SimpleStringTemplateLoader
 
closeWithoutFlush() - Method in class cn.hutool.poi.excel.ExcelWriter
关闭工作簿但是不写出
closeWithoutFlush() - Method in class cn.hutool.poi.word.Word07Writer
关闭Word文档但是不写出
cn.hutool - package cn.hutool
Hutool是一个小而全的Java工具类库,通过静态方法封装,降低相关API的学习成本,提高工作效率,使Java拥有函数式语言般的优雅,让Java语言也可以“甜甜的”。
cn.hutool.aop - package cn.hutool.aop
JDK动态代理封装,提供非IOC下的切面支持
cn.hutool.aop.aspects - package cn.hutool.aop.aspects
切面实现,提供一些基本的切面实现
cn.hutool.aop.interceptor - package cn.hutool.aop.interceptor
代理拦截器实现
cn.hutool.aop.proxy - package cn.hutool.aop.proxy
代理实现
cn.hutool.bloomfilter - package cn.hutool.bloomfilter
布隆过滤,提供一些Hash算法的布隆过滤
cn.hutool.bloomfilter.bitMap - package cn.hutool.bloomfilter.bitMap
BitMap实现
cn.hutool.bloomfilter.filter - package cn.hutool.bloomfilter.filter
各种Hash算法的过滤器实现
cn.hutool.cache - package cn.hutool.cache
提供简易的缓存实现,此模块参考了jodd工具中的Cache模块
cn.hutool.cache.file - package cn.hutool.cache.file
提供针对文件的缓存实现
cn.hutool.cache.impl - package cn.hutool.cache.impl
提供各种缓存实现
cn.hutool.captcha - package cn.hutool.captcha
图片验证码实现
cn.hutool.captcha.generator - package cn.hutool.captcha.generator
验证码生成策略实现
cn.hutool.core - package cn.hutool.core
Hutool核心方法及数据结构包
cn.hutool.core.annotation - package cn.hutool.core.annotation
注解包,提供增强型注解和注解工具类
cn.hutool.core.annotation.scanner - package cn.hutool.core.annotation.scanner
注解包扫描封装
cn.hutool.core.bean - package cn.hutool.core.bean
Bean相关操作,包括Bean信息描述,Bean路径表达式、动态Bean、Bean工具等
cn.hutool.core.bean.copier - package cn.hutool.core.bean.copier
Bean拷贝实现,包括拷贝选项等
cn.hutool.core.bean.copier.provider - package cn.hutool.core.bean.copier.provider
Bean值提供者方式封装
cn.hutool.core.builder - package cn.hutool.core.builder
建造者工具
用于建造特定对象或结果
cn.hutool.core.clone - package cn.hutool.core.clone
克隆封装
cn.hutool.core.codec - package cn.hutool.core.codec
BaseN以及BCD编码封装
cn.hutool.core.collection - package cn.hutool.core.collection
集合以及Iterator封装,包括集合工具CollUtil,Iterator和Iterable工具IterUtil
cn.hutool.core.comparator - package cn.hutool.core.comparator
各种比较器(Comparator)实现和封装
cn.hutool.core.compiler - package cn.hutool.core.compiler
运行时编译java源码,动态从字符串或外部文件加载类
cn.hutool.core.compress - package cn.hutool.core.compress
压缩解压封装
cn.hutool.core.convert - package cn.hutool.core.convert
万能类型转换器以及各种类型转换的实现类,其中Convert为转换器入口,提供各种toXXX方法和convert方法
cn.hutool.core.convert.impl - package cn.hutool.core.convert.impl
各种类型转换的实现类,其都为Converter接口的实现,用于将未知的Object类型转换为指定类型
cn.hutool.core.date - package cn.hutool.core.date
日期封装,日期的核心为DateTime类,DateUtil提供日期操作的入口
cn.hutool.core.date.chinese - package cn.hutool.core.date.chinese
农历相关类汇总,包括农历月、天干地支、农历节日、24节气等
cn.hutool.core.date.format - package cn.hutool.core.date.format
提供线程安全的日期格式的格式化和解析实现
cn.hutool.core.exceptions - package cn.hutool.core.exceptions
特殊异常封装,同时提供异常工具ExceptionUtil
cn.hutool.core.getter - package cn.hutool.core.getter
getXXX方法的接口和抽象实现
cn.hutool.core.img - package cn.hutool.core.img
图像处理相关工具类封装
cn.hutool.core.img.gif - package cn.hutool.core.img.gif
GIF处理,来自:https://github.com/rtyley/animated-gif-lib-for-java
cn.hutool.core.io - package cn.hutool.core.io
IO相关封装和工具类,包括Inputstream和OutputStream实现类,工具包括流工具IoUtil、文件工具FileUtil和Buffer工具BufferUtil
cn.hutool.core.io.checksum - package cn.hutool.core.io.checksum
IO校验相关库和工具
cn.hutool.core.io.checksum.crc16 - package cn.hutool.core.io.checksum.crc16
CRC16相关算法封装为Checksum
cn.hutool.core.io.copy - package cn.hutool.core.io.copy
IO流拷贝相关封装相关封装
cn.hutool.core.io.file - package cn.hutool.core.io.file
对文件读写的封装,包括文件拷贝、文件读取、文件写出、行处理等
cn.hutool.core.io.file.visitor - package cn.hutool.core.io.file.visitor
FileVisitor功能性实现,包括递归删除、拷贝等
cn.hutool.core.io.resource - package cn.hutool.core.io.resource
针对ClassPath和文件中资源读取的封装,主要入口为工具类ResourceUtil
cn.hutool.core.io.unit - package cn.hutool.core.io.unit
数据单位相关封装,包括DataUnit数据单位和DataSize数据大小
cn.hutool.core.io.watch - package cn.hutool.core.io.watch
基于JDK7+ WatchService的文件和目录监听封装,支持多级目录
cn.hutool.core.io.watch.watchers - package cn.hutool.core.io.watch.watchers
文件监听中的观察者实现类,包括延迟处理、处理链等
cn.hutool.core.lang - package cn.hutool.core.lang
语言特性包,包括大量便捷的数据结构,例如验证器Validator,分布式ID生成器Snowflake等
cn.hutool.core.lang.ansi - package cn.hutool.core.lang.ansi
命令行终端中ANSI 转义序列相关封装,如ANSI颜色等
cn.hutool.core.lang.caller - package cn.hutool.core.lang.caller
调用者接口及实现。可以通过此类的方法获取调用者、多级调用者以及判断是否被调用
cn.hutool.core.lang.copier - package cn.hutool.core.lang.copier
拷贝抽象实现,通过抽象拷贝,可以实现文件、流、Buffer之间的拷贝实现
cn.hutool.core.lang.func - package cn.hutool.core.lang.func
函数封装
接口灵感来自于ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
cn.hutool.core.lang.generator - package cn.hutool.core.lang.generator
提供生成器接口及相关封装
cn.hutool.core.lang.hash - package cn.hutool.core.lang.hash
提供Hash算法的封装
cn.hutool.core.lang.id - package cn.hutool.core.lang.id
提供各种ID生成
cn.hutool.core.lang.intern - package cn.hutool.core.lang.intern
规范化表示形式封装
所谓规范化,即当两个对象equals时,规范化的对象则可以实现==
此包中的相关封装类似于 String#intern()
cn.hutool.core.lang.loader - package cn.hutool.core.lang.loader
加载器的抽象接口和实现,包括懒加载的实现等
cn.hutool.core.lang.mutable - package cn.hutool.core.lang.mutable
提供可变值对象的封装,用于封装int、long等不可变值,使其可变
cn.hutool.core.lang.reflect - package cn.hutool.core.lang.reflect
提供反射相关功能对象和类
cn.hutool.core.lang.tree - package cn.hutool.core.lang.tree
提供通用树生成,特点:
cn.hutool.core.lang.tree.parser - package cn.hutool.core.lang.tree.parser
 
cn.hutool.core.map - package cn.hutool.core.map
Map相关封装,提供特殊Map实现以及Map工具MapUtil
cn.hutool.core.map.multi - package cn.hutool.core.map.multi
多参数类型的Map实现,包括集合类型值的Map和Table
cn.hutool.core.math - package cn.hutool.core.math
提供数学计算相关封装,包括排列组合等,入口为MathUtil
cn.hutool.core.net - package cn.hutool.core.net
网络相关工具
cn.hutool.core.net.multipart - package cn.hutool.core.net.multipart
文件上传封装
cn.hutool.core.net.url - package cn.hutool.core.net.url
URL相关工具
cn.hutool.core.stream - package cn.hutool.core.stream
Java8的stream相关封装
cn.hutool.core.swing - package cn.hutool.core.swing
Swing和awt相关封装
cn.hutool.core.swing.clipboard - package cn.hutool.core.swing.clipboard
剪贴板相关的工具,包括剪贴板监听等
cn.hutool.core.text - package cn.hutool.core.text
提供文本相关操作的封装,还包括Unicode工具UnicodeUtil
cn.hutool.core.text.csv - package cn.hutool.core.text.csv
提供CSV文件读写的封装,入口为CsvUtil
规范见:https://datatracker.ietf.org/doc/html/rfc4180
cn.hutool.core.text.escape - package cn.hutool.core.text.escape
提供各种转义和反转义实现
cn.hutool.core.text.finder - package cn.hutool.core.text.finder
文本查找实现,包括: 查找文本中的字符(正向、反向) 查找文本中的匹配字符(正向、反向) 查找文本中的字符串(正向、反向) 查找文本中匹配正则的字符串(正向)
cn.hutool.core.text.replacer - package cn.hutool.core.text.replacer
文本替换类抽象及实现
cn.hutool.core.text.split - package cn.hutool.core.text.split
 
cn.hutool.core.thread - package cn.hutool.core.thread
提供线程及高并发封装,入口为ThreadUtil
cn.hutool.core.thread.lock - package cn.hutool.core.thread.lock
锁的实现
cn.hutool.core.thread.threadlocal - package cn.hutool.core.thread.threadlocal
ThreadLocal相关封装
cn.hutool.core.util - package cn.hutool.core.util
提供各种工具方法,按照归类入口为XXXUtil,如字符串工具StrUtil等
cn.hutool.cron - package cn.hutool.cron
定时任务模块,提供类Crontab表达式的定时任务,实现参考了Cron4j,同时可以支持秒级别的定时任务定义和年的定义(同时兼容Crontab、Cron4j、Quartz表达式)
定时任务模块由三部分组成: Scheduler 定时任务调度器,用于整体管理任务的增删、启停和触发运行。 Task 定时任务实现,用于定义具体的任务 CronPattern 定时任务表达式,用于定义任务触发时间 同时,提供了CronUtil工具类,维护一个全局的Scheduler
cn.hutool.cron.listener - package cn.hutool.cron.listener
定时任务执行监听接口及部分实现
cn.hutool.cron.pattern - package cn.hutool.cron.pattern
定时任务表达式解析,核心为CronPattern
cn.hutool.cron.pattern.matcher - package cn.hutool.cron.pattern.matcher
定时任务表达式匹配器,内部使用
单一表达式使用PatternMatcher表示
PatternMatcher由7个PartMatcher组成, 分别表示定时任务表达式中的7个位置:
cn.hutool.cron.pattern.parser - package cn.hutool.cron.pattern.parser
定时任务表达式解析器,内部使用
cn.hutool.cron.task - package cn.hutool.cron.task
定时任务中作业的抽象封装和实现,包括Runnable实现和反射实现
Task表示一个具体的任务,当满足时间匹配要求时,会执行Task.execute()方法。
cn.hutool.cron.timingwheel - package cn.hutool.cron.timingwheel
时间轮实现,重写了kafka的TimingWheel
时间轮一般会实现成一个环形结构,类似一个时钟,分为很多槽,一个槽代表一个时间间隔,每个槽使用双向链表存储定时任务。指针周期性地跳动,跳动到一个槽位,就执行该槽位的定时任务。
cn.hutool.crypto - package cn.hutool.crypto
加密解密模块,实现了对JDK中加密解密算法的封装,入口为SecureUtil,实现了:
cn.hutool.crypto.asymmetric - package cn.hutool.crypto.asymmetric
非对称加密的实现,包括RSA等
cn.hutool.crypto.digest - package cn.hutool.crypto.digest
摘要加密算法实现,入口为DigestUtil
cn.hutool.crypto.digest.mac - package cn.hutool.crypto.digest.mac
HMAC,全称为“Hash Message Authentication Code”,中文名“散列消息鉴别码”
主要是利用哈希算法,以一个密钥和一个消息为输入,生成一个消息摘要作为输出。
一般的,消息鉴别码用于验证传输于两个共 同享有一个密钥的单位之间的消息。
HMAC 可以与任何迭代散列函数捆绑使用。MD5 和 SHA-1 就是这种散列函数。HMAC 还可以使用一个用于计算和确认消息鉴别值的密钥。
cn.hutool.crypto.digest.otp - package cn.hutool.crypto.digest.otp
OTP 是 One-Time Password的简写,表示一次性密码。
cn.hutool.crypto.symmetric - package cn.hutool.crypto.symmetric
对称加密算法实现,包括AES、DES、DESede等
cn.hutool.crypto.symmetric.fpe - package cn.hutool.crypto.symmetric.fpe
 
cn.hutool.db - package cn.hutool.db
Hutool-db是一个在JDBC基础上封装的数据库操作工具类,通过包装,使用ActiveRecord思想操作数据库。
在Hutool-db中,使用Entity(本质上是个Map)代替Bean来使数据库操作更加灵活,同时提供Bean和Entity的转换提供传统ORM的兼容支持。
cn.hutool.db.dialect - package cn.hutool.db.dialect
数据库方言封装,包括数据库方言以及方言自动识别等
cn.hutool.db.dialect.impl - package cn.hutool.db.dialect.impl
数据库方言实现,包括MySQL、Oracle、PostgreSQL、Sqlite3、H2、SqlServer2012等
cn.hutool.db.ds - package cn.hutool.db.ds
数据源封装,对各类数据库连接池的封装
cn.hutool.db.ds.bee - package cn.hutool.db.ds.bee
BeeCP封装 见:https://github.com/Chris2018998/BeeCP
cn.hutool.db.ds.c3p0 - package cn.hutool.db.ds.c3p0
C3P0封装
cn.hutool.db.ds.dbcp - package cn.hutool.db.ds.dbcp
DBCP封装
cn.hutool.db.ds.druid - package cn.hutool.db.ds.druid
Druid封装
cn.hutool.db.ds.hikari - package cn.hutool.db.ds.hikari
Hikari封装
cn.hutool.db.ds.jndi - package cn.hutool.db.ds.jndi
JNDI封装
cn.hutool.db.ds.pooled - package cn.hutool.db.ds.pooled
Hutool对连接池的简单实现
cn.hutool.db.ds.simple - package cn.hutool.db.ds.simple
JDBC中DriverManager简易封装
cn.hutool.db.ds.tomcat - package cn.hutool.db.ds.tomcat
Tomcat-Pool封装
cn.hutool.db.handler - package cn.hutool.db.handler
JDBC结果集(ResultSet)转换封装,通过实现RsHandler接口,将ResultSet转换为我们想要的数据类型
cn.hutool.db.meta - package cn.hutool.db.meta
JDBC数据表元数据信息封装,包括表结构、列信息的封装,入口为MetaUtil
cn.hutool.db.nosql - package cn.hutool.db.nosql
NoSQL封装,包括Redis和MongoDB等数据库操作的封装
cn.hutool.db.nosql.mongo - package cn.hutool.db.nosql.mongo
MongoDB数据库操作的封装
cn.hutool.db.nosql.redis - package cn.hutool.db.nosql.redis
Redis(Jedis)数据库操作的封装
cn.hutool.db.sql - package cn.hutool.db.sql
SQL语句和Statement构建封装
cn.hutool.db.transaction - package cn.hutool.db.transaction
事务相关类和操作
cn.hutool.dfa - package cn.hutool.dfa
DFA全称为:Deterministic Finite Automaton,即确定有穷自动机。
解释起来原理其实也不难,就是用所有关键字构造一棵树,然后用正文遍历这棵树,遍历到叶子节点即表示文章中存在这个关键字。
我们暂且忽略构建关键词树的时间,每次查找正文只需要O(n)复杂度就可以搞定。
cn.hutool.extra - package cn.hutool.extra
由于Hutool的原则是不依赖于其它配置文件,但是很多时候我们需要针对第三方非常棒的库做一些工具类化的支持,因此Hutoo-extra包主要用于支持第三方库的工具类支持。
cn.hutool.extra.cglib - package cn.hutool.extra.cglib
Cglib库方法封装
cn.hutool.extra.compress - package cn.hutool.extra.compress
基于commons-compress的压缩解压封装
支持包括:gzip, bzip2, xz, lzma, Pack200, DEFLATE, Brotli, DEFLATE64, ZStandard and Z, the archiver formats are 7z,
ar, arj, cpio, dump, tar and zip等格式。
cn.hutool.extra.compress.archiver - package cn.hutool.extra.compress.archiver
基于commons-compress的打包(压缩)封装
cn.hutool.extra.compress.extractor - package cn.hutool.extra.compress.extractor
基于commons-compress的解包(解压缩)封装
cn.hutool.extra.emoji - package cn.hutool.extra.emoji
基于https://github.com/vdurmont/emoji-java的Emoji表情工具类
cn.hutool.extra.expression - package cn.hutool.extra.expression
表达式语言引擎封装
cn.hutool.extra.expression.engine - package cn.hutool.extra.expression.engine
表达式语言引擎封装
cn.hutool.extra.expression.engine.aviator - package cn.hutool.extra.expression.engine.aviator
Aviator引擎封装,见:https://github.com/killme2008/aviatorscript
cn.hutool.extra.expression.engine.jexl - package cn.hutool.extra.expression.engine.jexl
Jexl3引擎封装,见:https://github.com/apache/commons-jexl
cn.hutool.extra.expression.engine.jfireel - package cn.hutool.extra.expression.engine.jfireel
JfireEL引擎封装
见:https://gitee.com/eric_ds/jfireEL
cn.hutool.extra.expression.engine.mvel - package cn.hutool.extra.expression.engine.mvel
MVEL (MVFLEX Expression Language)引擎封装
见:https://github.com/mvel/mvel
cn.hutool.extra.expression.engine.qlexpress - package cn.hutool.extra.expression.engine.qlexpress
QLExpress引擎封装
见:https://github.com/alibaba/QLExpress
cn.hutool.extra.expression.engine.rhino - package cn.hutool.extra.expression.engine.rhino
rhino引擎封装
见:https://github.com/mozilla/rhino
cn.hutool.extra.expression.engine.spel - package cn.hutool.extra.expression.engine.spel
Spring-Expression引擎封装
见:https://github.com/spring-projects/spring-framework/tree/master/spring-expression
cn.hutool.extra.ftp - package cn.hutool.extra.ftp
基于Apache Commons Net封装的FTP工具
cn.hutool.extra.mail - package cn.hutool.extra.mail
邮件封装,基于javax-mail库,入口为MailUtil
cn.hutool.extra.pinyin - package cn.hutool.extra.pinyin
拼音工具封装,入口为PinyinUtil
cn.hutool.extra.pinyin.engine - package cn.hutool.extra.pinyin.engine
拼音具体实现
cn.hutool.extra.pinyin.engine.bopomofo4j - package cn.hutool.extra.pinyin.engine.bopomofo4j
封装了Bopomofo4j的引擎。
cn.hutool.extra.pinyin.engine.houbbpinyin - package cn.hutool.extra.pinyin.engine.houbbpinyin
封装了 Pinyin 的引擎。
cn.hutool.extra.pinyin.engine.jpinyin - package cn.hutool.extra.pinyin.engine.jpinyin
封装了Jpinyin的引擎。
cn.hutool.extra.pinyin.engine.pinyin4j - package cn.hutool.extra.pinyin.engine.pinyin4j
封装了Pinyin4j的引擎。
cn.hutool.extra.pinyin.engine.tinypinyin - package cn.hutool.extra.pinyin.engine.tinypinyin
封装了TinyPinyin的引擎。
cn.hutool.extra.qrcode - package cn.hutool.extra.qrcode
二维码封装,基于zxing库,入口为QrCodeUtil
cn.hutool.extra.servlet - package cn.hutool.extra.servlet
Servlet封装,包括Servlet参数获取、文件上传、Response写出等,入口为ServletUtil
cn.hutool.extra.spring - package cn.hutool.extra.spring
Spring相关工具封装
cn.hutool.extra.ssh - package cn.hutool.extra.ssh
Jsch封装,包括端口映射、SFTP封装等,入口为JschUtil
cn.hutool.extra.template - package cn.hutool.extra.template
第三方模板引擎封装,提供统一的接口用于适配第三方模板引擎
cn.hutool.extra.template.engine - package cn.hutool.extra.template.engine
第三方模板引擎实现
cn.hutool.extra.template.engine.beetl - package cn.hutool.extra.template.engine.beetl
Beetl实现,模板引擎介绍见:http://ibeetl.com/
cn.hutool.extra.template.engine.enjoy - package cn.hutool.extra.template.engine.enjoy
Jfinal家的Enjoy模板引擎实现,见:https://jfinal.com/doc/6-1
cn.hutool.extra.template.engine.freemarker - package cn.hutool.extra.template.engine.freemarker
Freemarker实现
见:https://freemarker.apache.org/
cn.hutool.extra.template.engine.jetbrick - package cn.hutool.extra.template.engine.jetbrick
jetbrick-template实现,模板引擎介绍见:https://github.com/subchen/jetbrick-template-2x
cn.hutool.extra.template.engine.jetbrick.loader - package cn.hutool.extra.template.engine.jetbrick.loader
jetbrick-template实现,特殊资源加载器
模板引擎介绍见:https://github.com/subchen/jetbrick-template-2x
cn.hutool.extra.template.engine.rythm - package cn.hutool.extra.template.engine.rythm
Rythm实现,见:http://www.rythmengine.org/
cn.hutool.extra.template.engine.thymeleaf - package cn.hutool.extra.template.engine.thymeleaf
Thymeleaf实现,见:https://www.thymeleaf.org/
cn.hutool.extra.template.engine.velocity - package cn.hutool.extra.template.engine.velocity
Velocity实现
见:http://velocity.apache.org/
cn.hutool.extra.template.engine.wit - package cn.hutool.extra.template.engine.wit
Wit实现,见:http://zqq90.github.io/webit-script/
cn.hutool.extra.tokenizer - package cn.hutool.extra.tokenizer
中文分词封装
通过定义统一接口,适配第三方分词引擎
cn.hutool.extra.tokenizer.engine - package cn.hutool.extra.tokenizer.engine
第三方分词引擎实现
cn.hutool.extra.tokenizer.engine.analysis - package cn.hutool.extra.tokenizer.engine.analysis
Lucene-analysis分词抽象封装
项目地址:https://github.com/apache/lucene-solr/tree/master/lucene/analysis
cn.hutool.extra.tokenizer.engine.ansj - package cn.hutool.extra.tokenizer.engine.ansj
Ansj分词实现
项目地址:https://github.com/NLPchina/ansj_seg
cn.hutool.extra.tokenizer.engine.hanlp - package cn.hutool.extra.tokenizer.engine.hanlp
HanLP分词引擎实现
项目地址:https://github.com/hankcs/HanLP
cn.hutool.extra.tokenizer.engine.ikanalyzer - package cn.hutool.extra.tokenizer.engine.ikanalyzer
IKAnalyzer分词引擎实现
项目地址:https://github.com/yozhao/IKAnalyzer
cn.hutool.extra.tokenizer.engine.jcseg - package cn.hutool.extra.tokenizer.engine.jcseg
Jcseg分词引擎实现
项目地址:https://gitee.com/lionsoul/jcseg
cn.hutool.extra.tokenizer.engine.jieba - package cn.hutool.extra.tokenizer.engine.jieba
Jieba分词引擎实现
项目地址:https://github.com/huaban/jieba-analysis
cn.hutool.extra.tokenizer.engine.mmseg - package cn.hutool.extra.tokenizer.engine.mmseg
mmseg4j分词引擎实现
项目地址:https://github.com/chenlb/mmseg4j-core
cn.hutool.extra.tokenizer.engine.mynlp - package cn.hutool.extra.tokenizer.engine.mynlp
MYNLP 中文NLP工具包分词实现
项目地址:https://github.com/mayabot/mynlp/
cn.hutool.extra.tokenizer.engine.word - package cn.hutool.extra.tokenizer.engine.word
Word分词引擎实现
项目地址:https://github.com/ysc/word
cn.hutool.extra.validation - package cn.hutool.extra.validation
基于JSR-380标准的校验工具类,封装了javax.validation的API
cn.hutool.http - package cn.hutool.http
Hutool-http针对JDK的HttpUrlConnection做一层封装,简化了HTTPS请求、文件上传、Cookie记忆等操作,使Http请求变得无比简单。
cn.hutool.http.body - package cn.hutool.http.body
请求体封装实现
cn.hutool.http.cookie - package cn.hutool.http.cookie
自定义Cookie
cn.hutool.http.server - package cn.hutool.http.server
Http服务器封装
cn.hutool.http.server.action - package cn.hutool.http.server.action
HttpServer 封装
cn.hutool.http.server.filter - package cn.hutool.http.server.filter
Filter 实现包装
cn.hutool.http.server.handler - package cn.hutool.http.server.handler
HttpHandler 实现包装
cn.hutool.http.ssl - package cn.hutool.http.ssl
SSL封装
cn.hutool.http.useragent - package cn.hutool.http.useragent
User-Agent解析
cn.hutool.http.webservice - package cn.hutool.http.webservice
Webservice客户端封装实现
cn.hutool.json - package cn.hutool.json
JSON封装,基于json.org官方库改造
cn.hutool.json.serialize - package cn.hutool.json.serialize
JSON自定义序列化和反序列化接口和默认实现
cn.hutool.json.xml - package cn.hutool.json.xml
JSON与XML相互转换封装,基于json.org官方库改造
cn.hutool.jwt - package cn.hutool.jwt
JSON Web Token (JWT)封装
cn.hutool.jwt.signers - package cn.hutool.jwt.signers
JWT签名封装
cn.hutool.log - package cn.hutool.log
Hutool-log只是一个日志的通用门面,功能类似于Slf4j。
根据加入ClassPath中的jar包动态检测日志实现的方式,使日志使用更加便利灵活。
cn.hutool.log.dialect - package cn.hutool.log.dialect
第三方日志库的实现封装
cn.hutool.log.dialect.commons - package cn.hutool.log.dialect.commons
Apache-Commons-Logging日志库的实现封装
cn.hutool.log.dialect.console - package cn.hutool.log.dialect.console
控制台输出的实现封装
cn.hutool.log.dialect.jboss - package cn.hutool.log.dialect.jboss
jboss-logging实现
cn.hutool.log.dialect.jdk - package cn.hutool.log.dialect.jdk
JDK-Logging的实现封装
cn.hutool.log.dialect.log4j - package cn.hutool.log.dialect.log4j
Log4j的实现封装
cn.hutool.log.dialect.log4j2 - package cn.hutool.log.dialect.log4j2
Log4j2的实现封装
cn.hutool.log.dialect.logtube - package cn.hutool.log.dialect.logtube
LogTube的实现封装
cn.hutool.log.dialect.slf4j - package cn.hutool.log.dialect.slf4j
Slf4j的实现封装
cn.hutool.log.dialect.tinylog - package cn.hutool.log.dialect.tinylog
tinylog的实现封装
封装包括TinyLog和TinyLog2
cn.hutool.log.level - package cn.hutool.log.level
按照日志级别定义的日志打印接口定义
cn.hutool.poi - package cn.hutool.poi
POI封装实现
Java针对MS Office的操作的库屈指可数,比较有名的就是Apache的POI库。
这个库异常强大,但是使用起来也并不容易。Hutool针对POI封装一些常用工具,使Java操作Excel等文件变得异常简单。
cn.hutool.poi.excel - package cn.hutool.poi.excel
POI中对Excel读写的封装,入口为ExcelUtil
cn.hutool.poi.excel.cell - package cn.hutool.poi.excel.cell
Excel中单元格相关类,入口为CellUtil
cn.hutool.poi.excel.cell.setters - package cn.hutool.poi.excel.cell.setters
Excel中单元格设置相关类,一些CellSetter的实现类
cn.hutool.poi.excel.cell.values - package cn.hutool.poi.excel.cell.values
 
cn.hutool.poi.excel.editors - package cn.hutool.poi.excel.editors
单元格值编辑器,内部使用
cn.hutool.poi.excel.reader - package cn.hutool.poi.excel.reader
数据读取接口及实现,此包中定义了SheetReader,通过实现此接口,实现sheet中的数据读取为不同类型。
cn.hutool.poi.excel.sax - package cn.hutool.poi.excel.sax
Sax方式操作Excel方式的封装
cn.hutool.poi.excel.sax.handler - package cn.hutool.poi.excel.sax.handler
Sax读取中行处理器的定义和实现
cn.hutool.poi.excel.style - package cn.hutool.poi.excel.style
Excel样式封装,入口为:StyleUtil
cn.hutool.poi.exceptions - package cn.hutool.poi.exceptions
POI相关异常
cn.hutool.poi.ofd - package cn.hutool.poi.ofd
开放版式文档(Open Fixed-layout Document )封装,基于ofdrw(https://gitee.com/Trisia/ofdrw)
cn.hutool.poi.word - package cn.hutool.poi.word
POI中对Word操作封装
cn.hutool.script - package cn.hutool.script
Script模块主要针对Java的javax.script封装,可以运行Javascript脚本。
cn.hutool.setting - package cn.hutool.setting
Setting模块主要针对Properties文件读写做封装,同时定义一套自己的配置文件规范,实现兼容性良好的配置工具。
cn.hutool.setting.dialect - package cn.hutool.setting.dialect
配置文件实现封装,例如Properties封装Props
cn.hutool.setting.profile - package cn.hutool.setting.profile
配置环境封装,例如Profile可以自定义不同环境下的配置文件位置
cn.hutool.setting.yaml - package cn.hutool.setting.yaml
YAML文件的读写封装,基于snakeyaml
cn.hutool.socket - package cn.hutool.socket
Socket套接字相关工具类封装
cn.hutool.socket.aio - package cn.hutool.socket.aio
AIO相关封装
cn.hutool.socket.nio - package cn.hutool.socket.nio
NIO相关封装
cn.hutool.socket.protocol - package cn.hutool.socket.protocol
消息协议接口及实现
cn.hutool.system - package cn.hutool.system
System模块主要获取系统、JVM、内存、CPU等信息,以便动态监测系统状态
cn.hutool.system.oshi - package cn.hutool.system.oshi
Oshi库封装
https://github.com/oshi/oshi
code - Variable in class cn.hutool.captcha.AbstractCaptcha
验证码
CODEC_LOWER - Static variable in class cn.hutool.core.codec.Base16Codec
 
CODEC_UPPER - Static variable in class cn.hutool.core.codec.Base16Codec
 
CodeGenerator - Interface in cn.hutool.captcha.generator
验证码文字生成器
CollectionConverter - Class in cn.hutool.core.convert.impl
各种集合类转换器
CollectionConverter() - Constructor for class cn.hutool.core.convert.impl.CollectionConverter
构造,默认集合类型使用Collection
CollectionConverter(Type) - Constructor for class cn.hutool.core.convert.impl.CollectionConverter
构造
CollectionConverter(Class<?>) - Constructor for class cn.hutool.core.convert.impl.CollectionConverter
构造
CollectionConverter(Type, Type) - Constructor for class cn.hutool.core.convert.impl.CollectionConverter
构造
CollectionUtil - Class in cn.hutool.core.collection
集合相关工具类,包括数组,是 CollUtil 的别名工具类
CollectionUtil() - Constructor for class cn.hutool.core.collection.CollectionUtil
 
CollectionValueMap<K,V> - Class in cn.hutool.core.map.multi
值作为集合的Map实现,通过调用putValue可以在相同key时加入多个值,多个值用集合表示
此类可以通过传入函数自定义集合类型的创建规则
CollectionValueMap() - Constructor for class cn.hutool.core.map.multi.CollectionValueMap
构造
CollectionValueMap(int) - Constructor for class cn.hutool.core.map.multi.CollectionValueMap
构造
CollectionValueMap(Map<? extends K, ? extends Collection<V>>) - Constructor for class cn.hutool.core.map.multi.CollectionValueMap
构造
CollectionValueMap(float, Map<? extends K, ? extends Collection<V>>) - Constructor for class cn.hutool.core.map.multi.CollectionValueMap
构造
CollectionValueMap(int, float) - Constructor for class cn.hutool.core.map.multi.CollectionValueMap
构造
CollectionValueMap(float, Map<? extends K, ? extends Collection<V>>, Func0<Collection<V>>) - Constructor for class cn.hutool.core.map.multi.CollectionValueMap
构造
CollectionValueMap(int, float, Func0<Collection<V>>) - Constructor for class cn.hutool.core.map.multi.CollectionValueMap
构造
CollectorUtil - Class in cn.hutool.core.stream
可变的汇聚操作Collector 相关工具封装
CollectorUtil() - Constructor for class cn.hutool.core.stream.CollectorUtil
 
CollStreamUtil - Class in cn.hutool.core.collection
集合的stream操作封装
CollStreamUtil() - Constructor for class cn.hutool.core.collection.CollStreamUtil
 
CollUtil - Class in cn.hutool.core.collection
集合相关工具类
CollUtil() - Constructor for class cn.hutool.core.collection.CollUtil
 
CollUtil.Consumer<T> - Interface in cn.hutool.core.collection
针对一个参数做相应的操作
此函数接口与JDK8中Consumer不同是多提供了index参数,用于标记遍历对象是第几个。
CollUtil.KVConsumer<K,V> - Interface in cn.hutool.core.collection
针对两个参数做相应的操作,例如Map中的KEY和VALUE
colNameToIndex(String) - Static method in class cn.hutool.poi.excel.ExcelUtil
根据表元的列名转换为列号
COLON - Static variable in interface cn.hutool.core.text.CharPool
字符常量:冒号 ':'
COLON - Static variable in interface cn.hutool.core.text.StrPool
字符串常量:冒号 ":"
colorConvert(ColorSpace, BufferedImage) - Static method in class cn.hutool.core.img.ImgUtil
图片颜色转换
可以使用灰度 (gray)等
colorDepth - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
 
colorMap() - Method in class cn.hutool.core.img.gif.NeuQuant
 
colorTab - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
 
ColorUtil - Class in cn.hutool.core.img
颜色工具类
ColorUtil() - Constructor for class cn.hutool.core.img.ColorUtil
 
Column - Class in cn.hutool.db.meta
数据库表的列信息
Column() - Constructor for class cn.hutool.db.meta.Column
构造
Column(Table, ResultSet) - Constructor for class cn.hutool.db.meta.Column
构造
ColumnIndexInfo - Class in cn.hutool.db.meta
索引中的列信息
ColumnIndexInfo(String, String) - Constructor for class cn.hutool.db.meta.ColumnIndexInfo
构造
columnKeys() - Method in class cn.hutool.core.map.multi.RowKeyTable
 
columnKeys() - Method in interface cn.hutool.core.map.multi.Table
返回所有列的key,列的key如果实现Map是可重复key,则返回对应不去重的List。
columnKeySet() - Method in class cn.hutool.core.map.multi.RowKeyTable
 
columnKeySet() - Method in interface cn.hutool.core.map.multi.Table
返回所有列的key,列的key不可重复
columnMap() - Method in class cn.hutool.core.map.multi.RowKeyTable
 
columnMap() - Method in interface cn.hutool.core.map.multi.Table
返回列-行对应的map
ColumnSheetReader - Class in cn.hutool.poi.excel.reader
读取单独一列
ColumnSheetReader(int, int, int) - Constructor for class cn.hutool.poi.excel.reader.ColumnSheetReader
构造
Combination - Class in cn.hutool.core.math
组合,即C(n, m)
排列组合相关类 参考:http://cgs1999.iteye.com/blog/2327664
Combination(String[]) - Constructor for class cn.hutool.core.math.Combination
组合,即C(n, m)
排列组合相关类 参考:http://cgs1999.iteye.com/blog/2327664
CombinationAnnotationElement - Class in cn.hutool.core.annotation
组合注解 对JDK的原生注解机制做一个增强,支持类似Spring的组合注解。
核心实现使用了递归获取指定元素上的注解以及注解的注解,以实现复合注解的获取。
CombinationAnnotationElement(AnnotatedElement) - Constructor for class cn.hutool.core.annotation.CombinationAnnotationElement
构造
CombinationAnnotationElement(AnnotatedElement, Predicate<Annotation>) - Constructor for class cn.hutool.core.annotation.CombinationAnnotationElement
构造
combinationCount(int, int) - Static method in class cn.hutool.core.math.MathUtil
计算组合数,即C(n, m) = n!/((n-m)! * m!)
combinationSelect(String[], int) - Static method in class cn.hutool.core.math.MathUtil
组合选择(从列表中选择n个组合)
combine(String, String) - Method in class cn.hutool.core.text.AntPathMatcher
Combine two patterns into a new pattern.
combiner() - Method in class cn.hutool.core.stream.SimpleCollector
 
COMMA - Static variable in interface cn.hutool.core.text.CharPool
字符常量:逗号 ','
COMMA - Static variable in interface cn.hutool.core.text.StrPool
字符串常量:逗号 ","
command(String) - Method in class cn.hutool.extra.ssh.SshjSftp
执行Linux 命令
COMMENT_REGEX - Static variable in class cn.hutool.core.util.XmlUtil
在XML中注释的内容 正则
commentCharacter - Variable in class cn.hutool.core.text.csv.CsvConfig
注释符号,用于区分注释行,默认'#'
commit() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
commit() - Method in class cn.hutool.db.Session
提交事务
commonPrefix(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
字符串1和字符串2的公共前缀
commonSuffix(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
字符串1和字符串2的公共后缀
ComparableComparator<E extends Comparable<? super E>> - Class in cn.hutool.core.comparator
针对 Comparable对象的默认比较器
ComparableComparator() - Constructor for class cn.hutool.core.comparator.ComparableComparator
构造
comparator - Variable in class cn.hutool.core.comparator.NullComparator
 
ComparatorChain<E> - Class in cn.hutool.core.comparator
比较器链。此链包装了多个比较器,最终比较结果按照比较器顺序综合多个比较器结果。
按照比较器链的顺序分别比较,如果比较出相等则转向下一个比较器,否则直接返回
此类copy from Apache-commons-collections
ComparatorChain() - Constructor for class cn.hutool.core.comparator.ComparatorChain
构造空的比较器链,必须至少有一个比较器,否则会在compare时抛出UnsupportedOperationException
ComparatorChain(Comparator<E>) - Constructor for class cn.hutool.core.comparator.ComparatorChain
构造,初始化单一比较器。比较器为正序
ComparatorChain(Comparator<E>, boolean) - Constructor for class cn.hutool.core.comparator.ComparatorChain
构造,初始化单一比较器。自定义正序还是反序
ComparatorChain(List<Comparator<E>>) - Constructor for class cn.hutool.core.comparator.ComparatorChain
构造,使用已有的比较器列表
ComparatorChain(List<Comparator<E>>, BitSet) - Constructor for class cn.hutool.core.comparator.ComparatorChain
构造,使用已有的比较器列表和对应的BitSet
BitSet中的boolean值需与list中的Comparator一一对应,true表示正序,false反序
ComparatorException - Exception in cn.hutool.core.comparator
比较异常
ComparatorException(Throwable) - Constructor for exception cn.hutool.core.comparator.ComparatorException
 
ComparatorException(String) - Constructor for exception cn.hutool.core.comparator.ComparatorException
 
ComparatorException(String, Object...) - Constructor for exception cn.hutool.core.comparator.ComparatorException
 
ComparatorException(String, Throwable) - Constructor for exception cn.hutool.core.comparator.ComparatorException
 
ComparatorException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.comparator.ComparatorException
 
compare(E, E) - Method in class cn.hutool.core.comparator.ComparableComparator
比较两个Comparable对象
compare(E, E) - Method in class cn.hutool.core.comparator.ComparatorChain
执行比较
按照比较器链的顺序分别比较,如果比较出相等则转向下一个比较器,否则直接返回
compare(T, T, Comparator<T>) - Static method in class cn.hutool.core.comparator.CompareUtil
对象比较,比较结果取决于comparator,如果被比较对象为null,传入的comparator对象应处理此情况
如果传入comparator为null,则使用默认规则比较(此时被比较对象必须实现Comparable接口)
compare(T, T) - Static method in class cn.hutool.core.comparator.CompareUtil
null安全的对象比较,null对象小于任何对象
compare(T, T, boolean) - Static method in class cn.hutool.core.comparator.CompareUtil
null安全的对象比较
compare(T, T, boolean) - Static method in class cn.hutool.core.comparator.CompareUtil
自然比较两个对象的大小,比较规则如下:
compare(T, T) - Method in class cn.hutool.core.comparator.IndexedComparator
 
compare(T, T) - Method in class cn.hutool.core.comparator.InstanceComparator
 
compare(CharSequence, CharSequence) - Method in class cn.hutool.core.comparator.LengthComparator
 
compare(T, T) - Method in class cn.hutool.core.comparator.NullComparator
 
compare(String, String) - Method in class cn.hutool.core.comparator.PinyinComparator
 
compare(E, E) - Method in class cn.hutool.core.comparator.ReverseComparator
 
compare(String, String) - Method in class cn.hutool.core.comparator.VersionComparator
比较两个版本
null版本排在最小:即:
compare(CharSequence, CharSequence) - Method in class cn.hutool.core.comparator.WindowsExplorerStringComparator
 
compare(Calendar, Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
null安全的Calendar比较,null小于任何日期
compare(Date, Date) - Static method in class cn.hutool.core.date.DateUtil
null安全的日期比较,null对象排在末尾
compare(Date, Date, String) - Static method in class cn.hutool.core.date.DateUtil
null安全的日期比较,并只比较指定格式; null对象排在末尾, 并指定日期格式;
compare(String, String) - Method in class cn.hutool.core.text.AntPathMatcher.AntPatternComparator
Compare two patterns to determine which should match first, i.e.
compare(CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
比较两个字符串,用于排序
compare(char, char) - Static method in class cn.hutool.core.util.NumberUtil
比较两个值的大小
compare(double, double) - Static method in class cn.hutool.core.util.NumberUtil
比较两个值的大小
compare(int, int) - Static method in class cn.hutool.core.util.NumberUtil
比较两个值的大小
compare(long, long) - Static method in class cn.hutool.core.util.NumberUtil
比较两个值的大小
compare(short, short) - Static method in class cn.hutool.core.util.NumberUtil
比较两个值的大小
compare(byte, byte) - Static method in class cn.hutool.core.util.NumberUtil
比较两个值的大小
compare(T, T) - Static method in class cn.hutool.core.util.ObjectUtil
null安全的对象比较,null对象排在末尾
compare(T, T, boolean) - Static method in class cn.hutool.core.util.ObjectUtil
null安全的对象比较
compareIgnoreCase(CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
比较两个字符串,用于排序,大小写不敏感
compareItem(T, T, Field) - Method in class cn.hutool.core.comparator.BaseFieldComparator
Deprecated.
比较两个对象的同一个字段值
compareTo(Hierarchical) - Method in interface cn.hutool.core.annotation.Hierarchical
compareTo(SynthesizedAnnotationPostProcessor) - Method in interface cn.hutool.core.annotation.SynthesizedAnnotationPostProcessor
比较两个后置处理器的SynthesizedAnnotationPostProcessor.order()返回值
compareTo(DataSize) - Method in class cn.hutool.core.io.unit.DataSize
 
compareTo(MutableBool) - Method in class cn.hutool.core.lang.mutable.MutableBool
比较
compareTo(MutableByte) - Method in class cn.hutool.core.lang.mutable.MutableByte
比较
compareTo(MutableDouble) - Method in class cn.hutool.core.lang.mutable.MutableDouble
比较
compareTo(MutableFloat) - Method in class cn.hutool.core.lang.mutable.MutableFloat
比较
compareTo(MutableInt) - Method in class cn.hutool.core.lang.mutable.MutableInt
比较
compareTo(MutableLong) - Method in class cn.hutool.core.lang.mutable.MutableLong
比较
compareTo(MutableShort) - Method in class cn.hutool.core.lang.mutable.MutableShort
比较
compareTo(Node) - Method in interface cn.hutool.core.lang.tree.Node
 
compareTo(UUID) - Method in class cn.hutool.core.lang.UUID
将此 UUID 与指定的 UUID 比较。
compareTo(Version) - Method in class cn.hutool.core.lang.Version
 
compareTo(Money) - Method in class cn.hutool.core.math.Money
货币比较。
compareTo(Delayed) - Method in class cn.hutool.cron.timingwheel.TimerTaskList
 
CompareToBuilder - Class in cn.hutool.core.builder
用于构建 Comparable.compareTo(Object) 方法的辅助工具
CompareToBuilder() - Constructor for class cn.hutool.core.builder.CompareToBuilder
构造,构造后调用append方法增加比较项,然后调用CompareToBuilder.toComparison()获取结果
CompareUtil - Class in cn.hutool.core.comparator
比较工具类
CompareUtil() - Constructor for class cn.hutool.core.comparator.CompareUtil
 
compareVersion(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
比较两个版本
null版本排在最小:即:
comparingIndexed(Function<? super T, ? extends U>, U...) - Static method in class cn.hutool.core.comparator.CompareUtil
索引比较器
通过keyExtractor函数,提取对象的某个属性或规则,根据提供的排序数组,完成比较
comparingIndexed(Function<? super T, ? extends U>, boolean, U...) - Static method in class cn.hutool.core.comparator.CompareUtil
索引比较器
通过keyExtractor函数,提取对象的某个属性或规则,根据提供的排序数组,完成比较
comparingPinyin(Function<T, String>) - Static method in class cn.hutool.core.comparator.CompareUtil
中文比较器
comparingPinyin(Function<T, String>, boolean) - Static method in class cn.hutool.core.comparator.CompareUtil
中文(拼音)比较器
compile(String...) - Static method in class cn.hutool.core.compiler.CompilerUtil
编译指定的源码文件
compile() - Method in class cn.hutool.core.compiler.JavaSourceCompiler
编译所有文件并返回类加载器
compile(List<String>) - Method in class cn.hutool.core.compiler.JavaSourceCompiler
编译所有文件并返回类加载器
compile(String) - Method in class cn.hutool.script.FullSupportScriptEngine
 
compile(Reader) - Method in class cn.hutool.script.FullSupportScriptEngine
 
compile(String) - Method in class cn.hutool.script.JavaScriptEngine
 
compile(Reader) - Method in class cn.hutool.script.JavaScriptEngine
 
compile(String) - Static method in class cn.hutool.script.ScriptUtil
编译Javascript脚本
compile(ScriptEngine, String) - Static method in class cn.hutool.script.ScriptUtil
编译Javascript脚本
COMPILER - Static variable in interface cn.hutool.system.SystemPropsKeys
要使用的 JIT 编译器的名称
COMPILER - Static variable in class cn.hutool.system.SystemUtil
要使用的 JIT 编译器的名称的KEY
CompilerException - Exception in cn.hutool.core.compiler
编译异常
CompilerException(Throwable) - Constructor for exception cn.hutool.core.compiler.CompilerException
 
CompilerException(String) - Constructor for exception cn.hutool.core.compiler.CompilerException
 
CompilerException(String, Object...) - Constructor for exception cn.hutool.core.compiler.CompilerException
 
CompilerException(String, Throwable) - Constructor for exception cn.hutool.core.compiler.CompilerException
 
CompilerException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.compiler.CompilerException
 
CompilerUtil - Class in cn.hutool.core.compiler
源码编译工具类,主要封装JavaCompiler 相关功能
CompilerUtil() - Constructor for class cn.hutool.core.compiler.CompilerUtil
 
completed(AsynchronousSocketChannel, AioServer) - Method in class cn.hutool.socket.aio.AcceptHandler
 
completed(Integer, AioSession) - Method in class cn.hutool.socket.aio.ReadHandler
 
completed(ServerSocketChannel, NioServer) - Method in class cn.hutool.socket.nio.AcceptHandler
 
completeFileNameFromHeader(File) - Method in class cn.hutool.http.HttpResponse
从响应头补全下载文件名
completeUrl(String, String) - Static method in class cn.hutool.core.util.URLUtil
补全相对路径
compress(File, File, float) - Static method in class cn.hutool.core.img.ImgUtil
压缩图像,输出图像只支持jpg文件
CompressException - Exception in cn.hutool.extra.compress
压缩解压异常语言异常
CompressException(Throwable) - Constructor for exception cn.hutool.extra.compress.CompressException
 
CompressException(String) - Constructor for exception cn.hutool.extra.compress.CompressException
 
CompressException(String, Object...) - Constructor for exception cn.hutool.extra.compress.CompressException
 
CompressException(String, Throwable) - Constructor for exception cn.hutool.extra.compress.CompressException
 
CompressException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.extra.compress.CompressException
 
CompressException(Throwable, String, Object...) - Constructor for exception cn.hutool.extra.compress.CompressException
 
CompressUtil - Class in cn.hutool.extra.compress
压缩工具类
基于commons-compress的压缩解压封装
CompressUtil() - Constructor for class cn.hutool.extra.compress.CompressUtil
 
compute(String, BiFunction<? super String, ? super Object, ?>) - Method in class cn.hutool.core.lang.Dict
 
compute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class cn.hutool.core.map.BiMap
 
compute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class cn.hutool.core.map.MapWrapper
 
compute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
 
compute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class cn.hutool.core.map.TransMap
 
computeIfAbsent(String, Function<? super String, ?>) - Method in class cn.hutool.core.lang.Dict
 
computeIfAbsent(K, Function<? super K, ? extends V>) - Method in class cn.hutool.core.map.BiMap
 
computeIfAbsent(Map<K, V>, K, Function<? super K, ? extends V>) - Static method in class cn.hutool.core.map.MapUtil
如果 key 对应的 value 不存在,则使用获取 mappingFunction 重新计算后的值,并保存为该 key 的 value,否则返回 value。
方法来自Dubbo,解决使用ConcurrentHashMap.computeIfAbsent导致的死循环问题。(issues#2349)
A temporary workaround for Java 8 specific performance issue JDK-8161372 .
This class should be removed once we drop Java 8 support.
参考:https://github.com/apache/dubbo/blob/3.2/dubbo-common/src/main/java/org/apache/dubbo/common/utils/ConcurrentHashMapUtils.java
computeIfAbsent(K, Function<? super K, ? extends V>) - Method in class cn.hutool.core.map.MapWrapper
 
computeIfAbsent(K, Function<? super K, ? extends V>) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
 
computeIfAbsent(K, Func0<? extends V>) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
从缓存中获得对象,当对象不在缓存中或已经过期返回Func0回调产生的对象
computeIfAbsent(K, Function<? super K, ? extends V>) - Method in class cn.hutool.core.map.SafeConcurrentHashMap
 
computeIfAbsent(K, Function<? super K, ? extends V>) - Method in class cn.hutool.core.map.TransMap
 
computeIfAbsentForJdk8(Map<K, V>, K, Function<? super K, ? extends V>) - Static method in class cn.hutool.core.map.MapUtil
如果 key 对应的 value 不存在,则使用获取 mappingFunction 重新计算后的值,并保存为该 key 的 value,否则返回 value。
解决使用ConcurrentHashMap.computeIfAbsent导致的死循环问题。(issues#2349)
A temporary workaround for Java 8 specific performance issue JDK-8161372 .
This class should be removed once we drop Java 8 support.
computeIfPresent(String, BiFunction<? super String, ? super Object, ?>) - Method in class cn.hutool.core.lang.Dict
 
computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class cn.hutool.core.map.BiMap
 
computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class cn.hutool.core.map.MapWrapper
 
computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
 
computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class cn.hutool.core.map.TableMap
 
computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class cn.hutool.core.map.TransMap
 
ComputeIter<T> - Class in cn.hutool.core.collection
带有计算属性的遍历器
通过继承此抽象遍历器,实现ComputeIter.computeNext()计算下一个节点,即可完成节点遍历
当调用ComputeIter.hasNext()时将此方法产生的节点缓存,直到调用ComputeIter.next()取出
当无下一个节点时,须返回null表示遍历结束
ComputeIter() - Constructor for class cn.hutool.core.collection.ComputeIter
 
computeNext() - Method in class cn.hutool.core.collection.ComputeIter
计算新的节点,通过实现此方法,当调用ComputeIter.hasNext()时将此方法产生的节点缓存,直到调用ComputeIter.next()取出
当无下一个节点时,须返回null表示遍历结束
computeNext() - Method in class cn.hutool.core.collection.LineIter
 
computeNext() - Method in class cn.hutool.core.text.csv.CsvParser
 
computeNext() - Method in class cn.hutool.core.text.split.SplitIter
 
computeNext() - Method in class cn.hutool.extra.tokenizer.AbstractResult
 
concat(boolean, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
连接多个字符串为一个
concurrencyTest(int, Runnable) - Static method in class cn.hutool.core.thread.ThreadUtil
并发测试
此方法用于测试多线程下执行某些逻辑的并发性能
调用此方法会导致当前线程阻塞。
结束后可调用ConcurrencyTester.getInterval() 方法获取执行时间
ConcurrencyTester - Class in cn.hutool.core.thread
高并发测试工具类
ConcurrencyTester(int) - Constructor for class cn.hutool.core.thread.ConcurrencyTester
构造
ConcurrentHashSet<E> - Class in cn.hutool.core.collection
通过SafeConcurrentHashMap实现的线程安全HashSet
ConcurrentHashSet() - Constructor for class cn.hutool.core.collection.ConcurrentHashSet
构造
触发因子为默认的0.75
ConcurrentHashSet(int) - Constructor for class cn.hutool.core.collection.ConcurrentHashSet
构造
触发因子为默认的0.75
ConcurrentHashSet(int, float) - Constructor for class cn.hutool.core.collection.ConcurrentHashSet
构造
ConcurrentHashSet(int, float, int) - Constructor for class cn.hutool.core.collection.ConcurrentHashSet
构造
ConcurrentHashSet(Iterable<E>) - Constructor for class cn.hutool.core.collection.ConcurrentHashSet
从已有集合中构造
Condition - Class in cn.hutool.db.sql
条件对象
Condition() - Constructor for class cn.hutool.db.sql.Condition
构造
Condition(boolean) - Constructor for class cn.hutool.db.sql.Condition
构造
Condition(String, Object) - Constructor for class cn.hutool.db.sql.Condition
构造,使用等于表达式(运算符是=)
Condition(String, String, Object) - Constructor for class cn.hutool.db.sql.Condition
构造
Condition(String, String, Condition.LikeType) - Constructor for class cn.hutool.db.sql.Condition
构造
Condition.LikeType - Enum in cn.hutool.db.sql
SQL中 LIKE 语句查询方式
ConditionBuilder - Class in cn.hutool.db.sql
多条件构建封装
可以将多个条件构建为SQL语句的一部分,并将参数值转换为占位符,并提取对应位置的参数值。
例如:name = ? AND type IN (?, ?) AND other LIKE ?
ConditionBuilder(Condition...) - Constructor for class cn.hutool.db.sql.ConditionBuilder
构造
ConditionGroup - Class in cn.hutool.db.sql
条件组
用于构建复杂where条件
ConditionGroup() - Constructor for class cn.hutool.db.sql.ConditionGroup
 
config - Variable in class cn.hutool.cron.Scheduler
定时任务配置
config - Variable in class cn.hutool.http.HttpResponse
Http配置
config - Variable in class cn.hutool.socket.aio.AioServer
 
connect(String, int) - Static method in class cn.hutool.extra.ssh.GanymedUtil
连接到服务器
connect() - Method in class cn.hutool.http.HttpConnection
连接
connect(AsynchronousChannelGroup, InetSocketAddress) - Static method in class cn.hutool.socket.ChannelUtil
连接到指定地址
connect(String, int) - Static method in class cn.hutool.socket.SocketUtil
创建Socket并连接到指定地址的服务器
connect(String, int, int) - Static method in class cn.hutool.socket.SocketUtil
创建Socket并连接到指定地址的服务器
connect(InetSocketAddress, int) - Static method in class cn.hutool.socket.SocketUtil
创建Socket并连接到指定地址的服务器
ConnectionWraper - Class in cn.hutool.db.ds.pooled
连接包装,用于丰富功能
ConnectionWraper() - Constructor for class cn.hutool.db.ds.pooled.ConnectionWraper
 
Connector - Class in cn.hutool.extra.ssh
连接者对象,提供一些连接的基本信息
Connector() - Constructor for class cn.hutool.extra.ssh.Connector
 
Connector(String, String, String) - Constructor for class cn.hutool.extra.ssh.Connector
构造
Connector(String, int, String, String) - Constructor for class cn.hutool.extra.ssh.Connector
构造
ConsistentHash<T> - Class in cn.hutool.core.lang
一致性Hash算法 算法详解:http://blog.csdn.net/sparkliang/article/details/5279393 算法实现:https://weblogs.java.net/blog/2007/11/27/consistent-hashing
ConsistentHash(int, Collection<T>) - Constructor for class cn.hutool.core.lang.ConsistentHash
构造,使用Java默认的Hash算法
ConsistentHash(Hash32<Object>, int, Collection<T>) - Constructor for class cn.hutool.core.lang.ConsistentHash
构造
Console - Class in cn.hutool.core.lang
命令行(控制台)工具方法类
此类主要针对System.outSystem.err 做封装。
Console() - Constructor for class cn.hutool.core.lang.Console
 
CONSOLE_HANDLER - Static variable in class cn.hutool.core.io.file.Tailer
 
ConsoleColorLog - Class in cn.hutool.log.dialect.console
利用System.out.println()打印彩色日志
ConsoleColorLog(String) - Constructor for class cn.hutool.log.dialect.console.ConsoleColorLog
构造
ConsoleColorLog(Class<?>) - Constructor for class cn.hutool.log.dialect.console.ConsoleColorLog
构造
ConsoleColorLogFactory - Class in cn.hutool.log.dialect.console
利用System.out.println()打印彩色日志
ConsoleColorLogFactory() - Constructor for class cn.hutool.log.dialect.console.ConsoleColorLogFactory
 
ConsoleLineHandler() - Constructor for class cn.hutool.core.io.file.Tailer.ConsoleLineHandler
 
ConsoleLog - Class in cn.hutool.log.dialect.console
利用System.out.println()打印日志
ConsoleLog(Class<?>) - Constructor for class cn.hutool.log.dialect.console.ConsoleLog
构造
ConsoleLog(String) - Constructor for class cn.hutool.log.dialect.console.ConsoleLog
构造
ConsoleLogFactory - Class in cn.hutool.log.dialect.console
利用System.out.println()打印日志
ConsoleLogFactory() - Constructor for class cn.hutool.log.dialect.console.ConsoleLogFactory
 
ConsoleTable - Class in cn.hutool.core.lang
控制台打印表格工具
ConsoleTable() - Constructor for class cn.hutool.core.lang.ConsoleTable
 
Consumer3<P1,P2,P3> - Interface in cn.hutool.core.lang.func
3参数Consumer
contains(long) - Method in interface cn.hutool.bloomfilter.bitMap.BitMap
检查是否包含值
contains(long) - Method in class cn.hutool.bloomfilter.bitMap.IntMap
 
contains(long) - Method in class cn.hutool.bloomfilter.bitMap.LongMap
 
contains(String) - Method in class cn.hutool.bloomfilter.BitMapBloomFilter
是否可能包含此字符串,此处存在误判
contains(String) - Method in class cn.hutool.bloomfilter.BitSetBloomFilter
判定是否包含指定字符串
contains(String) - Method in interface cn.hutool.bloomfilter.BloomFilter
 
contains(String) - Method in class cn.hutool.bloomfilter.filter.AbstractFilter
 
contains(Collection<?>, Object) - Static method in class cn.hutool.core.collection.CollUtil
判断指定集合是否包含指定值,如果集合为空(null或者空),返回false,否则找到元素返回true
contains(Collection<T>, Predicate<? super T>) - Static method in class cn.hutool.core.collection.CollUtil
自定义函数判断集合是否包含某类值
contains(Object) - Method in class cn.hutool.core.collection.ConcurrentHashSet
 
contains(Object) - Method in class cn.hutool.core.collection.UniqueKeySet
 
contains(Object) - Method in class cn.hutool.core.lang.Tuple
判断元组中是否包含某元素
contains(R, C) - Method in interface cn.hutool.core.map.multi.Table
是否包含指定行列的映射
行和列任意一个不存在都会返回false,如果行和列都存在,值为null,也会返回true
contains(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
指定字符是否在字符串中出现过
contains(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
指定字符串是否在字符串中出现过
contains(Object) - Method in class cn.hutool.core.text.csv.CsvRow
 
contains(T[], T) - Static method in class cn.hutool.core.util.ArrayUtil
数组中是否包含元素
contains(Class<E>, String) - Static method in class cn.hutool.core.util.EnumUtil
判断某个值是存在枚举中
contains(Object, Object) - Static method in class cn.hutool.core.util.ObjectUtil
对象中是否包含元素
支持的对象类型包括: String Collection Map Iterator Enumeration Array
contains(long[], long) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
数组中是否包含元素
contains(int[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
数组中是否包含元素
contains(short[], short) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
数组中是否包含元素
contains(char[], char) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
数组中是否包含元素
contains(byte[], byte) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
数组中是否包含元素
contains(double[], double) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
数组中是否包含元素
contains(float[], float) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
数组中是否包含元素
contains(boolean[], boolean) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
数组中是否包含元素
contains(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
指定内容中是否有表达式匹配的内容
contains(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
指定内容中是否有表达式匹配的内容
contains(Object) - Method in class cn.hutool.json.JSONArray
 
contains(String, String, String...) - Method in class cn.hutool.setting.GroupedSet
是否在给定分组的集合中包含指定值
如果给定分组对应集合不存在,则返回false
contains(String, Collection<String>) - Method in class cn.hutool.setting.GroupedSet
是否在给定分组的集合中全部包含指定值集合
如果给定分组对应集合不存在,则返回false
containsAll(Collection<?>, Collection<?>) - Static method in class cn.hutool.core.collection.CollUtil
集合1中是否包含集合2中所有的元素。
当集合1和集合2都为空时,返回true 当集合2为空时,返回true
containsAll(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
检查指定字符串中是否含给定的所有字符串
containsAll(Collection<?>) - Method in class cn.hutool.core.text.csv.CsvRow
 
containsAll(T[], T...) - Static method in class cn.hutool.core.util.ArrayUtil
数组中是否包含指定元素中的全部
containsAll(Collection<?>) - Method in class cn.hutool.json.JSONArray
 
containsAny(Collection<?>, Collection<?>) - Static method in class cn.hutool.core.collection.CollUtil
其中一个集合在另一个集合中是否至少包含一个元素,即是两个集合是否至少有一个共同的元素
containsAny(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
查找指定字符串是否包含指定字符串列表中的任意一个字符串
containsAny(CharSequence, char...) - Static method in class cn.hutool.core.text.CharSequenceUtil
查找指定字符串是否包含指定字符列表中的任意一个字符
containsAny(T[], T...) - Static method in class cn.hutool.core.util.ArrayUtil
数组中是否包含指定元素中的任意一个
containsAnyIgnoreCase(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
查找指定字符串是否包含指定字符串列表中的任意一个字符串
忽略大小写
containsBlank(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
给定字符串是否包含空白符(空白符包括空格、制表符、全角空格和不间断空格)
如果给定字符串为null或者"",则返回false
containsChild(K) - Method in interface cn.hutool.core.map.TreeEntry
获取以当前节点作为根节点的树结构,然后确认该树结构中当前节点是否存在指定子节点
containsChildNode(K, K) - Method in interface cn.hutool.core.map.ForestMap
判断以该父节点作为根节点的树结构中是否具有指定子节点
containsColumn(C) - Method in class cn.hutool.core.map.multi.RowKeyTable
 
containsColumn(C) - Method in interface cn.hutool.core.map.multi.Table
列是否存在
containsEmoji(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
是否包含Emoji表情的Unicode符
containsFile(String) - Method in class cn.hutool.extra.ssh.SshjSftp
是否包含该文件
containsIgnoreCase(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
是否包含特定字符,忽略大小写,如果给定两个参数都为null,返回true
containsIgnoreCase(CharSequence[], CharSequence) - Static method in class cn.hutool.core.util.ArrayUtil
数组中是否包含元素,忽略大小写
containsInvalid(String) - Static method in class cn.hutool.core.io.file.FileNameUtil
文件名中是否包含在Windows下不支持的非法字符,包括: \ / : * ? " < > |
containsInvalid(String) - Static method in class cn.hutool.core.io.FileUtil
文件名中是否包含在Windows下不支持的非法字符,包括: \ / : * ? " < > |
containsKey(K) - Method in interface cn.hutool.cache.Cache
是否包含key
containsKey(K) - Method in class cn.hutool.cache.impl.NoCache
 
containsKey(K) - Method in class cn.hutool.cache.impl.ReentrantCache
 
containsKey(K) - Method in class cn.hutool.cache.impl.StampedCache
 
containsKey(String) - Method in class cn.hutool.core.bean.copier.provider.BeanValueProvider
 
containsKey(String) - Method in class cn.hutool.core.bean.copier.provider.DynaBeanValueProvider
 
containsKey(T) - Method in interface cn.hutool.core.bean.copier.ValueProvider
是否包含指定KEY,如果不包含则忽略注入
此接口方法单独需要实现的意义在于:有些值提供者(比如Map)key是存在的,但是value为null,此时如果需要注入这个null,需要根据此方法判断
containsKey(Object) - Method in class cn.hutool.core.lang.Dict
 
containsKey(Object) - Method in class cn.hutool.core.map.LinkedForestMap
当前实例中是否存在key对应的节点
containsKey(Object) - Method in class cn.hutool.core.map.MapProxy
 
containsKey(Object) - Method in class cn.hutool.core.map.MapWrapper
 
containsKey(Object) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
 
containsKey(Object) - Method in class cn.hutool.core.map.TableMap
 
containsKey(Object) - Method in class cn.hutool.core.map.TransMap
 
containsKey(String, String) - Method in class cn.hutool.setting.GroupedMap
指定分组中是否包含指定key
containsKey(String, String) - Method in class cn.hutool.setting.Setting
指定分组中是否包含指定key
containsKey(Object) - Method in class cn.hutool.setting.Setting
默认分组(空分组)中是否包含指定key对应的值
containsOnly(CharSequence, char...) - Static method in class cn.hutool.core.text.CharSequenceUtil
检查指定字符串中是否只包含给定的字符
这里的containsOnly并不是必须全部给定的testChars都需要有,而是一个子集。testChars是个限定集合,检查字符串中的字符是否在这个限定集合中。
containsParent(K) - Method in interface cn.hutool.core.map.TreeEntry
获取以当前节点作为叶子节点的树结构,然后确认该树结构中当前节点是否存在指定父节点
containsParentNode(K, K) - Method in interface cn.hutool.core.map.ForestMap
获取以指定节点作为叶子节点的树结构,然后确认该树结构中当前节点是否存在指定父节点
containsProp(String) - Method in class cn.hutool.core.bean.DynaBean
检查是否有指定名称的bean属性
containsRow(R) - Method in interface cn.hutool.core.map.multi.Table
行是否存在
containsSensitive(String) - Static method in class cn.hutool.dfa.SensitiveUtil
是否包含敏感词
containsSensitive(Object) - Static method in class cn.hutool.dfa.SensitiveUtil
是否包含敏感词
containsValue(Object) - Method in class cn.hutool.core.map.LinkedForestMap
当前实例中是否存在对应的TreeEntry实例
containsValue(Object) - Method in class cn.hutool.core.map.MapProxy
 
containsValue(Object) - Method in class cn.hutool.core.map.MapWrapper
 
containsValue(V) - Method in interface cn.hutool.core.map.multi.Table
指定值是否存在
containsValue(Object) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
 
containsValue(Object) - Method in class cn.hutool.core.map.TableMap
 
containsValue(String, String) - Method in class cn.hutool.setting.GroupedMap
指定分组中是否包含指定值
containsValue(String, String) - Method in class cn.hutool.setting.Setting
指定分组中是否包含指定值
containsValue(Object) - Method in class cn.hutool.setting.Setting
默认分组(空分组)中是否包含指定值
CONTENT_TYPE - Static variable in class cn.hutool.jwt.JWTHeader
内容类型(content type)
contentEncoding() - Method in class cn.hutool.http.HttpResponse
获取内容编码
contentEquals(File, File) - Static method in class cn.hutool.core.io.FileUtil
比较两个文件内容是否相同
首先比较长度,长度一致再比较内容
此方法来自Apache Commons io
contentEquals(InputStream, InputStream) - Static method in class cn.hutool.core.io.IoUtil
对比两个流内容是否相同
内部会转换流为 BufferedInputStream
contentEquals(Reader, Reader) - Static method in class cn.hutool.core.io.IoUtil
对比两个Reader的内容是否一致
内部会转换流为 BufferedInputStream
contentEqualsIgnoreEOL(File, File, Charset) - Static method in class cn.hutool.core.io.FileUtil
比较两个文件内容是否相同
首先比较长度,长度一致再比较内容,比较内容采用按行读取,每行比较
此方法来自Apache Commons io
contentEqualsIgnoreEOL(Reader, Reader) - Static method in class cn.hutool.core.io.IoUtil
对比两个流内容是否相同,忽略EOL字符
内部会转换流为 BufferedInputStream
contentLength() - Method in class cn.hutool.http.HttpRequest
获取内容长度
contentLength(int) - Method in class cn.hutool.http.HttpRequest
设置内容长度
contentLength() - Method in class cn.hutool.http.HttpResponse
获取内容长度,以下情况长度无效: Transfer-Encoding: Chunked Content-Encoding: XXX 参考:https://blog.csdn.net/jiang7701037/article/details/86304302
ContentType - Enum in cn.hutool.http
常用Content-Type类型枚举
contentType(String) - Method in class cn.hutool.http.HttpRequest
设置contentType
contest(int, int, int) - Method in class cn.hutool.core.img.gif.NeuQuant
 
conversion(String) - Static method in class cn.hutool.core.math.Calculator
计算表达式的值
convert(Class<?>) - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
若存在转换器,则使用转换器对目标类进行转换
convert(Object, T) - Method in class cn.hutool.core.convert.AbstractConverter
 
Convert - Class in cn.hutool.core.convert
类型转换器
Convert() - Constructor for class cn.hutool.core.convert.Convert
 
convert(Class<T>, Object) - Static method in class cn.hutool.core.convert.Convert
转换值为指定类型
convert(TypeReference<T>, Object) - Static method in class cn.hutool.core.convert.Convert
转换值为指定类型
convert(Type, Object) - Static method in class cn.hutool.core.convert.Convert
转换值为指定类型
convert(Class<T>, Object, T) - Static method in class cn.hutool.core.convert.Convert
转换值为指定类型
convert(Type, Object, T) - Static method in class cn.hutool.core.convert.Convert
转换值为指定类型
convert(Object, T) - Method in interface cn.hutool.core.convert.Converter
转换为指定类型
如果类型无法确定,将读取默认值的类型做为目标类型
convert(Type, Object, T, boolean) - Method in class cn.hutool.core.convert.ConverterRegistry
转换值为指定类型
convert(Type, Object, T) - Method in class cn.hutool.core.convert.ConverterRegistry
转换值为指定类型
自定义转换器优先
convert(Type, Object) - Method in class cn.hutool.core.convert.ConverterRegistry
转换值为指定类型
convert(Object, Collection<?>) - Method in class cn.hutool.core.convert.impl.CollectionConverter
 
convert(Object, Class<? extends Number>, Function<Object, String>) - Static method in class cn.hutool.core.convert.impl.NumberConverter
转换对象为数字,支持的对象包括: Number对象 Boolean byte[] String
convert(Object, Class<?>, Function<Object, String>) - Static method in class cn.hutool.core.convert.impl.PrimitiveConverter
将指定值转换为原始类型的值
convert(Type, Object) - Method in class cn.hutool.core.convert.NumberWithFormat
 
convert(Type, Object) - Method in interface cn.hutool.core.convert.TypeConverter
转换为指定类型
如果类型无法确定,将读取默认值的类型做为目标类型
convert(File, File) - Static method in class cn.hutool.core.img.ImgUtil
图像类型转换:GIF=》JPG、GIF=》PNG、PNG=》JPG、PNG=》GIF(X)、BMP=》PNG
convert(InputStream, String, OutputStream) - Static method in class cn.hutool.core.img.ImgUtil
图像类型转换:GIF=》JPG、GIF=》PNG、PNG=》JPG、PNG=》GIF(X)、BMP=》PNG
此方法并不关闭流
convert(Image, String, ImageOutputStream) - Static method in class cn.hutool.core.img.ImgUtil
图像类型转换:GIF=》JPG、GIF=》PNG、PNG=》JPG、PNG=》GIF(X)、BMP=》PNG
此方法并不关闭流
convert(Image, String, ImageOutputStream, boolean) - Static method in class cn.hutool.core.img.ImgUtil
Deprecated.
convert(String, String, String) - Static method in class cn.hutool.core.util.CharsetUtil
转换字符串的字符集编码
convert(String, Charset, Charset) - Static method in class cn.hutool.core.util.CharsetUtil
转换字符串的字符集编码
当以错误的编码读取为字符串时,打印字符串将出现乱码。
此方法用于纠正因读取使用编码错误导致的乱码问题。
例如,在Servlet请求中客户端用GBK编码了请求参数,我们使用UTF-8读取到的是乱码,此时,使用此方法即可还原原编码的内容
convert(File, Charset, Charset) - Static method in class cn.hutool.core.util.CharsetUtil
转换文件编码
此方法用于转换文件编码,读取的文件实际编码必须与指定的srcCharset编码一致,否则导致乱码
convert(Object, JSON) - Method in class cn.hutool.json.JSONConverter
 
convert15To18(String) - Static method in class cn.hutool.core.util.IdcardUtil
将15位身份证号码转换为18位
convert18To15(String) - Static method in class cn.hutool.core.util.IdcardUtil
将18位身份证号码转换为15位
convertByClassName(String, Object) - Static method in class cn.hutool.core.convert.Convert
转换值为指定类型,类型采用字符串表示
convertCharset(String, String, String) - Static method in class cn.hutool.core.convert.Convert
给定字符串转换字符编码
如果参数为空,则返回原字符串,不报错。
convertCharset(File, Charset, Charset) - Static method in class cn.hutool.core.io.FileUtil
转换文件编码
此方法用于转换文件编码,读取的文件实际编码必须与指定的srcCharset编码一致,否则导致乱码
converter - Variable in class cn.hutool.core.bean.copier.CopyOptions
自定义类型转换器,默认使用全局万能转换器转换
Converter<T> - Interface in cn.hutool.core.convert
转换器接口,实现类型转换
ConverterRegistry - Class in cn.hutool.core.convert
转换器登记中心
ConverterRegistry() - Constructor for class cn.hutool.core.convert.ConverterRegistry
构造
ConvertException - Exception in cn.hutool.core.convert
转换异常
ConvertException(Throwable) - Constructor for exception cn.hutool.core.convert.ConvertException
 
ConvertException(String) - Constructor for exception cn.hutool.core.convert.ConvertException
 
ConvertException(String, Object...) - Constructor for exception cn.hutool.core.convert.ConvertException
 
ConvertException(String, Throwable) - Constructor for exception cn.hutool.core.convert.ConvertException
 
ConvertException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.convert.ConvertException
 
convertField(Type, Object) - Method in class cn.hutool.core.bean.copier.CopyOptions
使用自定义转换器转换字段值
如果自定义转换器为null,则返回原值。
convertFromOrSuppressedThrowable(Throwable, Class<T>) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
转化指定异常为来自或者包含指定异常
convertFromOrSuppressedThrowable(Throwable, Class<T>, boolean) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
转化指定异常为来自或者包含指定异常
convertFunc - Variable in class cn.hutool.poi.excel.sax.handler.AbstractRowHandler
行数据转换函数
convertInternal(Object) - Method in class cn.hutool.core.convert.AbstractConverter
内部转换器,被 AbstractConverter.convert(Object, Object) 调用,实现基本转换逻辑
内部转换器转换后如果转换失败可以做如下操作,处理结果都为返回默认值:
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.ArrayConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.AtomicBooleanConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.AtomicIntegerArrayConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.AtomicLongArrayConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.AtomicReferenceConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.BeanConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.BooleanConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.CalendarConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.CastConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.CharacterConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.CharsetConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.ClassConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.CollectionConverter
内部转换
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.CurrencyConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.DateConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.DurationConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.EntryConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.EnumConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.LocaleConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.MapConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.NumberConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.OptConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.OptionalConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.PairConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.PathConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.PeriodConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.PrimitiveConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.ReferenceConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.StackTraceElementConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.StringConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.TemporalAccessorConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.TimeZoneConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.URIConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.URLConverter
 
convertInternal(Object) - Method in class cn.hutool.core.convert.impl.UUIDConverter
 
convertLineSeparator(File, Charset, LineSeparator) - Static method in class cn.hutool.core.io.FileUtil
转换换行符
将给定文件的换行符转换为指定换行符
convertQuietly(Object, T) - Method in class cn.hutool.core.convert.AbstractConverter
不抛异常转换
当转换失败时返回默认值
convertQuietly(Type, Object) - Static method in class cn.hutool.core.convert.Convert
转换值为指定类型,不抛异常转换
当转换失败时返回null
convertQuietly(Type, Object, T) - Static method in class cn.hutool.core.convert.Convert
转换值为指定类型,不抛异常转换
当转换失败时返回默认值
convertTime(long, TimeUnit, TimeUnit) - Static method in class cn.hutool.core.convert.Convert
转换时间单位
convertTimeZone(Date, ZoneId) - Static method in class cn.hutool.core.date.DateUtil
Date 转换时区
convertTimeZone(Date, TimeZone) - Static method in class cn.hutool.core.date.DateUtil
Date 转换时区
convertToStr(Object) - Method in class cn.hutool.core.convert.AbstractConverter
值转为String,用于内部转换中需要使用String中转的情况
转换规则为:
convertToStr(Object) - Method in class cn.hutool.core.convert.impl.NumberConverter
 
convertToStr(Object) - Method in class cn.hutool.core.convert.impl.PrimitiveConverter
 
convertWithCheck(Type, Object, T, boolean) - Static method in class cn.hutool.core.convert.Convert
转换值为指定类型,可选是否不抛异常转换
当转换失败时返回默认值
convertWithCheck(Object, T, boolean) - Method in interface cn.hutool.core.convert.Converter
转换值为指定类型,可选是否不抛异常转换
当转换失败时返回默认值
cookie(Collection<HttpCookie>) - Method in class cn.hutool.http.HttpRequest
设置Cookie
自定义Cookie后会覆盖Hutool的默认Cookie行为
cookie(HttpCookie...) - Method in class cn.hutool.http.HttpRequest
设置Cookie
自定义Cookie后会覆盖Hutool的默认Cookie行为
cookie(String) - Method in class cn.hutool.http.HttpRequest
设置Cookie
自定义Cookie后会覆盖Hutool的默认Cookie行为
Coordinate(double, double) - Constructor for class cn.hutool.core.util.CoordinateUtil.Coordinate
构造
CoordinateUtil - Class in cn.hutool.core.util
坐标系转换相关工具类,主流坐标系包括:
WGS84坐标系:即地球坐标系,中国外谷歌地图 GCJ02坐标系:即火星坐标系,高德、腾讯、阿里等使用 BD09坐标系:即百度坐标系,GCJ02坐标系经加密后的坐标系。百度、搜狗等使用
CoordinateUtil() - Constructor for class cn.hutool.core.util.CoordinateUtil
 
CoordinateUtil.Coordinate - Class in cn.hutool.core.util
坐标经纬度
CopiedIter<E> - Class in cn.hutool.core.collection
复制 Iterator
为了解决并发情况下Iterator遍历导致的问题(当Iterator被修改会抛出ConcurrentModificationException) ,故使用复制原Iterator的方式解决此问题。
CopiedIter(Iterator<E>) - Constructor for class cn.hutool.core.collection.CopiedIter
构造
Copier<T> - Interface in cn.hutool.core.lang.copier
拷贝接口
copy() - Method in class cn.hutool.core.bean.copier.BeanCopier
 
copy() - Method in class cn.hutool.core.bean.copier.BeanToBeanCopier
 
copy() - Method in class cn.hutool.core.bean.copier.BeanToMapCopier
 
copy() - Method in class cn.hutool.core.bean.copier.MapToBeanCopier
 
copy() - Method in class cn.hutool.core.bean.copier.MapToMapCopier
 
copy() - Method in class cn.hutool.core.bean.copier.ValueProviderToBeanCopier
 
copy(ByteBuffer, int, int) - Static method in class cn.hutool.core.io.BufferUtil
拷贝到一个新的ByteBuffer
copy(ByteBuffer, ByteBuffer) - Static method in class cn.hutool.core.io.BufferUtil
拷贝ByteBuffer
copy(ByteBuffer, ByteBuffer, int) - Static method in class cn.hutool.core.io.BufferUtil
拷贝ByteBuffer
copy(ByteBuffer, int, ByteBuffer, int, int) - Static method in class cn.hutool.core.io.BufferUtil
拷贝ByteBuffer
copy(ReadableByteChannel, WritableByteChannel) - Method in class cn.hutool.core.io.copy.ChannelCopier
 
copy(S, T) - Method in class cn.hutool.core.io.copy.IoCopier
执行拷贝
copy(Reader, Writer) - Method in class cn.hutool.core.io.copy.ReaderWriterCopier
 
copy(InputStream, OutputStream) - Method in class cn.hutool.core.io.copy.StreamCopier
 
copy() - Method in class cn.hutool.core.io.file.FileCopier
执行拷贝
拷贝规则为:
copy(Path, Path, CopyOption...) - Static method in class cn.hutool.core.io.file.PathUtil
拷贝文件或目录,拷贝规则为: 源文件为目录,目标也为目录或不存在,则拷贝整个目录到目标目录下 源文件为文件,目标为目录或不存在,则拷贝文件到目标目录下 源文件为文件,目标也为文件,则在StandardCopyOption.REPLACE_EXISTING情况下覆盖之
copy(String, String, boolean) - Static method in class cn.hutool.core.io.FileUtil
复制文件或目录
如果目标文件为目录,则将源文件以相同文件名拷贝到目标目录
copy(File, File, boolean) - Static method in class cn.hutool.core.io.FileUtil
复制文件或目录
情况如下:
copy(Reader, Writer) - Static method in class cn.hutool.core.io.IoUtil
将Reader中的内容复制到Writer中 使用默认缓存大小,拷贝后不关闭Reader
copy(Reader, Writer, int) - Static method in class cn.hutool.core.io.IoUtil
将Reader中的内容复制到Writer中,拷贝后不关闭Reader
copy(Reader, Writer, int, StreamProgress) - Static method in class cn.hutool.core.io.IoUtil
将Reader中的内容复制到Writer中,拷贝后不关闭Reader
copy(Reader, Writer, int, long, StreamProgress) - Static method in class cn.hutool.core.io.IoUtil
将Reader中的内容复制到Writer中,拷贝后不关闭Reader
copy(InputStream, OutputStream) - Static method in class cn.hutool.core.io.IoUtil
拷贝流,使用默认Buffer大小,拷贝后不关闭流
copy(InputStream, OutputStream, int) - Static method in class cn.hutool.core.io.IoUtil
拷贝流,拷贝后不关闭流
copy(InputStream, OutputStream, int, StreamProgress) - Static method in class cn.hutool.core.io.IoUtil
拷贝流,拷贝后不关闭流
copy(InputStream, OutputStream, int, long, StreamProgress) - Static method in class cn.hutool.core.io.IoUtil
拷贝流,拷贝后不关闭流
copy(FileInputStream, FileOutputStream) - Static method in class cn.hutool.core.io.IoUtil
拷贝文件流,使用NIO
copy(FileChannel, FileChannel) - Static method in class cn.hutool.core.io.NioUtil
拷贝文件Channel,使用NIO,拷贝后不会关闭channel
copy(ReadableByteChannel, WritableByteChannel) - Static method in class cn.hutool.core.io.NioUtil
拷贝流,使用NIO,不会关闭channel
copy(ReadableByteChannel, WritableByteChannel, int) - Static method in class cn.hutool.core.io.NioUtil
拷贝流,使用NIO,不会关闭channel
copy(ReadableByteChannel, WritableByteChannel, int, StreamProgress) - Static method in class cn.hutool.core.io.NioUtil
拷贝流,使用NIO,不会关闭channel
copy(ReadableByteChannel, WritableByteChannel, int, long, StreamProgress) - Static method in class cn.hutool.core.io.NioUtil
拷贝流,使用NIO,不会关闭channel
copy() - Method in interface cn.hutool.core.lang.copier.Copier
执行拷贝
copy(OutputStream) - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
字节流复制到out,直到下一个boundary
copy(OutputStream, long) - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
复制字节流到out, 大于maxBytes或者文件末尾停止
copy(Object, int, Object, int, int) - Static method in class cn.hutool.core.util.ArrayUtil
copy(Object, Object, int) - Static method in class cn.hutool.core.util.ArrayUtil
包装 System.arraycopy(Object, int, Object, int, int)
数组复制,缘数组和目标数组都是从位置0开始复制
copy(Object, Class<T>) - Static method in class cn.hutool.extra.cglib.CglibUtil
拷贝Bean对象属性到目标类型
此方法通过指定目标类型自动创建之,然后拷贝属性
copy(Object, Class<T>, Converter) - Static method in class cn.hutool.extra.cglib.CglibUtil
拷贝Bean对象属性
此方法通过指定目标类型自动创建之,然后拷贝属性
copy(Object, Object) - Static method in class cn.hutool.extra.cglib.CglibUtil
拷贝Bean对象属性
copy(Object, Object, Converter) - Static method in class cn.hutool.extra.cglib.CglibUtil
拷贝Bean对象属性
copyByNIO(InputStream, OutputStream, int, StreamProgress) - Static method in class cn.hutool.core.io.NioUtil
拷贝流 thanks to: https://github.com/venusdrogon/feilong-io/blob/master/src/main/java/com/feilong/io/IOWriteUtil.java
本方法不会关闭流
copyByNIO(InputStream, OutputStream, int, long, StreamProgress) - Static method in class cn.hutool.core.io.NioUtil
拷贝流
本方法不会关闭流
copyContent(Path, Path, CopyOption...) - Static method in class cn.hutool.core.io.file.PathUtil
拷贝目录下的所有文件或目录到目标目录中,此方法不支持文件对文件的拷贝。 源文件为目录,目标也为目录或不存在,则拷贝目录下所有文件和目录到目标目录下 源文件为文件,目标为目录或不存在,则拷贝文件到目标目录下
copyContent(File, File, boolean) - Static method in class cn.hutool.core.io.FileUtil
复制文件或目录
情况如下:
copyFile(Resource, Path, CopyOption...) - Static method in class cn.hutool.core.io.file.PathUtil
通过JDK7+的 Files.copy(InputStream, Path, CopyOption...) 方法拷贝文件
copyFile(InputStream, Path, CopyOption...) - Static method in class cn.hutool.core.io.file.PathUtil
通过JDK7+的 Files.copy(InputStream, Path, CopyOption...) 方法拷贝文件
copyFile(Path, Path, StandardCopyOption...) - Static method in class cn.hutool.core.io.file.PathUtil
通过JDK7+的 Files.copy(Path, Path, CopyOption...) 方法拷贝文件
此方法不支持递归拷贝目录,如果src传入是目录,只会在目标目录中创建空目录
copyFile(Path, Path, CopyOption...) - Static method in class cn.hutool.core.io.file.PathUtil
通过JDK7+的 Files.copy(Path, Path, CopyOption...) 方法拷贝文件
此方法不支持递归拷贝目录,如果src传入是目录,只会在目标目录中创建空目录
copyFile(String, String, StandardCopyOption...) - Static method in class cn.hutool.core.io.FileUtil
通过JDK7+的 Files#copy(Path, Path, CopyOption...) 方法拷贝文件
copyFile(Resource, File, StandardCopyOption...) - Static method in class cn.hutool.core.io.FileUtil
通过JDK7+的 Files#copy(InputStream, Path, CopyOption...) 方法拷贝文件
copyFile(InputStream, File, StandardCopyOption...) - Static method in class cn.hutool.core.io.FileUtil
通过JDK7+的 Files#copy(InputStream, Path, CopyOption...) 方法拷贝文件
copyFile(File, File, StandardCopyOption...) - Static method in class cn.hutool.core.io.FileUtil
通过JDK7+的 Files#copy(Path, Path, CopyOption...) 方法拷贝文件
copyFilesFromDir(File, File, boolean) - Static method in class cn.hutool.core.io.FileUtil
复制文件或目录
情况如下:
copyFilter - Variable in class cn.hutool.core.lang.copier.SrcToDestCopier
拷贝过滤器,可以过滤掉不需要拷贝的源
copyImage(Image, int) - Static method in class cn.hutool.core.img.ImgUtil
将已有Image复制新的一份出来
copyImage(Image, int, Color) - Static method in class cn.hutool.core.img.ImgUtil
将已有Image复制新的一份出来
copyList(Collection<S>, Supplier<T>) - Static method in class cn.hutool.extra.cglib.CglibUtil
拷贝List Bean对象属性
copyList(Collection<S>, Supplier<T>, Converter) - Static method in class cn.hutool.extra.cglib.CglibUtil
拷贝List Bean对象属性
copyList(Collection<S>, Supplier<T>, BiConsumer<S, T>) - Static method in class cn.hutool.extra.cglib.CglibUtil
拷贝List Bean对象属性
copyList(Collection<S>, Supplier<T>, Converter, BiConsumer<S, T>) - Static method in class cn.hutool.extra.cglib.CglibUtil
拷贝List Bean对象属性
copyOf(Iterator<E>) - Static method in class cn.hutool.core.collection.CopiedIter
根据已有Iterator,返回新的CopiedIter
copyOptions - Variable in class cn.hutool.core.bean.copier.AbsCopier
拷贝选项
CopyOptions - Class in cn.hutool.core.bean.copier
属性拷贝选项
包括:
1、限制的类或接口,必须为目标对象的实现接口或父类,用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
2、是否忽略空值,当源对象的值为null时,true: 忽略而不注入此值,false: 注入null
3、忽略的属性列表,设置一个属性列表,不拷贝这些属性值
CopyOptions() - Constructor for class cn.hutool.core.bean.copier.CopyOptions
构造拷贝选项
CopyOptions(Class<?>, boolean, String...) - Constructor for class cn.hutool.core.bean.copier.CopyOptions
构造拷贝选项
copyProperties(Object, Class<T>, String...) - Static method in class cn.hutool.core.bean.BeanUtil
按照Bean对象属性创建对应的Class对象,并忽略某些属性
copyProperties(Object, Object, String...) - Static method in class cn.hutool.core.bean.BeanUtil
复制Bean对象属性
限制类用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
copyProperties(Object, Object, boolean) - Static method in class cn.hutool.core.bean.BeanUtil
复制Bean对象属性
copyProperties(Object, Object, CopyOptions) - Static method in class cn.hutool.core.bean.BeanUtil
复制Bean对象属性
限制类用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
copyToList(Collection<?>, Class<T>, CopyOptions) - Static method in class cn.hutool.core.bean.BeanUtil
复制集合中的Bean属性
此方法遍历集合中每个Bean,复制其属性后加入一个新的List中。
copyToList(Collection<?>, Class<T>) - Static method in class cn.hutool.core.bean.BeanUtil
复制集合中的Bean属性
此方法遍历集合中每个Bean,复制其属性后加入一个新的List中。
CopyVisitor - Class in cn.hutool.core.io.file.visitor
文件拷贝的FileVisitor实现,用于递归遍历拷贝目录,此类非线程安全
此类在遍历源目录并复制过程中会自动创建目标目录中不存在的上级目录。
CopyVisitor(Path, Path, CopyOption...) - Constructor for class cn.hutool.core.io.file.visitor.CopyVisitor
构造
CORRECTION_PARAM - Static variable in class cn.hutool.core.util.CoordinateUtil
修正参数(偏率ee)
count(Iterable<T>, Matcher<T>) - Static method in class cn.hutool.core.collection.CollUtil
集合中匹配规则的数量
count - Variable in class cn.hutool.core.io.copy.IoCopier
拷贝总数
count(int) - Static method in class cn.hutool.core.math.Arrangement
计算排列数,即A(n, n) = n!
count(int, int) - Static method in class cn.hutool.core.math.Arrangement
计算排列数,即A(n, m) = n!/(n-m)!
count(int, int) - Static method in class cn.hutool.core.math.Combination
计算组合数,即C(n, m) = n!/((n-m)! * m!)
count(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
统计指定内容中包含指定字符串的数量
参数为 null 或者 "" 返回 0.
count(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
统计指定内容中包含指定字符的数量
count() - Method in class cn.hutool.core.thread.SyncFinisher
剩余任务数
count(int, int) - Static method in class cn.hutool.core.util.NumberUtil
计算等份个数
count(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
计算指定字符串中,匹配pattern的个数
count(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
计算指定字符串中,匹配pattern的个数
count(Entity) - Method in class cn.hutool.db.AbstractDb
结果的条目数
count(SqlBuilder) - Method in class cn.hutool.db.AbstractDb
结果的条目数
count(CharSequence, Object...) - Method in class cn.hutool.db.AbstractDb
结果的条目数
count(Entity) - Method in class cn.hutool.db.DaoTemplate
满足条件的数据条目数量
count(Connection, Entity) - Method in class cn.hutool.db.DialectRunner
获取结果总数,生成类似于select count(1) from XXX wher XXX=? and YYY=?
count(Connection, SqlBuilder) - Method in class cn.hutool.db.DialectRunner
获取查询结果总数,生成类似于 SELECT count(1) from (sql) hutool_alias_count_
此方法会重新构建SqlBuilder,并去除末尾的order by子句
count(Connection, CharSequence, Object...) - Method in class cn.hutool.db.SqlConnRunner
获取查询结果总数,生成类似于 SELECT count(1) from (sql) as _count
countAll(int) - Static method in class cn.hutool.core.math.Arrangement
计算排列总数,即A(n, 1) + A(n, 2) + A(n, 3)...
countAll(int) - Static method in class cn.hutool.core.math.Combination
计算组合总数,即C(n, 1) + C(n, 2) + C(n, 3)...
countByIpRange(String, String) - Static method in class cn.hutool.core.net.Ipv4Util
计算IP区间有多少个IP
countByMaskBit(int, boolean) - Static method in class cn.hutool.core.net.Ipv4Util
计算子网大小
countMap(Iterable<T>) - Static method in class cn.hutool.core.collection.CollUtil
根据集合返回一个元素计数的 Map
所谓元素计数就是假如这个集合中某个元素出现了n次,那将这个元素做为key,n做为value
例如:[a,b,c,c,c] 得到:
a: 1
b: 1
c: 3
countMap(Iterator<T>) - Static method in class cn.hutool.core.collection.IterUtil
根据集合返回一个元素计数的 Map
所谓元素计数就是假如这个集合中某个元素出现了n次,那将这个元素做为key,n做为value
例如:[a,b,c,c,c] 得到:
a: 1
b: 1
c: 3
countNullCell(String, String) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
计算两个单元格之间的单元格数目(同一行)
CPU_ENDIAN - Static variable in class cn.hutool.core.util.ByteUtil
CPU的字节序
CpuInfo - Class in cn.hutool.system.oshi
CPU相关信息
CpuInfo() - Constructor for class cn.hutool.system.oshi.CpuInfo
空构造
CpuInfo(CentralProcessor, long) - Constructor for class cn.hutool.system.oshi.CpuInfo
构造,等待时间为用于计算在一定时长内的CPU负载情况,如传入1000表示最近1秒的负载情况
CpuInfo(Integer, double, double, double, double, double, String) - Constructor for class cn.hutool.system.oshi.CpuInfo
构造
CpuTicks - Class in cn.hutool.system.oshi
CPU负载时间信息
CpuTicks(CentralProcessor, long) - Constructor for class cn.hutool.system.oshi.CpuTicks
构造,等待时间为用于计算在一定时长内的CPU负载情况,如传入1000表示最近1秒的负载情况
CR - Static variable in interface cn.hutool.core.text.CharPool
字符常量:回车符 '\r'
CR - Static variable in interface cn.hutool.core.text.StrPool
字符串常量:回车符 "\r"
解释:该字符常用于表示 Linux 系统和 MacOS 系统下的文本换行
CRC16 - Class in cn.hutool.core.io.checksum
CRC16 循环冗余校验码(Cyclic Redundancy Check)实现,默认IBM算法
CRC16() - Constructor for class cn.hutool.core.io.checksum.CRC16
 
CRC16(CRC16Checksum) - Constructor for class cn.hutool.core.io.checksum.CRC16
构造
CRC16Ansi - Class in cn.hutool.core.io.checksum.crc16
CRC16_ANSI
CRC16Ansi() - Constructor for class cn.hutool.core.io.checksum.crc16.CRC16Ansi
 
CRC16CCITT - Class in cn.hutool.core.io.checksum.crc16
CRC16_CCITT:多项式x16+x12+x5+1(0x1021),初始值0x0000,低位在前,高位在后,结果与0x0000异或 0x8408是0x1021按位颠倒后的结果。
CRC16CCITT() - Constructor for class cn.hutool.core.io.checksum.crc16.CRC16CCITT
 
CRC16CCITTFalse - Class in cn.hutool.core.io.checksum.crc16
CRC16_CCITT_FALSE:多项式x16+x12+x5+1(0x1021),初始值0xFFFF,低位在后,高位在前,结果与0x0000异或
CRC16CCITTFalse() - Constructor for class cn.hutool.core.io.checksum.crc16.CRC16CCITTFalse
 
CRC16Checksum - Class in cn.hutool.core.io.checksum.crc16
CRC16 Checksum,用于提供多种CRC16算法的通用实现
通过继承此类,重写update和reset完成相应算法。
CRC16Checksum() - Constructor for class cn.hutool.core.io.checksum.crc16.CRC16Checksum
 
CRC16DNP - Class in cn.hutool.core.io.checksum.crc16
CRC16_DNP:多项式x16+x13+x12+x11+x10+x8+x6+x5+x2+1(0x3D65),初始值0x0000,低位在前,高位在后,结果与0xFFFF异或 0xA6BC是0x3D65按位颠倒后的结果
CRC16DNP() - Constructor for class cn.hutool.core.io.checksum.crc16.CRC16DNP
 
CRC16IBM - Class in cn.hutool.core.io.checksum.crc16
CRC16_IBM:多项式x16+x15+x2+1(0x8005),初始值0x0000,低位在前,高位在后,结果与0x0000异或 0xA001是0x8005按位颠倒后的结果
CRC16IBM() - Constructor for class cn.hutool.core.io.checksum.crc16.CRC16IBM
 
CRC16Maxim - Class in cn.hutool.core.io.checksum.crc16
CRC16_MAXIM:多项式x16+x15+x2+1(0x8005),初始值0x0000,低位在前,高位在后,结果与0xFFFF异或 0xA001是0x8005按位颠倒后的结果
CRC16Maxim() - Constructor for class cn.hutool.core.io.checksum.crc16.CRC16Maxim
 
CRC16Modbus - Class in cn.hutool.core.io.checksum.crc16
CRC-16 (Modbus) CRC16_MODBUS:多项式x16+x15+x2+1(0x8005),初始值0xFFFF,低位在前,高位在后,结果与0x0000异或 0xA001是0x8005按位颠倒后的结果
CRC16Modbus() - Constructor for class cn.hutool.core.io.checksum.crc16.CRC16Modbus
 
CRC16USB - Class in cn.hutool.core.io.checksum.crc16
CRC16_USB:多项式x16+x15+x2+1(0x8005),初始值0xFFFF,低位在前,高位在后,结果与0xFFFF异或 0xA001是0x8005按位颠倒后的结果
CRC16USB() - Constructor for class cn.hutool.core.io.checksum.crc16.CRC16USB
 
CRC16X25 - Class in cn.hutool.core.io.checksum.crc16
CRC16_X25:多项式x16+x12+x5+1(0x1021),初始值0xffff,低位在前,高位在后,结果与0xFFFF异或 0x8408是0x1021按位颠倒后的结果。
CRC16X25() - Constructor for class cn.hutool.core.io.checksum.crc16.CRC16X25
 
CRC16XModem - Class in cn.hutool.core.io.checksum.crc16
CRC-CCITT (XModem) CRC16_XMODEM:多项式x16+x12+x5+1(0x1021),初始值0x0000,低位在后,高位在前,结果与0x0000异或
CRC16XModem() - Constructor for class cn.hutool.core.io.checksum.crc16.CRC16XModem
 
CRC8 - Class in cn.hutool.core.io.checksum
CRC8 循环冗余校验码(Cyclic Redundancy Check)实现
代码来自:https://github.com/BBSc0der
CRC8(int, short) - Constructor for class cn.hutool.core.io.checksum.CRC8
构造
create() - Static method in class cn.hutool.aop.proxy.ProxyFactory
根据用户引入Cglib与否创建代理工厂
create() - Method in enum cn.hutool.cache.GlobalPruneTimer
创建定时器
create(Class<T>, AnnotationAttributeValueProvider, SynthesizedAnnotation) - Static method in class cn.hutool.core.annotation.SynthesizedAnnotationProxy
创建一个代理注解,生成的代理对象将是SyntheticProxyAnnotation与指定的注解类的子类。
create(Class<T>, SynthesizedAnnotation) - Static method in class cn.hutool.core.annotation.SynthesizedAnnotationProxy
创建一个代理注解,生成的代理对象将是SyntheticProxyAnnotation与指定的注解类的子类。
create(String) - Static method in class cn.hutool.core.bean.BeanPath
解析Bean路径表达式为Bean模式
Bean表达式,用于获取多层嵌套Bean中的字段值或Bean对象
根据给定的表达式,查找Bean中对应的属性值对象。 表达式分为两种: .表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值 []表达式,可以获取集合等对象中对应index的值
create(Object, T, CopyOptions) - Static method in class cn.hutool.core.bean.copier.BeanCopier
创建BeanCopier
create(Object, T, Type, CopyOptions) - Static method in class cn.hutool.core.bean.copier.BeanCopier
创建BeanCopier
create() - Static method in class cn.hutool.core.bean.copier.CopyOptions
创建拷贝选项
create(Class<?>, boolean, String...) - Static method in class cn.hutool.core.bean.copier.CopyOptions
创建拷贝选项
create(Object) - Static method in class cn.hutool.core.bean.DynaBean
创建一个DynaBean
create(Class<?>) - Static method in class cn.hutool.core.bean.DynaBean
创建一个DynaBean
create(Class<?>, Object...) - Static method in class cn.hutool.core.bean.DynaBean
创建一个DynaBean
create(char[]) - Static method in class cn.hutool.core.codec.Hashids
根据参数值,创建Hashids,使用默认Hashids.DEFAULT_ALPHABET作为字母表,不限制最小长度
create(char[], int) - Static method in class cn.hutool.core.codec.Hashids
根据参数值,创建Hashids,使用默认Hashids.DEFAULT_ALPHABET作为字母表
create(char[], char[], int) - Static method in class cn.hutool.core.codec.Hashids
根据参数值,创建Hashids
create(Class<?>) - Static method in class cn.hutool.core.collection.CollUtil
创建新的集合对象
create(Class<?>, Class<T>) - Static method in class cn.hutool.core.collection.CollUtil
创建新的集合对象,返回具体的泛型集合
create(ClassLoader) - Static method in class cn.hutool.core.compiler.JavaSourceCompiler
创建Java源码编译器
create(Date, Date) - Static method in class cn.hutool.core.date.DateBetween
创建
在前的日期做为起始时间,在后的做为结束时间,间隔只保留绝对值正数
create(Date, Date, boolean) - Static method in class cn.hutool.core.date.DateBetween
创建
在前的日期做为起始时间,在后的做为结束时间,间隔只保留绝对值正数
create(String) - Static method in class cn.hutool.core.date.StopWatch
创建计时任务(秒表)
create(byte[]) - Static method in class cn.hutool.core.io.BufferUtil
创建新Buffer
create(CharSequence, Charset) - Static method in class cn.hutool.core.io.BufferUtil
从字符串创建新Buffer
create(String, String) - Static method in class cn.hutool.core.io.file.FileCopier
新建一个文件复制器
create(File, File) - Static method in class cn.hutool.core.io.file.FileCopier
新建一个文件复制器
create(File, Charset) - Static method in class cn.hutool.core.io.file.FileReader
创建 FileReader
create(File) - Static method in class cn.hutool.core.io.file.FileReader
创建 FileReader, 编码:FileWrapper.DEFAULT_CHARSET
create(String) - Static method in class cn.hutool.core.io.file.FileSystemUtil
创建 FileSystem
create(File, Charset) - Static method in class cn.hutool.core.io.file.FileWriter
创建 FileWriter
create(File) - Static method in class cn.hutool.core.io.file.FileWriter
创建 FileWriter, 编码:FileWrapper.DEFAULT_CHARSET
create(Watcher...) - Static method in class cn.hutool.core.io.watch.watchers.WatcherChain
创建观察者链WatcherChain
create(URL, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听
create(URL, int, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听
create(URI, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听
create(URI, int, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听
create(File, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听
create(File, int, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听
create(String, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听
create(String, int, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听
create(Path, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听
create(Path, int, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听
create(URL, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听
create(URL, int, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听
create(URI, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听
create(URI, int, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听
create(File, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听
create(File, int, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听
create(String, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听
create(String, int, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听
create(Path, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听
create(Path, int, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听
create() - Static method in class cn.hutool.core.lang.ConsoleTable
创建ConsoleTable对象
create() - Static method in class cn.hutool.core.lang.Dict
创建Dict
create() - Static method in class cn.hutool.core.lang.WeightRandom
创建权重随机获取器
create() - Static method in class cn.hutool.core.map.MapBuilder
创建Builder,默认HashMap实现
create(boolean) - Static method in class cn.hutool.core.map.MapBuilder
创建Builder
create(Map<K, V>) - Static method in class cn.hutool.core.map.MapBuilder
创建Builder
create(Map<?, ?>) - Static method in class cn.hutool.core.map.MapProxy
创建代理Map
此类对Map做一次包装,提供各种getXXX方法
create() - Static method in class cn.hutool.core.net.SSLContextBuilder
创建 SSLContextBuilder
create() - Static method in class cn.hutool.core.net.url.UrlBuilder
Deprecated.
请使用 UrlBuilder.of()
create() - Static method in class cn.hutool.core.text.StrBuilder
创建字符串构建器
create(int) - Static method in class cn.hutool.core.text.StrBuilder
创建字符串构建器
create(CharSequence...) - Static method in class cn.hutool.core.text.StrBuilder
创建字符串构建器
create() - Static method in class cn.hutool.core.thread.ExecutorBuilder
创建ExecutorBuilder,开始构建
create() - Static method in class cn.hutool.core.thread.ThreadFactoryBuilder
创建ThreadFactoryBuilder
create(ReferenceUtil.ReferenceType, T) - Static method in class cn.hutool.core.util.ReferenceUtil
获得引用
create(ReferenceUtil.ReferenceType, T, ReferenceQueue<T>) - Static method in class cn.hutool.core.util.ReferenceUtil
获得引用
create() - Static method in class cn.hutool.crypto.digest.MD5
创建MD5实例
create() - Static method in class cn.hutool.crypto.digest.SM3
创建SM3实例
create() - Static method in class cn.hutool.db.ActiveEntity
创建ActiveEntity
create(String) - Static method in class cn.hutool.db.ActiveEntity
创建ActiveEntity
create(Setting) - Static method in class cn.hutool.db.ds.DSFactory
创建数据源实现工厂
此方法通过“试错”方式查找引入项目的连接池库,按照优先级寻找,一旦寻找到则创建对应的数据源工厂
连接池优先级:Hikari > Druid > Tomcat > Dbcp > C3p0 > Hutool Pooled
create() - Static method in class cn.hutool.db.Entity
创建Entity
create(String) - Static method in class cn.hutool.db.Entity
创建Entity
create(Class<E>) - Static method in class cn.hutool.db.handler.BeanHandler
创建一个 BeanHandler对象
create(Class<E>) - Static method in class cn.hutool.db.handler.BeanListHandler
创建一个 BeanListHandler对象
create() - Static method in class cn.hutool.db.handler.EntityHandler
创建一个 EntityHandler对象
create() - Static method in class cn.hutool.db.handler.EntityListHandler
创建一个 EntityListHandler对象
create() - Static method in class cn.hutool.db.handler.EntitySetHandler
创建一个 EntityHandler对象
create() - Static method in class cn.hutool.db.handler.NumberHandler
创建一个 NumberHandler对象
create(PageResult<Entity>) - Static method in class cn.hutool.db.handler.PageResultHandler
创建一个 EntityHandler对象
结果集根据给定的分页对象查询数据库,填充结果
create() - Static method in class cn.hutool.db.handler.StringHandler
创建一个 NumberHandler对象
create() - Static method in class cn.hutool.db.handler.ValueListHandler
创建一个 EntityListHandler对象
create(Table, ResultSet) - Static method in class cn.hutool.db.meta.Column
创建列对象
create(ResultSet) - Static method in class cn.hutool.db.meta.ColumnIndexInfo
根据DatabaseMetaData#getIndexInfo获取的ResultSet构建索引列信息
create(String) - Static method in class cn.hutool.db.meta.Table
 
create() - Static method in class cn.hutool.db.nosql.redis.RedisDS
创建RedisDS,使用默认配置文件,默认分组
create(String) - Static method in class cn.hutool.db.nosql.redis.RedisDS
创建RedisDS,使用默认配置文件
create(Setting, String) - Static method in class cn.hutool.db.nosql.redis.RedisDS
创建RedisDS
create() - Static method in class cn.hutool.db.Session
创建默认数据源会话
create(String) - Static method in class cn.hutool.db.Session
创建会话
create(DataSource) - Static method in class cn.hutool.db.Session
创建会话
create() - Static method in class cn.hutool.db.sql.SqlBuilder
创建SQL构建器
create(Wrapper) - Static method in class cn.hutool.db.sql.SqlBuilder
创建SQL构建器
create(Dialect) - Static method in class cn.hutool.db.SqlConnRunner
实例化一个新的SQL运行对象
create(DataSource) - Static method in class cn.hutool.db.SqlConnRunner
实例化一个新的SQL运行对象
create(String) - Static method in class cn.hutool.db.SqlConnRunner
实例化一个新的SQL运行对象
create(Charset, String, File) - Static method in class cn.hutool.extra.compress.archiver.StreamArchiver
创建归档器
create(Charset, String, OutputStream) - Static method in class cn.hutool.extra.compress.archiver.StreamArchiver
创建归档器
create() - Static method in class cn.hutool.extra.expression.engine.ExpressionFactory
根据用户引入的表达式引擎jar,自动创建对应的拼音引擎对象
推荐创建的引擎单例使用,此方法每次调用会返回新的引擎
create() - Static method in class cn.hutool.extra.ftp.FtpConfig
 
create() - Static method in class cn.hutool.extra.ftp.SimpleFtpServer
创建FTP服务器,调用SimpleFtpServer.start()启动即可
create(MailAccount) - Static method in class cn.hutool.extra.mail.Mail
创建邮件客户端
create() - Static method in class cn.hutool.extra.mail.Mail
创建邮件客户端,使用全局邮件帐户
create() - Static method in class cn.hutool.extra.pinyin.engine.PinyinFactory
根据用户引入的拼音引擎jar,自动创建对应的拼音引擎对象
推荐创建的引擎单例使用,此方法每次调用会返回新的引擎
create() - Static method in class cn.hutool.extra.qrcode.QrConfig
创建QrConfig
create() - Static method in class cn.hutool.extra.template.engine.TemplateFactory
根据用户引入的模板引擎jar,自动创建对应的模板引擎对象
推荐创建的引擎单例使用,此方法每次调用会返回新的引擎
create(TemplateConfig) - Static method in class cn.hutool.extra.template.engine.TemplateFactory
根据用户引入的模板引擎jar,自动创建对应的模板引擎对象
推荐创建的引擎单例使用,此方法每次调用会返回新的引擎
create() - Static method in class cn.hutool.extra.tokenizer.engine.TokenizerFactory
根据用户引入的分词引擎jar,自动创建对应的分词引擎对象
create(byte[]) - Static method in class cn.hutool.http.body.BytesBody
创建 Http request body
create(Map<String, Object>, Charset) - Static method in class cn.hutool.http.body.FormUrlEncodedBody
创建 Http request body
create(Map<String, Object>, Charset) - Static method in class cn.hutool.http.body.MultipartBody
根据已有表单内容,构建MultipartBody
create(Resource) - Static method in class cn.hutool.http.body.ResourceBody
创建 Http request body
create() - Static method in class cn.hutool.http.HttpConfig
创建默认Http配置信息
create(String, Proxy) - Static method in class cn.hutool.http.HttpConnection
创建HttpConnection
create(URL, Proxy) - Static method in class cn.hutool.http.HttpConnection
创建HttpConnection
create() - Static method in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
Deprecated.
创建 SSLSocketFactoryBuilder
create(String) - Static method in class cn.hutool.http.webservice.SoapClient
创建SOAP客户端,默认使用soap1.1版本协议
create(String, SoapProtocol) - Static method in class cn.hutool.http.webservice.SoapClient
创建SOAP客户端
create(String, SoapProtocol, String) - Static method in class cn.hutool.http.webservice.SoapClient
创建SOAP客户端
create() - Static method in class cn.hutool.json.JSONConfig
创建默认的配置项
create() - Static method in class cn.hutool.jwt.JWT
创建空的JWT对象
create() - Static method in class cn.hutool.log.LogFactory
决定日志实现
create(File) - Static method in class cn.hutool.poi.word.DocUtil
创建XWPFDocument,如果文件已存在则读取之,否则创建新的
create() - Static method in class cn.hutool.setting.dialect.Props
构建一个空的Props,用于手动加入参数
create() - Static method in class cn.hutool.setting.Setting
构建一个空的Setting,用于手动加入参数
createAddress(String, int) - Static method in class cn.hutool.core.net.NetUtil
createAll(URI, Watcher) - Static method in class cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听,监听所有事件
createAll(URL, Watcher) - Static method in class cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听,监听所有事件
createAll(File, Watcher) - Static method in class cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听,监听所有事件
createAll(String, Watcher) - Static method in class cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听,监听所有事件
createAll(Path, Watcher) - Static method in class cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听,监听所有事件
createAll(URL, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
createAll(URL, int, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
createAll(URI, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
createAll(URI, int, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
createAll(File, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
createAll(File, int, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
createAll(String, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
createAll(String, int, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
createAll(Path, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
createAll(Path, int, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
createAll() - Static method in class cn.hutool.core.net.URLEncoder
Deprecated.
创建URLEncoder
编码器针对URI路径编码,定义如下:
createArchiver(Charset, String, File) - Static method in class cn.hutool.extra.compress.CompressUtil
创建归档器,支持: ArchiveStreamFactory.AR ArchiveStreamFactory.CPIO ArchiveStreamFactory.JAR ArchiveStreamFactory.TAR ArchiveStreamFactory.ZIP ArchiveStreamFactory.SEVEN_Z
createArchiver(Charset, String, OutputStream) - Static method in class cn.hutool.extra.compress.CompressUtil
创建归档器,支持: ArchiveStreamFactory.AR ArchiveStreamFactory.CPIO ArchiveStreamFactory.JAR ArchiveStreamFactory.TAR ArchiveStreamFactory.ZIP ArchiveStreamFactory.SEVEN_Z
createArray() - Static method in class cn.hutool.json.JSONUtil
创建 JSONArray
createArray(JSONConfig) - Static method in class cn.hutool.json.JSONUtil
创建 JSONArray
createArrayOf(String, Object[]) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
createBindings() - Method in class cn.hutool.script.FullSupportScriptEngine
 
createBindings() - Method in class cn.hutool.script.JavaScriptEngine
 
createBitMap(int) - Static method in class cn.hutool.bloomfilter.BloomFilterUtil
创建BitMap实现的布隆过滤器
createBitSet(int, int, int) - Static method in class cn.hutool.bloomfilter.BloomFilterUtil
创建一个BitSet实现的布隆过滤器,过滤器的容量为c * k 个bit.
createBlob() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
createBlob(Connection, InputStream, boolean) - Static method in class cn.hutool.db.sql.SqlUtil
创建Blob对象
createBlob(Connection, byte[]) - Static method in class cn.hutool.db.sql.SqlUtil
创建Blob对象
createBook(String) - Static method in class cn.hutool.poi.excel.WorkbookUtil
创建或加载工作簿(读写模式)
createBook(String, boolean) - Static method in class cn.hutool.poi.excel.WorkbookUtil
创建或加载工作簿
createBook(File) - Static method in class cn.hutool.poi.excel.WorkbookUtil
创建或加载工作簿(读写模式)
createBook(File, boolean) - Static method in class cn.hutool.poi.excel.WorkbookUtil
创建或加载工作簿
createBook(File, String) - Static method in class cn.hutool.poi.excel.WorkbookUtil
创建或加载工作簿(读写模式)
createBook(File, String, boolean) - Static method in class cn.hutool.poi.excel.WorkbookUtil
创建或加载工作簿
createBook(InputStream) - Static method in class cn.hutool.poi.excel.WorkbookUtil
创建或加载工作簿(只读模式)
createBook(InputStream, String) - Static method in class cn.hutool.poi.excel.WorkbookUtil
创建或加载工作簿(只读模式)
createBook(boolean) - Static method in class cn.hutool.poi.excel.WorkbookUtil
创建新的空白Excel工作簿
createBookForWriter(File) - Static method in class cn.hutool.poi.excel.WorkbookUtil
创建工作簿,用于Excel写出(读写模式)
createBouncyCastleProvider() - Static method in class cn.hutool.crypto.ProviderFactory
创建Bouncy Castle 提供者
如果用户未引入bouncycastle库,则此方法抛出NoClassDefFoundError 异常
createCellSetter(Object) - Static method in class cn.hutool.poi.excel.cell.setters.CellSetterFactory
创建值对应类型的CellSetter
createCellStyle(String) - Method in class cn.hutool.poi.excel.ExcelBase
为指定单元格创建样式,返回样式后可以设置样式内容
createCellStyle(int, int) - Method in class cn.hutool.poi.excel.ExcelBase
为指定单元格创建样式,返回样式后可以设置样式内容
createCellStyle() - Method in class cn.hutool.poi.excel.ExcelBase
创建单元格样式
createCellStyle(Workbook) - Static method in class cn.hutool.poi.excel.style.StyleUtil
创建单元格样式
createChannel(Session, ChannelType) - Static method in class cn.hutool.extra.ssh.JschUtil
创建Channel连接
createCharBuffer(int) - Static method in class cn.hutool.core.io.BufferUtil
createCipher(String) - Static method in class cn.hutool.crypto.SecureUtil
创建Cipher
createCircleCaptcha(int, int) - Static method in class cn.hutool.captcha.CaptchaUtil
创建圆圈干扰的验证码,默认5位验证码,15个干扰圈
createCircleCaptcha(int, int, int, int) - Static method in class cn.hutool.captcha.CaptchaUtil
创建圆圈干扰的验证码
createCircleCaptcha(int, int, CodeGenerator, int) - Static method in class cn.hutool.captcha.CaptchaUtil
创建圆圈干扰的验证码
createCircleCaptcha(int, int, int, int, float) - Static method in class cn.hutool.captcha.CaptchaUtil
创建圆圈干扰的验证码
createClient(String) - Static method in class cn.hutool.http.webservice.SoapUtil
创建SOAP客户端,默认使用soap1.1版本协议
createClient(String, SoapProtocol) - Static method in class cn.hutool.http.webservice.SoapUtil
创建SOAP客户端
createClient(String, SoapProtocol, String) - Static method in class cn.hutool.http.webservice.SoapUtil
创建SOAP客户端
createClob() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
createCode() - Method in class cn.hutool.captcha.AbstractCaptcha
 
createCode() - Method in class cn.hutool.captcha.GifCaptcha
 
createCode() - Method in interface cn.hutool.captcha.ICaptcha
创建验证码,实现类需同时生成随机验证码字符串和验证码图片
createCollection() - Method in class cn.hutool.core.map.multi.AbsCollValueMap
创建集合
此方法用于创建在putValue后追加值所在的集合,子类实现此方法创建不同类型的集合
createCollection() - Method in class cn.hutool.core.map.multi.CollectionValueMap
 
createCollection() - Method in class cn.hutool.core.map.multi.ListValueMap
 
createCollection() - Method in class cn.hutool.core.map.multi.SetValueMap
 
createColumnStyle(int) - Method in class cn.hutool.poi.excel.ExcelBase
创建某一列的样式,返回样式后可以设置样式内容
createCompatibleImage(int, int, int) - Static method in class cn.hutool.core.img.ImgUtil
创建与当前设备颜色模式兼容的 BufferedImage
createContext(String, HttpHandler) - Method in class cn.hutool.http.server.SimpleServer
创建请求映射上下文,创建后,用户访问指定路径可使用HttpHandler 中的规则进行处理
createDataSource(String, String, String, String, Setting) - Method in class cn.hutool.db.ds.AbstractDSFactory
创建新的DataSource
createDataSource(String, String, String, String, Setting) - Method in class cn.hutool.db.ds.bee.BeeDSFactory
 
createDataSource(String, String, String, String, Setting) - Method in class cn.hutool.db.ds.c3p0.C3p0DSFactory
 
createDataSource(String, String, String, String, Setting) - Method in class cn.hutool.db.ds.dbcp.DbcpDSFactory
 
createDataSource(String, String, String, String, Setting) - Method in class cn.hutool.db.ds.druid.DruidDSFactory
 
createDataSource(String, String, String, String, Setting) - Method in class cn.hutool.db.ds.hikari.HikariDSFactory
 
createDataSource(String, String, String, String, Setting) - Method in class cn.hutool.db.ds.jndi.JndiDSFactory
 
createDataSource(String, String, String, String, Setting) - Method in class cn.hutool.db.ds.pooled.PooledDSFactory
 
createDataSource(String, String, String, String, Setting) - Method in class cn.hutool.db.ds.simple.SimpleDSFactory
 
createDataSource(String, String, String, String, Setting) - Method in class cn.hutool.db.ds.tomcat.TomcatDSFactory
 
createDbSetting() - Static method in class cn.hutool.db.GlobalDbConfig
获取自定义或默认位置数据库配置Setting
createDefault() - Static method in class cn.hutool.core.net.URLEncoder
Deprecated.
创建默认URLEncoder
默认的编码器针对URI路径编码,定义如下:
createDefaultCellStyle(Workbook) - Static method in class cn.hutool.poi.excel.style.StyleUtil
创建默认普通单元格样式
createDigester() - Method in class cn.hutool.crypto.digest.DigesterFactory
创建Digester
createDocumentBuilder() - Static method in class cn.hutool.core.util.XmlUtil
创建 DocumentBuilder
createDocumentBuilderFactory() - Static method in class cn.hutool.core.util.XmlUtil
createDynaBean(Object) - Static method in class cn.hutool.core.bean.BeanUtil
创建动态Bean
createEmptyNode(E) - Static method in class cn.hutool.core.lang.tree.TreeUtil
创建空Tree的节点
createEngine(String, Key) - Static method in class cn.hutool.crypto.digest.mac.MacEngineFactory
根据给定算法和密钥生成对应的MacEngine
createEngine(String, Key, AlgorithmParameterSpec) - Static method in class cn.hutool.crypto.digest.mac.MacEngineFactory
根据给定算法和密钥生成对应的MacEngine
createEngine() - Static method in class cn.hutool.extra.template.TemplateUtil
根据用户引入的模板引擎jar,自动创建对应的模板引擎对象,使用默认配置
推荐创建的引擎单例使用,此方法每次调用会返回新的引擎
createEngine(TemplateConfig) - Static method in class cn.hutool.extra.template.TemplateUtil
根据用户引入的模板引擎jar,自动创建对应的模板引擎对象
推荐创建的引擎单例使用,此方法每次调用会返回新的引擎
createEngine() - Static method in class cn.hutool.extra.tokenizer.TokenizerUtil
根据用户引入的分词引擎jar,自动创建对应的分词引擎对象
createExtractor(Charset, File) - Static method in class cn.hutool.extra.compress.CompressUtil
创建归档解包器,支持: ArchiveStreamFactory.AR ArchiveStreamFactory.CPIO ArchiveStreamFactory.JAR ArchiveStreamFactory.TAR ArchiveStreamFactory.ZIP ArchiveStreamFactory.SEVEN_Z
createExtractor(Charset, String, File) - Static method in class cn.hutool.extra.compress.CompressUtil
创建归档解包器,支持: ArchiveStreamFactory.AR ArchiveStreamFactory.CPIO ArchiveStreamFactory.JAR ArchiveStreamFactory.TAR ArchiveStreamFactory.ZIP ArchiveStreamFactory.SEVEN_Z
createExtractor(Charset, InputStream) - Static method in class cn.hutool.extra.compress.CompressUtil
创建归档解包器,支持: ArchiveStreamFactory.AR ArchiveStreamFactory.CPIO ArchiveStreamFactory.JAR ArchiveStreamFactory.TAR ArchiveStreamFactory.ZIP ArchiveStreamFactory.SEVEN_Z
createExtractor(Charset, String, InputStream) - Static method in class cn.hutool.extra.compress.CompressUtil
创建归档解包器,支持: ArchiveStreamFactory.AR ArchiveStreamFactory.CPIO ArchiveStreamFactory.JAR ArchiveStreamFactory.TAR ArchiveStreamFactory.ZIP ArchiveStreamFactory.SEVEN_Z
createFixedGroup(int) - Static method in class cn.hutool.socket.ChannelUtil
createFont() - Static method in class cn.hutool.core.img.FontUtil
创建默认字体
createFont(String, int) - Static method in class cn.hutool.core.img.FontUtil
创建指定名称的字体
createFont(File) - Static method in class cn.hutool.core.img.FontUtil
根据文件创建字体
首先尝试创建Font.TRUETYPE_FONT字体,此类字体无效则创建Font.TYPE1_FONT
createFont(InputStream) - Static method in class cn.hutool.core.img.FontUtil
根据文件创建字体
首先尝试创建Font.TRUETYPE_FONT字体,此类字体无效则创建Font.TYPE1_FONT
createFont(File) - Static method in class cn.hutool.core.img.ImgUtil
根据文件创建字体
首先尝试创建Font.TRUETYPE_FONT字体,此类字体无效则创建Font.TYPE1_FONT
createFont(InputStream) - Static method in class cn.hutool.core.img.ImgUtil
根据文件创建字体
首先尝试创建Font.TRUETYPE_FONT字体,此类字体无效则创建Font.TYPE1_FONT
createFont() - Method in class cn.hutool.poi.excel.ExcelWriter
创建字体
createFont(Workbook, short, short, String) - Static method in class cn.hutool.poi.excel.style.StyleUtil
创建字体
createFormatter(String) - Static method in class cn.hutool.core.date.DatePattern
创建并为 DateTimeFormatter 赋予默认时区和位置信息,默认值为系统默认值。
createFragment() - Static method in class cn.hutool.core.net.URLEncoder
Deprecated.
URL的Fragment URLEncoder
默认的编码器针对Fragment,定义如下:
createGet(String) - Static method in class cn.hutool.http.HttpUtil
创建Http GET请求对象
createGet(String, boolean) - Static method in class cn.hutool.http.HttpUtil
创建Http GET请求对象
createGifCaptcha(int, int) - Static method in class cn.hutool.captcha.CaptchaUtil
创建GIF验证码
createGifCaptcha(int, int, int) - Static method in class cn.hutool.captcha.CaptchaUtil
创建GIF验证码
createGifCaptcha(int, int, CodeGenerator, int) - Static method in class cn.hutool.captcha.CaptchaUtil
创建GIF验证码
createGifCaptcha(int, int, int, int, float) - Static method in class cn.hutool.captcha.CaptchaUtil
创建圆圈干扰的验证码
createGraphics(BufferedImage, Color) - Static method in class cn.hutool.core.img.GraphicsUtil
createGraphics(BufferedImage, Color) - Static method in class cn.hutool.core.img.ImgUtil
createGroovyEngine() - Static method in class cn.hutool.script.ScriptUtil
创建Groovy引擎
需要引入org.codehaus.groovy:groovy-all
createHashes(String, int) - Static method in class cn.hutool.bloomfilter.BitSetBloomFilter
将字符串的字节表示进行多哈希编码.
createHeadCellStyle(Workbook) - Static method in class cn.hutool.poi.excel.style.StyleUtil
创建默认头部样式
createHmacSm3Engine(byte[]) - Static method in class cn.hutool.crypto.SmUtil
创建HmacSM3算法的MacEngine
createHyperlink(HyperlinkType, String) - Method in class cn.hutool.poi.excel.ExcelBase
创建 Hyperlink,默认内容(标签为链接地址本身)
createHyperlink(HyperlinkType, String, String) - Method in class cn.hutool.poi.excel.ExcelBase
创建 Hyperlink,默认内容
createImage(String) - Method in class cn.hutool.captcha.AbstractCaptcha
根据生成的code创建验证码图片
createImage(String) - Method in class cn.hutool.captcha.CircleCaptcha
 
createImage(String) - Method in class cn.hutool.captcha.GifCaptcha
 
createImage(String) - Method in class cn.hutool.captcha.LineCaptcha
 
createImage(String) - Method in class cn.hutool.captcha.ShearCaptcha
 
createImage(String, Font, Color, Color, ImageOutputStream) - Static method in class cn.hutool.core.img.ImgUtil
根据文字创建PNG图片
createImage(String, Font, Color, Color, int) - Static method in class cn.hutool.core.img.ImgUtil
根据文字创建图片
createInitialContext(Map<String, String>) - Static method in class cn.hutool.core.util.JNDIUtil
createInitialDirContext(Map<String, String>) - Static method in class cn.hutool.core.util.JNDIUtil
createJdkInterner() - Static method in class cn.hutool.core.lang.intern.InternUtil
创建JDK默认实现的字符串规范化器
createJdkMessageDigest(String) - Static method in class cn.hutool.crypto.SecureUtil
创建MessageDigest,使用JDK默认的Provider
createJsEngine() - Static method in class cn.hutool.script.ScriptUtil
创建新的JavaScript引擎
createLimitedEntity(DataSource, String) - Static method in class cn.hutool.db.meta.MetaUtil
创建带有字段限制的Entity对象
此方法读取数据库中对应表的字段列表,加入到Entity中,当Entity被设置内容时,会忽略对应表字段外的所有KEY
createLineCaptcha(int, int) - Static method in class cn.hutool.captcha.CaptchaUtil
创建线干扰的验证码,默认5位验证码,150条干扰线
createLineCaptcha(int, int, int, int) - Static method in class cn.hutool.captcha.CaptchaUtil
创建线干扰的验证码
createLineCaptcha(int, int, CodeGenerator, int) - Static method in class cn.hutool.captcha.CaptchaUtil
创建线干扰的验证码
createLineCaptcha(int, int, int, int, float) - Static method in class cn.hutool.captcha.CaptchaUtil
创建线干扰的验证码
createLog(String) - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLogFactory
 
createLog(Class<?>) - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLogFactory
 
createLog(String) - Method in class cn.hutool.log.dialect.console.ConsoleColorLogFactory
 
createLog(Class<?>) - Method in class cn.hutool.log.dialect.console.ConsoleColorLogFactory
 
createLog(String) - Method in class cn.hutool.log.dialect.console.ConsoleLogFactory
 
createLog(Class<?>) - Method in class cn.hutool.log.dialect.console.ConsoleLogFactory
 
createLog(String) - Method in class cn.hutool.log.dialect.jboss.JbossLogFactory
 
createLog(Class<?>) - Method in class cn.hutool.log.dialect.jboss.JbossLogFactory
 
createLog(String) - Method in class cn.hutool.log.dialect.jdk.JdkLogFactory
 
createLog(Class<?>) - Method in class cn.hutool.log.dialect.jdk.JdkLogFactory
 
createLog(String) - Method in class cn.hutool.log.dialect.log4j.Log4jLogFactory
 
createLog(Class<?>) - Method in class cn.hutool.log.dialect.log4j.Log4jLogFactory
 
createLog(String) - Method in class cn.hutool.log.dialect.log4j2.Log4j2LogFactory
 
createLog(Class<?>) - Method in class cn.hutool.log.dialect.log4j2.Log4j2LogFactory
 
createLog(String) - Method in class cn.hutool.log.dialect.logtube.LogTubeLogFactory
 
createLog(Class<?>) - Method in class cn.hutool.log.dialect.logtube.LogTubeLogFactory
 
createLog(String) - Method in class cn.hutool.log.dialect.slf4j.Slf4jLogFactory
 
createLog(Class<?>) - Method in class cn.hutool.log.dialect.slf4j.Slf4jLogFactory
 
createLog(String) - Method in class cn.hutool.log.dialect.tinylog.TinyLog2Factory
 
createLog(Class<?>) - Method in class cn.hutool.log.dialect.tinylog.TinyLog2Factory
 
createLog(String) - Method in class cn.hutool.log.dialect.tinylog.TinyLogFactory
 
createLog(Class<?>) - Method in class cn.hutool.log.dialect.tinylog.TinyLogFactory
 
createLog(String) - Method in class cn.hutool.log.LogFactory
创建日志对象
createLog(Class<?>) - Method in class cn.hutool.log.LogFactory
创建日志对象
createLuaEngine() - Static method in class cn.hutool.script.ScriptUtil
创建Lua引擎
需要引入org.luaj:luaj-jse
createMac(String) - Static method in class cn.hutool.crypto.SecureUtil
创建Mac
createMap(Class<?>) - Static method in class cn.hutool.core.map.MapUtil
创建Map
传入抽象MapAbstractMapMap类将默认创建HashMap
createMessageDigest(String) - Static method in class cn.hutool.crypto.SecureUtil
createMessageDigester() - Method in class cn.hutool.crypto.digest.DigesterFactory
createModify(URL, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
createModify(URL, int, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
createModify(URI, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
createModify(URI, int, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
createModify(File, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
createModify(File, int, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
createModify(String, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
createModify(String, int, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
createModify(Path, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
createModify(Path, int, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
createNClob() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
createObj() - Static method in class cn.hutool.json.JSONUtil
创建JSONObject
createObj(JSONConfig) - Static method in class cn.hutool.json.JSONUtil
创建JSONObject
createOpenSSHPrivateKeySpec(byte[]) - Static method in class cn.hutool.crypto.ECKeyUtil
创建OpenSSHPrivateKeySpec
createOpenSSHPublicKeySpec(byte[]) - Static method in class cn.hutool.crypto.ECKeyUtil
创建OpenSSHPublicKeySpec
createPathSegment() - Static method in class cn.hutool.core.net.URLEncoder
Deprecated.
URL的Path的每一个Segment URLEncoder
默认的编码器针对URI路径的每一段编码,定义如下:
createPost(String) - Static method in class cn.hutool.http.HttpUtil
创建Http POST请求对象
createProxy(T, Class<? extends Aspect>) - Static method in class cn.hutool.aop.proxy.ProxyFactory
根据用户引入Cglib与否自动创建代理对象
createProxy(T, Aspect) - Static method in class cn.hutool.aop.proxy.ProxyFactory
根据用户引入Cglib与否自动创建代理对象
createProxy(Map<?, ?>) - Static method in class cn.hutool.core.map.MapUtil
创建代理Map
MapProxy对Map做一次包装,提供各种getXXX方法
createPythonEngine() - Static method in class cn.hutool.script.ScriptUtil
创建Python引擎
需要引入org.python:jython
createQuery() - Static method in class cn.hutool.core.net.URLEncoder
Deprecated.
创建用于查询语句的URLEncoder
编码器针对URI路径编码,定义如下:
createRandomAccessFile(Path, FileMode) - Static method in class cn.hutool.core.io.FileUtil
createRandomAccessFile(File, FileMode) - Static method in class cn.hutool.core.io.FileUtil
createReadWriteLock(boolean) - Static method in class cn.hutool.core.thread.lock.LockUtil
createRequest(Method, String) - Static method in class cn.hutool.http.HttpUtil
创建Http请求对象
createRowStyle(int) - Method in class cn.hutool.poi.excel.ExcelBase
创建某一行的样式,返回样式后可以设置样式内容
createSansSerifFont(int) - Static method in class cn.hutool.core.img.FontUtil
创建SansSerif字体
createSaxReader(boolean, RowHandler) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
createScheduledExecutor(int) - Static method in class cn.hutool.core.thread.ThreadUtil
createScript(String) - Static method in class cn.hutool.script.ScriptUtil
创建 ScriptEngine 实例
createSecureRandom(byte[]) - Static method in class cn.hutool.core.util.RandomUtil
创建SecureRandom,类提供加密的强随机数生成器 (RNG)
createServer(int) - Static method in class cn.hutool.http.HttpUtil
创建简易的Http服务器
createSession(String, int, String, String) - Static method in class cn.hutool.extra.ssh.JschUtil
新建一个新的SSH会话,此方法并不打开会话(既不调用connect方法)
createSession(String, int, String, String, byte[]) - Static method in class cn.hutool.extra.ssh.JschUtil
新建一个新的SSH会话,此方法并不打开会话(既不调用connect方法)
createSession(String, int, String, byte[], byte[]) - Static method in class cn.hutool.extra.ssh.JschUtil
新建一个新的SSH会话,此方法并不打开会话(既不调用connect方法)
createSession(JSch, String, int, String) - Static method in class cn.hutool.extra.ssh.JschUtil
创建一个SSH会话,重用已经使用的会话
createSftp(String, int, String, String) - Static method in class cn.hutool.extra.ssh.JschUtil
创建Sftp
createSftp(Session) - Static method in class cn.hutool.extra.ssh.JschUtil
创建Sftp
createShearCaptcha(int, int) - Static method in class cn.hutool.captcha.CaptchaUtil
创建扭曲干扰的验证码,默认5位验证码
createShearCaptcha(int, int, int, int) - Static method in class cn.hutool.captcha.CaptchaUtil
创建扭曲干扰的验证码,默认5位验证码
createShearCaptcha(int, int, CodeGenerator, int) - Static method in class cn.hutool.captcha.CaptchaUtil
创建扭曲干扰的验证码,默认5位验证码
createShearCaptcha(int, int, int, int, float) - Static method in class cn.hutool.captcha.CaptchaUtil
创建扭曲干扰的验证码,默认5位验证码
createSignature(String) - Static method in class cn.hutool.crypto.SecureUtil
创建Signature
createSigner(String, byte[]) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
创建签名器
createSigner(String, KeyPair) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
创建签名器
createSigner(String, Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
创建签名器
createSnowflake(long, long) - Static method in class cn.hutool.core.util.IdUtil
Deprecated.
此方法容易产生歧义:多个Snowflake实例产生的ID会产生重复,此对象在单台机器上必须单例,请使用IdUtil.getSnowflake(long, long)
createSocket() - Method in class cn.hutool.core.net.ProxySocketFactory
 
createSocket(InetAddress, int) - Method in class cn.hutool.core.net.ProxySocketFactory
 
createSocket(InetAddress, int, InetAddress, int) - Method in class cn.hutool.core.net.ProxySocketFactory
 
createSocket(String, int) - Method in class cn.hutool.core.net.ProxySocketFactory
 
createSocket(String, int, InetAddress, int) - Method in class cn.hutool.core.net.ProxySocketFactory
 
createSocket() - Method in class cn.hutool.http.ssl.CustomProtocolsSSLFactory
 
createSocket(Socket, String, int, boolean) - Method in class cn.hutool.http.ssl.CustomProtocolsSSLFactory
 
createSocket(String, int) - Method in class cn.hutool.http.ssl.CustomProtocolsSSLFactory
 
createSocket(String, int, InetAddress, int) - Method in class cn.hutool.http.ssl.CustomProtocolsSSLFactory
 
createSocket(InetAddress, int) - Method in class cn.hutool.http.ssl.CustomProtocolsSSLFactory
 
createSocket(InetAddress, int, InetAddress, int) - Method in class cn.hutool.http.ssl.CustomProtocolsSSLFactory
 
createSQLXML() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
createSSLContext(String) - Static method in class cn.hutool.core.net.SSLUtil
创建SSLContext,默认新人全部
createSSLContext(String, KeyManager, TrustManager) - Static method in class cn.hutool.core.net.SSLUtil
createSSLContext(String, KeyManager[], TrustManager[]) - Static method in class cn.hutool.core.net.SSLUtil
创建和初始化SSLContext
createStampLock() - Static method in class cn.hutool.core.thread.lock.LockUtil
创建StampedLock
createStatement() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
createStatement(int, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
createStatement(int, int, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
createStopWatch() - Static method in class cn.hutool.core.date.DateUtil
创建秒表StopWatch,用于对代码块的执行时间计数
createStopWatch(String) - Static method in class cn.hutool.core.date.DateUtil
创建秒表StopWatch,用于对代码块的执行时间计数
createStringInterner(boolean) - Static method in class cn.hutool.core.lang.intern.InternUtil
创建字符串规范化器
createStruct(String, Object[]) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
createSXSSFBook(String) - Static method in class cn.hutool.poi.excel.WorkbookUtil
创建或加载SXSSFWorkbook工作簿(读写模式)
createSXSSFBook(String, boolean) - Static method in class cn.hutool.poi.excel.WorkbookUtil
创建或加载SXSSFWorkbook工作簿
createSXSSFBook(File) - Static method in class cn.hutool.poi.excel.WorkbookUtil
创建或加载SXSSFWorkbook工作簿(读写模式)
createSXSSFBook(File, boolean) - Static method in class cn.hutool.poi.excel.WorkbookUtil
创建或加载SXSSFWorkbook工作簿
createSXSSFBook(File, String) - Static method in class cn.hutool.poi.excel.WorkbookUtil
创建或加载SXSSFWorkbook工作簿(读写模式)
createSXSSFBook(File, String, boolean) - Static method in class cn.hutool.poi.excel.WorkbookUtil
创建或加载SXSSFWorkbook工作簿
createSXSSFBook(InputStream) - Static method in class cn.hutool.poi.excel.WorkbookUtil
创建或加载SXSSFWorkbook工作簿(只读模式)
createSXSSFBook(InputStream, String) - Static method in class cn.hutool.poi.excel.WorkbookUtil
创建或加载SXSSFWorkbook工作簿(只读模式)
createSXSSFBook() - Static method in class cn.hutool.poi.excel.WorkbookUtil
创建空的SXSSFWorkbook,用于大批量数据写出
createSXSSFBook(int) - Static method in class cn.hutool.poi.excel.WorkbookUtil
创建空的SXSSFWorkbook,用于大批量数据写出
createSXSSFBook(int, boolean, boolean) - Static method in class cn.hutool.poi.excel.WorkbookUtil
创建空的SXSSFWorkbook,用于大批量数据写出
createTable(XWPFDocument) - Static method in class cn.hutool.poi.word.TableUtil
创建空表,只有一行
createTable(XWPFDocument, Iterable<?>) - Static method in class cn.hutool.poi.word.TableUtil
创建表格并填充数据,默认表格
createTempFile(String, String, Path) - Static method in class cn.hutool.core.io.file.PathUtil
创建临时文件
创建后的文件名为 prefix[Random].suffix From com.jodd.io.FileUtil
createTempFile(File) - Static method in class cn.hutool.core.io.FileUtil
创建临时文件
创建后的文件名为 prefix[Random.tmp
createTempFile() - Static method in class cn.hutool.core.io.FileUtil
在默认临时文件目录下创建临时文件,创建后的文件名为 prefix[Random].tmp。 默认临时文件目录由系统属性 java.io.tmpdir 指定。 在 UNIX 系统上,此属性的默认值通常是 "tmp""vartmp"; 在 Microsoft Windows 系统上,它通常是 "C:\\WINNT\\TEMP"。 调用 Java 虚拟机时,可以为该系统属性赋予不同的值,但不保证对该属性的编程更改对该方法使用的临时目录有任何影响。
createTempFile(String, boolean) - Static method in class cn.hutool.core.io.FileUtil
在默认临时文件目录下创建临时文件,创建后的文件名为 prefix[Random].suffix。 默认临时文件目录由系统属性 java.io.tmpdir 指定。 在 UNIX 系统上,此属性的默认值通常是 "tmp""vartmp"; 在 Microsoft Windows 系统上,它通常是 "C:\\WINNT\\TEMP"。 调用 Java 虚拟机时,可以为该系统属性赋予不同的值,但不保证对该属性的编程更改对该方法使用的临时目录有任何影响。
createTempFile(String, String, boolean) - Static method in class cn.hutool.core.io.FileUtil
在默认临时文件目录下创建临时文件,创建后的文件名为 prefix[Random].suffix。 默认临时文件目录由系统属性 java.io.tmpdir 指定。 在 UNIX 系统上,此属性的默认值通常是 "tmp""vartmp"; 在 Microsoft Windows 系统上,它通常是 "C:\\WINNT\\TEMP"。 调用 Java 虚拟机时,可以为该系统属性赋予不同的值,但不保证对该属性的编程更改对该方法使用的临时目录有任何影响。
createTempFile(File, boolean) - Static method in class cn.hutool.core.io.FileUtil
创建临时文件
创建后的文件名为 prefix[Random].tmp
createTempFile(String, String, File, boolean) - Static method in class cn.hutool.core.io.FileUtil
创建临时文件
创建后的文件名为 prefix[Random].suffix From com.jodd.io.FileUtil
createThreadFactory(String) - Static method in class cn.hutool.core.thread.ThreadUtil
创建自定义线程名称前缀的ThreadFactory
createThreadFactoryBuilder() - Static method in class cn.hutool.core.thread.ThreadUtil
创建ThreadFactoryBuilder
createThreadLocal(boolean) - Static method in class cn.hutool.core.thread.ThreadUtil
创建本地线程对象
createThreadLocal(Supplier<? extends T>) - Static method in class cn.hutool.core.thread.ThreadUtil
创建本地线程对象
createToken(Map<String, Object>, byte[]) - Static method in class cn.hutool.jwt.JWTUtil
创建HS256(HmacSHA256) JWT Token
createToken(Map<String, Object>, Map<String, Object>, byte[]) - Static method in class cn.hutool.jwt.JWTUtil
创建HS256(HmacSHA256) JWT Token
createToken(Map<String, Object>, JWTSigner) - Static method in class cn.hutool.jwt.JWTUtil
创建JWT Token
createToken(Map<String, Object>, Map<String, Object>, JWTSigner) - Static method in class cn.hutool.jwt.JWTUtil
创建JWT Token
createTransparentImage(String, Font, Color, ImageOutputStream) - Static method in class cn.hutool.core.img.ImgUtil
根据文字创建透明背景的PNG图片
createUtf8(CharSequence) - Static method in class cn.hutool.core.io.BufferUtil
从字符串创建新Buffer,使用UTF-8编码
createWeakInterner() - Static method in class cn.hutool.core.lang.intern.InternUtil
创建WeakHshMap实现的字符串规范化器
createXml() - Static method in class cn.hutool.core.util.XmlUtil
创建XML文档
创建的XML默认是utf8编码,修改编码的过程是在toStr和toFile方法里,即XML在转为文本的时候才定义编码
createXml(String) - Static method in class cn.hutool.core.util.XmlUtil
创建XML文档
创建的XML默认是utf8编码,修改编码的过程是在toStr和toFile方法里,即XML在转为文本的时候才定义编码
createXml(String, String) - Static method in class cn.hutool.core.util.XmlUtil
创建XML文档
创建的XML默认是utf8编码,修改编码的过程是在toStr和toFile方法里,即XML在转为文本的时候才定义编码
createXPath() - Static method in class cn.hutool.core.util.XmlUtil
创建XPath
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
createZip(String) - Static method in class cn.hutool.core.io.file.FileSystemUtil
创建 Zip的FileSystem,默认UTF-8编码
createZip(String, Charset) - Static method in class cn.hutool.core.io.file.FileSystemUtil
创建 Zip的FileSystem
CREDIT_CODE - Static variable in class cn.hutool.core.lang.PatternPool
统一社会信用代码
CREDIT_CODE - Static variable in interface cn.hutool.core.lang.RegexPool
统一社会信用代码
CREDIT_CODE_PATTERN - Static variable in class cn.hutool.core.util.CreditCodeUtil
 
CreditCodeUtil - Class in cn.hutool.core.util
统一社会信用代码(GB32100-2015)工具类
标准见:https://www.cods.org.cn/c/2020-10-29/12575.html
CreditCodeUtil() - Constructor for class cn.hutool.core.util.CreditCodeUtil
 
CRLF - Static variable in interface cn.hutool.core.text.StrPool
字符串常量:Windows 换行 "\r\n"
解释:该字符串常用于表示 Windows 系统下的文本换行
CronConfig - Class in cn.hutool.cron
定时任务配置类
CronConfig() - Constructor for class cn.hutool.cron.CronConfig
 
CronException - Exception in cn.hutool.cron
定时任务异常
CronException(Throwable) - Constructor for exception cn.hutool.cron.CronException
 
CronException(String) - Constructor for exception cn.hutool.cron.CronException
 
CronException(String, Object...) - Constructor for exception cn.hutool.cron.CronException
 
CronException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.cron.CronException
 
CronException(Throwable, String, Object...) - Constructor for exception cn.hutool.cron.CronException
 
CronPattern - Class in cn.hutool.cron.pattern
定时任务表达式
表达式类似于Linux的crontab表达式,表达式使用空格分成5个部分,按顺序依次为: :范围:0~59 :范围:0~23 :范围:1~31,"L" 表示月的最后一天 :范围:1~12,同时支持不区分大小写的别名:"jan","feb", "mar", "apr", "may","jun", "jul", "aug", "sep","oct", "nov", "dec" :范围:0 (Sunday)~6(Saturday),7也可以表示周日,同时支持不区分大小写的别名:"sun","mon", "tue", "wed", "thu","fri", "sat","L" 表示周六
CronPattern(String) - Constructor for class cn.hutool.cron.pattern.CronPattern
构造
CronPatternBuilder - Class in cn.hutool.cron.pattern
定时任务表达式构建器
CronPatternBuilder() - Constructor for class cn.hutool.cron.pattern.CronPatternBuilder
 
CronPatternUtil - Class in cn.hutool.cron.pattern
定时任务表达式工具类
CronPatternUtil() - Constructor for class cn.hutool.cron.pattern.CronPatternUtil
 
CRONTAB_CONFIG_PATH - Static variable in class cn.hutool.cron.CronUtil
Crontab配置文件
CRONTAB_CONFIG_PATH2 - Static variable in class cn.hutool.cron.CronUtil
 
CronTask - Class in cn.hutool.cron.task
定时作业,此类除了定义了作业,也定义了作业的执行周期以及ID。
CronTask(String, CronPattern, Task) - Constructor for class cn.hutool.cron.task.CronTask
构造
CronTimer - Class in cn.hutool.cron
定时任务计时器
计时器线程每隔一分钟(一秒钟)检查一次任务列表,一旦匹配到执行对应的Task
CronTimer(Scheduler) - Constructor for class cn.hutool.cron.CronTimer
构造
CronUtil - Class in cn.hutool.cron
定时任务工具类
此工具持有一个全局Scheduler,所有定时任务在同一个调度器中执行
CronUtil.setMatchSecond(boolean) 方法用于定义是否使用秒匹配模式,如果为true,则定时任务表达式中的第一位为秒,否则为分,默认是分
CronUtil() - Constructor for class cn.hutool.cron.CronUtil
 
crop(int, int, int, int) - Method in class cn.hutool.extra.qrcode.BufferedImageLuminanceSource
 
crypt(byte[], byte[], int, int[]) - Method in class cn.hutool.crypto.digest.BCrypt
加密密文
crypt(byte[]) - Method in class cn.hutool.crypto.symmetric.RC4
加密或解密指定值,调用此方法前需初始化密钥
CryptoException - Exception in cn.hutool.crypto
加密异常
CryptoException(Throwable) - Constructor for exception cn.hutool.crypto.CryptoException
 
CryptoException(String) - Constructor for exception cn.hutool.crypto.CryptoException
 
CryptoException(String, Object...) - Constructor for exception cn.hutool.crypto.CryptoException
 
CryptoException(String, Throwable) - Constructor for exception cn.hutool.crypto.CryptoException
 
CryptoException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.crypto.CryptoException
 
CryptoException(Throwable, String, Object...) - Constructor for exception cn.hutool.crypto.CryptoException
 
CsvBaseReader - Class in cn.hutool.core.text.csv
CSV文件读取器基础类,提供灵活的文件、路径中的CSV读取,一次构造可多次调用读取不同数据,参考:FastCSV
CsvBaseReader() - Constructor for class cn.hutool.core.text.csv.CsvBaseReader
构造,使用默认配置项
CsvBaseReader(CsvReadConfig) - Constructor for class cn.hutool.core.text.csv.CsvBaseReader
构造
CsvConfig<T extends CsvConfig<T>> - Class in cn.hutool.core.text.csv
CSV基础配置项,此配置项可用于读取和写出CSV,定义了包括字段分隔符、文本包装符等符号
CsvConfig() - Constructor for class cn.hutool.core.text.csv.CsvConfig
 
CsvData - Class in cn.hutool.core.text.csv
CSV数据,包括头部信息和行数据,参考:FastCSV
CsvData(List<String>, List<CsvRow>) - Constructor for class cn.hutool.core.text.csv.CsvData
构造
CsvParser - Class in cn.hutool.core.text.csv
CSV行解析器,参考:FastCSV
CsvParser(Reader, CsvReadConfig) - Constructor for class cn.hutool.core.text.csv.CsvParser
CSV解析器
CsvReadConfig - Class in cn.hutool.core.text.csv
CSV读取配置项
CsvReadConfig() - Constructor for class cn.hutool.core.text.csv.CsvReadConfig
 
CsvReader - Class in cn.hutool.core.text.csv
CSV文件读取器,参考:FastCSV
CsvReader() - Constructor for class cn.hutool.core.text.csv.CsvReader
构造,使用默认配置项
CsvReader(CsvReadConfig) - Constructor for class cn.hutool.core.text.csv.CsvReader
构造
CsvReader(File, CsvReadConfig) - Constructor for class cn.hutool.core.text.csv.CsvReader
构造,默认CsvBaseReader.DEFAULT_CHARSET编码
CsvReader(Path, CsvReadConfig) - Constructor for class cn.hutool.core.text.csv.CsvReader
构造,默认CsvBaseReader.DEFAULT_CHARSET编码
CsvReader(File, Charset, CsvReadConfig) - Constructor for class cn.hutool.core.text.csv.CsvReader
构造
CsvReader(Path, Charset, CsvReadConfig) - Constructor for class cn.hutool.core.text.csv.CsvReader
构造
CsvReader(Reader, CsvReadConfig) - Constructor for class cn.hutool.core.text.csv.CsvReader
构造
CsvRow - Class in cn.hutool.core.text.csv
CSV中一行的表示
CsvRow(long, Map<String, Integer>, List<String>) - Constructor for class cn.hutool.core.text.csv.CsvRow
构造
CsvRowHandler - Interface in cn.hutool.core.text.csv
CSV的行处理器,实现此接口用于按照行处理数据
CsvUtil - Class in cn.hutool.core.text.csv
CSV工具
CsvUtil() - Constructor for class cn.hutool.core.text.csv.CsvUtil
 
CsvWriteConfig - Class in cn.hutool.core.text.csv
CSV写出配置项
CsvWriteConfig() - Constructor for class cn.hutool.core.text.csv.CsvWriteConfig
 
CsvWriter - Class in cn.hutool.core.text.csv
CSV数据写出器
CsvWriter(String) - Constructor for class cn.hutool.core.text.csv.CsvWriter
构造,覆盖已有文件(如果存在),默认编码UTF-8
CsvWriter(File) - Constructor for class cn.hutool.core.text.csv.CsvWriter
构造,覆盖已有文件(如果存在),默认编码UTF-8
CsvWriter(String, Charset) - Constructor for class cn.hutool.core.text.csv.CsvWriter
构造,覆盖已有文件(如果存在)
CsvWriter(File, Charset) - Constructor for class cn.hutool.core.text.csv.CsvWriter
构造,覆盖已有文件(如果存在)
CsvWriter(String, Charset, boolean) - Constructor for class cn.hutool.core.text.csv.CsvWriter
构造
CsvWriter(File, Charset, boolean) - Constructor for class cn.hutool.core.text.csv.CsvWriter
构造
CsvWriter(String, Charset, boolean, CsvWriteConfig) - Constructor for class cn.hutool.core.text.csv.CsvWriter
构造
CsvWriter(File, Charset, boolean, CsvWriteConfig) - Constructor for class cn.hutool.core.text.csv.CsvWriter
构造
CsvWriter(Writer) - Constructor for class cn.hutool.core.text.csv.CsvWriter
构造,使用默认配置
CsvWriter(Writer, CsvWriteConfig) - Constructor for class cn.hutool.core.text.csv.CsvWriter
构造
CurrencyConverter - Class in cn.hutool.core.convert.impl
货币Currency 转换器
CurrencyConverter() - Constructor for class cn.hutool.core.convert.impl.CurrencyConverter
 
current() - Static method in class cn.hutool.core.date.DateUtil
当前时间的时间戳
currentIter - Variable in class cn.hutool.core.collection.IterChain
 
currentSeconds() - Static method in class cn.hutool.core.date.DateUtil
当前时间的时间戳(秒)
currentTaskName() - Method in class cn.hutool.core.date.StopWatch
获取当前任务名,null 表示无任务
currentThreadGroup() - Static method in class cn.hutool.core.thread.ThreadUtil
获取当前线程的线程组
customKey(Object) - Method in class cn.hutool.core.map.FuncKeyMap
根据函数自定义键
customKey(Object) - Method in class cn.hutool.core.map.FuncMap
根据函数自定义键
customKey(Object) - Method in class cn.hutool.core.map.TransMap
自定义键
CustomKeyMap<K,V> - Class in cn.hutool.core.map
自定义键的Map,默认HashMap实现
CustomKeyMap(Map<K, V>) - Constructor for class cn.hutool.core.map.CustomKeyMap
构造
通过传入一个Map从而确定Map的类型,子类需创建一个空的Map,而非传入一个已有Map,否则值可能会被修改
CustomProtocolsSSLFactory - Class in cn.hutool.http.ssl
自定义支持协议类型的SSLSocketFactory
CustomProtocolsSSLFactory(String...) - Constructor for class cn.hutool.http.ssl.CustomProtocolsSSLFactory
构造
customValue(Object) - Method in class cn.hutool.core.map.CustomKeyMap
 
customValue(Object) - Method in class cn.hutool.core.map.FuncMap
 
customValue(Object) - Method in class cn.hutool.core.map.TransMap
自定义值
cut(Rectangle) - Method in class cn.hutool.core.img.Img
图像切割(按指定起点坐标和宽高切割)
cut(int, int) - Method in class cn.hutool.core.img.Img
图像切割为圆形(按指定起点坐标和半径切割),填充满整个图片(直径取长宽最小值)
cut(int, int, int) - Method in class cn.hutool.core.img.Img
图像切割为圆形(按指定起点坐标和半径切割)
cut(File, File, Rectangle) - Static method in class cn.hutool.core.img.ImgUtil
图像切割(按指定起点坐标和宽高切割)
cut(InputStream, OutputStream, Rectangle) - Static method in class cn.hutool.core.img.ImgUtil
图像切割(按指定起点坐标和宽高切割),此方法并不关闭流
cut(ImageInputStream, ImageOutputStream, Rectangle) - Static method in class cn.hutool.core.img.ImgUtil
图像切割(按指定起点坐标和宽高切割),此方法并不关闭流
cut(Image, File, Rectangle) - Static method in class cn.hutool.core.img.ImgUtil
图像切割(按指定起点坐标和宽高切割),此方法并不关闭流
cut(Image, OutputStream, Rectangle) - Static method in class cn.hutool.core.img.ImgUtil
图像切割(按指定起点坐标和宽高切割),此方法并不关闭流
cut(Image, ImageOutputStream, Rectangle) - Static method in class cn.hutool.core.img.ImgUtil
图像切割(按指定起点坐标和宽高切割),此方法并不关闭流
cut(Image, Rectangle) - Static method in class cn.hutool.core.img.ImgUtil
图像切割(按指定起点坐标和宽高切割)
cut(Image, int, int) - Static method in class cn.hutool.core.img.ImgUtil
图像切割(按指定起点坐标和宽高切割),填充满整个图片(直径取长宽最小值)
cut(Image, int, int, int) - Static method in class cn.hutool.core.img.ImgUtil
图像切割(按指定起点坐标和宽高切割)
cut(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
将字符串切分为N等份
cyclicalm(int) - Static method in class cn.hutool.core.date.chinese.GanZhi
传入 月日的offset 传回干支, 0=甲子

D

daemon - Variable in class cn.hutool.cron.Scheduler
是否为守护线程
DaoTemplate - Class in cn.hutool.db
数据访问层模板
此模板用于简化对指定表的操作,简化的操作如下:
1、在初始化时指定了表名,CRUD操作时便不需要表名
2、在初始化时指定了主键,某些需要主键的操作便不需要指定主键类型
DaoTemplate(String) - Constructor for class cn.hutool.db.DaoTemplate
构造,此构造需要自定义SqlRunner,主键默认为id
DaoTemplate(String, String) - Constructor for class cn.hutool.db.DaoTemplate
构造,使用默认的池化连接池,读取默认配置文件的空分组,适用于只有一个数据库的情况
DaoTemplate(String, DataSource) - Constructor for class cn.hutool.db.DaoTemplate
构造
DaoTemplate(String, String, DataSource) - Constructor for class cn.hutool.db.DaoTemplate
构造
DaoTemplate(String, String, Db) - Constructor for class cn.hutool.db.DaoTemplate
构造
DASHED - Static variable in interface cn.hutool.core.text.CharPool
字符常量:减号(连接符) '-'
DASHED - Static variable in interface cn.hutool.core.text.StrPool
字符串常量:减号(连接符) "-"
DataSize - Class in cn.hutool.core.io.unit
数据大小,可以将类似于'12MB'表示转换为bytes长度的数字
DataSizeUtil - Class in cn.hutool.core.io.unit
数据大小工具类
DataSizeUtil() - Constructor for class cn.hutool.core.io.unit.DataSizeUtil
 
dataSourceName - Variable in class cn.hutool.db.ds.DSFactory
数据源名
DataSourceWrapper - Class in cn.hutool.db.ds
DataSource 数据源实现包装,通过包装,提供基本功能外的额外功能和参数持有,包括:
DataSourceWrapper(DataSource, String) - Constructor for class cn.hutool.db.ds.DataSourceWrapper
构造
DataUnit - Enum in cn.hutool.core.io.unit
数据单位封装
date() - Static method in class cn.hutool.core.date.DateUtil
当前时间,转换为DateTime对象
date(Date) - Static method in class cn.hutool.core.date.DateUtil
Date类型时间转为DateTime
如果date本身为DateTime对象,则返回强转后的对象,否则新建一个DateTime对象
date(long) - Static method in class cn.hutool.core.date.DateUtil
Long类型时间转为DateTime
只支持毫秒级别时间戳,如果需要秒级别时间戳,请自行×1000
date(Calendar) - Static method in class cn.hutool.core.date.DateUtil
Calendar类型时间转为DateTime
始终根据已有Calendar 产生新的DateTime对象
date(TemporalAccessor) - Static method in class cn.hutool.core.date.DateUtil
TemporalAccessor类型时间转为DateTime
始终根据已有TemporalAccessor 产生新的DateTime对象
DateBasic - Interface in cn.hutool.core.date.format
日期基本信息获取接口
DateBetween - Class in cn.hutool.core.date
日期间隔
DateBetween(Date, Date) - Constructor for class cn.hutool.core.date.DateBetween
构造
在前的日期做为起始时间,在后的做为结束时间,间隔只保留绝对值正数
DateBetween(Date, Date, boolean) - Constructor for class cn.hutool.core.date.DateBetween
构造
在前的日期做为起始时间,在后的做为结束时间
DateCellSetter - Class in cn.hutool.poi.excel.cell.setters
Date 值单元格设置器
DateConverter - Class in cn.hutool.core.convert.impl
日期转换器
DateConverter(Class<? extends Date>) - Constructor for class cn.hutool.core.convert.impl.DateConverter
构造
DateConverter(Class<? extends Date>, String) - Constructor for class cn.hutool.core.convert.impl.DateConverter
构造
DateException - Exception in cn.hutool.core.date
工具类异常
DateException(Throwable) - Constructor for exception cn.hutool.core.date.DateException
 
DateException(String) - Constructor for exception cn.hutool.core.date.DateException
 
DateException(String, Object...) - Constructor for exception cn.hutool.core.date.DateException
 
DateException(String, Throwable) - Constructor for exception cn.hutool.core.date.DateException
 
DateException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.date.DateException
 
DateField - Enum in cn.hutool.core.date
日期各个部分的枚举
与Calendar相应值对应
DateModifier - Class in cn.hutool.core.date
日期修改器
用于实现自定义某个日期字段的调整,包括:
DateModifier() - Constructor for class cn.hutool.core.date.DateModifier
 
DateModifier.ModifyType - Enum in cn.hutool.core.date
修改类型
dateNew(Date) - Static method in class cn.hutool.core.date.DateUtil
根据已有Date 产生新的DateTime对象
DateParser - Interface in cn.hutool.core.date.format
日期解析接口,用于解析日期字符串为 Date 对象
Thanks to Apache Commons Lang 3.5
DatePattern - Class in cn.hutool.core.date
日期格式化类,提供常用的日期格式化对象
DatePattern() - Constructor for class cn.hutool.core.date.DatePattern
 
DatePrinter - Interface in cn.hutool.core.date.format
日期格式化输出接口
Thanks to Apache Commons Lang 3.5
DateRange - Class in cn.hutool.core.date
日期范围
DateRange(Date, Date, DateField) - Constructor for class cn.hutool.core.date.DateRange
构造,包含开始和结束日期时间
DateRange(Date, Date, DateField, int) - Constructor for class cn.hutool.core.date.DateRange
构造,包含开始和结束日期时间
DateRange(Date, Date, DateField, int, boolean, boolean) - Constructor for class cn.hutool.core.date.DateRange
构造
dateSecond() - Static method in class cn.hutool.core.date.DateUtil
当前时间,转换为DateTime对象,忽略毫秒部分
DateTime - Class in cn.hutool.core.date
包装Date
此类继承了Date,并提供扩展方法,如时区等。
此类重写了父类的toString()方法,返回值为"yyyy-MM-dd HH:mm:ss"格式
DateTime() - Constructor for class cn.hutool.core.date.DateTime
当前时间
DateTime(TimeZone) - Constructor for class cn.hutool.core.date.DateTime
当前时间
DateTime(Date) - Constructor for class cn.hutool.core.date.DateTime
给定日期的构造
DateTime(Date, TimeZone) - Constructor for class cn.hutool.core.date.DateTime
给定日期的构造
DateTime(Calendar) - Constructor for class cn.hutool.core.date.DateTime
给定日期的构造
DateTime(Instant) - Constructor for class cn.hutool.core.date.DateTime
给定日期Instant的构造
DateTime(Instant, ZoneId) - Constructor for class cn.hutool.core.date.DateTime
给定日期Instant的构造
DateTime(TemporalAccessor) - Constructor for class cn.hutool.core.date.DateTime
给定日期TemporalAccessor的构造
DateTime(ZonedDateTime) - Constructor for class cn.hutool.core.date.DateTime
给定日期ZonedDateTime的构造
DateTime(long) - Constructor for class cn.hutool.core.date.DateTime
给定日期毫秒数的构造
DateTime(long, TimeZone) - Constructor for class cn.hutool.core.date.DateTime
给定日期毫秒数的构造
DateTime(CharSequence) - Constructor for class cn.hutool.core.date.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 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
DateTime(CharSequence, String) - Constructor for class cn.hutool.core.date.DateTime
构造
DateTime(CharSequence, DateFormat) - Constructor for class cn.hutool.core.date.DateTime
构造
DateTime(CharSequence, DateTimeFormatter) - Constructor for class cn.hutool.core.date.DateTime
构建DateTime对象
DateTime(CharSequence, DateParser) - Constructor for class cn.hutool.core.date.DateTime
构造
DateTime(CharSequence, DateParser, boolean) - Constructor for class cn.hutool.core.date.DateTime
构造
DateUnit - Enum in cn.hutool.core.date
日期时间单位,每个单位都是以毫秒为基数
DateUtil - Class in cn.hutool.core.date
日期时间工具类
DateUtil() - Constructor for class cn.hutool.core.date.DateUtil
 
dayOfMonth() - Method in class cn.hutool.core.date.DateTime
获得指定日期是这个日期所在月份的第几天,从1开始
dayOfMonth(Date) - Static method in class cn.hutool.core.date.DateUtil
获得指定日期是这个日期所在月份的第几天
DayOfMonthMatcher - Class in cn.hutool.cron.pattern.matcher
每月第几天匹配
考虑每月的天数不同,且存在闰年情况,日匹配单独使用
DayOfMonthMatcher(List<Integer>) - Constructor for class cn.hutool.cron.pattern.matcher.DayOfMonthMatcher
构造
dayOfWeek() - Method in class cn.hutool.core.date.DateTime
获得指定日期是星期几,1表示周日,2表示周一
dayOfWeek(Date) - Static method in class cn.hutool.core.date.DateUtil
获得指定日期是星期几,1表示周日,2表示周一
dayOfWeek(LocalDate) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
获取LocalDate对应的星期值
dayOfWeekEnum() - Method in class cn.hutool.core.date.DateTime
获得指定日期是星期几
dayOfWeekEnum(Date) - Static method in class cn.hutool.core.date.DateUtil
获得指定日期是星期几
dayOfWeekInMonth() - Method in class cn.hutool.core.date.DateTime
获得天所在的周是这个月的第几周
dayOfYear() - Method in class cn.hutool.core.date.DateTime
获得指定日期是这个日期所在年份的第几天,从1开始
dayOfYear(Date) - Static method in class cn.hutool.core.date.DateUtil
获得指定日期是这个日期所在年的第几天
db - Variable in class cn.hutool.db.DaoTemplate
SQL运行器
Db - Class in cn.hutool.db
数据库操作类
通过给定的数据源执行给定SQL或者给定数据源和方言,执行相应的CRUD操作
Db(DataSource) - Constructor for class cn.hutool.db.Db
构造,从DataSource中识别方言
Db(DataSource, String) - Constructor for class cn.hutool.db.Db
构造
Db(DataSource, Dialect) - Constructor for class cn.hutool.db.Db
构造
DbConfig - Class in cn.hutool.db.ds.pooled
数据库配置
DbConfig() - Constructor for class cn.hutool.db.ds.pooled.DbConfig
 
DbConfig(String, String, String) - Constructor for class cn.hutool.db.ds.pooled.DbConfig
构造
DbcpDSFactory - Class in cn.hutool.db.ds.dbcp
DBCP2数据源工厂类
DbcpDSFactory() - Constructor for class cn.hutool.db.ds.dbcp.DbcpDSFactory
 
DbcpDSFactory(Setting) - Constructor for class cn.hutool.db.ds.dbcp.DbcpDSFactory
 
DbRuntimeException - Exception in cn.hutool.db
数据库异常
DbRuntimeException(Throwable) - Constructor for exception cn.hutool.db.DbRuntimeException
 
DbRuntimeException(String) - Constructor for exception cn.hutool.db.DbRuntimeException
 
DbRuntimeException(String, Object...) - Constructor for exception cn.hutool.db.DbRuntimeException
 
DbRuntimeException(String, Throwable) - Constructor for exception cn.hutool.db.DbRuntimeException
 
DbRuntimeException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.db.DbRuntimeException
 
DbRuntimeException(Throwable, String, Object...) - Constructor for exception cn.hutool.db.DbRuntimeException
 
DbSetting - Class in cn.hutool.db.ds.pooled
数据库配置文件类,此类对应一个数据库配置文件
DbSetting() - Constructor for class cn.hutool.db.ds.pooled.DbSetting
构造
DbSetting(Setting) - Constructor for class cn.hutool.db.ds.pooled.DbSetting
构造
DbUtil - Class in cn.hutool.db
数据库操作工具类
DbUtil() - Constructor for class cn.hutool.db.DbUtil
 
debug(Throwable) - Method in class cn.hutool.log.AbstractLog
 
debug(String, Object...) - Method in class cn.hutool.log.AbstractLog
 
debug(Throwable, String, Object...) - Method in class cn.hutool.log.AbstractLog
 
debug(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
 
debug(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.console.ConsoleLog
 
debug(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jboss.JbossLog
 
debug(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jdk.JdkLog
 
debug(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j.Log4jLog
 
debug(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
 
debug(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.logtube.LogTubeLog
 
debug(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
 
debug(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog
 
debug(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
 
debug(Throwable) - Method in interface cn.hutool.log.level.DebugLog
打印 DEBUG 等级的日志
debug(String, Object...) - Method in interface cn.hutool.log.level.DebugLog
打印 DEBUG 等级的日志
debug(Throwable, String, Object...) - Method in interface cn.hutool.log.level.DebugLog
打印 DEBUG 等级的日志
debug(String, Throwable, String, Object...) - Method in interface cn.hutool.log.level.DebugLog
打印 DEBUG 等级的日志
debug(String, Object...) - Static method in class cn.hutool.log.StaticLog
Debug等级日志,小于Info
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
debug(Log, String, Object...) - Static method in class cn.hutool.log.StaticLog
Debug等级日志,小于Info
DebugLog - Interface in cn.hutool.log.level
DEBUG级别日志接口
decimalFormat(String, double) - Static method in class cn.hutool.core.util.NumberUtil
格式化double
DecimalFormat 做封装
decimalFormat(String, long) - Static method in class cn.hutool.core.util.NumberUtil
格式化double
DecimalFormat 做封装
decimalFormat(String, Object) - Static method in class cn.hutool.core.util.NumberUtil
格式化double
DecimalFormat 做封装
decimalFormat(String, Object, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
格式化double
DecimalFormat 做封装
decimalFormatMoney(double) - Static method in class cn.hutool.core.util.NumberUtil
格式化金额输出,每三位用逗号分隔
decode(CharSequence) - Method in class cn.hutool.core.codec.Base16Codec
 
decode(String) - Static method in class cn.hutool.core.codec.Base32
解码
decode(CharSequence) - Method in class cn.hutool.core.codec.Base32Codec.Base32Decoder
 
decode(CharSequence) - Method in class cn.hutool.core.codec.Base32Codec
 
decode(CharSequence, boolean) - Method in class cn.hutool.core.codec.Base32Codec
解码数据
decode(CharSequence) - Static method in class cn.hutool.core.codec.Base58
Base58解码
decode(CharSequence) - Method in class cn.hutool.core.codec.Base58Codec.Base58Decoder
 
decode(CharSequence) - Method in class cn.hutool.core.codec.Base58Codec
解码给定的Base58字符串
decode(CharSequence) - Static method in class cn.hutool.core.codec.Base62
Base62解码
decode(byte[]) - Static method in class cn.hutool.core.codec.Base62
解码Base62
decode(byte[]) - Method in class cn.hutool.core.codec.Base62Codec.Base62Decoder
 
decode(byte[]) - Method in class cn.hutool.core.codec.Base62Codec
解码Base62消息
decode(byte[], boolean) - Method in class cn.hutool.core.codec.Base62Codec
解码Base62消息
decode(CharSequence) - Static method in class cn.hutool.core.codec.Base64
base64解码
decode(byte[]) - Static method in class cn.hutool.core.codec.Base64
解码Base64
decode(CharSequence) - Static method in class cn.hutool.core.codec.Base64Decoder
base64解码
decode(byte[]) - Static method in class cn.hutool.core.codec.Base64Decoder
解码Base64
decode(byte[], int, int) - Static method in class cn.hutool.core.codec.Base64Decoder
解码Base64
decode(String, int) - Static method in class cn.hutool.core.codec.Caesar
传入明文解密到密文
decode(T) - Method in interface cn.hutool.core.codec.Decoder
执行解码
decode(String) - Method in class cn.hutool.core.codec.Hashids
解码Hash值为数字数组
decode(String) - Method in class cn.hutool.core.codec.Morse
解码
decode(String) - Static method in class cn.hutool.core.codec.PunyCode
解码 PunyCode为字符串
decode(String, int, boolean) - Static method in class cn.hutool.core.codec.Rot
RotN解码
decode(String, Charset) - Static method in class cn.hutool.core.net.URLDecoder
解码
规则见:https://url.spec.whatwg.org/#urlencoded-parsing
decode(String, Charset, boolean) - Static method in class cn.hutool.core.net.URLDecoder
解码
decode(byte[]) - Static method in class cn.hutool.core.net.URLDecoder
解码
decode(byte[], boolean) - Static method in class cn.hutool.core.net.URLDecoder
解码
decode(String, String) - Static method in class cn.hutool.core.util.RadixUtil
把转换后进制的字符还原成long 值
decode(String) - Static method in class cn.hutool.core.util.URLUtil
解码URL
将%开头的16进制表示的内容解码。
decode(String, Charset) - Static method in class cn.hutool.core.util.URLUtil
解码application/x-www-form-urlencoded字符
将%开头的16进制表示的内容解码。
规则见:https://url.spec.whatwg.org/#urlencoded-parsing
decode(String, Charset, boolean) - Static method in class cn.hutool.core.util.URLUtil
解码application/x-www-form-urlencoded字符
将%开头的16进制表示的内容解码。
decode(String, String) - Static method in class cn.hutool.core.util.URLUtil
解码application/x-www-form-urlencoded字符
将%开头的16进制表示的内容解码。
decode(InputStream) - Static method in class cn.hutool.crypto.ASN1Util
读取ASN.1数据流为ASN1Object
decode(String) - Static method in class cn.hutool.crypto.SecureUtil
解码字符串密钥,可支持的编码如下:
decode(InputStream) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
解码二维码或条形码图片为文本
decode(File) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
解码二维码或条形码图片为文本
decode(Image) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
将二维码或条形码图片解码为文本
decode(Image, boolean, boolean) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
将二维码或条形码图片解码为文本
此方法会尝试使用HybridBinarizerGlobalHistogramBinarizer两种模式解析
需要注意部分二维码如果不带logo,使用PureBarcode模式会解析失败,此时须设置此选项为false。
decode(Image, Map<DecodeHintType, Object>) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
将二维码或条形码图片解码为文本
此方法会尝试使用HybridBinarizerGlobalHistogramBinarizer两种模式解析
需要注意部分二维码如果不带logo,使用PureBarcode模式会解析失败,此时须设置此选项为false。
decode(AioSession, ByteBuffer) - Method in interface cn.hutool.socket.protocol.MsgDecoder
对于从Socket流中获取到的数据采用当前MsgDecoder的实现类协议进行解析。
decode13(String) - Static method in class cn.hutool.core.codec.Rot
Rot-13解码,同时解码数字
decode13(String, boolean) - Static method in class cn.hutool.core.codec.Rot
Rot-13解码
decodeChecked(CharSequence) - Static method in class cn.hutool.core.codec.Base58
Base58解码
解码包含标志位验证和版本呢位去除
decodeChecked(CharSequence, boolean) - Static method in class cn.hutool.core.codec.Base58
Base58解码
解码包含标志位验证和版本呢位去除
decodeColor(String) - Static method in class cn.hutool.core.util.HexUtil
将Hex颜色值转为
decodeDomain(String) - Static method in class cn.hutool.core.codec.PunyCode
解码punycode域名
decodeECPoint(String, String) - Static method in class cn.hutool.crypto.BCUtil
解码恢复EC压缩公钥,支持Base64和Hex编码,(基于BouncyCastle)
见:https://www.cnblogs.com/xinzhao/p/8963724.html
decodeECPoint(byte[], String) - Static method in class cn.hutool.crypto.BCUtil
解码恢复EC压缩公钥,支持Base64和Hex编码,(基于BouncyCastle)
decodeECPoint(String, String) - Static method in class cn.hutool.crypto.KeyUtil
解码恢复EC压缩公钥,支持Base64和Hex编码,(基于BouncyCastle)
见:https://www.cnblogs.com/xinzhao/p/8963724.html
decodeECPoint(byte[], String) - Static method in class cn.hutool.crypto.KeyUtil
解码恢复EC压缩公钥,支持Base64和Hex编码,(基于BouncyCastle)
见:https://www.cnblogs.com/xinzhao/p/8963724.html
decodeForPath(String, Charset) - Static method in class cn.hutool.core.net.URLDecoder
解码,不对+解码 将%20转换为空格 将 "%xy"转换为文本形式,xy是两位16进制的数值 跳过不符合规范的%形式,直接输出
decodeHex(String) - Static method in class cn.hutool.core.codec.Base32
解码
decodeHex(String) - Static method in class cn.hutool.core.util.HexUtil
将十六进制字符串解码为byte[]
decodeHex(char[]) - Static method in class cn.hutool.core.util.HexUtil
将十六进制字符数组转换为字节数组
decodeHex(CharSequence) - Static method in class cn.hutool.core.util.HexUtil
将十六进制字符数组转换为字节数组
decodeHexStr(String) - Static method in class cn.hutool.core.util.HexUtil
将十六进制字符数组转换为字符串,默认编码UTF-8
decodeHexStr(String, Charset) - Static method in class cn.hutool.core.util.HexUtil
将十六进制字符数组转换为字符串
decodeHexStr(char[], Charset) - Static method in class cn.hutool.core.util.HexUtil
将十六进制字符数组转换为字符串
decodeImageData() - Method in class cn.hutool.core.img.gif.GifDecoder
Decodes LZW image data into pixel array.
decodeInverted(CharSequence) - Static method in class cn.hutool.core.codec.Base62
Base62解码(反转字母表模式)
decodeInverted(byte[]) - Static method in class cn.hutool.core.codec.Base62
解码Base62(反转字母表模式)
decodeParamMap(String, Charset) - Static method in class cn.hutool.http.HttpUtil
将URL参数解析为Map(也可以解析Post中的键值对参数)
decodeParams(String, String) - Static method in class cn.hutool.http.HttpUtil
将URL参数解析为Map(也可以解析Post中的键值对参数)
decodeParams(String, String, boolean) - Static method in class cn.hutool.http.HttpUtil
将URL参数解析为Map(也可以解析Post中的键值对参数)
decodeParams(String, Charset) - Static method in class cn.hutool.http.HttpUtil
将URL QueryString参数解析为Map
decodeParams(String, Charset, boolean) - Static method in class cn.hutool.http.HttpUtil
将URL参数解析为Map(也可以解析Post中的键值对参数)
decodePrivateKeyParams(byte[]) - Static method in class cn.hutool.crypto.ECKeyUtil
尝试解析转换各种类型私钥为ECPrivateKeyParameters,支持包括: D值 PKCS#8 PKCS#1
decodePublicKeyParams(byte[]) - Static method in class cn.hutool.crypto.ECKeyUtil
尝试解析转换各种类型公钥为ECPublicKeyParameters,支持包括: Q值 X.509 PKCS#1
DECODER - Static variable in class cn.hutool.core.codec.Base32Codec.Base32Decoder
 
DECODER - Static variable in class cn.hutool.core.codec.Base58Codec.Base58Decoder
 
Decoder<T,R> - Interface in cn.hutool.core.codec
解码接口
decodeStr(String) - Static method in class cn.hutool.core.codec.Base32
base32解码
decodeStr(String, Charset) - Static method in class cn.hutool.core.codec.Base32
base32解码
decodeStr(CharSequence) - Static method in class cn.hutool.core.codec.Base62
Base62解码
decodeStr(CharSequence, Charset) - Static method in class cn.hutool.core.codec.Base62
Base62解码
decodeStr(CharSequence) - Static method in class cn.hutool.core.codec.Base64
base64解码
decodeStr(CharSequence, String) - Static method in class cn.hutool.core.codec.Base64
base64解码
decodeStr(CharSequence, Charset) - Static method in class cn.hutool.core.codec.Base64
base64解码
decodeStr(CharSequence) - Static method in class cn.hutool.core.codec.Base64Decoder
base64解码
decodeStr(CharSequence, Charset) - Static method in class cn.hutool.core.codec.Base64Decoder
base64解码
decodeStrGbk(CharSequence) - Static method in class cn.hutool.core.codec.Base62
Base62解码
decodeStrGbk(CharSequence) - Static method in class cn.hutool.core.codec.Base64
base64解码
decodeStrHex(String) - Static method in class cn.hutool.core.codec.Base32
base32解码
decodeStrHex(String, Charset) - Static method in class cn.hutool.core.codec.Base32
base32解码
decodeStrInverted(CharSequence) - Static method in class cn.hutool.core.codec.Base62
Base62解码(反转字母表模式)
decodeStrInverted(CharSequence, Charset) - Static method in class cn.hutool.core.codec.Base62
Base62解码(反转字母表模式)
decodeToFile(CharSequence, File) - Static method in class cn.hutool.core.codec.Base62
Base62解码
decodeToFile(CharSequence, File) - Static method in class cn.hutool.core.codec.Base64
base64解码
decodeToFileInverted(CharSequence, File) - Static method in class cn.hutool.core.codec.Base62
Base62解码(反转字母表模式)
decodeToHex(String) - Method in class cn.hutool.core.codec.Hashids
解码Hash值为16进制数字
decodeToInt(String, String) - Static method in class cn.hutool.core.util.RadixUtil
把转换后的进制字符还原成int 值
decodeToStream(CharSequence, OutputStream, boolean) - Static method in class cn.hutool.core.codec.Base62
Base62解码
decodeToStream(CharSequence, OutputStream, boolean) - Static method in class cn.hutool.core.codec.Base64
base64解码
decodeToStreamInverted(CharSequence, OutputStream, boolean) - Static method in class cn.hutool.core.codec.Base62
Base62解码(反转字母表模式)
decrement() - Method in class cn.hutool.core.lang.mutable.MutableByte
值减一
decrement() - Method in class cn.hutool.core.lang.mutable.MutableDouble
值减一
decrement() - Method in class cn.hutool.core.lang.mutable.MutableFloat
值减一
decrement() - Method in class cn.hutool.core.lang.mutable.MutableInt
值减一
decrement() - Method in class cn.hutool.core.lang.mutable.MutableLong
值减一
decrement() - Method in class cn.hutool.core.lang.mutable.MutableShort
值减一
decrypt(byte[], KeyType) - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
 
decrypt(byte[], KeyType) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricDecryptor
解密
decrypt(InputStream, KeyType) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricDecryptor
解密
decrypt(String, KeyType) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricDecryptor
从Hex或Base64字符串解密,编码为UTF-8格式
decrypt(byte[], KeyType) - Method in class cn.hutool.crypto.asymmetric.RSA
 
decrypt(byte[]) - Method in class cn.hutool.crypto.asymmetric.SM2
使用私钥解密
decrypt(byte[], KeyType) - Method in class cn.hutool.crypto.asymmetric.SM2
解密
decrypt(byte[], CipherParameters) - Method in class cn.hutool.crypto.asymmetric.SM2
解密
decrypt(PKCS8EncryptedPrivateKeyInfo, char[]) - Static method in class cn.hutool.crypto.OpensslKeyUtil
解密PKCS8EncryptedPrivateKeyInfoPrivateKeyInfo
decrypt(PEMEncryptedKeyPair, char[]) - Static method in class cn.hutool.crypto.OpensslKeyUtil
解密PEMEncryptedKeyPairPEMKeyPair
decrypt(String) - Method in class cn.hutool.crypto.symmetric.fpe.FPE
解密
decrypt(char[]) - Method in class cn.hutool.crypto.symmetric.fpe.FPE
加密
decrypt(byte[], Charset) - Method in class cn.hutool.crypto.symmetric.RC4
解密
decrypt(byte[]) - Method in class cn.hutool.crypto.symmetric.RC4
解密,使用默认编码UTF-8
decrypt(String) - Method in class cn.hutool.crypto.symmetric.RC4
解密Hex(16进制)或Base64表示的字符串,使用默认编码UTF-8
decrypt(String, Charset) - Method in class cn.hutool.crypto.symmetric.RC4
解密Hex(16进制)或Base64表示的字符串
decrypt(byte[]) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
 
decrypt(InputStream, OutputStream, boolean) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
 
decrypt(byte[]) - Method in interface cn.hutool.crypto.symmetric.SymmetricDecryptor
解密
decrypt(InputStream, OutputStream, boolean) - Method in interface cn.hutool.crypto.symmetric.SymmetricDecryptor
解密,针对大数据量,结束后不关闭流
decrypt(String) - Method in interface cn.hutool.crypto.symmetric.SymmetricDecryptor
解密Hex(16进制)或Base64表示的字符串
decrypt(InputStream) - Method in interface cn.hutool.crypto.symmetric.SymmetricDecryptor
解密,会关闭流
decrypt(CharSequence, CharSequence) - Static method in class cn.hutool.crypto.symmetric.Vigenere
解密
decrypt(byte[]) - Method in class cn.hutool.crypto.symmetric.XXTEA
 
decrypt(InputStream, OutputStream, boolean) - Method in class cn.hutool.crypto.symmetric.XXTEA
 
decryptBlockSize - Variable in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
解密的块大小
decryptFromBcd(String, KeyType) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricDecryptor
解密BCD
decryptFromBcd(String, KeyType, Charset) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricDecryptor
Deprecated.
由于对于ASCII的编码解码有缺陷,且这种BCD实现并不规范,因此会在6.0.0中移除
decryptStr(String, KeyType, Charset) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricDecryptor
解密为字符串,密文需为Hex(16进制)或Base64字符串
decryptStr(String, KeyType) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricDecryptor
解密为字符串,密文需为Hex(16进制)或Base64字符串
decryptStr(byte[], Charset) - Method in interface cn.hutool.crypto.symmetric.SymmetricDecryptor
解密为字符串
decryptStr(byte[]) - Method in interface cn.hutool.crypto.symmetric.SymmetricDecryptor
解密为字符串,默认UTF-8编码
decryptStr(String, Charset) - Method in interface cn.hutool.crypto.symmetric.SymmetricDecryptor
解密Hex(16进制)或Base64表示的字符串
decryptStr(String) - Method in interface cn.hutool.crypto.symmetric.SymmetricDecryptor
解密Hex(16进制)或Base64表示的字符串,默认UTF-8编码
decryptStr(InputStream, Charset) - Method in interface cn.hutool.crypto.symmetric.SymmetricDecryptor
解密,不会关闭流
decryptStr(InputStream) - Method in interface cn.hutool.crypto.symmetric.SymmetricDecryptor
解密
decryptStrFromBcd(String, KeyType, Charset) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricDecryptor
Deprecated.
由于对于ASCII的编码解码有缺陷,且这种BCD实现并不规范,因此会在6.0.0中移除
decryptStrFromBcd(String, KeyType) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricDecryptor
Deprecated.
由于对于ASCII的编码解码有缺陷,且这种BCD实现并不规范,因此会在6.0.0中移除
DEFAULT - Static variable in class cn.hutool.core.net.URLEncoder
Deprecated.
默认URLEncoder
默认的编码器针对URI路径编码,定义如下:
DEFAULT - Static variable in class cn.hutool.extra.template.TemplateConfig
 
DEFAULT_ALPHABET - Static variable in class cn.hutool.core.codec.Hashids
 
DEFAULT_BUFFER_SIZE - Static variable in class cn.hutool.core.io.NioUtil
默认缓存大小 8192
DEFAULT_CAPACITY - Static variable in class cn.hutool.core.text.StrBuilder
默认容量
DEFAULT_CAPACITY - Static variable in class cn.hutool.cron.TaskTable
 
DEFAULT_CAPACITY - Static variable in class cn.hutool.json.JSONArray
默认初始大小
DEFAULT_CAPACITY - Static variable in class cn.hutool.json.JSONObject
默认初始大小
DEFAULT_CHARSET - Static variable in class cn.hutool.core.io.file.FileWrapper
默认编码:UTF-8
DEFAULT_CHARSET - Static variable in class cn.hutool.core.text.csv.CsvBaseReader
默认编码
DEFAULT_CHARSET - Static variable in class cn.hutool.extra.ftp.AbstractFtp
默认编码
DEFAULT_CHARSET - Static variable in class cn.hutool.http.HttpBase
默认的请求编码、URL的encode、decode编码
DEFAULT_CHARSET - Static variable in class cn.hutool.setting.Setting
默认字符集
DEFAULT_COLLECTION_INITIAL_CAPACITY - Static variable in class cn.hutool.core.map.multi.AbsCollValueMap
默认集合初始大小
DEFAULT_CONFIG - Static variable in class cn.hutool.core.lang.tree.TreeNodeConfig
默认属性配置对象
DEFAULT_CURRENCY_CODE - Static variable in class cn.hutool.core.math.Money
缺省的币种代码,为CNY(人民币)。
DEFAULT_DATACENTER_ID - Static variable in class cn.hutool.core.lang.id.IdConstants
默认的数据中心ID。
DEFAULT_DB_CONFIG_PATH - Static variable in class cn.hutool.db.ds.pooled.DbSetting
默认的数据库连接配置文件路径
DEFAULT_DB_CONFIG_PATH - Static variable in class cn.hutool.db.ds.simple.SimpleDataSource
默认的数据库连接配置文件路径
DEFAULT_DELAY - Static variable in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
默认重试等待:100
DEFAULT_DELIMITER - Static variable in class cn.hutool.setting.AbsSetting
数组类型值默认分隔符
DEFAULT_GROUP - Static variable in class cn.hutool.setting.AbsSetting
默认分组
DEFAULT_HIERARCHICAL_COMPARATOR - Static variable in interface cn.hutool.core.annotation.Hierarchical
DEFAULT_INDEX_FILE_NAME - Static variable in class cn.hutool.http.server.action.RootAction
 
DEFAULT_INITIAL_CAPACITY - Static variable in class cn.hutool.core.map.MapUtil
默认初始大小
DEFAULT_INITIAL_CAPACITY - Static variable in class cn.hutool.core.map.MapWrapper
默认初始大小
DEFAULT_KEY_SIZE - Static variable in class cn.hutool.crypto.KeyUtil
默认密钥字节数
DEFAULT_KEY_SIZE - Static variable in class cn.hutool.crypto.SecureUtil
默认密钥字节数
DEFAULT_LARGE_BUFFER_SIZE - Static variable in class cn.hutool.core.io.NioUtil
默认大缓存大小 32768
DEFAULT_LOAD_FACTOR - Static variable in class cn.hutool.core.map.MapUtil
默认增长因子,当Map的size达到 容量*增长因子时,开始扩充Map
DEFAULT_LOAD_FACTOR - Static variable in class cn.hutool.core.map.MapWrapper
默认增长因子
DEFAULT_MACHINE_NUM - Static variable in class cn.hutool.bloomfilter.filter.AbstractFilter
 
DEFAULT_MAXIMUM_NESTING_DEPTH - Static variable in class cn.hutool.json.xml.ParseConfig
默认最大嵌套深度
DEFAULT_MIDDLE_BUFFER_SIZE - Static variable in class cn.hutool.core.io.NioUtil
默认中等缓存大小 16384
DEFAULT_ORDER - Static variable in class cn.hutool.core.util.ByteUtil
 
DEFAULT_PAGE_SIZE - Static variable in class cn.hutool.db.Page
 
DEFAULT_PAGE_SIZE - Static variable in class cn.hutool.db.PageResult
 
DEFAULT_PASSWORD_LENGTH - Static variable in class cn.hutool.crypto.digest.otp.HOTP
默认密码长度.
DEFAULT_PATH_SEPARATOR - Static variable in class cn.hutool.core.text.AntPathMatcher
Default path separator: "/".
DEFAULT_PORT - Static variable in class cn.hutool.extra.ftp.Ftp
默认端口
DEFAULT_PROFILE - Static variable in class cn.hutool.setting.profile.Profile
默认环境
DEFAULT_QUEUE_CAPACITY - Static variable in class cn.hutool.core.thread.ExecutorBuilder
默认的等待队列容量
DEFAULT_ROUNDING_MODE - Static variable in class cn.hutool.core.math.Money
缺省的取整模式,为RoundingMode.HALF_EVEN (四舍五入,当小数为0.5时,则取最近的偶数)。
DEFAULT_SEPARATOR - Static variable in class cn.hutool.dfa.SensitiveUtil
 
DEFAULT_SIZE - Static variable in class cn.hutool.core.lang.id.NanoId
默认长度
DEFAULT_SNOWFLAKE - Static variable in class cn.hutool.core.lang.id.IdConstants
默认的Snowflake单例,使用默认的Worker ID和数据中心ID。
传入IdConstants.DEFAULT_WORKER_IDIdConstants.DEFAULT_DATACENTER_ID作为参数。
此单例对象保证在同一JVM实例中获取ID唯一,唯一性使用进程ID和MAC地址保证。
DEFAULT_SSF - Static variable in class cn.hutool.http.ssl.DefaultSSLInfo
默认的SSLSocketFactory,区分安卓
DEFAULT_TIME_OFFSET - Static variable in class cn.hutool.core.lang.Snowflake
默认回拨时间,2S
DEFAULT_TIME_STEP - Static variable in class cn.hutool.crypto.digest.otp.TOTP
默认步进 (30秒).
DEFAULT_TRY_COUNT - Static variable in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
默认重试此时:10
DEFAULT_TWEPOCH - Static variable in class cn.hutool.core.lang.Snowflake
默认的起始时间,为Thu, 04 Nov 2010 01:42:54 GMT
DEFAULT_WINDOW_SIZE - Static variable in class cn.hutool.poi.excel.BigExcelWriter
 
DEFAULT_WORKER_ID - Static variable in class cn.hutool.core.lang.id.IdConstants
默认的Worker ID生成。
defaultCharset() - Static method in class cn.hutool.core.util.CharsetUtil
系统默认字符集编码
defaultCharset(InputStream, Charset...) - Static method in class cn.hutool.core.util.CharsetUtil
探测编码
注意:此方法会读取流的一部分,然后关闭流,如重复使用流,请使用使用支持reset方法的流
defaultCharset(int, InputStream, Charset...) - Static method in class cn.hutool.core.util.CharsetUtil
探测编码
注意:此方法会读取流的一部分,然后关闭流,如重复使用流,请使用使用支持reset方法的流
defaultCharsetName() - Static method in class cn.hutool.core.util.CharsetUtil
系统默认字符集编码
DefaultCloneable<T> - Interface in cn.hutool.core.clone
克隆默认实现接口,用于实现返回指定泛型类型的克隆方法
defaultConfig() - Static method in class cn.hutool.core.text.csv.CsvReadConfig
默认配置
defaultConfig() - Static method in class cn.hutool.core.text.csv.CsvWriteConfig
默认配置
DefaultExceptionFilter - Class in cn.hutool.http.server.filter
默认异常处理拦截器
DefaultExceptionFilter() - Constructor for class cn.hutool.http.server.filter.DefaultExceptionFilter
 
DefaultFilter - Class in cn.hutool.bloomfilter.filter
默认Bloom过滤器,使用Java自带的Hash算法
DefaultFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.DefaultFilter
 
DefaultFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.DefaultFilter
 
DefaultHMacEngine - Class in cn.hutool.crypto.digest.mac
默认的HMAC算法实现引擎,使用Mac 实现摘要
当引入BouncyCastle库时自动使用其作为Provider
DefaultHMacEngine(String, byte[]) - Constructor for class cn.hutool.crypto.digest.mac.DefaultHMacEngine
构造
DefaultHMacEngine(String, Key) - Constructor for class cn.hutool.crypto.digest.mac.DefaultHMacEngine
构造
DefaultHMacEngine(String, Key, AlgorithmParameterSpec) - Constructor for class cn.hutool.crypto.digest.mac.DefaultHMacEngine
构造
defaultIfBlank(T, T) - Static method in class cn.hutool.core.util.ObjectUtil
如果给定对象为null或者""或者空白符返回默认值
defaultIfBlank(T, Supplier<? extends T>) - Static method in class cn.hutool.core.util.ObjectUtil
如果被检查对象为 null 或 "" 或 空白字符串时,返回默认值(由 defaultValueSupplier 提供);否则直接返回
defaultIfBlank(T, Function<T, ? extends T>) - Static method in class cn.hutool.core.util.ObjectUtil
如果被检查对象为 null 或 "" 或 空白字符串时,返回默认值(由 defaultValueSupplier 提供);否则直接返回
defaultIfEmpty(T, T) - Static method in class cn.hutool.core.collection.CollUtil
如果给定集合为空,返回默认集合
defaultIfEmpty(T, Supplier<? extends T>) - Static method in class cn.hutool.core.collection.CollUtil
如果给定集合为空,返回默认集合
defaultIfEmpty(T, T) - Static method in class cn.hutool.core.map.MapUtil
如果给定Map为空,返回默认Map
defaultIfEmpty(T[], T[]) - Static method in class cn.hutool.core.util.ArrayUtil
如果给定数组为空,返回默认数组
defaultIfEmpty(String, Supplier<? extends T>, T) - Static method in class cn.hutool.core.util.ObjectUtil
Deprecated.
当str为null时,handle使用了str相关的方法引用会导致空指针问题
defaultIfEmpty(String, Function<CharSequence, ? extends T>, T) - Static method in class cn.hutool.core.util.ObjectUtil
如果给定对象为null或者""返回默认值, 否则返回自定义handle处理后的返回值
defaultIfEmpty(T, T) - Static method in class cn.hutool.core.util.ObjectUtil
如果给定对象为null或者 "" 返回默认值
defaultIfEmpty(T, Supplier<? extends T>) - Static method in class cn.hutool.core.util.ObjectUtil
如果被检查对象为 null 或 "" 时,返回默认值(由 defaultValueSupplier 提供);否则直接返回
defaultIfEmpty(T, Function<T, ? extends T>) - Static method in class cn.hutool.core.util.ObjectUtil
如果被检查对象为 null 或 "" 时,返回默认值(由 defaultValueSupplier 提供);否则直接返回
defaultIfEmpty() - Method in class cn.hutool.extra.mail.MailAccount
如果某些值为null,使用默认值
defaultIfNull(T, T) - Static method in class cn.hutool.core.util.ObjectUtil
如果给定对象为null返回默认值
defaultIfNull(T, Supplier<? extends T>) - Static method in class cn.hutool.core.util.ObjectUtil
如果被检查对象为 null, 返回默认值(由 defaultValueSupplier 提供);否则直接返回
defaultIfNull(T, Function<T, ? extends T>) - Static method in class cn.hutool.core.util.ObjectUtil
如果被检查对象为 null, 返回默认值(由 defaultValueSupplier 提供);否则直接返回
defaultIfNull(Object, Supplier<? extends T>, T) - Static method in class cn.hutool.core.util.ObjectUtil
Deprecated.
当str为null时,handle使用了str相关的方法引用会导致空指针问题
defaultIfNull(R, Function<R, ? extends T>, T) - Static method in class cn.hutool.core.util.ObjectUtil
如果给定对象为null 返回默认值, 如果不为null 返回自定义handle处理后的返回值
DefaultNodeParser<T> - Class in cn.hutool.core.lang.tree.parser
默认的简单转换器
DefaultNodeParser() - Constructor for class cn.hutool.core.lang.tree.parser.DefaultNodeParser
 
DefaultSegment<T extends Number> - Class in cn.hutool.core.lang
片段默认实现
DefaultSegment(T, T) - Constructor for class cn.hutool.core.lang.DefaultSegment
构造
DefaultSSLFactory - Class in cn.hutool.http.ssl
默认的SSLSocketFactory
DefaultSSLFactory() - Constructor for class cn.hutool.http.ssl.DefaultSSLFactory
 
DefaultSSLInfo - Class in cn.hutool.http.ssl
默认的全局SSL配置,当用户未设置相关信息时,使用默认设置,默认设置为单例模式。
DefaultSSLInfo() - Constructor for class cn.hutool.http.ssl.DefaultSSLInfo
 
DefaultTrustManager - Class in cn.hutool.core.net
默认信任管理器,默认信任所有客户端和服务端证书
继承X509ExtendedTrustManager的原因见:https://blog.csdn.net/ghaohao/article/details/79454913
DefaultTrustManager() - Constructor for class cn.hutool.core.net.DefaultTrustManager
 
Deflate - Class in cn.hutool.core.compress
Deflate算法
Deflate是同时使用了LZ77算法与哈夫曼编码(Huffman Coding)的一个无损数据压缩算法。
Deflate(InputStream, OutputStream, boolean) - Constructor for class cn.hutool.core.compress.Deflate
构造
deflater(int) - Method in class cn.hutool.core.compress.Deflate
将普通数据流压缩
dekHash(String) - Static method in class cn.hutool.core.util.HashUtil
DEK算法
del(Path) - Static method in class cn.hutool.core.io.file.PathUtil
删除文件或者文件夹,不追踪软链
注意:删除文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
del(String) - Static method in class cn.hutool.core.io.FileUtil
删除文件或者文件夹
路径如果为相对路径,会转换为ClassPath路径! 注意:删除文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
del(File) - Static method in class cn.hutool.core.io.FileUtil
删除文件或者文件夹
注意:删除文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
del(int, int) - Method in class cn.hutool.core.text.StrBuilder
删除指定长度的字符,规则如下:
del(String, String, Object) - Method in class cn.hutool.db.AbstractDb
删除数据
del(Entity) - Method in class cn.hutool.db.AbstractDb
删除数据
del() - Method in class cn.hutool.db.ActiveEntity
根据现有Entity中的条件删除与之匹配的数据库记录
del(T) - Method in class cn.hutool.db.DaoTemplate
删除
del(String, T) - Method in class cn.hutool.db.DaoTemplate
删除
del(Entity) - Method in class cn.hutool.db.DaoTemplate
删除
del(Connection, Entity) - Method in class cn.hutool.db.DialectRunner
删除数据
此方法不会关闭Connection
del(String...) - Method in class cn.hutool.db.nosql.redis.RedisDS
从Redis中删除多个值
delAll(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
删除匹配的全部内容
delAll(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
删除匹配的全部内容
delay - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
 
delay - Variable in class cn.hutool.core.img.gif.GifDecoder
 
delay() - Static method in class cn.hutool.core.swing.RobotUtil
等待指定毫秒数
DelayWatcher - Class in cn.hutool.core.io.watch.watchers
延迟观察者
使用此观察者通过定义一定的延迟时间,解决WatchService多个modify的问题
在监听目录或文件时,如果这个文件有修改操作,会多次触发modify方法。
此类通过维护一个Set将短时间内相同文件多次modify的事件合并处理触发,从而避免以上问题。
注意:延迟只针对modify事件,其它事件无效
DelayWatcher(Watcher, long) - Constructor for class cn.hutool.core.io.watch.watchers.DelayWatcher
构造
delDir(String) - Method in class cn.hutool.extra.ftp.AbstractFtp
删除文件夹及其文件夹下的所有文件
delDir(String) - Method in class cn.hutool.extra.ftp.Ftp
 
delDir(String) - Method in class cn.hutool.extra.ssh.Sftp
删除文件夹及其文件夹下的所有文件
delDir(String) - Method in class cn.hutool.extra.ssh.SshjSftp
 
DelegatedExecutorService - Class in cn.hutool.core.thread
ExecutorService代理
DelegatedExecutorService(ExecutorService) - Constructor for class cn.hutool.core.thread.DelegatedExecutorService
构造
delete() - Method in class cn.hutool.core.net.multipart.UploadFile
从磁盘或者内存中删除这个文件
delete(String) - Method in class cn.hutool.db.sql.SqlBuilder
删除
delete(String) - Static method in class cn.hutool.http.HttpRequest
DELETE请求
delFile(Path) - Static method in class cn.hutool.core.io.file.PathUtil
删除文件或空目录,不追踪软链
delFile(String) - Method in class cn.hutool.extra.ftp.AbstractFtp
删除指定目录下的指定文件
delFile(String) - Method in class cn.hutool.extra.ftp.Ftp
 
delFile(String) - Method in class cn.hutool.extra.ssh.Sftp
删除文件
delFile(String) - Method in class cn.hutool.extra.ssh.SshjSftp
 
delFirst(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
删除匹配的第一个内容
delFirst(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
删除匹配的第一个内容
DELIM_END - Static variable in interface cn.hutool.core.text.CharPool
字符常量:花括号(右) '}'
DELIM_END - Static variable in interface cn.hutool.core.text.StrPool
字符串常量:花括号(右) "}"
DELIM_START - Static variable in interface cn.hutool.core.text.CharPool
字符常量:花括号(左) '{'
DELIM_START - Static variable in interface cn.hutool.core.text.StrPool
字符串常量:花括号(左) "{"
delLast(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
删除匹配的最后一个内容
delLast(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
删除匹配的最后一个内容
delPre(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
删除正则匹配到的内容之前的字符 如果没有找到,则返回原文
delPre(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
删除正则匹配到的内容之前的字符 如果没有找到,则返回原文
delTo(int) - Method in class cn.hutool.core.text.StrBuilder
删除到指定位置
如果新位置小于等于0,则删除全部
delUser(String) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
删除用户
DelVisitor - Class in cn.hutool.core.io.file.visitor
删除操作的FileVisitor实现,用于递归遍历删除文件夹
DelVisitor() - Constructor for class cn.hutool.core.io.file.visitor.DelVisitor
 
DependencyException - Exception in cn.hutool.core.exceptions
依赖异常
DependencyException(Throwable) - Constructor for exception cn.hutool.core.exceptions.DependencyException
 
DependencyException(String) - Constructor for exception cn.hutool.core.exceptions.DependencyException
 
DependencyException(String, Object...) - Constructor for exception cn.hutool.core.exceptions.DependencyException
 
DependencyException(String, Throwable) - Constructor for exception cn.hutool.core.exceptions.DependencyException
 
DependencyException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.core.exceptions.DependencyException
 
DependencyException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.exceptions.DependencyException
 
des() - Static method in class cn.hutool.crypto.SecureUtil
DES加密,生成随机KEY。注意解密时必须使用相同 DES对象或者使用相同KEY
例:
des(byte[]) - Static method in class cn.hutool.crypto.SecureUtil
DES加密
例:
DES - Class in cn.hutool.crypto.symmetric
DES加密算法实现
DES全称为Data Encryption Standard,即数据加密标准,是一种使用密钥加密的块算法
Java中默认实现为:DES/ECB/PKCS5Padding
DES() - Constructor for class cn.hutool.crypto.symmetric.DES
构造,默认DES/ECB/PKCS5Padding,使用随机密钥
DES(byte[]) - Constructor for class cn.hutool.crypto.symmetric.DES
构造,使用默认的DES/ECB/PKCS5Padding
DES(Mode, Padding) - Constructor for class cn.hutool.crypto.symmetric.DES
构造,使用随机密钥
DES(Mode, Padding, byte[]) - Constructor for class cn.hutool.crypto.symmetric.DES
构造
DES(Mode, Padding, byte[], byte[]) - Constructor for class cn.hutool.crypto.symmetric.DES
构造
DES(Mode, Padding, SecretKey) - Constructor for class cn.hutool.crypto.symmetric.DES
构造
DES(Mode, Padding, SecretKey, IvParameterSpec) - Constructor for class cn.hutool.crypto.symmetric.DES
构造
DES(String, String) - Constructor for class cn.hutool.crypto.symmetric.DES
构造
DES(String, String, byte[]) - Constructor for class cn.hutool.crypto.symmetric.DES
构造
DES(String, String, byte[], byte[]) - Constructor for class cn.hutool.crypto.symmetric.DES
构造
DES(String, String, SecretKey) - Constructor for class cn.hutool.crypto.symmetric.DES
构造
DES(String, String, SecretKey, IvParameterSpec) - Constructor for class cn.hutool.crypto.symmetric.DES
构造
desc - Variable in class cn.hutool.cron.timingwheel.TimerTask
任务描述
descForEach(Class<?>, Consumer<? super PropDesc>) - Static method in class cn.hutool.core.bean.BeanUtil
遍历Bean的属性
deschedule(String) - Method in class cn.hutool.cron.Scheduler
移除Task
descheduleWithStatus(String) - Method in class cn.hutool.cron.Scheduler
移除Task,并返回是否移除成功
description() - Method in class cn.hutool.http.server.filter.SimpleFilter
 
desede() - Static method in class cn.hutool.crypto.SecureUtil
DESede加密(又名3DES、TripleDES),生成随机KEY。注意解密时必须使用相同 DESede对象或者使用相同KEY
Java中默认实现为:DESede/ECB/PKCS5Padding
例:
desede(byte[]) - Static method in class cn.hutool.crypto.SecureUtil
DESede加密(又名3DES、TripleDES)
Java中默认实现为:DESede/ECB/PKCS5Padding
例:
DESede - Class in cn.hutool.crypto.symmetric
DESede是由DES对称加密算法改进后的一种对称加密算法,又名3DES、TripleDES。
使用 168 位的密钥对资料进行三次加密的一种机制;它通常(但非始终)提供极其强大的安全性。
如果三个 56 位的子元素都相同,则三重 DES 向后兼容 DES。
Java中默认实现为:DESede/ECB/PKCS5Padding
DESede() - Constructor for class cn.hutool.crypto.symmetric.DESede
构造,默认DESede/ECB/PKCS5Padding,使用随机密钥
DESede(byte[]) - Constructor for class cn.hutool.crypto.symmetric.DESede
构造,使用默认的DESede/ECB/PKCS5Padding
DESede(Mode, Padding) - Constructor for class cn.hutool.crypto.symmetric.DESede
构造,使用随机密钥
DESede(Mode, Padding, byte[]) - Constructor for class cn.hutool.crypto.symmetric.DESede
构造
DESede(Mode, Padding, byte[], byte[]) - Constructor for class cn.hutool.crypto.symmetric.DESede
构造
DESede(Mode, Padding, SecretKey) - Constructor for class cn.hutool.crypto.symmetric.DESede
构造
DESede(Mode, Padding, SecretKey, IvParameterSpec) - Constructor for class cn.hutool.crypto.symmetric.DESede
构造
DESede(String, String) - Constructor for class cn.hutool.crypto.symmetric.DESede
构造
DESede(String, String, byte[]) - Constructor for class cn.hutool.crypto.symmetric.DESede
构造
DESede(String, String, byte[], byte[]) - Constructor for class cn.hutool.crypto.symmetric.DESede
构造
DESede(String, String, SecretKey) - Constructor for class cn.hutool.crypto.symmetric.DESede
构造
DESede(String, String, SecretKey, IvParameterSpec) - Constructor for class cn.hutool.crypto.symmetric.DESede
构造
desensitized(CharSequence, DesensitizedUtil.DesensitizedType) - Static method in class cn.hutool.core.text.CharSequenceUtil
脱敏,使用默认的脱敏策略
desensitized(CharSequence, DesensitizedUtil.DesensitizedType) - Static method in class cn.hutool.core.util.DesensitizedUtil
脱敏,使用默认的脱敏策略
DesensitizedUtil - Class in cn.hutool.core.util
脱敏工具类,支持以下类型信息的脱敏自动处理: 用户ID 中文名 身份证 座机号 手机号 地址 电子邮件 密码 车牌 银行卡号
DesensitizedUtil() - Constructor for class cn.hutool.core.util.DesensitizedUtil
 
DesensitizedUtil.DesensitizedType - Enum in cn.hutool.core.util
支持的脱敏类型枚举
deserialize(byte[], Class<?>...) - Static method in class cn.hutool.core.util.ObjectUtil
反序列化
对象必须实现Serializable接口
deserialize(byte[], Class<?>...) - Static method in class cn.hutool.core.util.SerializeUtil
反序列化
对象必须实现Serializable接口
deserialize(JSON) - Method in interface cn.hutool.json.serialize.JSONDeserializer
反序列化,通过实现此方法,自定义实现JSON转换为指定类型的逻辑
deserialize(JSON) - Method in class cn.hutool.json.serialize.TemporalAccessorSerializer
 
desktopPlatforms - Static variable in class cn.hutool.http.useragent.Platform
支持的桌面平台类型
DesktopUtil - Class in cn.hutool.core.swing
桌面相关工具(平台相关)
Desktop 类允许 Java 应用程序启动已在本机桌面上注册的关联应用程序,以处理 URI 或文件。
DesktopUtil() - Constructor for class cn.hutool.core.swing.DesktopUtil
 
dest - Variable in class cn.hutool.core.lang.copier.SrcToDestCopier
目标
destFile - Variable in class cn.hutool.poi.excel.ExcelBase
目标文件,如果用户读取为流或自行创建的Workbook或Sheet,此参数为null
destFile - Variable in class cn.hutool.poi.word.Word07Writer
目标文件
destroy() - Static method in class cn.hutool.core.lang.Singleton
清除所有Singleton对象
destroy(Process) - Static method in class cn.hutool.core.util.RuntimeUtil
销毁进程
destroy() - Method in class cn.hutool.db.ds.AbstractDSFactory
 
destroy() - Method in class cn.hutool.db.ds.DSFactory
销毁工厂类,关闭所有数据源
detect(File, Charset...) - Static method in class cn.hutool.core.io.CharsetDetector
探测文件编码
detect(InputStream, Charset...) - Static method in class cn.hutool.core.io.CharsetDetector
探测编码
注意:此方法会读取流的一部分,然后关闭流,如重复使用流,请使用支持reset方法的流
detect(int, InputStream, Charset...) - Static method in class cn.hutool.core.io.CharsetDetector
探测编码
注意:此方法会读取流的一部分,然后关闭流,如重复使用流,请使用支持reset方法的流
DiagnosticUtil - Class in cn.hutool.core.compiler
诊断工具类
DiagnosticUtil() - Constructor for class cn.hutool.core.compiler.DiagnosticUtil
 
Dialect - Interface in cn.hutool.db.dialect
SQL方言,不同的数据库由于在某些SQL上有所区别,故为每种数据库配置不同的方言。
由于不同数据库间SQL语句的差异,导致无法统一拼接SQL,
Dialect接口旨在根据不同的数据库,使用不同的方言实现类,来拼接对应的SQL,并将SQL和参数放入PreparedStatement中
DialectFactory - Class in cn.hutool.db.dialect
方言工厂类
dialectName() - Method in interface cn.hutool.db.dialect.Dialect
方言名
DialectName - Enum in cn.hutool.db.dialect
方言名
方言枚举列出了Hutool支持的所有数据库方言
dialectName() - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
 
dialectName() - Method in class cn.hutool.db.dialect.impl.DmDialect
 
dialectName() - Method in class cn.hutool.db.dialect.impl.H2Dialect
 
dialectName() - Method in class cn.hutool.db.dialect.impl.MysqlDialect
 
dialectName() - Method in class cn.hutool.db.dialect.impl.OracleDialect
 
dialectName() - Method in class cn.hutool.db.dialect.impl.PhoenixDialect
 
dialectName() - Method in class cn.hutool.db.dialect.impl.PostgresqlDialect
 
dialectName() - Method in class cn.hutool.db.dialect.impl.Sqlite3Dialect
 
dialectName() - Method in class cn.hutool.db.dialect.impl.SqlServer2012Dialect
 
DialectRunner - Class in cn.hutool.db
提供基于方言的原始增删改查执行封装
DialectRunner(Dialect) - Constructor for class cn.hutool.db.DialectRunner
构造
DialectRunner(String) - Constructor for class cn.hutool.db.DialectRunner
构造
Dict - Class in cn.hutool.core.lang
字典对象,扩充了HashMap中的方法
Dict() - Constructor for class cn.hutool.core.lang.Dict
构造
Dict(boolean) - Constructor for class cn.hutool.core.lang.Dict
构造
Dict(int) - Constructor for class cn.hutool.core.lang.Dict
构造
Dict(int, boolean) - Constructor for class cn.hutool.core.lang.Dict
构造
Dict(int, float) - Constructor for class cn.hutool.core.lang.Dict
构造
Dict(int, float, boolean) - Constructor for class cn.hutool.core.lang.Dict
构造
Dict(Map<String, Object>) - Constructor for class cn.hutool.core.lang.Dict
构造
digest(String, String) - Method in class cn.hutool.crypto.digest.Digester
生成文件摘要
digest(String, Charset) - Method in class cn.hutool.crypto.digest.Digester
生成文件摘要
digest(String) - Method in class cn.hutool.crypto.digest.Digester
生成文件摘要
digest(File) - Method in class cn.hutool.crypto.digest.Digester
生成文件摘要
使用默认缓存大小,见 NioUtil.DEFAULT_BUFFER_SIZE
digest(byte[]) - Method in class cn.hutool.crypto.digest.Digester
生成摘要,考虑加盐和重复摘要次数
digest(InputStream) - Method in class cn.hutool.crypto.digest.Digester
生成摘要,使用默认缓存大小,见 NioUtil.DEFAULT_BUFFER_SIZE
digest(InputStream, int) - Method in class cn.hutool.crypto.digest.Digester
生成摘要
digest(String, Charset) - Method in class cn.hutool.crypto.digest.mac.Mac
生成文件摘要
digest(String) - Method in class cn.hutool.crypto.digest.mac.Mac
生成文件摘要
digest(File) - Method in class cn.hutool.crypto.digest.mac.Mac
生成文件摘要
使用默认缓存大小,见 NioUtil.DEFAULT_BUFFER_SIZE
digest(byte[]) - Method in class cn.hutool.crypto.digest.mac.Mac
生成摘要
digest(InputStream) - Method in class cn.hutool.crypto.digest.mac.Mac
生成摘要,使用默认缓存大小,见 NioUtil.DEFAULT_BUFFER_SIZE
digest(InputStream, int) - Method in class cn.hutool.crypto.digest.mac.Mac
生成摘要
digest(InputStream, int) - Method in interface cn.hutool.crypto.digest.mac.MacEngine
生成摘要
DigestAlgorithm - Enum in cn.hutool.crypto.digest
摘要算法类型
see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#MessageDigest
digestBase64(String, boolean) - Method in class cn.hutool.crypto.digest.mac.Mac
生成文件摘要,并转为Base64
digestBase64(String, Charset, boolean) - Method in class cn.hutool.crypto.digest.mac.Mac
生成文件摘要,并转为Base64
digestCount - Variable in class cn.hutool.crypto.digest.Digester
散列次数
Digester - Class in cn.hutool.crypto.digest
摘要算法
注意:此对象实例化后为非线程安全!
Digester(DigestAlgorithm) - Constructor for class cn.hutool.crypto.digest.Digester
构造
Digester(String) - Constructor for class cn.hutool.crypto.digest.Digester
构造
Digester(DigestAlgorithm, Provider) - Constructor for class cn.hutool.crypto.digest.Digester
构造
Digester(String, Provider) - Constructor for class cn.hutool.crypto.digest.Digester
构造
Digester(MessageDigest) - Constructor for class cn.hutool.crypto.digest.Digester
构造
digester(DigestAlgorithm) - Static method in class cn.hutool.crypto.digest.DigestUtil
新建摘要器
digester(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
新建摘要器
DigesterFactory - Class in cn.hutool.crypto.digest
Digester创建简单工厂,用于生产Digester对象
参考Guava方式,工厂负责持有一个原始的MessageDigest对象,使用时优先通过clone方式创建对象,提高初始化性能。
digestHex(InputStream, int) - Method in class cn.hutool.crypto.asymmetric.Sign
生成签名,并转为16进制字符串
使用默认缓存大小,见 NioUtil.DEFAULT_BUFFER_SIZE
digestHex(String, String) - Method in class cn.hutool.crypto.digest.Digester
生成文件摘要,并转为16进制字符串
digestHex(String, Charset) - Method in class cn.hutool.crypto.digest.Digester
生成文件摘要,并转为16进制字符串
digestHex(String) - Method in class cn.hutool.crypto.digest.Digester
生成文件摘要
digestHex(File) - Method in class cn.hutool.crypto.digest.Digester
生成文件摘要,并转为16进制字符串
使用默认缓存大小,见 NioUtil.DEFAULT_BUFFER_SIZE
digestHex(byte[]) - Method in class cn.hutool.crypto.digest.Digester
生成摘要,并转为16进制字符串
digestHex(InputStream) - Method in class cn.hutool.crypto.digest.Digester
生成摘要,并转为16进制字符串
使用默认缓存大小,见 NioUtil.DEFAULT_BUFFER_SIZE
digestHex(InputStream, int) - Method in class cn.hutool.crypto.digest.Digester
生成摘要,并转为16进制字符串
使用默认缓存大小,见 NioUtil.DEFAULT_BUFFER_SIZE
digestHex(String, Charset) - Method in class cn.hutool.crypto.digest.mac.Mac
生成文件摘要,并转为16进制字符串
digestHex(String) - Method in class cn.hutool.crypto.digest.mac.Mac
生成文件摘要
digestHex(File) - Method in class cn.hutool.crypto.digest.mac.Mac
生成文件摘要,并转为16进制字符串
使用默认缓存大小,见 NioUtil.DEFAULT_BUFFER_SIZE
digestHex(byte[]) - Method in class cn.hutool.crypto.digest.mac.Mac
生成摘要,并转为16进制字符串
digestHex(InputStream) - Method in class cn.hutool.crypto.digest.mac.Mac
生成摘要,并转为16进制字符串
使用默认缓存大小,见 NioUtil.DEFAULT_BUFFER_SIZE
digestHex(InputStream, int) - Method in class cn.hutool.crypto.digest.mac.Mac
生成摘要,并转为16进制字符串
使用默认缓存大小,见 NioUtil.DEFAULT_BUFFER_SIZE
digestHex16(String, Charset) - Method in class cn.hutool.crypto.digest.MD5
生成16位MD5摘要
digestHex16(String) - Method in class cn.hutool.crypto.digest.MD5
生成16位MD5摘要
digestHex16(InputStream) - Method in class cn.hutool.crypto.digest.MD5
生成16位MD5摘要
digestHex16(File) - Method in class cn.hutool.crypto.digest.MD5
生成16位MD5摘要
digestHex16(byte[]) - Method in class cn.hutool.crypto.digest.MD5
生成16位MD5摘要
DigestUtil - Class in cn.hutool.crypto.digest
摘要算法工具类
DigestUtil() - Constructor for class cn.hutool.crypto.digest.DigestUtil
 
digit16(int) - Static method in class cn.hutool.core.util.CharUtil
获取给定字符的16进制数值
digitToChinese(Number) - Static method in class cn.hutool.core.convert.Convert
金额转为中文形式
dimension - Static variable in class cn.hutool.core.swing.ScreenUtil
 
Direction - Enum in cn.hutool.db.sql
排序方式(升序或者降序)
DIRECTLY - Static variable in interface cn.hutool.core.annotation.scanner.AnnotationScanner
扫描元素本身直接声明的注解,包括父类带有Inherited、被传递到元素上的注解的扫描器
DIRECTLY_AND_META_ANNOTATION - Static variable in interface cn.hutool.core.annotation.scanner.AnnotationScanner
扫描元素本身直接声明的注解,包括父类带有Inherited、被传递到元素上的注解,以及这些注解的元注解的扫描器
disableBouncyCastle() - Static method in class cn.hutool.crypto.SecureUtil
强制关闭Bouncy Castle库的使用,全局有效
disableCache() - Method in class cn.hutool.http.HttpConfig
禁用缓存
disableCache() - Method in class cn.hutool.http.HttpConnection
关闭缓存
disableCache() - Method in class cn.hutool.http.HttpRequest
禁用缓存
disableComment() - Method in class cn.hutool.core.text.csv.CsvConfig
设置注释无效
当写出CSV时,CsvWriter.writeComment(String)将抛出异常
当读取CSV时,注释行按照正常行读取
disableCookie() - Method in class cn.hutool.http.HttpRequest
禁用默认Cookie行为,此方法调用后会将Cookie置为空。
如果想重新启用Cookie,请调用:HttpRequest.cookie(String)方法自定义Cookie。
如果想启动默认的Cookie行为(自动回填服务器传回的Cookie),则调用HttpRequest.enableDefaultCookie()
disableDefaultDocumentBuilderFactory() - Static method in class cn.hutool.core.util.XmlUtil
禁用默认的DocumentBuilderFactory,禁用后如果有第三方的实现(如oracle的xdb包中的xmlparse),将会自动加载实现。
disableDefaultStyle() - Method in class cn.hutool.poi.excel.ExcelWriter
禁用默认样式
disableLock() - Method in class cn.hutool.core.lang.Range
禁用锁,调用此方法后不再使用锁保护
disableWrapper() - Method in class cn.hutool.db.AbstractDb
取消包装器
取消自动添加到字段名、表名上的包装符(例如双引号)
disableWrapper() - Method in class cn.hutool.db.Db
 
disableWrapper() - Method in class cn.hutool.db.Session
 
disconnect() - Method in class cn.hutool.http.HttpConnection
断开连接
disconnectQuietly() - Method in class cn.hutool.http.HttpConnection
静默断开连接。不抛出异常
disjunction(Collection<T>, Collection<T>) - Static method in class cn.hutool.core.collection.CollUtil
两个集合的差集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留两个集合中此元素个数差的个数
例如:
dispose - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
 
dispose - Variable in class cn.hutool.core.img.gif.GifDecoder
 
distinct(Collection<T>) - Static method in class cn.hutool.core.collection.CollUtil
去重集合
distinct(Collection<T>, Function<T, K>, boolean) - Static method in class cn.hutool.core.collection.CollUtil
根据函数生成的KEY去重集合,如根据Bean的某个或者某些字段完成去重。
去重可选是保留最先加入的值还是后加入的值
distinct(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
去重数组中的元素,去重后生成新的数组,原数组不变
此方法通过LinkedHashSet 去重
distinct(T[], Function<T, K>, boolean) - Static method in class cn.hutool.core.util.ArrayUtil
去重数组中的元素,去重后生成新的数组,原数组不变
此方法通过LinkedHashSet 去重
div(float, float) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
div(float, double) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
div(double, float) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
div(double, double) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
div(Double, Double) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
div(Number, Number) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
div(String, String) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
div(float, float, int) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
div(float, double, int) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
div(double, float, int) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
div(double, double, int) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
div(Double, Double, int) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
div(Number, Number, int) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
div(String, String, int) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
div(float, float, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
div(float, double, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
div(double, float, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
div(double, double, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
div(Double, Double, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
div(Number, Number, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
div(String, String, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
div(BigDecimal, BigDecimal, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
divide(double) - Method in class cn.hutool.core.math.Money
货币除法。
divide(BigDecimal) - Method in class cn.hutool.core.math.Money
货币除法。
divide(BigDecimal, RoundingMode) - Method in class cn.hutool.core.math.Money
货币除法。
divideBy(double) - Method in class cn.hutool.core.math.Money
货币累除。
divideBy(BigDecimal) - Method in class cn.hutool.core.math.Money
货币累除。
divideBy(BigDecimal, RoundingMode) - Method in class cn.hutool.core.math.Money
货币累除。
divisor(int, int) - Static method in class cn.hutool.core.util.NumberUtil
最大公约数
djbHash(String) - Static method in class cn.hutool.core.util.HashUtil
DJB算法
DmDialect - Class in cn.hutool.db.dialect.impl
达梦数据库方言
DmDialect() - Constructor for class cn.hutool.db.dialect.impl.DmDialect
 
dnone(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
DNONE(NONEwithDSA)签名器
doAction(WatchEvent<?>, Path) - Method in interface cn.hutool.core.io.watch.WatchAction
事件处理,通过实现此方法处理各种事件。 事件可以调用 WatchEvent.kind()获取,对应事件见WatchKind
doAction(HttpServerRequest, HttpServerResponse) - Method in interface cn.hutool.http.server.action.Action
处理请求
doAction(HttpServerRequest, HttpServerResponse) - Method in class cn.hutool.http.server.action.RootAction
 
doAction(AioSession, T) - Method in interface cn.hutool.socket.aio.IoAction
执行数据处理(消息读取)
doAfterAllAnalysed() - Method in interface cn.hutool.poi.excel.sax.handler.RowHandler
处理一个sheet页完成的操作
doCompare(T, T) - Method in class cn.hutool.core.comparator.NullComparator
不检查null的比较方法
用户可自行重写此方法自定义比较方式
DocUtil - Class in cn.hutool.poi.word
Word Document工具
DocUtil() - Constructor for class cn.hutool.poi.word.DocUtil
 
doFilter(HttpServerRequest, HttpServerResponse, Filter.Chain) - Method in class cn.hutool.http.server.filter.ExceptionFilter
 
doFilter(HttpServerRequest, HttpServerResponse, Filter.Chain) - Method in interface cn.hutool.http.server.filter.HttpFilter
执行过滤
doFinal() - Method in class cn.hutool.crypto.digest.mac.BCMacEngine
 
doFinal() - Method in class cn.hutool.crypto.digest.mac.DefaultHMacEngine
 
doFinal() - Method in interface cn.hutool.crypto.digest.mac.MacEngine
结束并生成摘要
doMatch(String, String, boolean, Map<String, String>) - Method in class cn.hutool.core.text.AntPathMatcher
执行匹配,判断给定的path是否匹配pattern
DOT - Static variable in interface cn.hutool.core.text.CharPool
字符常量:点 '.'
DOT - Static variable in interface cn.hutool.core.text.StrPool
字符串常量:点 "."
DOUBLE_DOT - Static variable in interface cn.hutool.core.text.StrPool
字符串常量:双点 ".."
用途:作为指向上级文件夹的路径,如:"../path"
DOUBLE_QUOTES - Static variable in interface cn.hutool.core.text.CharPool
字符常量:双引号 '"'
doubleToBytes(double) - Static method in class cn.hutool.core.util.ByteUtil
double转byte数组
默认以小端序转换
doubleToBytes(double, ByteOrder) - Static method in class cn.hutool.core.util.ByteUtil
double转byte数组
自定义端序
from: https://stackoverflow.com/questions/4485128/how-do-i-convert-long-to-byte-and-back-in-java
doubleValue() - Method in class cn.hutool.core.convert.NumberWithFormat
 
doubleValue() - Method in class cn.hutool.core.lang.hash.Number128
 
doubleValue() - Method in class cn.hutool.core.lang.mutable.MutableByte
 
doubleValue() - Method in class cn.hutool.core.lang.mutable.MutableDouble
 
doubleValue() - Method in class cn.hutool.core.lang.mutable.MutableFloat
 
doubleValue() - Method in class cn.hutool.core.lang.mutable.MutableInt
 
doubleValue() - Method in class cn.hutool.core.lang.mutable.MutableLong
 
doubleValue() - Method in class cn.hutool.core.lang.mutable.MutableShort
 
download(String, File) - Method in class cn.hutool.extra.ftp.AbstractFtp
下载文件
download(String, File, String) - Method in class cn.hutool.extra.ftp.AbstractFtp
下载文件-避免未完成的文件
来自:https://gitee.com/dromara/hutool/pulls/407
此方法原理是先在目标文件同级目录下创建临时文件,下载之,等下载完毕后重命名,避免因下载错误导致的文件不完整。
download(String, File) - Method in class cn.hutool.extra.ftp.Ftp
下载文件
download(String, String, File) - Method in class cn.hutool.extra.ftp.Ftp
下载文件
download(String, String, OutputStream) - Method in class cn.hutool.extra.ftp.Ftp
下载文件到输出流
download(String, String, OutputStream, Charset) - Method in class cn.hutool.extra.ftp.Ftp
下载文件到输出流
download(String, File) - Method in class cn.hutool.extra.ssh.Sftp
 
download(String, OutputStream) - Method in class cn.hutool.extra.ssh.Sftp
下载文件到OutputStream
download(String, File) - Method in class cn.hutool.extra.ssh.SshjSftp
 
download(String, OutputStream, boolean, StreamProgress) - Static method in class cn.hutool.http.HttpDownloader
下载远程文件
download(String, OutputStream, boolean) - Static method in class cn.hutool.http.HttpUtil
下载远程文件
download(String, OutputStream, boolean, StreamProgress) - Static method in class cn.hutool.http.HttpUtil
下载远程文件
downloadBytes(String) - Static method in class cn.hutool.http.HttpDownloader
下载远程文件数据,支持30x跳转
downloadBytes(String, int) - Static method in class cn.hutool.http.HttpDownloader
下载远程文件数据,支持30x跳转
downloadBytes(String) - Static method in class cn.hutool.http.HttpUtil
下载远程文件数据,支持30x跳转
downloadFile(String, File, int, StreamProgress) - Static method in class cn.hutool.http.HttpDownloader
下载远程文件
downloadFile(String, File, String, int, StreamProgress) - Static method in class cn.hutool.http.HttpDownloader
下载文件-避免未完成的文件
来自:https://gitee.com/dromara/hutool/pulls/407
此方法原理是先在目标文件同级目录下创建临时文件,下载之,等下载完毕后重命名,避免因下载错误导致的文件不完整。
downloadFile(String, String) - Static method in class cn.hutool.http.HttpUtil
下载远程文件
downloadFile(String, File) - Static method in class cn.hutool.http.HttpUtil
下载远程文件
downloadFile(String, File, int) - Static method in class cn.hutool.http.HttpUtil
下载远程文件
downloadFile(String, File, StreamProgress) - Static method in class cn.hutool.http.HttpUtil
下载远程文件
downloadFile(String, File, int, StreamProgress) - Static method in class cn.hutool.http.HttpUtil
下载远程文件
downloadFileFromUrl(String, String) - Static method in class cn.hutool.http.HttpUtil
下载远程文件
downloadFileFromUrl(String, File) - Static method in class cn.hutool.http.HttpUtil
下载远程文件
downloadFileFromUrl(String, File, int) - Static method in class cn.hutool.http.HttpUtil
下载远程文件
downloadFileFromUrl(String, File, StreamProgress) - Static method in class cn.hutool.http.HttpUtil
下载远程文件
downloadFileFromUrl(String, File, int, StreamProgress) - Static method in class cn.hutool.http.HttpUtil
下载远程文件
downloadForFile(String, File, int, StreamProgress) - Static method in class cn.hutool.http.HttpDownloader
下载远程文件,返回文件
downloadString(String, Charset, StreamProgress) - Static method in class cn.hutool.http.HttpDownloader
下载远程文本
downloadString(String, String) - Static method in class cn.hutool.http.HttpUtil
下载远程文本
downloadString(String, Charset) - Static method in class cn.hutool.http.HttpUtil
下载远程文本
downloadString(String, Charset, StreamProgress) - Static method in class cn.hutool.http.HttpUtil
下载远程文本
drawImg(Graphics, Image, Point) - Static method in class cn.hutool.core.img.GraphicsUtil
绘制图片
drawImg(Graphics, Image, Rectangle) - Static method in class cn.hutool.core.img.GraphicsUtil
绘制图片
drawString(Graphics, String, Font, Color, int, int) - Static method in class cn.hutool.core.img.GraphicsUtil
绘制字符串,默认抗锯齿
drawString(Graphics, String, Font, Color, Rectangle) - Static method in class cn.hutool.core.img.GraphicsUtil
绘制字符串,默认抗锯齿。
此方法定义一个矩形区域和坐标,文字基于这个区域中间偏移x,y绘制。
drawString(Graphics, String, Font, Color, Point) - Static method in class cn.hutool.core.img.GraphicsUtil
绘制字符串,默认抗锯齿
drawStringColourful(Graphics, String, Font, int, int) - Static method in class cn.hutool.core.img.GraphicsUtil
绘制字符串,使用随机颜色,默认抗锯齿
DRIVER_CLICK_HOUSE - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 ClickHouse
DRIVER_DB2 - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 DB2
DRIVER_DERBY - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 Derby
DRIVER_DM7 - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 达梦7
DRIVER_GAUSS - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 华为高斯
DRIVER_GBASE - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 南大通用
DRIVER_H2 - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 H2
DRIVER_HIGHGO - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 瀚高数据库
DRIVER_HIVE - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 Hive
DRIVER_HIVE2 - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 Hive2
DRIVER_HSQLDB - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 HSQLDB
DRIVER_IGNITE_THIN - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 Ignite thin
DRIVER_KINGBASE8 - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 人大金仓
DRIVER_MARIADB - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 MariaDB
DRIVER_MYSQL - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 MySQL
DRIVER_MYSQL_V6 - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 MySQL,在6.X版本中变动驱动类名,且使用SPI机制
DRIVER_OCEANBASE - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 Oceanbase
DRIVER_OPENGAUSS - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 OpenGauss
DRIVER_ORACLE - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 Oracle
DRIVER_ORACLE_OLD - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 Oracle,旧版使用
DRIVER_OSCAR - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 神州数据库
DRIVER_PHOENIX - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 Apache Phoenix
DRIVER_POSTGRESQL - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 PostgreSQL
DRIVER_SQLLITE3 - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 SQLLite3
DRIVER_SQLSERVER - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 SQLServer
DRIVER_SYBASE - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 Sybase
DRIVER_XUGU - Static variable in interface cn.hutool.db.dialect.DriverNamePool
JDBC 驱动 虚谷数据库
DriverNamePool - Interface in cn.hutool.db.dialect
常用数据库驱动池
DriverUtil - Class in cn.hutool.db.dialect
驱动相关工具类,包括自动获取驱动类名
DriverUtil() - Constructor for class cn.hutool.db.dialect.DriverUtil
 
DruidDSFactory - Class in cn.hutool.db.ds.druid
Druid数据源工厂类
DruidDSFactory() - Constructor for class cn.hutool.db.ds.druid.DruidDSFactory
构造,使用默认配置文件
DruidDSFactory(Setting) - Constructor for class cn.hutool.db.ds.druid.DruidDSFactory
构造
ds - Variable in class cn.hutool.db.AbstractDb
 
DS_NAME - Static variable in class cn.hutool.db.ds.bee.BeeDSFactory
 
DS_NAME - Static variable in class cn.hutool.db.ds.c3p0.C3p0DSFactory
 
DS_NAME - Static variable in class cn.hutool.db.ds.dbcp.DbcpDSFactory
 
DS_NAME - Static variable in class cn.hutool.db.ds.druid.DruidDSFactory
 
DS_NAME - Static variable in class cn.hutool.db.ds.hikari.HikariDSFactory
 
DS_NAME - Static variable in class cn.hutool.db.ds.jndi.JndiDSFactory
 
DS_NAME - Static variable in class cn.hutool.db.ds.pooled.PooledDSFactory
 
DS_NAME - Static variable in class cn.hutool.db.ds.simple.SimpleDSFactory
 
DS_NAME - Static variable in class cn.hutool.db.ds.tomcat.TomcatDSFactory
 
DSFactory - Class in cn.hutool.db.ds
抽象数据源工厂类
通过实现DSFactory.getDataSource(String) 方法实现数据源的获取
如果DataSource 的实现是数据库连接池库,应该在getDataSource调用时创建数据源并缓存
DSFactory(String) - Constructor for class cn.hutool.db.ds.DSFactory
构造
dsha1(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
DSHA1(SHA1withDSA)签名器
dump() - Method in class cn.hutool.core.math.Money
生成本对象内部变量的字符串表示,用于调试。
dump(Object, Writer) - Static method in class cn.hutool.setting.yaml.YamlUtil
将Bean对象或者Map写出到Writer
dump(Object, Writer, DumperOptions) - Static method in class cn.hutool.setting.yaml.YamlUtil
将Bean对象或者Map写出到Writer
dumpSystemInfo() - Static method in class cn.hutool.system.SystemUtil
将系统信息输出到System.out中。
dumpSystemInfo(PrintWriter) - Static method in class cn.hutool.system.SystemUtil
将系统信息输出到指定PrintWriter中。
DurationConverter - Class in cn.hutool.core.convert.impl
Duration对象转换器
DurationConverter() - Constructor for class cn.hutool.core.convert.impl.DurationConverter
 
DynaBean - Class in cn.hutool.core.bean
动态Bean,通过反射对Bean的相关方法做操作
支持Map和普通Bean
DynaBean(Class<?>, Object...) - Constructor for class cn.hutool.core.bean.DynaBean
构造
DynaBean(Class<?>) - Constructor for class cn.hutool.core.bean.DynaBean
构造
DynaBean(Object) - Constructor for class cn.hutool.core.bean.DynaBean
构造
DynaBeanValueProvider - Class in cn.hutool.core.bean.copier.provider
DynaBean值提供者
DynaBeanValueProvider(DynaBean, boolean) - Constructor for class cn.hutool.core.bean.copier.provider.DynaBeanValueProvider
构造

E

ECIES - Class in cn.hutool.crypto.asymmetric
ECIES(集成加密方案,elliptic curve integrate encrypt scheme)
ECIES() - Constructor for class cn.hutool.crypto.asymmetric.ECIES
构造,生成新的私钥公钥对
ECIES(String) - Constructor for class cn.hutool.crypto.asymmetric.ECIES
构造,生成新的私钥公钥对
ECIES(String, String) - Constructor for class cn.hutool.crypto.asymmetric.ECIES
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
ECIES(String, String, String) - Constructor for class cn.hutool.crypto.asymmetric.ECIES
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
ECIES(byte[], byte[]) - Constructor for class cn.hutool.crypto.asymmetric.ECIES
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
ECIES(PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.ECIES
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
ECIES(String, PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.ECIES
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
ECKeyUtil - Class in cn.hutool.crypto
EC密钥参数相关工具类封装
ECKeyUtil() - Constructor for class cn.hutool.crypto.ECKeyUtil
 
edit(T, Editor<Field>) - Static method in class cn.hutool.core.bean.BeanUtil
编辑Bean的字段,static字段不会处理
例如需要对指定的字段做判空操作、null转""操作等等。
edit(Collection<T>, Editor<T>) - Static method in class cn.hutool.core.collection.CollUtil
编辑,此方法产生一个新集合
编辑过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
edit(Iterable<T>, Editor<T>) - Static method in class cn.hutool.core.collection.IterUtil
编辑,此方法产生一个新ArrayList
编辑过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
edit(T) - Method in interface cn.hutool.core.lang.Editor
修改过滤后的结果
edit(Map<K, V>, Editor<Map.Entry<K, V>>) - Static method in class cn.hutool.core.map.MapUtil
编辑Map
编辑过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
edit(File) - Static method in class cn.hutool.core.swing.DesktopUtil
启动关联编辑器应用程序并打开用于编辑的文件
edit(T[], Editor<T>) - Static method in class cn.hutool.core.util.ArrayUtil
编辑数组
编辑过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
edit(Cell, Object) - Method in interface cn.hutool.poi.excel.cell.CellEditor
编辑,根据单元格信息处理结果值,返回处理后的结果
edit(Cell, Object) - Method in class cn.hutool.poi.excel.editors.NumericToIntEditor
 
edit(Cell, Object) - Method in class cn.hutool.poi.excel.editors.TrimEditor
 
editable - Variable in class cn.hutool.core.bean.copier.CopyOptions
限制的类或接口,必须为目标对象的实现接口或父类,用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
如果目标对象是Map,源对象是Bean,则作用于源对象上
editFieldName(String) - Method in class cn.hutool.core.bean.copier.CopyOptions
转换字段名为编辑后的字段名
editFieldValue(String, Object) - Method in class cn.hutool.core.bean.copier.CopyOptions
编辑字段值
Editor<T> - Interface in cn.hutool.core.lang
编辑器接口,常用于对于集合中的元素做统一编辑
此编辑器两个作用:
ElementAnnotationScanner - Class in cn.hutool.core.annotation.scanner
扫描AnnotatedElement上的注解,不支持处理层级对象
ElementAnnotationScanner() - Constructor for class cn.hutool.core.annotation.scanner.ElementAnnotationScanner
 
ElementName - Enum in cn.hutool.poi.excel.sax
标签名枚举
elementText(Element, String) - Static method in class cn.hutool.core.util.XmlUtil
根据节点名获得第一个子节点
elementText(Element, String, String) - Static method in class cn.hutool.core.util.XmlUtil
根据节点名获得第一个子节点
ELFFilter - Class in cn.hutool.bloomfilter.filter
 
ELFFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.ELFFilter
 
ELFFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.ELFFilter
 
elfHash(String) - Static method in class cn.hutool.core.util.HashUtil
ELF算法
EllipticCurveJWTSigner - Class in cn.hutool.jwt.signers
椭圆曲线(Elliptic Curve)的JWT签名器。
按照https://datatracker.ietf.org/doc/html/rfc7518#section-3.4,
Elliptic Curve Digital Signature Algorithm (ECDSA)算法签名需要转换DER格式为pair (R, S)
EllipticCurveJWTSigner(String, Key) - Constructor for class cn.hutool.jwt.signers.EllipticCurveJWTSigner
构造
EllipticCurveJWTSigner(String, KeyPair) - Constructor for class cn.hutool.jwt.signers.EllipticCurveJWTSigner
构造
EMAIL - Static variable in class cn.hutool.core.lang.PatternPool
邮件,符合RFC 5322规范,正则来自:http://emailregex.com/
https://stackoverflow.com/questions/386294/what-is-the-maximum-length-of-a-valid-email-address/44317754 注意email 要宽松一点。比如 jetz.chong@hutool.cn、jetz-chong@ hutool.cn、jetz_chong@hutool.cn、dazhi.duan@hutool.cn 宽松一点把,都算是正常的邮箱
EMAIL - Static variable in interface cn.hutool.core.lang.RegexPool
邮件,符合RFC 5322规范,正则来自:http://emailregex.com/ What is the maximum length of a valid email address? https://stackoverflow.com/questions/386294/what-is-the-maximum-length-of-a-valid-email-address/44317754 注意email 要宽松一点。比如 jetz.chong@hutool.cn、jetz-chong@ hutool.cn、jetz_chong@hutool.cn、dazhi.duan@hutool.cn 宽松一点把,都算是正常的邮箱
EMAIL - Static variable in class cn.hutool.core.lang.Validator
邮件
email(String) - Static method in class cn.hutool.core.util.DesensitizedUtil
【电子邮箱】邮箱前缀仅显示第一个字母,前缀其他隐藏,用星号代替,@及后面的地址显示,比如:d**@126.com
EMAIL_WITH_CHINESE - Static variable in class cn.hutool.core.lang.PatternPool
规则同EMAIL,添加了对中文的支持
EMAIL_WITH_CHINESE - Static variable in interface cn.hutool.core.lang.RegexPool
规则同EMAIL,添加了对中文的支持
EMAIL_WITH_CHINESE - Static variable in class cn.hutool.core.lang.Validator
邮件(包含中文)
EmojiUtil - Class in cn.hutool.extra.emoji
基于https://github.com/vdurmont/emoji-java的Emoji表情工具类
EmojiUtil() - Constructor for class cn.hutool.extra.emoji.EmojiUtil
 
empty(Class<?>) - Static method in class cn.hutool.core.collection.CollUtil
根据给定的集合类型,返回对应的空集合,支持类型包括: *
empty() - Static method in class cn.hutool.core.collection.IterUtil
返回一个空Iterator
empty() - Static method in class cn.hutool.core.collection.ListUtil
获取一个空List,这个空List不可变
empty() - Static method in class cn.hutool.core.lang.Opt
返回一个空的Opt
empty() - Static method in class cn.hutool.core.map.MapUtil
返回一个空Map
empty(Class<?>) - Static method in class cn.hutool.core.map.MapUtil
根据传入的Map类型不同,返回对应类型的空Map,支持类型包括:
EMPTY - Static variable in class cn.hutool.core.text.CharSequenceUtil
字符串常量:空字符串 ""
EMPTY_JSON - Static variable in interface cn.hutool.core.text.StrPool
字符串常量:空 JSON "{}"
EmptyAnnotationScanner - Class in cn.hutool.core.annotation.scanner
默认不扫描任何元素的扫描器
EmptyAnnotationScanner() - Constructor for class cn.hutool.core.annotation.scanner.EmptyAnnotationScanner
 
emptyCount(Object...) - Static method in class cn.hutool.core.util.ArrayUtil
计算null或空元素对象的个数,通过ObjectUtil.isEmpty(Object) 判断元素
emptyCount(Object...) - Static method in class cn.hutool.core.util.ObjectUtil
存在多少个null或空对象,通过ObjectUtil.isEmpty(Object) 判断元素
emptyIfNull(Set<T>) - Static method in class cn.hutool.core.collection.CollUtil
如果提供的集合为null,返回一个不可变的默认空集合,否则返回原集合
空集合使用Collections.emptySet()
emptyIfNull(List<T>) - Static method in class cn.hutool.core.collection.CollUtil
如果提供的集合为null,返回一个不可变的默认空集合,否则返回原集合
空集合使用Collections.emptyList()
emptyIfNull(Map<K, V>) - Static method in class cn.hutool.core.map.MapUtil
如果提供的集合为null,返回一个不可变的默认空集合,否则返回原集合
空集合使用Collections.emptyMap()
emptyIfNull(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
当给定字符串为null时,转换为Empty
emptyToDefault(CharSequence, String) - Static method in class cn.hutool.core.text.CharSequenceUtil
如果字符串是null或者"",则返回指定默认字符串,否则返回字符串本身。
emptyToNull(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
当给定字符串为空字符串时,转换为null
enableDefaultCookie() - Method in class cn.hutool.http.HttpRequest
打开默认的Cookie行为(自动回填服务器传回的Cookie)
EnableSpringUtil - Annotation Type in cn.hutool.extra.spring
启用SpringUtil, 即注入SpringUtil到容器中
encode(byte[]) - Method in class cn.hutool.core.codec.Base16Codec
 
encode(byte[]) - Static method in class cn.hutool.core.codec.Base32
编码
encode(String) - Static method in class cn.hutool.core.codec.Base32
base32编码
encode(String, Charset) - Static method in class cn.hutool.core.codec.Base32
base32编码
encode(byte[]) - Method in class cn.hutool.core.codec.Base32Codec.Base32Encoder
 
encode(byte[]) - Method in class cn.hutool.core.codec.Base32Codec
 
encode(byte[], boolean) - Method in class cn.hutool.core.codec.Base32Codec
编码数据
encode(byte[]) - Static method in class cn.hutool.core.codec.Base58
Base58编码
encode(byte[]) - Method in class cn.hutool.core.codec.Base58Codec.Base58Encoder
 
encode(byte[]) - Method in class cn.hutool.core.codec.Base58Codec
Base58编码
encode(CharSequence) - Static method in class cn.hutool.core.codec.Base62
Base62编码
encode(CharSequence, Charset) - Static method in class cn.hutool.core.codec.Base62
Base62编码
encode(byte[]) - Static method in class cn.hutool.core.codec.Base62
Base62编码
encode(InputStream) - Static method in class cn.hutool.core.codec.Base62
Base62编码
encode(File) - Static method in class cn.hutool.core.codec.Base62
Base62编码
encode(byte[]) - Method in class cn.hutool.core.codec.Base62Codec.Base62Encoder
 
encode(byte[]) - Method in class cn.hutool.core.codec.Base62Codec
编码指定消息bytes为Base62格式的bytes
encode(byte[], boolean) - Method in class cn.hutool.core.codec.Base62Codec
编码指定消息bytes为Base62格式的bytes
encode(byte[], boolean) - Static method in class cn.hutool.core.codec.Base64
编码为Base64,非URL安全的
encode(CharSequence) - Static method in class cn.hutool.core.codec.Base64
base64编码
encode(CharSequence, String) - Static method in class cn.hutool.core.codec.Base64
base64编码
encode(CharSequence, Charset) - Static method in class cn.hutool.core.codec.Base64
base64编码
encode(byte[]) - Static method in class cn.hutool.core.codec.Base64
base64编码
encode(InputStream) - Static method in class cn.hutool.core.codec.Base64
base64编码
encode(File) - Static method in class cn.hutool.core.codec.Base64
base64编码
encode(byte[], boolean, boolean) - Static method in class cn.hutool.core.codec.Base64
编码为Base64
如果isMultiLine为true,则每76个字符一个换行符,否则在一行显示
encode(byte[], boolean) - Static method in class cn.hutool.core.codec.Base64Encoder
编码为Base64,非URL安全的
encode(CharSequence) - Static method in class cn.hutool.core.codec.Base64Encoder
base64编码
encode(CharSequence, Charset) - Static method in class cn.hutool.core.codec.Base64Encoder
base64编码
encode(byte[]) - Static method in class cn.hutool.core.codec.Base64Encoder
base64编码
encode(byte[], boolean, boolean) - Static method in class cn.hutool.core.codec.Base64Encoder
编码为Base64
如果isMultiLine为true,则每76个字符一个换行符,否则在一行显示
encode(String, int) - Static method in class cn.hutool.core.codec.Caesar
传入明文,加密得到密文
encode(T) - Method in interface cn.hutool.core.codec.Encoder
执行编码
encode(long...) - Method in class cn.hutool.core.codec.Hashids
编码给定的数字数组
encode(String) - Method in class cn.hutool.core.codec.Morse
编码
encode(CharSequence, Charset, char...) - Method in class cn.hutool.core.codec.PercentCodec
将URL中的字符串编码为%形式
encode(CharSequence) - Static method in class cn.hutool.core.codec.PunyCode
将内容编码为PunyCode
encode(CharSequence, boolean) - Static method in class cn.hutool.core.codec.PunyCode
将内容编码为PunyCode
encode(String, int, boolean) - Static method in class cn.hutool.core.codec.Rot
RotN编码
encode(Object...) - Static method in class cn.hutool.core.lang.ansi.AnsiEncoder
创建ANSI字符串,参数中的AnsiElement会被转换为编码形式。
encode(String, Charset) - Method in class cn.hutool.core.net.URLEncoder
Deprecated.
将URL中的字符串编码为%形式
encode(String) - Static method in class cn.hutool.core.net.URLEncodeUtil
编码URL,默认使用UTF-8编码
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
此方法用于URL自动编码,类似于浏览器中键入地址自动编码,对于像类似于“/”的字符不再编码
encode(String, Charset) - Static method in class cn.hutool.core.net.URLEncodeUtil
编码字符为 application/x-www-form-urlencoded
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
此方法用于URL自动编码,类似于浏览器中键入地址自动编码,对于像类似于“/”的字符不再编码
encode(String, int) - Static method in class cn.hutool.core.util.RadixUtil
把一个整型数值转换成自己定义的进制 长度即进制
encode("AB",10) 51转换成2进制,A=0;B=1 。 二进制1010,结果 BABA encode("VIP",21) 21转换成3进制,V=0;I=1;P=2 ,三进制210 ,得到结果PIV
encode(String, long) - Static method in class cn.hutool.core.util.RadixUtil
把一个长整型数值转换成自己定义的进制
encode(String, ASN1Encodable...) - Static method in class cn.hutool.crypto.ASN1Util
编码为指定ASN1格式
encode(String, int, int) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
将文本内容编码为二维码
encode(String, QrConfig) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
将文本内容编码为二维码
encode(String, BarcodeFormat, int, int) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
将文本内容编码为条形码或二维码
encode(String, BarcodeFormat, QrConfig) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
将文本内容编码为条形码或二维码
encode(AioSession, ByteBuffer, T) - Method in interface cn.hutool.socket.protocol.MsgEncoder
编码数据用于写出
encode13(String) - Static method in class cn.hutool.core.codec.Rot
Rot-13编码,同时编码数字
encode13(String, boolean) - Static method in class cn.hutool.core.codec.Rot
Rot-13编码
encodeAll(String) - Static method in class cn.hutool.core.net.URLEncodeUtil
编码URL,默认使用UTF-8编码
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
encodeAll(String, Charset) - Static method in class cn.hutool.core.net.URLEncodeUtil
编码URL
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
encodeBlank(CharSequence) - Static method in class cn.hutool.core.util.URLUtil
单独编码URL中的空白符,空白符编码为%20
encodeChecked(Integer, byte[]) - Static method in class cn.hutool.core.codec.Base58
Base58编码
包含版本位和校验位
encodeColor(Color) - Static method in class cn.hutool.core.util.HexUtil
Color编码为Hex形式
encodeColor(Color, String) - Static method in class cn.hutool.core.util.HexUtil
Color编码为Hex形式
encodeDer(ASN1Encodable...) - Static method in class cn.hutool.crypto.ASN1Util
编码为DER格式
encodeDomain(String) - Static method in class cn.hutool.core.codec.PunyCode
punycode转码域名
encodeECPrivateKey(PrivateKey) - Static method in class cn.hutool.crypto.BCUtil
只获取私钥里的d,32字节
encodeECPublicKey(PublicKey) - Static method in class cn.hutool.crypto.BCUtil
编码压缩EC公钥(基于BouncyCastle),即Q值
见:https://www.cnblogs.com/xinzhao/p/8963724.html
encodeECPublicKey(PublicKey, boolean) - Static method in class cn.hutool.crypto.BCUtil
编码压缩EC公钥(基于BouncyCastle),即Q值
见:https://www.cnblogs.com/xinzhao/p/8963724.html
encodeECPublicKey(PublicKey) - Static method in class cn.hutool.crypto.KeyUtil
编码压缩EC公钥(基于BouncyCastle)
见:https://www.cnblogs.com/xinzhao/p/8963724.html
encodeFragment(String) - Static method in class cn.hutool.core.net.URLEncodeUtil
编码URL,默认使用UTF-8编码
URL的Fragment URLEncoder
默认的编码器针对Fragment,定义如下:
encodeFragment(String, Charset) - Static method in class cn.hutool.core.net.URLEncodeUtil
URL的Fragment URLEncoder
默认的编码器针对Fragment,定义如下:
encodeFromHex(String) - Method in class cn.hutool.core.codec.Hashids
编码给定的16进制数字
encodeHex(byte[]) - Static method in class cn.hutool.core.codec.Base32
编码
encodeHex(String) - Static method in class cn.hutool.core.codec.Base32
base32编码(Hex模式)
encodeHex(String, Charset) - Static method in class cn.hutool.core.codec.Base32
base32编码(Hex模式)
encodeHex(byte[]) - Static method in class cn.hutool.core.util.HexUtil
将字节数组转换为十六进制字符数组
encodeHex(String, Charset) - Static method in class cn.hutool.core.util.HexUtil
将字节数组转换为十六进制字符数组
encodeHex(byte[], boolean) - Static method in class cn.hutool.core.util.HexUtil
将字节数组转换为十六进制字符数组
encodeHexStr(byte[]) - Static method in class cn.hutool.core.util.HexUtil
将字节数组转换为十六进制字符串
encodeHexStr(String, Charset) - Static method in class cn.hutool.core.util.HexUtil
将字符串转换为十六进制字符串,结果为小写
encodeHexStr(String) - Static method in class cn.hutool.core.util.HexUtil
将字符串转换为十六进制字符串,结果为小写,默认编码是UTF-8
encodeHexStr(byte[], boolean) - Static method in class cn.hutool.core.util.HexUtil
将字节数组转换为十六进制字符串
encodeInverted(CharSequence) - Static method in class cn.hutool.core.codec.Base62
Base62编码(反转字母表模式)
encodeInverted(CharSequence, Charset) - Static method in class cn.hutool.core.codec.Base62
Base62编码(反转字母表模式)
encodeInverted(byte[]) - Static method in class cn.hutool.core.codec.Base62
Base62编码(反转字母表模式)
encodeInverted(InputStream) - Static method in class cn.hutool.core.codec.Base62
Base62编码
encodeInverted(File) - Static method in class cn.hutool.core.codec.Base62
Base62编码(反转字母表模式)
encodeParams(String, Charset) - Static method in class cn.hutool.http.HttpUtil
对URL参数做编码,只编码键和值
提供的值可以是url附带参数,但是不能只是url
encodePathSegment(String) - Static method in class cn.hutool.core.net.URLEncodeUtil
编码URL,默认使用UTF-8编码
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
此方法用于URL的Segment中自动编码,转义大部分特殊字符
encodePathSegment(String, Charset) - Static method in class cn.hutool.core.net.URLEncodeUtil
编码字符为URL中查询语句
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
此方法用于URL的Segment中自动编码,转义大部分特殊字符
encodeQuery(String) - Static method in class cn.hutool.core.net.URLEncodeUtil
编码URL,默认使用UTF-8编码
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
此方法用于POST请求中的请求体自动编码,转义大部分特殊字符
encodeQuery(String, Charset) - Static method in class cn.hutool.core.net.URLEncodeUtil
编码字符为URL中查询语句
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
此方法用于POST请求中的请求体自动编码,转义大部分特殊字符
ENCODER - Static variable in class cn.hutool.core.codec.Base32Codec.Base32Encoder
 
ENCODER - Static variable in class cn.hutool.core.codec.Base58Codec.Base58Encoder
 
Encoder<T,R> - Interface in cn.hutool.core.codec
编码接口
encodeStr(byte[], boolean, boolean) - Static method in class cn.hutool.core.codec.Base64
编码为Base64字符串
如果isMultiLine为true,则每76个字符一个换行符,否则在一行显示
encodeStr(byte[], boolean, boolean) - Static method in class cn.hutool.core.codec.Base64Encoder
编码为Base64字符串
如果isMultiLine为true,则每76个字符一个换行符,否则在一行显示
encodeText(String, Charset) - Static method in class cn.hutool.extra.mail.InternalMailUtil
编码中文字符
编码失败返回原字符串
encodeTo(String, OutputStream, ASN1Encodable...) - Static method in class cn.hutool.crypto.ASN1Util
编码为指定ASN1格式
encodeUrlSafe(byte[], boolean) - Static method in class cn.hutool.core.codec.Base64
Deprecated.
按照RFC2045规范,URL安全的Base64无需换行
encodeUrlSafe(CharSequence) - Static method in class cn.hutool.core.codec.Base64
base64编码,URL安全
encodeUrlSafe(CharSequence, String) - Static method in class cn.hutool.core.codec.Base64
encodeUrlSafe(CharSequence, Charset) - Static method in class cn.hutool.core.codec.Base64
base64编码,URL安全的
encodeUrlSafe(byte[]) - Static method in class cn.hutool.core.codec.Base64
base64编码,URL安全的
encodeUrlSafe(InputStream) - Static method in class cn.hutool.core.codec.Base64
base64编码,URL安全的
encodeUrlSafe(File) - Static method in class cn.hutool.core.codec.Base64
base64编码,URL安全的
encodeUrlSafe(byte[], boolean) - Static method in class cn.hutool.core.codec.Base64Encoder
编码为Base64,URL安全的
encodeUrlSafe(CharSequence) - Static method in class cn.hutool.core.codec.Base64Encoder
base64编码,URL安全
encodeUrlSafe(CharSequence, Charset) - Static method in class cn.hutool.core.codec.Base64Encoder
base64编码,URL安全的
encodeUrlSafe(byte[]) - Static method in class cn.hutool.core.codec.Base64Encoder
base64编码,URL安全的
encodeWithoutPadding(CharSequence, String) - Static method in class cn.hutool.core.codec.Base64
base64编码,不进行padding(末尾不会填充'=')
encodeWithoutPadding(byte[]) - Static method in class cn.hutool.core.codec.Base64
base64编码,不进行padding(末尾不会填充'=')
encrypt(byte[], KeyType) - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
 
encrypt(byte[], KeyType) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricEncryptor
加密
encrypt(String, String, KeyType) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricEncryptor
加密
encrypt(String, Charset, KeyType) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricEncryptor
加密
encrypt(String, KeyType) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricEncryptor
加密,使用UTF-8编码
encrypt(InputStream, KeyType) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricEncryptor
加密
encrypt(byte[], KeyType) - Method in class cn.hutool.crypto.asymmetric.RSA
 
encrypt(byte[]) - Method in class cn.hutool.crypto.asymmetric.SM2
使用公钥加密,SM2非对称加密的结果由C1,C3,C2三部分组成,其中:
encrypt(byte[], KeyType) - Method in class cn.hutool.crypto.asymmetric.SM2
加密,SM2非对称加密的结果由C1,C3,C2三部分组成,其中:
encrypt(byte[], CipherParameters) - Method in class cn.hutool.crypto.asymmetric.SM2
加密,SM2非对称加密的结果由C1,C2,C3三部分组成,其中:
encrypt(String) - Method in class cn.hutool.crypto.symmetric.fpe.FPE
加密
encrypt(char[]) - Method in class cn.hutool.crypto.symmetric.fpe.FPE
加密
encrypt(char[], byte[]) - Method in class cn.hutool.crypto.symmetric.PBKDF2
加密
encrypt(String, Charset) - Method in class cn.hutool.crypto.symmetric.RC4
加密
encrypt(String) - Method in class cn.hutool.crypto.symmetric.RC4
加密,使用默认编码:UTF-8
encrypt(byte[]) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
 
encrypt(InputStream, OutputStream, boolean) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
 
encrypt(byte[]) - Method in interface cn.hutool.crypto.symmetric.SymmetricEncryptor
加密
encrypt(InputStream, OutputStream, boolean) - Method in interface cn.hutool.crypto.symmetric.SymmetricEncryptor
加密,针对大数据量,可选结束后是否关闭流
encrypt(String, String) - Method in interface cn.hutool.crypto.symmetric.SymmetricEncryptor
加密
encrypt(String, Charset) - Method in interface cn.hutool.crypto.symmetric.SymmetricEncryptor
加密
encrypt(String) - Method in interface cn.hutool.crypto.symmetric.SymmetricEncryptor
加密,使用UTF-8编码
encrypt(InputStream) - Method in interface cn.hutool.crypto.symmetric.SymmetricEncryptor
加密,加密后关闭流
encrypt(CharSequence, CharSequence) - Static method in class cn.hutool.crypto.symmetric.Vigenere
加密
encrypt(byte[]) - Method in class cn.hutool.crypto.symmetric.XXTEA
 
encrypt(InputStream, OutputStream, boolean) - Method in class cn.hutool.crypto.symmetric.XXTEA
 
encryptBase64(byte[], KeyType) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricEncryptor
编码为Base64字符串
encryptBase64(String, KeyType) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricEncryptor
编码为Base64字符串,使用UTF-8编码
encryptBase64(String, Charset, KeyType) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricEncryptor
编码为Base64字符串
encryptBase64(InputStream, KeyType) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricEncryptor
编码为Base64字符串
encryptBase64(byte[]) - Method in class cn.hutool.crypto.symmetric.RC4
加密
encryptBase64(String, Charset) - Method in class cn.hutool.crypto.symmetric.RC4
加密
encryptBase64(String) - Method in class cn.hutool.crypto.symmetric.RC4
加密,使用UTF-8编码
encryptBase64(byte[]) - Method in interface cn.hutool.crypto.symmetric.SymmetricEncryptor
加密
encryptBase64(String, String) - Method in interface cn.hutool.crypto.symmetric.SymmetricEncryptor
加密
encryptBase64(String, Charset) - Method in interface cn.hutool.crypto.symmetric.SymmetricEncryptor
加密
encryptBase64(String) - Method in interface cn.hutool.crypto.symmetric.SymmetricEncryptor
加密,使用UTF-8编码
encryptBase64(InputStream) - Method in interface cn.hutool.crypto.symmetric.SymmetricEncryptor
加密
encryptBcd(String, KeyType) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricEncryptor
Deprecated.
由于对于ASCII的编码解码有缺陷,且这种BCD实现并不规范,因此会在6.0.0中移除
encryptBcd(String, KeyType, Charset) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricEncryptor
Deprecated.
由于对于ASCII的编码解码有缺陷,且这种BCD实现并不规范,因此会在6.0.0中移除
encryptBlockSize - Variable in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
加密的块大小
encryptHex(byte[], KeyType) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricEncryptor
编码为Hex字符串
encryptHex(String, KeyType) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricEncryptor
编码为Hex字符串
encryptHex(String, Charset, KeyType) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricEncryptor
编码为Hex字符串
encryptHex(InputStream, KeyType) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricEncryptor
编码为Hex字符串
encryptHex(char[], byte[]) - Method in class cn.hutool.crypto.symmetric.PBKDF2
加密
encryptHex(byte[]) - Method in class cn.hutool.crypto.symmetric.RC4
加密
encryptHex(String, Charset) - Method in class cn.hutool.crypto.symmetric.RC4
加密
encryptHex(String) - Method in class cn.hutool.crypto.symmetric.RC4
加密,使用UTF-8编码
encryptHex(byte[]) - Method in interface cn.hutool.crypto.symmetric.SymmetricEncryptor
加密
encryptHex(String, String) - Method in interface cn.hutool.crypto.symmetric.SymmetricEncryptor
加密
encryptHex(String, Charset) - Method in interface cn.hutool.crypto.symmetric.SymmetricEncryptor
加密
encryptHex(String) - Method in interface cn.hutool.crypto.symmetric.SymmetricEncryptor
加密,使用UTF-8编码
encryptHex(InputStream) - Method in interface cn.hutool.crypto.symmetric.SymmetricEncryptor
加密
end(int) - Method in class cn.hutool.core.text.finder.CharFinder
 
end(int) - Method in class cn.hutool.core.text.finder.CharMatcherFinder
 
end(int) - Method in interface cn.hutool.core.text.finder.Finder
返回结束位置,即最后一个字符后的位置(不包含)
end(int) - Method in class cn.hutool.core.text.finder.LengthFinder
 
end(int) - Method in class cn.hutool.core.text.finder.PatternFinder
 
end(int) - Method in class cn.hutool.core.text.finder.StrFinder
 
end() - Method in class cn.hutool.json.JSONTokener
 
end() - Method in class cn.hutool.json.serialize.JSONWriter
结束,默认根据开始的类型,补充"}"或"]"
endElement(String, String, String) - Method in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
标签结束的回调处理方法
endIndex - Variable in class cn.hutool.core.lang.DefaultSegment
 
endIndex - Variable in class cn.hutool.core.text.finder.TextFinder
 
endingLineBreak - Variable in class cn.hutool.core.text.csv.CsvWriteConfig
文件末尾是否添加换行符
按照https://datatracker.ietf.org/doc/html/rfc4180#section-2 规范,末尾换行符可有可无。
endLineNo - Variable in class cn.hutool.core.text.csv.CsvReadConfig
结束的行(包括),此处为原始文件行号
endOfDay(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
修改某天的结束时间
endOfDay(Date) - Static method in class cn.hutool.core.date.DateUtil
获取某天的结束时间
endOfDay(LocalDateTime) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
修改为一天的结束时间,例如:2020-02-02 23:59:59,999
endOfDay(LocalDate) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
修改为一天的结束时间,例如:2020-02-02 23:59:59,999
endOfDay(LocalDateTime, boolean) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
修改为一天的结束时间,例如: 毫秒不归零:2020-02-02 23:59:59,999 毫秒归零:2020-02-02 23:59:59,000
endOfDay(LocalDate, boolean) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
修改为一天的结束时间,例如: 毫秒不归零:2020-02-02 23:59:59,999 毫秒归零:2020-02-02 23:59:59,000
endOfHour(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
修改某小时的结束时间
endOfHour(Date) - Static method in class cn.hutool.core.date.DateUtil
获取某小时的结束时间
endOfMinute(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
修改某分钟的结束时间
endOfMinute(Date) - Static method in class cn.hutool.core.date.DateUtil
获取某分钟的结束时间
endOfMonth(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
修改某月的结束时间
endOfMonth(Date) - Static method in class cn.hutool.core.date.DateUtil
获取某月的结束时间
endOfQuarter(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
获取某季度的结束时间
endOfQuarter(Date) - Static method in class cn.hutool.core.date.DateUtil
获取某季度的结束时间
endOfSecond(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
修改秒级别的结束时间,即毫秒设置为999
endOfSecond(Date) - Static method in class cn.hutool.core.date.DateUtil
获取秒级别的结束时间,即毫秒设置为999
endOfWeek(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
修改某周的结束时间,周日定为一周的结束
endOfWeek(Calendar, boolean) - Static method in class cn.hutool.core.date.CalendarUtil
修改某周的结束时间
endOfWeek(Date) - Static method in class cn.hutool.core.date.DateUtil
获取某周的结束时间,周日定为一周的结束
endOfWeek(Date, boolean) - Static method in class cn.hutool.core.date.DateUtil
获取某周的结束时间
endOfYear(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
修改某年的结束时间
endOfYear(Date) - Static method in class cn.hutool.core.date.DateUtil
获取某年的结束时间
endRowIndex - Variable in class cn.hutool.poi.excel.reader.AbstractSheetReader
读取结束行(包含,从0开始计数)
endRowIndex - Variable in class cn.hutool.poi.excel.sax.handler.AbstractRowHandler
读取结束行(包含,从0开始计数)
endWith(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
字符串是否以给定字符结尾
endWith(CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
是否以指定字符串结尾
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
endWith(CharSequence, CharSequence, boolean, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
是否以指定字符串结尾
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
endWith(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
是否以指定字符串结尾
endWithAny(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
给定字符串是否以任何一个字符串结尾
给定字符串和数组为空都返回false
endWithAnyIgnoreCase(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
给定字符串是否以任何一个字符串结尾(忽略大小写)
给定字符串和数组为空都返回false
endWithIgnoreCase(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
是否以指定字符串结尾,忽略大小写
engine - Variable in class cn.hutool.crypto.asymmetric.SM2
 
Engine - Class in cn.hutool.http.useragent
引擎对象
Engine(String, String) - Constructor for class cn.hutool.http.useragent.Engine
构造
engines - Static variable in class cn.hutool.http.useragent.Engine
支持的引擎类型
EnjoyEngine - Class in cn.hutool.extra.template.engine.enjoy
Enjoy库的引擎包装
EnjoyEngine() - Constructor for class cn.hutool.extra.template.engine.enjoy.EnjoyEngine
默认构造
EnjoyEngine(TemplateConfig) - Constructor for class cn.hutool.extra.template.engine.enjoy.EnjoyEngine
构造
EnjoyEngine(Engine) - Constructor for class cn.hutool.extra.template.engine.enjoy.EnjoyEngine
构造
EnjoyTemplate - Class in cn.hutool.extra.template.engine.enjoy
Engoy模板实现
EnjoyTemplate(Template) - Constructor for class cn.hutool.extra.template.engine.enjoy.EnjoyTemplate
构造
enone(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
ENONE(NONEwithECDSA)签名器
Entity - Class in cn.hutool.db
数据实体对象
数据实体类充当两个角色:
1.
Entity() - Constructor for class cn.hutool.db.Entity
 
Entity(String) - Constructor for class cn.hutool.db.Entity
构造
Entity(String, boolean) - Constructor for class cn.hutool.db.Entity
构造
entity - Static variable in class cn.hutool.json.XMLTokener
The table of entity values.
EntityHandler - Class in cn.hutool.db.handler
Entity对象处理器,只处理第一条数据
EntityHandler() - Constructor for class cn.hutool.db.handler.EntityHandler
构造
EntityHandler(boolean) - Constructor for class cn.hutool.db.handler.EntityHandler
构造
EntityListHandler - Class in cn.hutool.db.handler
结果集处理类 ,处理出的结果为Entity列表
EntityListHandler() - Constructor for class cn.hutool.db.handler.EntityListHandler
构造
EntityListHandler(boolean) - Constructor for class cn.hutool.db.handler.EntityListHandler
构造
EntitySetHandler - Class in cn.hutool.db.handler
结果集处理类 ,处理出的结果为Entity列表,结果不能重复(按照Entity对象去重)
EntitySetHandler() - Constructor for class cn.hutool.db.handler.EntitySetHandler
构造
EntitySetHandler(boolean) - Constructor for class cn.hutool.db.handler.EntitySetHandler
构造
entry(K, V) - Static method in class cn.hutool.core.map.MapUtil
将键和值转换为AbstractMap.SimpleImmutableEntry
返回的Entry不可变
entry(K, V, boolean) - Static method in class cn.hutool.core.map.MapUtil
将键和值转换为AbstractMap.SimpleEntry 或者 AbstractMap.SimpleImmutableEntry
ENTRY_CREATE - Static variable in class cn.hutool.core.io.watch.WatchMonitor
创建事件
ENTRY_DELETE - Static variable in class cn.hutool.core.io.watch.WatchMonitor
删除事件
ENTRY_MODIFY - Static variable in class cn.hutool.core.io.watch.WatchMonitor
修改事件
EntryConverter - Class in cn.hutool.core.convert.impl
 
EntryConverter(Type) - Constructor for class cn.hutool.core.convert.impl.EntryConverter
构造,Pair的key和value泛型类型自动获取
EntryConverter(Type, Type, Type) - Constructor for class cn.hutool.core.convert.impl.EntryConverter
构造
entrySet() - Method in class cn.hutool.core.map.LinkedForestMap
由key与TreeEntry组成的键值对实体的Set集合。 注意,返回集合中Map.Entry#setValue(Object)不支持调用。
entrySet() - Method in class cn.hutool.core.map.MapProxy
 
entrySet() - Method in class cn.hutool.core.map.MapWrapper
 
entrySet() - Method in class cn.hutool.core.map.ReferenceConcurrentMap
 
entrySet() - Method in class cn.hutool.core.map.TableMap
 
entrySet() - Method in class cn.hutool.setting.GroupedMap
 
entrySet(String) - Method in class cn.hutool.setting.GroupedMap
指定分组下所有键值对
entrySet(String) - Method in class cn.hutool.setting.Setting
指定分组下所有键值对
entrySet() - Method in class cn.hutool.setting.Setting
获取默认分组(空分组)中的所有键值对列表
EnumConverter - Class in cn.hutool.core.convert.impl
无泛型检查的枚举转换器
EnumConverter(Class) - Constructor for class cn.hutool.core.convert.impl.EnumConverter
构造
EnumerationIter<E> - Class in cn.hutool.core.collection
Enumeration对象转Iterator对象
EnumerationIter(Enumeration<E>) - Constructor for class cn.hutool.core.collection.EnumerationIter
构造
EnumItem<E extends EnumItem<E>> - Interface in cn.hutool.core.lang
枚举元素通用接口,在自定义枚举上实现此接口可以用于数据转换
数据库保存时建议保存 intVal()而非ordinal()防备需求变更
EnumUtil - Class in cn.hutool.core.util
枚举工具类
EnumUtil() - Constructor for class cn.hutool.core.util.EnumUtil
 
EOF - Static variable in class cn.hutool.core.io.NioUtil
数据流末尾
EQ - Static variable in class cn.hutool.json.XML
The Character '='.
equal(Object, Object) - Static method in class cn.hutool.core.lang.Validator
验证是否相等
当两值都为null返回true
equal(Object, Object) - Static method in class cn.hutool.core.util.ObjectUtil
比较两个对象是否相等。
相同的条件有两个,满足其一即可:
obj1 == null && obj2 == null obj1.equals(obj2) 如果是BigDecimal比较,0 == obj1.compareTo(obj2)
equals(Object) - Method in class cn.hutool.core.bean.DynaBean
 
equals(Object) - Method in class cn.hutool.core.comparator.ComparableComparator
 
equals(Object) - Method in class cn.hutool.core.comparator.ComparatorChain
 
equals(Object) - Method in class cn.hutool.core.comparator.ReverseComparator
 
equals(Object) - Method in class cn.hutool.core.date.format.AbstractDateBasic
 
equals(Object) - Method in class cn.hutool.core.date.format.FastDateFormat
 
equals(Path, Path) - Static method in class cn.hutool.core.io.file.PathUtil
检查两个文件是否是同一个文件
所谓文件相同,是指Path对象是否指向同一个文件或文件夹
equals(File, File) - Static method in class cn.hutool.core.io.FileUtil
检查两个文件是否是同一个文件
所谓文件相同,是指File对象是否指向同一个文件或文件夹
equals(Object) - Method in class cn.hutool.core.io.unit.DataSize
 
equals(Object) - Method in class cn.hutool.core.lang.ansi.Ansi8BitColor
 
equals(Object) - Method in class cn.hutool.core.lang.ansi.AnsiColorWrapper
 
equals(Object, Object) - Static method in class cn.hutool.core.lang.Assert
断言两个对象是否相等,如果两个对象不相等 抛出IllegalArgumentException 异常
   Assert.isEquals(obj1,obj2);
equals(Object, Object, String, Object...) - Static method in class cn.hutool.core.lang.Assert
断言两个对象是否相等,如果两个对象不相等 抛出IllegalArgumentException 异常
   Assert.isEquals(obj1,obj2,"obj1 must be equals obj2");
equals(Object, Object, Supplier<X>) - Static method in class cn.hutool.core.lang.Assert
断言两个对象是否相等,如果两个对象不相等,抛出指定类型异常,并使用指定的函数获取错误信息返回
equals(Object) - Method in class cn.hutool.core.lang.hash.Number128
 
equals(Object) - Method in class cn.hutool.core.lang.mutable.MutableBool
相等需同时满足如下条件: 非空 类型为 MutableBool 值相等
equals(Object) - Method in class cn.hutool.core.lang.mutable.MutableByte
相等需同时满足如下条件: 非空 类型为 MutableByte 值相等
equals(Object) - Method in class cn.hutool.core.lang.mutable.MutableDouble
相等需同时满足如下条件: 非空 类型为 MutableDouble 值相等
equals(Object) - Method in class cn.hutool.core.lang.mutable.MutableFloat
相等需同时满足如下条件: 非空 类型为 MutableFloat 值相等
equals(Object) - Method in class cn.hutool.core.lang.mutable.MutableInt
相等需同时满足如下条件: 非空 类型为 MutableInt 值相等
equals(Object) - Method in class cn.hutool.core.lang.mutable.MutableLong
相等需同时满足如下条件: 非空 类型为 MutableLong 值相等
equals(Object) - Method in class cn.hutool.core.lang.mutable.MutableObj
 
equals(Object) - Method in class cn.hutool.core.lang.mutable.MutableShort
相等需同时满足如下条件: 非空 类型为 MutableShort 值相等
equals(Object) - Method in class cn.hutool.core.lang.Opt
判断传入参数是否与 Opt相等 在以下情况下返回true 它也是一个 Opt 并且 它们包裹住的元素都为空 或者 它们包裹住的元素之间相互 equals()
equals(Object) - Method in class cn.hutool.core.lang.Pair
 
equals(Object) - Method in class cn.hutool.core.lang.tree.TreeNode
 
equals(Object) - Method in class cn.hutool.core.lang.Tuple
 
equals(Object) - Method in class cn.hutool.core.lang.UUID
将此对象与指定对象比较。
equals(Object) - Method in class cn.hutool.core.lang.Version
 
equals(Object) - Method in class cn.hutool.core.lang.WeightRandom.WeightObj
 
equals(Object) - Method in class cn.hutool.core.map.AbsEntry
 
equals(Object) - Method in class cn.hutool.core.map.LinkedForestMap.TreeEntryNode
比较目标对象与当前TreeEntry是否相等。
默认只要Map.Entry.getKey()的返回值相同,即认为两者相等
equals(Object) - Method in class cn.hutool.core.map.MapWrapper
 
equals(Object) - Method in class cn.hutool.core.map.multi.AbsTable
 
equals(Object) - Method in class cn.hutool.core.map.TolerantMap
 
equals(Object) - Method in interface cn.hutool.core.map.TreeEntry
比较目标对象与当前TreeEntry是否相等。
默认只要Map.Entry.getKey()的返回值相同,即认为两者相等
equals(Object) - Method in class cn.hutool.core.math.Money
判断本货币对象与另一对象是否相等。
equals(Money) - Method in class cn.hutool.core.math.Money
判断本货币对象与另一货币对象是否相等。
equals(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
比较两个字符串(大小写敏感)。
equals(CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
比较两个字符串是否相等,规则如下 str1和str2都为null 忽略大小写使用String.equalsIgnoreCase(String)判断相等 不忽略大小写使用String.contentEquals(CharSequence)判断相等
equals(Collection<? extends CharSequence>) - Method in class cn.hutool.core.text.Simhash
判断文本是否与已存储的数据重复
equals(Object, Object) - Static method in class cn.hutool.core.util.ArrayUtil
判断两个数组是否相等,判断依据包括数组长度和每个元素都相等。
equals(char, char, boolean) - Static method in class cn.hutool.core.util.CharUtil
比较两个字符是否相同
equals(Class<?>, String, boolean) - Static method in class cn.hutool.core.util.ClassUtil
指定类是否与给定的类名相同
equals(Object) - Method in class cn.hutool.core.util.CoordinateUtil.Coordinate
 
equals(Enum<?>, String) - Static method in class cn.hutool.core.util.EnumUtil
检查某个枚举值是否匹配指定值
equals(double, double) - Static method in class cn.hutool.core.util.NumberUtil
比较大小,值相等 返回true
此方法通过调用Double.doubleToLongBits(double)方法来判断是否相等
此方法判断值相等时忽略精度的,即0.00 == 0
equals(float, float) - Static method in class cn.hutool.core.util.NumberUtil
比较大小,值相等 返回true
此方法通过调用Float.floatToIntBits(float)方法来判断是否相等
此方法判断值相等时忽略精度的,即0.00 == 0
equals(long, long) - Static method in class cn.hutool.core.util.NumberUtil
比较大小,值相等 返回true
此方法修复传入long型数据由于没有本类型重载方法,导致数据精度丢失
equals(Number, Number) - Static method in class cn.hutool.core.util.NumberUtil
比较数字值是否相等,相等返回true
需要注意的是BigDecimal需要特殊处理
BigDecimal使用compareTo方式判断,因为使用equals方法也判断小数位数,如2.0和2.00就不相等,
此方法判断值相等时忽略精度的,即0.00 == 0 如果用户提供两个Number都是BigDecimal,则通过调用BigDecimal.compareTo(BigDecimal)方法来判断是否相等 其他情况调用Object.equals(Object)比较
equals(BigDecimal, BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
比较大小,值相等 返回true
此方法通过调用BigDecimal.compareTo(BigDecimal)方法来判断是否相等
此方法判断值相等时忽略精度的,即0.00 == 0
equals(char, char, boolean) - Static method in class cn.hutool.core.util.NumberUtil
比较两个字符是否相同
equals(Object, Object) - Static method in class cn.hutool.core.util.ObjectUtil
比较两个对象是否相等,此方法是 ObjectUtil.equal(Object, Object)的别名方法。
相同的条件有两个,满足其一即可:
obj1 == null && obj2 == null obj1.equals(obj2) 如果是BigDecimal比较,0 == obj1.compareTo(obj2)
equals(Object) - Method in class cn.hutool.db.ds.AbstractDSFactory
 
equals(Object) - Method in class cn.hutool.db.meta.IndexInfo
 
equals(Object) - Method in class cn.hutool.extra.template.TemplateConfig
 
equals(Object) - Method in class cn.hutool.http.useragent.UserAgentInfo
 
equals(Object) - Method in class cn.hutool.json.JSONArray
 
equals(Object) - Method in class cn.hutool.json.JSONNull
A Null object is equal to the null value and to itself.
equals(Object) - Method in class cn.hutool.poi.excel.cell.CellLocation
 
equals(Object) - Method in class cn.hutool.setting.Setting
 
equalsAny(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
给定字符串是否与提供的中任一字符串相同,相同则返回true,没有相同的返回false
如果参与比对的字符串列表为空,返回false
equalsAny(CharSequence, boolean, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
给定字符串是否与提供的中任一字符串相同,相同则返回true,没有相同的返回false
如果参与比对的字符串列表为空,返回false
equalsAnyIgnoreCase(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
给定字符串是否与提供的中任一字符串相同(忽略大小写),相同则返回true,没有相同的返回false
如果参与比对的字符串列表为空,返回false
EqualsBuilder - Class in cn.hutool.core.builder
Object.equals(Object) 方法的构建器
EqualsBuilder() - Constructor for class cn.hutool.core.builder.EqualsBuilder
构造,初始状态值为true
equalsCharAt(CharSequence, int, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
字符串指定位置的字符是否与给定字符相同
如果字符串为null,返回false
如果给定的位置大于字符串长度,返回false
如果给定的位置小于0,返回false
equalsIgnoreCase(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
比较两个字符串(大小写不敏感)。
equalsIgnoreCase(Enum<?>, String) - Static method in class cn.hutool.core.util.EnumUtil
忽略大小检查某个枚举值是否匹配指定值
equalsKey(K) - Method in class cn.hutool.core.map.LinkedForestMap.TreeEntryNode
指定key与当前节点的key是否相等
err() - Method in class cn.hutool.core.img.gif.GifDecoder
Returns true if an error was encountered during reading/decoding
error() - Static method in class cn.hutool.core.lang.Console
同 System.err.println()方法,打印控制台日志
error(Object) - Static method in class cn.hutool.core.lang.Console
同 System.err.println()方法,打印控制台日志
error(Object, Object...) - Static method in class cn.hutool.core.lang.Console
同 System.out.println()方法,打印控制台日志
如果传入打印对象为Throwable对象,那么同时打印堆栈
error(String, Object...) - Static method in class cn.hutool.core.lang.Console
同 System.err.println()方法,打印控制台日志
error(Throwable, String, Object...) - Static method in class cn.hutool.core.lang.Console
同 System.err.println()方法,打印控制台日志
error(Throwable) - Method in class cn.hutool.log.AbstractLog
 
error(String, Object...) - Method in class cn.hutool.log.AbstractLog
 
error(Throwable, String, Object...) - Method in class cn.hutool.log.AbstractLog
 
error(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
 
error(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.console.ConsoleLog
 
error(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jboss.JbossLog
 
error(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jdk.JdkLog
 
error(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j.Log4jLog
 
error(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
 
error(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.logtube.LogTubeLog
 
error(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
 
error(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog
 
error(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
 
error(Throwable) - Method in interface cn.hutool.log.level.ErrorLog
打印 ERROR 等级的日志
error(String, Object...) - Method in interface cn.hutool.log.level.ErrorLog
打印 ERROR 等级的日志
error(Throwable, String, Object...) - Method in interface cn.hutool.log.level.ErrorLog
打印 ERROR 等级的日志
error(String, Throwable, String, Object...) - Method in interface cn.hutool.log.level.ErrorLog
打印 ERROR 等级的日志
error(Throwable) - Static method in class cn.hutool.log.StaticLog
Error等级日志
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
error(String, Object...) - Static method in class cn.hutool.log.StaticLog
Error等级日志
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
error(Throwable, String, Object...) - Static method in class cn.hutool.log.StaticLog
Error等级日志
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
error(Log, Throwable) - Static method in class cn.hutool.log.StaticLog
Error等级日志
error(Log, String, Object...) - Static method in class cn.hutool.log.StaticLog
Error等级日志
error(Log, Throwable, String, Object...) - Static method in class cn.hutool.log.StaticLog
Error等级日志
ErrorCellValue - Class in cn.hutool.poi.excel.cell.values
ERROR类型单元格值
ErrorCellValue(Cell) - Constructor for class cn.hutool.poi.excel.cell.values.ErrorCellValue
构造
errorCorrection - Variable in class cn.hutool.extra.qrcode.QrConfig
纠错级别
ErrorLog - Interface in cn.hutool.log.level
ERROR级别日志接口
ErrorMessage() - Constructor for class cn.hutool.extra.validation.BeanValidationResult.ErrorMessage
 
errorOnDifferentFieldCount - Variable in class cn.hutool.core.text.csv.CsvReadConfig
每行字段个数不同时是否抛出异常,默认false
es256(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
ES256(SHA256withECDSA)签名器
es384(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
ES384(SHA383withECDSA)签名器
es512(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
ES512(SHA512withECDSA)签名器
escape(CharSequence) - Static method in class cn.hutool.core.util.EscapeUtil
Escape编码(Unicode)(等同于JS的escape()方法)
该方法不会对 ASCII 字母和数字进行编码,也不会对下面这些 ASCII 标点符号进行编码: * @ - _ + .
escape(CharSequence, Filter<Character>) - Static method in class cn.hutool.core.util.EscapeUtil
Escape编码(Unicode)
该方法不会对 ASCII 字母和数字进行编码。其他所有的字符都会被转义序列替换。
escape(char) - Static method in class cn.hutool.core.util.ReUtil
转义字符,将正则的关键字转义
escape(CharSequence) - Static method in class cn.hutool.core.util.ReUtil
转义字符串,将正则的关键字转义
escape(String) - Static method in class cn.hutool.core.util.XmlUtil
转义XML特殊字符:
escape(String) - Static method in class cn.hutool.http.HtmlUtil
转义文本中的HTML字符为安全的字符,以下字符被转义: ' 替换为 &#039; (&apos; doesn't work in HTML4) " 替换为 &quot; & 替换为 &amp; < 替换为 &lt; > 替换为 &gt;
escape(String) - Static method in class cn.hutool.json.JSONUtil
转义显示不可见字符
escapeAll(CharSequence) - Static method in class cn.hutool.core.util.EscapeUtil
Escape编码(Unicode)
该方法不会对 ASCII 字母和数字进行编码。其他所有的字符都会被转义序列替换。
escapeHtml4(CharSequence) - Static method in class cn.hutool.core.util.EscapeUtil
转义HTML4中的特殊字符
EscapeStrCellSetter - Class in cn.hutool.poi.excel.cell.setters
字符串转义Cell值设置器
使用 _x005F前缀转义_xXXXX_,避免被decode的问题
如用户传入'_x5116_'会导致乱码,使用此设置器转义为'_x005F_x5116_'
EscapeStrCellSetter(CharSequence) - Constructor for class cn.hutool.poi.excel.cell.setters.EscapeStrCellSetter
构造
EscapeUtil - Class in cn.hutool.core.util
转义和反转义工具类Escape / Unescape
escape采用ISO Latin字符集对指定的字符串进行编码。
所有的空格符、标点符号、特殊字符以及其他非ASCII字符都将被转化成%xx格式的字符编码(xx等于该字符在字符集表里面的编码的16进制数字)。 TODO 6.x迁移到core.text.escape包下
EscapeUtil() - Constructor for class cn.hutool.core.util.EscapeUtil
 
escapeXml(CharSequence) - Static method in class cn.hutool.core.util.EscapeUtil
转义XML中的特殊字符
esha1(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
ESHA1(SHA1withECDSA)签名器
estimateSize() - Method in class cn.hutool.core.collection.TransSpliterator
 
eval(String, Map<String, Object>, Collection<Class<?>>) - Method in class cn.hutool.extra.expression.engine.aviator.AviatorEngine
 
eval(String, Map<String, Object>, Collection<Class<?>>) - Method in class cn.hutool.extra.expression.engine.jexl.JexlEngine
 
eval(String, Map<String, Object>, Collection<Class<?>>) - Method in class cn.hutool.extra.expression.engine.jfireel.JfireELEngine
 
eval(String, Map<String, Object>, Collection<Class<?>>) - Method in class cn.hutool.extra.expression.engine.mvel.MvelEngine
 
eval(String, Map<String, Object>, Collection<Class<?>>) - Method in class cn.hutool.extra.expression.engine.qlexpress.QLExpressEngine
 
eval(String, Map<String, Object>, Collection<Class<?>>) - Method in class cn.hutool.extra.expression.engine.rhino.RhinoEngine
 
eval(String, Map<String, Object>, Collection<Class<?>>) - Method in class cn.hutool.extra.expression.engine.spel.SpELEngine
 
eval(String, Map<String, Object>, Collection<Class<?>>) - Method in interface cn.hutool.extra.expression.ExpressionEngine
执行表达式
eval(String, Map<String, Object>) - Static method in class cn.hutool.extra.expression.ExpressionUtil
执行表达式
eval(String, Map<String, Object>, Collection<Class<?>>) - Static method in class cn.hutool.extra.expression.ExpressionUtil
执行表达式
eval(String, ScriptContext) - Method in class cn.hutool.script.FullSupportScriptEngine
 
eval(Reader, ScriptContext) - Method in class cn.hutool.script.FullSupportScriptEngine
 
eval(String) - Method in class cn.hutool.script.FullSupportScriptEngine
 
eval(Reader) - Method in class cn.hutool.script.FullSupportScriptEngine
 
eval(String, Bindings) - Method in class cn.hutool.script.FullSupportScriptEngine
 
eval(Reader, Bindings) - Method in class cn.hutool.script.FullSupportScriptEngine
 
eval(String, ScriptContext) - Method in class cn.hutool.script.JavaScriptEngine
 
eval(Reader, ScriptContext) - Method in class cn.hutool.script.JavaScriptEngine
 
eval(String) - Method in class cn.hutool.script.JavaScriptEngine
 
eval(Reader) - Method in class cn.hutool.script.JavaScriptEngine
 
eval(String, Bindings) - Method in class cn.hutool.script.JavaScriptEngine
 
eval(Reader, Bindings) - Method in class cn.hutool.script.JavaScriptEngine
 
eval(String) - Static method in class cn.hutool.script.ScriptUtil
执行有返回值的Javascript脚本
eval(String, ScriptContext) - Static method in class cn.hutool.script.ScriptUtil
执行有返回值的脚本
eval(String, Bindings) - Static method in class cn.hutool.script.ScriptUtil
执行有返回值的脚本
evalInvocable(String) - Static method in class cn.hutool.script.ScriptUtil
执行Javascript脚本,返回Invocable,此方法分为两种情况: 执行的脚本返回值是可执行的脚本方法 脚本为函数库,则ScriptEngine本身为可执行方法
events - Variable in class cn.hutool.core.io.watch.WatchServer
监听事件列表
EVENTS_ALL - Static variable in class cn.hutool.core.io.watch.WatchMonitor
全部事件
Excel03SaxReader - Class in cn.hutool.poi.excel.sax
Excel2003格式的事件-用户模型方式读取器,在Hutool中,统一将此归类为Sax读取
参考:http://www.cnblogs.com/wshsdlau/p/5643862.html
Excel03SaxReader(RowHandler) - Constructor for class cn.hutool.poi.excel.sax.Excel03SaxReader
构造
Excel07SaxReader - Class in cn.hutool.poi.excel.sax
Sax方式读取Excel文件
Excel2007格式说明见:http://www.cnblogs.com/wangmingshun/p/6654143.html
Excel07SaxReader(RowHandler) - Constructor for class cn.hutool.poi.excel.sax.Excel07SaxReader
构造
ExcelBase<T extends ExcelBase<T>> - Class in cn.hutool.poi.excel
Excel基础类,用于抽象ExcelWriter和ExcelReader中共用部分的对象和方法
ExcelBase(Sheet) - Constructor for class cn.hutool.poi.excel.ExcelBase
构造
ExcelDateUtil - Class in cn.hutool.poi.excel
Excel中日期判断、读取、处理等补充工具类
ExcelDateUtil() - Constructor for class cn.hutool.poi.excel.ExcelDateUtil
 
ExcelExtractorUtil - Class in cn.hutool.poi.excel
ExcelExtractor工具封装
ExcelExtractorUtil() - Constructor for class cn.hutool.poi.excel.ExcelExtractorUtil
 
ExcelFileUtil - Class in cn.hutool.poi.excel
Excel文件工具类
ExcelFileUtil() - Constructor for class cn.hutool.poi.excel.ExcelFileUtil
 
ExcelPicUtil - Class in cn.hutool.poi.excel
Excel图片工具类
ExcelPicUtil() - Constructor for class cn.hutool.poi.excel.ExcelPicUtil
 
ExcelReader - Class in cn.hutool.poi.excel
Excel读取器
读取Excel工作簿
ExcelReader(String, int) - Constructor for class cn.hutool.poi.excel.ExcelReader
构造
ExcelReader(String, String) - Constructor for class cn.hutool.poi.excel.ExcelReader
构造
ExcelReader(File, int) - Constructor for class cn.hutool.poi.excel.ExcelReader
构造(读写方式读取)
ExcelReader(File, String) - Constructor for class cn.hutool.poi.excel.ExcelReader
构造(读写方式读取)
ExcelReader(InputStream, int) - Constructor for class cn.hutool.poi.excel.ExcelReader
构造(只读方式读取)
ExcelReader(InputStream, String) - Constructor for class cn.hutool.poi.excel.ExcelReader
构造(只读方式读取)
ExcelReader(Workbook, int) - Constructor for class cn.hutool.poi.excel.ExcelReader
构造
ExcelReader(Workbook, String) - Constructor for class cn.hutool.poi.excel.ExcelReader
构造
ExcelReader(Sheet) - Constructor for class cn.hutool.poi.excel.ExcelReader
构造
ExcelSaxReader<T> - Interface in cn.hutool.poi.excel.sax
Sax方式读取Excel接口,提供一些共用方法
ExcelSaxUtil - Class in cn.hutool.poi.excel.sax
Sax方式读取Excel相关工具类
ExcelSaxUtil() - Constructor for class cn.hutool.poi.excel.sax.ExcelSaxUtil
 
ExcelUtil - Class in cn.hutool.poi.excel
Excel工具类,不建议直接使用index直接操作sheet,在wps/excel中sheet显示顺序与index无关,还有隐藏sheet
ExcelUtil() - Constructor for class cn.hutool.poi.excel.ExcelUtil
 
ExcelWriter - Class in cn.hutool.poi.excel
Excel 写入器
此工具用于通过POI将数据写出到Excel,此对象可完成以下两个功能
ExcelWriter() - Constructor for class cn.hutool.poi.excel.ExcelWriter
构造,默认生成xls格式的Excel文件
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(OutputStream)方法写出到流
若写出到文件,还需调用ExcelWriter.setDestFile(File)方法自定义写出的文件,然后调用ExcelWriter.flush()方法写出到文件
ExcelWriter(boolean) - Constructor for class cn.hutool.poi.excel.ExcelWriter
构造
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(OutputStream)方法写出到流
若写出到文件,需要调用ExcelWriter.flush(File) 写出到文件
ExcelWriter(String) - Constructor for class cn.hutool.poi.excel.ExcelWriter
构造,默认写出到第一个sheet,第一个sheet名为sheet1
ExcelWriter(boolean, String) - Constructor for class cn.hutool.poi.excel.ExcelWriter
构造
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(OutputStream)方法写出到流
若写出到文件,需要调用ExcelWriter.flush(File) 写出到文件
ExcelWriter(String, String) - Constructor for class cn.hutool.poi.excel.ExcelWriter
构造
ExcelWriter(File) - Constructor for class cn.hutool.poi.excel.ExcelWriter
构造,默认写出到第一个sheet,第一个sheet名为sheet1
ExcelWriter(File, String) - Constructor for class cn.hutool.poi.excel.ExcelWriter
构造
ExcelWriter(Workbook, String) - Constructor for class cn.hutool.poi.excel.ExcelWriter
构造
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(OutputStream)方法写出到流
若写出到文件,还需调用ExcelWriter.setDestFile(File)方法自定义写出的文件,然后调用ExcelWriter.flush()方法写出到文件
ExcelWriter(Sheet) - Constructor for class cn.hutool.poi.excel.ExcelWriter
构造
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(OutputStream)方法写出到流
若写出到文件,还需调用ExcelWriter.setDestFile(File)方法自定义写出的文件,然后调用ExcelWriter.flush()方法写出到文件
ExceptionFilter - Class in cn.hutool.http.server.filter
异常处理过滤器
ExceptionFilter() - Constructor for class cn.hutool.http.server.filter.ExceptionFilter
 
exceptionOrElse(T) - Method in class cn.hutool.core.lang.Opt
异常则返回另一个可选值
ExceptionUtil - Class in cn.hutool.core.exceptions
异常工具类
ExceptionUtil() - Constructor for class cn.hutool.core.exceptions.ExceptionUtil
 
exec(String...) - Static method in class cn.hutool.core.util.RuntimeUtil
执行命令
命令带参数时参数可作为其中一个参数,也可以将命令和参数组合为一个字符串传入
exec(String[], String...) - Static method in class cn.hutool.core.util.RuntimeUtil
执行命令
命令带参数时参数可作为其中一个参数,也可以将命令和参数组合为一个字符串传入
exec(String[], File, String...) - Static method in class cn.hutool.core.util.RuntimeUtil
执行命令
命令带参数时参数可作为其中一个参数,也可以将命令和参数组合为一个字符串传入
exec(Session, String, Charset, OutputStream) - Static method in class cn.hutool.extra.ssh.GanymedUtil
执行Shell命令(使用EXEC方式)
exec(Session, String, Charset) - Static method in class cn.hutool.extra.ssh.JschUtil
执行Shell命令
exec(Session, String, Charset, OutputStream) - Static method in class cn.hutool.extra.ssh.JschUtil
执行Shell命令(使用EXEC方式)
execAsync(Runnable, boolean) - Static method in class cn.hutool.core.thread.ThreadUtil
执行异步方法
execAsync(Callable<T>) - Static method in class cn.hutool.core.thread.ThreadUtil
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
execAsync(Runnable) - Static method in class cn.hutool.core.thread.ThreadUtil
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
execByShell(Session, String, Charset, OutputStream) - Static method in class cn.hutool.extra.ssh.GanymedUtil
执行Shell命令
execByShell(Session, String, Charset) - Static method in class cn.hutool.extra.ssh.JschUtil
执行Shell命令
execForLines(String...) - Static method in class cn.hutool.core.util.RuntimeUtil
执行系统命令,使用系统默认编码
execForLines(Charset, String...) - Static method in class cn.hutool.core.util.RuntimeUtil
执行系统命令,使用传入的 charset 编码
execForStr(String...) - Static method in class cn.hutool.core.util.RuntimeUtil
执行系统命令,使用系统默认编码
execForStr(Charset, String...) - Static method in class cn.hutool.core.util.RuntimeUtil
执行系统命令,使用传入的 charset 编码
execute(Runnable) - Method in class cn.hutool.core.thread.DelegatedExecutorService
 
execute(Runnable) - Static method in class cn.hutool.core.thread.GlobalThreadPool
直接在公共线程池中执行线程
execute(Runnable) - Static method in class cn.hutool.core.thread.ThreadUtil
直接在公共线程池中执行线程
execute() - Method in class cn.hutool.cron.task.CronTask
 
execute() - Method in class cn.hutool.cron.task.InvokeTask
 
execute() - Method in class cn.hutool.cron.task.RunnableTask
 
execute() - Method in interface cn.hutool.cron.task.Task
执行作业
execute(String, Object...) - Method in class cn.hutool.db.AbstractDb
执行非查询语句
语句包括 插入、更新、删除
execute(Connection, String, Map<String, Object>) - Static method in class cn.hutool.db.sql.SqlExecutor
执行非查询语句
语句包括 插入、更新、删除
此方法不会关闭Connection
execute(Connection, String, Object...) - Static method in class cn.hutool.db.sql.SqlExecutor
执行非查询语句
语句包括 插入、更新、删除
此方法不会关闭Connection
execute(PreparedStatement, Object...) - Static method in class cn.hutool.db.sql.SqlExecutor
可用于执行任何SQL语句,返回一个boolean值,表明执行该SQL语句是否返回了ResultSet。
如果执行后第一个结果是ResultSet,则返回true,否则返回false。
此方法不会关闭PreparedStatement
execute(String) - Method in class cn.hutool.db.sql.StatementWrapper
 
execute(String, int) - Method in class cn.hutool.db.sql.StatementWrapper
 
execute(String, int[]) - Method in class cn.hutool.db.sql.StatementWrapper
 
execute(String, String[]) - Method in class cn.hutool.db.sql.StatementWrapper
 
execute() - Method in class cn.hutool.db.sql.StatementWrapper
 
execute() - Method in class cn.hutool.http.HttpRequest
执行Reuqest请求
execute(boolean) - Method in class cn.hutool.http.HttpRequest
执行Reuqest请求
executeAsync() - Method in class cn.hutool.http.HttpRequest
异步请求
异步请求后获取的HttpResponse 为异步模式,执行完此方法后发送请求到服务器,但是并不立即读取响应内容。
此时保持Http连接不关闭,直调用获取内容方法为止。
executeBatch(String, Object[]...) - Method in class cn.hutool.db.AbstractDb
Deprecated.
编译器无法区分重载
executeBatch(String, Iterable<Object[]>) - Method in class cn.hutool.db.AbstractDb
批量执行非查询语句
executeBatch(String...) - Method in class cn.hutool.db.AbstractDb
批量执行非查询语句
executeBatch(Iterable<String>) - Method in class cn.hutool.db.AbstractDb
批量执行非查询语句
executeBatch(Connection, String, Object[]...) - Static method in class cn.hutool.db.sql.SqlExecutor
Deprecated.
重载导致编译器无法区分
executeBatch(Connection, String, Iterable<Object[]>) - Static method in class cn.hutool.db.sql.SqlExecutor
批量执行非查询语句
语句包括 插入、更新、删除
此方法不会关闭Connection
executeBatch(Connection, String...) - Static method in class cn.hutool.db.sql.SqlExecutor
批量执行非查询语句
语句包括 插入、更新、删除
此方法不会关闭Connection
executeBatch(Connection, Iterable<String>) - Static method in class cn.hutool.db.sql.SqlExecutor
批量执行非查询语句
语句包括 插入、更新、删除
此方法不会关闭Connection
executeBatch() - Method in class cn.hutool.db.sql.StatementWrapper
 
executeForGeneratedKey(String, Object...) - Method in class cn.hutool.db.AbstractDb
执行非查询语句
语句包括 插入、更新、删除
executeForGeneratedKey(Connection, String, Map<String, Object>) - Static method in class cn.hutool.db.sql.SqlExecutor
执行非查询语句,返回主键
发查询语句包括 插入、更新、删除
此方法不会关闭Connection
executeForGeneratedKey(Connection, String, Object...) - Static method in class cn.hutool.db.sql.SqlExecutor
执行非查询语句,返回主键
发查询语句包括 插入、更新、删除
此方法不会关闭Connection
executeQuery(String) - Method in class cn.hutool.db.sql.StatementWrapper
 
executeQuery() - Method in class cn.hutool.db.sql.StatementWrapper
 
executeTaskIfMatch(Scheduler, long) - Method in class cn.hutool.cron.TaskTable
如果时间匹配则执行相应的Task,带读锁
executeTaskIfMatchInternal(Scheduler, long) - Method in class cn.hutool.cron.TaskTable
如果时间匹配则执行相应的Task,无锁
executeUpdate(PreparedStatement, Object...) - Static method in class cn.hutool.db.sql.SqlExecutor
用于执行 INSERT、UPDATE 或 DELETE 语句以及 SQL DDL(数据定义语言)语句,例如 CREATE TABLE 和 DROP TABLE。
INSERT、UPDATE 或 DELETE 语句的效果是修改表中零行或多行中的一列或多列。
executeUpdate 的返回值是一个整数(int),指示受影响的行数(即更新计数)。
对于 CREATE TABLE 或 DROP TABLE 等不操作行的语句,executeUpdate 的返回值总为零。
此方法不会关闭PreparedStatement
executeUpdate(String) - Method in class cn.hutool.db.sql.StatementWrapper
 
executeUpdate(String, int) - Method in class cn.hutool.db.sql.StatementWrapper
 
executeUpdate(String, int[]) - Method in class cn.hutool.db.sql.StatementWrapper
 
executeUpdate(String, String[]) - Method in class cn.hutool.db.sql.StatementWrapper
 
executeUpdate() - Method in class cn.hutool.db.sql.StatementWrapper
 
ExecutorBuilder - Class in cn.hutool.core.thread
ExecutorBuilder() - Constructor for class cn.hutool.core.thread.ExecutorBuilder
 
exist(String) - Static method in class cn.hutool.core.io.FileUtil
判断文件是否存在,如果path为null,则返回false
exist(File) - Static method in class cn.hutool.core.io.FileUtil
判断文件是否存在,如果file为null,则返回false
exist(String, String) - Static method in class cn.hutool.core.io.FileUtil
是否存在匹配文件
exist(Entity) - Method in class cn.hutool.db.DaoTemplate
指定条件的数据是否存在
exist(String) - Method in class cn.hutool.extra.ftp.AbstractFtp
文件或目录是否存在
existCustomTimeout - Variable in class cn.hutool.cache.impl.AbstractCache
每个对象是否有单独的失效时长,用于决定清理过期对象是否有必要。
existFile(String) - Method in class cn.hutool.extra.ftp.Ftp
判断ftp服务器目录内是否还有子元素(目录或文件)
exists(Path, boolean) - Static method in class cn.hutool.core.io.file.PathUtil
判断文件或目录是否存在
exists() - Method in class cn.hutool.core.io.resource.VfsResource
VFS文件是否存在
exists(Class<?>, Object...) - Static method in class cn.hutool.core.lang.Singleton
判断某个类的对象是否存在
EXPIRES_AT - Static variable in interface cn.hutool.jwt.RegisteredPayload
jwt的过期时间,这个过期时间必须要大于签发时间
ExpressionEngine - Interface in cn.hutool.extra.expression
表达式引擎API接口,通过实现此接口,完成表达式的解析和执行
ExpressionException - Exception in cn.hutool.extra.expression
表达式语言异常
ExpressionException(Throwable) - Constructor for exception cn.hutool.extra.expression.ExpressionException
 
ExpressionException(String) - Constructor for exception cn.hutool.extra.expression.ExpressionException
 
ExpressionException(String, Object...) - Constructor for exception cn.hutool.extra.expression.ExpressionException
 
ExpressionException(String, Throwable) - Constructor for exception cn.hutool.extra.expression.ExpressionException
 
ExpressionException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.extra.expression.ExpressionException
 
ExpressionException(Throwable, String, Object...) - Constructor for exception cn.hutool.extra.expression.ExpressionException
 
ExpressionFactory - Class in cn.hutool.extra.expression.engine
表达式语言引擎工厂类,用于根据用户引入的表达式jar,自动创建对应的引擎对象
ExpressionFactory() - Constructor for class cn.hutool.extra.expression.engine.ExpressionFactory
 
ExpressionUtil - Class in cn.hutool.extra.expression
表达式引擎工具类
ExpressionUtil() - Constructor for class cn.hutool.extra.expression.ExpressionUtil
 
EXT_CLASS - Static variable in class cn.hutool.core.io.file.FileNameUtil
.class文件扩展名
EXT_DIRS - Static variable in interface cn.hutool.system.SystemPropsKeys
一个或多个扩展目录的路径
EXT_DIRS - Static variable in class cn.hutool.system.SystemUtil
一个或多个扩展目录的路径的KEY
EXT_JAR - Static variable in class cn.hutool.core.io.file.FileNameUtil
.jar文件扩展名
EXT_JAVA - Static variable in class cn.hutool.core.io.file.FileNameUtil
.java文件扩展名
EXT_NAME - Static variable in class cn.hutool.setting.dialect.Props
默认配置文件扩展名
EXT_NAME - Static variable in class cn.hutool.setting.Setting
默认配置文件扩展名
extName(File) - Static method in class cn.hutool.core.io.file.FileNameUtil
获取文件扩展名(后缀名),扩展名不带“.”
extName(String) - Static method in class cn.hutool.core.io.file.FileNameUtil
获得文件的扩展名(后缀名),扩展名不带“.”
extName(File) - Static method in class cn.hutool.core.io.FileUtil
获取文件扩展名(后缀名),扩展名不带“.”
extName(String) - Static method in class cn.hutool.core.io.FileUtil
获得文件的扩展名(后缀名),扩展名不带“.”
extract(Iterable<?>, Editor<Object>) - Static method in class cn.hutool.core.collection.CollUtil
通过Editor抽取集合元素中的某些值返回为新列表
例如提供的是一个Bean列表,通过Editor接口实现获取某个字段值,返回这个字段值组成的新列表
extract(Iterable<?>, Editor<Object>, boolean) - Static method in class cn.hutool.core.collection.CollUtil
通过Editor抽取集合元素中的某些值返回为新列表
例如提供的是一个Bean列表,通过Editor接口实现获取某个字段值,返回这个字段值组成的新列表
extract(File) - Method in interface cn.hutool.extra.compress.extractor.Extractor
释放(解压)到指定目录,结束后自动关闭流,此方法只能调用一次
extract(File, Filter<ArchiveEntry>) - Method in interface cn.hutool.extra.compress.extractor.Extractor
释放(解压)到指定目录,结束后自动关闭流,此方法只能调用一次
extract(File, int) - Method in interface cn.hutool.extra.compress.extractor.Extractor
释放(解压)到指定目录,结束后自动关闭流,此方法只能调用一次
extract(File, int, Filter<ArchiveEntry>) - Method in interface cn.hutool.extra.compress.extractor.Extractor
释放(解压)到指定目录,结束后自动关闭流,此方法只能调用一次
extract(File, int, Filter<ArchiveEntry>) - Method in class cn.hutool.extra.compress.extractor.SevenZExtractor
释放(解压)到指定目录,结束后自动关闭流,此方法只能调用一次
extract(File, int, Filter<ArchiveEntry>) - Method in class cn.hutool.extra.compress.extractor.StreamExtractor
释放(解压)到指定目录,结束后自动关闭流,此方法只能调用一次
extractEmojis(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
提取字符串中所有的Emoji Unicode
extractMulti(Pattern, CharSequence, String) - Static method in class cn.hutool.core.util.ReUtil
从content中匹配出多个值并根据template生成新的字符串
例如:
content 2013年5月 pattern (.*?)年(.*?)月 template: $1-$2 return 2013-5
extractMulti(String, CharSequence, String) - Static method in class cn.hutool.core.util.ReUtil
从content中匹配出多个值并根据template生成新的字符串
匹配结束后会删除匹配内容之前的内容(包括匹配内容)
例如:
content 2013年5月 pattern (.*?)年(.*?)月 template: $1-$2 return 2013-5
extractMultiAndDelPre(Pattern, Mutable<CharSequence>, String) - Static method in class cn.hutool.core.util.ReUtil
从content中匹配出多个值并根据template生成新的字符串
匹配结束后会删除匹配内容之前的内容(包括匹配内容)
例如:
content 2013年5月 pattern (.*?)年(.*?)月 template: $1-$2 return 2013-5
extractMultiAndDelPre(String, Mutable<CharSequence>, String) - Static method in class cn.hutool.core.util.ReUtil
从content中匹配出多个值并根据template生成新的字符串
例如:
content 2013年5月 pattern (.*?)年(.*?)月 template: $1-$2 return 2013-5
Extractor - Interface in cn.hutool.extra.compress.extractor
归档数据解包封装,用于将zip、tar等包解包为文件
extractPathWithinPattern(String, String) - Method in class cn.hutool.core.text.AntPathMatcher
Given a pattern and a full path, determine the pattern-mapped part.
extractUriTemplateVariables(String, String) - Method in class cn.hutool.core.text.AntPathMatcher
 

F

factorial(BigInteger) - Static method in class cn.hutool.core.util.NumberUtil
计算阶乘
factorial(BigInteger, BigInteger) - Static method in class cn.hutool.core.util.NumberUtil
计算范围阶乘
factorial(long, long) - Static method in class cn.hutool.core.util.NumberUtil
计算范围阶乘
factorial(long) - Static method in class cn.hutool.core.util.NumberUtil
计算阶乘
failed(Throwable, AioServer) - Method in class cn.hutool.socket.aio.AcceptHandler
 
failed(Throwable, AioSession) - Method in interface cn.hutool.socket.aio.IoAction
数据读取失败的回调事件处理(消息读取失败)
failed(Throwable, AioSession) - Method in class cn.hutool.socket.aio.ReadHandler
 
failed(Throwable, AioSession) - Method in class cn.hutool.socket.aio.SimpleIoAction
 
failed(Throwable, NioServer) - Method in class cn.hutool.socket.nio.AcceptHandler
 
FARTHEST_AND_NEWEST_PRIORITY - Static variable in interface cn.hutool.core.annotation.Hierarchical.Selector
返回距离根对象更远的对象,当距离一样时优先返回新对象
FARTHEST_AND_NEWEST_PRIORITY - Static variable in interface cn.hutool.core.annotation.SynthesizedAnnotationSelector
返回距离根对象更远的注解,当距离一样时优先返回新注解
FARTHEST_AND_OLDEST_PRIORITY - Static variable in interface cn.hutool.core.annotation.Hierarchical.Selector
返回距离根对象更远的对象,当距离一样时优先返回旧对象
FARTHEST_AND_OLDEST_PRIORITY - Static variable in interface cn.hutool.core.annotation.SynthesizedAnnotationSelector
返回距离根对象更远的注解,当距离一样时优先返回旧注解
FarthestAndNewestPrioritySelector() - Constructor for class cn.hutool.core.annotation.Hierarchical.Selector.FarthestAndNewestPrioritySelector
 
FarthestAndNewestPrioritySelector() - Constructor for class cn.hutool.core.annotation.SynthesizedAnnotationSelector.FarthestAndNewestPrioritySelector
 
FarthestAndOldestPrioritySelector() - Constructor for class cn.hutool.core.annotation.Hierarchical.Selector.FarthestAndOldestPrioritySelector
 
FarthestAndOldestPrioritySelector() - Constructor for class cn.hutool.core.annotation.SynthesizedAnnotationSelector.FarthestAndOldestPrioritySelector
 
FastByteArrayOutputStream - Class in cn.hutool.core.io
基于快速缓冲FastByteBuffer的OutputStream,随着数据的增长自动扩充缓冲区
FastByteArrayOutputStream() - Constructor for class cn.hutool.core.io.FastByteArrayOutputStream
构造
FastByteArrayOutputStream(int) - Constructor for class cn.hutool.core.io.FastByteArrayOutputStream
构造
FastByteBuffer - Class in cn.hutool.core.io
代码移植自blade
快速缓冲,将数据存放在缓冲集中,取代以往的单一数组
FastByteBuffer() - Constructor for class cn.hutool.core.io.FastByteBuffer
 
FastByteBuffer(int) - Constructor for class cn.hutool.core.io.FastByteBuffer
 
FastDateFormat - Class in cn.hutool.core.date.format
FastDateFormat 是一个线程安全的 SimpleDateFormat 实现。
FastDateFormat(String, TimeZone, Locale) - Constructor for class cn.hutool.core.date.format.FastDateFormat
构造
FastDateFormat(String, TimeZone, Locale, Date) - Constructor for class cn.hutool.core.date.format.FastDateFormat
构造
FastDateParser - Class in cn.hutool.core.date.format
SimpleDateFormat 的线程安全版本,用于解析日期字符串并转换为 Date 对象
Thanks to Apache Commons Lang 3.5
FastDateParser(String, TimeZone, Locale) - Constructor for class cn.hutool.core.date.format.FastDateParser
Constructs a new FastDateParser.
FastDateParser(String, TimeZone, Locale, Date) - Constructor for class cn.hutool.core.date.format.FastDateParser
Constructs a new FastDateParser.
FastDatePrinter - Class in cn.hutool.core.date.format
SimpleDateFormat 的线程安全版本,用于将 Date 格式化输出
Thanks to Apache Commons Lang 3.5
FastDatePrinter(String, TimeZone, Locale) - Constructor for class cn.hutool.core.date.format.FastDatePrinter
构造,内部使用
fastSimpleUUID() - Static method in class cn.hutool.core.util.IdUtil
简化的UUID,去掉了横线,使用性能更好的ThreadLocalRandom生成UUID
FastStringWriter - Class in cn.hutool.core.io
借助StrBuilder 提供快读的字符串写出,相比jdk的StringWriter非线程安全,速度更快。
FastStringWriter() - Constructor for class cn.hutool.core.io.FastStringWriter
构造
FastStringWriter(int) - Constructor for class cn.hutool.core.io.FastStringWriter
构造
fastUUID() - Static method in class cn.hutool.core.lang.UUID
获取类型 4(伪随机生成的)UUID 的静态工厂。 使用加密的本地线程伪随机数生成器生成该 UUID。
fastUUID() - Static method in class cn.hutool.core.util.IdUtil
获取随机UUID,使用性能更好的ThreadLocalRandom生成UUID
FieldAnnotationScanner - Class in cn.hutool.core.annotation.scanner
扫描Field上的注解
FieldAnnotationScanner() - Constructor for class cn.hutool.core.annotation.scanner.FieldAnnotationScanner
 
FieldComparator<T> - Class in cn.hutool.core.comparator
Bean字段排序器
参阅feilong-core中的PropertyComparator
FieldComparator(Class<T>, String) - Constructor for class cn.hutool.core.comparator.FieldComparator
构造
FieldComparator(Field) - Constructor for class cn.hutool.core.comparator.FieldComparator
构造
FieldComparator(boolean, boolean, Field) - Constructor for class cn.hutool.core.comparator.FieldComparator
构造
FieldsComparator<T> - Class in cn.hutool.core.comparator
Bean字段排序器
参阅feilong-core中的PropertyComparator
FieldsComparator(Class<T>, String...) - Constructor for class cn.hutool.core.comparator.FieldsComparator
构造
FieldsComparator(boolean, Class<T>, String...) - Constructor for class cn.hutool.core.comparator.FieldsComparator
构造
fieldSeparator - Variable in class cn.hutool.core.text.csv.CsvConfig
字段分隔符,默认逗号','
fieldValueAsMap(Iterable<?>, String, String) - Static method in class cn.hutool.core.collection.CollUtil
两个字段值组成新的Map
fieldValueAsMap(Iterator<?>, String, String) - Static method in class cn.hutool.core.collection.IterUtil
两个字段值组成新的Map
fieldValueEditor - Variable in class cn.hutool.core.bean.copier.CopyOptions
字段属性值编辑器,用于自定义属性值转换规则,例如null转""等
fieldValueList(Iterable<V>, String) - Static method in class cn.hutool.core.collection.IterUtil
获取指定Bean列表中某个字段,生成新的列表
fieldValueList(Iterator<V>, String) - Static method in class cn.hutool.core.collection.IterUtil
获取指定Bean列表中某个字段,生成新的列表
fieldValueMap(Iterable<V>, String) - Static method in class cn.hutool.core.collection.CollUtil
字段值与列表值对应的Map,常用于元素对象中有唯一ID时需要按照这个ID查找对象的情况
例如:车牌号 =》车
fieldValueMap(Iterator<V>, String) - Static method in class cn.hutool.core.collection.IterUtil
字段值与列表值对应的Map,常用于元素对象中有唯一ID时需要按照这个ID查找对象的情况
例如:车牌号 =》车
FIFOCache<K,V> - Class in cn.hutool.cache.impl
FIFO(first in first out) 先进先出缓存.
FIFOCache(int) - Constructor for class cn.hutool.cache.impl.FIFOCache
构造,默认对象不过期
FIFOCache(int, long) - Constructor for class cn.hutool.cache.impl.FIFOCache
构造
file - Variable in class cn.hutool.core.io.file.FileWrapper
 
file(String) - Static method in class cn.hutool.core.io.FileUtil
创建File对象,自动识别相对或绝对路径,相对路径将自动从ClassPath下寻找
file(String, String) - Static method in class cn.hutool.core.io.FileUtil
创建File对象
此方法会检查slip漏洞,漏洞说明见http://blog.nsfocus.net/zip-slip-2/
file(File, String) - Static method in class cn.hutool.core.io.FileUtil
创建File对象
根据的路径构建文件,在Win下直接构建,在Linux下拆分路径单独构建 此方法会检查slip漏洞,漏洞说明见http://blog.nsfocus.net/zip-slip-2/
file(File, String...) - Static method in class cn.hutool.core.io.FileUtil
通过多层目录参数创建文件
此方法会检查slip漏洞,漏洞说明见http://blog.nsfocus.net/zip-slip-2/
file(String...) - Static method in class cn.hutool.core.io.FileUtil
通过多层目录创建文件
file(URI) - Static method in class cn.hutool.core.io.FileUtil
创建File对象
file(URL) - Static method in class cn.hutool.core.io.FileUtil
创建File对象
FILE_SEPARATOR - Static variable in class cn.hutool.core.io.FileUtil
文件路径分隔符
在Unix和Linux下 是'/'; 在Windows下是 '\'
FILE_SEPARATOR - Static variable in interface cn.hutool.system.SystemPropsKeys
文件分隔符(在 UNIX 系统中是“/”)
FILE_SEPARATOR - Static variable in class cn.hutool.system.SystemUtil
文件分隔符(在 UNIX 系统中是“/”)的KEY
FILE_URL_PREFIX - Static variable in class cn.hutool.core.util.URLUtil
URL 前缀表示文件: "file:"
FileAppender - Class in cn.hutool.core.io.file
文件追加器
持有一个文件,在内存中积累一定量的数据后统一追加到文件
此类只有在写入文件时打开文件,并在写入结束后关闭之。因此此类不需要关闭
在调用append方法后会缓存于内存,只有超过容量后才会一次性写入文件,因此内存中随时有剩余未写入文件的内容,在最后必须调用flush方法将剩余内容刷入文件
FileAppender(File, int, boolean) - Constructor for class cn.hutool.core.io.file.FileAppender
构造
FileAppender(File, Charset, int, boolean) - Constructor for class cn.hutool.core.io.file.FileAppender
构造
FileAppender(File, Charset, int, boolean, Lock) - Constructor for class cn.hutool.core.io.file.FileAppender
构造
FileCopier - Class in cn.hutool.core.io.file
文件拷贝器
支持以下几种情况:
FileCopier(File, File) - Constructor for class cn.hutool.core.io.file.FileCopier
构造
fileExts - Variable in class cn.hutool.core.net.multipart.UploadSetting
文件扩展名限定
fileForm() - Method in class cn.hutool.http.HttpRequest
获取文件表单数据
FileMagicNumber - Enum in cn.hutool.core.io
文件类型魔数封装
FileMode - Enum in cn.hutool.core.io.file
文件读写模式,常用于RandomAccessFile
FileNameUtil - Class in cn.hutool.core.io.file
文件名相关工具类
FileNameUtil() - Constructor for class cn.hutool.core.io.file.FileNameUtil
 
FileObjectResource - Class in cn.hutool.core.io.resource
FileObject 资源包装
FileObjectResource(FileObject) - Constructor for class cn.hutool.core.io.resource.FileObjectResource
构造
FileReader - Class in cn.hutool.core.io.file
文件读取器
FileReader(File, Charset) - Constructor for class cn.hutool.core.io.file.FileReader
构造
FileReader(File, String) - Constructor for class cn.hutool.core.io.file.FileReader
构造
FileReader(String, Charset) - Constructor for class cn.hutool.core.io.file.FileReader
构造
FileReader(String, String) - Constructor for class cn.hutool.core.io.file.FileReader
构造
FileReader(File) - Constructor for class cn.hutool.core.io.file.FileReader
构造
编码使用 FileWrapper.DEFAULT_CHARSET
FileReader(String) - Constructor for class cn.hutool.core.io.file.FileReader
构造
编码使用 FileWrapper.DEFAULT_CHARSET
FileReader.ReaderHandler<T> - Interface in cn.hutool.core.io.file
Reader处理接口
FileResource - Class in cn.hutool.core.io.resource
文件资源访问对象,支持PathFile 访问
FileResource(String) - Constructor for class cn.hutool.core.io.resource.FileResource
构造
FileResource(Path) - Constructor for class cn.hutool.core.io.resource.FileResource
构造,文件名使用文件本身的名字,带扩展名
FileResource(File) - Constructor for class cn.hutool.core.io.resource.FileResource
构造,文件名使用文件本身的名字,带扩展名
FileResource(File, String) - Constructor for class cn.hutool.core.io.resource.FileResource
构造
FileSystemUtil - Class in cn.hutool.core.io.file
FileSystem相关工具类封装
参考:https://blog.csdn.net/j16421881/article/details/78858690
FileSystemUtil() - Constructor for class cn.hutool.core.io.file.FileSystemUtil
 
FileTypeUtil - Class in cn.hutool.core.io
文件类型判断工具类
FileTypeUtil() - Constructor for class cn.hutool.core.io.FileTypeUtil
 
FileUtil - Class in cn.hutool.core.io
文件工具类
FileUtil() - Constructor for class cn.hutool.core.io.FileUtil
 
FileWrapper - Class in cn.hutool.core.io.file
文件包装器,扩展文件对象
FileWrapper(File, Charset) - Constructor for class cn.hutool.core.io.file.FileWrapper
构造
FileWriter - Class in cn.hutool.core.io.file
文件写入器
FileWriter(File, Charset) - Constructor for class cn.hutool.core.io.file.FileWriter
构造
FileWriter(File, String) - Constructor for class cn.hutool.core.io.file.FileWriter
构造
FileWriter(String, Charset) - Constructor for class cn.hutool.core.io.file.FileWriter
构造
FileWriter(String, String) - Constructor for class cn.hutool.core.io.file.FileWriter
构造
FileWriter(File) - Constructor for class cn.hutool.core.io.file.FileWriter
构造
编码使用 FileWrapper.DEFAULT_CHARSET
FileWriter(String) - Constructor for class cn.hutool.core.io.file.FileWriter
构造
编码使用 FileWrapper.DEFAULT_CHARSET
fill(String, char, int, boolean) - Static method in class cn.hutool.core.util.StrUtil
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
fillAfter(String, char, int) - Static method in class cn.hutool.core.util.StrUtil
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
字符填充于字符串后
fillBean(T, ValueProvider<String>, CopyOptions) - Static method in class cn.hutool.core.bean.BeanUtil
填充Bean的核心方法
fillBean(Map, T) - Static method in class cn.hutool.extra.cglib.CglibUtil
将Map中的内容填充至Bean中
fillBean(ServletRequest, T, CopyOptions) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
ServletRequest 参数转Bean
fillBean(ServletRequest, T, boolean) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
ServletRequest 参数转Bean
fillBean(ServletRequest, T, CopyOptions) - Static method in class cn.hutool.extra.servlet.ServletUtil
ServletRequest 参数转Bean
fillBean(ServletRequest, T, boolean) - Static method in class cn.hutool.extra.servlet.ServletUtil
ServletRequest 参数转Bean
fillBean(T, String) - Method in class cn.hutool.setting.dialect.Props
将配置文件转换为Bean,支持嵌套Bean
支持的表达式:
fillBeanWithMap(Map<?, ?>, T, boolean) - Static method in class cn.hutool.core.bean.BeanUtil
使用Map填充Bean对象
fillBeanWithMap(Map<?, ?>, T, boolean, boolean) - Static method in class cn.hutool.core.bean.BeanUtil
Deprecated.
isToCamelCase参数无效,请使用BeanUtil.fillBeanWithMap(Map, Object, boolean)
fillBeanWithMap(Map<?, ?>, T, CopyOptions) - Static method in class cn.hutool.core.bean.BeanUtil
使用Map填充Bean对象
fillBeanWithMap(Map<?, ?>, T, boolean, CopyOptions) - Static method in class cn.hutool.core.bean.BeanUtil
Deprecated.
isToCamelCase参数无效,请使用BeanUtil.fillBeanWithMap(Map, Object, CopyOptions)
fillBeanWithMapIgnoreCase(Map<?, ?>, T, boolean) - Static method in class cn.hutool.core.bean.BeanUtil
使用Map填充Bean对象,忽略大小写
fillBefore(String, char, int) - Static method in class cn.hutool.core.util.StrUtil
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
字符填充于字符串前
fillParams(PreparedStatement, Object...) - Static method in class cn.hutool.db.StatementUtil
填充SQL的参数。
fillParams(PreparedStatement, Iterable<?>) - Static method in class cn.hutool.db.StatementUtil
填充SQL的参数。
对于日期对象特殊处理:传入java.util.Date默认按照Timestamp处理
fillParams(PreparedStatement, Iterable<?>, Map<Integer, Integer>) - Static method in class cn.hutool.db.StatementUtil
填充SQL的参数。
对于日期对象特殊处理:传入java.util.Date默认按照Timestamp处理
filter(T, Filter<E>) - Static method in class cn.hutool.core.collection.CollUtil
去除指定元素,此方法直接修改原集合
filter(T, Filter<E>) - Static method in class cn.hutool.core.collection.IterUtil
过滤集合,此方法在原集合上直接修改
通过实现Filter接口,完成元素的过滤,这个Filter实现可以实现以下功能:
filter(Iterator<E>, Filter<E>) - Static method in class cn.hutool.core.collection.IterUtil
过滤集合,此方法在原集合上直接修改
通过实现Filter接口,完成元素的过滤,这个Filter实现可以实现以下功能:
filter(BufferedImageOp, BufferedImage) - Static method in class cn.hutool.core.img.ImgUtil
图片过滤转换
filter(ImageFilter, Image) - Static method in class cn.hutool.core.img.ImgUtil
图片滤镜,借助 ImageFilter实现,实现不同的图片滤镜
filter(String...) - Method in class cn.hutool.core.lang.Dict
过滤Map保留指定键值对,如果键不存在跳过
Filter<T> - Interface in cn.hutool.core.lang
过滤器接口
filter(Predicate<? super T>) - Method in class cn.hutool.core.lang.Opt
判断包裹里的值存在并且与给定的条件是否满足 (Predicate.test(T)执行结果是否为true) 如果满足条件则返回本身 不满足条件或者元素本身为空时返回一个返回一个空的Opt
filter(Filter<Tree<T>>) - Method in class cn.hutool.core.lang.tree.Tree
递归过滤当前树,注意此方法会修改当前树
通过Filter指定的过滤规则,本节点或子节点满足过滤条件,则保留当前节点及其所有子节点,否则抛弃节点及其子节点
filter(Map<K, V>, Filter<Map.Entry<K, V>>) - Static method in class cn.hutool.core.map.MapUtil
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Filter实现可以实现以下功能:
filter(Map<K, V>, K...) - Static method in class cn.hutool.core.map.MapUtil
过滤Map保留指定键值对,如果键不存在跳过
filter(CharSequence, Filter<Character>) - Static method in class cn.hutool.core.text.CharSequenceUtil
过滤字符串
filter(T[], Filter<T>) - Static method in class cn.hutool.core.util.ArrayUtil
过滤
过滤过程通过传入的Filter实现来过滤返回需要的元素内容,这个Filter实现可以实现以下功能:
filter(String...) - Method in class cn.hutool.db.Entity
过滤Map保留指定键值对,如果键不存在跳过
filter(String) - Method in class cn.hutool.http.HTMLFilter
given a user submitted input String, filter out any invalid or restricted html.
filter(String) - Static method in class cn.hutool.http.HtmlUtil
过滤HTML文本,防止XSS攻击
filtered(Iterator<? extends E>, Filter<? super E>) - Static method in class cn.hutool.core.collection.IterUtil
获取一个新的 FilterIter,用于过滤指定元素
FilterIter<E> - Class in cn.hutool.core.collection
包装 Iterator并根据Filter定义,过滤元素输出
类实现来自Apache Commons Collection
FilterIter(Iterator<? extends E>, Filter<? super E>) - Constructor for class cn.hutool.core.collection.FilterIter
构造
filterNew(Collection<T>, Filter<T>) - Static method in class cn.hutool.core.collection.CollUtil
过滤
过滤过程通过传入的Filter实现来过滤返回需要的元素内容,这个Filter实现可以实现以下功能:
filterNew(Filter<Tree<T>>) - Method in class cn.hutool.core.lang.tree.Tree
递归过滤并生成新的树
通过Filter指定的过滤规则,本节点或子节点满足过滤条件,则保留当前节点,否则抛弃节点及其子节点
filterToList(Iterator<E>, Filter<E>) - Static method in class cn.hutool.core.collection.IterUtil
过滤Iterator并将过滤后满足条件的元素添加到List中
FinalizableDelegatedExecutorService - Class in cn.hutool.core.thread
保证ExecutorService在对象回收时正常结束
finalize() - Method in class cn.hutool.core.thread.FinalizableDelegatedExecutorService
 
finalize() - Method in class cn.hutool.db.ds.pooled.PooledDataSource
 
find(Collection<String>, Entity, RsHandler<T>) - Method in class cn.hutool.db.AbstractDb
查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
find(Collection<String>, Entity) - Method in class cn.hutool.db.AbstractDb
查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
find(Query, RsHandler<T>) - Method in class cn.hutool.db.AbstractDb
查询
Query为查询所需数据的一个实体类,此对象中可以定义返回字段、查询条件,查询的表、分页等信息
find(Entity, RsHandler<T>, String...) - Method in class cn.hutool.db.AbstractDb
查询,返回所有字段
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
find(Entity) - Method in class cn.hutool.db.AbstractDb
查询数据列表,返回字段由where参数指定
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
find(Entity, Class<T>) - Method in class cn.hutool.db.AbstractDb
查询数据列表,返回字段由where参数指定
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
find(String, T) - Method in class cn.hutool.db.DaoTemplate
根据某个字段值查询结果
find(Entity) - Method in class cn.hutool.db.DaoTemplate
根据某个字段值查询结果
find(Connection, Query, RsHandler<T>) - Method in class cn.hutool.db.DialectRunner
查询
此方法不会关闭Connection
find(Connection, Collection<String>, Entity, RsHandler<T>) - Method in class cn.hutool.db.SqlConnRunner
查询
此方法不会关闭Connection
find(Connection, Entity, RsHandler<T>, String...) - Method in class cn.hutool.db.SqlConnRunner
查询,返回指定字段列表
此方法不会关闭Connection
find(Connection, Entity) - Method in class cn.hutool.db.SqlConnRunner
查询数据列表,返回字段在where参数中定义
findAll(String, CharSequence, int) - Static method in class cn.hutool.core.util.ReUtil
取得内容中匹配的所有结果
findAll(String, CharSequence, int, T) - Static method in class cn.hutool.core.util.ReUtil
取得内容中匹配的所有结果
findAll(Pattern, CharSequence, int) - Static method in class cn.hutool.core.util.ReUtil
取得内容中匹配的所有结果
findAll(Pattern, CharSequence, int, T) - Static method in class cn.hutool.core.util.ReUtil
取得内容中匹配的所有结果
findAll(Pattern, CharSequence, Consumer<Matcher>) - Static method in class cn.hutool.core.util.ReUtil
取得内容中匹配的所有结果,使用Consumer完成匹配结果处理
findAll(Entity) - Method in class cn.hutool.db.AbstractDb
查询数据列表,返回所有字段
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
findAll(Entity, Class<T>) - Method in class cn.hutool.db.AbstractDb
查询数据列表,返回所有字段
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
findAll(String) - Method in class cn.hutool.db.AbstractDb
查询数据列表,返回所有字段
findAll() - Method in class cn.hutool.db.DaoTemplate
查询当前表的所有记录
findAll(Connection, Entity) - Method in class cn.hutool.db.SqlConnRunner
查询数据列表,返回所有字段
findAll(Connection, String) - Method in class cn.hutool.db.SqlConnRunner
查询数据列表,返回所有字段
findAllGroup0(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组0的内容
findAllGroup0(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组0的内容
findAllGroup1(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组1的内容
findAllGroup1(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组1的内容
findBy(String, String, Object) - Method in class cn.hutool.db.AbstractDb
根据某个字段名条件查询数据列表,返回所有字段
findBy(String, Condition...) - Method in class cn.hutool.db.AbstractDb
根据多个条件查询数据列表,返回所有字段
findBy(Connection, String, String, Object) - Method in class cn.hutool.db.SqlConnRunner
根据某个字段名条件查询数据列表,返回所有字段
findBySql(String, Object...) - Method in class cn.hutool.db.DaoTemplate
根据SQL语句查询结果
SQL语句可以是非完整SQL语句,可以只提供查询的条件部分(例如WHERE部分)
此方法会自动补全SELECT * FROM [tableName] 部分,这样就无需关心表名,直接提供条件即可
findClass(String) - Method in class cn.hutool.core.lang.ResourceClassLoader
 
findClosest(Color) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
Returns index of palette color closest to c
findClosest(Color) - Method in class cn.hutool.core.lang.ansi.AnsiColors
找到最接近给定 AWT ColorANSI 颜色包装 实例。
findConstructor(Class<?>, Class<?>...) - Static method in class cn.hutool.core.lang.reflect.MethodHandleUtil
查找指定的构造方法
findConstructor(Class<?>, MethodType) - Static method in class cn.hutool.core.lang.reflect.MethodHandleUtil
查找指定的构造方法
findEditor(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
查找类型转换器 PropertyEditor
Finder - Interface in cn.hutool.core.text.finder
字符串查找接口,通过调用Finder.start(int)查找开始位置,再调用Finder.end(int)找结束位置
findExact(Color) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
Returns index of palette exactly matching to color c or -1 if there is no exact matching.
findIn(Connection, String, String, Object...) - Method in class cn.hutool.db.SqlConnRunner
根据某个字段名条件查询数据列表,返回所有字段
findLike(String, String, String, Condition.LikeType) - Method in class cn.hutool.db.AbstractDb
根据某个字段名条件查询数据列表,返回所有字段
findLike(Connection, String, String, String, Condition.LikeType) - Method in class cn.hutool.db.SqlConnRunner
根据某个字段名条件查询数据列表,返回所有字段
findMethod(Class<?>, String, MethodType) - Static method in class cn.hutool.core.lang.reflect.MethodHandleUtil
查找指定方法的方法句柄
此方法只会查找: 当前类的方法(包括构造方法和private方法) 父类的方法(包括构造方法和private方法) 当前类的static方法
findOne(Iterable<T>, Filter<T>) - Static method in class cn.hutool.core.collection.CollUtil
查找第一个匹配元素对象
findOneByField(Iterable<T>, String, Object) - Static method in class cn.hutool.core.collection.CollUtil
查找第一个匹配元素对象
如果集合元素是Map,则比对键和值是否相同,相同则返回
如果为普通Bean,则通过反射比对元素字段名对应的字段值是否相同,相同则返回
如果给定字段值参数是null 且元素对象中的字段值也为null则认为相同
findPropDesc(Map<String, PropDesc>, String) - Method in class cn.hutool.core.bean.copier.CopyOptions
查找Map对应Bean的名称
尝试原名称、转驼峰名称、isXxx去掉is的名称
findTemplateSource(String) - Method in class cn.hutool.extra.template.engine.freemarker.SimpleStringTemplateLoader
 
finish() - Method in class cn.hutool.core.collection.ComputeIter
手动结束遍历器,用于关闭操作等
finish() - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
Flushes any pending data and closes output file.
finish() - Method in interface cn.hutool.core.io.StreamProgress
结束
finish() - Method in interface cn.hutool.extra.compress.archiver.Archiver
结束已经增加的文件归档,此方法不会关闭归档流,可以继续添加文件
finish() - Method in class cn.hutool.extra.compress.archiver.SevenZArchiver
 
finish() - Method in class cn.hutool.extra.compress.archiver.StreamArchiver
结束已经增加的文件归档,此方法不会关闭归档流,可以继续添加文件
finish() - Method in class cn.hutool.http.MultipartOutputStream
上传表单结束
finisher() - Method in class cn.hutool.core.stream.SimpleCollector
 
firstFrame - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
 
firstMask(String) - Static method in class cn.hutool.core.util.DesensitizedUtil
定义了一个first_mask的规则,只显示第一个字符。
脱敏前:123456789;脱敏后:1********。
firstMatch(Iterator<T>, Matcher<T>) - Static method in class cn.hutool.core.collection.IterUtil
返回Iterator中第一个匹配规则的值
firstMatch(Matcher<T>, T...) - Static method in class cn.hutool.core.util.ArrayUtil
返回数组中第一个匹配规则的值
firstNonBlank(T...) - Static method in class cn.hutool.core.text.CharSequenceUtil
返回第一个非blank 元素
firstNonEmpty(T...) - Static method in class cn.hutool.core.text.CharSequenceUtil
返回第一个非empty 元素
firstNonNull(T...) - Static method in class cn.hutool.core.text.CharSequenceUtil
返回第一个非null 元素
firstNonNull(T...) - Static method in class cn.hutool.core.util.ArrayUtil
返回数组中第一个非空元素
FixedLinkedHashMap<K,V> - Class in cn.hutool.core.map
固定大小的LinkedHashMap 实现
注意此类非线程安全,由于LinkedHashMap.get(Object)操作会修改链表的顺序结构,因此也不可以使用读写锁。
FixedLinkedHashMap(int) - Constructor for class cn.hutool.core.map.FixedLinkedHashMap
构造
fixedPhone(String) - Static method in class cn.hutool.core.util.DesensitizedUtil
【固定电话 前四位,后两位
fixLength(CharSequence, char, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
在给定字符串末尾填充指定字符,以达到给定长度
如果字符串本身的长度大于等于length,返回原字符串
flatMap(Function<? super T, ? extends Opt<? extends U>>) - Method in class cn.hutool.core.lang.Opt
如果包裹里的值存在,就执行传入的操作(Function.apply(T))并返回该操作返回值 如果不存在,返回一个空的OptOpt.map(java.util.function.Function<? super T, ? extends U>)的区别为 传入的操作返回值必须为 Opt
flattedMap(Function<? super T, ? extends Optional<? extends U>>) - Method in class cn.hutool.core.lang.Opt
如果包裹里的值存在,就执行传入的操作(Function.apply(T))并返回该操作返回值 如果不存在,返回一个空的OptOpt.map(java.util.function.Function<? super T, ? extends U>)的区别为 传入的操作返回值必须为 Optional
flip() - Method in class cn.hutool.core.img.Img
水平翻转图像
flip(File, File) - Static method in class cn.hutool.core.img.ImgUtil
水平翻转图像
flip(Image, File) - Static method in class cn.hutool.core.img.ImgUtil
水平翻转图像
flip(Image, OutputStream) - Static method in class cn.hutool.core.img.ImgUtil
水平翻转图像
flip(Image, ImageOutputStream) - Static method in class cn.hutool.core.img.ImgUtil
水平翻转图像,写出格式为JPG
flip(Image) - Static method in class cn.hutool.core.img.ImgUtil
水平翻转图像
floatToBytes(float) - Static method in class cn.hutool.core.util.ByteUtil
float转byte数组,默认以小端序转换
floatToBytes(float, ByteOrder) - Static method in class cn.hutool.core.util.ByteUtil
float转byte数组,自定义端序
floatValue() - Method in class cn.hutool.core.convert.NumberWithFormat
 
floatValue() - Method in class cn.hutool.core.lang.hash.Number128
 
floatValue() - Method in class cn.hutool.core.lang.mutable.MutableByte
 
floatValue() - Method in class cn.hutool.core.lang.mutable.MutableDouble
 
floatValue() - Method in class cn.hutool.core.lang.mutable.MutableFloat
 
floatValue() - Method in class cn.hutool.core.lang.mutable.MutableInt
 
floatValue() - Method in class cn.hutool.core.lang.mutable.MutableLong
 
floatValue() - Method in class cn.hutool.core.lang.mutable.MutableShort
 
flush() - Method in class cn.hutool.core.img.Img
 
flush(Image) - Static method in class cn.hutool.core.img.ImgUtil
刷新和释放Image 资源
flush() - Method in class cn.hutool.core.io.AppendableWriter
 
flush() - Method in class cn.hutool.core.io.FastStringWriter
 
flush() - Method in class cn.hutool.core.io.file.FileAppender
刷入到文件
flush(Flushable) - Static method in class cn.hutool.core.io.IoUtil
从缓存中刷出数据
flush() - Method in class cn.hutool.core.text.csv.CsvWriter
 
flush(Consumer<TimerTask>) - Method in class cn.hutool.cron.timingwheel.TimerTaskList
重新分配,即将列表中的任务全部处理
flush() - Method in class cn.hutool.json.serialize.JSONWriter
 
flush(OutputStream, boolean) - Method in class cn.hutool.poi.excel.BigExcelWriter
 
flush() - Method in class cn.hutool.poi.excel.ExcelWriter
将Excel Workbook刷出到预定义的文件
如果用户未自定义输出的文件,将抛出NullPointerException
预定义文件可以通过ExcelWriter.setDestFile(File) 方法预定义,或者通过构造定义
flush(File) - Method in class cn.hutool.poi.excel.ExcelWriter
将Excel Workbook刷出到文件
如果用户未自定义输出的文件,将抛出NullPointerException
flush(OutputStream) - Method in class cn.hutool.poi.excel.ExcelWriter
将Excel Workbook刷出到输出流
flush(OutputStream, boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
将Excel Workbook刷出到输出流
flush() - Method in class cn.hutool.poi.word.Word07Writer
将Excel Workbook刷出到预定义的文件
如果用户未自定义输出的文件,将抛出NullPointerException
预定义文件可以通过Word07Writer.setDestFile(File) 方法预定义,或者通过构造定义
flush(File) - Method in class cn.hutool.poi.word.Word07Writer
将Excel Workbook刷出到文件
如果用户未自定义输出的文件,将抛出NullPointerException
flush(OutputStream) - Method in class cn.hutool.poi.word.Word07Writer
将Word Workbook刷出到输出流
flush(OutputStream, boolean) - Method in class cn.hutool.poi.word.Word07Writer
将Word Document刷出到输出流
flushEveryBuffer - Variable in class cn.hutool.core.io.copy.IoCopier
是否每次写出一个buffer内容就执行flush
FNVFilter - Class in cn.hutool.bloomfilter.filter
 
FNVFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.FNVFilter
 
FNVFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.FNVFilter
 
fnvHash(byte[]) - Static method in class cn.hutool.core.util.HashUtil
改进的32位FNV算法1
fnvHash(String) - Static method in class cn.hutool.core.util.HashUtil
改进的32位FNV算法1
font - Variable in class cn.hutool.captcha.AbstractCaptcha
字体
FontUtil - Class in cn.hutool.core.img
AWT中字体相关工具类
FontUtil() - Constructor for class cn.hutool.core.img.FontUtil
 
ForceAliasedAnnotationAttribute - Class in cn.hutool.core.annotation
表示一个被指定了强制别名的注解属性。 当调用ForceAliasedAnnotationAttribute.getValue()时,总是返回AbstractWrappedAnnotationAttribute.linked的值
ForceAliasedAnnotationAttribute(AnnotationAttribute, AnnotationAttribute) - Constructor for class cn.hutool.core.annotation.ForceAliasedAnnotationAttribute
 
ForceAliasFor - Annotation Type in cn.hutool.core.annotation
Link的子注解。表示“原始属性”将强制作为“关联属性”的别名。效果等同于在“原始属性”上添加Alias注解, 任何情况下,获取“关联属性”的值都将直接返回“原始属性”的值 注意,该注解与LinkAliasForMirrorFor一起使用时,将只有被声明在最上面的注解会生效
forEach(Iterable<T>, CollUtil.Consumer<T>) - Static method in class cn.hutool.core.collection.CollUtil
循环遍历 Iterable,使用CollUtil.Consumer 接受遍历的每条数据,并针对每条数据做处理
forEach(Iterator<T>, CollUtil.Consumer<T>) - Static method in class cn.hutool.core.collection.CollUtil
循环遍历 Iterator,使用CollUtil.Consumer 接受遍历的每条数据,并针对每条数据做处理
forEach(Enumeration<T>, CollUtil.Consumer<T>) - Static method in class cn.hutool.core.collection.CollUtil
循环遍历 Enumeration,使用CollUtil.Consumer 接受遍历的每条数据,并针对每条数据做处理
forEach(Map<K, V>, CollUtil.KVConsumer<K, V>) - Static method in class cn.hutool.core.collection.CollUtil
循环遍历Map,使用CollUtil.KVConsumer 接受遍历的每条数据,并针对每条数据做处理
和JDK8中的map.forEach不同的是,此方法支持index
forEach(Iterator<E>, Consumer<? super E>) - Static method in class cn.hutool.core.collection.IterUtil
遍历Iterator
当consumer为null表示不处理,但是依旧遍历Iterator
forEach(Consumer<? super T>) - Method in class cn.hutool.core.collection.TransCollection
 
forEach(BiConsumer<? super K, ? super V>) - Method in class cn.hutool.core.map.MapWrapper
 
forEach(Consumer3<? super R, ? super C, ? super V>) - Method in interface cn.hutool.core.map.multi.Table
遍历表格的单元格,处理值
forEach(BiConsumer<? super K, ? super V>) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
 
forEach(BiConsumer<? super K, ? super V>) - Method in class cn.hutool.core.map.TableMap
 
forEachChild(boolean, Consumer<TreeEntry<K, V>>) - Method in class cn.hutool.core.map.LinkedForestMap.TreeEntryNode
获取以当前节点作为根节点的树结构,然后遍历所有节点
forEachChild(boolean, Consumer<TreeEntry<K, V>>) - Method in interface cn.hutool.core.map.TreeEntry
获取以当前节点作为根节点的树结构,然后遍历所有节点
forEachRemaining(Consumer<? super T>) - Method in class cn.hutool.core.collection.TransSpliterator
 
foreColor - Variable in class cn.hutool.extra.qrcode.QrConfig
前景色(二维码颜色)
foreground(int) - Static method in class cn.hutool.core.lang.ansi.Ansi8BitColor
前景色ANSI颜色实例
ForeOrBack - Enum in cn.hutool.core.lang.ansi
区分前景还是背景
ForestMap<K,V> - Interface in cn.hutool.core.map
基于多个TreeEntry构成的、彼此平行的树结构构成的森林集合。
form(String, Object) - Method in class cn.hutool.http.HttpRequest
设置表单数据
form(String, Object, Object...) - Method in class cn.hutool.http.HttpRequest
设置表单数据
form(Map<String, Object>) - Method in class cn.hutool.http.HttpRequest
设置map类型表单数据
form(String, File...) - Method in class cn.hutool.http.HttpRequest
文件表单项
一旦有文件加入,表单变为multipart/form-data
form(String, File) - Method in class cn.hutool.http.HttpRequest
文件表单项
一旦有文件加入,表单变为multipart/form-data
form(String, File, String) - Method in class cn.hutool.http.HttpRequest
文件表单项
一旦有文件加入,表单变为multipart/form-data
form(String, byte[], String) - Method in class cn.hutool.http.HttpRequest
文件byte[]表单项
一旦有文件加入,表单变为multipart/form-data
form(String, Resource) - Method in class cn.hutool.http.HttpRequest
文件表单项
一旦有文件加入,表单变为multipart/form-data
form() - Method in class cn.hutool.http.HttpRequest
获取表单数据
format(double, boolean) - Static method in class cn.hutool.core.convert.NumberChineseFormatter
阿拉伯数字转换成中文,小数点后四舍五入保留两位.
format(double, boolean, boolean, String, String) - Static method in class cn.hutool.core.convert.NumberChineseFormatter
阿拉伯数字转换成中文.
format(double, boolean, boolean) - Static method in class cn.hutool.core.convert.NumberChineseFormatter
阿拉伯数字转换成中文,小数点后四舍五入保留两位.
format(long, boolean) - Static method in class cn.hutool.core.convert.NumberChineseFormatter
阿拉伯数字(支持正负整数)转换成中文
format(BigDecimal, boolean, boolean) - Static method in class cn.hutool.core.convert.NumberChineseFormatter
阿拉伯数字转换成中文.
format(Object) - Static method in class cn.hutool.core.convert.NumberWordFormatter
将阿拉伯数字转为英文表达式
format() - Method in class cn.hutool.core.date.BetweenFormatter
格式化日期间隔输出
format(LocalDateTime, String) - Static method in class cn.hutool.core.date.DateUtil
根据特定格式格式化日期
format(Date, String) - Static method in class cn.hutool.core.date.DateUtil
根据特定格式格式化日期
format(Date, DatePrinter) - Static method in class cn.hutool.core.date.DateUtil
根据特定格式格式化日期
format(Date, DateFormat) - Static method in class cn.hutool.core.date.DateUtil
根据特定格式格式化日期
format(Date, DateTimeFormatter) - Static method in class cn.hutool.core.date.DateUtil
根据特定格式格式化日期
format(long) - Method in interface cn.hutool.core.date.format.DatePrinter
格式化日期表示的毫秒数
format(Date) - Method in interface cn.hutool.core.date.format.DatePrinter
使用 GregorianCalendar 格式化 Date
format(Calendar) - Method in interface cn.hutool.core.date.format.DatePrinter
Formats a Calendar object.
format(long, B) - Method in interface cn.hutool.core.date.format.DatePrinter
Formats a millisecond long value into the supplied Appendable.
format(Date, B) - Method in interface cn.hutool.core.date.format.DatePrinter
Formats a Date object into the supplied Appendable using a GregorianCalendar.
format(Calendar, B) - Method in interface cn.hutool.core.date.format.DatePrinter
Formats a Calendar object into the supplied Appendable.
format(Object, StringBuffer, FieldPosition) - Method in class cn.hutool.core.date.format.FastDateFormat
 
format(long) - Method in class cn.hutool.core.date.format.FastDateFormat
 
format(Date) - Method in class cn.hutool.core.date.format.FastDateFormat
 
format(Calendar) - Method in class cn.hutool.core.date.format.FastDateFormat
 
format(long, B) - Method in class cn.hutool.core.date.format.FastDateFormat
 
format(Date, B) - Method in class cn.hutool.core.date.format.FastDateFormat
 
format(Calendar, B) - Method in class cn.hutool.core.date.format.FastDateFormat
 
format(long) - Method in class cn.hutool.core.date.format.FastDatePrinter
 
format(Date) - Method in class cn.hutool.core.date.format.FastDatePrinter
 
format(Calendar) - Method in class cn.hutool.core.date.format.FastDatePrinter
 
format(long, B) - Method in class cn.hutool.core.date.format.FastDatePrinter
 
format(Date, B) - Method in class cn.hutool.core.date.format.FastDatePrinter
 
format(Calendar, B) - Method in class cn.hutool.core.date.format.FastDatePrinter
 
format(Date, CharSequence) - Static method in class cn.hutool.core.date.format.GlobalCustomFormat
使用自定义格式格式化日期
format(TemporalAccessor, CharSequence) - Static method in class cn.hutool.core.date.format.GlobalCustomFormat
使用自定义格式格式化日期
format(LocalDateTime, DateTimeFormatter) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
格式化日期时间为指定格式
format(LocalDateTime, String) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
格式化日期时间为指定格式
format(LocalDate, DateTimeFormatter) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
格式化日期时间为指定格式
format(LocalDate, String) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
格式化日期时间为指定格式
format(TemporalAccessor, DateTimeFormatter) - Static method in class cn.hutool.core.date.TemporalAccessorUtil
格式化日期时间为指定格式
如果为Month,调用Enum.toString()
format(TemporalAccessor, String) - Static method in class cn.hutool.core.date.TemporalAccessorUtil
格式化日期时间为指定格式
如果为Month,调用Enum.toString()
format(long) - Static method in class cn.hutool.core.io.unit.DataSizeUtil
可读的文件大小
参考 http://stackoverflow.com/questions/3263892/format-file-size-as-mb-gb-etc
format(CharSequence, Object...) - Static method in class cn.hutool.core.text.CharSequenceUtil
格式化文本, {} 表示占位符
此方法只是简单将占位符 {} 按照顺序替换为参数
如果想输出 {} 使用 \\转义 { 即可,如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可
例:
通常使用:format("this is {} for {}", "a", "b") =》 this is a for b
转义{}: format("this is \\{} for {}", "a", "b") =》 this is {} for a
转义\: format("this is \\\\{} for {}", "a", "b") =》 this is \a for b
format(String, Object...) - Static method in class cn.hutool.core.text.StrFormatter
格式化字符串
此方法只是简单将占位符 {} 按照顺序替换为参数
如果想输出 {} 使用 \\转义 { 即可,如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可
例:
通常使用:format("this is {} for {}", "a", "b") =》 this is a for b
转义{}: format("this is \\{} for {}", "a", "b") =》 this is \{} for a
转义\: format("this is \\\\{} for {}", "a", "b") =》 this is \a for b
format(CharSequence, Map<?, ?>, boolean) - Static method in class cn.hutool.core.text.StrFormatter
格式化文本,使用 {varName} 占位
map = {a: "aValue", b: "bValue"} format("{a} and {b}", map) ---=》 aValue and bValue
format(String) - Static method in class cn.hutool.core.util.HexUtil
格式化Hex字符串,结果为每2位加一个空格,类似于:
format(String, String) - Static method in class cn.hutool.core.util.HexUtil
格式化Hex字符串,结果为每2位加一个空格,类似于:
format(CharSequence, Map<?, ?>) - Static method in class cn.hutool.core.util.StrUtil
格式化文本,使用 {varName} 占位
map = {a: "aValue", b: "bValue"} format("{a} and {b}", map) ---=》 aValue and bValue
format(CharSequence, Map<?, ?>, boolean) - Static method in class cn.hutool.core.util.StrUtil
格式化文本,使用 {varName} 占位
map = {a: "aValue", b: "bValue"} format("{a} and {b}", map) ---=》 aValue and bValue
format(Document) - Static method in class cn.hutool.core.util.XmlUtil
格式化XML输出
format(String) - Static method in class cn.hutool.core.util.XmlUtil
格式化XML输出
format() - Method in class cn.hutool.db.sql.SqlBuilder
格式化SQL语句
format(String) - Static method in class cn.hutool.db.sql.SqlFormatter
 
format(String) - Static method in class cn.hutool.json.JSONStrFormatter
返回格式化JSON字符串。
FORMAT_MILLISECONDS - Static variable in class cn.hutool.core.date.format.GlobalCustomFormat
格式:毫秒时间戳
FORMAT_SECONDS - Static variable in class cn.hutool.core.date.format.GlobalCustomFormat
格式:秒时间戳(Unix时间戳)
formatBetween(Date, Date, BetweenFormatter.Level) - Static method in class cn.hutool.core.date.DateUtil
格式化日期间隔输出
formatBetween(Date, Date) - Static method in class cn.hutool.core.date.DateUtil
格式化日期间隔输出,精确到毫秒
formatBetween(long, BetweenFormatter.Level) - Static method in class cn.hutool.core.date.DateUtil
格式化日期间隔输出
formatBetween(long) - Static method in class cn.hutool.core.date.DateUtil
格式化日期间隔输出,精确到毫秒
formatCellContent(String, int, String) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
格式化数字或日期值
formatChineseDate(Calendar, boolean) - Static method in class cn.hutool.core.date.CalendarUtil
将指定Calendar时间格式化为纯中文形式,比如:
formatChineseDate(Date, boolean, boolean) - Static method in class cn.hutool.core.date.DateUtil
格式化为中文日期格式,如果isUppercase为false,则返回类似:2018年10月24日,否则返回二〇一八年十月二十四日
formatDate(Date) - Static method in class cn.hutool.core.date.DateUtil
格式化日期部分(不包括时间)
格式 yyyy-MM-dd
formatDateTime(Date) - Static method in class cn.hutool.core.date.DateUtil
格式化日期时间
格式 yyyy-MM-dd HH:mm:ss
formatHttpDate(Date) - Static method in class cn.hutool.core.date.DateUtil
格式化为Http的标准日期格式
标准日期格式遵循RFC 1123规范,格式类似于:Fri, 31 Dec 1999 23:59:59 GMT
formatIpBlock(String, String) - Static method in class cn.hutool.core.net.Ipv4Util
格式化IP段
formatJsonStr(String) - Static method in class cn.hutool.json.JSONUtil
格式化JSON字符串,此方法并不严格检查JSON的格式正确与否
formatLocalDateTime(LocalDateTime) - Static method in class cn.hutool.core.date.DateUtil
格式化日期时间
格式 yyyy-MM-dd HH:mm:ss
formatNormal(LocalDateTime) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
格式化日期时间为yyyy-MM-dd HH:mm:ss格式
formatNormal(LocalDate) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
格式化日期时间为yyyy-MM-dd格式
formatPercent(double, int) - Static method in class cn.hutool.core.util.NumberUtil
格式化百分比,小数采用四舍五入方式
formatSimple(long) - Static method in class cn.hutool.core.convert.NumberChineseFormatter
阿拉伯数字(支持正负整数)四舍五入后转换成中文节权位简洁计数单位,例如 -5_5555 =》 -5.56万
formatSimple(long) - Static method in class cn.hutool.core.convert.NumberWordFormatter
将阿拉伯数字转化为简洁计数单位,例如 2100 =》 2.1k 范围默认只到w
formatSimple(long, boolean) - Static method in class cn.hutool.core.convert.NumberWordFormatter
将阿拉伯数字转化为简介计数单位,例如 2100 =》 2.1k
formatSql(String) - Static method in class cn.hutool.db.sql.SqlUtil
格式化SQL
formatThousand(int, boolean) - Static method in class cn.hutool.core.convert.NumberChineseFormatter
格式化-999~999之间的数字
这个方法显示10~19以下的数字时使用"十一"而非"一十一"。
formatTime(Date) - Static method in class cn.hutool.core.date.DateUtil
格式化时间
格式 HH:mm:ss
formatWith(String, String, Object...) - Static method in class cn.hutool.core.text.StrFormatter
格式化字符串
此方法只是简单将指定占位符 按照顺序替换为参数
如果想输出占位符使用 \\转义即可,如果想输出占位符之前的 \ 使用双转义符 \\\\ 即可
例:
通常使用:format("this is {} for {}", "{}", "a", "b") =》 this is a for b
转义{}: format("this is \\{} for {}", "{}", "a", "b") =》 this is {} for a
转义\: format("this is \\\\{} for {}", "{}", "a", "b") =》 this is \a for b
formStr(Map<String, String>) - Method in class cn.hutool.http.HttpRequest
设置map<String, String>类型表单数据
FormulaCellValue - Class in cn.hutool.poi.excel.cell
公式类型的值
在Sax读取模式时,此对象用于接收单元格的公式以及公式结果值信息 在写出模式时,用于定义写出的单元格类型为公式
FormulaCellValue(String) - Constructor for class cn.hutool.poi.excel.cell.FormulaCellValue
构造
FormulaCellValue(String, Object) - Constructor for class cn.hutool.poi.excel.cell.FormulaCellValue
构造
FormUrlencoded - Class in cn.hutool.core.net
application/x-www-form-urlencoded,遵循W3C HTML Form content types规范,如空格须转+,+须被编码
规范见:https://url.spec.whatwg.org/#urlencoded-serializing
FormUrlencoded() - Constructor for class cn.hutool.core.net.FormUrlencoded
 
FormUrlEncodedBody - Class in cn.hutool.http.body
application/x-www-form-urlencoded 类型请求body封装
FormUrlEncodedBody(Map<String, Object>, Charset) - Constructor for class cn.hutool.http.body.FormUrlEncodedBody
构造
FoundWord - Class in cn.hutool.dfa
匹配到的单词,包含单词,text中匹配单词的内容,以及匹配内容在text中的下标, 下标可以用来做单词的进一步处理,如果替换成**
FoundWord(String, String, int, int) - Constructor for class cn.hutool.dfa.FoundWord
构造
fpe(FPE.FPEMode, byte[], AlphabetMapper, byte[]) - Static method in class cn.hutool.crypto.SecureUtil
FPE(Format Preserving Encryption)实现,支持FF1和FF3-1模式。
FPE - Class in cn.hutool.crypto.symmetric.fpe
FPE(Format Preserving Encryption)实现,支持FF1和FF3-1模式。
相关介绍见:https://anquan.baidu.com/article/193
FPE(FPE.FPEMode, byte[], AlphabetMapper) - Constructor for class cn.hutool.crypto.symmetric.fpe.FPE
构造,使用空的Tweak
FPE(FPE.FPEMode, byte[], AlphabetMapper, byte[]) - Constructor for class cn.hutool.crypto.symmetric.fpe.FPE
构造
FPE.FPEMode - Enum in cn.hutool.crypto.symmetric.fpe
FPE模式
FPE包括两种模式:FF1和FF3(FF2弃用),核心均为Feistel网络结构。
FRAGMENT - Static variable in class cn.hutool.core.net.RFC3986
fragment = pchar / "/" / "?"
FRAGMENT - Static variable in class cn.hutool.core.net.URLEncoder
Deprecated.
URL的Fragment URLEncoder
默认的编码器针对Fragment,定义如下:
frameCount - Variable in class cn.hutool.core.img.gif.GifDecoder
 
frames - Variable in class cn.hutool.core.img.gif.GifDecoder
 
free(PooledConnection) - Method in class cn.hutool.db.ds.pooled.PooledDataSource
释放连接,连接会被返回给连接池
FreemarkerEngine - Class in cn.hutool.extra.template.engine.freemarker
FreeMarker模板引擎封装
见:https://freemarker.apache.org/
FreemarkerEngine() - Constructor for class cn.hutool.extra.template.engine.freemarker.FreemarkerEngine
默认构造
FreemarkerEngine(TemplateConfig) - Constructor for class cn.hutool.extra.template.engine.freemarker.FreemarkerEngine
构造
FreemarkerEngine(Configuration) - Constructor for class cn.hutool.extra.template.engine.freemarker.FreemarkerEngine
构造
FreemarkerTemplate - Class in cn.hutool.extra.template.engine.freemarker
Freemarker模板实现
FreemarkerTemplate(Template) - Constructor for class cn.hutool.extra.template.engine.freemarker.FreemarkerTemplate
构造
freq - Variable in class cn.hutool.core.img.gif.NeuQuant
 
from(Path) - Static method in class cn.hutool.core.img.Img
从Path读取图片并开始处理
from(File) - Static method in class cn.hutool.core.img.Img
从文件读取图片并开始处理
from(Resource) - Static method in class cn.hutool.core.img.Img
从资源对象中读取图片并开始处理
from(InputStream) - Static method in class cn.hutool.core.img.Img
从流读取图片并开始处理
from(ImageInputStream) - Static method in class cn.hutool.core.img.Img
从ImageInputStream取图片并开始处理
from(URL) - Static method in class cn.hutool.core.img.Img
从URL取图片并开始处理
from(Image) - Static method in class cn.hutool.core.img.Img
从Image取图片并开始处理
from(String...) - Method in class cn.hutool.db.sql.SqlBuilder
添加 from语句
fromInt(Integer) - Method in interface cn.hutool.core.lang.EnumItem
通过int类型值查找兄弟其他枚举
fromStr(String) - Method in interface cn.hutool.core.lang.EnumItem
通过String类型的值转换,根据实现可以用name/text
fromString(String) - Static method in class cn.hutool.core.lang.UUID
根据 UUID.toString() 方法中描述的字符串标准表示形式创建UUID
fromString(Class<E>, String) - Static method in class cn.hutool.core.util.EnumUtil
字符串转枚举,调用Enum.valueOf(Class, String)
fromString(Class<E>, String, E) - Static method in class cn.hutool.core.util.EnumUtil
字符串转枚举,调用Enum.valueOf(Class, String)
如果无枚举值,返回默认值
fromString(String) - Static method in enum cn.hutool.db.sql.Direction
根据字符串值返回对应Direction值
fromStringQuietly(Class<E>, String) - Static method in class cn.hutool.core.util.EnumUtil
字符串转枚举,调用Enum.valueOf(Class, String),转换失败返回null 而非报错
fromSuffix(String) - Static method in enum cn.hutool.core.io.unit.DataUnit
通过后缀返回对应的 DataUnit
fromUnsignedByteArray(byte[]) - Static method in class cn.hutool.core.util.NumberUtil
无符号bytes转BigInteger
fromUnsignedByteArray(byte[], int, int) - Static method in class cn.hutool.core.util.NumberUtil
无符号bytes转BigInteger
Ftp - Class in cn.hutool.extra.ftp
FTP客户端封装
此客户端基于Apache-Commons-Net
Ftp(String) - Constructor for class cn.hutool.extra.ftp.Ftp
构造,匿名登录
Ftp(String, int) - Constructor for class cn.hutool.extra.ftp.Ftp
构造,匿名登录
Ftp(String, int, String, String) - Constructor for class cn.hutool.extra.ftp.Ftp
构造
Ftp(String, int, String, String, Charset) - Constructor for class cn.hutool.extra.ftp.Ftp
构造
Ftp(String, int, String, String, Charset, String, String) - Constructor for class cn.hutool.extra.ftp.Ftp
构造
Ftp(String, int, String, String, Charset, String, String, FtpMode) - Constructor for class cn.hutool.extra.ftp.Ftp
构造
Ftp(FtpConfig, FtpMode) - Constructor for class cn.hutool.extra.ftp.Ftp
构造
Ftp(FTPClient) - Constructor for class cn.hutool.extra.ftp.Ftp
构造
ftpConfig - Variable in class cn.hutool.extra.ftp.AbstractFtp
 
FtpConfig - Class in cn.hutool.extra.ftp
FTP配置项,提供FTP各种参数信息
FtpConfig() - Constructor for class cn.hutool.extra.ftp.FtpConfig
构造
FtpConfig(String, int, String, String, Charset) - Constructor for class cn.hutool.extra.ftp.FtpConfig
构造
FtpConfig(String, int, String, String, Charset, String, String) - Constructor for class cn.hutool.extra.ftp.FtpConfig
构造
FtpException - Exception in cn.hutool.extra.ftp
Ftp异常
FtpException(Throwable) - Constructor for exception cn.hutool.extra.ftp.FtpException
 
FtpException(String) - Constructor for exception cn.hutool.extra.ftp.FtpException
 
FtpException(String, Object...) - Constructor for exception cn.hutool.extra.ftp.FtpException
 
FtpException(String, Throwable) - Constructor for exception cn.hutool.extra.ftp.FtpException
 
FtpException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.extra.ftp.FtpException
 
FtpException(Throwable, String, Object...) - Constructor for exception cn.hutool.extra.ftp.FtpException
 
FtpMode - Enum in cn.hutool.extra.ftp
FTP连接模式
FULL - Static variable in class cn.hutool.core.date.format.FastDateFormat
FULL locale dependent date or time style.
FullSupportScriptEngine - Class in cn.hutool.script
全功能引擎类,支持Compilable和Invocable
FullSupportScriptEngine(ScriptEngine) - Constructor for class cn.hutool.script.FullSupportScriptEngine
构造
FullSupportScriptEngine(String) - Constructor for class cn.hutool.script.FullSupportScriptEngine
构造
Func<P,R> - Interface in cn.hutool.core.lang.func
函数对象
接口灵感来自于ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
Func0<R> - Interface in cn.hutool.core.lang.func
无参数的函数对象
接口灵感来自于ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
Func1<P,R> - Interface in cn.hutool.core.lang.func
只有一个参数的函数对象
接口灵感来自于ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
FuncComparator<T> - Class in cn.hutool.core.comparator
指定函数排序器
FuncComparator(boolean, Function<T, Comparable<?>>) - Constructor for class cn.hutool.core.comparator.FuncComparator
构造
FuncComparator(boolean, boolean, Function<T, Comparable<?>>) - Constructor for class cn.hutool.core.comparator.FuncComparator
构造
FuncFilter - Class in cn.hutool.bloomfilter.filter
基于Hash函数方法的BloomFilter
FuncFilter(long, Function<String, Number>) - Constructor for class cn.hutool.bloomfilter.filter.FuncFilter
构造
FuncFilter(long, int, Function<String, Number>) - Constructor for class cn.hutool.bloomfilter.filter.FuncFilter
 
FuncKeyMap<K,V> - Class in cn.hutool.core.map
自定义函数Key风格的Map
FuncKeyMap(Map<K, V>, Function<Object, K>) - Constructor for class cn.hutool.core.map.FuncKeyMap
构造
注意提供的Map中不能有键值对,否则可能导致自定义key失效
FuncMap<K,V> - Class in cn.hutool.core.map
自定义键值函数风格的Map
FuncMap(Supplier<Map<K, V>>, Function<Object, K>, Function<Object, V>) - Constructor for class cn.hutool.core.map.FuncMap
构造
注意提供的Map中不能有键值对,否则可能导致自定义key失效
FuncMap(Map<K, V>, Function<Object, K>, Function<Object, V>) - Constructor for class cn.hutool.core.map.FuncMap
构造
注意提供的Map中不能有键值对,否则可能导致自定义key失效

G

GAMMA - Static variable in class cn.hutool.core.img.gif.NeuQuant
 
GAMMASHIFT - Static variable in class cn.hutool.core.img.gif.NeuQuant
 
GanymedUtil - Class in cn.hutool.extra.ssh
Ganymed-SSH2封装,见:http://www.ganymed.ethz.ch/ssh2/
GanymedUtil() - Constructor for class cn.hutool.extra.ssh.GanymedUtil
 
GanZhi - Class in cn.hutool.core.date.chinese
天干地支类 天干地支,简称为干支
GanZhi() - Constructor for class cn.hutool.core.date.chinese.GanZhi
 
GBK - Static variable in class cn.hutool.core.util.CharsetUtil
GBK
gcj02ToBd09(double, double) - Static method in class cn.hutool.core.util.CoordinateUtil
火星坐标系 (GCJ-02) 与百度坐标系 (BD-09) 的转换
gcj02ToWgs84(double, double) - Static method in class cn.hutool.core.util.CoordinateUtil
火星坐标系 (GCJ-02) 转换为 WGS84
gct - Variable in class cn.hutool.core.img.gif.GifDecoder
 
gctFlag - Variable in class cn.hutool.core.img.gif.GifDecoder
 
gctSize - Variable in class cn.hutool.core.img.gif.GifDecoder
 
GEN_DELIMS - Static variable in class cn.hutool.core.net.RFC3986
gen-delims = ":" / "/" / "?" / "#" / "[" / "]" / "@"
GENERAL - Static variable in class cn.hutool.core.lang.PatternPool
英文字母 、数字和下划线
GENERAL - Static variable in interface cn.hutool.core.lang.RegexPool
英文字母 、数字和下划线
GENERAL - Static variable in class cn.hutool.core.lang.Validator
英文字母 、数字和下划线
GENERAL_WITH_CHINESE - Static variable in class cn.hutool.core.lang.PatternPool
中文字、英文字母、数字和下划线
GENERAL_WITH_CHINESE - Static variable in interface cn.hutool.core.lang.RegexPool
中文字、英文字母、数字和下划线
GENERAL_WITH_CHINESE - Static variable in class cn.hutool.core.lang.Validator
中文字、英文字母、数字和下划线
generate() - Method in interface cn.hutool.captcha.generator.CodeGenerator
生成验证码
generate() - Method in class cn.hutool.captcha.generator.MathGenerator
 
generate() - Method in class cn.hutool.captcha.generator.RandomGenerator
 
generate() - Method in class cn.hutool.core.net.LocalPortGenerater
生成一个本地端口,用于远程端口映射
generate(long) - Method in class cn.hutool.crypto.digest.otp.HOTP
生成一次性密码
generate(Instant) - Method in class cn.hutool.crypto.digest.otp.TOTP
使用给定的时间戳生成一次性密码.
generate(String, int, int, File) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
生成二维码到文件,二维码图片格式取决于文件的扩展名
generate(String, QrConfig, File) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
生成二维码到文件,二维码图片格式取决于文件的扩展名
generate(String, int, int, String, OutputStream) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
生成二维码到输出流
generate(String, QrConfig, String, OutputStream) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
生成二维码到输出流
generate(String, int, int) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
生成二维码图片
generate(String, BarcodeFormat, int, int) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
生成二维码或条形码图片
generate(String, QrConfig) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
生成二维码图片
generate(String, BarcodeFormat, QrConfig) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
生成二维码或条形码图片
只有二维码时QrConfig中的图片才有效
generateAlgorithm(AsymmetricAlgorithm, DigestAlgorithm) - Static method in class cn.hutool.crypto.SecureUtil
生成算法,格式为XXXwithXXX
generateAsAsciiArt(String) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
生成ASCII Art字符画形式的二维码
generateAsAsciiArt(String, QrConfig) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
生成ASCII Art字符画形式的二维码
generateAsAsciiArt(String, int, int, int) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
 
generateAsBase64(String, QrConfig, String, String) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
生成代 logo 图片的 Base64 编码格式的二维码,以 String 形式表示
generateAsBase64(String, QrConfig, String, byte[]) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
生成代 logo 图片的 Base64 编码格式的二维码,以 String 形式表示
generateAsBase64(String, QrConfig, String, Image) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
生成代 logo 图片的 Base64 编码格式的二维码,以 String 形式表示
generateAsBase64(String, QrConfig, String) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
生成 Base64 编码格式的二维码,以 String 形式表示
generateAsSvg(String, QrConfig) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
 
generateBySet(int, int, int) - Static method in class cn.hutool.core.util.NumberUtil
生成不重复随机数 根据给定的最小数字和最大数字,以及随机数的个数,产生指定的不重复的数组
generateCode() - Method in class cn.hutool.captcha.AbstractCaptcha
生成验证码字符串
generateDESKey(String, byte[]) - Static method in class cn.hutool.crypto.KeyUtil
生成 SecretKey
generateDESKey(String, byte[]) - Static method in class cn.hutool.crypto.SecureUtil
生成 SecretKey
generateGoogleSecretKey(String, int) - Static method in class cn.hutool.crypto.digest.otp.TOTP
生成谷歌认证器的字符串(扫码字符串) 基于时间的,计数器不适合
generateKey(String) - Static method in class cn.hutool.crypto.KeyUtil
生成 SecretKey,仅用于对称加密和摘要算法密钥生成
generateKey(String, int) - Static method in class cn.hutool.crypto.KeyUtil
生成 SecretKey,仅用于对称加密和摘要算法密钥生成
当指定keySize<0时,AES默认长度为128,其它算法不指定。
generateKey(String, int, SecureRandom) - Static method in class cn.hutool.crypto.KeyUtil
生成 SecretKey,仅用于对称加密和摘要算法密钥生成
当指定keySize<0时,AES默认长度为128,其它算法不指定。
generateKey(String, byte[]) - Static method in class cn.hutool.crypto.KeyUtil
生成 SecretKey,仅用于对称加密和摘要算法密钥生成
generateKey(String, KeySpec) - Static method in class cn.hutool.crypto.KeyUtil
生成 SecretKey,仅用于对称加密和摘要算法
generateKey(String) - Static method in class cn.hutool.crypto.SecureUtil
生成 SecretKey,仅用于对称加密和摘要算法密钥生成
generateKey(String, int) - Static method in class cn.hutool.crypto.SecureUtil
生成 SecretKey,仅用于对称加密和摘要算法密钥生成
generateKey(String, byte[]) - Static method in class cn.hutool.crypto.SecureUtil
生成 SecretKey,仅用于对称加密和摘要算法密钥生成
generateKey(String, KeySpec) - Static method in class cn.hutool.crypto.SecureUtil
生成 SecretKey,仅用于对称加密和摘要算法
generateKey(ZUC.ZUCAlgorithm) - Static method in class cn.hutool.crypto.symmetric.ZUC
生成ZUC算法密钥
generateKeyPair(String) - Static method in class cn.hutool.crypto.KeyUtil
生成用于非对称加密的公钥和私钥,仅用于非对称加密
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
generateKeyPair(String, int) - Static method in class cn.hutool.crypto.KeyUtil
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
generateKeyPair(String, int, byte[]) - Static method in class cn.hutool.crypto.KeyUtil
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
generateKeyPair(String, AlgorithmParameterSpec) - Static method in class cn.hutool.crypto.KeyUtil
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
generateKeyPair(String, byte[], AlgorithmParameterSpec) - Static method in class cn.hutool.crypto.KeyUtil
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
generateKeyPair(String, int, byte[], AlgorithmParameterSpec...) - Static method in class cn.hutool.crypto.KeyUtil
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
generateKeyPair(String, int, SecureRandom, AlgorithmParameterSpec...) - Static method in class cn.hutool.crypto.KeyUtil
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
generateKeyPair(String) - Static method in class cn.hutool.crypto.SecureUtil
生成用于非对称加密的公钥和私钥,仅用于非对称加密
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
generateKeyPair(String, int) - Static method in class cn.hutool.crypto.SecureUtil
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
generateKeyPair(String, int, byte[]) - Static method in class cn.hutool.crypto.SecureUtil
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
generateKeyPair(String, AlgorithmParameterSpec) - Static method in class cn.hutool.crypto.SecureUtil
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
generateKeyPair(String, byte[], AlgorithmParameterSpec) - Static method in class cn.hutool.crypto.SecureUtil
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
generateLocalPort() - Static method in class cn.hutool.extra.ssh.JschUtil
生成一个本地端口,用于远程端口映射
generatePBEKey(String, char[]) - Static method in class cn.hutool.crypto.KeyUtil
生成PBE SecretKey
generatePBEKey(String, char[]) - Static method in class cn.hutool.crypto.SecureUtil
生成PBE SecretKey
generatePng(String, int, int) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
生成PNG格式的二维码图片,以byte[]形式表示
generatePng(String, QrConfig) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
生成PNG格式的二维码图片,以byte[]形式表示
generatePrivateKey(BigInteger, BigInteger) - Static method in class cn.hutool.crypto.asymmetric.RSA
生成RSA私钥
generatePrivateKey(String, byte[]) - Static method in class cn.hutool.crypto.KeyUtil
生成私钥,仅用于非对称加密
采用PKCS#8规范,此规范定义了私钥信息语法和加密私钥语法
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
generatePrivateKey(String, KeySpec) - Static method in class cn.hutool.crypto.KeyUtil
生成私钥,仅用于非对称加密
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
generatePrivateKey(KeyStore, String, char[]) - Static method in class cn.hutool.crypto.KeyUtil
生成私钥,仅用于非对称加密
generatePrivateKey(String, byte[]) - Static method in class cn.hutool.crypto.SecureUtil
生成私钥,仅用于非对称加密
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
generatePrivateKey(String, KeySpec) - Static method in class cn.hutool.crypto.SecureUtil
生成私钥,仅用于非对称加密
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
generatePrivateKey(KeyStore, String, char[]) - Static method in class cn.hutool.crypto.SecureUtil
生成私钥,仅用于非对称加密
generatePublicKey(BigInteger, BigInteger) - Static method in class cn.hutool.crypto.asymmetric.RSA
生成RSA公钥
generatePublicKey(String, byte[]) - Static method in class cn.hutool.crypto.KeyUtil
生成公钥,仅用于非对称加密
采用X509证书规范
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
generatePublicKey(String, KeySpec) - Static method in class cn.hutool.crypto.KeyUtil
生成公钥,仅用于非对称加密
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
generatePublicKey(String, byte[]) - Static method in class cn.hutool.crypto.SecureUtil
生成公钥,仅用于非对称加密
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
generatePublicKey(String, KeySpec) - Static method in class cn.hutool.crypto.SecureUtil
生成公钥,仅用于非对称加密
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
generateRandomNumber(int, int, int) - Static method in class cn.hutool.core.util.NumberUtil
生成不重复随机数 根据给定的最小数字和最大数字,以及随机数的个数,产生指定的不重复的数组
generateRandomNumber(int, int, int, int[]) - Static method in class cn.hutool.core.util.NumberUtil
生成不重复随机数 根据给定的最小数字和最大数字,以及随机数的个数,产生指定的不重复的数组
generateRSAPrivateKey(byte[]) - Static method in class cn.hutool.crypto.KeyUtil
生成RSA私钥,仅用于非对称加密
采用PKCS#8规范,此规范定义了私钥信息语法和加密私钥语法
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
generateRSAPublicKey(byte[]) - Static method in class cn.hutool.crypto.KeyUtil
生成RSA公钥,仅用于非对称加密
采用X509证书规范
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
generateSecretKey(int) - Static method in class cn.hutool.crypto.digest.otp.HOTP
生成共享密钥的Base32表示形式
generateSignature(AsymmetricAlgorithm, DigestAlgorithm) - Static method in class cn.hutool.crypto.SecureUtil
生成签名对象,仅用于非对称加密
generator - Variable in class cn.hutool.captcha.AbstractCaptcha
验证码生成器
Generator<T> - Interface in cn.hutool.core.lang.generator
生成器泛型接口
通过实现此接口可以自定义生成对象的策略
GenericAnnotationScanner - Class in cn.hutool.core.annotation.scanner
通用注解扫描器,支持按不同的层级结构扫描AnnotatedElement上的注解。
GenericAnnotationScanner(boolean, boolean, boolean) - Constructor for class cn.hutool.core.annotation.scanner.GenericAnnotationScanner
构造一个通用注解扫描器
GenericBuilder<T> - Class in cn.hutool.core.builder
通用Builder
GenericBuilder(Supplier<T>) - Constructor for class cn.hutool.core.builder.GenericBuilder
构造
GenericSynthesizedAggregateAnnotation - Class in cn.hutool.core.annotation
SynthesizedAggregateAnnotation的基本实现,表示基于多个注解对象, 或多个根注解对象与他们的多层元注解对象的聚合得到的注解。
GenericSynthesizedAggregateAnnotation(Annotation...) - Constructor for class cn.hutool.core.annotation.GenericSynthesizedAggregateAnnotation
基于指定根注解,为其与其元注解的层级结构中的全部注解构造一个合成注解。 当层级结构中出现了相同的注解对象时,将优先选择以距离根注解最近,且优先被扫描的注解对象, 当获取值时,同样遵循该规则。
GenericSynthesizedAggregateAnnotation(List<Annotation>, AnnotationScanner) - Constructor for class cn.hutool.core.annotation.GenericSynthesizedAggregateAnnotation
基于指定根注解,为其层级结构中的全部注解构造一个合成注解。 若扫描器支持对注解的层级结构进行扫描,则若层级结构中出现了相同的注解对象时, 将优先选择以距离根注解最近,且优先被扫描的注解对象,并且当获取注解属性值时同样遵循该规则。
GenericSynthesizedAggregateAnnotation(List<Annotation>, SynthesizedAnnotationSelector, SynthesizedAnnotationAttributeProcessor, Collection<SynthesizedAnnotationPostProcessor>, AnnotationScanner) - Constructor for class cn.hutool.core.annotation.GenericSynthesizedAggregateAnnotation
基于指定根注解,为其层级结构中的全部注解构造一个合成注解
GenericSynthesizedAggregateAnnotation.MetaAnnotation - Class in cn.hutool.core.annotation
注解包装类,表示AbstractAnnotationSynthesizer.source以及AbstractAnnotationSynthesizer.source所属层级结构中的全部关联注解对象
GenericSynthesizedAnnotation<R,T extends Annotation> - Class in cn.hutool.core.annotation
SynthesizedAnnotation的基本实现
GenericSynthesizedAnnotation(R, T, int, int) - Constructor for class cn.hutool.core.annotation.GenericSynthesizedAnnotation
创建一个合成注解
genGetter(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
生成get方法名
gensalt(int, SecureRandom) - Static method in class cn.hutool.crypto.digest.BCrypt
生成盐
gensalt(int) - Static method in class cn.hutool.crypto.digest.BCrypt
生成盐
gensalt() - Static method in class cn.hutool.crypto.digest.BCrypt
生成盐
genSetter(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
生成set方法名
例如:name 返回 setName
get(K) - Method in interface cn.hutool.cache.Cache
从缓存中获得对象,当对象不在缓存中或已经过期返回null
get(K, Func0<V>) - Method in interface cn.hutool.cache.Cache
从缓存中获得对象,当对象不在缓存中或已经过期返回Func0回调产生的对象
get(K, boolean, Func0<V>) - Method in interface cn.hutool.cache.Cache
从缓存中获得对象,当对象不在缓存中或已经过期返回Func0回调产生的对象
get(K, boolean, long, Func0<V>) - Method in interface cn.hutool.cache.Cache
从缓存中获得对象,当对象不在缓存中或已经过期返回Func0回调产生的对象
get(K, boolean) - Method in interface cn.hutool.cache.Cache
从缓存中获得对象,当对象不在缓存中或已经过期返回null
get(K, boolean, Func0<V>) - Method in class cn.hutool.cache.impl.AbstractCache
 
get(K, boolean, long, Func0<V>) - Method in class cn.hutool.cache.impl.AbstractCache
 
get(boolean) - Method in class cn.hutool.cache.impl.CacheObj
获取值
get(K) - Method in class cn.hutool.cache.impl.NoCache
 
get(K, boolean) - Method in class cn.hutool.cache.impl.NoCache
 
get(K, Func0<V>) - Method in class cn.hutool.cache.impl.NoCache
 
get(K, boolean, Func0<V>) - Method in class cn.hutool.cache.impl.NoCache
 
get(K, boolean, long, Func0<V>) - Method in class cn.hutool.cache.impl.NoCache
 
get(K, boolean) - Method in class cn.hutool.cache.impl.ReentrantCache
 
get(K, boolean) - Method in class cn.hutool.cache.impl.StampedCache
 
get(Object) - Method in class cn.hutool.core.bean.BeanPath
获取Bean中对应表达式的值
get(String) - Method in class cn.hutool.core.bean.DynaBean
获得字段对应值
get(int) - Method in class cn.hutool.core.collection.AvgPartition
 
get(Collection<T>, int) - Static method in class cn.hutool.core.collection.CollUtil
获取集合中指定下标的元素值,下标可以为负数,例如-1表示最后一个元素
如果元素越界,返回null
get(Iterator<E>, int) - Static method in class cn.hutool.core.collection.IterUtil
遍历Iterator,获取指定index位置的元素
get(int) - Method in class cn.hutool.core.collection.Partition
 
get(String) - Method in class cn.hutool.core.compress.ZipReader
获取指定路径的文件流
如果是文件模式,则直接获取Entry对应的流,如果是流模式,则遍历entry后,找到对应流返回
get(TemporalAccessor, TemporalField) - Static method in class cn.hutool.core.date.TemporalAccessorUtil
安全获取时间的某个属性,属性不存在返回最小值,一般为0
注意请谨慎使用此方法,某些TemporalAccessor.isSupported(TemporalField)false的方法返回最小值
get(int) - Method in class cn.hutool.core.io.FastByteBuffer
根据索引位返回一个字节
get(Object) - Method in class cn.hutool.core.lang.ConsistentHash
获得一个最近的顺时针节点
get(String, T) - Method in class cn.hutool.core.lang.Dict
获得特定类型值
get(Object) - Method in class cn.hutool.core.lang.Dict
 
get(P1) - Method in interface cn.hutool.core.lang.func.Supplier1
生成实例的方法
get(P1, P2) - Method in interface cn.hutool.core.lang.func.Supplier2
生成实例的方法
get(P1, P2, P3) - Method in interface cn.hutool.core.lang.func.Supplier3
生成实例的方法
get(P1, P2, P3, P4) - Method in interface cn.hutool.core.lang.func.Supplier4
生成实例的方法
get(P1, P2, P3, P4, P5) - Method in interface cn.hutool.core.lang.func.Supplier5
生成实例的方法
get() - Method in class cn.hutool.core.lang.loader.AtomicLoader
获取一个对象,第一次调用此方法时初始化对象然后返回,之后调用此方法直接返回原对象
get() - Method in class cn.hutool.core.lang.loader.LazyLoader
获取一个对象,第一次调用此方法时初始化对象然后返回,之后调用此方法直接返回原对象
get() - Method in interface cn.hutool.core.lang.loader.Loader
获取一个准备好的对象
通过准备逻辑准备好被加载的对象,然后返回。在准备完毕之前此方法应该被阻塞
get() - Method in interface cn.hutool.core.lang.mutable.Mutable
获得原始值
get() - Method in class cn.hutool.core.lang.mutable.MutableBool
 
get() - Method in class cn.hutool.core.lang.mutable.MutableByte
 
get() - Method in class cn.hutool.core.lang.mutable.MutableDouble
 
get() - Method in class cn.hutool.core.lang.mutable.MutableFloat
 
get() - Method in class cn.hutool.core.lang.mutable.MutableInt
 
get() - Method in class cn.hutool.core.lang.mutable.MutableLong
 
get() - Method in class cn.hutool.core.lang.mutable.MutableObj
 
get() - Method in class cn.hutool.core.lang.mutable.MutablePair
 
get() - Method in class cn.hutool.core.lang.mutable.MutableShort
 
get() - Method in class cn.hutool.core.lang.Opt
返回包裹里的元素,取不到则为null,注意!!!此处和Optional.get()不同的一点是本方法并不会抛出NoSuchElementException 如果元素为空,则返回null,如果需要一个绝对不能为null的值,则使用Opt.orElseThrow()
get(String) - Static method in class cn.hutool.core.lang.PatternPool
先从Pattern池中查找正则对应的Pattern,找不到则编译正则表达式并入池。
get(String, int) - Static method in class cn.hutool.core.lang.PatternPool
先从Pattern池中查找正则对应的Pattern,找不到则编译正则表达式并入池。
get() - Method in enum cn.hutool.core.lang.Pid
获取PID值
get(Type) - Static method in class cn.hutool.core.lang.reflect.ActualTypeMapperPool
获取泛型变量和泛型实际类型的对应关系Map
get(K) - Method in class cn.hutool.core.lang.SimpleCache
从缓存池中查找值
get(K, Func0<V>) - Method in class cn.hutool.core.lang.SimpleCache
从缓存中获得对象,当对象不在缓存中或已经过期返回Func0回调产生的对象
get(K, Predicate<V>, Func0<V>) - Method in class cn.hutool.core.lang.SimpleCache
从缓存中获得对象,当对象不在缓存中或已经过期返回Func0回调产生的对象
get(Class<T>, Object...) - Static method in class cn.hutool.core.lang.Singleton
获得指定类的单例对象
对象存在于池中返回,否则创建,每次调用此方法获得的对象为同一个对象
注意:单例针对的是类和参数,也就是说只有类、参数一致才会返回同一个对象
get(String, Func0<T>) - Static method in class cn.hutool.core.lang.Singleton
获得指定类的单例对象
对象存在于池中返回,否则创建,每次调用此方法获得的对象为同一个对象
get(String, Object...) - Static method in class cn.hutool.core.lang.Singleton
获得指定类的单例对象
对象存在于池中返回,否则创建,每次调用此方法获得的对象为同一个对象
get(int) - Method in class cn.hutool.core.lang.Tuple
获取指定位置元素
get(Object) - Method in class cn.hutool.core.map.LinkedForestMap
获取key对应的节点
get(Object) - Method in class cn.hutool.core.map.MapProxy
 
get(Map<?, ?>, Object, Class<T>) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为指定类型
get(Map<?, ?>, Object, Class<T>, T) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为指定类型
get(Map<?, ?>, Object, TypeReference<T>) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为指定类型
get(Map<?, ?>, Object, TypeReference<T>, T) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为指定类型
get(Object) - Method in class cn.hutool.core.map.MapWrapper
 
get(K, int) - Method in class cn.hutool.core.map.multi.AbsCollValueMap
获取值
get(R, C) - Method in interface cn.hutool.core.map.multi.Table
获取指定值
get(Object) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
 
get(Object) - Method in class cn.hutool.core.map.TableMap
 
get(Object) - Method in class cn.hutool.core.map.TolerantMap
 
get(Object) - Method in class cn.hutool.core.map.TransMap
 
get(int) - Static method in class cn.hutool.core.net.MaskBit
根据掩码位获取掩码
get(CharSequence) - Method in class cn.hutool.core.net.url.UrlQuery
获取查询值
get(DataFlavor) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
获取剪贴板内容
get(Transferable, DataFlavor) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
获取剪贴板内容
get(int) - Method in class cn.hutool.core.text.csv.CsvRow
 
get(CompletableFuture<T>) - Static method in class cn.hutool.core.thread.AsyncUtil
获取异步任务结果,包裹了异常
get(Object, int) - Static method in class cn.hutool.core.util.ArrayUtil
获取数组对象中指定index的值,支持负数,例如-1表示倒数第一个值
如果数组下标越界,返回null
get(String, CharSequence, int) - Static method in class cn.hutool.core.util.ReUtil
获得匹配的字符串
get(String, CharSequence, String) - Static method in class cn.hutool.core.util.ReUtil
获得匹配的字符串
get(Pattern, CharSequence, int) - Static method in class cn.hutool.core.util.ReUtil
获得匹配的字符串,对应分组0表示整个匹配内容,1表示第一个括号分组内容,依次类推
get(Pattern, CharSequence, String) - Static method in class cn.hutool.core.util.ReUtil
获得匹配的字符串
get(Pattern, CharSequence, Consumer<Matcher>) - Static method in class cn.hutool.core.util.ReUtil
在给定字符串中查找给定规则的字符,如果找到则使用Consumer处理之
如果内容中有多个匹配项,则只处理找到的第一个结果。
get(String, String) - Static method in class cn.hutool.core.util.SystemPropsUtil
取得系统属性,如果因为Java安全的限制而失败,则将错误打在Log中,然后返回 defaultValue
get(String, boolean) - Static method in class cn.hutool.core.util.SystemPropsUtil
取得系统属性,如果因为Java安全的限制而失败,则将错误打在Log中,然后返回 null
get(String) - Static method in class cn.hutool.core.util.SystemPropsUtil
获得System属性
get(File, Charset, String) - Static method in class cn.hutool.core.util.ZipUtil
获取压缩包中的指定文件流
get(ZipFile, String) - Static method in class cn.hutool.core.util.ZipUtil
获取压缩包中的指定文件流
get(Part) - Method in class cn.hutool.cron.pattern.matcher.PatternMatcher
根据表达式位置,获取对应的PartMatcher
get(String, String, T) - Method in class cn.hutool.db.AbstractDb
根据某个字段(最好是唯一字段)查询单个记录
当有多条返回时,只显示查询到的第一条
get(Entity) - Method in class cn.hutool.db.AbstractDb
根据条件实体查询单个记录,当有多条返回时,只显示查询到的第一条
get(T) - Method in class cn.hutool.db.DaoTemplate
根据主键获取单个记录
get(String, T) - Method in class cn.hutool.db.DaoTemplate
根据某个字段(最好是唯一字段)查询单个记录
当有多条返回时,只显示查询到的第一条
get(Entity) - Method in class cn.hutool.db.DaoTemplate
根据条件实体查询单个记录,当有多条返回时,只显示查询到的第一条
get() - Static method in class cn.hutool.db.ds.DSFactory
获得数据源
使用默认配置文件的无分组配置
get(String) - Static method in class cn.hutool.db.ds.DSFactory
获得数据源
get() - Static method in class cn.hutool.db.ds.GlobalDSFactory
获取默认的数据源工厂,读取默认数据库配置文件
此处使用懒加载模式,在第一次调用此方法时才创建默认数据源工厂
如果想自定义全局的数据源工厂,请在第一次调用此方法前调用GlobalDSFactory.set(DSFactory) 方法自行定义
get(DataSource) - Method in enum cn.hutool.db.ThreadLocalConnection
获取数据源对应的数据库连接
get(DataSource) - Method in class cn.hutool.db.ThreadLocalConnection.GroupedConnection
获取连接,如果获取的连接为空或者已被关闭,重新创建连接
get(Class<?>, Class<?>, Converter) - Method in enum cn.hutool.extra.cglib.BeanCopierCache
获得类与转换器生成的key在BeanCopier的Map中对应的元素
get(Class<?>, Class<?>, boolean) - Method in enum cn.hutool.extra.cglib.BeanCopierCache
获得类与转换器生成的key在BeanCopier的Map中对应的元素
get(String) - Method in class cn.hutool.extra.compress.extractor.SevenZExtractor
获取指定名称的文件流
get(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
通过别名获取Emoji
get() - Static method in class cn.hutool.extra.expression.engine.ExpressionFactory
获得单例的ExpressionEngine
get() - Static method in class cn.hutool.extra.pinyin.engine.PinyinFactory
获得单例的PinyinEngine
get(String) - Method in enum cn.hutool.extra.ssh.JschSessionPool
获取Session,不存在返回null
get(String, String) - Method in class cn.hutool.extra.ssh.Sftp
获取远程文件
get(String, OutputStream) - Method in class cn.hutool.extra.ssh.Sftp
获取远程文件
get() - Static method in class cn.hutool.extra.template.engine.TemplateFactory
根据用户引入的模板引擎jar,自动创建对应的模板引擎对象
获得的是单例的TemplateEngine
get() - Static method in class cn.hutool.extra.tokenizer.engine.TokenizerFactory
根据用户引入的模板引擎jar,自动创建对应的分词引擎对象
获得的是单例的TokenizerEngine
get(String) - Static method in enum cn.hutool.http.ContentType
从请求参数的body中判断请求的Content-Type类型,支持的类型有:
get(URI) - Method in class cn.hutool.http.cookie.ThreadLocalCookieStore
 
get(String) - Static method in class cn.hutool.http.HttpRequest
GET请求
get(String, Charset) - Static method in class cn.hutool.http.HttpUtil
发送get请求
get(String) - Static method in class cn.hutool.http.HttpUtil
发送get请求
get(String, int) - Static method in class cn.hutool.http.HttpUtil
发送get请求
get(String, Map<String, Object>) - Static method in class cn.hutool.http.HttpUtil
发送get请求
get(String, Map<String, Object>, int) - Static method in class cn.hutool.http.HttpUtil
发送get请求
get(int) - Method in class cn.hutool.json.JSONArray
 
get(K, Class<T>) - Method in interface cn.hutool.json.JSONGetter
获取指定类型的对象
转换失败或抛出异常
get(K, Class<T>, boolean) - Method in interface cn.hutool.json.JSONGetter
获取指定类型的对象
get() - Static method in class cn.hutool.log.GlobalLogFactory
获取单例日志工厂类,如果不存在创建之
get(Class<?>) - Static method in interface cn.hutool.log.Log
获得Log
get(String) - Static method in interface cn.hutool.log.Log
获得Log
get() - Static method in interface cn.hutool.log.Log
 
get(String) - Static method in class cn.hutool.log.LogFactory
获得日志对象
get(Class<?>) - Static method in class cn.hutool.log.LogFactory
获得日志对象
get() - Static method in class cn.hutool.log.LogFactory
 
get(Class<?>) - Static method in class cn.hutool.log.StaticLog
Deprecated.
请使用 Log.get(Class)
get(String) - Static method in class cn.hutool.log.StaticLog
Deprecated.
请使用 Log.get(String)
get() - Static method in class cn.hutool.log.StaticLog
Deprecated.
请使用 Log.get()
get(String) - Method in class cn.hutool.script.FullSupportScriptEngine
 
get(String) - Method in class cn.hutool.script.JavaScriptEngine
 
get(String) - Static method in class cn.hutool.setting.dialect.PropsUtil
获取当前环境下的配置文件
name可以为不包括扩展名的文件名(默认.properties),也可以是文件名全称
get(String, String) - Method in class cn.hutool.setting.GroupedMap
获取分组对应的值,如果分组不存在或者值不存在则返回null
get(Object) - Method in class cn.hutool.setting.GroupedMap
 
get(String, String) - Method in class cn.hutool.setting.Setting
获取分组对应的值,如果分组不存在或者值不存在则返回null
get(Object) - Method in class cn.hutool.setting.Setting
获取默认分组(空分组)中指定key对应的值
get(String) - Static method in class cn.hutool.setting.SettingUtil
获取当前环境下的配置文件
name可以为不包括扩展名的文件名(默认.setting为结尾),也可以是文件名全称
getAbsolutePath(String, Class<?>) - Static method in class cn.hutool.core.io.FileUtil
获取绝对路径
此方法不会判定给定路径是否有效(文件或目录存在)
getAbsolutePath(String) - Static method in class cn.hutool.core.io.FileUtil
获取绝对路径,相对于ClassPath的目录
如果给定就是绝对路径,则返回原路径,原路径把所有\替换为/
兼容Spring风格的路径表示,例如:classpath:config/example.setting也会被识别后转换
getAbsolutePath(File) - Static method in class cn.hutool.core.io.FileUtil
获取标准的绝对路径
getAbsolutePath() - Method in class cn.hutool.core.io.resource.ClassPathResource
获得绝对路径Path
对于不存在的资源,返回拼接后的绝对路径
getAcceptedIssuers() - Method in class cn.hutool.core.net.DefaultTrustManager
 
getAccount() - Method in enum cn.hutool.extra.mail.GlobalMailAccount
获得邮件帐户
getActiveProfile() - Static method in class cn.hutool.extra.spring.SpringUtil
获取当前的环境配置,当有多个环境配置时,只获取第一个
getActiveProfiles() - Static method in class cn.hutool.extra.spring.SpringUtil
获取当前的环境配置,无配置返回null
getActualType(Type, TypeVariable<?>) - Static method in class cn.hutool.core.lang.reflect.ActualTypeMapperPool
获得泛型变量对应的泛型实际类型,如果此变量没有对应的实际类型,返回null
getActualType(Type, Field) - Static method in class cn.hutool.core.util.TypeUtil
获得泛型字段对应的泛型实际类型,如果此变量没有对应的实际类型,返回null
getActualType(Type, Type) - Static method in class cn.hutool.core.util.TypeUtil
获得泛型变量对应的泛型实际类型,如果此变量没有对应的实际类型,返回null 此方法可以处理:
getActualType(Type, ParameterizedType) - Static method in class cn.hutool.core.util.TypeUtil
获得泛型变量对应的泛型实际类型,如果此变量没有对应的实际类型,返回null 此方法可以处理复杂的泛型化对象,类似于Map<User, Key<Long>>
getActualTypeArguments() - Method in class cn.hutool.core.lang.ParameterizedTypeImpl
 
getActualTypes(Type, Type...) - Static method in class cn.hutool.core.lang.reflect.ActualTypeMapperPool
获取指定泛型变量对应的真实类型
由于子类中泛型参数实现和父类(接口)中泛型定义位置是一一对应的,因此可以通过对应关系找到泛型实现类型
getActualTypes(Type, Type...) - Static method in class cn.hutool.core.util.TypeUtil
获得泛型变量对应的泛型实际类型,如果此变量没有对应的实际类型,返回null
getAddress() - Method in class cn.hutool.http.server.SimpleServer
获取服务器地址信息
getAddress() - Method in class cn.hutool.poi.excel.cell.NullCell
 
getAddress() - Method in class cn.hutool.system.HostInfo
取得当前主机的地址。
getAge() - Method in class cn.hutool.core.util.IdcardUtil.Idcard
获取年龄
getAgeByIdCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
根据身份编号获取年龄,只支持15或18位身份证号码
getAgeByIdCard(String, Date) - Static method in class cn.hutool.core.util.IdcardUtil
根据身份编号获取指定日期当时的年龄年龄,只支持15或18位身份证号码
getAlgorithm() - Method in class cn.hutool.crypto.digest.mac.BCMacEngine
 
getAlgorithm() - Method in class cn.hutool.crypto.digest.mac.DefaultHMacEngine
 
getAlgorithm() - Method in class cn.hutool.crypto.digest.mac.Mac
获取算法
getAlgorithm() - Method in interface cn.hutool.crypto.digest.mac.MacEngine
获取当前算法
getAlgorithm() - Method in class cn.hutool.crypto.digest.otp.HOTP
获取HMAC算法
getAlgorithm() - Method in class cn.hutool.jwt.JWT
获取算法ID(alg)头信息
getAlgorithm(String) - Static method in class cn.hutool.jwt.signers.AlgorithmUtil
获取算法,用户传入算法ID返回算法名,传入算法名返回本身
getAlgorithm() - Method in class cn.hutool.jwt.signers.AsymmetricJWTSigner
 
getAlgorithm() - Method in class cn.hutool.jwt.signers.HMacJWTSigner
 
getAlgorithm() - Method in interface cn.hutool.jwt.signers.JWTSigner
获取算法
getAlgorithm() - Method in class cn.hutool.jwt.signers.NoneJWTSigner
 
getAlgorithmAfterWith(String) - Static method in class cn.hutool.crypto.KeyUtil
获取用于密钥生成的算法
获取XXXwithXXX算法的后半部分算法,如果为ECDSA或SM2,返回算法为EC
getAlgorithmAfterWith(String) - Static method in class cn.hutool.crypto.SecureUtil
获取用于密钥生成的算法
获取XXXwithXXX算法的后半部分算法,如果为ECDSA或SM2,返回算法为EC
getAlgorithmId() - Method in interface cn.hutool.jwt.signers.JWTSigner
获取算法ID,即算法的简写形式,如HS256
getAlgorithmParameterSpec() - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
获取AlgorithmParameterSpec
在某些算法中,需要特别的参数,例如在ECIES中,此处为IESParameterSpec
getAllGroupNames(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
根据给定正则查找字符串中的匹配项,返回所有匹配的分组名对应分组值
getAllGroups(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
获得匹配的字符串匹配到的所有分组
getAllGroups(Pattern, CharSequence, boolean) - Static method in class cn.hutool.core.util.ReUtil
获得匹配的字符串匹配到的所有分组
getAllGroups(Pattern, CharSequence, boolean, boolean) - Static method in class cn.hutool.core.util.ReUtil
获得匹配的字符串匹配到的所有分组
getAllLinkedNonWrappedAttributes() - Method in class cn.hutool.core.annotation.AbstractWrappedAnnotationAttribute
 
getAllLinkedNonWrappedAttributes() - Method in interface cn.hutool.core.annotation.WrappedAnnotationAttribute
遍历以当前实例为根节点的树结构,获取所有未被包装的属性
getAllSynthesizedAnnotation() - Method in class cn.hutool.core.annotation.AbstractAnnotationSynthesizer
获取全部的合成注解
getAllSynthesizedAnnotation() - Method in interface cn.hutool.core.annotation.AnnotationSynthesizer
获取全部的合成注解
getAllSynthesizedAnnotations(AnnotatedElement, Class<T>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
获取元素上所有指定注解 若元素是类,则递归解析全部父类和全部父接口上的注解; 若元素是方法、属性或注解,则只解析其直接声明的注解;
getAllUtils() - Static method in class cn.hutool.Hutool
显示Hutool所有的工具类
getAmount() - Method in class cn.hutool.core.math.Money
获取本货币对象代表的金额数。
getAndRemove(String...) - Method in class cn.hutool.setting.Setting
获取并删除键值对,当指定键对应值非空时,返回并删除这个值,后边的键对应的值不再查找
getAndRemoveStr(String...) - Method in class cn.hutool.setting.dialect.Props
获取并删除键值对,当指定键对应值非空时,返回并删除这个值,后边的键对应的值不再查找
getAndRemoveStr(String...) - Method in class cn.hutool.setting.Setting
获取并删除键值对,当指定键对应值非空时,返回并删除这个值,后边的键对应的值不再查找
getAnnotation() - Method in interface cn.hutool.core.annotation.AnnotationAttribute
获取注解对象
getAnnotation(Class<T>) - Method in interface cn.hutool.core.annotation.AnnotationAttribute
获取属性上的注解
getAnnotation(AnnotatedElement, Class<A>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
获取指定注解
getAnnotation() - Method in class cn.hutool.core.annotation.CacheableAnnotationAttribute
 
getAnnotation(Class<T>) - Method in class cn.hutool.core.annotation.CombinationAnnotationElement
 
getAnnotation(Class<T>) - Method in class cn.hutool.core.annotation.GenericSynthesizedAggregateAnnotation
获取合成注解中包含的指定注解
getAnnotation() - Method in class cn.hutool.core.annotation.GenericSynthesizedAnnotation
获取被合成的注解对象
getAnnotation(Class<T>) - Method in interface cn.hutool.core.annotation.SynthesizedAggregateAnnotation
获取在聚合中存在的指定注解对象
getAnnotation() - Method in interface cn.hutool.core.annotation.SynthesizedAnnotation
获取被合成的注解对象
getAnnotation() - Method in interface cn.hutool.core.annotation.WrappedAnnotationAttribute
获取注解对象
getAnnotation(Class<T>) - Method in interface cn.hutool.core.annotation.WrappedAnnotationAttribute
获取属性上的注解
getAnnotationAlias(AnnotatedElement, Class<T>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
获取别名支持后的注解
getAnnotationAttributeProcessor() - Method in class cn.hutool.core.annotation.GenericSynthesizedAggregateAnnotation
获取合成注解属性处理器
getAnnotationAttributeProcessor() - Method in interface cn.hutool.core.annotation.SynthesizedAggregateAnnotation
获取合成注解属性处理器
getAnnotationPostProcessors() - Method in class cn.hutool.core.annotation.AbstractAnnotationSynthesizer
获取合成注解后置处理器
getAnnotationPostProcessors() - Method in interface cn.hutool.core.annotation.AnnotationSynthesizer
获取合成注解后置处理器
getAnnotations() - Method in interface cn.hutool.core.annotation.AggregateAnnotation
获取聚合中的全部注解对象
getAnnotations(AnnotatedElement, boolean) - Static method in class cn.hutool.core.annotation.AnnotationUtil
获取指定注解
getAnnotations(AnnotatedElement, boolean, Class<T>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
获取指定注解
getAnnotations(AnnotatedElement, boolean, Predicate<Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
获取指定注解
getAnnotations() - Method in class cn.hutool.core.annotation.CombinationAnnotationElement
 
getAnnotations() - Method in class cn.hutool.core.annotation.GenericSynthesizedAggregateAnnotation
获取合成注解中包含的全部注解
getAnnotations(AnnotatedElement) - Method in interface cn.hutool.core.annotation.scanner.AnnotationScanner
获取注解元素上的全部注解。调用该方法前,需要确保调用AnnotationScanner.support(AnnotatedElement)返回为true
getAnnotations(AnnotatedElement) - Method in class cn.hutool.core.annotation.scanner.EmptyAnnotationScanner
 
getAnnotations(AnnotatedElement) - Method in class cn.hutool.core.annotation.scanner.MetaAnnotationScanner
获取注解元素上的全部注解。调用该方法前,需要确保调用MetaAnnotationScanner.support(AnnotatedElement)返回为true
getAnnotationSelector() - Method in class cn.hutool.core.annotation.AbstractAnnotationSynthesizer
合成注解选择器
getAnnotationSelector() - Method in interface cn.hutool.core.annotation.AnnotationSynthesizer
合成注解选择器
getAnnotationsFromTargetClass(AnnotatedElement, int, Class<?>) - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
从类上获取最终所需的目标注解
getAnnotationsFromTargetClass(AnnotatedElement, int, Class<?>) - Method in class cn.hutool.core.annotation.scanner.MethodAnnotationScanner
若父类/父接口中方法具有相同的方法签名,则返回该方法上的注解
getAnnotationsFromTargetClass(AnnotatedElement, int, Class<?>) - Method in class cn.hutool.core.annotation.scanner.TypeAnnotationScanner
getAnnotationsIfSupport(AnnotatedElement) - Method in interface cn.hutool.core.annotation.scanner.AnnotationScanner
getAnnotationType() - Method in interface cn.hutool.core.annotation.AnnotationAttribute
获取声明属性的注解类
getAnnotationValue(AnnotatedElement, Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
获取指定注解默认值
如果无指定的属性方法返回null
getAnnotationValue(AnnotatedElement, Class<? extends Annotation>, String) - Static method in class cn.hutool.core.annotation.AnnotationUtil
获取指定注解属性的值
如果无指定的属性方法返回null
getAnnotationValue(AnnotatedElement, Func1<A, R>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
获取指定注解属性的值
如果无指定的属性方法返回null
getAnnotationValueMap(AnnotatedElement, Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
获取指定注解中所有属性值
如果无指定的属性方法返回null
getAny(Collection<T>, int...) - Static method in class cn.hutool.core.collection.CollUtil
获取集合中指定多个下标的元素值,下标可以为负数,例如-1表示最后一个元素
getAny(Map<K, V>, K...) - Static method in class cn.hutool.core.map.MapUtil
获取Map的部分key生成新的Map
getAny(Object, int...) - Static method in class cn.hutool.core.util.ArrayUtil
获取数组中指定多个下标元素值,组成新数组
getApplicationContext() - Static method in class cn.hutool.extra.spring.SpringUtil
获取ApplicationContext
getApplicationName() - Static method in class cn.hutool.extra.spring.SpringUtil
获取应用程序名称
getArch() - Method in class cn.hutool.system.OsInfo
取得当前OS的架构(取自系统属性:os.arch)。
getArray() - Method in class cn.hutool.core.collection.ArrayIter
获得原始数组对象
getArrayFormulaRange() - Method in class cn.hutool.poi.excel.cell.NullCell
 
getArrayParam(String) - Method in class cn.hutool.core.net.multipart.MultipartFormData
获得数组表单值
getArrayType(Class<?>) - Static method in class cn.hutool.core.util.ArrayUtil
根据数组元素类型,获取数组的类型
方法是通过创建一个空数组从而获取其类型
getAscOrDesc() - Method in class cn.hutool.db.meta.ColumnIndexInfo
 
getAttribute() - Method in interface cn.hutool.core.annotation.AnnotationAttribute
获取注解属性对应的方法
getAttribute() - Method in class cn.hutool.core.annotation.CacheableAnnotationAttribute
 
getAttribute() - Method in interface cn.hutool.core.annotation.WrappedAnnotationAttribute
获取注解属性对应的方法
getAttribute(String) - Method in class cn.hutool.http.server.HttpExchangeWrapper
 
getAttributeName() - Method in interface cn.hutool.core.annotation.AnnotationAttribute
获取属性名称
getAttributes() - Method in class cn.hutool.core.annotation.GenericSynthesizedAnnotation
获取该注解的全部属性
getAttributes() - Method in interface cn.hutool.core.annotation.SynthesizedAnnotation
获取该注解的全部属性
getAttributes(Path, boolean) - Static method in class cn.hutool.core.io.file.PathUtil
获取文件属性
getAttributes(String, String...) - Static method in class cn.hutool.core.util.JNDIUtil
获取指定容器环境的对象的属性
如获取DNS属性,则URI为类似:dns:hutool.cn
getAttributeType() - Method in interface cn.hutool.core.annotation.AnnotationAttribute
获取属性类型
getAttributeType() - Method in class cn.hutool.core.annotation.ForceAliasedAnnotationAttribute
getAttributeType() - Method in interface cn.hutool.core.annotation.WrappedAnnotationAttribute
获取属性类型
getAttributeValue(String, Class<?>) - Method in interface cn.hutool.core.annotation.AnnotationAttributeValueProvider
获取注解属性值
getAttributeValue(String, Class<T>, Collection<? extends SynthesizedAnnotation>) - Method in class cn.hutool.core.annotation.CacheableSynthesizedAnnotationAttributeProcessor
 
getAttributeValue(String, Class<?>) - Method in class cn.hutool.core.annotation.GenericSynthesizedAggregateAnnotation
根据指定的属性名与属性类型获取对应的属性值,若存在Alias则获取Alias.value()指定的别名属性的值
getAttributeValue(String) - Method in class cn.hutool.core.annotation.GenericSynthesizedAnnotation
获取属性值
getAttributeValue(String, Class<?>) - Method in class cn.hutool.core.annotation.GenericSynthesizedAnnotation
获取注解属性值
getAttributeValue(String, Class<?>) - Method in interface cn.hutool.core.annotation.SynthesizedAggregateAnnotation
从聚合中获取指定类型的属性值
getAttributeValue(String) - Method in interface cn.hutool.core.annotation.SynthesizedAnnotation
获取属性值
getAttributeValue(String, Class<R>, Collection<? extends SynthesizedAnnotation>) - Method in interface cn.hutool.core.annotation.SynthesizedAnnotationAttributeProcessor
从一批被合成注解中,获取指定名称与类型的属性值
getAuthority() - Method in class cn.hutool.core.net.url.UrlBuilder
获得authority部分
getAutoCommit() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
getBackColor() - Method in class cn.hutool.extra.qrcode.QrConfig
获取背景色
getBean() - Method in class cn.hutool.core.bean.DynaBean
获得原始Bean
getBean(String) - Method in class cn.hutool.core.lang.Dict
获得特定类型值
getBean(String) - Static method in class cn.hutool.extra.spring.SpringUtil
通过name获取 Bean
getBean(Class<T>) - Static method in class cn.hutool.extra.spring.SpringUtil
通过class获取Bean
getBean(String, Class<T>) - Static method in class cn.hutool.extra.spring.SpringUtil
通过name,以及Clazz返回指定的Bean
getBean(TypeReference<T>) - Static method in class cn.hutool.extra.spring.SpringUtil
通过类型参考返回带泛型参数的Bean
getBean(K, Class<T>) - Method in interface cn.hutool.json.JSONGetter
从JSON中直接获取Bean对象
先获取JSONObject对象,然后转为Bean对象
getBeanClass() - Method in class cn.hutool.core.bean.DynaBean
获得Bean的类型
getBeanDesc(Class<?>, Func0<BeanDesc>) - Method in enum cn.hutool.core.bean.BeanDescCache
获得属性名和BeanDescMap映射
getBeanDesc(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
获取BeanDesc Bean描述信息
getBeanFactory() - Static method in class cn.hutool.extra.spring.SpringUtil
获取ListableBeanFactory,可能为ConfigurableListableBeanFactoryApplicationContextAware
getBeanList(K, Class<T>) - Method in interface cn.hutool.json.JSONGetter
从JSON中直接获取Bean的List列表
先获取JSONArray对象,然后转为Bean的List
getBeanNamesForType(Class<?>) - Static method in class cn.hutool.extra.spring.SpringUtil
获取指定类型对应的Bean名称,包括子类
getBeansOfType(Class<T>) - Static method in class cn.hutool.extra.spring.SpringUtil
获取指定类型对应的所有Bean,包括子类
getBeginIpLong(String, int) - Static method in class cn.hutool.core.net.Ipv4Util
根据 ip/掩码位 计算IP段的起始IP(Long型)
getBeginIpStr(String, int) - Static method in class cn.hutool.core.net.Ipv4Util
根据 ip/掩码位 计算IP段的起始IP(字符串型) 方法别名:inet_ntoa
getBeginValue(Calendar, DateField) - Static method in class cn.hutool.core.date.CalendarUtil
获取指定日期字段的最小值,例如分钟的最小值是0
getBeginValue(Calendar, int) - Static method in class cn.hutool.core.date.CalendarUtil
获取指定日期字段的最小值,例如分钟的最小值是0
getBetweenMs() - Method in class cn.hutool.core.date.BetweenFormatter
获得 时长毫秒数
getBigDecimal(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
获取BigDecimal型属性值
getBigDecimal(K, BigDecimal) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
获取BigDecimal型属性值
若获得的值为不可见字符,使用默认值
getBigDecimal(K, BigDecimal) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getBigDecimal(K, BigDecimal) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getBigDecimal(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
获取BigDecimal型属性值
无值或获取错误返回null
getBigDecimal(String) - Method in class cn.hutool.core.lang.Dict
 
getBigDecimal(String, BigDecimal) - Method in class cn.hutool.setting.dialect.Props
 
getBigDecimal(String) - Method in class cn.hutool.setting.dialect.Props
 
getBigDecimalByGroup(String, String) - Method in interface cn.hutool.core.getter.GroupedTypeGetter
获取BigDecimal型属性值
getBigDecimalList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
获取BigDecimal型属性值列表
getBigDecimals(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
获取BigDecimal型属性值数组
getBigDecimals(String, BigDecimal[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
获取BigDecimal型属性值数组
getBigInteger(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
获取BigInteger型属性值
getBigInteger(K, BigInteger) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
获取BigInteger型属性值
若获得的值为不可见字符,使用默认值
getBigInteger(K, BigInteger) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getBigInteger(K, BigInteger) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getBigInteger(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
获取BigInteger型属性值
无值或获取错误返回null
getBigInteger(String) - Method in class cn.hutool.core.lang.Dict
 
getBigInteger(String, BigInteger) - Method in class cn.hutool.setting.dialect.Props
 
getBigInteger(String) - Method in class cn.hutool.setting.dialect.Props
 
getBigIntegerByGroup(String, String) - Method in interface cn.hutool.core.getter.GroupedTypeGetter
获取BigInteger型属性值
getBigIntegerList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
获取BigInteger型属性值列表
getBigIntegers(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
获取BigInteger型属性值数组
getBigIntegers(String, BigInteger[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
获取BigInteger型属性值数组
getBigWriter() - Static method in class cn.hutool.poi.excel.ExcelUtil
获得BigExcelWriter,默认写出到第一个sheet
不传入写出的Excel文件路径,只能调用ExcelWriter#flush(OutputStream)方法写出到流
若写出到文件,还需调用ExcelWriter.setDestFile(File)方法自定义写出的文件,然后调用ExcelWriter.flush()方法写出到文件
getBigWriter(int) - Static method in class cn.hutool.poi.excel.ExcelUtil
获得BigExcelWriter,默认写出到第一个sheet
不传入写出的Excel文件路径,只能调用ExcelWriter#flush(OutputStream)方法写出到流
若写出到文件,还需调用ExcelWriter.setDestFile(File)方法自定义写出的文件,然后调用ExcelWriter.flush()方法写出到文件
getBigWriter(String) - Static method in class cn.hutool.poi.excel.ExcelUtil
获得BigExcelWriter,默认写出到第一个sheet
getBigWriter(File) - Static method in class cn.hutool.poi.excel.ExcelUtil
获得BigExcelWriter,默认写出到第一个sheet,名字为sheet1
getBigWriter(String, String) - Static method in class cn.hutool.poi.excel.ExcelUtil
getBigWriter(File, String) - Static method in class cn.hutool.poi.excel.ExcelUtil
getBinaryStr(Number) - Static method in class cn.hutool.core.util.NumberUtil
获得数字对应的二进制字符串
getBindings(int) - Method in class cn.hutool.script.FullSupportScriptEngine
 
getBindings(int) - Method in class cn.hutool.script.JavaScriptEngine
 
getBirth(String) - Static method in class cn.hutool.core.util.IdcardUtil
根据身份编号获取生日,只支持15或18位身份证号码
getBirthByIdCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
根据身份编号获取生日,只支持15或18位身份证号码
getBirthDate(String) - Static method in class cn.hutool.core.util.IdcardUtil
从身份证号码中获取生日日期,只支持15或18位身份证号码
getBirthDate() - Method in class cn.hutool.core.util.IdcardUtil.Idcard
获得生日日期
getBlob(String) - Method in class cn.hutool.db.Entity
获得Blob类型结果
getBody(ServletRequest) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
获取请求体
调用该方法后,getParam方法将失效
getBody(ServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
获取请求体
调用该方法后,getParam方法将失效
getBody() - Method in class cn.hutool.http.server.HttpServerRequest
获取请求体文本,可以是form表单、json、xml等任意内容
使用HttpServerRequest.getCharset()判断编码,判断失败使用UTF-8编码
getBody(Charset) - Method in class cn.hutool.http.server.HttpServerRequest
获取请求体文本,可以是form表单、json、xml等任意内容
getBodyBytes(ServletRequest) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
获取请求体byte[]
调用该方法后,getParam方法将失效
getBodyBytes(ServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
获取请求体byte[]
调用该方法后,getParam方法将失效
getBodyBytes() - Method in class cn.hutool.http.server.HttpServerRequest
获取body的bytes数组
getBodyStream() - Method in class cn.hutool.http.server.HttpServerRequest
获取请求体的流,流中可以读取请求内容,包括请求表单数据或文件上传数据
getBOMInputStream(File) - Static method in class cn.hutool.core.io.FileUtil
获得BOM输入流,用于处理带BOM头的文件
getBOMReader(File) - Static method in class cn.hutool.core.io.FileUtil
读取带BOM头的文件为Reader
getBomReader(InputStream) - Static method in class cn.hutool.core.io.IoUtil
getBool(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
获取boolean型属性值
getBool(K, Boolean) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
获取boolean型属性值
若获得的值为不可见字符,使用默认值
getBool(K, Boolean) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getBool(K, Boolean) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getBool(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
获取boolean型属性值
无值或获取错误返回null
getBool(String) - Method in class cn.hutool.core.lang.Dict
 
getBool(Map<?, ?>, Object) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Bool
getBool(Map<?, ?>, Object, Boolean) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Bool
getBool(String, String) - Method in class cn.hutool.setting.AbsSetting
获取布尔型属性值
getBool(String, String, Boolean) - Method in class cn.hutool.setting.AbsSetting
获取布尔型属性值
getBool(String, Boolean) - Method in class cn.hutool.setting.dialect.Props
 
getBool(String) - Method in class cn.hutool.setting.dialect.Props
 
getBoolByGroup(String, String) - Method in interface cn.hutool.core.getter.GroupedTypeGetter
获取boolean型属性值
getBoolean(String, boolean) - Static method in class cn.hutool.core.util.SystemPropsUtil
获得boolean类型值
getBooleanCellValue() - Method in class cn.hutool.poi.excel.cell.NullCell
 
getBoolList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
获取Boolean型属性值列表
getBools(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
获取Boolean型属性值数组
getBools(String, Boolean[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
获取Boolean型属性值数组
getBoundary() - Static method in class cn.hutool.http.HttpGlobalConfig
获取全局默认的Multipart边界
getBrowser() - Method in class cn.hutool.http.useragent.UserAgent
获取浏览器类型
getBy(Class<E>, Predicate<? super E>) - Static method in class cn.hutool.core.util.EnumUtil
通过 某字段对应值 获取 枚举,获取不到时为 null
getBy(Func1<E, C>, C) - Static method in class cn.hutool.core.util.EnumUtil
通过 某字段对应值 获取 枚举,获取不到时为 null
getBy(Func1<E, C>, C, E) - Static method in class cn.hutool.core.util.EnumUtil
通过 某字段对应值 获取 枚举,获取不到时为 defaultEnum
getByGroup(String, String) - Method in class cn.hutool.setting.AbsSetting
获得指定分组的键对应值
getByGroup(String, String) - Method in class cn.hutool.setting.Setting
 
getByGroupWithLog(String, String) - Method in class cn.hutool.setting.AbsSetting
带有日志提示的get,如果没有定义指定的KEY,则打印debug日志
getByName(String) - Method in class cn.hutool.core.text.csv.CsvRow
获取标题对应的字段内容
getByPath(String) - Method in class cn.hutool.core.lang.Dict
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值 []表达式,可以获取集合等对象中对应index的值
getByPath(String, Class<T>) - Method in class cn.hutool.core.lang.Dict
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值 []表达式,可以获取集合等对象中对应index的值
getByPath(String) - Method in interface cn.hutool.json.JSON
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值 []表达式,可以获取集合等对象中对应index的值
getByPath(String, Class<T>) - Method in interface cn.hutool.json.JSON
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值 []表达式,可以获取集合等对象中对应index的值
getByPath(String) - Method in class cn.hutool.json.JSONArray
 
getByPath(String, Class<T>) - Method in class cn.hutool.json.JSONArray
 
getByPath(String) - Method in class cn.hutool.json.JSONObject
 
getByPath(String, Class<T>) - Method in class cn.hutool.json.JSONObject
 
getByPath(JSON, String) - Static method in class cn.hutool.json.JSONUtil
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值 []表达式,可以获取集合等对象中对应index的值
getByPath(JSON, String, T) - Static method in class cn.hutool.json.JSONUtil
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值 []表达式,可以获取集合等对象中对应index的值
getByTag(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
通过tag方式获取对应的所有Emoji表情
getByte(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
获取byte型属性值
getByte(K, Byte) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
获取byte型属性值
若获得的值为不可见字符,使用默认值
getByte(K, Byte) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getByte(K, Byte) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getByte(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
获取byte型属性值
无值或获取错误返回null
getByte(String) - Method in class cn.hutool.core.lang.Dict
 
getByte(String, Byte) - Method in class cn.hutool.setting.dialect.Props
 
getByte(String) - Method in class cn.hutool.setting.dialect.Props
 
getByteByGroup(String, String) - Method in interface cn.hutool.core.getter.GroupedTypeGetter
获取byte型属性值
getByteList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
获取Byte型属性值列表
getBytes(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
获取Byte型属性值数组
getBytes(String, Byte[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
获取Byte型属性值数组
getBytes(String) - Method in class cn.hutool.core.lang.Dict
 
getBytes(K) - Method in interface cn.hutool.json.JSONGetter
获取byte[]数据
getByXPath(String, Object, QName) - Static method in class cn.hutool.core.util.XmlUtil
通过XPath方式读取XML节点等信息
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
getByXPath(String, Object, QName, NamespaceContext) - Static method in class cn.hutool.core.util.XmlUtil
通过XPath方式读取XML节点等信息
Xpath相关文章:
https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
https://www.ibm.com/developerworks/cn/xml/x-nmspccontext/
getCachedFilesCount() - Method in class cn.hutool.cache.file.AbstractFileCache
 
getCachedFormulaResultType() - Method in class cn.hutool.poi.excel.cell.NullCell
 
getCachedFormulaResultTypeEnum() - Method in class cn.hutool.poi.excel.cell.NullCell
 
getCalendarField() - Method in enum cn.hutool.cron.pattern.Part
获取Calendar中对应字段项
getCaller() - Method in interface cn.hutool.core.lang.caller.Caller
获得调用者
getCaller(int) - Method in interface cn.hutool.core.lang.caller.Caller
获得调用者,指定第几级调用者 调用者层级关系:
getCaller() - Static method in class cn.hutool.core.lang.caller.CallerUtil
获得调用者
getCaller(int) - Static method in class cn.hutool.core.lang.caller.CallerUtil
获得调用者,指定第几级调用者
调用者层级关系:
getCaller() - Method in class cn.hutool.core.lang.caller.SecurityManagerCaller
 
getCaller(int) - Method in class cn.hutool.core.lang.caller.SecurityManagerCaller
 
getCaller() - Method in class cn.hutool.core.lang.caller.StackTraceCaller
 
getCaller(int) - Method in class cn.hutool.core.lang.caller.StackTraceCaller
 
getCallerCaller() - Method in interface cn.hutool.core.lang.caller.Caller
获得调用者的调用者
getCallerCaller() - Static method in class cn.hutool.core.lang.caller.CallerUtil
获得调用者的调用者
getCallerCaller() - Method in class cn.hutool.core.lang.caller.SecurityManagerCaller
 
getCallerCaller() - Method in class cn.hutool.core.lang.caller.StackTraceCaller
 
getCallerMethodName(boolean) - Static method in class cn.hutool.core.lang.caller.CallerUtil
获取调用此方法的方法名
getCanonicalPath(File) - Static method in class cn.hutool.core.io.FileUtil
获取规范的绝对路径
getCapacity() - Method in class cn.hutool.core.map.FixedLinkedHashMap
获取容量
getCatalog() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
getCatalog() - Method in class cn.hutool.db.meta.IndexInfo
 
getCataLog(Connection) - Static method in class cn.hutool.db.meta.MetaUtil
Deprecated.
拼写错误,请使用MetaUtil.getCatalog(Connection)
getCatalog(Connection) - Static method in class cn.hutool.db.meta.MetaUtil
获取catalog,获取失败返回null
getCatalog() - Method in class cn.hutool.db.meta.Table
获取catalog
getCausedBy(Throwable, Class<? extends Exception>...) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
获取由指定异常类引起的异常
getCell(Row, int) - Static method in class cn.hutool.poi.excel.cell.CellUtil
获取单元格,如果单元格不存在,返回NullCell
getCell(String) - Method in class cn.hutool.poi.excel.ExcelBase
获取指定坐标单元格,单元格不存在时返回null
getCell(int, int) - Method in class cn.hutool.poi.excel.ExcelBase
获取指定坐标单元格,单元格不存在时返回null
getCell(String, boolean) - Method in class cn.hutool.poi.excel.ExcelBase
获取指定坐标单元格,如果isCreateIfNotExist为false,则在单元格不存在时返回null
getCell(int, int, boolean) - Method in class cn.hutool.poi.excel.ExcelBase
获取指定坐标单元格,如果isCreateIfNotExist为false,则在单元格不存在时返回null
getCellComment() - Method in class cn.hutool.poi.excel.cell.NullCell
 
getCellFormula() - Method in class cn.hutool.poi.excel.cell.NullCell
 
getCellRangeAddress(Sheet, String) - Static method in class cn.hutool.poi.excel.cell.CellUtil
获取合并单元格CellRangeAddress,如果不是返回null
getCellRangeAddress(Cell) - Static method in class cn.hutool.poi.excel.cell.CellUtil
获取合并单元格CellRangeAddress,如果不是返回null
getCellRangeAddress(Sheet, int, int) - Static method in class cn.hutool.poi.excel.cell.CellUtil
获取合并单元格CellRangeAddress,如果不是返回null
getCellStyle() - Method in class cn.hutool.poi.excel.cell.NullCell
 
getCellStyle() - Method in class cn.hutool.poi.excel.ExcelWriter
获取单元格样式,获取样式后可自定义样式
getCellStyle() - Method in class cn.hutool.poi.excel.StyleSet
获取常规单元格样式,获取后可以定义整体头部样式
getCellStyleForDate() - Method in class cn.hutool.poi.excel.StyleSet
获取日期单元格样式,获取后可以定义整体日期样式
getCellStyleForHyperlink() - Method in class cn.hutool.poi.excel.StyleSet
获取链接单元格样式,获取后可以定义整体链接样式
getCellStyleForNumber() - Method in class cn.hutool.poi.excel.StyleSet
获取数字(带小数点)单元格样式,获取后可以定义整体数字样式
getCellType() - Method in class cn.hutool.poi.excel.cell.NullCell
 
getCellTypeEnum() - Method in class cn.hutool.poi.excel.cell.NullCell
 
getCellValue(Cell) - Static method in class cn.hutool.poi.excel.cell.CellUtil
获取单元格值
getCellValue(Cell, boolean) - Static method in class cn.hutool.poi.excel.cell.CellUtil
获取单元格值
getCellValue(Cell, CellEditor) - Static method in class cn.hutool.poi.excel.cell.CellUtil
获取单元格值
getCellValue(Cell, CellType, boolean) - Static method in class cn.hutool.poi.excel.cell.CellUtil
获取单元格值
getCellValue(Cell, CellType, CellEditor) - Static method in class cn.hutool.poi.excel.cell.CellUtil
获取单元格值
如果单元格值为数字格式,则判断其格式中是否有小数部分,无则返回Long类型,否则返回Double类型
getCent() - Method in class cn.hutool.core.math.Money
获取本货币对象代表的金额数。
getCenterY(Graphics, int) - Static method in class cn.hutool.core.img.GraphicsUtil
获取文字居中高度的Y坐标(距离上边距距离)
此方法依赖FontMetrics,如果获取失败,默认为背景高度的1/3
getCentFactor() - Method in class cn.hutool.core.math.Money
获取本货币币种的元/分换算比率。
getCertificate(KeyStore, String) - Static method in class cn.hutool.crypto.KeyUtil
获得 Certification
getCertificate(KeyStore, String) - Static method in class cn.hutool.crypto.SecureUtil
获得 Certification
getCertificateFactory(String) - Static method in class cn.hutool.crypto.KeyUtil
getChannel() - Method in class cn.hutool.socket.aio.AioServer
getChannel() - Method in class cn.hutool.socket.aio.AioSession
getChannel() - Method in class cn.hutool.socket.nio.NioClient
获取SocketChannel
getChar(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
获取char型属性值
getChar(K, Character) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
获取char型属性值
若获得的值为不可见字符,使用默认值
getChar(K, Character) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getChar(K, Character) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getChar(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
获取char型属性值
无值或获取错误返回null
getChar(String) - Method in class cn.hutool.core.lang.Dict
 
getChar(Map<?, ?>, Object) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Character
getChar(Map<?, ?>, Object, Character) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Character
getChar(String, String) - Method in class cn.hutool.setting.AbsSetting
获取char类型属性值
getChar(String, Character) - Method in class cn.hutool.setting.dialect.Props
 
getChar(String) - Method in class cn.hutool.setting.dialect.Props
 
getCharByGroup(String, String) - Method in interface cn.hutool.core.getter.GroupedTypeGetter
获取char型属性值
getCharList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
获取Character型属性值列表
getChars(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
获取Character型属性值数组
getChars(String, Character[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
获取Character型属性值数组
getChars(int, int, char[], int) - Method in class cn.hutool.core.text.StrBuilder
将指定段的字符列表写出到目标字符数组中
getCharset() - Method in class cn.hutool.core.io.BOMInputStream
获取BOM头中的编码
getCharset() - Method in class cn.hutool.core.io.file.FileWrapper
获得字符集编码
getCharset() - Method in class cn.hutool.core.net.url.UrlBuilder
获取编码,用于URLEncode和URLDecode
getCharset() - Method in class cn.hutool.extra.ftp.FtpConfig
 
getCharset() - Method in class cn.hutool.extra.mail.MailAccount
获取字符集编码
getCharset() - Method in class cn.hutool.extra.qrcode.QrConfig
获取编码
getCharset() - Method in class cn.hutool.extra.template.TemplateConfig
获取编码
getCharset() - Method in class cn.hutool.http.HttpConnection
获取字符集编码
从Http连接的头信息中获得字符集
从ContentType中获取
getCharset(HttpURLConnection) - Static method in class cn.hutool.http.HttpUtil
从Http连接的头信息中获得字符集
从ContentType中获取
getCharset(String) - Static method in class cn.hutool.http.HttpUtil
从Http连接的头信息中获得字符集
从ContentType中获取
getCharset() - Method in class cn.hutool.http.server.HttpServerRequest
获取编码,获取失败默认使用UTF-8,获取规则如下:
getCharsetName() - Method in class cn.hutool.http.HttpConnection
获得字符集编码
从Http连接的头信息中获得字符集
从ContentType中获取
getCharsetStr() - Method in class cn.hutool.extra.template.TemplateConfig
获取编码
getChild(K) - Method in class cn.hutool.core.map.LinkedForestMap.TreeEntryNode
获取以当前节点作为根节点的树结构,然后获取该树结构中的当前节点的指定子节点
getChild(K) - Method in interface cn.hutool.core.map.TreeEntry
获取以当前节点作为根节点的树结构,然后获取该树结构中的当前节点的指定子节点
getChildNodes(K) - Method in interface cn.hutool.core.map.ForestMap
获取指定父节点的全部子节点
比如:若存在 a -> b -> c 的关系,此时输入 b 将返回 c,输入 a 将返回 b,c
getChildren() - Method in class cn.hutool.core.lang.tree.Tree
获取所有子节点
getChildren() - Method in class cn.hutool.core.map.LinkedForestMap.TreeEntryNode
获取以当前节点作为根节点的树结构,然后按广度优先获取该树结构中的当前节点的全部子节点
getChildren() - Method in interface cn.hutool.core.map.TreeEntry
获取以当前节点作为根节点的树结构,然后获取该树结构中的当前节点的全部子节点
getChildrenKey() - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
获取子点对应的名称
getChineseDay() - Method in class cn.hutool.core.date.ChineseDate
获得农历日
getChineseMonth() - Method in class cn.hutool.core.date.ChineseDate
获得农历月份(中文,例如二月,十二月,或者润一月)
getChineseMonth(boolean) - Method in class cn.hutool.core.date.ChineseDate
获得农历月份(中文,例如二月,十二月,或者润一月)
getChineseMonthName(boolean, int, boolean) - Static method in class cn.hutool.core.date.chinese.ChineseMonth
获得农历月称呼
当为传统表示时,表示为二月,腊月,或者润正月等 当为非传统表示时,二月,十二月,或者润一月等
getChineseMonthName() - Method in class cn.hutool.core.date.ChineseDate
获得农历月称呼(中文,例如二月,腊月,或者润正月)
getChineseYear() - Method in class cn.hutool.core.date.ChineseDate
获得农历年份
getChineseZodiac() - Method in class cn.hutool.core.date.ChineseDate
获得年份生肖
getChineseZodiac(int) - Static method in class cn.hutool.core.date.DateUtil
计算生肖,只计算1900年后出生的人
getChineseZodiac(Date) - Static method in class cn.hutool.core.date.Zodiac
通过生日计算生肖,只计算1900年后出生的人
getChineseZodiac(Calendar) - Static method in class cn.hutool.core.date.Zodiac
通过生日计算生肖,只计算1900年后出生的人
getChineseZodiac(int) - Static method in class cn.hutool.core.date.Zodiac
计算生肖,只计算1900年后出生的人
getCipher() - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
获得加密或解密器
getCipher() - Method in class cn.hutool.crypto.CipherWrapper
获取被包装的Cipher
getCipher() - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
获得加密或解密器
getCityCode() - Method in class cn.hutool.core.util.IdcardUtil.Idcard
获取市级编码
getCityCodeByIdCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
根据身份编号获取地市级编码,只支持15或18位身份证号码
获取编码为4位
getClaim(String) - Method in class cn.hutool.jwt.Claims
获取指定名称属性
getClaimsJson() - Method in class cn.hutool.jwt.Claims
获取Claims的JSON字符串形式
getClass(T) - Static method in class cn.hutool.core.util.ClassUtil
null安全的获取对象类型
getClass(Type) - Static method in class cn.hutool.core.util.TypeUtil
获得Type对应的原始类
getClass(Field) - Static method in class cn.hutool.core.util.TypeUtil
获得Field对应的原始类
getClasses(Object...) - Static method in class cn.hutool.core.util.ClassUtil
获得对象数组的类数组
getClassesOfLoadError() - Method in class cn.hutool.core.lang.ClassScanner
忽略加载错误扫描后,可以获得之前扫描时加载错误的类名字集合
getClassFormAnnotatedElement(AnnotatedElement) - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
从要搜索的注解元素上获得要递归的类型
getClassFormAnnotatedElement(AnnotatedElement) - Method in class cn.hutool.core.annotation.scanner.MethodAnnotationScanner
获取声明该方法的类
getClassFormAnnotatedElement(AnnotatedElement) - Method in class cn.hutool.core.annotation.scanner.TypeAnnotationScanner
将注解元素转为Class
getClassLoader() - Method in class cn.hutool.core.io.resource.ClassPathResource
getClassLoader() - Static method in class cn.hutool.core.util.ClassLoaderUtil
获取ClassLoader
获取顺序如下:
getClassLoader() - Static method in class cn.hutool.core.util.ClassUtil
获取ClassLoader
获取顺序如下:
getClassLoadingMXBean() - Static method in class cn.hutool.system.SystemUtil
返回Java虚拟机类加载系统相关属性
getClassName(Object, boolean) - Static method in class cn.hutool.core.util.ClassUtil
获取类名
getClassName(Class<?>, boolean) - Static method in class cn.hutool.core.util.ClassUtil
获取类名
类名并不包含“.class”这个扩展名
例如:ClassUtil这个类
getClassPath() - Static method in class cn.hutool.core.util.ClassUtil
获得ClassPath,将编码后的中文路径解码为原字符
这个ClassPath路径会文件路径被标准化处理
getClassPath(boolean) - Static method in class cn.hutool.core.util.ClassUtil
获得ClassPath,这个ClassPath路径会文件路径被标准化处理
getClassPath() - Method in class cn.hutool.system.JavaRuntimeInfo
取得当前JRE的系统classpath(取自系统属性:java.class.path)。
getClassPathArray() - Method in class cn.hutool.system.JavaRuntimeInfo
取得当前JRE的系统classpath(取自系统属性:java.class.path)。
getClassPathResources() - Static method in class cn.hutool.core.util.ClassUtil
获得ClassPath,不解码路径中的特殊字符(例如空格和中文)
getClassPathResources(boolean) - Static method in class cn.hutool.core.util.ClassUtil
获得ClassPath
getClassPaths(String) - Static method in class cn.hutool.core.util.ClassUtil
获得ClassPath,不解码路径中的特殊字符(例如空格和中文)
getClassPaths(String, boolean) - Static method in class cn.hutool.core.util.ClassUtil
获得ClassPath
getClassPathURL() - Static method in class cn.hutool.core.util.ClassUtil
获得ClassPath URL
getClassVersion() - Method in class cn.hutool.system.JavaRuntimeInfo
取得当前JRE的class文件格式的版本(取自系统属性:java.class.version)。
getClient() - Method in class cn.hutool.extra.ftp.Ftp
获取FTPClient客户端对象
getClient() - Method in class cn.hutool.extra.ssh.Sftp
获取SFTP通道客户端
getClientInfo(String) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
getClientInfo() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
getClientIP(HttpServletRequest, String...) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
获取客户端IP
getClientIP(HttpServletRequest, String...) - Static method in class cn.hutool.extra.servlet.ServletUtil
获取客户端IP
getClientIP(String...) - Method in class cn.hutool.http.server.HttpServerRequest
获取客户端IP
getClientIPByHeader(HttpServletRequest, String...) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
获取客户端IP
getClientIPByHeader(HttpServletRequest, String...) - Static method in class cn.hutool.extra.servlet.ServletUtil
获取客户端IP
getClientIPByHeader(String...) - Method in class cn.hutool.http.server.HttpServerRequest
获取客户端IP
getClipboard() - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
获取系统剪贴板
getClob(String) - Method in class cn.hutool.db.Entity
获得Clob类型结果
getCode() - Method in class cn.hutool.captcha.AbstractCaptcha
 
getCode() - Method in interface cn.hutool.captcha.ICaptcha
获取验证码的文字内容
getCode() - Method in class cn.hutool.core.lang.ansi.Ansi8BitColor
获取颜色代码(0-255)
getCode() - Method in enum cn.hutool.core.lang.ansi.AnsiBackground
获取ANSI颜色代码
getCode() - Method in enum cn.hutool.core.lang.ansi.AnsiColor
获取ANSI颜色代码
getCode() - Method in interface cn.hutool.core.lang.ansi.AnsiElement
获取ANSI代码,默认返回-1
getCode() - Method in enum cn.hutool.core.lang.ansi.AnsiStyle
获取ANSI文本样式风格代码
getCollection(String, String) - Method in class cn.hutool.db.nosql.mongo.MongoDS
获得MongoDB中指定集合对象
getColor(String) - Static method in class cn.hutool.core.img.ColorUtil
将颜色值转换成具体的颜色类型 汇集了常用的颜色集,支持以下几种形式:
getColor(int) - Static method in class cn.hutool.core.img.ColorUtil
获取一个RGB值对应的颜色
getColor(int) - Static method in class cn.hutool.core.img.ImgUtil
获取一个RGB值对应的颜色
getColor(String) - Static method in class cn.hutool.core.img.ImgUtil
将颜色值转换成具体的颜色类型 汇集了常用的颜色集,支持以下几种形式:
getColumn(C) - Method in class cn.hutool.core.map.multi.RowKeyTable
 
getColumn(C) - Method in interface cn.hutool.core.map.multi.Table
获取列
getColumn(String) - Method in class cn.hutool.db.meta.Table
获取某列信息
getColumnCount() - Method in class cn.hutool.poi.excel.ExcelBase
获取第一行总列数,计算方法为:
getColumnCount(int) - Method in class cn.hutool.poi.excel.ExcelBase
获取总列数,计算方法为:
getColumnDef() - Method in class cn.hutool.db.meta.Column
获取默认值
getColumnIndex() - Method in class cn.hutool.poi.excel.cell.NullCell
 
getColumnIndexInfoList() - Method in class cn.hutool.db.meta.IndexInfo
 
getColumnKey() - Method in interface cn.hutool.core.map.multi.Table.Cell
获取列键
getColumnName() - Method in class cn.hutool.db.meta.ColumnIndexInfo
 
getColumnNames(ResultSet) - Static method in class cn.hutool.db.meta.MetaUtil
获得结果集的所有列名
getColumnNames(DataSource, String) - Static method in class cn.hutool.db.meta.MetaUtil
获得表的所有列名
getColumnNumber() - Method in exception cn.hutool.script.ScriptRuntimeException
Get the column number on which an error occurred.
getColumns() - Method in class cn.hutool.db.meta.Table
获取所有字段元信息
getCombinationAnnotations(AnnotatedElement, Class<T>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
获取组合注解
getComment() - Method in class cn.hutool.db.meta.Column
获取注释
getComment() - Method in class cn.hutool.db.meta.Table
获取注释
getCompilationMXBean() - Static method in class cn.hutool.system.SystemUtil
返回Java虚拟机编译系统相关属性
如果没有编译系统,则返回null
getCompiler(ClassLoader) - Static method in class cn.hutool.core.compiler.CompilerUtil
getComponentType(Object) - Static method in class cn.hutool.core.util.ArrayUtil
获取数组对象的元素类型
getComponentType(Class<?>) - Static method in class cn.hutool.core.util.ArrayUtil
获取数组对象的元素类型
getConfig() - Method in class cn.hutool.core.lang.tree.Tree
获取节点配置
getConfig() - Method in class cn.hutool.db.ds.pooled.PooledDataSource
 
getConfig() - Method in interface cn.hutool.json.JSON
获取JSON配置
getConfig() - Method in class cn.hutool.json.JSONArray
 
getConfig() - Method in interface cn.hutool.json.JSONGetter
获取JSON配置
getConfig() - Method in class cn.hutool.json.JSONObject
 
getConfigurableBeanFactory() - Static method in class cn.hutool.extra.spring.SpringUtil
获取ConfigurableListableBeanFactory
getConfiguration() - Method in class cn.hutool.extra.template.engine.freemarker.FreemarkerEngine
获取原始引擎的钩子方法,用于自定义特殊属性,如插件等
getConnection() - Method in class cn.hutool.db.AbstractDb
获得链接。根据实现不同,可以自定义获取连接的方式
getConnection() - Method in class cn.hutool.db.Db
 
getConnection() - Method in class cn.hutool.db.ds.DataSourceWrapper
 
getConnection(String, String) - Method in class cn.hutool.db.ds.DataSourceWrapper
 
getConnection() - Method in class cn.hutool.db.ds.pooled.PooledDataSource
从数据库连接池中获取数据库连接对象
getConnection(String, String) - Method in class cn.hutool.db.ds.pooled.PooledDataSource
 
getConnection(long) - Method in class cn.hutool.db.ds.pooled.PooledDataSource
获取连接对象
getConnection() - Method in class cn.hutool.db.ds.simple.SimpleDataSource
 
getConnection(String, String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
 
getConnection() - Method in class cn.hutool.db.Session
 
getConnection() - Method in class cn.hutool.db.sql.StatementWrapper
 
getConnection() - Method in class cn.hutool.http.HttpRequest
获取HttpConnection
HttpRequest.execute() 执行前此对象为null
getConnectionTimeout() - Method in class cn.hutool.extra.ftp.FtpConfig
 
getConnProps() - Method in class cn.hutool.db.ds.pooled.DbConfig
 
getConnProps() - Method in class cn.hutool.db.ds.simple.SimpleDataSource
 
getConstructor(Class<T>, Class<?>...) - Static method in class cn.hutool.core.util.ReflectUtil
查找类中的指定参数的构造方法,如果找到构造方法,会自动设置可访问为true
getConstructors(Class<T>) - Static method in class cn.hutool.core.util.ReflectUtil
获得一个类中所有构造列表
getConstructorsDirectly(Class<?>) - Static method in class cn.hutool.core.util.ReflectUtil
获得一个类中所有构造列表,直接反射获取,无缓存
getContainsStr(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
查找指定字符串是否包含指定字符串列表中的任意一个字符串,如果包含返回找到的第一个字符串
getContainsStrIgnoreCase(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
查找指定字符串是否包含指定字符串列表中的任意一个字符串,如果包含返回找到的第一个字符串
忽略大小写
getContentDisposition() - Method in class cn.hutool.core.net.multipart.UploadFileHeader
Returns content disposition.
getContentLength(URL) - Static method in class cn.hutool.core.util.URLUtil
获取指定URL对应资源的内容长度,对于Http,其长度使用Content-Length头决定。
getContentType() - Method in class cn.hutool.core.net.multipart.UploadFileHeader
Returns uploaded content type.
getContentType() - Method in class cn.hutool.http.body.MultipartBody
获取Multipart的Content-Type类型
getContentType() - Method in class cn.hutool.http.HttpResource
获取自定义Content-Type类型
getContentType() - Method in class cn.hutool.http.server.HttpServerRequest
获取Content-Type头信息
getContentType() - Method in class cn.hutool.poi.excel.ExcelWriter
获取Content-Type头对应的值,可以通过调用以下方法快速设置下载Excel的头信息:
getContentTypeByRequestBody(String) - Static method in class cn.hutool.http.HttpUtil
从请求参数的body中判断请求的Content-Type类型,支持的类型有:
getContext() - Method in class cn.hutool.script.FullSupportScriptEngine
 
getContext() - Method in class cn.hutool.script.JavaScriptEngine
 
getContextClassLoader() - Static method in class cn.hutool.core.util.ClassLoaderUtil
获取当前线程的ClassLoader
getContextClassLoader() - Static method in class cn.hutool.core.util.ClassUtil
获取当前线程的ClassLoader
getConverter(Type, boolean) - Method in class cn.hutool.core.convert.ConverterRegistry
获得转换器
getCookie(HttpServletRequest, String) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
获得指定的Cookie
getCookie(HttpServletRequest, String) - Static method in class cn.hutool.extra.servlet.ServletUtil
获得指定的Cookie
getCookie(String) - Method in class cn.hutool.http.HttpResponse
获取Cookie
getCookie(String) - Method in class cn.hutool.http.server.HttpServerRequest
获得指定Cookie名对应的HttpCookie对象
getCookieManager() - Static method in class cn.hutool.http.cookie.GlobalCookieManager
获取全局CookieManager
getCookieManager() - Static method in class cn.hutool.http.HttpGlobalConfig
获取Cookie管理器,用于自定义Cookie管理
getCookieManager() - Static method in class cn.hutool.http.HttpRequest
获取Cookie管理器,用于自定义Cookie管理
getCookieMap() - Method in class cn.hutool.http.server.HttpServerRequest
获得Cookie信息Map,键为Cookie名,值为HttpCookie对象
getCookies(HttpConnection) - Static method in class cn.hutool.http.cookie.GlobalCookieManager
获取指定域名下所有Cookie信息
getCookies() - Method in class cn.hutool.http.cookie.ThreadLocalCookieStore
 
getCookies() - Method in class cn.hutool.http.HttpResponse
获取Cookie
getCookies() - Method in class cn.hutool.http.server.HttpServerRequest
获得Cookie信息列表
getCookiesStr() - Method in class cn.hutool.http.server.HttpServerRequest
获得Cookie信息字符串
getCookieStore() - Method in class cn.hutool.http.cookie.ThreadLocalCookieStore
获取本线程下的CookieStore
getCookieStr() - Method in class cn.hutool.http.HttpResponse
获取本次请求服务器返回的Cookie信息
getCookieValue(String) - Method in class cn.hutool.http.HttpResponse
获取Cookie值
getCopyFilter() - Method in class cn.hutool.core.lang.copier.SrcToDestCopier
获得过滤器
getCountry() - Method in class cn.hutool.system.UserInfo
取得当前登录用户的国家或区域设置(取自系统属性:JDK1.4 user.country或JDK1.2 user.region)。
getCpuInfo() - Static method in class cn.hutool.system.oshi.OshiUtil
获取系统CPU 系统使用率、用户使用率、利用率等等 相关信息
默认间隔1秒
getCpuInfo(long) - Static method in class cn.hutool.system.oshi.OshiUtil
获取系统CPU 系统使用率、用户使用率、利用率等等 相关信息
getCpuModel() - Method in class cn.hutool.system.oshi.CpuInfo
 
getCpuNum() - Method in class cn.hutool.system.oshi.CpuInfo
 
getCronTask() - Method in class cn.hutool.cron.TaskExecutor
获得原始任务对象
getcSys() - Method in class cn.hutool.system.oshi.CpuTicks
 
getCurrency() - Method in class cn.hutool.core.math.Money
获取本货币对象代表的币种。
getCurrentDir() - Method in class cn.hutool.system.UserInfo
取得当前目录(取自系统属性:user.dir)。
getCurrentLogFactory() - Static method in class cn.hutool.log.LogFactory
 
getCurrentPID() - Static method in class cn.hutool.system.SystemUtil
获取当前进程 PID
getCurrentProcess() - Static method in class cn.hutool.system.oshi.OshiUtil
获取当前进程信息OSProcess
getCurrentRow() - Method in class cn.hutool.poi.excel.ExcelWriter
获得当前行
getCustomConverter(Type) - Method in class cn.hutool.core.convert.ConverterRegistry
获得自定义转换器
getCustomEngine() - Method in class cn.hutool.extra.template.TemplateConfig
获取自定义引擎,null表示系统自动判断
getCustomProperty() - Method in class cn.hutool.extra.mail.MailAccount
获取自定义属性列表
getCyclical() - Method in class cn.hutool.core.date.ChineseDate
获得年的天干地支
getCyclicalYMD() - Method in class cn.hutool.core.date.ChineseDate
干支纪年信息
getD() - Method in class cn.hutool.crypto.asymmetric.SM2
获得私钥D值(编码后的私钥)
getDataCenterId(long) - Method in class cn.hutool.core.lang.Snowflake
根据Snowflake的ID,获取数据中心id
getDataCenterId(long) - Static method in class cn.hutool.core.util.IdUtil
获取数据中心ID
数据中心ID依赖于本地网卡MAC地址。
getDataSource(String) - Method in class cn.hutool.db.ds.AbstractDSFactory
 
getDataSource() - Method in class cn.hutool.db.ds.DSFactory
获得默认数据源
getDataSource(String) - Method in class cn.hutool.db.ds.DSFactory
获得分组对应数据源
getDataSource(String) - Static method in class cn.hutool.db.ds.pooled.PooledDataSource
获得一个数据源
getDataSource() - Static method in class cn.hutool.db.ds.pooled.PooledDataSource
获得一个数据源,使用空分组
getDataSource(String) - Static method in class cn.hutool.db.ds.simple.SimpleDataSource
获得一个数据源
getDataSource() - Static method in class cn.hutool.db.ds.simple.SimpleDataSource
获得一个数据源,无分组
getDataUri(String, String, String) - Static method in class cn.hutool.core.util.URLUtil
Data URI Scheme封装。data URI scheme 允许我们使用内联(inline-code)的方式在网页中包含数据,
目的是将一些小的数据,直接嵌入到网页中,从而不用再从外部文件载入。常用于将图片嵌入网页。
getDataUri(String, Charset, String, String) - Static method in class cn.hutool.core.util.URLUtil
Data URI Scheme封装。data URI scheme 允许我们使用内联(inline-code)的方式在网页中包含数据,
目的是将一些小的数据,直接嵌入到网页中,从而不用再从外部文件载入。常用于将图片嵌入网页。
getDataUriBase64(String, String) - Static method in class cn.hutool.core.util.URLUtil
Data URI Scheme封装,数据格式为Base64。data URI scheme 允许我们使用内联(inline-code)的方式在网页中包含数据,
目的是将一些小的数据,直接嵌入到网页中,从而不用再从外部文件载入。常用于将图片嵌入网页。
getDataValue(CellDataType, String, SharedStrings, String) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
根据数据类型获取数据
getDate(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
获取Date类型值
getDate(K, Date) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
获取Date类型值
getDate(K, Date) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getDate(K, Date) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getDate(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
获取Date型属性值
无值或获取错误返回null
getDate(String) - Method in class cn.hutool.core.lang.Dict
 
getDate(Map<?, ?>, Object) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Date
getDate(Map<?, ?>, Object, Date) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Date
getDate(String) - Method in class cn.hutool.db.Entity
 
getDate(K, Date) - Method in interface cn.hutool.json.JSONGetter
 
getDate(String, Date) - Method in class cn.hutool.setting.dialect.Props
 
getDate(String) - Method in class cn.hutool.setting.dialect.Props
 
getDateCellValue() - Method in class cn.hutool.poi.excel.cell.NullCell
 
getDateFormat() - Method in class cn.hutool.json.JSONConfig
日期格式,null表示默认的时间戳
getDateInstance(int) - Static method in class cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateInstance(int, Locale) - Static method in class cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateInstance(int, TimeZone) - Static method in class cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateInstance(int, TimeZone, Locale) - Static method in class cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateTimeFormatter() - Method in class cn.hutool.core.date.format.FastDateFormat
便捷获取 DateTimeFormatter 由于 DatePattern 很大一部分的格式没有提供 DateTimeFormatter,因此这里提供快捷获取方式
getDateTimeInstance(int, int) - Static method in class cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateTimeInstance(int, int, Locale) - Static method in class cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateTimeInstance(int, int, TimeZone) - Static method in class cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateTimeInstance(int, int, TimeZone, Locale) - Static method in class cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateValue(String) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
获取日期
getDateValue(double) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
获取日期
getDay() - Method in class cn.hutool.core.date.ChineseDate
获取农历的日,从1开始计数
getDayByIdCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
根据身份编号获取生日天,只支持15或18位身份证号码
getDb(String) - Method in class cn.hutool.db.nosql.mongo.MongoDS
获得DB
getDbConfig(String) - Method in class cn.hutool.db.ds.pooled.DbSetting
获得数据库连接信息
getDBigInteger() - Method in class cn.hutool.crypto.asymmetric.SM2
获得私钥D值
getDeclaredAnnotations() - Method in class cn.hutool.core.annotation.CombinationAnnotationElement
 
getDeclaredChildNodes(K) - Method in interface cn.hutool.core.map.ForestMap
获取指定父节点直接关联的子节点
比如:若存在 a -> b -> c 的关系,此时输入 b 将返回 c,输入 a 将返回 b
getDeclaredChildren() - Method in class cn.hutool.core.map.LinkedForestMap.TreeEntryNode
获取当前节点直接关联的子节点
getDeclaredChildren() - Method in interface cn.hutool.core.map.TreeEntry
获取当前节点直接关联的子节点
getDeclaredField(Class<?>, String) - Static method in class cn.hutool.core.util.ClassUtil
查找指定类中的所有字段(包括非public字段), 字段不存在则返回null
getDeclaredFields(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
查找指定类中的所有字段(包括非public字段)
getDeclaredMethod(Class<?>, String, Class<?>...) - Static method in class cn.hutool.core.util.ClassUtil
查找指定类中的所有方法(包括非public方法),也包括父类和Object类的方法 找不到方法会返回null
getDeclaredMethodNames(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
获得指定类中的Public方法名
去重重载的方法
getDeclaredMethodOfObj(Object, String, Object...) - Static method in class cn.hutool.core.util.ClassUtil
查找指定对象中的所有方法(包括非public方法),也包括父对象和Object类的方法
getDeclaredMethods(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
获得声明的所有方法,包括本类及其父类和接口的所有方法和Object类的方法
getDeclaredParent() - Method in class cn.hutool.core.map.LinkedForestMap.TreeEntryNode
获取当前节点直接关联的父节点
getDeclaredParent() - Method in interface cn.hutool.core.map.TreeEntry
获取当前节点直接关联的父节点
getDeclaredParentNode(K) - Method in interface cn.hutool.core.map.ForestMap
获取指定节点的直接父节点
比如:若存在 a -> b -> c 的关系,此时输入 a 将返回 null,输入 b 将返回 a,输入 c 将返回 b
getDecodedPath(URL) - Static method in class cn.hutool.core.util.URLUtil
从URL对象中获取不被编码的路径Path
对于本地路径,URL对象的getPath方法对于包含中文或空格时会被编码,导致本读路径读取错误。
此方法将URL转为URI后获取路径用于解决路径被编码的问题
getDecryptBlockSize() - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
获取解密块大小
getDeep() - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
获取递归深度
getDefaultCharset() - Method in class cn.hutool.core.io.BOMInputStream
获取默认编码
getDefaultCipherSuites() - Method in class cn.hutool.http.ssl.CustomProtocolsSSLFactory
 
getDefaultConverter(Type) - Method in class cn.hutool.core.convert.ConverterRegistry
获得默认转换器
getDefaultValue(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
获取指定类型分的默认值
默认值规则为:
getDefaultValues(Class<?>...) - Static method in class cn.hutool.core.util.ClassUtil
获得默认值列表
getDelay(int) - Method in class cn.hutool.core.img.gif.GifDecoder
Gets display duration for specified frame.
getDelay() - Static method in class cn.hutool.core.swing.RobotUtil
获取全局默认的延迟时间
getDelay(TimeUnit) - Method in class cn.hutool.cron.timingwheel.TimerTaskList
 
getDelayMs() - Method in class cn.hutool.cron.timingwheel.TimerTask
获取延迟时间点,即创建时间+延迟时长(单位毫秒)
getDeserializer(Type) - Static method in class cn.hutool.json.serialize.GlobalSerializeMapping
获取自定义的反序列化器,如果未定义返回null
getDest() - Method in class cn.hutool.core.lang.copier.SrcToDestCopier
获得目标
getDHex() - Method in class cn.hutool.crypto.asymmetric.SM2
获得私钥D值(编码后的私钥)
getDialect(DataSource) - Static method in class cn.hutool.db.dialect.DialectFactory
获取共享方言
getDialect() - Method in class cn.hutool.db.DialectRunner
 
getDigest() - Method in class cn.hutool.crypto.digest.Digester
getDigestLength() - Method in class cn.hutool.crypto.digest.Digester
获取散列长度,0表示不支持此方法
getDigit() - Method in class cn.hutool.db.meta.Column
获取小数位数
getDimension(FontMetrics, String) - Static method in class cn.hutool.core.img.FontUtil
获得字体对应字符串的长宽信息
getDirection() - Method in class cn.hutool.db.sql.Order
 
getDiskStores() - Static method in class cn.hutool.system.oshi.OshiUtil
获取磁盘相关信息,可能有多个磁盘(包括可移动磁盘等)
getDisplayName(TextStyle) - Method in enum cn.hutool.core.date.Month
获取显示名称
getDisplayName(TextStyle, Locale) - Method in enum cn.hutool.core.date.Month
获取显示名称
getDisposition(String, Charset) - Method in class cn.hutool.poi.excel.ExcelWriter
获取Content-Disposition头对应的值,可以通过调用以下方法快速设置下载Excel的头信息:
getDistance(LabColor) - Method in class cn.hutool.core.img.LabColor
获取颜色差
getDistrictCodeByIdCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
根据身份编号获取区县级编码,只支持15或18位身份证号码
获取编码为6位
getDnsInfo(String, String...) - Static method in class cn.hutool.core.net.NetUtil
获取DNS信息,如TXT信息:
     NetUtil.attrNames("hutool.cn", "TXT")
getDoc() - Method in class cn.hutool.poi.word.Word07Writer
获取XWPFDocument
getDouble(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
获取double型属性值
getDouble(K, Double) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
获取double型属性值
若获得的值为不可见字符,使用默认值
getDouble(K, Double) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getDouble(K, Double) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getDouble(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
获取double型属性值
无值或获取错误返回null
getDouble(String) - Method in class cn.hutool.core.lang.Dict
 
getDouble(Map<?, ?>, Object) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Double
getDouble(Map<?, ?>, Object, Double) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Double
getDouble(String, String) - Method in class cn.hutool.setting.AbsSetting
获取double类型属性值
getDouble(String, String, Double) - Method in class cn.hutool.setting.AbsSetting
获取double类型属性值
getDouble(String, Double) - Method in class cn.hutool.setting.dialect.Props
 
getDouble(String) - Method in class cn.hutool.setting.dialect.Props
 
getDoubleByGroup(String, String) - Method in interface cn.hutool.core.getter.GroupedTypeGetter
获取double型属性值
getDoubleList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
获取Double型属性值列表
getDoubles(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
获取Double型属性值数组
getDoubles(String, Double[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
获取Double型属性值数组
getDriver() - Method in class cn.hutool.db.ds.DataSourceWrapper
获取驱动名
getDriver() - Method in class cn.hutool.db.ds.pooled.DbConfig
 
getDriver() - Method in class cn.hutool.db.ds.simple.SimpleDataSource
 
getDs() - Static method in class cn.hutool.db.DbUtil
获得默认数据源
getDs(String) - Static method in class cn.hutool.db.DbUtil
获取指定分组的数据源
getDS(String, int) - Static method in class cn.hutool.db.nosql.mongo.MongoFactory
获取MongoDB数据源
getDS(String...) - Static method in class cn.hutool.db.nosql.mongo.MongoFactory
获取MongoDB数据源
多个分组名对应的连接组成集群
getDS(Collection<String>) - Static method in class cn.hutool.db.nosql.mongo.MongoFactory
获取MongoDB数据源
getDS(Setting, String...) - Static method in class cn.hutool.db.nosql.mongo.MongoFactory
获取MongoDB数据源
getDS(Setting, Collection<String>) - Static method in class cn.hutool.db.nosql.mongo.MongoFactory
获取MongoDB数据源
getDsktop() - Static method in class cn.hutool.core.swing.DesktopUtil
获得Desktop
getDumpStr(InputStream) - Static method in class cn.hutool.crypto.ASN1Util
获取ASN1格式的导出格式,一般用于调试
getElement(Element, String) - Static method in class cn.hutool.core.util.XmlUtil
根据节点名获得第一个子节点
getElementByXPath(String, Object) - Static method in class cn.hutool.core.util.XmlUtil
通过XPath方式读取XML节点等信息
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
getElements(Element, String) - Static method in class cn.hutool.core.util.XmlUtil
根据节点名获得子节点列表
getElementType(Iterable<?>) - Static method in class cn.hutool.core.collection.CollUtil
Deprecated.
getElementType(Iterator<?>) - Static method in class cn.hutool.core.collection.CollUtil
Deprecated.
getElementType(Iterable<?>) - Static method in class cn.hutool.core.collection.IterUtil
获得Iterable对象的元素类型(通过第一个非空元素判断)
注意,此方法至少会调用多次next方法
getElementType(Iterator<?>) - Static method in class cn.hutool.core.collection.IterUtil
获得Iterator对象的元素类型(通过第一个非空元素判断)
注意,此方法至少会调用多次next方法
getEnclosingClass(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
获得外围类
返回定义此类或匿名类所在的类,如果类本身是在包中定义的,返回null
getEncryptBlockSize() - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
获取加密块大小
getEnd(int, int) - Static method in class cn.hutool.core.util.PageUtil
将页数和每页条目数转换为结束位置
此方法用于不包括结束位置的分页方法
例如:
getEndIndex() - Method in class cn.hutool.core.lang.DefaultSegment
 
getEndIndex() - Method in interface cn.hutool.core.lang.Segment
获取结束位置
getEndIndex() - Method in class cn.hutool.db.Page
 
getEndIpLong(String, int) - Static method in class cn.hutool.core.net.Ipv4Util
根据 ip/掩码位 计算IP段的终止IP(Long型) 注:此接口返回负数,请使用转成字符串后再转Long型
getEndIpStr(String, int) - Static method in class cn.hutool.core.net.Ipv4Util
根据 ip/掩码位 计算IP段的终止IP(字符串型)
getEndOffset() - Method in class cn.hutool.extra.tokenizer.engine.analysis.AnalysisWord
 
getEndOffset() - Method in class cn.hutool.extra.tokenizer.engine.ansj.AnsjWord
 
getEndOffset() - Method in class cn.hutool.extra.tokenizer.engine.hanlp.HanLPWord
 
getEndOffset() - Method in class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerWord
 
getEndOffset() - Method in class cn.hutool.extra.tokenizer.engine.jcseg.JcsegWord
 
getEndOffset() - Method in class cn.hutool.extra.tokenizer.engine.jieba.JiebaWord
 
getEndOffset() - Method in class cn.hutool.extra.tokenizer.engine.mmseg.MmsegWord
 
getEndOffset() - Method in class cn.hutool.extra.tokenizer.engine.mynlp.MynlpWord
 
getEndOffset() - Method in class cn.hutool.extra.tokenizer.engine.word.WordWord
 
getEndOffset() - Method in interface cn.hutool.extra.tokenizer.Word
获取本词的结束位置
getEndorsedDirs() - Method in class cn.hutool.system.JavaRuntimeInfo
取得当前JRE的endorsed目录列表(取自系统属性:java.endorsed.dirs)。
getEndPosition() - Method in class cn.hutool.db.Page
 
getEndValue(Calendar, DateField) - Static method in class cn.hutool.core.date.CalendarUtil
获取指定日期字段的最大值,例如分钟的最大值是59
getEndValue(Calendar, int) - Static method in class cn.hutool.core.date.CalendarUtil
获取指定日期字段的最大值,例如分钟的最大值是59
getEngine() - Method in class cn.hutool.crypto.digest.mac.Mac
获得MAC算法引擎
getEngine() - Method in class cn.hutool.extra.expression.engine.aviator.AviatorEngine
获取AviatorEvaluatorInstance
getEngine() - Method in class cn.hutool.extra.expression.engine.jexl.JexlEngine
获取JexlEngine
getEngine() - Static method in class cn.hutool.extra.expression.ExpressionUtil
获得全局单例的表达式引擎
getEngine() - Static method in class cn.hutool.extra.pinyin.PinyinUtil
获得全局单例的拼音引擎
getEngine() - Method in class cn.hutool.http.useragent.UserAgent
获取引擎类型
getEngineVersion() - Method in class cn.hutool.http.useragent.UserAgent
获取引擎版本
getEnum(Class<E>, K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
获得Enum类型的值
getEnum(Class<E>, K, E) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
获得Enum类型的值
getEnum(Class<E>, K, E) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getEnum(Class<E>, K, E) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getEnum(Class<E>, K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
获取Enum型属性值
无值或获取错误返回null
getEnum(Class<E>, String) - Method in class cn.hutool.core.lang.Dict
 
getEnum(Class<E>, String, E) - Method in class cn.hutool.setting.dialect.Props
 
getEnum(Class<E>, String) - Method in class cn.hutool.setting.dialect.Props
 
getEnumAt(Class<E>, int) - Static method in class cn.hutool.core.util.EnumUtil
获取给定位置的枚举值
getEnumMap(Class<E>) - Static method in class cn.hutool.core.util.EnumUtil
获取枚举字符串值和枚举对象的Map对应,使用LinkedHashMap保证有序
结果中键为枚举名,值为枚举对象
getErrorCellValue() - Method in class cn.hutool.poi.excel.cell.NullCell
 
getErrorCorrection() - Method in class cn.hutool.extra.qrcode.QrConfig
获取纠错级别
getErrorMessages() - Method in class cn.hutool.extra.validation.BeanValidationResult
获取错误信息列表
getErrorResult(Process) - Static method in class cn.hutool.core.util.RuntimeUtil
获取命令执行异常结果,使用系统默认编码,获取后销毁进程
getErrorResult(Process, Charset) - Static method in class cn.hutool.core.util.RuntimeUtil
获取命令执行异常结果,获取后销毁进程
getErrorStream() - Method in class cn.hutool.http.HttpConnection
当返回错误代码时,获得错误内容流
getException() - Method in class cn.hutool.core.lang.Opt
获取异常
当调用 Opt.ofTry(Func0)时,异常信息不会抛出,而是保存,调用此方法获取抛出的异常
getExecutor() - Static method in class cn.hutool.core.thread.GlobalThreadPool
getExecutors() - Method in class cn.hutool.cron.TaskExecutorManager
获取所有正在执行的任务调度执行器
getExistClass() - Static method in class cn.hutool.core.lang.Singleton
获取单例池中存在的所有类
getExpire() - Method in class cn.hutool.cron.timingwheel.TimerTaskList
获取过期时间
getExpiredTime() - Method in class cn.hutool.cache.impl.CacheObj
获取过期时间,返回null表示永不过期
getExtDirs() - Method in class cn.hutool.system.JavaRuntimeInfo
取得当前JRE的扩展目录列表(取自系统属性:java.ext.dirs)。
getExtension() - Method in enum cn.hutool.core.io.FileMagicNumber
 
getExtra() - Method in class cn.hutool.core.lang.tree.TreeNode
获取扩展字段
getExtractor(Workbook) - Static method in class cn.hutool.poi.excel.ExcelExtractorUtil
获取 ExcelExtractor 对象
getExtractor() - Method in class cn.hutool.poi.excel.ExcelReader
获取 ExcelExtractor 对象
getFactory() - Method in class cn.hutool.script.FullSupportScriptEngine
 
getFactory() - Method in class cn.hutool.script.JavaScriptEngine
 
getFalsePositiveProbability() - Method in class cn.hutool.bloomfilter.BitSetBloomFilter
 
getFestivals(int, int, int) - Static method in class cn.hutool.core.date.chinese.LunarFestival
获得节日列表
getFestivals(int, int) - Static method in class cn.hutool.core.date.chinese.LunarFestival
获得节日列表,此方法无法判断月是否为大月或小月
getFestivals() - Method in class cn.hutool.core.date.ChineseDate
获得节日,闰月不计入节日中
getFetchDirection() - Method in class cn.hutool.db.sql.StatementWrapper
 
getFetchSize() - Method in class cn.hutool.db.sql.StatementWrapper
 
getField(String) - Method in class cn.hutool.core.bean.BeanDesc
获得字段名对应的字段对象,如果不存在返回null
getField() - Method in class cn.hutool.core.bean.PropDesc
获取字段
getField(DateField) - Method in class cn.hutool.core.date.DateTime
获得日期的某个部分
例如获得年的部分,则使用 getField(DatePart.YEAR)
getField(int) - Method in class cn.hutool.core.date.DateTime
获得日期的某个部分
例如获得年的部分,则使用 getField(Calendar.YEAR)
getField(Class<?>, String) - Static method in class cn.hutool.core.util.ReflectUtil
查找指定类中的指定name的字段(包括非public字段),也包括父类和Object类的字段, 字段不存在则返回null
getField() - Method in class cn.hutool.db.sql.Condition
 
getField() - Method in class cn.hutool.db.sql.Order
 
getFieldBy(Func1<E, F>, Function<E, C>, C) - Static method in class cn.hutool.core.util.EnumUtil
通过 某字段对应值 获取 枚举中另一字段值,获取不到时为 null
getFieldClass() - Method in class cn.hutool.core.bean.PropDesc
获得字段类型
先获取字段的类型,如果字段不存在,则获取Getter方法的返回类型,否则获取Setter的第一个参数类型
getFieldCount() - Method in class cn.hutool.core.text.csv.CsvRow
获取字段格式
getFieldMap() - Method in class cn.hutool.core.text.csv.CsvRow
获取标题与字段值对应的Map
getFieldMap(Class<?>) - Static method in class cn.hutool.core.util.ReflectUtil
获取指定类中字段名和字段对应的有序Map,包括其父类中的字段
如果子类与父类中存在同名字段,则这两个字段同时存在,子类字段在前,父类字段在后。
getFieldName(String) - Static method in class cn.hutool.core.bean.BeanUtil
获取Getter或Setter方法名对应的字段名称,规则如下: getXxxx获取为xxxx,如getName得到name。 setXxxx获取为xxxx,如setName得到name。 isXxxx获取为xxxx,如isName得到name。 其它不满足规则的方法名抛出IllegalArgumentException
getFieldName() - Method in class cn.hutool.core.bean.PropDesc
获取字段名,如果存在Alias注解,读取注解的值作为名称
getFieldName(Func1<T, ?>) - Static method in class cn.hutool.core.lang.func.LambdaUtil
获取lambda表达式Getter或Setter函数(方法)对应的字段名称,规则如下: getXxxx获取为xxxx,如getName得到name。 setXxxx获取为xxxx,如setName得到name。 isXxxx获取为xxxx,如isName得到name。 其它不满足规则的方法名抛出IllegalArgumentException
getFieldName(Func0<T>) - Static method in class cn.hutool.core.lang.func.LambdaUtil
获取lambda表达式Getter或Setter函数(方法)对应的字段名称,规则如下: getXxxx获取为xxxx,如getName得到name。 setXxxx获取为xxxx,如setName得到name。 isXxxx获取为xxxx,如isName得到name。 其它不满足规则的方法名抛出IllegalArgumentException
getFieldName(Field) - Static method in class cn.hutool.core.util.ReflectUtil
获取字段名,如果存在Alias注解,读取注解的值作为名称
getFieldNames(Class<? extends Enum<?>>) - Static method in class cn.hutool.core.util.EnumUtil
获得枚举类中所有的字段名
除用户自定义的字段名,也包括“name”字段,例如:
getFieldNames() - Method in class cn.hutool.db.Entity
 
getFields(Class<?>) - Static method in class cn.hutool.core.util.ReflectUtil
获得一个类中所有字段列表,包括其父类中的字段
如果子类与父类中存在同名字段,则这两个字段同时存在,子类字段在前,父类字段在后。
getFields(Class<?>, Filter<Field>) - Static method in class cn.hutool.core.util.ReflectUtil
获得一个类中所有满足条件的字段列表,包括其父类中的字段
如果子类与父类中存在同名字段,则这两个字段同时存在,子类字段在前,父类字段在后。
getFields() - Method in class cn.hutool.db.sql.Query
获得查询的字段名列表
getFieldsDirectly(Class<?>, boolean) - Static method in class cn.hutool.core.util.ReflectUtil
获得一个类中所有字段列表,直接反射获取,无缓存
如果子类与父类中存在同名字段,则这两个字段同时存在,子类字段在前,父类字段在后。
getFieldsValue(Object) - Static method in class cn.hutool.core.util.ReflectUtil
获取所有字段的值
getFieldsValue(Object, Filter<Field>) - Static method in class cn.hutool.core.util.ReflectUtil
获取所有字段的值
getFieldType() - Method in class cn.hutool.core.bean.PropDesc
获得字段类型
先获取字段的类型,如果字段不存在,则获取Getter方法的返回类型,否则获取Setter的第一个参数类型
getFieldType(Class<?>, String) - Static method in class cn.hutool.core.util.TypeUtil
获得字段的泛型类型
getFieldValue(Object, String) - Static method in class cn.hutool.core.bean.BeanUtil
获得字段值,通过反射直接获得字段值,并不调用getXXX方法
对象同样支持Map类型,fieldNameOrIndex即为key Map: fieldNameOrIndex需为key,获取对应value Collection: fieldNameOrIndex当为数字,返回index对应值,非数字遍历集合返回子bean对应name值 Array: fieldNameOrIndex当为数字,返回index对应值,非数字遍历数组返回子bean对应name值
getFieldValue(Object, String) - Static method in class cn.hutool.core.util.ReflectUtil
获取字段值
getFieldValue(Object, Field) - Static method in class cn.hutool.core.util.ReflectUtil
获取字段值
getFieldValues(Iterable<?>, String) - Static method in class cn.hutool.core.collection.CollUtil
获取给定Bean列表中指定字段名对应字段值的列表
列表元素支持Bean与Map
getFieldValues(Iterable<?>, String, boolean) - Static method in class cn.hutool.core.collection.CollUtil
获取给定Bean列表中指定字段名对应字段值的列表
列表元素支持Bean与Map
getFieldValues(Iterable<?>, String, Class<T>) - Static method in class cn.hutool.core.collection.CollUtil
获取给定Bean列表中指定字段名对应字段值的列表
列表元素支持Bean与Map
getFieldValues(Class<? extends Enum<?>>, String) - Static method in class cn.hutool.core.util.EnumUtil
获得枚举类中各枚举对象下指定字段的值
getFile() - Method in class cn.hutool.core.io.file.FileWrapper
获得文件
getFile() - Method in class cn.hutool.core.io.resource.FileResource
获取文件
getFile() - Method in class cn.hutool.core.io.resource.UrlResource
获得File
getFile(String) - Method in class cn.hutool.core.net.multipart.MultipartFormData
获取上传的文件
getFileBytes(String) - Method in class cn.hutool.cache.file.AbstractFileCache
获得缓存过的文件bytes
getFileBytes(File) - Method in class cn.hutool.cache.file.AbstractFileCache
获得缓存过的文件bytes
getFileContent() - Method in class cn.hutool.core.net.multipart.UploadFile
 
getFileExts() - Method in class cn.hutool.core.net.multipart.UploadSetting
 
getFileInputStream() - Method in class cn.hutool.core.net.multipart.UploadFile
 
getFileList(String) - Method in class cn.hutool.core.net.multipart.MultipartFormData
获得某个属性名的所有文件
当表单中两个文件使用同一个name的时候
getFileListValueMap() - Method in class cn.hutool.core.net.multipart.MultipartFormData
获取文件映射
getFileManager() - Static method in class cn.hutool.core.compiler.CompilerUtil
getFileManager(DiagnosticListener<? super JavaFileObject>) - Static method in class cn.hutool.core.compiler.CompilerUtil
getFileMap() - Method in class cn.hutool.core.net.multipart.MultipartFormData
获取文件映射
getFileName() - Method in class cn.hutool.core.net.multipart.UploadFile
 
getFileName() - Method in class cn.hutool.core.net.multipart.UploadFileHeader
获取文件名,不包括路径
getFileName() - Method in exception cn.hutool.script.ScriptRuntimeException
Get the source of the script causing the error.
getFileNameFromDisposition() - Method in class cn.hutool.http.HttpResponse
从Content-Disposition头中获取文件名
getFileNameFromDisposition(String) - Method in class cn.hutool.http.HttpResponse
从Content-Disposition头中获取文件名,以参数名为`filename`为例,规则为: 首先按照RFC5987规范检查`filename*`参数对应的值,即:`filename*="example.txt"`,则获取`example.txt` 如果找不到`filename*`参数,则检查`filename`参数对应的值,即:`filename="example.txt"`,则获取`example.txt` 按照规范,`Content-Disposition`可能返回多个,此处遍历所有返回头,并且`filename*`始终优先获取,即使`filename`存在并更靠前。
参考:https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Headers/Content-Disposition
getFileObject() - Method in class cn.hutool.core.io.resource.FileObjectResource
获取原始的FileObject
getFileParamNames() - Method in class cn.hutool.core.net.multipart.MultipartFormData
获取上传的文件属性名集合
getFiles(String) - Method in class cn.hutool.core.net.multipart.MultipartFormData
获得某个属性名的所有文件
当表单中两个文件使用同一个name的时候
getFileSeparator() - Method in class cn.hutool.system.OsInfo
取得OS的文件路径的分隔符(取自系统属性:file.separator)。
getFileVisitOption(boolean) - Static method in class cn.hutool.core.io.file.PathUtil
构建是否追踪软链的选项
getFilter() - Method in class cn.hutool.core.collection.FilterIter
获取过滤函数
getFirst(Iterable<T>) - Static method in class cn.hutool.core.collection.CollUtil
获取集合的第一个元素
getFirst(Iterator<T>) - Static method in class cn.hutool.core.collection.CollUtil
获取集合的第一个元素
getFirst(Iterable<T>) - Static method in class cn.hutool.core.collection.IterUtil
获取集合的第一个元素,如果集合为空(null或者空集合),返回null
getFirst(Iterator<T>) - Static method in class cn.hutool.core.collection.IterUtil
获取集合的第一个元素
getFirst(Filter<ArchiveEntry>) - Method in class cn.hutool.extra.compress.extractor.SevenZExtractor
获取满足指定过滤要求的压缩包内的第一个文件流
getFirstDayOfWeek() - Method in class cn.hutool.core.date.DateTime
获得一周的第一天,默认为周一
getFirstFound(String...) - Static method in class cn.hutool.setting.dialect.PropsUtil
获取给定路径找到的第一个配置文件
* name可以为不包括扩展名的文件名(默认.properties为结尾),也可以是文件名全称
getFirstFound(String...) - Static method in class cn.hutool.setting.SettingUtil
获取给定路径找到的第一个配置文件
* name可以为不包括扩展名的文件名(默认.setting为结尾),也可以是文件名全称
getFirstLetter(char) - Method in interface cn.hutool.extra.pinyin.PinyinEngine
将输入字符串转为拼音首字母,其它字符原样返回
getFirstLetter(String, String) - Method in interface cn.hutool.extra.pinyin.PinyinEngine
将输入字符串转为拼音首字母,其它字符原样返回
getFirstLetter(char) - Static method in class cn.hutool.extra.pinyin.PinyinUtil
将输入字符串转为拼音首字母,其它字符原样返回
getFirstLetter(String, String) - Static method in class cn.hutool.extra.pinyin.PinyinUtil
将输入字符串转为拼音首字母,其它字符原样返回
getFirstNoneNull(Iterable<T>) - Static method in class cn.hutool.core.collection.IterUtil
获取集合的第一个非空元素
getFirstNoneNull(Iterator<T>) - Static method in class cn.hutool.core.collection.IterUtil
获取集合的第一个非空元素
getFirstNumber(CharSequence) - Static method in class cn.hutool.core.util.ReUtil
从字符串中获得第一个整数
getFirstPageNo() - Static method in class cn.hutool.core.util.PageUtil
获得首页的页码,可以为0或者1
getFirstParamClass(Method) - Static method in class cn.hutool.core.util.TypeUtil
获取方法的第一个参数类
getFirstParamType(Method) - Static method in class cn.hutool.core.util.TypeUtil
获取方法的第一个参数类型
优先获取方法的GenericParameterTypes,如果获取不到,则获取ParameterTypes
getFirstTableName() - Method in class cn.hutool.db.sql.Query
获得第一个表名
getFloat(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
获取float型属性值
getFloat(K, Float) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
获取float型属性值
若获得的值为不可见字符,使用默认值
getFloat(K, Float) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getFloat(K, Float) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getFloat(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
获取float型属性值
无值或获取错误返回null
getFloat(String) - Method in class cn.hutool.core.lang.Dict
 
getFloat(Map<?, ?>, Object) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Float
getFloat(Map<?, ?>, Object, Float) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Float
getFloat(String) - Method in class cn.hutool.setting.dialect.Props
 
getFloat(String, Float) - Method in class cn.hutool.setting.dialect.Props
 
getForeColor() - Method in class cn.hutool.extra.qrcode.QrConfig
获取前景色
getFormat() - Method in class cn.hutool.core.convert.impl.CalendarConverter
获取日期格式
getFormat() - Method in class cn.hutool.core.convert.impl.DateConverter
获取日期格式
getFormat() - Method in class cn.hutool.core.convert.impl.TemporalAccessorConverter
获取日期格式
getFormat(Workbook, String) - Static method in class cn.hutool.poi.excel.style.StyleUtil
创建数据格式并获取格式
getFormFieldName() - Method in class cn.hutool.core.net.multipart.UploadFileHeader
返回表单字段名
getFormFileName() - Method in class cn.hutool.core.net.multipart.UploadFileHeader
返回表单中的文件名,来自客户端传入
getFoundAllSensitive(String) - Static method in class cn.hutool.dfa.SensitiveUtil
查找敏感词,返回找到的所有敏感词
getFoundAllSensitive(String, boolean, boolean) - Static method in class cn.hutool.dfa.SensitiveUtil
查找敏感词,返回找到的所有敏感词
密集匹配原则:假如关键词有 ab,b,文本是abab,将匹配 [ab,b,ab]
贪婪匹配(最长匹配)原则:假如关键字a,ab,最长匹配将匹配[a, ab]
getFoundAllSensitive(Object) - Static method in class cn.hutool.dfa.SensitiveUtil
查找敏感词,返回找到的所有敏感词
getFoundAllSensitive(Object, boolean, boolean) - Static method in class cn.hutool.dfa.SensitiveUtil
查找敏感词,返回找到的所有敏感词
密集匹配原则:假如关键词有 ab,b,文本是abab,将匹配 [ab,b,ab]
贪婪匹配(最长匹配)原则:假如关键字a,ab,最长匹配将匹配[a, ab]
getFoundFirstSensitive(String) - Static method in class cn.hutool.dfa.SensitiveUtil
查找敏感词,返回找到的第一个敏感词
getFoundFirstSensitive(Object) - Static method in class cn.hutool.dfa.SensitiveUtil
查找敏感词,返回找到的第一个敏感词
getFoundWord() - Method in class cn.hutool.dfa.FoundWord
获取单词匹配到的内容,即文中的单词
getFragment() - Method in class cn.hutool.core.net.url.UrlBuilder
获取标识符,#后边的部分
getFragmentEncoded() - Method in class cn.hutool.core.net.url.UrlBuilder
获取标识符,#后边的部分
getFrame(int) - Method in class cn.hutool.core.img.gif.GifDecoder
Gets the image contents of frame n.
getFrameCount() - Method in class cn.hutool.core.img.gif.GifDecoder
Gets the number of frames read from file.
getFrameSize() - Method in class cn.hutool.core.img.gif.GifDecoder
Gets image size.
getFree() - Method in class cn.hutool.system.oshi.CpuInfo
 
getFreeMemory() - Static method in class cn.hutool.core.util.RuntimeUtil
获得JVM中剩余的内存数,单位byte
getFreeMemory() - Method in class cn.hutool.system.RuntimeInfo
获得JVM已分配内存中的剩余空间
getFreeMemory() - Static method in class cn.hutool.system.SystemUtil
获取JVM中内存剩余大小
getFrom() - Method in class cn.hutool.extra.mail.MailAccount
获取发送方,遵循RFC-822标准
getGanzhiOfDay(int, int, int) - Static method in class cn.hutool.core.date.chinese.GanZhi
获取干支日
getGanzhiOfMonth(int, int, int) - Static method in class cn.hutool.core.date.chinese.GanZhi
获取干支月
getGanzhiOfYear(int) - Static method in class cn.hutool.core.date.chinese.GanZhi
传入年传回干支
getGarbageCollectorMXBeans() - Static method in class cn.hutool.system.SystemUtil
获取Java虚拟机中的GarbageCollectorMXBean列表
getGender() - Method in class cn.hutool.core.util.IdcardUtil.Idcard
获取性别代号,性别(1 : 男 , 0 : 女)
getGenderByIdCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
根据身份编号获取性别,只支持15或18位身份证号码
getGeneralField(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
获得set或get或is方法对应的标准属性名
例如:setName 返回 name
getGenerateDateTime(long) - Method in class cn.hutool.core.lang.Snowflake
根据Snowflake的ID,获取生成时间
getGeneratedKeyOfLong(Statement) - Static method in class cn.hutool.db.StatementUtil
获得自增键的值
此方法对于Oracle无效(返回null)
getGeneratedKeys() - Method in class cn.hutool.db.sql.StatementWrapper
 
getGeneratedKeys(Statement) - Static method in class cn.hutool.db.StatementUtil
获得所有主键
getGeneratedKeys(Statement, RsHandler<T>) - Static method in class cn.hutool.db.StatementUtil
获取主键,并使用RsHandler 处理后返回
getGenerator() - Method in class cn.hutool.captcha.AbstractCaptcha
获取验证码生成器
getGenerics(Class<?>) - Static method in class cn.hutool.core.util.TypeUtil
获取指定类所有泛型父类和泛型接口
getGetter(String) - Method in class cn.hutool.core.bean.BeanDesc
获取Getter方法,如果不存在返回null
getGetter() - Method in class cn.hutool.core.bean.PropDesc
获取Getter方法,可能为null
getGregorianCalendar() - Method in class cn.hutool.core.date.ChineseDate
获取公历的Calendar
getGregorianDate() - Method in class cn.hutool.core.date.ChineseDate
获取公历的Date
getGregorianDay() - Method in class cn.hutool.core.date.ChineseDate
获取公历的日
getGregorianMonth() - Method in class cn.hutool.core.date.ChineseDate
获取公历的月,从0开始计数
getGregorianMonthBase1() - Method in class cn.hutool.core.date.ChineseDate
获取公历的月,从1开始计数
getGregorianYear() - Method in class cn.hutool.core.date.ChineseDate
获取公历的年
getGroovyEngine() - Static method in class cn.hutool.script.ScriptUtil
获得单例的Groovy引擎
需要引入org.codehaus.groovy:groovy-all
getGroup() - Method in class cn.hutool.extra.ssh.Connector
获得用户组名
getGroup0(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
获得匹配的字符串,获得正则中分组0的内容
getGroup0(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
获得匹配的字符串,获得正则中分组0的内容
getGroup1(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
获得匹配的字符串,获得正则中分组1的内容
getGroup1(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
获得匹配的字符串,获得正则中分组1的内容
getGroupedMap() - Method in class cn.hutool.setting.Setting
获取GroupedMap
getGroups() - Method in class cn.hutool.setting.GroupedSet
 
getGroups() - Method in class cn.hutool.setting.Setting
获取所有分组
getHardware() - Static method in class cn.hutool.system.oshi.OshiUtil
获取硬件相关信息,包括内存、硬盘、网络设备、显示器、USB、声卡等
getHardwareAddress(InetAddress) - Static method in class cn.hutool.core.net.NetUtil
获得指定地址信息中的硬件地址
getHeadCellStyle() - Method in class cn.hutool.poi.excel.ExcelWriter
获取头部样式,获取样式后可自定义样式
getHeadCellStyle() - Method in class cn.hutool.poi.excel.StyleSet
获取头部样式,获取后可以定义整体头部样式
getHeader() - Method in class cn.hutool.core.net.multipart.UploadFile
 
getHeader() - Method in class cn.hutool.core.text.csv.CsvData
获取头信息列表,如果无头信息为Null,返回列表为只读列表
getHeader() - Method in class cn.hutool.core.text.csv.CsvParser
获取头部字段列表,如果headerLineNo < 0,抛出异常
getHeader(HttpServletRequest, String, String) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
获得请求header中的信息
getHeader(HttpServletRequest, String, Charset) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
获得请求header中的信息
getHeader(HttpServletRequest, String, String) - Static method in class cn.hutool.extra.servlet.ServletUtil
获得请求header中的信息
getHeader(HttpServletRequest, String, Charset) - Static method in class cn.hutool.extra.servlet.ServletUtil
获得请求header中的信息
getHeader(Header) - Method in class cn.hutool.http.server.HttpServerRequest
获得请求header中的信息
getHeader(String) - Method in class cn.hutool.http.server.HttpServerRequest
获得请求header中的信息
getHeader(String, Charset) - Method in class cn.hutool.http.server.HttpServerRequest
获得请求header中的信息
getHeader() - Method in class cn.hutool.jwt.JWT
获取头
getHeader(String) - Method in class cn.hutool.jwt.JWT
获取头信息
getHeaderAlias() - Method in class cn.hutool.poi.excel.ExcelBase
获得标题行的别名Map
getHeaderIgnoreCase(HttpServletRequest, String) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
忽略大小写获得请求header中的信息
getHeaderIgnoreCase(HttpServletRequest, String) - Static method in class cn.hutool.extra.servlet.ServletUtil
忽略大小写获得请求header中的信息
getHeaderMap(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
获取请求所有的头(header)信息
getHeaderMap(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
获取请求所有的头(header)信息
getHeaders() - Method in class cn.hutool.http.server.HttpServerRequest
获得请求header中的信息
getHeaders() - Method in class cn.hutool.http.server.HttpServerResponse
获得所有响应头,获取后可以添加新的响应头
getHeaders() - Method in class cn.hutool.jwt.JWT
获取所有头信息
getHeadersMap(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
获取请求所有的头(header)信息
getHeadersMap(HttpServletResponse) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
获取响应所有的头(header)信息
getHeadersMap(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
获取请求所有的头(header)信息
getHeadersMap(HttpServletResponse) - Static method in class cn.hutool.extra.servlet.ServletUtil
获取响应所有的头(header)信息
getHeight() - Static method in class cn.hutool.core.swing.ScreenUtil
获取屏幕高度
getHeight() - Method in class cn.hutool.extra.qrcode.QrConfig
获取高度
getHexValue() - Method in class cn.hutool.core.io.checksum.crc16.CRC16Checksum
获取16进制的CRC16值
getHexValue(boolean) - Method in class cn.hutool.core.io.checksum.crc16.CRC16Checksum
获取16进制的CRC16值
getHexValue() - Method in class cn.hutool.core.io.checksum.CRC16
获取16进制的CRC16值
getHexValue(boolean) - Method in class cn.hutool.core.io.checksum.CRC16
获取16进制的CRC16值
getHighValue() - Method in class cn.hutool.core.lang.hash.Number128
获取高位值
getHitCount() - Method in class cn.hutool.cache.impl.AbstractCache
 
getHoldability() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
getHomeDir() - Method in class cn.hutool.system.JavaRuntimeInfo
取得当前JRE的安装目录(取自系统属性:java.home)。
getHomeDir() - Method in class cn.hutool.system.UserInfo
取得当前登录用户的home目录(取自系统属性:user.home)。
getHorizontalDistance() - Method in class cn.hutool.core.annotation.GenericSynthesizedAggregateAnnotation
获取与根对象的水平距离
getHorizontalDistance() - Method in class cn.hutool.core.annotation.GenericSynthesizedAnnotation
获取该合成注解与根对象的水平距离。 默认情况下,该距离即为当前注解与根对象之间相隔的已经被扫描到的注解数。
getHorizontalDistance() - Method in interface cn.hutool.core.annotation.Hierarchical
获取该对象与参照物的水平距离。 默认情况下,该距离即为当前对象在与参照物Hierarchical.getVerticalDistance()相同的情况下条, 该对象被扫描到的顺序。
getHorizontalDistance() - Method in interface cn.hutool.core.annotation.SynthesizedAggregateAnnotation
距离Hierarchical.getRoot()返回值的水平距离, 默认聚合注解即为根对象,因此返回0
getHorizontalDistance() - Method in interface cn.hutool.core.annotation.SynthesizedAnnotation
获取该合成注解与根对象的水平距离。 默认情况下,该距离即为当前注解与根对象之间相隔的已经被扫描到的注解数。
getHost() - Method in class cn.hutool.core.net.url.UrlBuilder
获取 主机,例如127.0.0.1
getHost(URL) - Static method in class cn.hutool.core.util.URLUtil
获取URL中域名部分,只保留URL中的协议(Protocol)、Host,其它为null。
getHost() - Method in class cn.hutool.extra.ftp.FtpConfig
 
getHost() - Method in class cn.hutool.extra.mail.MailAccount
获得SMTP服务器域名
getHost() - Method in class cn.hutool.extra.ssh.Connector
获得主机名
getHostInfo() - Static method in class cn.hutool.system.SystemUtil
取得Host的信息。
getHttpContext() - Method in class cn.hutool.http.server.HttpExchangeWrapper
 
getHttpContext() - Method in class cn.hutool.http.server.HttpServerBase
获取HttpContext
getHttpExchange() - Method in class cn.hutool.http.server.HttpServerBase
获取HttpExchange对象
getHttpURLConnection() - Method in class cn.hutool.http.HttpConnection
获取HttpURLConnection对象
getHyperlink() - Method in class cn.hutool.poi.excel.cell.NullCell
 
getId() - Method in class cn.hutool.core.date.StopWatch
获取StopWatch 的ID,用于多个秒表对象的区分
getId() - Method in interface cn.hutool.core.lang.tree.Node
获取ID
getId() - Method in class cn.hutool.core.lang.tree.Tree
 
getId() - Method in class cn.hutool.core.lang.tree.TreeNode
 
getId() - Method in class cn.hutool.cron.task.CronTask
获取作业ID
getId(String) - Static method in class cn.hutool.jwt.signers.AlgorithmUtil
获取算法ID,用户传入算法名返回ID,传入算法ID返回本身
getIdcardInfo(String) - Static method in class cn.hutool.core.util.IdcardUtil
获取身份证信息,包括身份、城市代码、生日、性别等
getIdKey() - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
获取ID对应的名称
getIdle() - Method in class cn.hutool.system.oshi.CpuTicks
 
getIds() - Method in class cn.hutool.cron.TaskTable
获取所有ID,返回不可变列表,即列表不可修改
getIdScopeByTimestamp(long, long) - Method in class cn.hutool.core.lang.Snowflake
根据传入时间戳-计算ID起终点
getIdScopeByTimestamp(long, long, boolean) - Method in class cn.hutool.core.lang.Snowflake
根据传入时间戳-计算ID起终点 Gitee/issues/I60M14
getImage() - Method in class cn.hutool.captcha.AbstractCaptcha
获取验证码图
getImage() - Method in class cn.hutool.core.img.gif.GifDecoder
Gets the first (or only) image read.
getImage(URL) - Static method in class cn.hutool.core.img.ImgUtil
从URL中获取或读取图片对象
getImage() - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
从剪贴板获取图片
getImage(Transferable) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
从剪贴板的Transferable获取图片
getImageBase64() - Method in class cn.hutool.captcha.AbstractCaptcha
获得图片的Base64形式
getImageBase64Data() - Method in class cn.hutool.captcha.AbstractCaptcha
获取图片带文件格式的 Base64
getImageBytes() - Method in class cn.hutool.captcha.AbstractCaptcha
获取图形验证码图片bytes
getImageInputStream(InputStream) - Static method in class cn.hutool.core.img.ImgUtil
getImageOutputStream(OutputStream) - Static method in class cn.hutool.core.img.ImgUtil
getImageOutputStream(File) - Static method in class cn.hutool.core.img.ImgUtil
getImagePixels() - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
Extracts image pixels into byte array "pixels"
getImg() - Method in class cn.hutool.core.img.Img
获取处理过的图片
getImg() - Method in class cn.hutool.extra.qrcode.QrConfig
获取二维码中的Logo
getIn(String, InputStream) - Static method in class cn.hutool.extra.compress.CompressUtil
获取压缩输入流,用于解压缩指定内容,支持的格式例如:
getIndexInfo(DatabaseMetaData, String, String, String) - Static method in class cn.hutool.db.meta.MetaUtil
获取指定表的索引信息。
getIndexInfoList() - Method in class cn.hutool.db.meta.Table
获取索引信息
getIndexName() - Method in class cn.hutool.db.meta.IndexInfo
 
getInfo() - Method in class cn.hutool.system.JvmInfo
取得当前JVM impl.的信息(取自系统属性:java.vm.info)。
getInitialSize() - Method in class cn.hutool.db.ds.pooled.DbConfig
 
getInputStream() - Method in class cn.hutool.core.io.file.FileReader
获得输入流
getInputStream(Path) - Static method in class cn.hutool.core.io.file.PathUtil
获得输入流
getInputStream(File) - Static method in class cn.hutool.core.io.FileUtil
获得输入流
getInputStream(String) - Static method in class cn.hutool.core.io.FileUtil
获得输入流
getInputStream() - Method in class cn.hutool.http.HttpConnection
获得输入流对象
输入流对象用于读取数据
getInstance() - Static method in class cn.hutool.core.convert.ConverterRegistry
获得单例的 ConverterRegistry
getInstance() - Static method in class cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat实例,使用默认格式和地区
getInstance(String) - Static method in class cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例,使用默认地区
支持缓存
getInstance(String, TimeZone) - Static method in class cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getInstance(String, Locale) - Static method in class cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getInstance(String, TimeZone, Locale) - Static method in class cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getInt(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
获取int型属性值
getInt(K, Integer) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
获取int型属性值
若获得的值为不可见字符,使用默认值
getInt(K, Integer) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getInt(K, Integer) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getInt(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
获取int型属性值
无值或获取错误返回null
getInt(String) - Method in class cn.hutool.core.lang.Dict
 
getInt(Map<?, ?>, Object) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Integer
getInt(Map<?, ?>, Object, Integer) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Integer
getInt(String, int) - Static method in class cn.hutool.core.util.SystemPropsUtil
获得int类型值
getInt(String, String) - Method in class cn.hutool.setting.AbsSetting
获取数字型型属性值
getInt(String, String, Integer) - Method in class cn.hutool.setting.AbsSetting
获取数字型型属性值
getInt(String, Integer) - Method in class cn.hutool.setting.dialect.Props
 
getInt(String) - Method in class cn.hutool.setting.dialect.Props
 
getIntByGroup(String, String) - Method in interface cn.hutool.core.getter.GroupedTypeGetter
获取int型属性值
getInterface(Class<T>) - Method in class cn.hutool.script.FullSupportScriptEngine
 
getInterface(Object, Class<T>) - Method in class cn.hutool.script.FullSupportScriptEngine
 
getInterface(Class<T>) - Method in class cn.hutool.script.JavaScriptEngine
 
getInterface(Object, Class<T>) - Method in class cn.hutool.script.JavaScriptEngine
 
getInterval() - Method in class cn.hutool.core.thread.ConcurrencyTester
获取执行时间
getIntList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
获取Integer型属性值列表
getInts(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
获取Integer型属性值数组
getInts(String, Integer[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
获取Integer型属性值数组
getInverse() - Method in class cn.hutool.core.map.BiMap
获取反向Map
getIoAction() - Method in class cn.hutool.socket.aio.AioClient
获取IO处理器
getIoAction() - Method in class cn.hutool.socket.aio.AioServer
获取IO处理器
getIoAction() - Method in class cn.hutool.socket.aio.AioSession
获取消息处理器
getIoWait() - Method in class cn.hutool.system.oshi.CpuTicks
 
getIpByHost(String) - Static method in class cn.hutool.core.net.NetUtil
通过域名得到IP
getIrq() - Method in class cn.hutool.system.oshi.CpuTicks
 
getIso8601Value() - Method in enum cn.hutool.core.date.Week
获取ISO8601规范的int值,from 1 (Monday) to 7 (Sunday).
getIter(Iterable<T>) - Static method in class cn.hutool.core.collection.IterUtil
获取Iterator
getIter(Object) - Static method in class cn.hutool.core.collection.IterUtil
从给定的对象中获取可能存在的Iterator,规则如下: null - null Iterator - 直接返回 Enumeration - EnumerationIter Collection - 调用Collection.iterator() Map - Entry的Iterator Dictionary - values (elements) enumeration returned as iterator array - ArrayIter NodeList - NodeListIter Node - 子节点 object with iterator() public method,通过反射访问 object - 单对象的ArrayIter
getIterator() - Method in class cn.hutool.core.collection.FilterIter
获取被包装的Iterator
getJarClassLoader(File) - Static method in class cn.hutool.core.util.ClassLoaderUtil
创建新的JarClassLoader,并使用此Classloader加载目录下的class文件和jar文件
getJarFile(URL) - Static method in class cn.hutool.core.util.URLUtil
从URL中获取JarFile
getJavaClassPaths() - Static method in class cn.hutool.core.util.ClassUtil
 
getJavaFileObjects(File) - Static method in class cn.hutool.core.compiler.JavaFileObjectUtil
获取指定文件下的所有待编译的java文件,并以JavaFileObject形式返回
getJavaInfo() - Static method in class cn.hutool.system.SystemUtil
取得Java Implementation的信息。
getJavaRuntimeInfo() - Static method in class cn.hutool.system.SystemUtil
取得当前运行的JRE的信息。
getJavaScriptEngine() - Static method in class cn.hutool.script.ScriptUtil
获得非单例的 Javascript引擎 JavaScriptEngine
getJavaSpecInfo() - Static method in class cn.hutool.system.SystemUtil
取得Java Specification的信息。
getJedis() - Method in class cn.hutool.db.nosql.redis.RedisDS
从资源池中获取Jedis
getJndiDs(String) - Static method in class cn.hutool.db.DbUtil
获得JNDI数据源
getJndiDsWithLog(String) - Static method in class cn.hutool.db.DbUtil
获得JNDI数据源
getJsEngine() - Static method in class cn.hutool.script.ScriptUtil
获得单例的JavaScript引擎
getJSONArray(K) - Method in interface cn.hutool.json.JSONGetter
获得JSONArray对象
如果值为其它类型对象,尝试转换为JSONArray返回,否则抛出异常
getJSONObject(K) - Method in interface cn.hutool.json.JSONGetter
获得JSONObject对象
如果值为其它类型对象,尝试转换为JSONObject返回,否则抛出异常
getJvmInfo() - Static method in class cn.hutool.system.SystemUtil
取得Java Virtual Machine Implementation的信息。
getJvmSpecInfo() - Static method in class cn.hutool.system.SystemUtil
取得Java Virtual Machine Specification的信息。
getKey() - Method in class cn.hutool.cache.impl.CacheObj
获取键
getKey() - Method in class cn.hutool.core.lang.Pair
获取键
getKey(V) - Method in class cn.hutool.core.map.BiMap
根据值获得键
getKey() - Method in class cn.hutool.core.map.LinkedForestMap.EntryNodeWrapper
 
getKey() - Method in class cn.hutool.core.map.LinkedForestMap.TreeEntryNode
获取当前节点的key
getKey(V) - Method in class cn.hutool.core.map.TableMap
根据value获得对应的key,只返回找到的第一个value对应的key值
getKeyByType(KeyType) - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
根据密钥类型获得相应密钥
getKeyComparator() - Method in class cn.hutool.json.JSONConfig
获取键排序规则
键排序规则,null表示不排序,不排序情况下,按照加入顺序排序
getKeyFactory(String) - Static method in class cn.hutool.crypto.KeyUtil
getKeyGenerator(String) - Static method in class cn.hutool.crypto.KeyUtil
getKeyPair(String, InputStream, char[], String) - Static method in class cn.hutool.crypto.KeyUtil
从KeyStore中获取私钥公钥
getKeyPair(KeyStore, char[], String) - Static method in class cn.hutool.crypto.KeyUtil
从KeyStore中获取私钥公钥
getKeyPair(PEMKeyPair) - Static method in class cn.hutool.crypto.OpensslKeyUtil
转换PEMKeyPairKeyPair
getKeyPairGenerator(String) - Static method in class cn.hutool.crypto.KeyUtil
getKeys(V) - Method in class cn.hutool.core.map.TableMap
获取指定value对应的所有key
getKeyStore(String) - Static method in class cn.hutool.crypto.KeyUtil
获取KeyStore对象
getLanguage() - Method in class cn.hutool.system.UserInfo
取得当前登录用户的语言设置(取自系统属性:user.language)。
getLast(Collection<T>) - Static method in class cn.hutool.core.collection.CollUtil
获取集合的最后一个元素
getLastAccess() - Method in class cn.hutool.cache.impl.CacheObj
获取上次访问时间
getLastDay(boolean) - Method in enum cn.hutool.core.date.Month
获取此月份最后一天的值,不支持的月份(例如UNDECIMBER)返回-1
getLastDay(int, boolean) - Static method in enum cn.hutool.core.date.Month
获得指定月的最后一天
getLastDayOfMonth() - Method in class cn.hutool.core.date.DateTime
获得本月的最后一天
getLastDayOfMonth(Date) - Static method in class cn.hutool.core.date.DateUtil
获得本月的最后一天
getLastHeader() - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
 
getLastModified() - Method in class cn.hutool.core.io.resource.VfsResource
获得VFS文件最后修改时间
getLastModified(Object) - Method in class cn.hutool.extra.template.engine.freemarker.SimpleStringTemplateLoader
 
getLastModified(Resource) - Method in class cn.hutool.extra.template.engine.velocity.SimpleStringResourceLoader
 
getLastPathEle(Path) - Static method in class cn.hutool.core.io.file.PathUtil
获取指定位置的最后一个子路径部分
getLastTaskInfo() - Method in class cn.hutool.core.date.StopWatch
获取最后的任务对象
getLastTaskName() - Method in class cn.hutool.core.date.StopWatch
获取最后的任务名
getLastTaskTimeMillis() - Method in class cn.hutool.core.date.StopWatch
获取最后任务的花费时间(毫秒)
getLastTaskTimeNanos() - Method in class cn.hutool.core.date.StopWatch
获取最后任务的花费时间(纳秒)
getLat() - Method in class cn.hutool.core.util.CoordinateUtil.Coordinate
获取纬度
getLeastSignificantBits() - Method in class cn.hutool.core.lang.UUID
返回此 UUID 的 128 位值中的最低有效 64 位。
getLength() - Method in class cn.hutool.captcha.generator.AbstractGenerator
获取长度验证码
getLength() - Method in class cn.hutool.captcha.generator.MathGenerator
获取验证码长度
getLevel() - Method in class cn.hutool.core.date.BetweenFormatter
获得 格式化级别
getLevel(String) - Static method in class cn.hutool.core.text.PasswdStrength
Get password strength level, includes easy, midium, strong, very strong, extremely strong
getLevel() - Method in enum cn.hutool.db.transaction.TransactionLevel
获取数据库事务级别int值
getLibraryPath() - Method in class cn.hutool.system.JavaRuntimeInfo
取得当前JRE的library搜索路径(取自系统属性:java.library.path)。
getLibraryPathArray() - Method in class cn.hutool.system.JavaRuntimeInfo
取得当前JRE的library搜索路径(取自系统属性:java.library.path)。
getLineNumber() - Method in exception cn.hutool.script.ScriptRuntimeException
Get the line number on which an error occurred.
getLineSeparator() - Static method in class cn.hutool.core.io.FileUtil
获取当前系统的换行分隔符
getLineSeparator() - Method in class cn.hutool.system.OsInfo
取得OS的文本文件换行符(取自系统属性:line.separator)。
getLinkAnnotation(AnnotationAttribute, RelationType...) - Method in class cn.hutool.core.annotation.AbstractLinkAnnotationPostProcessor
从注解属性上获取指定类型的Link注解
getLinked() - Method in class cn.hutool.core.annotation.AbstractWrappedAnnotationAttribute
 
getLinked() - Method in interface cn.hutool.core.annotation.WrappedAnnotationAttribute
getLinkedAnnotation(Link, AnnotationSynthesizer, Class<? extends Annotation>) - Method in class cn.hutool.core.annotation.AbstractLinkAnnotationPostProcessor
从合成注解中获取Link.type()指定的注解对象
getLinkedAnnotationType(Link, Class<?>) - Method in class cn.hutool.core.annotation.AbstractLinkAnnotationPostProcessor
Link.annotation()获取的类型Annotation#getClass(),则返回defaultType, 否则返回Link.annotation()指定的类型
getLinkOperator() - Method in class cn.hutool.db.sql.Condition
获取与前一个Condition连接的逻辑运算符,可以是and或or
getLinkOptions(boolean) - Static method in class cn.hutool.core.io.file.PathUtil
构建是否追踪软链的选项
getListenerFactory() - Method in class cn.hutool.extra.ftp.SimpleFtpServer
获取ListenerFactory,用于设置端口、用户、SSL等信息
getListParam(String) - Method in class cn.hutool.core.net.multipart.MultipartFormData
获得集合表单值
getLng() - Method in class cn.hutool.core.util.CoordinateUtil.Coordinate
获取经度
getLocalAddress() - Method in class cn.hutool.http.server.HttpExchangeWrapper
 
getLocalDateTime(K, LocalDateTime) - Method in interface cn.hutool.json.JSONGetter
获取LocalDateTime类型值
getLocalDateTimeCellValue() - Method in class cn.hutool.poi.excel.cell.NullCell
 
getLocale() - Method in class cn.hutool.core.date.format.AbstractDateBasic
 
getLocale() - Method in interface cn.hutool.core.date.format.DateBasic
获得 日期地理位置
getLocale() - Method in class cn.hutool.core.date.format.FastDateFormat
 
getLocalHardwareAddress() - Static method in class cn.hutool.core.net.NetUtil
获得本机物理地址
getLocalhost() - Static method in class cn.hutool.core.net.NetUtil
获取本机网卡IP地址,规则如下:
getLocalHostName() - Static method in class cn.hutool.core.net.NetUtil
获取主机名称,一次获取会缓存名称
注意此方法会触发反向DNS解析,导致阻塞,阻塞时间取决于网络!
getLocalhostStr() - Static method in class cn.hutool.core.net.NetUtil
获取本机网卡IP地址,这个地址为所有网卡中非回路地址的第一个
如果获取失败调用 InetAddress.getLocalHost()方法获取。
此方法不会抛出异常,获取失败将返回null
getLocalMacAddress() - Static method in class cn.hutool.core.net.NetUtil
获得本机MAC地址
getLocation(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
获取class类路径URL, 不管是否在jar包中都会返回文件夹的路径
class在jar包中返回jar所在文件夹,class不在jar中返回文件夹目录
jdk中的类不能使用此方法
getLocationPath(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
获取class类路径, 不管是否在jar包中都会返回文件夹的路径
class在jar包中返回jar所在文件夹,class不在jar中返回文件夹目录
jdk中的类不能使用此方法
getLog(String) - Method in class cn.hutool.log.LogFactory
获得日志对象
getLog(Class<?>) - Method in class cn.hutool.log.LogFactory
获得日志对象
getLoginTimeout() - Method in class cn.hutool.db.ds.DataSourceWrapper
 
getLoginTimeout() - Method in class cn.hutool.db.ds.simple.AbstractDataSource
 
getLogWriter() - Method in class cn.hutool.db.ds.DataSourceWrapper
 
getLogWriter() - Method in class cn.hutool.db.ds.simple.AbstractDataSource
 
getLong(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
获取long型属性值
getLong(K, Long) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
获取Long型属性值
若获得的值为不可见字符,使用默认值
getLong(K, Long) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getLong(K, Long) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getLong(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
获取long型属性值
无值或获取错误返回null
getLong(String) - Method in class cn.hutool.core.lang.Dict
 
getLong(Map<?, ?>, Object) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Long
getLong(Map<?, ?>, Object, Long) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Long
getLong(String, long) - Static method in class cn.hutool.core.util.SystemPropsUtil
获得long类型值
getLong(String, String) - Method in class cn.hutool.setting.AbsSetting
获取long类型属性值
getLong(String, String, Long) - Method in class cn.hutool.setting.AbsSetting
获取long类型属性值
getLong(String, Long) - Method in class cn.hutool.setting.dialect.Props
 
getLong(String) - Method in class cn.hutool.setting.dialect.Props
 
getLongArray() - Method in class cn.hutool.core.lang.hash.Number128
获取高低位数组,long[0]:低位,long[1]:高位
getLongByGroup(String, String) - Method in interface cn.hutool.core.getter.GroupedTypeGetter
获取Long型属性值
getLongList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
获取Long型属性值列表
getLongs(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
获取Long型属性值数组
getLongs(String, Long[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
获取Long型属性值数组
getLoopCount() - Method in class cn.hutool.core.img.gif.GifDecoder
Gets the "Netscape" iteration count, if any.
getLowValue() - Method in class cn.hutool.core.lang.hash.Number128
获取低位值
getLuaEngine() - Static method in class cn.hutool.script.ScriptUtil
获得单例的Lua引擎
需要引入org.luaj:luaj-jse
getMac() - Method in class cn.hutool.crypto.digest.mac.BCMacEngine
获得 Mac
getMac() - Method in class cn.hutool.crypto.digest.mac.DefaultHMacEngine
获得 Mac
getMacAddress(InetAddress) - Static method in class cn.hutool.core.net.NetUtil
获得指定地址信息中的MAC地址,使用分隔符“-”
getMacAddress(InetAddress, String) - Static method in class cn.hutool.core.net.NetUtil
获得指定地址信息中的MAC地址
getMacLength() - Method in class cn.hutool.crypto.digest.mac.BCMacEngine
 
getMacLength() - Method in class cn.hutool.crypto.digest.mac.DefaultHMacEngine
 
getMacLength() - Method in class cn.hutool.crypto.digest.mac.Mac
获取MAC算法块长度
getMacLength() - Method in interface cn.hutool.crypto.digest.mac.MacEngine
获取MAC算法块大小
getMagicNumber(byte[]) - Static method in enum cn.hutool.core.io.FileMagicNumber
根据给定的bytes,获取对应识别到的FileMagicNumber
getMainAlgorithm(String) - Static method in class cn.hutool.crypto.KeyUtil
获取主体算法名,例如RSA/ECB/PKCS1Padding的主体算法是RSA
getMainColor(String) - Static method in class cn.hutool.core.img.BackgroundRemoval
获取图片大概的主题色 循环所有的像素点,取出出现次数最多的一个像素点的RGB值
getMainColor(File) - Static method in class cn.hutool.core.img.BackgroundRemoval
获取图片大概的主题色 循环所有的像素点,取出出现次数最多的一个像素点的RGB值
getMainColor(BufferedImage) - Static method in class cn.hutool.core.img.BackgroundRemoval
获取图片大概的主题色 循环所有的像素点,取出出现次数最多的一个像素点的RGB值
getMainColor(BufferedImage, int[]...) - Static method in class cn.hutool.core.img.ColorUtil
获取给定图片的主色调,背景填充用
getMainColor(BufferedImage, int[]...) - Static method in class cn.hutool.core.img.ImgUtil
获取给定图片的主色调,背景填充用
getMainThread() - Static method in class cn.hutool.core.thread.ThreadUtil
获取进程的主线程
from Voovan
getManifest(Class<?>) - Static method in class cn.hutool.core.io.ManifestUtil
根据 class 获取 所在 jar 包文件的 Manifest
此方法主要利用class定位jar包,如引入hutool-all,则传入hutool中任意一个类即可获取这个jar的Manifest信息
如果这个类不在jar包中,返回null
getManifest(File) - Static method in class cn.hutool.core.io.ManifestUtil
获取 jar 包文件或项目目录下的 Manifest
getManifest(JarURLConnection) - Static method in class cn.hutool.core.io.ManifestUtil
根据 JarURLConnection 获取 jar 包文件的 Manifest
getManifest(JarFile) - Static method in class cn.hutool.core.io.ManifestUtil
根据 JarURLConnection 获取 jar 包文件的 Manifest
getMap(String) - Method in class cn.hutool.setting.Setting
获得指定分组的所有键值对,此方法获取的是原始键值对,获取的键值对可以被修改
getMargin() - Method in class cn.hutool.extra.qrcode.QrConfig
获取边距
getMaskBit(String) - Static method in class cn.hutool.core.net.MaskBit
根据掩码获取掩码位
getMaskBitByMask(String) - Static method in class cn.hutool.core.net.Ipv4Util
根据子网掩码转换为掩码位
getMaskByIpRange(String, String) - Static method in class cn.hutool.core.net.Ipv4Util
根据开始IP与结束IP计算掩码
getMaskByMaskBit(int) - Static method in class cn.hutool.core.net.Ipv4Util
根据掩码位获取掩码
getMatrix() - Method in class cn.hutool.extra.qrcode.BufferedImageLuminanceSource
 
getMax() - Method in enum cn.hutool.cron.pattern.Part
获取最大值
getMaxActive() - Method in class cn.hutool.db.ds.pooled.DbConfig
 
getMaxFieldSize() - Method in class cn.hutool.db.sql.StatementWrapper
 
getMaxFileSize() - Method in class cn.hutool.core.net.multipart.UploadSetting
 
getMaxLengthEstimate() - Method in class cn.hutool.core.date.format.FastDateFormat
估算生成的日期字符串长度
实际生成的字符串长度小于或等于此值
getMaxLengthEstimate() - Method in class cn.hutool.core.date.format.FastDatePrinter
估算生成的日期字符串长度
实际生成的字符串长度小于或等于此值
getMaxMemory() - Static method in class cn.hutool.core.util.RuntimeUtil
获得JVM中可以从系统中获取的最大的内存数,单位byte,以-Xmx参数为准
getMaxMemory() - Method in class cn.hutool.system.RuntimeInfo
获得JVM最大内存
getMaxMemory() - Static method in class cn.hutool.system.SystemUtil
获取JVM可用的内存总大小
getMaxNestingDepth() - Method in class cn.hutool.json.xml.ParseConfig
获取最大嵌套深度,用于解析时限制解析层级,当大于这个层级时抛出异常,-1表示无限制
getMaxRedirectCount() - Static method in class cn.hutool.http.HttpGlobalConfig
获取全局默认的最大重定向次数,如设置0表示不重定向
如果设置为1,表示重定向一次,即请求两次
getMaxRows() - Method in class cn.hutool.db.sql.StatementWrapper
 
getMaxWait() - Method in class cn.hutool.db.ds.pooled.DbConfig
 
getMembers() - Method in class cn.hutool.core.lang.Tuple
获得所有元素
getMemory() - Static method in class cn.hutool.system.oshi.OshiUtil
获取内存相关信息,比如总内存、可用内存等
getMemoryManagerMXBeans() - Static method in class cn.hutool.system.SystemUtil
获取Java虚拟机中的MemoryManagerMXBean列表
The Java virtual machine can have one or more memory managers.
getMemoryMXBean() - Static method in class cn.hutool.system.SystemUtil
返回Java虚拟机内存系统相关属性
getMemoryPoolMXBeans() - Static method in class cn.hutool.system.SystemUtil
获取Java虚拟机中的MemoryPoolMXBean列表
The Java virtual machine can have one or more memory pools.
getMemoryThreshold() - Method in class cn.hutool.core.net.multipart.UploadSetting
 
getMergedRegionCell(Cell) - Static method in class cn.hutool.poi.excel.cell.CellUtil
获取合并单元格
传入的x,y坐标(列行数)可以是合并单元格范围内的任意一个单元格
getMergedRegionCell(Sheet, int, int) - Static method in class cn.hutool.poi.excel.cell.CellUtil
获取合并单元格
传入的x,y坐标(列行数)可以是合并单元格范围内的任意一个单元格
getMergedRegionValue(Sheet, String) - Static method in class cn.hutool.poi.excel.cell.CellUtil
获取合并单元格的值
传入的x,y坐标(列行数)可以是合并单元格范围内的任意一个单元格
getMergedRegionValue(Sheet, int, int) - Static method in class cn.hutool.poi.excel.cell.CellUtil
获取合并单元格的值
传入的x,y坐标(列行数)可以是合并单元格范围内的任意一个单元格
getMessage(Throwable) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
获得完整消息,包括异常名,消息格式为:{SimpleClassName}: {ThrowableMessage}
getMessage() - Method in class cn.hutool.extra.validation.BeanValidationResult.ErrorMessage
 
getMessage() - Method in class cn.hutool.http.webservice.SoapClient
获取SOAP消息对象 SOAPMessage
getMessage() - Method in exception cn.hutool.script.ScriptRuntimeException
Returns a message containing the String passed to a constructor as well as line and column numbers and filename if any of these are known.
getMessages(DiagnosticCollector<?>) - Static method in class cn.hutool.core.compiler.DiagnosticUtil
获取DiagnosticCollector收集到的诊断信息,以文本返回
getMetaData() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
getMetaData(Connection) - Static method in class cn.hutool.db.meta.MetaUtil
获取数据库连接的元数据信息。
getMetaData() - Method in class cn.hutool.db.sql.StatementWrapper
 
getMethod(Class<?>, String, Class<?>...) - Static method in class cn.hutool.core.util.ReflectUtil
查找指定方法 如果找不到对应的方法则返回null
getMethod(Class<?>, boolean, String, Class<?>...) - Static method in class cn.hutool.core.util.ReflectUtil
查找指定方法 如果找不到对应的方法则返回null
此方法为精准获取方法名,即方法名和参数数量和类型必须一致,否则返回null
如果查找的方法有多个同参数类型重载,查找第一个找到的方法
getMethod() - Method in class cn.hutool.http.HttpConnection
获取请求方法,GET/POST
getMethod() - Method in class cn.hutool.http.HttpRequest
获取Http请求方法
getMethod() - Method in class cn.hutool.http.server.HttpServerRequest
获得Http Method
getMethodByName(Class<?>, String) - Static method in class cn.hutool.core.util.ReflectUtil
按照方法名查找指定方法名的方法,只返回匹配到的第一个方法,如果找不到对应的方法则返回null
getMethodByName(Class<?>, boolean, String) - Static method in class cn.hutool.core.util.ReflectUtil
按照方法名查找指定方法名的方法,只返回匹配到的第一个方法,如果找不到对应的方法则返回null
getMethodByNameIgnoreCase(Class<?>, String) - Static method in class cn.hutool.core.util.ReflectUtil
按照方法名查找指定方法名的方法,只返回匹配到的第一个方法,如果找不到对应的方法则返回null
getMethodEle() - Method in class cn.hutool.http.webservice.SoapClient
获取方法节点
用于创建子节点等操作
getMethodIgnoreCase(Class<?>, String, Class<?>...) - Static method in class cn.hutool.core.util.ReflectUtil
忽略大小写查找指定方法,如果找不到对应的方法则返回null
getMethodName(Func1<P, ?>) - Static method in class cn.hutool.core.lang.func.LambdaUtil
获取lambda表达式函数(方法)名称
getMethodName(Func0<R>) - Static method in class cn.hutool.core.lang.func.LambdaUtil
获取lambda表达式函数(方法)名称
getMethodNames(Class<?>) - Static method in class cn.hutool.core.util.ReflectUtil
获得指定类中的方法名
去重重载的方法
getMethodOfObj(Object, String, Object...) - Static method in class cn.hutool.core.util.ReflectUtil
查找指定对象中的所有方法(包括非public方法),也包括父对象和Object类的方法
getMethods(Class<?>, Filter<Method>) - Static method in class cn.hutool.core.util.ReflectUtil
获得指定类过滤后的方法列表
getMethods(Class<?>) - Static method in class cn.hutool.core.util.ReflectUtil
获得一个类中所有方法列表,包括其父类中的方法
getMethodsDirectly(Class<?>, boolean, boolean) - Static method in class cn.hutool.core.util.ReflectUtil
获得一个类中所有方法列表,直接反射获取,无缓存
接口获取方法和默认方法,获取的方法包括: 本类中的所有方法(包括static方法) 父类中的所有方法(包括static方法) Object中(包括static方法)
getMillis() - Method in enum cn.hutool.core.date.DateUnit
 
getMimeSubtype() - Method in class cn.hutool.core.net.multipart.UploadFileHeader
Returns file sub type MIME.
getMimeType(Path) - Static method in class cn.hutool.core.io.file.PathUtil
获得文件的MimeType
getMimeType() - Method in enum cn.hutool.core.io.FileMagicNumber
 
getMimeType(String) - Static method in class cn.hutool.core.io.FileUtil
根据文件扩展名获得MimeType
getMimeType() - Method in class cn.hutool.core.net.multipart.UploadFileHeader
Returns file types MIME.
getMimeType(String, String) - Static method in class cn.hutool.http.HttpUtil
根据文件扩展名获得MimeType
getMimeType(String) - Static method in class cn.hutool.http.HttpUtil
根据文件扩展名获得MimeType
getMin() - Method in enum cn.hutool.cron.pattern.Part
获取最小值
getMinIdle() - Method in class cn.hutool.db.ds.pooled.DbConfig
 
getMinValue() - Method in class cn.hutool.cron.pattern.matcher.BoolArrayMatcher
获取表达式定义的最小值
getMissCount() - Method in class cn.hutool.cache.impl.AbstractCache
 
getMongo() - Method in class cn.hutool.db.nosql.mongo.MongoDS
 
getMonth() - Method in class cn.hutool.core.date.ChineseDate
获取农历的月,从1开始计数
此方法返回实际的月序号,如一月是闰月,则一月返回1,润一月返回2
getMonthByIdCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
根据身份编号获取生日月,只支持15或18位身份证号码
getMoreResults() - Method in class cn.hutool.db.sql.StatementWrapper
 
getMoreResults(int) - Method in class cn.hutool.db.sql.StatementWrapper
 
getMostSignificantBits() - Method in class cn.hutool.core.lang.UUID
返回此 UUID 的 128 位值中的最高有效 64 位。
getMsgStr(boolean) - Method in class cn.hutool.http.webservice.SoapClient
获取SOAP请求消息
getMultipart(ServletRequest) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
获得MultiPart表单内容,多用于获得上传的文件 在同一次请求中,此方法只能被执行一次!
getMultipart(ServletRequest, UploadSetting) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
获得multipart/form-data 表单内容
包括文件和普通表单数据
在同一次请求中,此方法只能被执行一次!
getMultipart(ServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
获得MultiPart表单内容,多用于获得上传的文件 在同一次请求中,此方法只能被执行一次!
getMultipart(ServletRequest, UploadSetting) - Static method in class cn.hutool.extra.servlet.ServletUtil
获得multipart/form-data 表单内容
包括文件和普通表单数据
在同一次请求中,此方法只能被执行一次!
getMultipart() - Method in class cn.hutool.http.server.HttpServerRequest
获得MultiPart表单内容,多用于获得上传的文件
getMultistageReverseProxyIp(String) - Static method in class cn.hutool.core.net.NetUtil
从多级反向代理中获得第一个非unknown IP地址
getName() - Method in class cn.hutool.core.bean.BeanDesc
获取Bean的全类名
getName() - Method in enum cn.hutool.core.date.BetweenFormatter.Level
获取级别名称
getName(File) - Static method in class cn.hutool.core.io.file.FileNameUtil
返回文件名
getName(String) - Static method in class cn.hutool.core.io.file.FileNameUtil
返回文件名
getName(Path) - Static method in class cn.hutool.core.io.file.PathUtil
获取Path文件名
getName(File) - Static method in class cn.hutool.core.io.FileUtil
返回文件名
getName(String) - Static method in class cn.hutool.core.io.FileUtil
返回文件名
getName() - Method in class cn.hutool.core.io.resource.BytesResource
 
getName() - Method in class cn.hutool.core.io.resource.CharSequenceResource
 
getName() - Method in class cn.hutool.core.io.resource.FileObjectResource
 
getName() - Method in class cn.hutool.core.io.resource.FileResource
 
getName() - Method in class cn.hutool.core.io.resource.InputStreamResource
 
getName() - Method in class cn.hutool.core.io.resource.MultiResource
 
getName() - Method in interface cn.hutool.core.io.resource.Resource
获取资源名,例如文件资源的资源名为文件名
getName() - Method in class cn.hutool.core.io.resource.UrlResource
 
getName() - Method in class cn.hutool.core.io.resource.VfsResource
 
getName() - Method in interface cn.hutool.core.lang.tree.Node
获取节点标签名称
getName() - Method in class cn.hutool.core.lang.tree.Tree
 
getName() - Method in class cn.hutool.core.lang.tree.TreeNode
 
getName() - Method in class cn.hutool.db.meta.Column
获取列名
getName() - Method in class cn.hutool.http.HttpResource
 
getName() - Method in class cn.hutool.http.useragent.UserAgentInfo
获取信息名称
getName() - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
 
getName() - Method in class cn.hutool.log.dialect.console.ConsoleLog
 
getName() - Method in class cn.hutool.log.dialect.jboss.JbossLog
 
getName() - Method in class cn.hutool.log.dialect.jdk.JdkLog
 
getName() - Method in class cn.hutool.log.dialect.log4j.Log4jLog
 
getName() - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
 
getName() - Method in class cn.hutool.log.dialect.logtube.LogTubeLog
 
getName() - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
 
getName() - Method in class cn.hutool.log.dialect.tinylog.TinyLog
 
getName() - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
 
getName() - Method in interface cn.hutool.log.Log
 
getName() - Method in class cn.hutool.log.LogFactory
获取日志框架名,用于打印当前所用日志框架
getName() - Method in enum cn.hutool.poi.excel.sax.CellDataType
获取对应类型的属性值
getName() - Method in class cn.hutool.system.HostInfo
取得当前主机的名称。
getName() - Method in class cn.hutool.system.JavaRuntimeInfo
取得当前JRE的名称(取自系统属性:java.runtime.name)。
getName() - Method in class cn.hutool.system.JavaSpecInfo
取得当前Java Spec.的名称(取自系统属性:java.specification.name)。
getName() - Method in class cn.hutool.system.JvmInfo
取得当前JVM impl.的名称(取自系统属性:java.vm.name)。
getName() - Method in class cn.hutool.system.JvmSpecInfo
取得当前JVM spec.的名称(取自系统属性:java.vm.specification.name)。
getName() - Method in class cn.hutool.system.OsInfo
取得当前OS的名称(取自系统属性:os.name)。
getName() - Method in class cn.hutool.system.UserInfo
取得当前登录用户的名字(取自系统属性:user.name)。
getNameFieldMap(Class<? extends Enum<?>>, String) - Static method in class cn.hutool.core.util.EnumUtil
获得枚举名对应指定字段值的Map
键为枚举名,值为字段值
getNameKey() - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
获取节点名对应的名称
getNames(Class<? extends Enum<?>>) - Static method in class cn.hutool.core.util.EnumUtil
枚举类中所有枚举对象的name列表
getNamespaceURI(String) - Method in class cn.hutool.core.util.XmlUtil.UniversalNamespaceCache
This method is called by XPath.
getNetworkIFs() - Static method in class cn.hutool.system.oshi.OshiUtil
获取网络相关信息,可能多块网卡
getNetworkInterface(String) - Static method in class cn.hutool.core.net.NetUtil
获取指定名称的网卡信息
getNetworkInterfaces() - Static method in class cn.hutool.core.net.NetUtil
获取本机所有网卡
getNetworkTimeout() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
getNice() - Method in class cn.hutool.system.oshi.CpuTicks
 
getNode(T) - Method in class cn.hutool.core.lang.tree.Tree
获取ID对应的节点,如果有多个ID相同的节点,只返回第一个。
此方法只查找此节点及子节点,采用广度优先遍历。
getNode(Tree<T>, T) - Static method in class cn.hutool.core.lang.tree.TreeUtil
获取ID对应的节点,如果有多个ID相同的节点,只返回第一个。
此方法只查找此节点及子节点,采用递归深度优先遍历。
getNodeByXPath(String, Object) - Static method in class cn.hutool.core.util.XmlUtil
通过XPath方式读取XML节点等信息
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
getNodeListByXPath(String, Object) - Static method in class cn.hutool.core.util.XmlUtil
通过XPath方式读取XML的NodeList
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
getNodeValue(K) - Method in interface cn.hutool.core.map.ForestMap
获取指定节点的值
getNoLock() - Static method in class cn.hutool.core.thread.lock.LockUtil
获取单例的无锁对象
getNonWrappedOriginal() - Method in class cn.hutool.core.annotation.AbstractWrappedAnnotationAttribute
 
getNonWrappedOriginal() - Method in interface cn.hutool.core.annotation.WrappedAnnotationAttribute
获取最初的被包装的AnnotationAttribute
getNumber(String) - Method in class cn.hutool.core.lang.Dict
 
getNumberOrDateValue(CellValueRecordInterface, double, FormatTrackingHSSFListener) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
在Excel03 sax读取中获取日期或数字类型的结果值
getNumericCellValue() - Method in class cn.hutool.poi.excel.cell.NullCell
 
getObj(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
获取Object属性值
getObj(K, Object) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
获取Object属性值
getObj(K, Object) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getObj(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
 
getObj(String) - Method in class cn.hutool.core.lang.Dict
 
getObj() - Method in class cn.hutool.core.lang.WeightRandom.WeightObj
获取对象
getObj(Object, Object) - Method in class cn.hutool.core.map.MapProxy
 
getObj(Integer, Object) - Method in class cn.hutool.json.JSONArray
 
getObj(String, Object) - Method in class cn.hutool.json.JSONObject
 
getObj(String, Object) - Method in class cn.hutool.setting.dialect.Props
 
getObj(String) - Method in class cn.hutool.setting.dialect.Props
 
getObjList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
获取Object型属性值列表
getObjs(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
获取Object型属性值数组
getObjs(String, Object[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
获取Object型属性值数组
getOperatingSystemMXBean() - Static method in class cn.hutool.system.SystemUtil
返回Java虚拟机运行下的操作系统相关信息属性
getOperator() - Method in class cn.hutool.db.sql.Condition
获得运算符
大于号,小于号,等于号 等
getOrCreateCell(Row, int) - Static method in class cn.hutool.poi.excel.cell.CellUtil
获取已有单元格或创建新单元格
getOrCreateCell(String) - Method in class cn.hutool.poi.excel.ExcelBase
获取或创建指定坐标单元格
getOrCreateCell(int, int) - Method in class cn.hutool.poi.excel.ExcelBase
获取或创建指定坐标单元格
getOrCreateCell(XWPFTableRow, int) - Static method in class cn.hutool.poi.word.TableUtil
获取或创建新单元格
存在则直接返回,不存在创建新的单元格
getOrCreateCellStyle(String) - Method in class cn.hutool.poi.excel.ExcelBase
为指定单元格获取或者创建样式,返回样式后可以设置样式内容
getOrCreateCellStyle(int, int) - Method in class cn.hutool.poi.excel.ExcelBase
为指定单元格获取或者创建样式,返回样式后可以设置样式内容
getOrCreateColumnStyle(int) - Method in class cn.hutool.poi.excel.ExcelBase
获取或创建某一列的样式,返回样式后可以设置样式内容
需要注意,此方法返回行样式,设置背景色在单元格设置值后会被覆盖,需要单独设置其单元格的样式。
getOrCreateRow(int) - Method in class cn.hutool.poi.excel.ExcelBase
获取或者创建行
getOrCreateRow(Sheet, int) - Static method in class cn.hutool.poi.excel.RowUtil
获取已有行或创建新行
getOrCreateRow(XWPFTable, int) - Static method in class cn.hutool.poi.word.TableUtil
获取或创建新行
存在则直接返回,不存在创建新的行
getOrCreateRowStyle(int) - Method in class cn.hutool.poi.excel.ExcelBase
获取或创建某一行的样式,返回样式后可以设置样式内容
需要注意,此方法返回行样式,设置背景色在单元格设置值后会被覆盖,需要单独设置其单元格的样式。
getOrCreateSheet(Workbook, String) - Static method in class cn.hutool.poi.excel.WorkbookUtil
获取或者创建sheet表
如果sheet表在Workbook中已经存在,则获取之,否则创建之
getOrCreateSheet(Workbook, int) - Static method in class cn.hutool.poi.excel.WorkbookUtil
获取或者创建sheet表
自定义需要读取或写出的Sheet,如果给定的sheet不存在,创建之(命名为默认)
在读取中,此方法用于切换读取的sheet,在写出时,此方法用于新建或者切换sheet
getOrDefault(Object, Object) - Method in class cn.hutool.core.lang.Dict
 
getOrDefault(Object, V) - Method in class cn.hutool.core.map.MapWrapper
 
getOrDefault(Object, V) - Method in class cn.hutool.core.map.TransMap
 
getOrders() - Method in class cn.hutool.db.Page
 
getOriginal() - Method in class cn.hutool.core.annotation.AbstractWrappedAnnotationAttribute
 
getOriginal() - Method in interface cn.hutool.core.annotation.WrappedAnnotationAttribute
获取被包装的AnnotationAttribute对象,该对象也可能是AnnotationAttribute
getOriginalLineNumber() - Method in class cn.hutool.core.text.csv.CsvRow
获取原始行号,多行情况下为首行行号。忽略注释行
getOs() - Method in class cn.hutool.http.useragent.UserAgent
获取系统类型
getOs() - Static method in class cn.hutool.system.oshi.OshiUtil
获取操作系统相关信息,包括系统版本、文件系统、进程等
getOsInfo() - Static method in class cn.hutool.system.SystemUtil
取得OS的信息。
getOsVersion() - Method in class cn.hutool.http.useragent.UserAgent
获取系统版本
getOut() - Method in class cn.hutool.core.compress.ZipWriter
获取原始的ZipOutputStream
getOut(String, OutputStream) - Static method in class cn.hutool.extra.compress.CompressUtil
获取压缩输出流,用于压缩指定内容,支持的格式例如:
getOut() - Method in class cn.hutool.http.server.HttpServerResponse
获取响应数据流
getOutputStream() - Method in class cn.hutool.core.io.file.FileWriter
获得一个输出流对象
getOutputStream(Path) - Static method in class cn.hutool.core.io.file.PathUtil
获得输出流
getOutputStream(File) - Static method in class cn.hutool.core.io.FileUtil
获得一个输出流对象
getOutputStream(String) - Static method in class cn.hutool.core.io.FileUtil
获得一个输出流对象
getOutputStream() - Method in class cn.hutool.http.HttpConnection
获取输出流对象 输出流对象用于发送数据
getOwnerDocument(Node) - Static method in class cn.hutool.core.util.XmlUtil
获取节点所在的Document
getOwnerType() - Method in class cn.hutool.core.lang.ParameterizedTypeImpl
 
getPackage(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
获得给定类所在包的名称
例如:
com.xiaoleilu.hutool.util.ClassUtil =》 com.xiaoleilu.hutool.util
getPackagePath(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
获得给定类所在包的路径
例如:
com.xiaoleilu.hutool.util.ClassUtil =》 com/xiaoleilu/hutool/util
getPage() - Method in class cn.hutool.db.PageResult
页码,0表示第一页
getPage() - Method in class cn.hutool.db.sql.Query
获得分页对象,无分页返回null
getPageNumber() - Method in class cn.hutool.db.Page
 
getPageSize() - Method in class cn.hutool.db.Page
 
getPageSize() - Method in class cn.hutool.db.PageResult
 
getParam(String) - Method in class cn.hutool.core.net.multipart.MultipartFormData
返回单一参数值,如果有多个只返回第一个
getParam(String) - Method in class cn.hutool.http.server.HttpServerRequest
获取指定名称的参数值,取第一个值
getParamClass(Method, int) - Static method in class cn.hutool.core.util.TypeUtil
获取方法的参数类
getParamClasses(Method) - Static method in class cn.hutool.core.util.TypeUtil
解析方法的参数类型列表
依赖jre\lib\rt.jar
getParameterMetaData() - Method in class cn.hutool.db.sql.StatementWrapper
 
getParamList() - Method in class cn.hutool.db.sql.NamedSql
获取参数列表,按照占位符顺序
getParamListMap() - Method in class cn.hutool.core.net.multipart.MultipartFormData
获取所有属性的集合
getParamMap() - Method in class cn.hutool.core.net.multipart.MultipartFormData
获取所有属性的集合
getParamMap(ServletRequest) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
获得所有请求参数
getParamMap(ServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
获得所有请求参数
getParamNames() - Method in class cn.hutool.core.net.multipart.MultipartFormData
 
getParams() - Method in class cn.hutool.crypto.CipherWrapper
获取AlgorithmParameterSpec
在某些算法中,需要特别的参数,例如在ECIES中,此处为IESParameterSpec
getParams() - Method in class cn.hutool.db.sql.NamedSql
获取参数列表,按照占位符顺序
getParams(ServletRequest) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
获得所有请求参数
getParams(ServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
获得所有请求参数
getParams(String) - Method in class cn.hutool.http.server.HttpServerRequest
获取指定名称的参数值
getParams() - Method in class cn.hutool.http.server.HttpServerRequest
获取参数Map
getParamType(Method, int) - Static method in class cn.hutool.core.util.TypeUtil
获取方法的参数类型
优先获取方法的GenericParameterTypes,如果获取不到,则获取ParameterTypes
getParamTypes(Method) - Static method in class cn.hutool.core.util.TypeUtil
获取方法的参数类型列表
优先获取方法的GenericParameterTypes,如果获取不到,则获取ParameterTypes
getParamValueArray() - Method in class cn.hutool.db.sql.SqlBuilder
获得占位符对应的值列表
getParamValues() - Method in class cn.hutool.db.sql.ConditionBuilder
返回构建后的参数列表
此方法调用前必须调用ConditionBuilder.build()
getParamValues() - Method in class cn.hutool.db.sql.SqlBuilder
获得占位符对应的值列表
getParent(String, int) - Static method in class cn.hutool.core.io.FileUtil
获取指定层级的父路径
getParent(File, int) - Static method in class cn.hutool.core.io.FileUtil
获取指定层级的父路径
getParent() - Method in class cn.hutool.core.lang.tree.Tree
获取父节点
getParent(K) - Method in class cn.hutool.core.map.LinkedForestMap.TreeEntryNode
获取以当前节点作为叶子节点的树结构,然后获取该树结构中当前节点的指定父节点
getParent(K) - Method in interface cn.hutool.core.map.TreeEntry
获取以当前节点作为叶子节点的树结构,然后获取该树结构中当前节点的指定父节点
getParentId() - Method in interface cn.hutool.core.lang.tree.Node
获取父节点ID
getParentId() - Method in class cn.hutool.core.lang.tree.Tree
 
getParentId() - Method in class cn.hutool.core.lang.tree.TreeNode
 
getParentIdKey() - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
获取父节点ID对应的名称
getParentLogger() - Method in class cn.hutool.db.ds.DataSourceWrapper
 
getParentLogger() - Method in class cn.hutool.db.ds.simple.AbstractDataSource
Support from JDK7
getParentNode(K, K) - Method in interface cn.hutool.core.map.ForestMap
获取以指定节点作为叶子节点的树结构,然后获取该树结构中指定节点的指定父节点
getParentsId(Tree<T>, boolean) - Static method in class cn.hutool.core.lang.tree.TreeUtil
获取所有父节点ID列表
getParentsName(T, boolean) - Method in class cn.hutool.core.lang.tree.Tree
获取所有父节点名称列表
getParentsName(boolean) - Method in class cn.hutool.core.lang.tree.Tree
获取所有父节点名称列表
getParentsName(Tree<T>, boolean) - Static method in class cn.hutool.core.lang.tree.TreeUtil
获取所有父节点名称列表
getPass() - Method in class cn.hutool.db.ds.pooled.DbConfig
 
getPass() - Method in class cn.hutool.db.ds.simple.SimpleDataSource
 
getPass() - Method in class cn.hutool.extra.mail.MailAccount
获取密码
getPassword() - Method in class cn.hutool.extra.ftp.FtpConfig
 
getPassword() - Method in class cn.hutool.extra.ssh.Connector
获得密码
getPasswordAuthentication() - Method in class cn.hutool.core.net.PassAuth
 
getPasswordAuthentication() - Method in class cn.hutool.core.net.UserPassAuthenticator
 
getPasswordAuthentication() - Method in class cn.hutool.extra.mail.UserPassAuthenticator
 
getPasswordLength() - Method in class cn.hutool.crypto.digest.otp.HOTP
获取密码长度,可以是6,7,8
getPath() - Method in class cn.hutool.core.io.resource.ClassPathResource
获得Path
getPath() - Method in class cn.hutool.core.net.url.UrlBuilder
获取路径,例如/aa/bb/cc
getPath(String) - Static method in class cn.hutool.core.util.URLUtil
获得path部分
getPath() - Method in class cn.hutool.extra.template.TemplateConfig
获取模板路径,如果ClassPath或者WebRoot模式,则表示相对路径
getPath() - Method in class cn.hutool.http.server.HttpServerRequest
获得请求路径Path
getPath() - Method in class cn.hutool.setting.GroupedSet
 
getPathEle(Path, int) - Static method in class cn.hutool.core.io.file.PathUtil
获取指定位置的子路径部分,支持负数,例如index为-1表示从后数第一个节点位置
getPathSeparator() - Method in class cn.hutool.system.OsInfo
取得OS的搜索路径分隔符(取自系统属性:path.separator)。
getPathStr() - Method in class cn.hutool.core.net.url.UrlBuilder
获得路径,例如/aa/bb/cc
getPattern() - Method in class cn.hutool.core.date.format.AbstractDateBasic
 
getPattern() - Method in interface cn.hutool.core.date.format.DateBasic
获得日期格式化或者转换的格式
getPattern() - Method in class cn.hutool.core.date.format.FastDateFormat
 
getPattern(String) - Method in class cn.hutool.cron.Scheduler
获得指定id的CronPattern
getPattern() - Method in class cn.hutool.cron.task.CronTask
获取表达式
getPattern(int) - Method in class cn.hutool.cron.TaskTable
获得指定位置的CronPattern
getPattern(String) - Method in class cn.hutool.cron.TaskTable
获得指定id的CronPattern
getPattern() - Method in class cn.hutool.http.useragent.UserAgentInfo
获取匹配模式
getPatternComparator(String) - Method in class cn.hutool.core.text.AntPathMatcher
Given a full path, returns a Comparator suitable for sorting patterns in order of explicitness.
getPatternParts() - Method in class cn.hutool.core.bean.BeanPath
获取表达式解析后的分段列表
getPatterns() - Method in class cn.hutool.cron.TaskTable
获取所有定时任务表达式,返回不可变列表,即列表不可修改
getPayload() - Method in class cn.hutool.jwt.JWT
获取载荷对象
getPayload(String) - Method in class cn.hutool.jwt.JWT
获取载荷信息
getPayloads() - Method in class cn.hutool.jwt.JWT
获取所有载荷信息
getPhysicalRowCount() - Method in class cn.hutool.poi.excel.ExcelBase
获取有记录的行数,计算方法为:
getPicMap(Workbook, int) - Static method in class cn.hutool.poi.excel.ExcelPicUtil
获取工作簿指定sheet中图片列表
getPid() - Static method in class cn.hutool.core.util.RuntimeUtil
获取当前进程ID,首先获取进程名称,读取@前的ID值,如果不存在,则读取进程名的hash值
getPinyin(char) - Method in class cn.hutool.extra.pinyin.engine.bopomofo4j.Bopomofo4jEngine
 
getPinyin(String, String) - Method in class cn.hutool.extra.pinyin.engine.bopomofo4j.Bopomofo4jEngine
 
getPinyin(char) - Method in class cn.hutool.extra.pinyin.engine.houbbpinyin.HoubbPinyinEngine
 
getPinyin(String, String) - Method in class cn.hutool.extra.pinyin.engine.houbbpinyin.HoubbPinyinEngine
 
getPinyin(char) - Method in class cn.hutool.extra.pinyin.engine.jpinyin.JPinyinEngine
 
getPinyin(String, String) - Method in class cn.hutool.extra.pinyin.engine.jpinyin.JPinyinEngine
 
getPinyin(char) - Method in class cn.hutool.extra.pinyin.engine.pinyin4j.Pinyin4jEngine
 
getPinyin(String, String) - Method in class cn.hutool.extra.pinyin.engine.pinyin4j.Pinyin4jEngine
 
getPinyin(char) - Method in class cn.hutool.extra.pinyin.engine.tinypinyin.TinyPinyinEngine
 
getPinyin(String, String) - Method in class cn.hutool.extra.pinyin.engine.tinypinyin.TinyPinyinEngine
 
getPinyin(char) - Method in interface cn.hutool.extra.pinyin.PinyinEngine
如果c为汉字,则返回大写拼音;如果c不是汉字,则返回String.valueOf(c)
getPinyin(String, String) - Method in interface cn.hutool.extra.pinyin.PinyinEngine
获取字符串对应的完整拼音,非中文返回原字符
getPinyin(char) - Static method in class cn.hutool.extra.pinyin.PinyinUtil
如果c为汉字,则返回大写拼音;如果c不是汉字,则返回String.valueOf(c)
getPinyin(String) - Static method in class cn.hutool.extra.pinyin.PinyinUtil
将输入字符串转为拼音,每个字之间的拼音使用空格分隔
getPinyin(String, String) - Static method in class cn.hutool.extra.pinyin.PinyinUtil
将输入字符串转为拼音,以字符为单位插入分隔符
getPkNames() - Method in class cn.hutool.db.meta.Table
获取主键列表
getPlatform() - Method in class cn.hutool.http.useragent.UserAgent
获取平台类型
getPointBaseCentre(Rectangle, int, int) - Static method in class cn.hutool.core.img.ImgUtil
获得修正后的矩形坐标位置,变为以背景中心为基准坐标(即x,y == 0,0时,处于背景正中)
getPort() - Method in class cn.hutool.core.net.url.UrlBuilder
获取端口,默认-1
getPort() - Method in class cn.hutool.extra.ftp.FtpConfig
 
getPort() - Method in class cn.hutool.extra.mail.MailAccount
获得SMTP服务端口
getPort() - Method in class cn.hutool.extra.ssh.Connector
获得端口号
getPortWithDefault() - Method in class cn.hutool.core.net.url.UrlBuilder
获取端口,如果未自定义返回协议默认端口
getPrefix(File) - Static method in class cn.hutool.core.io.file.FileNameUtil
返回主文件名
getPrefix(String) - Static method in class cn.hutool.core.io.file.FileNameUtil
返回主文件名
getPrefix(File) - Static method in class cn.hutool.core.io.FileUtil
返回主文件名
getPrefix(String) - Static method in class cn.hutool.core.io.FileUtil
返回主文件名
getPrefix(String) - Method in class cn.hutool.core.util.XmlUtil.UniversalNamespaceCache
This method is not needed in this context, but can be implemented in a similar way.
getPrefixes(String) - Method in class cn.hutool.core.util.XmlUtil.UniversalNamespaceCache
 
getPrevious() - Method in class cn.hutool.json.JSONTokener
Get the last character read from the input or '\0' if nothing has been read yet.
getPreWrapQuote() - Method in class cn.hutool.db.sql.Wrapper
 
getPrimaryKeys(DatabaseMetaData, String, String, String) - Static method in class cn.hutool.db.meta.MetaUtil
获取指定表的主键列名列表。
getPrimitiveDefaultValue(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
获取指定原始类型分的默认值
默认值规则为:
getPrincipal() - Method in class cn.hutool.http.server.HttpExchangeWrapper
 
getPrintWriter(boolean) - Method in class cn.hutool.core.io.file.FileWriter
获得一个打印写入对象,可以有print
getPrintWriter(String, String, boolean) - Static method in class cn.hutool.core.io.FileUtil
获得一个打印写入对象,可以有print
getPrintWriter(String, Charset, boolean) - Static method in class cn.hutool.core.io.FileUtil
获得一个打印写入对象,可以有print
getPrintWriter(File, String, boolean) - Static method in class cn.hutool.core.io.FileUtil
获得一个打印写入对象,可以有print
getPrintWriter(File, Charset, boolean) - Static method in class cn.hutool.core.io.FileUtil
获得一个打印写入对象,可以有print
getPrivateKey() - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
获得私钥
getPrivateKey(PrivateKeyInfo) - Static method in class cn.hutool.crypto.OpensslKeyUtil
转换PrivateKeyInfoPrivateKey
getPrivateKeyBase64() - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
获得私钥
getProcessor() - Static method in class cn.hutool.system.oshi.OshiUtil
获取CPU(处理器)相关信息,比如CPU负载等
getProcessorCount() - Static method in class cn.hutool.core.util.RuntimeUtil
获得JVM可用的处理器数量(一般为CPU核心数)
getProp(String) - Method in class cn.hutool.core.bean.BeanDesc
获取属性,如果不存在返回null
getProp(String) - Static method in class cn.hutool.setting.dialect.Props
获得Classpath下的Properties文件
getProp(String, String) - Static method in class cn.hutool.setting.dialect.Props
获得Classpath下的Properties文件
getProp(String, Charset) - Static method in class cn.hutool.setting.dialect.Props
获得Classpath下的Properties文件
getProperties(String) - Method in class cn.hutool.setting.Setting
获取group分组下所有配置键值对,组成新的Properties
getProperty(Object, String) - Static method in class cn.hutool.core.bean.BeanUtil
解析Bean中的属性值
getProperty(String) - Static method in class cn.hutool.extra.spring.SpringUtil
获取配置文件配置项的值
getProperty(String, String) - Static method in class cn.hutool.extra.spring.SpringUtil
获取配置文件配置项的值
getProperty(String, Class<T>, T) - Static method in class cn.hutool.extra.spring.SpringUtil
获取配置文件配置项的值
getPropertyDescriptor(Class<?>, String) - Static method in class cn.hutool.core.bean.BeanUtil
获得Bean类属性描述,大小写敏感
getPropertyDescriptor(Class<?>, String, boolean) - Static method in class cn.hutool.core.bean.BeanUtil
获得Bean类属性描述
getPropertyDescriptorMap(Class<?>, boolean) - Method in enum cn.hutool.core.bean.BeanInfoCache
获得属性名和PropertyDescriptorMap映射
getPropertyDescriptorMap(Class<?>, boolean, Func0<Map<String, PropertyDescriptor>>) - Method in enum cn.hutool.core.bean.BeanInfoCache
获得属性名和PropertyDescriptorMap映射
getPropertyDescriptorMap(Class<?>, boolean) - Static method in class cn.hutool.core.bean.BeanUtil
获得字段名和字段描述Map,获得的结果会缓存在 BeanInfoCache
getPropertyDescriptors(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
获得Bean字段描述数组
getPropertyName() - Method in class cn.hutool.extra.validation.BeanValidationResult.ErrorMessage
 
getPropMap(boolean) - Method in class cn.hutool.core.bean.BeanDesc
获取字段名-字段属性Map
getProps() - Method in class cn.hutool.core.bean.BeanDesc
获取字段属性列表
getProps() - Static method in class cn.hutool.core.util.SystemPropsUtil
 
getProps(String) - Method in class cn.hutool.setting.Setting
获取group分组下所有配置键值对,组成新的Props
getProtocol() - Method in class cn.hutool.http.server.HttpExchangeWrapper
 
getProtocolPackages() - Method in class cn.hutool.system.JavaRuntimeInfo
取得当前JRE的URL协议packages列表(取自系统属性:java.library.path)。
getProvider() - Method in enum cn.hutool.crypto.GlobalBouncyCastleProvider
获取Provider
getProvince() - Method in class cn.hutool.core.util.IdcardUtil.Idcard
获取省份名称
getProvinceByIdCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
根据身份编号获取户籍省份,只支持15或18位身份证号码
getProvinceCode() - Method in class cn.hutool.core.util.IdcardUtil.Idcard
获取省份代码
getProvinceCodeByIdCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
根据身份编号获取户籍省份编码,只支持15或18位身份证号码
getProxy() - Method in class cn.hutool.http.HttpConnection
获得代理
getPublicKey() - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
获得公钥
getPublicKey(SubjectPublicKeyInfo) - Static method in class cn.hutool.crypto.OpensslKeyUtil
转换SubjectPublicKeyInfoPublicKey
getPublicKeyBase64() - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
获得公钥
getPublicMethod(Class<?>, String, Class<?>...) - Static method in class cn.hutool.core.util.ClassUtil
查找指定Public方法 如果找不到对应的方法或方法不为public的则返回null
getPublicMethod(Class<?>, String, Class<?>...) - Static method in class cn.hutool.core.util.ReflectUtil
查找指定Public方法 如果找不到对应的方法或方法不为public的则返回null
getPublicMethodNames(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
获得指定类中的Public方法名
去重重载的方法
getPublicMethodNames(Class<?>) - Static method in class cn.hutool.core.util.ReflectUtil
获得指定类本类及其父类中的Public方法名
去重重载的方法
getPublicMethods(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
获得本类及其父类所有Public方法
getPublicMethods(Class<?>, Filter<Method>) - Static method in class cn.hutool.core.util.ClassUtil
获得指定类过滤后的Public方法列表
getPublicMethods(Class<?>, Method...) - Static method in class cn.hutool.core.util.ClassUtil
获得指定类过滤后的Public方法列表
getPublicMethods(Class<?>, String...) - Static method in class cn.hutool.core.util.ClassUtil
获得指定类过滤后的Public方法列表
getPublicMethods(Class<?>) - Static method in class cn.hutool.core.util.ReflectUtil
获得本类及其父类所有Public方法
getPublicMethods(Class<?>, Filter<Method>) - Static method in class cn.hutool.core.util.ReflectUtil
获得指定类过滤后的Public方法列表
TODO 6.x此方法更改返回Method[]
getPublicMethods(Class<?>, Method...) - Static method in class cn.hutool.core.util.ReflectUtil
获得指定类过滤后的Public方法列表
getPublicMethods(Class<?>, String...) - Static method in class cn.hutool.core.util.ReflectUtil
获得指定类过滤后的Public方法列表
getPublicParams(ECPrivateKeyParameters) - Static method in class cn.hutool.crypto.ECKeyUtil
根据私钥参数获取公钥参数
getPushBackReader(Reader, int) - Static method in class cn.hutool.core.io.IoUtil
获得PushbackReader
如果是PushbackReader强转返回,否则新建
getPythonEngine() - Static method in class cn.hutool.script.ScriptUtil
获得单例的Python引擎
需要引入org.python:jython
getQ(boolean) - Method in class cn.hutool.crypto.asymmetric.SM2
获得公钥Q值(编码后的公钥)
getQrVersion() - Method in class cn.hutool.extra.qrcode.QrConfig
设置二维码中的信息量,可设置0-40的整数,二维码图片也会根据qrVersion而变化,0表示根据传入信息自动变化
getQuery() - Method in class cn.hutool.core.net.url.UrlBuilder
获取查询语句,例如a=1&b=2
可能为null
getQuery() - Method in class cn.hutool.http.server.HttpServerRequest
获取请求参数
getQueryMap() - Method in class cn.hutool.core.net.url.UrlQuery
获得查询的Map
getQueryStr() - Method in class cn.hutool.core.net.url.UrlBuilder
获取查询语句,例如a=1&b=2
getQueryTimeout() - Method in class cn.hutool.db.sql.StatementWrapper
 
getQuietly(Map<?, ?>, Object, Class<T>, T) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为指定类型,此方法在转换失败后不抛异常,返回null。
getQuietly(Map<?, ?>, Object, TypeReference<T>, T) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为指定类型,转换失败后返回null,不抛异常
getRandom() - Static method in class cn.hutool.core.util.RandomUtil
获取随机数生成器对象
ThreadLocalRandom是JDK 7之后提供并发产生随机数,能够解决多个线程发生的竞争争夺。
getRandom(boolean) - Static method in class cn.hutool.core.util.RandomUtil
获取随机数产生器
getRatio() - Method in class cn.hutool.extra.qrcode.QrConfig
获取二维码中的Logo缩放的比例系数,如5表示长宽最小值的1/5
getRaw() - Method in class cn.hutool.core.map.MapWrapper
获取原始的Map
getRaw() - Method in class cn.hutool.cron.task.CronTask
获取原始作业
getRaw() - Method in class cn.hutool.db.ds.DataSourceWrapper
获取原始的数据源
getRaw() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
getRaw() - Method in class cn.hutool.http.server.HttpExchangeWrapper
获取原始对象
getRawEngine() - Method in class cn.hutool.extra.template.engine.beetl.BeetlEngine
获取原始引擎的钩子方法,用于自定义特殊属性,如插件等
getRawEngine() - Method in class cn.hutool.extra.template.engine.enjoy.EnjoyEngine
获取原始引擎的钩子方法,用于自定义特殊属性,如插件等
getRawEngine() - Method in class cn.hutool.extra.template.engine.jetbrick.JetbrickEngine
获取原始引擎的钩子方法,用于自定义特殊属性,如插件等
getRawEngine() - Method in class cn.hutool.extra.template.engine.rythm.RythmEngine
获取原始引擎的钩子方法,用于自定义特殊属性,如插件等
getRawEngine() - Method in class cn.hutool.extra.template.engine.thymeleaf.ThymeleafEngine
获取原始引擎的钩子方法,用于自定义特殊属性,如插件等
getRawEngine() - Method in class cn.hutool.extra.template.engine.velocity.VelocityEngine
获取原始的引擎对象
getRawEngine() - Method in class cn.hutool.extra.template.engine.wit.WitEngine
获取原始引擎的钩子方法,用于自定义特殊属性,如插件等
getRawFieldName() - Method in class cn.hutool.core.bean.PropDesc
获取字段名称
getRawList() - Method in class cn.hutool.core.text.csv.CsvRow
获取本行所有字段值列表
getRawServer() - Method in class cn.hutool.http.server.SimpleServer
获得原始HttpServer对象
getRawType() - Method in class cn.hutool.core.lang.ParameterizedTypeImpl
 
getReadBuffer() - Method in class cn.hutool.socket.aio.AioSession
获取读取Buffer
getReadBufferSize() - Method in class cn.hutool.socket.SocketConfig
获取读取缓存大小
getReader(String) - Static method in class cn.hutool.core.img.ImgUtil
getReader() - Method in class cn.hutool.core.io.file.FileReader
获得一个文件读取器
getReader(Path, Charset) - Static method in class cn.hutool.core.io.file.PathUtil
获得一个文件读取器
getReader(File, String) - Static method in class cn.hutool.core.io.FileUtil
Deprecated.
getReader(File, Charset) - Static method in class cn.hutool.core.io.FileUtil
获得一个文件读取器
getReader(String, String) - Static method in class cn.hutool.core.io.FileUtil
getReader(String, Charset) - Static method in class cn.hutool.core.io.FileUtil
获得一个文件读取器
getReader(InputStream, String) - Static method in class cn.hutool.core.io.IoUtil
getReader(BOMInputStream) - Static method in class cn.hutool.core.io.IoUtil
BOMInputStream中获取Reader
getReader(InputStream, Charset) - Static method in class cn.hutool.core.io.IoUtil
获得一个Reader
getReader(Reader) - Static method in class cn.hutool.core.io.IoUtil
获得BufferedReader
如果是BufferedReader强转返回,否则新建。如果提供的Reader为null返回null
getReader(Charset) - Method in class cn.hutool.core.io.resource.CharSequenceResource
 
getReader(Charset) - Method in class cn.hutool.core.io.resource.FileObjectResource
 
getReader(Charset) - Method in class cn.hutool.core.io.resource.MultiResource
 
getReader(Charset) - Method in interface cn.hutool.core.io.resource.Resource
获得Reader
getReader(String, Charset) - Static method in class cn.hutool.core.io.resource.ResourceUtil
从ClassPath资源中获取BufferedReader
getReader(CsvReadConfig) - Static method in class cn.hutool.core.text.csv.CsvUtil
获取CSV读取器,调用此方法创建的Reader须自行指定读取的资源
getReader() - Static method in class cn.hutool.core.text.csv.CsvUtil
获取CSV读取器,调用此方法创建的Reader须自行指定读取的资源
getReader(Reader, CsvReadConfig) - Static method in class cn.hutool.core.text.csv.CsvUtil
获取CSV读取器
getReader(Reader) - Static method in class cn.hutool.core.text.csv.CsvUtil
获取CSV读取器
getReader(CharSequence) - Static method in class cn.hutool.core.util.StrUtil
获得StringReader
getReader(URL, Charset) - Static method in class cn.hutool.core.util.URLUtil
获得Reader
getReader(Object, String) - Method in class cn.hutool.extra.template.engine.freemarker.SimpleStringTemplateLoader
 
getReader(String) - Static method in class cn.hutool.poi.excel.ExcelUtil
获取Excel读取器,通过调用ExcelReader的read或readXXX方法读取Excel内容
默认调用第一个sheet
getReader(File) - Static method in class cn.hutool.poi.excel.ExcelUtil
获取Excel读取器,通过调用ExcelReader的read或readXXX方法读取Excel内容
默认调用第一个sheet
getReader(String, int) - Static method in class cn.hutool.poi.excel.ExcelUtil
获取Excel读取器,通过调用ExcelReader的read或readXXX方法读取Excel内容
getReader(String, String) - Static method in class cn.hutool.poi.excel.ExcelUtil
获取Excel读取器,通过调用ExcelReader的read或readXXX方法读取Excel内容
getReader(File, int) - Static method in class cn.hutool.poi.excel.ExcelUtil
获取Excel读取器,通过调用ExcelReader的read或readXXX方法读取Excel内容
getReader(File, String) - Static method in class cn.hutool.poi.excel.ExcelUtil
获取Excel读取器,通过调用ExcelReader的read或readXXX方法读取Excel内容
getReader(InputStream) - Static method in class cn.hutool.poi.excel.ExcelUtil
获取Excel读取器,通过调用ExcelReader的read或readXXX方法读取Excel内容
默认调用第一个sheet,读取结束自动关闭流
getReader(InputStream, int) - Static method in class cn.hutool.poi.excel.ExcelUtil
获取Excel读取器,通过调用ExcelReader的read或readXXX方法读取Excel内容
读取结束自动关闭流
getReader(InputStream, String) - Static method in class cn.hutool.poi.excel.ExcelUtil
获取Excel读取器,通过调用ExcelReader的read或readXXX方法读取Excel内容
读取结束自动关闭流
getReadSize() - Method in class cn.hutool.extra.compress.extractor.Seven7EntryInputStream
获取读取的长度(字节数)
getReadTimeout() - Method in class cn.hutool.socket.SocketConfig
获取读取超时时长,小于等于0表示默认
getRealClass(Func0<?>) - Static method in class cn.hutool.core.lang.func.LambdaUtil
通过对象的方法或类的静态方法引用,获取lambda实现类 传入lambda无参数但含有返回值的情况能够匹配到此方法: 引用特定对象的实例方法:
getRealClass(Func1<P, R>) - Static method in class cn.hutool.core.lang.func.LambdaUtil
通过对象的方法或类的静态方法引用,然后根据SerializedLambda.getInstantiatedMethodType()获取lambda实现类
传入lambda有参数且含有返回值的情况能够匹配到此方法: 引用特定类型的任意对象的实例方法:
getRectangle(String, Font) - Static method in class cn.hutool.core.img.ImgUtil
获取font的样式应用在str上的整个矩形
getRectangle() - Static method in class cn.hutool.core.swing.ScreenUtil
获取屏幕的矩形
getRemarks(DatabaseMetaData, String, String, String) - Static method in class cn.hutool.db.meta.MetaUtil
获取指定表的备注信息。
getRemoteAddress() - Method in class cn.hutool.http.server.HttpExchangeWrapper
 
getRemoteAddress() - Method in class cn.hutool.socket.aio.AioSession
获取远程主机(客户端)地址和端口
getRemoteAddress(AsynchronousSocketChannel) - Static method in class cn.hutool.socket.SocketUtil
获取远程端的地址信息,包括host和端口
null表示channel为null或者远程主机未连接
getRequest() - Method in class cn.hutool.http.server.HttpExchangeWrapper
获取请求
getRequestBody() - Method in class cn.hutool.http.server.HttpExchangeWrapper
 
getRequestHeaders() - Method in class cn.hutool.http.server.HttpExchangeWrapper
 
getRequestMethod() - Method in class cn.hutool.http.server.HttpExchangeWrapper
 
getRequestURI() - Method in class cn.hutool.http.server.HttpExchangeWrapper
 
getResource(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
获得资源的URL
路径用/分隔,例如:
getResource(String, Class<?>) - Static method in class cn.hutool.core.io.resource.ResourceUtil
获得资源相对路径对应的URL
getResourceIter(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
获取指定路径下的资源Iterator
路径格式必须为目录格式,用/分隔,例如:
getResourceIter(String, ClassLoader) - Static method in class cn.hutool.core.io.resource.ResourceUtil
获取指定路径下的资源Iterator
路径格式必须为目录格式,用/分隔,例如:
getResourceMode() - Method in class cn.hutool.extra.template.TemplateConfig
获取模板资源加载方式
getResourceObj(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
获取Resource 资源对象
如果提供路径为绝对路径或路径以file:开头,返回FileResource,否则返回ClassPathResource
getResourceReader(String, String) - Method in class cn.hutool.extra.template.engine.velocity.SimpleStringResourceLoader
 
getResources(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
获取指定路径下的资源列表
路径格式必须为目录格式,用/分隔,例如:
getResources(String, Filter<URL>) - Static method in class cn.hutool.core.io.resource.ResourceUtil
获取指定路径下的资源列表
路径格式必须为目录格式,用/分隔,例如:
getResources(String) - Static method in class cn.hutool.core.util.ClassUtil
获取指定路径下的资源列表
路径格式必须为目录格式,用/分隔,例如:
getResourceStream(String) - Method in class cn.hutool.extra.template.engine.velocity.SimpleStringResourceLoader
获取资源流
getResourceURL(String) - Static method in class cn.hutool.core.util.ClassUtil
获得资源的URL
路径用/分隔,例如:
getResourceUrl(String, Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
获得资源相对路径对应的URL
getResponse() - Method in class cn.hutool.http.server.HttpExchangeWrapper
获取响应
getResponseBody() - Method in class cn.hutool.http.server.HttpExchangeWrapper
 
getResponseCode() - Method in class cn.hutool.http.server.HttpExchangeWrapper
 
getResponseHeaders() - Method in class cn.hutool.http.server.HttpExchangeWrapper
 
getResult(Process) - Static method in class cn.hutool.core.util.RuntimeUtil
获取命令执行结果,使用系统默认编码,获取后销毁进程
getResult(Process, Charset) - Static method in class cn.hutool.core.util.RuntimeUtil
获取命令执行结果,获取后销毁进程
getResult() - Method in class cn.hutool.poi.excel.cell.FormulaCellValue
获取结果
getResultLines(Process) - Static method in class cn.hutool.core.util.RuntimeUtil
获取命令执行结果,使用系统默认编码,获取后销毁进程
getResultLines(Process, Charset) - Static method in class cn.hutool.core.util.RuntimeUtil
获取命令执行结果,使用传入的 charset 编码,获取后销毁进程
getResultSet() - Method in class cn.hutool.db.sql.StatementWrapper
 
getResultSetConcurrency() - Method in class cn.hutool.db.sql.StatementWrapper
 
getResultSetHoldability() - Method in class cn.hutool.db.sql.StatementWrapper
 
getResultSetType() - Method in class cn.hutool.db.sql.StatementWrapper
 
getRetentionPolicy(Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
获取注解类的保留时间,可选值 SOURCE(源码时),CLASS(编译时),RUNTIME(运行时),默认为 CLASS
getReturnClass(Method) - Static method in class cn.hutool.core.util.TypeUtil
解析方法的返回类型类列表
getReturnType(Method) - Static method in class cn.hutool.core.util.TypeUtil
获取方法的返回值类型
获取方法的GenericReturnType
getRichStringCellValue() - Method in class cn.hutool.poi.excel.cell.NullCell
 
getRidByIndex(int) - Method in class cn.hutool.poi.excel.sax.SheetRidReader
通过sheet的序号获取rid
getRidByIndexBase0(int) - Method in class cn.hutool.poi.excel.sax.SheetRidReader
通过sheet的序号获取rid
getRidByName(String) - Method in class cn.hutool.poi.excel.sax.SheetRidReader
根据sheet name获取rid,从1开始
getRidByNameBase0(String) - Method in class cn.hutool.poi.excel.sax.SheetRidReader
根据sheet name获取rid,从0开始
getRidBySheetId(int) - Method in class cn.hutool.poi.excel.sax.SheetRidReader
根据sheetId获取rid,从1开始
getRidBySheetIdBase0(int) - Method in class cn.hutool.poi.excel.sax.SheetRidReader
根据sheetId获取rid,从0开始
getRobot() - Static method in class cn.hutool.core.swing.RobotUtil
获取 Robot 单例实例
getRoot() - Method in class cn.hutool.core.annotation.GenericSynthesizedAggregateAnnotation
获取根对象
getRoot() - Method in class cn.hutool.core.annotation.GenericSynthesizedAnnotation
获取该合成注解对应的根节点
getRoot() - Method in interface cn.hutool.core.annotation.Hierarchical
参照物,即坐标为(0, 0)的对象。 当对象本身即为参照物时,该方法应当返回其本身
getRoot(FileSystem) - Static method in class cn.hutool.core.io.file.FileSystemUtil
获取目录的根路径,或Zip文件中的根路径
getRoot() - Method in class cn.hutool.core.map.LinkedForestMap.TreeEntryNode
获取以当前节点作为叶子节点的树结构,然后获取该树结构的根节点
getRoot() - Method in interface cn.hutool.core.map.TreeEntry
获取以当前节点作为叶子节点的树结构,然后获取该树结构的根节点
getRootCause(Throwable) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
获取异常链中最尾端的异常,即异常最早发生的异常对象。
此方法通过调用Throwable.getCause() 直到没有cause为止,如果异常本身没有cause,返回异常本身
传入null返回也为null
getRootCauseMessage(Throwable) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
获取异常链中最尾端的异常的消息,消息格式为:{SimpleClassName}: {ThrowableMessage}
getRootElement(Document) - Static method in class cn.hutool.core.util.XmlUtil
获得XML文档根节点
getRootNode(K) - Method in interface cn.hutool.core.map.ForestMap
获取以指定节点作为叶子节点的树结构,然后获取该树结构的根节点
比如:存在 a -> b -> c 的关系,则输入 a/b/c 都将返回 a
getRootStackElement() - Static method in class cn.hutool.core.exceptions.ExceptionUtil
获取入口堆栈信息
getRow(R) - Method in interface cn.hutool.core.map.multi.Table
获取行
getRow(int) - Method in class cn.hutool.core.text.csv.CsvData
获取指定行,从0开始
getRow(int, byte[]) - Method in class cn.hutool.extra.qrcode.BufferedImageLuminanceSource
 
getRow() - Method in class cn.hutool.poi.excel.cell.NullCell
 
getRowCount() - Method in class cn.hutool.core.text.csv.CsvData
总行数
getRowCount() - Method in class cn.hutool.poi.excel.ExcelBase
获取总行数,计算方法为:
getRowId() - Method in class cn.hutool.db.Entity
获得rowid
getRowId(String) - Method in class cn.hutool.db.Entity
获得rowid
getRowIndex() - Method in class cn.hutool.poi.excel.cell.NullCell
 
getRowKey() - Method in interface cn.hutool.core.map.multi.Table.Cell
获取行键
getRows() - Method in class cn.hutool.core.text.csv.CsvData
获取所有行
getRSAPublicKey(PrivateKey) - Static method in class cn.hutool.crypto.KeyUtil
通过RSA私钥生成RSA公钥
getRSAPublicKey(String, String) - Static method in class cn.hutool.crypto.KeyUtil
获得RSA公钥对象
getRSAPublicKey(BigInteger, BigInteger) - Static method in class cn.hutool.crypto.KeyUtil
获得RSA公钥对象
getRunner() - Method in class cn.hutool.db.AbstractDb
getRunner() - Method in class cn.hutool.db.Session
getRuntime() - Method in class cn.hutool.system.RuntimeInfo
获得运行时对象
getRuntimeInfo() - Static method in class cn.hutool.system.SystemUtil
取得Runtime的信息。
getRuntimeMXBean() - Static method in class cn.hutool.system.SystemUtil
返回Java虚拟机运行时系统相关属性
getScheduler() - Static method in class cn.hutool.cron.CronUtil
 
getSchema() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
getSchema() - Method in class cn.hutool.db.meta.IndexInfo
 
getSchema(Connection) - Static method in class cn.hutool.db.meta.MetaUtil
获取schema,获取失败返回null
getSchema() - Method in class cn.hutool.db.meta.Table
获取 schema
getScheme() - Method in class cn.hutool.core.net.url.UrlBuilder
获取协议,例如http
getSchemeWithDefault() - Method in class cn.hutool.core.net.url.UrlBuilder
获取协议,例如http,如果用户未定义协议,使用默认的http协议
getScript(String) - Static method in class cn.hutool.script.ScriptUtil
获得单例的ScriptEngine 实例
getSecondValue() - Method in class cn.hutool.db.sql.Condition
获得between 类型中第二个值
getSecretKey() - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
获得对称密钥
getSecretKeyFactory(String) - Static method in class cn.hutool.crypto.KeyUtil
getSecureRandom() - Static method in class cn.hutool.core.util.RandomUtil
获取SHA1PRNG的SecureRandom,类提供加密的强随机数生成器 (RNG)
注意:此方法获取的是伪随机序列发生器PRNG(pseudo-random number generator)
getSecureRandom(byte[]) - Static method in class cn.hutool.core.util.RandomUtil
获取SHA1PRNG的SecureRandom,类提供加密的强随机数生成器 (RNG)
注意:此方法获取的是伪随机序列发生器PRNG(pseudo-random number generator)
getSecureRandomStrong() - Static method in class cn.hutool.core.util.RandomUtil
获取algorithms/providers中提供的强安全随机生成器
注意:此方法可能造成阻塞或性能问题
getSegment(int) - Method in class cn.hutool.core.net.url.UrlPath
获得指定节点
getSegments() - Method in class cn.hutool.core.net.url.UrlPath
获取path的节点列表
getSelector() - Method in class cn.hutool.socket.nio.NioServer
获取Selector
getSemaphore() - Method in class cn.hutool.core.thread.SemaphoreRunnable
获得信号量
getSensors() - Static method in class cn.hutool.system.oshi.OshiUtil
获取传感器相关信息,例如CPU温度、风扇转速等,传感器可能有多个
getSerializer(Type) - Static method in class cn.hutool.json.serialize.GlobalSerializeMapping
获取自定义的序列化器,如果未定义返回null
getServerFactory() - Method in class cn.hutool.extra.ftp.SimpleFtpServer
获取 FtpServerFactory,用于设置FTP服务器相关信息
getServerLanguageCode() - Method in class cn.hutool.extra.ftp.FtpConfig
 
getSession(MailAccount, boolean) - Static method in class cn.hutool.extra.mail.MailUtil
根据配置文件,获取邮件客户端会话
getSession(String, int, String, String) - Method in enum cn.hutool.extra.ssh.JschSessionPool
获得一个SSH跳板机会话,重用已经使用的会话
getSession(String, int, String, String, byte[]) - Method in enum cn.hutool.extra.ssh.JschSessionPool
获得一个SSH跳板机会话,重用已经使用的会话
getSession(String, int, String, byte[], byte[]) - Method in enum cn.hutool.extra.ssh.JschSessionPool
获得一个SSH跳板机会话,重用已经使用的会话
getSession(String, int, String, String) - Static method in class cn.hutool.extra.ssh.JschUtil
获得一个SSH会话,重用已经使用的会话
getSession(String, int, String, String, byte[]) - Static method in class cn.hutool.extra.ssh.JschUtil
获得一个SSH会话,重用已经使用的会话
getSession(String, int, String, byte[], byte[]) - Static method in class cn.hutool.extra.ssh.JschUtil
获得一个SSH会话,重用已经使用的会话
getSetter(String) - Method in class cn.hutool.core.bean.BeanDesc
获取Setter方法,如果不存在返回null
getSetter() - Method in class cn.hutool.core.bean.PropDesc
获取Setter方法,可能为null
getSetting() - Method in class cn.hutool.db.ds.AbstractDSFactory
获取配置,用于自定义添加配置项
getSetting(String) - Static method in class cn.hutool.setting.profile.GlobalProfile
获得全局的当前环境下对应的配置文件
getSetting(String) - Method in class cn.hutool.setting.profile.Profile
获取当前环境下的配置文件
getSetting(String) - Method in class cn.hutool.setting.Setting
获取group分组下所有配置键值对,组成新的Setting
getSettingPath() - Method in class cn.hutool.setting.Setting
获得设定文件的路径
getSettingUrl() - Method in class cn.hutool.setting.Setting
获得设定文件的URL
getSevenZOutputFile() - Method in class cn.hutool.extra.compress.archiver.SevenZArchiver
获取SevenZOutputFile以便自定义相关设置
getSHA1PRNGRandom(byte[]) - Static method in class cn.hutool.core.util.RandomUtil
获取SHA1PRNG的SecureRandom,类提供加密的强随机数生成器 (RNG)
注意:此方法获取的是伪随机序列发生器PRNG(pseudo-random number generator),在Linux下噪声生成时可能造成较长时间停顿。
see: http://ifeve.com/jvm-random-and-entropy-source/
getSheet() - Method in class cn.hutool.poi.excel.cell.NullCell
 
getSheet() - Method in class cn.hutool.poi.excel.ExcelBase
获取当前Sheet
getSheetCount() - Method in class cn.hutool.poi.excel.ExcelBase
返回工作簿表格数
getSheetIndex() - Method in class cn.hutool.poi.excel.sax.Excel03SaxReader
获得Sheet序号,如果处理所有sheet,获得最大的Sheet序号,从0开始
getSheetName() - Method in class cn.hutool.poi.excel.sax.Excel03SaxReader
获得Sheet名,如果处理所有sheet,获得后一个Sheet名,从0开始
getSheetNames() - Method in class cn.hutool.poi.excel.ExcelBase
获取表名列表
getSheetNames() - Method in class cn.hutool.poi.excel.sax.SheetRidReader
获取所有sheet名称
getSheets() - Method in class cn.hutool.poi.excel.ExcelBase
获取此工作簿所有Sheet表
getShort(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
获取short型属性值
getShort(K, Short) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
获取short型属性值
若获得的值为不可见字符,使用默认值
getShort(K, Short) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getShort(K, Short) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getShort(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
获取short型属性值
无值或获取错误返回null
getShort(String) - Method in class cn.hutool.core.lang.Dict
 
getShort(Map<?, ?>, Object) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Short
getShort(Map<?, ?>, Object, Short) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Short
getShort(String, Short) - Method in class cn.hutool.setting.dialect.Props
 
getShort(String) - Method in class cn.hutool.setting.dialect.Props
 
getShortByGroup(String, String) - Method in interface cn.hutool.core.getter.GroupedTypeGetter
获取short型属性值
getShortClassName(String) - Static method in class cn.hutool.core.util.ClassUtil
获取完整类名的短格式如:
cn.hutool.core.util.StrUtil -》c.h.c.u.StrUtil
getShortList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
获取Short型属性值列表
getShorts(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
获取Short型属性值数组
getShorts(String, Short[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
获取Short型属性值数组
getShotName(TimeUnit) - Static method in class cn.hutool.core.date.DateUtil
获取时长单位简写
getSignature() - Method in class cn.hutool.crypto.asymmetric.Sign
获得签名对象
getSigner() - Method in class cn.hutool.jwt.JWT
获取JWT算法签名器
getSimpleMessage(Throwable) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
获得消息,调用异常类的getMessage方法
getSimpleName() - Method in class cn.hutool.core.bean.BeanDesc
获取Bean的简单类名
getSize() - Method in class cn.hutool.db.meta.Column
获取大小或数据长度
getSmtpProps() - Method in class cn.hutool.extra.mail.MailAccount
获得SMTP相关信息
getSnowflake(long, long) - Static method in class cn.hutool.core.util.IdUtil
获取单例的Twitter的Snowflake 算法生成器对象
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
getSnowflake(long) - Static method in class cn.hutool.core.util.IdUtil
获取单例的Twitter的Snowflake 算法生成器对象
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
getSnowflake() - Static method in class cn.hutool.core.util.IdUtil
获取单例的Twitter的Snowflake 算法生成器对象
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
getSnowflakeNextId() - Static method in class cn.hutool.core.util.IdUtil
简单获取Snowflake 的 nextId 终端ID 数据中心ID 默认为PID和MAC地址生成
getSnowflakeNextIdStr() - Static method in class cn.hutool.core.util.IdUtil
简单获取Snowflake 的 nextId 终端ID 数据中心ID 默认为PID和MAC地址生成
getSocketFactoryClass() - Method in class cn.hutool.extra.mail.MailAccount
获取指定实现javax.net.SocketFactory接口的类的名称,这个类将被用于创建SMTP的套接字
getSocketFactoryPort() - Method in class cn.hutool.extra.mail.MailAccount
获取指定的端口连接到在使用指定的套接字工厂。如果没有设置,将使用默认端口
getSoftIrq() - Method in class cn.hutool.system.oshi.CpuTicks
 
getSoTimeout() - Method in class cn.hutool.extra.ftp.FtpConfig
 
getSource() - Method in class cn.hutool.core.annotation.AbstractAnnotationSynthesizer
获取合成注解来源最初来源
getSource() - Method in interface cn.hutool.core.annotation.AnnotationSynthesizer
获取合成注解来源最初来源
getSql() - Method in class cn.hutool.db.sql.NamedSql
获取SQL
getSrc() - Method in class cn.hutool.core.lang.copier.SrcToDestCopier
获取源
getSslProtocols() - Method in class cn.hutool.extra.mail.MailAccount
获取SSL协议,多个协议用空格分隔
getStackElement(int) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
获取指定层的堆栈信息
getStackElement(String, int) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
获取指定层的堆栈信息
getStackElements() - Static method in class cn.hutool.core.exceptions.ExceptionUtil
获取当前栈信息
getStackTrace() - Static method in class cn.hutool.core.thread.ThreadUtil
 
getStackTraceElement(int) - Static method in class cn.hutool.core.thread.ThreadUtil
获得堆栈项
getStart(int, int) - Static method in class cn.hutool.core.util.PageUtil
将页数和每页条目数转换为开始位置
此方法用于不包括结束位置的分页方法
例如:
getStartEnd() - Method in class cn.hutool.db.Page
开始位置和结束位置
例如:
getStartIndex() - Method in class cn.hutool.core.lang.DefaultSegment
 
getStartIndex() - Method in interface cn.hutool.core.lang.Segment
获取起始位置
getStartIndex() - Method in class cn.hutool.db.Page
 
getStartOffset() - Method in class cn.hutool.extra.tokenizer.engine.analysis.AnalysisWord
 
getStartOffset() - Method in class cn.hutool.extra.tokenizer.engine.ansj.AnsjWord
 
getStartOffset() - Method in class cn.hutool.extra.tokenizer.engine.hanlp.HanLPWord
 
getStartOffset() - Method in class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerWord
 
getStartOffset() - Method in class cn.hutool.extra.tokenizer.engine.jcseg.JcsegWord
 
getStartOffset() - Method in class cn.hutool.extra.tokenizer.engine.jieba.JiebaWord
 
getStartOffset() - Method in class cn.hutool.extra.tokenizer.engine.mmseg.MmsegWord
 
getStartOffset() - Method in class cn.hutool.extra.tokenizer.engine.mynlp.MynlpWord
 
getStartOffset() - Method in class cn.hutool.extra.tokenizer.engine.word.WordWord
 
getStartOffset() - Method in interface cn.hutool.extra.tokenizer.Word
获取本词的起始位置
getStartPosition() - Method in class cn.hutool.db.Page
 
getStaticFieldValue(Field) - Static method in class cn.hutool.core.util.ReflectUtil
获取静态字段值
getStatus() - Method in exception cn.hutool.core.exceptions.StatefulException
 
getStatus() - Method in class cn.hutool.http.HttpResponse
获取状态码
getSteal() - Method in class cn.hutool.system.oshi.CpuTicks
 
getStr(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
获取字符串型属性值
getStr(K, String) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
获取字符串型属性值
若获得的值为不可见字符,使用默认值
getStr(K, String) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getStr(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
获取字符串型属性值
无值或获取错误返回null
getStr(String) - Method in class cn.hutool.core.lang.Dict
 
getStr(Map<?, ?>, Object) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为字符串
getStr(Map<?, ?>, Object, String) - Static method in class cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为字符串
getStr() - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
从剪贴板获取文本
getStr(Transferable) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
从剪贴板的Transferable获取文本
getStr(String) - Method in class cn.hutool.db.Entity
 
getStr(String, Charset) - Method in class cn.hutool.db.Entity
获得字符串值
支持Clob、Blob、RowId
getStr(String) - Method in class cn.hutool.db.nosql.redis.RedisDS
从Redis中获取值
getStr(String, String) - Method in class cn.hutool.setting.AbsSetting
 
getStr(String, String, String) - Method in class cn.hutool.setting.AbsSetting
获得字符串类型值
getStr(String, String) - Method in class cn.hutool.setting.dialect.Props
 
getStr(String) - Method in class cn.hutool.setting.dialect.Props
 
getStrByGroup(String, String) - Method in interface cn.hutool.core.getter.GroupedTypeGetter
获取字符串型属性值
getStream() - Method in class cn.hutool.core.io.resource.BytesResource
 
getStream() - Method in class cn.hutool.core.io.resource.CharSequenceResource
 
getStream() - Method in class cn.hutool.core.io.resource.FileObjectResource
 
getStream() - Method in class cn.hutool.core.io.resource.FileResource
 
getStream() - Method in class cn.hutool.core.io.resource.InputStreamResource
 
getStream() - Method in class cn.hutool.core.io.resource.MultiResource
 
getStream() - Method in interface cn.hutool.core.io.resource.Resource
getStream(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
从ClassPath资源中获取InputStream
getStream() - Method in class cn.hutool.core.io.resource.UrlResource
 
getStream() - Method in class cn.hutool.core.io.resource.VfsResource
 
getStream(URL) - Static method in class cn.hutool.core.util.URLUtil
从URL中获取流
getStream(ZipFile, ZipEntry) - Static method in class cn.hutool.core.util.ZipUtil
获取指定ZipEntry的流,用于读取这个entry的内容
此处使用LimitedInputStream 限制最大写出大小,避免ZIP bomb漏洞
getStream() - Method in class cn.hutool.http.HttpResource
 
getStreamSafe(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
从ClassPath资源中获取InputStream,当资源不存在时返回null
getStrEscaped(K) - Method in interface cn.hutool.json.JSONGetter
获取字符串类型值,并转义不可见字符,如'\n'换行符会被转义为字符串"\n"
getStrEscaped(K, String) - Method in interface cn.hutool.json.JSONGetter
获取字符串类型值,并转义不可见字符,如'\n'换行符会被转义为字符串"\n"
getString(InputStream, Charset, boolean) - Static method in class cn.hutool.http.HttpUtil
从流中读取内容
首先尝试使用charset编码读取内容(如果为空默认UTF-8),如果isGetCharsetFromContent为true,则通过正则在正文中获取编码信息,转换为指定编码;
getString(byte[], Charset, boolean) - Static method in class cn.hutool.http.HttpUtil
从流中读取内容
首先尝试使用charset编码读取内容(如果为空默认UTF-8),如果isGetCharsetFromContent为true,则通过正则在正文中获取编码信息,转换为指定编码;
getStringCellValue() - Method in class cn.hutool.poi.excel.cell.NullCell
 
getStringMatcher(String) - Method in class cn.hutool.core.text.AntPathMatcher
Build or retrieve an AntPathMatcher.AntPathStringMatcher for the given pattern.
getStrings(String) - Method in class cn.hutool.setting.AbsSetting
获得数组型
getStrings(String, String) - Method in class cn.hutool.setting.AbsSetting
获得数组型
getStrings(String, String, String) - Method in class cn.hutool.setting.AbsSetting
获得数组型
getStringsWithDefault(String, String[]) - Method in class cn.hutool.setting.AbsSetting
获得数组型
getStringURI(CharSequence) - Static method in class cn.hutool.core.util.URLUtil
获取string协议的URL,类似于string:///xxxxx
getStrKeyMap(Type) - Static method in class cn.hutool.core.lang.reflect.ActualTypeMapperPool
获取泛型变量名(字符串)和泛型实际类型的对应关系Map
getStrList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
获取String型属性值列表
getStrNotEmpty(String, String, String) - Method in class cn.hutool.setting.AbsSetting
获得字符串类型值,如果字符串为null或者""返回默认值
getStrs(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
获取String型属性值数组
getStrs(String, String[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
获取String型属性值数组
getStyleByValueType(Object, boolean) - Method in class cn.hutool.poi.excel.StyleSet
获取值对应的公共单元格样式
getStyleSet() - Method in class cn.hutool.poi.excel.ExcelWriter
获取样式集,样式集可以自定义包括:
getSuffix(File) - Static method in class cn.hutool.core.io.file.FileNameUtil
获取文件后缀名,扩展名不带“.”
getSuffix(String) - Static method in class cn.hutool.core.io.file.FileNameUtil
获得文件后缀名,扩展名不带“.”
getSuffix(File) - Static method in class cn.hutool.core.io.FileUtil
获取文件后缀名,扩展名不带“.”
getSuffix(String) - Static method in class cn.hutool.core.io.FileUtil
获得文件后缀名,扩展名不带“.”
getSufWrapQuote() - Method in class cn.hutool.db.sql.Wrapper
 
getSunArchDataModel() - Method in class cn.hutool.system.JavaRuntimeInfo
JVM is 32M or 64M
getSunBoothClassPath() - Method in class cn.hutool.system.JavaRuntimeInfo
 
getSupportedCipherSuites() - Method in class cn.hutool.http.ssl.CustomProtocolsSSLFactory
 
getSynthesizedAnnotation(Class<?>) - Method in class cn.hutool.core.annotation.AbstractAnnotationSynthesizer
获取已合成的注解
getSynthesizedAnnotation(Class<?>) - Method in interface cn.hutool.core.annotation.AnnotationSynthesizer
获取已合成的注解
getSynthesizedAnnotation(Class<T>, Annotation...) - Static method in class cn.hutool.core.annotation.AnnotationUtil
将指定注解实例与其元注解转为合成注解
getSynthesizedAnnotation(AnnotatedElement, Class<T>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
获取元素上距离指定元素最接近的合成注解 若元素是类,则递归解析全部父类和全部父接口上的注解; 若元素是方法、属性或注解,则只解析其直接声明的注解;
getSys() - Method in class cn.hutool.system.oshi.CpuInfo
 
getSystem() - Static method in class cn.hutool.system.oshi.OshiUtil
获取BIOS中计算机相关信息,比如序列号、固件版本等
getSystemClassLoader() - Static method in class cn.hutool.core.util.ClassLoaderUtil
获取系统ClassLoader
getSystemKey() - Method in class cn.hutool.extra.ftp.FtpConfig
 
getSystemProps() - Static method in class cn.hutool.setting.dialect.PropsUtil
获取系统参数,例如用户在执行java命令时定义的 -Duse=hutool
getTableMeta(DataSource, String) - Static method in class cn.hutool.db.meta.MetaUtil
获得表的元信息
注意如果需要获取注释,某些数据库如MySQL,需要在配置中添加:
getTableMeta(DataSource, String, String, String) - Static method in class cn.hutool.db.meta.MetaUtil
获得表的元信息
注意如果需要获取注释,某些数据库如MySQL,需要在配置中添加:
getTableMeta(Connection, String, String, String) - Static method in class cn.hutool.db.meta.MetaUtil
获得表的元信息
注意如果需要获取注释,某些数据库如MySQL,需要在配置中添加:
getTableName() - Method in class cn.hutool.db.Entity
 
getTableName() - Method in class cn.hutool.db.meta.Column
获取表名
getTableName() - Method in class cn.hutool.db.meta.IndexInfo
 
getTableName() - Method in class cn.hutool.db.meta.Table
获取表名
getTableNames() - Method in class cn.hutool.db.sql.Query
获得表名数组
getTables(DataSource) - Static method in class cn.hutool.db.meta.MetaUtil
获得所有表名
getTables(DataSource, TableType...) - Static method in class cn.hutool.db.meta.MetaUtil
获得所有表名
getTables(DataSource, String, TableType...) - Static method in class cn.hutool.db.meta.MetaUtil
获得所有表名
getTables(DataSource, String, String, TableType...) - Static method in class cn.hutool.db.meta.MetaUtil
获得所有表名
getTarget() - Method in class cn.hutool.aop.interceptor.CglibInterceptor
 
getTarget() - Method in class cn.hutool.aop.interceptor.JdkInterceptor
 
getTarget() - Method in class cn.hutool.aop.interceptor.SpringCglibInterceptor
获得目标对象
getTarget() - Method in class cn.hutool.core.compress.Deflate
获取目标流
getTarget() - Method in class cn.hutool.core.compress.Gzip
获取目标流
getTargetType(Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
获取注解类可以用来修饰哪些程序元素,如 TYPE, METHOD, CONSTRUCTOR, FIELD, PARAMETER 等
getTargetType() - Method in class cn.hutool.core.convert.AbstractConverter
获得此类实现类的泛型类型
getTargetType() - Method in class cn.hutool.core.convert.impl.ArrayConverter
 
getTargetType() - Method in class cn.hutool.core.convert.impl.BeanConverter
 
getTargetType() - Method in class cn.hutool.core.convert.impl.CastConverter
 
getTargetType() - Method in class cn.hutool.core.convert.impl.DateConverter
 
getTargetType() - Method in class cn.hutool.core.convert.impl.EnumConverter
 
getTargetType() - Method in class cn.hutool.core.convert.impl.MapConverter
 
getTargetType() - Method in class cn.hutool.core.convert.impl.NumberConverter
 
getTargetType() - Method in class cn.hutool.core.convert.impl.PrimitiveConverter
 
getTargetType() - Method in class cn.hutool.core.convert.impl.TemporalAccessorConverter
 
getTask(JavaFileManager, DiagnosticListener<? super JavaFileObject>, Iterable<String>, Iterable<? extends JavaFileObject>) - Static method in class cn.hutool.core.compiler.CompilerUtil
新建编译任务
getTask(String) - Method in class cn.hutool.cron.Scheduler
获得指定id的Task
getTask() - Method in class cn.hutool.cron.TaskExecutor
获得原始任务对象
getTask(int) - Method in class cn.hutool.cron.TaskTable
获得指定位置的Task
getTask(String) - Method in class cn.hutool.cron.TaskTable
获得指定id的Task
getTask() - Method in class cn.hutool.cron.timingwheel.TimerTask
获取任务
getTaskCount() - Method in class cn.hutool.core.date.StopWatch
获取任务数
getTaskInfo() - Method in class cn.hutool.core.date.StopWatch
获取任务列表
getTaskName() - Method in class cn.hutool.core.date.StopWatch.TaskInfo
获取任务名
getTasks() - Method in class cn.hutool.cron.TaskTable
获取所有定时任务,返回不可变列表,即列表不可修改
getTaskTable() - Method in class cn.hutool.cron.Scheduler
获取定时任务表,注意此方法返回非复制对象,对返回对象的修改将影响已有定时任务
getTempDir() - Method in class cn.hutool.system.UserInfo
取得临时目录(取自系统属性:java.io.tmpdir)。
getTemplate(String) - Method in class cn.hutool.extra.template.engine.beetl.BeetlEngine
 
getTemplate(String) - Method in class cn.hutool.extra.template.engine.enjoy.EnjoyEngine
 
getTemplate(String) - Method in class cn.hutool.extra.template.engine.freemarker.FreemarkerEngine
 
getTemplate(String) - Method in class cn.hutool.extra.template.engine.jetbrick.JetbrickEngine
 
getTemplate(String) - Method in class cn.hutool.extra.template.engine.rythm.RythmEngine
 
getTemplate(String) - Method in class cn.hutool.extra.template.engine.thymeleaf.ThymeleafEngine
 
getTemplate(String) - Method in class cn.hutool.extra.template.engine.velocity.VelocityEngine
 
getTemplate(String) - Method in class cn.hutool.extra.template.engine.wit.WitEngine
 
getTemplate(String) - Method in interface cn.hutool.extra.template.TemplateEngine
获取模板
getter - Variable in class cn.hutool.core.bean.PropDesc
Getter方法
getTerm(int, int) - Static method in class cn.hutool.core.date.chinese.SolarTerms
传入公历y年获得该年第n个节气的公历日期
getTerm(Date) - Static method in class cn.hutool.core.date.chinese.SolarTerms
根据日期获取节气
getTerm(ChineseDate) - Static method in class cn.hutool.core.date.chinese.SolarTerms
根据农历日期获取节气
getTerm(LocalDate) - Static method in class cn.hutool.core.date.chinese.SolarTerms
根据日期获取节气
getTerm(int, int, int) - Static method in class cn.hutool.core.date.chinese.SolarTerms
根据年月日获取节气
getTerm() - Method in class cn.hutool.core.date.ChineseDate
获得节气
getText() - Method in class cn.hutool.extra.tokenizer.engine.analysis.AnalysisWord
 
getText() - Method in class cn.hutool.extra.tokenizer.engine.ansj.AnsjWord
 
getText() - Method in class cn.hutool.extra.tokenizer.engine.hanlp.HanLPWord
 
getText() - Method in class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerWord
 
getText() - Method in class cn.hutool.extra.tokenizer.engine.jcseg.JcsegWord
 
getText() - Method in class cn.hutool.extra.tokenizer.engine.jieba.JiebaWord
 
getText() - Method in class cn.hutool.extra.tokenizer.engine.mmseg.MmsegWord
 
getText() - Method in class cn.hutool.extra.tokenizer.engine.mynlp.MynlpWord
 
getText() - Method in class cn.hutool.extra.tokenizer.engine.word.WordWord
 
getText() - Method in interface cn.hutool.extra.tokenizer.Word
获取单词文本
getThreadMXBean() - Static method in class cn.hutool.system.SystemUtil
返回Java虚拟机线程系统相关属性
getThreadPoolSize() - Method in class cn.hutool.socket.SocketConfig
获取共享线程池大小,此线程池用于接收和处理用户连接
getThreads() - Static method in class cn.hutool.core.thread.ThreadUtil
获取JVM中与当前线程同组的所有线程
getThreads(ThreadGroup) - Static method in class cn.hutool.core.thread.ThreadUtil
获取JVM中与当前线程同组的所有线程
使用数组二次拷贝方式,防止在线程列表获取过程中线程终止
from Voovan
getThrowableList(Throwable) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
获取异常链上所有异常的集合,如果Throwable 对象没有cause,返回只有一个节点的List
如果传入null,返回空集合
getTicks() - Method in class cn.hutool.system.oshi.CpuInfo
 
getTime(TimeUnit) - Method in class cn.hutool.core.date.StopWatch.TaskInfo
获取指定单位的任务花费时间
getTime(String) - Method in class cn.hutool.core.lang.Dict
 
getTime(String) - Method in class cn.hutool.db.Entity
 
getTimeInstance(int) - Static method in class cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getTimeInstance(int, Locale) - Static method in class cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getTimeInstance(int, TimeZone) - Static method in class cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getTimeInstance(int, TimeZone, Locale) - Static method in class cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getTimeMillis() - Method in class cn.hutool.core.date.StopWatch.TaskInfo
获取任务花费时间(单位:毫秒)
getTimeNanos() - Method in class cn.hutool.core.date.StopWatch.TaskInfo
获取任务花费时间(单位:纳秒)
getTimeout() - Static method in class cn.hutool.http.HttpGlobalConfig
获取全局默认的超时时长
getTimeSeconds() - Method in class cn.hutool.core.date.StopWatch.TaskInfo
获取任务花费时间(单位:秒)
getTimestamp(String) - Method in class cn.hutool.core.lang.Dict
 
getTimestamp(String) - Method in class cn.hutool.db.Entity
 
getTimeStep() - Method in class cn.hutool.crypto.digest.otp.TOTP
获取步进
getTimeZone() - Method in class cn.hutool.core.date.DateTime
获取时区
getTimeZone() - Method in class cn.hutool.core.date.format.AbstractDateBasic
 
getTimeZone() - Method in interface cn.hutool.core.date.format.DateBasic
获得时区
getTimeZone() - Method in class cn.hutool.core.date.format.FastDateFormat
 
getTimeZone() - Method in class cn.hutool.cron.CronConfig
获得时区,默认为 TimeZone.getDefault()
getTimeZone() - Method in class cn.hutool.cron.Scheduler
获得时区,默认为 TimeZone.getDefault()
getTmpDir() - Static method in class cn.hutool.core.io.FileUtil
获取临时文件目录
getTmpDirPath() - Static method in class cn.hutool.core.io.FileUtil
获取临时文件路径(绝对路径)
getTmpUploadPath() - Method in class cn.hutool.core.net.multipart.UploadSetting
 
getTotal(TimeUnit) - Method in class cn.hutool.core.date.StopWatch
获取所有任务的总花费时间
getTotal() - Method in class cn.hutool.db.PageResult
 
getToTal() - Method in class cn.hutool.system.oshi.CpuInfo
 
getTotalLines(File) - Static method in class cn.hutool.core.io.FileUtil
计算文件的总行数
参考:https://stackoverflow.com/questions/453018/number-of-lines-in-a-file-in-java
getTotalLines(File, int) - Static method in class cn.hutool.core.io.FileUtil
计算文件的总行数
参考:https://stackoverflow.com/questions/453018/number-of-lines-in-a-file-in-java
getTotalMemory() - Static method in class cn.hutool.core.util.RuntimeUtil
获得JVM已经从系统中获取到的总共的内存数,单位byte
getTotalMemory() - Method in class cn.hutool.system.RuntimeInfo
获得JVM已分配内存
getTotalMemory() - Static method in class cn.hutool.system.SystemUtil
获取JVM中内存总大小
getTotalPage() - Method in class cn.hutool.db.PageResult
 
getTotalThreadCount() - Static method in class cn.hutool.system.SystemUtil
获取总线程数
getTotalTimeMillis() - Method in class cn.hutool.core.date.StopWatch
获取所有任务的总花费时间(毫秒)
getTotalTimeNanos() - Method in class cn.hutool.core.date.StopWatch
获取所有任务的总花费时间(纳秒)
getTotalTimeSeconds() - Method in class cn.hutool.core.date.StopWatch
获取所有任务的总花费时间(秒)
getTransactionIsolation() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
getTransferData(DataFlavor) - Method in class cn.hutool.core.swing.clipboard.ImageSelection
获取图片
getTransferDataFlavors() - Method in class cn.hutool.core.swing.clipboard.ImageSelection
获取元数据类型信息
getTreeNodes(K) - Method in interface cn.hutool.core.map.ForestMap
获取指定节点所在树结构的全部树节点
比如:存在 a -> b -> c 的关系,则输入 a/b/c 都将返回 a, b, c
getTtl() - Method in class cn.hutool.cache.impl.CacheObj
获取对象存活时长,即超时总时长,0表示无限
getType(String) - Static method in class cn.hutool.core.io.FileTypeUtil
根据文件流的头部信息获得文件类型
getType(InputStream, int) - Static method in class cn.hutool.core.io.FileTypeUtil
根据文件流的头部信息获得文件类型
getType(InputStream, boolean) - Static method in class cn.hutool.core.io.FileTypeUtil
根据文件流的头部信息获得文件类型
注意此方法会读取头部一些bytes,造成此流接下来读取时缺少部分bytes
因此如果想复用此流,流需支持InputStream.reset()方法。
getType(InputStream) - Static method in class cn.hutool.core.io.FileTypeUtil
根据文件流的头部信息获得文件类型
注意此方法会读取头部64个bytes,造成此流接下来读取时缺少部分bytes
因此如果想复用此流,流需支持InputStream.reset()方法。
getType(InputStream, String) - Static method in class cn.hutool.core.io.FileTypeUtil
根据文件流的头部信息获得文件类型 注意此方法会读取头部64个bytes,造成此流接下来读取时缺少部分bytes
因此如果想复用此流,流需支持InputStream.reset()方法。
getType(InputStream, String, boolean) - Static method in class cn.hutool.core.io.FileTypeUtil
根据文件流的头部信息获得文件类型 注意此方法会读取头部一些bytes,造成此流接下来读取时缺少部分bytes
因此如果想复用此流,流需支持InputStream.reset()方法。
getType(File, boolean) - Static method in class cn.hutool.core.io.FileTypeUtil
根据文件流的头部信息获得文件类型
getType(File) - Static method in class cn.hutool.core.io.FileTypeUtil
根据文件流的头部信息获得文件类型
getType(File) - Static method in class cn.hutool.core.io.FileUtil
根据文件流的头部信息获得文件类型
getType() - Method in class cn.hutool.core.lang.TypeReference
获取用户定义的泛型参数
getType(int) - Static method in class cn.hutool.core.util.CharUtil
获取字符类型
getType(Field) - Static method in class cn.hutool.core.util.TypeUtil
获取字段对应的Type类型
方法优先获取GenericType,获取不到则获取Type
getType() - Method in class cn.hutool.db.meta.Column
获取类型,对应Types中的类型
getTypeArgument(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
获得给定类的第一个泛型参数
getTypeArgument(Class<?>, int) - Static method in class cn.hutool.core.util.ClassUtil
获得给定类的泛型参数
getTypeArgument(Object) - Static method in class cn.hutool.core.util.ObjectUtil
获得给定类的第一个泛型参数
getTypeArgument(Object, int) - Static method in class cn.hutool.core.util.ObjectUtil
获得给定类的第一个泛型参数
getTypeArgument(Type) - Static method in class cn.hutool.core.util.TypeUtil
获得给定类的第一个泛型参数
getTypeArgument(Type, int) - Static method in class cn.hutool.core.util.TypeUtil
获得给定类的泛型参数
getTypeArguments(Type) - Static method in class cn.hutool.core.util.TypeUtil
获得指定类型中所有泛型参数类型,例如:
getTypeByPath(String, boolean) - Static method in class cn.hutool.core.io.FileTypeUtil
通过路径获得文件类型
getTypeByPath(String) - Static method in class cn.hutool.core.io.FileTypeUtil
通过路径获得文件类型
getTypeEnum() - Method in class cn.hutool.db.meta.Column
获取字段类型的枚举
getTypeMap(Class<?>) - Static method in class cn.hutool.core.util.TypeUtil
获取泛型变量和泛型实际类型的对应关系Map,例如:
getTypeMap() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
getTypeName() - Method in class cn.hutool.db.meta.Column
获取类型名称
getTypeOfNull(PreparedStatement, int) - Static method in class cn.hutool.db.StatementUtil
获取null字段对应位置的数据类型
有些数据库对于null字段必须指定类型,否则会插入报错,此方法用于获取其类型,如果获取失败,使用默认的Types.VARCHAR
getUpdateCount() - Method in class cn.hutool.db.sql.StatementWrapper
 
getURI() - Method in class cn.hutool.http.server.HttpServerRequest
获得请求URI
getURIs() - Method in class cn.hutool.http.cookie.ThreadLocalCookieStore
 
getUrl() - Method in class cn.hutool.core.io.resource.BytesResource
 
getUrl() - Method in class cn.hutool.core.io.resource.CharSequenceResource
 
getUrl() - Method in class cn.hutool.core.io.resource.FileObjectResource
 
getUrl() - Method in class cn.hutool.core.io.resource.FileResource
 
getUrl() - Method in class cn.hutool.core.io.resource.InputStreamResource
 
getUrl() - Method in class cn.hutool.core.io.resource.MultiResource
 
getUrl() - Method in interface cn.hutool.core.io.resource.Resource
获得解析后的URL,无对应URL的返回null
getUrl() - Method in class cn.hutool.core.io.resource.UrlResource
 
getUrl() - Method in class cn.hutool.core.io.resource.VfsResource
 
getURL(String) - Static method in class cn.hutool.core.util.URLUtil
获得URL
getURL(String, Class<?>) - Static method in class cn.hutool.core.util.URLUtil
获得URL
getURL(File) - Static method in class cn.hutool.core.util.URLUtil
获得URL,常用于使用绝对路径时的情况
getUrl() - Method in class cn.hutool.db.ds.pooled.DbConfig
 
getUrl() - Method in class cn.hutool.db.ds.simple.SimpleDataSource
 
getUrl() - Method in class cn.hutool.http.HttpConnection
获取请求URL
getUrl() - Method in class cn.hutool.http.HttpRequest
获取请求URL
getUrl() - Method in class cn.hutool.http.HttpResource
 
getURLs(File...) - Static method in class cn.hutool.core.util.URLUtil
获得URL,常用于使用绝对路径时的情况
getUsableLocalPort() - Static method in class cn.hutool.core.net.NetUtil
查找1024~65535范围内的可用端口
此方法只检测给定范围内的随机一个端口,检测65535-1024次
来自org.springframework.util.SocketUtils
getUsableLocalPort(int) - Static method in class cn.hutool.core.net.NetUtil
查找指定范围内的可用端口,最大值为65535
此方法只检测给定范围内的随机一个端口,检测65535-minPort次
来自org.springframework.util.SocketUtils
getUsableLocalPort(int, int) - Static method in class cn.hutool.core.net.NetUtil
查找指定范围内的可用端口
此方法只检测给定范围内的随机一个端口,检测maxPort-minPort次
来自org.springframework.util.SocketUtils
getUsableLocalPorts(int, int, int) - Static method in class cn.hutool.core.net.NetUtil
获取多个本地可用端口
来自org.springframework.util.SocketUtils
getUsableMemory() - Static method in class cn.hutool.core.util.RuntimeUtil
获得JVM最大可用内存,计算方法为:
最大内存-总内存+剩余内存
getUsableMemory() - Method in class cn.hutool.system.RuntimeInfo
获得JVM最大可用内存
getUsed() - Method in class cn.hutool.system.oshi.CpuInfo
获取用户+系统的总的CPU使用率
getUsedSize() - Method in class cn.hutool.cache.file.AbstractFileCache
 
getUser() - Method in class cn.hutool.db.ds.pooled.DbConfig
 
getUser() - Method in class cn.hutool.db.ds.simple.SimpleDataSource
 
getUser() - Method in class cn.hutool.extra.ftp.FtpConfig
 
getUser() - Method in class cn.hutool.extra.mail.MailAccount
获取用户名
getUser() - Method in class cn.hutool.extra.ssh.Connector
获得用户名
getUser() - Method in class cn.hutool.system.oshi.CpuInfo
 
getUser() - Method in class cn.hutool.system.oshi.CpuTicks
 
getUserAgent() - Method in class cn.hutool.http.server.HttpServerRequest
获得User-Agent,未识别返回null
getUserAgentStr() - Method in class cn.hutool.http.server.HttpServerRequest
获得User-Agent
getUserHomeDir() - Static method in class cn.hutool.core.io.FileUtil
获取用户目录
getUserHomePath() - Static method in class cn.hutool.core.io.FileUtil
获取用户路径(绝对路径)
getUserInfo() - Static method in class cn.hutool.system.SystemUtil
取得User的信息。
getUserManager() - Method in class cn.hutool.extra.ftp.SimpleFtpServer
获取用户管理器,用于新增、查找和删除用户信息
getUtf8Reader(Path) - Static method in class cn.hutool.core.io.file.PathUtil
获得一个文件读取器
getUtf8Reader(File) - Static method in class cn.hutool.core.io.FileUtil
获得一个文件读取器
getUtf8Reader(String) - Static method in class cn.hutool.core.io.FileUtil
获得一个文件读取器
getUtf8Reader(InputStream) - Static method in class cn.hutool.core.io.IoUtil
获得一个文件读取器,默认使用UTF-8编码
getUtf8Reader(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
从ClassPath资源中获取BufferedReader
getUtf8Writer(OutputStream) - Static method in class cn.hutool.core.io.IoUtil
获得一个Writer,默认编码UTF-8
getValidator() - Static method in class cn.hutool.extra.validation.ValidationUtil
获取原生Validator 对象
getValidEndIndex() - Method in class cn.hutool.core.text.finder.TextFinder
获取有效结束位置
如果TextFinder.endIndex小于0,在反向模式下是开头(-1),正向模式是结尾(text.length())
getValue() - Method in class cn.hutool.cache.impl.CacheObj
获取值
getValue() - Method in class cn.hutool.core.annotation.AliasedAnnotationAttribute
getValue() - Method in interface cn.hutool.core.annotation.AnnotationAttribute
获取注解属性
getValue() - Method in class cn.hutool.core.annotation.CacheableAnnotationAttribute
 
getValue() - Method in class cn.hutool.core.annotation.ForceAliasedAnnotationAttribute
getValue() - Method in class cn.hutool.core.annotation.MirroredAnnotationAttribute
 
getValue(Object) - Method in class cn.hutool.core.bean.PropDesc
获取属性值
首先调用字段对应的Getter方法获取值,如果Getter方法不存在,则判断字段如果为public,则直接获取字段值
此方法不检查任何注解,使用前需调用 PropDesc.isReadable(boolean) 检查是否可读
getValue(Object, Type, boolean) - Method in class cn.hutool.core.bean.PropDesc
获取属性值,自动转换属性值类型
首先调用字段对应的Getter方法获取值,如果Getter方法不存在,则判断字段如果为public,则直接获取字段值
getValue() - Method in enum cn.hutool.core.date.DateField
 
getValue() - Method in enum cn.hutool.core.date.Month
获取Calendar中的对应值
此值从0开始,即0表示一月
getValue() - Method in enum cn.hutool.core.date.Quarter
 
getValue() - Method in enum cn.hutool.core.date.Week
获得星期对应Calendar 中的Week值
getValue() - Method in enum cn.hutool.core.img.ScaleType
 
getValue() - Method in class cn.hutool.core.io.checksum.crc16.CRC16Checksum
 
getValue() - Method in class cn.hutool.core.io.checksum.CRC16
 
getValue() - Method in class cn.hutool.core.io.checksum.CRC8
 
getValue() - Method in enum cn.hutool.core.io.file.LineSeparator
 
getValue() - Method in enum cn.hutool.core.io.watch.WatchKind
获取枚举对应的事件类型
getValue() - Method in class cn.hutool.core.lang.Pair
获取值
getValue() - Method in class cn.hutool.core.map.LinkedForestMap.EntryNodeWrapper
 
getValue() - Method in class cn.hutool.core.map.LinkedForestMap.TreeEntryNode
获取节点的value
getValue() - Method in interface cn.hutool.core.map.multi.Table.Cell
获取值
getValue() - Method in enum cn.hutool.core.thread.RejectPolicy
获取RejectedExecutionHandler枚举值
getValue() - Method in enum cn.hutool.core.util.ModifierUtil.ModifierType
获取修饰符枚举对应的int修饰符值,值见Modifier
getValue() - Method in enum cn.hutool.crypto.asymmetric.AsymmetricAlgorithm
获取算法字符串表示,区分大小写
getValue() - Method in enum cn.hutool.crypto.asymmetric.KeyType
获取枚举值对应的int表示
getValue() - Method in enum cn.hutool.crypto.asymmetric.SignAlgorithm
获取算法字符串表示,区分大小写
getValue() - Method in enum cn.hutool.crypto.CipherMode
获取枚举值对应的int表示
getValue() - Method in enum cn.hutool.crypto.digest.DigestAlgorithm
获取算法字符串表示
getValue() - Method in enum cn.hutool.crypto.digest.HmacAlgorithm
 
getValue() - Method in enum cn.hutool.crypto.symmetric.fpe.FPE.FPEMode
获取模式名
getValue() - Method in enum cn.hutool.crypto.symmetric.SymmetricAlgorithm
获得算法的字符串表示形式
getValue() - Method in enum cn.hutool.crypto.symmetric.ZUC.ZUCAlgorithm
获得算法的字符串表示形式
getValue() - Method in class cn.hutool.db.sql.Condition
获得值
getValue() - Method in enum cn.hutool.extra.ssh.ChannelType
获取值
getValue() - Method in class cn.hutool.extra.validation.BeanValidationResult.ErrorMessage
 
getValue() - Method in enum cn.hutool.http.ContentType
获取value值
getValue() - Method in enum cn.hutool.http.Header
获取值
getValue() - Method in enum cn.hutool.http.webservice.SoapProtocol
获取版本值信息
getValue() - Method in interface cn.hutool.poi.excel.cell.CellValue
获取单元格值
getValue() - Method in class cn.hutool.poi.excel.cell.FormulaCellValue
 
getValue() - Method in class cn.hutool.poi.excel.cell.values.ErrorCellValue
 
getValue() - Method in class cn.hutool.poi.excel.cell.values.NumericCellValue
 
getValue(Attributes) - Method in enum cn.hutool.poi.excel.sax.AttributeName
从属性里列表中获取对应属性值
getValue() - Method in enum cn.hutool.poi.word.PicType
获取图片类型对应值
getValue() - Method in enum cn.hutool.socket.nio.Operation
获取值
getValueBaseOne() - Method in enum cn.hutool.core.date.Month
获取月份值,此值与Month对应
此值从1开始,即1表示一月
getValues(K) - Method in class cn.hutool.core.map.TableMap
获取指定key对应的所有值
getValues(String) - Method in class cn.hutool.setting.GroupedSet
获得对应分组的所有值
getVendor() - Method in class cn.hutool.system.JavaInfo
取得当前Java impl.的厂商(取自系统属性:java.vendor)。
getVendor() - Method in class cn.hutool.system.JavaSpecInfo
取得当前Java Spec.的厂商(取自系统属性:java.specification.vendor)。
getVendor() - Method in class cn.hutool.system.JvmInfo
取得当前JVM impl.的厂商(取自系统属性:java.vm.vendor)。
getVendor() - Method in class cn.hutool.system.JvmSpecInfo
取得当前JVM spec.的厂商(取自系统属性:java.vm.specification.vendor)。
getVendorURL() - Method in class cn.hutool.system.JavaInfo
取得当前Java impl.的厂商网站的URL(取自系统属性:java.vendor.url)。
getVersion(String) - Method in class cn.hutool.http.useragent.Browser
获取浏览器版本
getVersion(String) - Method in class cn.hutool.http.useragent.Engine
获取引擎版本
getVersion(String) - Method in class cn.hutool.http.useragent.OS
获取浏览器版本
getVersion() - Method in class cn.hutool.http.useragent.UserAgent
获取浏览器版本
getVersion() - Method in class cn.hutool.system.JavaInfo
取得当前Java impl.的版本(取自系统属性:java.version)。
getVersion() - Method in class cn.hutool.system.JavaRuntimeInfo
取得当前JRE的版本(取自系统属性:java.runtime.version)。
getVersion() - Method in class cn.hutool.system.JavaSpecInfo
取得当前Java Spec.的版本(取自系统属性:java.specification.version)。
getVersion() - Method in class cn.hutool.system.JvmInfo
取得当前JVM impl.的版本(取自系统属性:java.vm.version)。
getVersion() - Method in class cn.hutool.system.JvmSpecInfo
取得当前JVM spec.的版本(取自系统属性:java.vm.specification.version)。
getVersion() - Method in class cn.hutool.system.OsInfo
取得当前OS的版本(取自系统属性:os.version)。
getVersionFloat() - Method in class cn.hutool.system.JavaInfo
取得当前Java impl.的版本(取自系统属性:java.version)。
getVersionInt() - Method in class cn.hutool.system.JavaInfo
取得当前Java impl.的版本(取自系统属性:java.version),java10及其之后的版本返回值为4位。
getVerticalDistance() - Method in class cn.hutool.core.annotation.GenericSynthesizedAggregateAnnotation
获取与根对象的垂直距离
getVerticalDistance() - Method in class cn.hutool.core.annotation.GenericSynthesizedAnnotation
获取该合成注解与根对象的垂直距离。 默认情况下,该距离即为当前注解与根对象之间相隔的层级数。
getVerticalDistance() - Method in interface cn.hutool.core.annotation.Hierarchical
获取该对象与参照物的垂直距离。 默认情况下,该距离即为当前对象与参照物之间相隔的层级数。
getVerticalDistance() - Method in interface cn.hutool.core.annotation.SynthesizedAggregateAnnotation
距离Hierarchical.getRoot()返回值的垂直距离, 默认聚合注解即为根对象,因此返回0
getVerticalDistance() - Method in interface cn.hutool.core.annotation.SynthesizedAnnotation
获取该合成注解与根对象的垂直距离。 默认情况下,该距离即为当前注解与根对象之间相隔的层级数。
getWait() - Method in class cn.hutool.system.oshi.CpuInfo
 
getWarnings() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
getWarnings() - Method in class cn.hutool.db.sql.StatementWrapper
 
getWatchKey(Path) - Method in class cn.hutool.core.io.watch.WatchServer
通过 path 获取 watchKey
getWebRoot() - Static method in class cn.hutool.core.io.FileUtil
获取Web项目下的web root路径
原理是首先获取ClassPath路径,由于在web项目中ClassPath位于 WEB-INF/classes/下,故向上获取两级目录即可。
getWeight() - Method in interface cn.hutool.core.lang.tree.Node
获取权重
getWeight() - Method in class cn.hutool.core.lang.tree.Tree
 
getWeight() - Method in class cn.hutool.core.lang.tree.TreeNode
 
getWeight() - Method in class cn.hutool.core.lang.WeightRandom.WeightObj
获取权重
getWeight() - Method in class cn.hutool.core.map.LinkedForestMap.TreeEntryNode
获取当前节点与根节点的距离
getWeight() - Method in interface cn.hutool.core.map.TreeEntry
获取以当前节点作为叶子节点的树结构,然后获取当前节点与根节点的距离
getWeightKey() - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
获取权重对应的名称
getWhere() - Method in class cn.hutool.db.sql.Query
获得条件语句
getWidth() - Static method in class cn.hutool.core.swing.ScreenUtil
获取屏幕宽度
getWidth() - Method in class cn.hutool.extra.qrcode.QrConfig
获取宽度
getWithLog(String) - Method in class cn.hutool.setting.AbsSetting
带有日志提示的get,如果没有定义指定的KEY,则打印debug日志
getWithoutLock(K) - Method in class cn.hutool.cache.impl.AbstractCache
获取键对应的CacheObj
getWord() - Method in class cn.hutool.dfa.FoundWord
获取生效的单词,即单词树中的词
getWorkbook() - Method in class cn.hutool.poi.excel.ExcelBase
获取Workbook
getWorkerId(long) - Method in class cn.hutool.core.lang.Snowflake
根据Snowflake的ID,获取机器id
getWorkerId(long, long) - Static method in class cn.hutool.core.util.IdUtil
获取机器ID,使用进程ID配合数据中心ID生成
机器依赖于本进程ID或进程名的Hash值。
getWrappedClass() - Method in class cn.hutool.core.bean.NullWrapperBean
获取null值对应的类型
getWrapper() - Method in interface cn.hutool.db.dialect.Dialect
 
getWrapper() - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
 
getWriteBuffer() - Method in class cn.hutool.socket.aio.AioSession
获取写Buffer
getWriteBufferSize() - Method in class cn.hutool.socket.SocketConfig
获取写出缓存大小
getWriter(Image, String) - Static method in class cn.hutool.core.img.ImgUtil
根据给定的Image对象和格式获取对应的ImageWriter,如果未找到合适的Writer,返回null
getWriter(String) - Static method in class cn.hutool.core.img.ImgUtil
根据给定的图片格式或者扩展名获取ImageWriter,如果未找到合适的Writer,返回null
getWriter(boolean) - Method in class cn.hutool.core.io.file.FileWriter
获得一个带缓存的写入对象
getWriter(String, String, boolean) - Static method in class cn.hutool.core.io.FileUtil
getWriter(String, Charset, boolean) - Static method in class cn.hutool.core.io.FileUtil
获得一个带缓存的写入对象
getWriter(File, String, boolean) - Static method in class cn.hutool.core.io.FileUtil
getWriter(File, Charset, boolean) - Static method in class cn.hutool.core.io.FileUtil
获得一个带缓存的写入对象
getWriter(OutputStream, String) - Static method in class cn.hutool.core.io.IoUtil
getWriter(OutputStream, Charset) - Static method in class cn.hutool.core.io.IoUtil
获得一个Writer
getWriter(String, Charset) - Static method in class cn.hutool.core.text.csv.CsvUtil
获取CSV生成器(写出器),使用默认配置,覆盖已有文件(如果存在)
getWriter(File, Charset) - Static method in class cn.hutool.core.text.csv.CsvUtil
获取CSV生成器(写出器),使用默认配置,覆盖已有文件(如果存在)
getWriter(String, Charset, boolean) - Static method in class cn.hutool.core.text.csv.CsvUtil
获取CSV生成器(写出器),使用默认配置
getWriter(File, Charset, boolean) - Static method in class cn.hutool.core.text.csv.CsvUtil
获取CSV生成器(写出器),使用默认配置
getWriter(File, Charset, boolean, CsvWriteConfig) - Static method in class cn.hutool.core.text.csv.CsvUtil
获取CSV生成器(写出器)
getWriter(Writer) - Static method in class cn.hutool.core.text.csv.CsvUtil
获取CSV生成器(写出器)
getWriter(Writer, CsvWriteConfig) - Static method in class cn.hutool.core.text.csv.CsvUtil
获取CSV生成器(写出器)
getWriter() - Static method in class cn.hutool.core.util.StrUtil
获得StringWriter
getWriter(HttpServletResponse) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
获得PrintWriter
getWriter(HttpServletResponse) - Static method in class cn.hutool.extra.servlet.ServletUtil
获得PrintWriter
getWriter() - Method in class cn.hutool.http.server.HttpServerResponse
获取响应数据流
getWriter() - Method in class cn.hutool.poi.excel.ExcelReader
获取Excel写出器
在读取Excel并做一定编辑后,获取写出器写出,规则如下: 1.
getWriter() - Static method in class cn.hutool.poi.excel.ExcelUtil
获得ExcelWriter,默认写出到第一个sheet
不传入写出的Excel文件路径,只能调用ExcelWriter#flush(OutputStream)方法写出到流
若写出到文件,还需调用ExcelWriter.setDestFile(File)方法自定义写出的文件,然后调用ExcelWriter.flush()方法写出到文件
getWriter(boolean) - Static method in class cn.hutool.poi.excel.ExcelUtil
获得ExcelWriter,默认写出到第一个sheet
不传入写出的Excel文件路径,只能调用ExcelWriter#flush(OutputStream)方法写出到流
若写出到文件,还需调用ExcelWriter.setDestFile(File)方法自定义写出的文件,然后调用ExcelWriter.flush()方法写出到文件
getWriter(String) - Static method in class cn.hutool.poi.excel.ExcelUtil
获得ExcelWriter,默认写出到第一个sheet
getWriter(File) - Static method in class cn.hutool.poi.excel.ExcelUtil
获得ExcelWriter,默认写出到第一个sheet,名字为sheet1
getWriter(String, String) - Static method in class cn.hutool.poi.excel.ExcelUtil
getWriter(File, String) - Static method in class cn.hutool.poi.excel.ExcelUtil
getWriter() - Static method in class cn.hutool.poi.word.WordUtil
创建Word 07格式的生成器
getWriter(File) - Static method in class cn.hutool.poi.word.WordUtil
创建Word 07格式的生成器
getWriterWithSheet(String) - Static method in class cn.hutool.poi.excel.ExcelUtil
获得ExcelWriter,默认写出到第一个sheet
getWriteTimeout() - Method in class cn.hutool.socket.SocketConfig
获取写出超时时长,小于等于0表示默认
getX() - Method in class cn.hutool.poi.excel.cell.CellLocation
 
getY() - Method in class cn.hutool.poi.excel.cell.CellLocation
 
getYearByIdCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
根据身份编号获取生日年,只支持15或18位身份证号码
getZipOutputStream(OutputStream, Charset) - Static method in class cn.hutool.core.util.ZipUtil
getZodiac(int, int) - Static method in class cn.hutool.core.date.DateUtil
通过生日计算星座
getZodiac(Date) - Static method in class cn.hutool.core.date.Zodiac
通过生日计算星座
getZodiac(Calendar) - Static method in class cn.hutool.core.date.Zodiac
通过生日计算星座
getZodiac(Month, int) - Static method in class cn.hutool.core.date.Zodiac
通过生日计算星座
getZodiac(int, int) - Static method in class cn.hutool.core.date.Zodiac
通过生日计算星座
getZoneId() - Method in class cn.hutool.core.date.DateTime
获取时区ID
GifCaptcha - Class in cn.hutool.captcha
Gif验证码类
GifCaptcha(int, int) - Constructor for class cn.hutool.captcha.GifCaptcha
可以设置验证码宽度,高度的构造函数
GifCaptcha(int, int, int) - Constructor for class cn.hutool.captcha.GifCaptcha
 
GifCaptcha(int, int, int, int) - Constructor for class cn.hutool.captcha.GifCaptcha
 
GifCaptcha(int, int, CodeGenerator, int) - Constructor for class cn.hutool.captcha.GifCaptcha
构造
GifCaptcha(int, int, int, int, float) - Constructor for class cn.hutool.captcha.GifCaptcha
构造
GifDecoder - Class in cn.hutool.core.img.gif
GIF文件解析 Class GifDecoder - Decodes a GIF file into one or more frames.
GifDecoder() - Constructor for class cn.hutool.core.img.gif.GifDecoder
 
GlobalBouncyCastleProvider - Enum in cn.hutool.crypto
全局单例的 org.bouncycastle.jce.provider.BouncyCastleProvider 对象
GlobalCookieManager - Class in cn.hutool.http.cookie
全局Cookie管理器,只针对Hutool请求有效
GlobalCookieManager() - Constructor for class cn.hutool.http.cookie.GlobalCookieManager
 
GlobalCustomFormat - Class in cn.hutool.core.date.format
全局自定义格式
用于定义用户指定的日期格式和输出日期的关系
GlobalCustomFormat() - Constructor for class cn.hutool.core.date.format.GlobalCustomFormat
 
GlobalDbConfig - Class in cn.hutool.db
DB全局配置配置项
GlobalDbConfig() - Constructor for class cn.hutool.db.GlobalDbConfig
 
GlobalDSFactory - Class in cn.hutool.db.ds
全局的数据源工厂
一般情况下,一个应用默认只使用一种数据库连接池,因此维护一个全局的数据源工厂类减少判断连接池类型造成的性能浪费
GlobalDSFactory() - Constructor for class cn.hutool.db.ds.GlobalDSFactory
 
GlobalHeaders - Enum in cn.hutool.http
全局头部信息
所有Http请求将共用此全局头部信息,除非在HttpRequest中自定义头部信息覆盖之
GlobalInterceptor - Enum in cn.hutool.http
全局的拦截器
包括请求拦截器和响应拦截器
GlobalLogFactory - Class in cn.hutool.log
全局日志工厂类
用于减少日志工厂创建,减少日志库探测
GlobalLogFactory() - Constructor for class cn.hutool.log.GlobalLogFactory
 
GlobalMailAccount - Enum in cn.hutool.extra.mail
全局邮件帐户,依赖于邮件配置文件MailAccount.MAIL_SETTING_PATHS
GlobalProfile - Class in cn.hutool.setting.profile
全局的Profile配置中心
GlobalPruneTimer - Enum in cn.hutool.cache
全局缓存清理定时器池,用于在需要过期支持的缓存对象中超时任务池
GlobalSerializeMapping - Class in cn.hutool.json.serialize
全局的序列化和反序列化器映射
在JSON和Java对象转换过程中,优先使用注册于此处的自定义转换
GlobalSerializeMapping() - Constructor for class cn.hutool.json.serialize.GlobalSerializeMapping
 
GlobalThreadPool - Class in cn.hutool.core.thread
全局公共线程池
此线程池是一个无限线程池,即加入的线程不等待任何线程,直接执行
GMP_DECODER - Static variable in class cn.hutool.core.codec.Base62Codec.Base62Decoder
 
GMP_ENCODER - Static variable in class cn.hutool.core.codec.Base62Codec.Base62Encoder
 
GOOGLE_TV - Static variable in class cn.hutool.http.useragent.Platform
android
GraphicsUtil - Class in cn.hutool.core.img
Graphics相关工具类
GraphicsUtil() - Constructor for class cn.hutool.core.img.GraphicsUtil
 
gray() - Method in class cn.hutool.core.img.Img
彩色转为灰度
gray(File, File) - Static method in class cn.hutool.core.img.ImgUtil
彩色转为黑白
gray(InputStream, OutputStream) - Static method in class cn.hutool.core.img.ImgUtil
彩色转为黑白
此方法并不关闭流
gray(ImageInputStream, ImageOutputStream) - Static method in class cn.hutool.core.img.ImgUtil
彩色转为黑白
此方法并不关闭流
gray(Image, File) - Static method in class cn.hutool.core.img.ImgUtil
彩色转为黑白
gray(Image, OutputStream) - Static method in class cn.hutool.core.img.ImgUtil
彩色转为黑白
此方法并不关闭流
gray(Image, ImageOutputStream) - Static method in class cn.hutool.core.img.ImgUtil
彩色转为黑白
此方法并不关闭流
gray(Image) - Static method in class cn.hutool.core.img.ImgUtil
彩色转为黑白
greaterThan(Money) - Method in class cn.hutool.core.math.Money
货币比较。
group(Collection<T>, Hash32<T>) - Static method in class cn.hutool.core.collection.CollUtil
分组,按照Hash32接口定义的hash算法,集合中的元素放入hash值对应的子列表中
group2Map(Collection<E>, Function<E, T>, Function<E, U>) - Static method in class cn.hutool.core.collection.CollStreamUtil
将collection按照两个规则(比如有相同的年级id,班级id)分组成双层map
Collection<E> ---> Map<T,Map<U,E>>
group2Map(Collection<E>, Function<E, T>, Function<E, U>, boolean) - Static method in class cn.hutool.core.collection.CollStreamUtil
将collection按照两个规则(比如有相同的年级id,班级id)分组成双层map
Collection<E> ---> Map<T,Map<U,E>>
GROUP_VAR - Static variable in class cn.hutool.core.lang.PatternPool
分组
GROUP_VAR - Static variable in interface cn.hutool.core.lang.RegexPool
分组
GROUP_VAR - Static variable in class cn.hutool.core.lang.Validator
分组
groupBy(Collection<E>, Function<E, K>, Collector<E, ?, D>) - Static method in class cn.hutool.core.collection.CollStreamUtil
作为所有groupingBy的公共方法,更接近于原生,灵活性更强
groupBy(Collection<E>, Function<E, K>, Collector<E, ?, D>, boolean) - Static method in class cn.hutool.core.collection.CollStreamUtil
作为所有groupingBy的公共方法,更接近于原生,灵活性更强
groupBy(String...) - Method in class cn.hutool.db.sql.SqlBuilder
分组
groupBy2Key(Collection<E>, Function<E, K>, Function<E, U>) - Static method in class cn.hutool.core.collection.CollStreamUtil
将collection按照两个规则(比如有相同的年级id,班级id)分组成双层map
Collection<E> ---> Map<T,Map<U,List<E>>>
groupBy2Key(Collection<E>, Function<E, K>, Function<E, U>, boolean) - Static method in class cn.hutool.core.collection.CollStreamUtil
将collection按照两个规则(比如有相同的年级id,班级id)分组成双层map
Collection<E> ---> Map<T,Map<U,List<E>>>
groupByField(Collection<T>, String) - Static method in class cn.hutool.core.collection.CollUtil
根据元素的指定字段名分组,非Bean都放在第一个分组中
groupByKey(Collection<E>, Function<E, K>) - Static method in class cn.hutool.core.collection.CollStreamUtil
将collection按照规则(比如有相同的班级id)分组成map
Collection<E> -------> Map<K,List<E>>
groupByKey(Collection<E>, Function<E, K>, boolean) - Static method in class cn.hutool.core.collection.CollStreamUtil
将collection按照规则(比如有相同的班级id)分组成map
Collection<E> -------> Map<K,List<E>>
GroupedConnection() - Constructor for class cn.hutool.db.ThreadLocalConnection.GroupedConnection
 
GroupedMap - Class in cn.hutool.setting
基于分组的Map
此对象方法线程安全
GroupedMap() - Constructor for class cn.hutool.setting.GroupedMap
 
GroupedSet - Class in cn.hutool.setting
分组化的Set集合类
在配置文件中可以用中括号分隔不同的分组,每个分组会放在独立的Set中,用group区别
无分组的集合和`[]`分组集合会合并成员,重名的分组也会合并成员
分组配置文件如下:
GroupedSet(Charset) - Constructor for class cn.hutool.setting.GroupedSet
基本构造
需自定义初始化配置文件
GroupedSet(String, Charset) - Constructor for class cn.hutool.setting.GroupedSet
构造,使用相对于Class文件根目录的相对路径
GroupedSet(File, Charset) - Constructor for class cn.hutool.setting.GroupedSet
构造
GroupedSet(String, Class<?>, Charset) - Constructor for class cn.hutool.setting.GroupedSet
构造,相对于classes读取文件
GroupedSet(URL, Charset) - Constructor for class cn.hutool.setting.GroupedSet
构造
GroupedSet(String) - Constructor for class cn.hutool.setting.GroupedSet
构造
GroupedTypeGetter - Interface in cn.hutool.core.getter
基于分组的Get接口
grouping(Iterable<Map.Entry<K, V>>) - Static method in class cn.hutool.core.map.MapUtil
根据给定的entry列表,根据entry的key进行分组;
groupingBy(Function<? super T, ? extends K>, Supplier<M>, Collector<? super T, A, D>) - Static method in class cn.hutool.core.stream.CollectorUtil
提供对null值友好的groupingBy操作的Collector实现,可指定map类型
groupingBy(Function<? super T, ? extends K>, Collector<? super T, A, D>) - Static method in class cn.hutool.core.stream.CollectorUtil
提供对null值友好的groupingBy操作的Collector实现
groupingBy(Function<? super T, ? extends K>) - Static method in class cn.hutool.core.stream.CollectorUtil
提供对null值友好的groupingBy操作的Collector实现
groupingBy(Function<? super T, ? extends K>, Function<? super T, ? extends R>, Supplier<C>, Supplier<M>) - Static method in class cn.hutool.core.stream.CollectorUtil
提供对null值友好的groupingBy操作的Collector实现, 对集合分组,然后对分组后的值集合进行映射
groupingBy(Function<? super T, ? extends K>, Function<? super T, ? extends R>, Supplier<C>) - Static method in class cn.hutool.core.stream.CollectorUtil
提供对null值友好的groupingBy操作的Collector实现, 对集合分组,然后对分组后的值集合进行映射
groupingBy(Function<? super T, ? extends K>, Function<? super T, ? extends R>) - Static method in class cn.hutool.core.stream.CollectorUtil
提供对null值友好的groupingBy操作的Collector实现, 对集合分组,然后对分组后的值集合进行映射
groupKeyValue(Collection<E>, Function<E, K>, Function<E, V>) - Static method in class cn.hutool.core.collection.CollStreamUtil
将collection按照规则(比如有相同的班级id)分组成map,map中的key为班级id,value为班级名
Collection<E> -------> Map<K,List<V>>
groupKeyValue(Collection<E>, Function<E, K>, Function<E, V>, boolean) - Static method in class cn.hutool.core.collection.CollStreamUtil
将collection按照规则(比如有相同的班级id)分组成map,map中的key为班级id,value为班级名
Collection<E> -------> Map<K,List<V>>
groupMap - Variable in class cn.hutool.core.date.GroupTimeInterval
 
GroupTimeInterval - Class in cn.hutool.core.date
分组计时器
计算某几个过程花费的时间,精确到毫秒或纳秒
GroupTimeInterval(boolean) - Constructor for class cn.hutool.core.date.GroupTimeInterval
构造
GT - Static variable in class cn.hutool.core.util.XmlUtil
字符串常量:XML 大于号转义 "&gt;" -> ">"
GT - Static variable in class cn.hutool.http.HtmlUtil
 
GT - Static variable in class cn.hutool.json.XML
The Character '>'.
Gzip - Class in cn.hutool.core.compress
GZIP是用于Unix系统的文件压缩
gzip的基础是DEFLATE
Gzip(InputStream, OutputStream) - Constructor for class cn.hutool.core.compress.Gzip
构造
gzip() - Method in class cn.hutool.core.compress.Gzip
将普通数据流压缩
gzip(String, String) - Static method in class cn.hutool.core.util.ZipUtil
Gzip压缩处理
gzip(byte[]) - Static method in class cn.hutool.core.util.ZipUtil
Gzip压缩处理
gzip(File) - Static method in class cn.hutool.core.util.ZipUtil
Gzip压缩文件
gzip(InputStream) - Static method in class cn.hutool.core.util.ZipUtil
Gzip压缩文件
gzip(InputStream, int) - Static method in class cn.hutool.core.util.ZipUtil
Gzip压缩文件

H

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
判断是否含有状态
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
是否存在null或空对象,通过ObjectUtil.isEmpty(Object) 判断元素
hasEmpty(Object...) - Static method in class cn.hutool.core.util.ObjectUtil
是否存在null或空对象,通过ObjectUtil.isEmpty(Object) 判断元素
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
计算64位City Hash值,种子1使用默认的CityHash.k2
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
返回当前TreeEntry的哈希值。
默认总是返回Map.Entry.getKey()的哈希值
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
返回当前TreeEntry的哈希值。
默认总是返回Map.Entry.getKey()的哈希值
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
Assists in implementing Object.hashCode() methods.
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 协议实现,以实现: 生成简短、唯一、大小写敏感并无序的hash值 自然数字的Hash值 可以设置不同的盐,具有保密性 可配置的hash长度 递增的输入产生的输出无法预测
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
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
hasModifier(Constructor<?>, ModifierUtil.ModifierType...) - Static method in class cn.hutool.core.util.ModifierUtil
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
hasModifier(Method, ModifierUtil.ModifierType...) - Static method in class cn.hutool.core.util.ModifierUtil
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
hasModifier(Field, ModifierUtil.ModifierType...) - Static method in class cn.hutool.core.util.ModifierUtil
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
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
是否存在null对象,通过ObjectUtil.isNull(Object) 判断元素
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语句,所有逻辑之间关系使用Condition.setLinkOperator(LogicalOperator) 定义
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
高度(单位:像素或▄)
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)。
例如十进制数57,在二进制写作111001,在16进制写作39。
像java,c这样的语言为了区分十六进制和十进制数值,会在十六进制数的前面加上 0x,比如0x20是十进制的32,而不是十进制的20
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(脱敏工具类)
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选择器,用于根据一定的规则从两个Hierarchical实现类中选择并返回一个最合适的对象
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 可以与任何迭代散列函数捆绑使用。MD5 和 SHA-1 就是这种散列函数。HMAC 还可以使用一个用于计算和确认消息鉴别值的密钥。
注意:此对象实例化后为非线程安全!
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 符转义 "&amp;" -> "&"
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 大于号转义 "&gt;" -> ">"
HTML_LT - Static variable in interface cn.hutool.core.text.StrPool
字符串常量:HTML 小于号转义 "&lt;" -> "<"
HTML_NBSP - Static variable in interface cn.hutool.core.text.StrPool
字符串常量:HTML 不间断空格转义 "&nbsp;" -> " "
HTML_QUOTE - Static variable in interface cn.hutool.core.text.StrPool
字符串常量:HTML 双引号转义 "&quot;" -> "\""
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工具类
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头中日期时间格式 FastDateFormat:EEE, dd MMM yyyy HH:mm:ss z
HTTP_DATETIME_FORMAT_Z - Static variable in class cn.hutool.core.date.DatePattern
HTTP头中日期时间格式 FastDateFormat:EEE, dd MMM yyyy HH:mm:ss z
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.
见:RFC-7231
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
Deprecated.
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 值单元格设置器

I

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生成器工具类,此工具类中主要封装:
IdUtil() - Constructor for class cn.hutool.core.util.IdUtil
 
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))
ifPresentOrElse(Consumer<? super T>, VoidFunc0) - Method in class cn.hutool.core.lang.Opt
如果包裹里的值存在,就执行传入的值存在时的操作(Consumer.accept(T)) 否则执行传入的值不存在时的操作(VoidFunc0中的VoidFunc0.call())
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
Deprecated.
并发问题,导致无法共用IKSegmenter,因此废弃
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
图片转换器,用于将图片对象转换为剪贴板支持的对象
此对象也用于将图像文件和DataFlavor.imageFlavor 元信息对应
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
数据库表的索引信息
如果时单列索引,只有一个ColumnIndexInfo,联合索引则拥有多个ColumnIndexInfo
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
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(T[], Object) - Static method in class cn.hutool.core.util.ArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(long[], long) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(int[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(short[], short) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(char[], char) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(byte[], byte) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(double[], double) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(float[], float) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(boolean[], boolean) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
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
指定范围内查找字符串,忽略大小写
indexOfIgnoreCase(CharSequence, CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
指定范围内查找字符串
indexOfIgnoreCase(CharSequence[], CharSequence) - Static method in class cn.hutool.core.util.ArrayUtil
返回数组中指定元素所在位置,忽略大小写,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
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
初始化Cipher,默认尝试加载BC库
initCipher() - Method in class cn.hutool.crypto.asymmetric.RSA
 
initCloud() - Method in class cn.hutool.db.nosql.mongo.MongoDS
初始化集群
集群的其它客户端设定参数使用全局设定
集群中每一个实例成员用一个group表示,例如:
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
初始化Cipher为加密或者解密模式
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和端口有三种形式:
input() - Static method in class cn.hutool.core.lang.Console
读取用户输入的内容(在控制台敲回车前的内容)
InputStreamResource - Class in cn.hutool.core.io.resource
基于InputStream的资源获取器
注意:此对象中getUrl方法始终返回null
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
批量插入数据
需要注意的是,批量插入每一条数据结构必须一致。批量插入数据时会获取第一条数据的字段结构,之后的数据会按照这个格式插入。
也就是说假如第一条数据只有2个字段,后边数据多于这两个字段的部分将被抛弃。
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
批量插入数据
需要注意的是,批量插入每一条数据结构必须一致。批量插入数据时会获取第一条数据的字段结构,之后的数据会按照这个格式插入。
也就是说假如第一条数据只有2个字段,后边数据多于这两个字段的部分将被抛弃。 此方法不会关闭Connection
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
规范化表示形式封装
所谓规范化,即当两个对象equals时,规范化的对象则可以实现==
此包中的相关封装类似于 String.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
结束线程,调用此方法后,线程将抛出 InterruptedException异常
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
执行方法
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
执行方法
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
执行方法
执行前要检查给定参数:
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地址工具类
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
Deprecated.
拼写错误,请使用NetUtil.ipv6ToBigInteger(String)
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
是否存都为null或空对象,通过ObjectUtil.isEmpty(Object) 判断元素
isAllEmpty(Object...) - Static method in class cn.hutool.core.util.ObjectUtil
是否全都为null或空对象,通过ObjectUtil.isEmpty(Object) 判断元素
isAllNotBlank(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
是否存都不为null或空对象或空白符的对象,通过CharSequenceUtil.hasBlank(CharSequence...) 判断元素
isAllNotEmpty(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
指定字符串数组中的元素,是否都不为空字符串。
isAllNotEmpty(Object...) - Static method in class cn.hutool.core.util.ArrayUtil
是否存都不为null或空对象,通过ObjectUtil.isEmpty(Object) 判断元素
isAllNotEmpty(Object...) - Static method in class cn.hutool.core.util.ObjectUtil
是否全都不为null或空对象,通过ObjectUtil.isEmpty(Object) 判断元素
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之间
isAsciiControl(char) - Static method in class cn.hutool.core.util.CharUtil
是否为ASCII控制符(不可见字符),控制符位于0~31和127
isAsciiPrintable(char) - Static method in class cn.hutool.core.util.CharUtil
是否为可见ASCII字符,可见字符位于32~126之间
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对象,判定方法是:
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
如果对象是字符串是否为空白,空白的定义如下:
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
给定对象对应的类是否为字符类,字符类包括:
isCharClass(Class<?>) - Static method in class cn.hutool.core.util.CharUtil
给定类名是否为字符类,字符类包括:
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
是否是有效的统一社会信用代码
isCreditCode(CharSequence) - Static method in class cn.hutool.core.util.CreditCodeUtil
是否是有效的统一社会信用代码
isCreditCodeSimple(CharSequence) - Static method in class cn.hutool.core.util.CreditCodeUtil
正则校验统一社会信用代码(18位)
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部分。
在构建Http请求时,用户传入的URL可能有编码后和未编码的内容混合在一起,如果此参数为true,则会统一解码编码后的参数,
按照RFC3986规范,在发送请求时,全部编码之。如果为false,则不会解码已经编码的内容,在请求时只编码需要编码的部分。
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
给定节点是否为Element 类型节点
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.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
字符串是否为空,空的定义如下:
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
判断指定对象是否为空,支持:
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
如果对象是字符串是否为空串,空的定义如下:
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
对于文件名是否使用MailAccount.charset编码,默认为 true
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
判断两个Collection 是否元素和顺序相同,返回true的条件是: 两个Collection必须长度相同 两个Collection元素相同index的对象必须equals,满足Objects.equals(Object, Object) 此方法来自Apache-Commons-Collections4。
isEqualList(Iterable<?>, Iterable<?>) - Static method in class cn.hutool.core.collection.IterUtil
判断两个Iterable 是否元素和顺序相同,返回true的条件是: 两个Iterable必须长度相同 两个Iterable元素相同index的对象必须equals,满足Objects.equals(Object, Object) 此方法来自Apache-Commons-Collections4。
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
Deprecated.
此方法存在一定的歧义,容易产生误导,废弃。
isExpired(Date, Date, Date) - Static method in class cn.hutool.core.date.DateUtil
Deprecated.
使用isIn方法
isFail() - Method in class cn.hutool.core.lang.Opt
是否失败
当调用 Opt.ofTry(Func0)时,抛出异常则表示失败
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
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.
This is true if header contains string 'filename'.
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进制规范的字符,判断是否为如下字符
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异常。
在Http协议中,对于Transfer-Encoding: Chunked在正常情况下末尾会写入一个Length为0的的chunk标识完整结束。
如果服务端未遵循这个规范或响应没有正常结束,会报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:
isInnerIP(String) - Static method in class cn.hutool.core.net.NetUtil
判定是否为内网IPv4
私有IP:
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中定义的类或接口,判断依据:
isJdkMetaAnnotation(Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
是否为Jdk自带的元注解。
包括: Target Retention Inherited Documented SuppressWarnings Override Deprecated
isJson(String) - Static method in class cn.hutool.json.JSONUtil
Deprecated.
方法名称有歧义,请使用 JSONUtil.isTypeJSON(String)
isJsonArray(String) - Static method in class cn.hutool.json.JSONUtil
Deprecated.
方法名称有歧义,请使用 JSONUtil.isTypeJSONArray(String)
isJsonObj(String) - Static method in class cn.hutool.json.JSONUtil
Deprecated.
方法名称有歧义,请使用 JSONUtil.isTypeJSONObject(String)
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
isLetterLower(char) - Static method in class cn.hutool.core.util.CharUtil
检查字符是否为小写字母,小写字母指a~z
isLetterOrNumber(char) - Static method in class cn.hutool.core.util.CharUtil
是否为字母或数字,包括A~Z、a~z、0~9
isLetterUpper(char) - Static method in class cn.hutool.core.util.CharUtil
判断是否为大写字母,大写字母包括A~Z
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
是否已经被锁定。当开始比较时(调用compare方法)此值为true
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
给定字符串中的字母是否全部为小写,判断依据如下:
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
Deprecated.
拼写错误,请使用FileUtil.isModified(File, long)
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
对象是否可变
如果为不可变对象,以下方法将返回新方法: DateTime.offset(DateField, int) DateTime.setField(DateField, int) DateTime.setField(int, int) 如果为不可变对象,DateTime.setTime(long)将抛出异常
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
是否为标准的类
这个类必须:
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
字符串是否为非空白,非空白的定义如下:
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
判断指定对象是否为非空,支持:
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自带的元注解。
包括: Target Retention Inherited Documented SuppressWarnings Override Deprecated
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
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
断言对象是否为null ,如果不为null 抛出IllegalArgumentException 异常
 Assert.isNull(value, "The value must be null");
isNull(Object) - Static method in class cn.hutool.core.lang.Assert
断言对象是否为null ,如果不为null 抛出IllegalArgumentException 异常
 Assert.isNull(value);
isNull(Object) - Static method in class cn.hutool.core.lang.Validator
给定值是否为null
isNull(Object) - Static method in class cn.hutool.core.util.ObjectUtil
检查对象是否为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的情况包括:
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
isNumber(CharSequence) - Static method in class cn.hutool.core.util.NumberUtil
是否为数字,支持包括:
isNumeric(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
检查字符串是否都为数字组成
ISO8601_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
ISO8601日期时间格式,精确到毫秒 FastDateFormat:yyyy-MM-dd HH:mm:ss,SSS
ISO8601_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyy-MM-dd HH:mm:ss,SSS
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
Deprecated.
始终返回 true
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
指定类是否被提供,使用默认ClassLoader
通过调用ClassLoaderUtil.loadClass(String, ClassLoader, boolean)方法尝试加载指定类名的类,如果加载失败返回false
加载失败的原因可能是此类不存在或其关联引用类不存在
isPresent(String, ClassLoader) - Static method in class cn.hutool.core.util.ClassLoaderUtil
指定类是否被提供
通过调用ClassLoaderUtil.loadClass(String, ClassLoader, boolean)方法尝试加载指定类名的类,如果加载失败返回false
加载失败的原因可能是此类不存在或其关联引用类不存在
isPrimes(int) - Static method in class cn.hutool.core.util.NumberUtil
是否是质数(素数)
质数表的质数又称素数。指整数在一个大于1的自然数中,除了1和此整数自身外,没法被其他自然数整除的数。
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
检查属性是否可读(即是否可以通过PropDesc.getValue(Object)获取到值)
isReadableBean(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
判断是否为可读的Bean对象,判定方法是:
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
是否为简单值类型
包括:
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是对纯文本通信协议的扩展。它将纯文本连接升级为加密连接(TLS或SSL), 而不是使用一个单独的加密通信端口。
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
判断指定的词是否是不处理的词。 如果参数为空,则返回true,因为空也属于不处理的字符。
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
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
是否未知类型
type为null或者TypeVariable 都视为未知类型
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
给定字符串中的字母是否全部为大写,判断依据如下:
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位身份证的合法性
isValidCard18(String, boolean) - Static method in class cn.hutool.core.util.IdcardUtil
判断18位身份证的合法性
isValidHKCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
验证香港身份证号码(存在Bug,部份特殊身份证无法检查)
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
该注解属性的值是否等于默认值
默认仅当WrappedAnnotationAttribute.getOriginal()WrappedAnnotationAttribute.getLinked()返回的注解属性 都为默认值时,才返回true
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
当前注解属性是否已经被WrappedAnnotationAttribute包装
isWrapped() - Method in interface cn.hutool.core.annotation.WrappedAnnotationAttribute
当前注解属性是否已经被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
检查属性是否可读(即是否可以通过PropDesc.getValue(Object)获取到值)
isWriteLongAsString() - Method in class cn.hutool.json.JSONConfig
是否将Long值写出为字符串类型
isXls(InputStream) - Static method in class cn.hutool.poi.excel.ExcelFileUtil
是否为XLS格式的Excel文件(HSSF)
XLS文件主要用于Excel 97~2003创建
此方法会自动调用InputStream.reset()方法
isXlsx() - Method in class cn.hutool.poi.excel.ExcelBase
判断是否为xlsx格式的Excel表(Excel07格式)
isXlsx(InputStream) - Static method in class cn.hutool.poi.excel.ExcelFileUtil
是否为XLSX格式的Excel文件(XSSF)
XLSX文件主要用于Excel 2007+创建
此方法会自动调用InputStream.reset()方法
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
提供合成接口,共同提供IterableIterator功能
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
组合Iterator,将多个Iterator组合在一起,便于集中遍历。
来自Jodd
IterChain() - Constructor for class cn.hutool.core.collection.IterChain
构造 可以使用 IterChain.addChain(Iterator) 方法加入更多的集合。
IterChain(Iterator<T>...) - Constructor for class cn.hutool.core.collection.IterChain
构造
IterUtil - Class in cn.hutool.core.collection
IterableIterator 相关工具类
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
 

J

JakartaServletUtil - Class in cn.hutool.extra.servlet
Servlet相关工具类封装
JakartaServletUtil() - Constructor for class cn.hutool.extra.servlet.JakartaServletUtil
 
JAR_FILE_EXT - Static variable in class cn.hutool.core.io.FileUtil
Jar文件扩展名
JAR_PATH_EXT - Static variable in class cn.hutool.core.io.FileUtil
在Jar中的路径jar的扩展名形式
JAR_URL_PREFIX - Static variable in class cn.hutool.core.util.URLUtil
URL 前缀表示jar: "jar:"
JAR_URL_SEPARATOR - Static variable in class cn.hutool.core.util.URLUtil
Jar路径以及内部文件路径的分界符: "!/"
JarClassLoader - Class in cn.hutool.core.lang
外部Jar的类加载器
JarClassLoader() - Constructor for class cn.hutool.core.lang.JarClassLoader
构造
JarClassLoader(URL[]) - Constructor for class cn.hutool.core.lang.JarClassLoader
构造
JarClassLoader(URL[], ClassLoader) - Constructor for class cn.hutool.core.lang.JarClassLoader
构造
javaDefaultHash(String) - Static method in class cn.hutool.core.util.HashUtil
JAVA自己带的算法
JavaFileObjectUtil - Class in cn.hutool.core.compiler
JavaFileObject 相关工具类封装
JavaFileObjectUtil() - Constructor for class cn.hutool.core.compiler.JavaFileObjectUtil
 
JavaInfo - Class in cn.hutool.system
代表Java Implementation的信息。
JavaInfo() - Constructor for class cn.hutool.system.JavaInfo
 
JavaRuntimeInfo - Class in cn.hutool.system
代表当前运行的JRE的信息。
JavaRuntimeInfo() - Constructor for class cn.hutool.system.JavaRuntimeInfo
 
JavaScriptEngine - Class in cn.hutool.script
Javascript引擎类
JavaScriptEngine() - Constructor for class cn.hutool.script.JavaScriptEngine
 
JavaSourceCompiler - Class in cn.hutool.core.compiler
Java 源码编译器
JavaSpecInfo - Class in cn.hutool.system
代表Java Specification的信息。
JavaSpecInfo() - Constructor for class cn.hutool.system.JavaSpecInfo
 
JAXBUtil - Class in cn.hutool.core.util
JAXB(Java Architecture for XML Binding),根据XML Schema产生Java对象,即实现xml和Bean互转。
JAXBUtil() - Constructor for class cn.hutool.core.util.JAXBUtil
 
JbossLog - Class in cn.hutool.log.dialect.jboss
JbossLog(Logger) - Constructor for class cn.hutool.log.dialect.jboss.JbossLog
构造
JbossLog(Class<?>) - Constructor for class cn.hutool.log.dialect.jboss.JbossLog
构造
JbossLog(String) - Constructor for class cn.hutool.log.dialect.jboss.JbossLog
构造
JbossLogFactory - Class in cn.hutool.log.dialect.jboss
JbossLogFactory() - Constructor for class cn.hutool.log.dialect.jboss.JbossLogFactory
构造
JcsegEngine - Class in cn.hutool.extra.tokenizer.engine.jcseg
Jcseg分词引擎实现
项目地址:https://gitee.com/lionsoul/jcseg
JcsegEngine() - Constructor for class cn.hutool.extra.tokenizer.engine.jcseg.JcsegEngine
构造
JcsegEngine(ISegment) - Constructor for class cn.hutool.extra.tokenizer.engine.jcseg.JcsegEngine
构造
JcsegResult - Class in cn.hutool.extra.tokenizer.engine.jcseg
Jcseg分词结果包装
项目地址:https://gitee.com/lionsoul/jcseg
JcsegResult(ISegment) - Constructor for class cn.hutool.extra.tokenizer.engine.jcseg.JcsegResult
构造
JcsegWord - Class in cn.hutool.extra.tokenizer.engine.jcseg
Jcseg分词中的一个单词包装
JcsegWord(IWord) - Constructor for class cn.hutool.extra.tokenizer.engine.jcseg.JcsegWord
构造
JdbcType - Enum in cn.hutool.db.meta
JDBC中字段类型枚举
JDK_DATETIME_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
JDK中日期时间格式 FastDateFormat:EEE MMM dd HH:mm:ss zzz yyyy
JDK_DATETIME_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
JDK中日期时间格式:EEE MMM dd HH:mm:ss zzz yyyy
JdkInterceptor - Class in cn.hutool.aop.interceptor
JDK实现的动态代理切面
JdkInterceptor(Object, Aspect) - Constructor for class cn.hutool.aop.interceptor.JdkInterceptor
构造
JdkLog - Class in cn.hutool.log.dialect.jdk
JdkLog(Logger) - Constructor for class cn.hutool.log.dialect.jdk.JdkLog
 
JdkLog(Class<?>) - Constructor for class cn.hutool.log.dialect.jdk.JdkLog
 
JdkLog(String) - Constructor for class cn.hutool.log.dialect.jdk.JdkLog
 
JdkLogFactory - Class in cn.hutool.log.dialect.jdk
JDK日志工厂类 java.util.logging log.
JdkLogFactory() - Constructor for class cn.hutool.log.dialect.jdk.JdkLogFactory
 
JdkProxyClassConverter() - Constructor for class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner.JdkProxyClassConverter
 
JdkProxyClassConverter() - Constructor for class cn.hutool.core.annotation.scanner.TypeAnnotationScanner.JdkProxyClassConverter
 
JdkProxyFactory - Class in cn.hutool.aop.proxy
JDK实现的切面代理
JdkProxyFactory() - Constructor for class cn.hutool.aop.proxy.JdkProxyFactory
 
JdkStringInterner - Class in cn.hutool.core.lang.intern
JDK中默认的字符串规范化实现
JdkStringInterner() - Constructor for class cn.hutool.core.lang.intern.JdkStringInterner
 
JdkUtil - Class in cn.hutool.core.util
JDK相关工具类,包括判断JDK版本等
工具部分方法来自fastjson2的JDKUtils
JdkUtil() - Constructor for class cn.hutool.core.util.JdkUtil
 
JetbrickEngine - Class in cn.hutool.extra.template.engine.jetbrick
Jetbrick模板引擎封装
见:https://github.com/subchen/jetbrick-template-2x
JetbrickEngine() - Constructor for class cn.hutool.extra.template.engine.jetbrick.JetbrickEngine
默认构造
JetbrickEngine(TemplateConfig) - Constructor for class cn.hutool.extra.template.engine.jetbrick.JetbrickEngine
构造
JetbrickEngine(JetEngine) - Constructor for class cn.hutool.extra.template.engine.jetbrick.JetbrickEngine
构造
JetbrickTemplate - Class in cn.hutool.extra.template.engine.jetbrick
Jetbrick模板实现
见:https://github.com/subchen/jetbrick-template-2x
JetbrickTemplate(JetTemplate) - Constructor for class cn.hutool.extra.template.engine.jetbrick.JetbrickTemplate
构造
JexlEngine - Class in cn.hutool.extra.expression.engine.jexl
Jexl3引擎封装
见:https://github.com/apache/commons-jexl
JexlEngine() - Constructor for class cn.hutool.extra.expression.engine.jexl.JexlEngine
 
JfireELEngine - Class in cn.hutool.extra.expression.engine.jfireel
JfireEL引擎封装
见:https://gitee.com/eric_ds/jfireEL
JfireELEngine() - Constructor for class cn.hutool.extra.expression.engine.jfireel.JfireELEngine
构造
JiebaEngine - Class in cn.hutool.extra.tokenizer.engine.jieba
Jieba分词引擎实现
项目地址:https://github.com/huaban/jieba-analysis
JiebaEngine() - Constructor for class cn.hutool.extra.tokenizer.engine.jieba.JiebaEngine
构造
JiebaEngine(JiebaSegmenter.SegMode) - Constructor for class cn.hutool.extra.tokenizer.engine.jieba.JiebaEngine
构造
JiebaResult - Class in cn.hutool.extra.tokenizer.engine.jieba
Jieba分词结果实现
项目地址:https://github.com/huaban/jieba-analysis
JiebaResult(List<SegToken>) - Constructor for class cn.hutool.extra.tokenizer.engine.jieba.JiebaResult
构造
JiebaWord - Class in cn.hutool.extra.tokenizer.engine.jieba
Jieba分词中的一个单词包装
JiebaWord(SegToken) - Constructor for class cn.hutool.extra.tokenizer.engine.jieba.JiebaWord
构造
JndiDSFactory - Class in cn.hutool.db.ds.jndi
JNDI数据源工厂类
Setting配置样例:
---------------------
[group]
jndi = jdbc/TestDB
---------------------
JndiDSFactory() - Constructor for class cn.hutool.db.ds.jndi.JndiDSFactory
 
JndiDSFactory(Setting) - Constructor for class cn.hutool.db.ds.jndi.JndiDSFactory
 
JNDIUtil - Class in cn.hutool.core.util
JNDI工具类
JNDI是Java Naming and Directory Interface(JAVA命名和目录接口)的英文简写,
它是为JAVA应用程序提供命名和目录访问服务的API(Application Programing Interface,应用程序编程接口)。
JNDIUtil() - Constructor for class cn.hutool.core.util.JNDIUtil
 
join(Iterable<T>, CharSequence, Function<T, ? extends CharSequence>) - Static method in class cn.hutool.core.collection.CollUtil
以 conjunction 为分隔符将集合转换为字符串
join(Iterable<T>, CharSequence) - Static method in class cn.hutool.core.collection.CollUtil
以 conjunction 为分隔符将集合转换为字符串
如果集合元素为数组、IterableIterator,则递归组合其为字符串
join(Iterable<T>, CharSequence, String, String) - Static method in class cn.hutool.core.collection.CollUtil
以 conjunction 为分隔符将集合转换为字符串
join(Iterator<T>, CharSequence) - Static method in class cn.hutool.core.collection.CollUtil
Deprecated.
请使用IterUtil#join(Iterator, CharSequence)
join(Iterator<T>, CharSequence) - Static method in class cn.hutool.core.collection.IterUtil
以 conjunction 为分隔符将集合转换为字符串
如果集合元素为数组、IterableIterator,则递归组合其为字符串
join(Iterator<T>, CharSequence, String, String) - Static method in class cn.hutool.core.collection.IterUtil
以 conjunction 为分隔符将集合转换为字符串
如果集合元素为数组、IterableIterator,则递归组合其为字符串
join(Iterator<T>, CharSequence, Function<T, ? extends CharSequence>) - Static method in class cn.hutool.core.collection.IterUtil
以 conjunction 为分隔符将集合转换为字符串
如果集合元素为数组、IterableIterator,则递归组合其为字符串
join(String, String) - Method in class cn.hutool.core.map.MapBuilder
将map转成字符串
join(String, String, boolean) - Method in class cn.hutool.core.map.MapBuilder
将map转成字符串
join(Map<K, V>, String, String, String...) - Static method in class cn.hutool.core.map.MapUtil
将map转成字符串
join(Map<K, V>, String, String, boolean, String...) - Static method in class cn.hutool.core.map.MapUtil
将map转成字符串
join(Stream<T>, CharSequence) - Static method in class cn.hutool.core.stream.StreamUtil
将Stream中所有元素以指定分隔符,合并为一个字符串,对象默认调用toString方法
join(Stream<T>, CharSequence, Function<T, ? extends CharSequence>) - Static method in class cn.hutool.core.stream.StreamUtil
将Stream中所有元素以指定分隔符,合并为一个字符串
join(CharSequence, Object...) - Static method in class cn.hutool.core.text.CharSequenceUtil
以 conjunction 为分隔符将多个对象转换为字符串
join(CharSequence, Iterable<T>) - Static method in class cn.hutool.core.text.CharSequenceUtil
以 conjunction 为分隔符将多个对象转换为字符串
join(T[], CharSequence) - Static method in class cn.hutool.core.util.ArrayUtil
以 conjunction 为分隔符将数组转换为字符串
join(T[], CharSequence, String, String) - Static method in class cn.hutool.core.util.ArrayUtil
以 conjunction 为分隔符将数组转换为字符串
join(T[], CharSequence, Editor<T>) - Static method in class cn.hutool.core.util.ArrayUtil
以 conjunction 为分隔符将数组转换为字符串
join(Object, CharSequence) - Static method in class cn.hutool.core.util.ArrayUtil
以 conjunction 为分隔符将数组转换为字符串
join(String, SqlBuilder.Join) - Method in class cn.hutool.db.sql.SqlBuilder
多表关联
join(String) - Method in class cn.hutool.json.JSONArray
JSONArray转为以separator为分界符的字符串
joinIgnoreNull(String, String) - Method in class cn.hutool.core.map.MapBuilder
将map转成字符串
joinIgnoreNull(Map<K, V>, String, String, String...) - Static method in class cn.hutool.core.map.MapUtil
将map转成字符串,忽略null的键和值
joining(CharSequence) - Static method in class cn.hutool.core.stream.CollectorUtil
提供任意对象的Join操作的Collector实现,对象默认调用toString方法
joining(CharSequence, Function<T, ? extends CharSequence>) - Static method in class cn.hutool.core.stream.CollectorUtil
提供任意对象的Join操作的Collector实现
joining(CharSequence, CharSequence, CharSequence, Function<T, ? extends CharSequence>) - Static method in class cn.hutool.core.stream.CollectorUtil
提供任意对象的Join操作的Collector实现
JPinyinEngine - Class in cn.hutool.extra.pinyin.engine.jpinyin
封装了Jpinyin的引擎。
JPinyinEngine() - Constructor for class cn.hutool.extra.pinyin.engine.jpinyin.JPinyinEngine
 
JPinyinEngine(PinyinFormat) - Constructor for class cn.hutool.extra.pinyin.engine.jpinyin.JPinyinEngine
 
JschRuntimeException - Exception in cn.hutool.extra.ssh
Jsch异常
JschRuntimeException(Throwable) - Constructor for exception cn.hutool.extra.ssh.JschRuntimeException
 
JschRuntimeException(String) - Constructor for exception cn.hutool.extra.ssh.JschRuntimeException
 
JschRuntimeException(String, Object...) - Constructor for exception cn.hutool.extra.ssh.JschRuntimeException
 
JschRuntimeException(String, Throwable) - Constructor for exception cn.hutool.extra.ssh.JschRuntimeException
 
JschRuntimeException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.extra.ssh.JschRuntimeException
 
JschRuntimeException(Throwable, String, Object...) - Constructor for exception cn.hutool.extra.ssh.JschRuntimeException
 
JschSessionPool - Enum in cn.hutool.extra.ssh
Jsch会话池
JschUtil - Class in cn.hutool.extra.ssh
Jsch工具类
Jsch是Java Secure Channel的缩写。JSch是一个SSH2的纯Java实现。
它允许你连接到一个SSH服务器,并且可以使用端口转发,X11转发,文件传输等。
JschUtil() - Constructor for class cn.hutool.extra.ssh.JschUtil
 
JSFilter - Class in cn.hutool.bloomfilter.filter
 
JSFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.JSFilter
 
JSFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.JSFilter
 
jsHash(String) - Static method in class cn.hutool.core.util.HashUtil
JS算法
JSON - Interface in cn.hutool.json
JSON接口
JSONArray - Class in cn.hutool.json
JSON数组
JSON数组是表示中括号括住的数据表现形式
对应的JSON字符串格格式例如:
JSONArray() - Constructor for class cn.hutool.json.JSONArray
构造
默认使用ArrayList 实现
JSONArray(int) - Constructor for class cn.hutool.json.JSONArray
构造
默认使用ArrayList 实现
JSONArray(JSONConfig) - Constructor for class cn.hutool.json.JSONArray
构造
默认使用ArrayList 实现
JSONArray(int, JSONConfig) - Constructor for class cn.hutool.json.JSONArray
构造
默认使用ArrayList 实现
JSONArray(Object) - Constructor for class cn.hutool.json.JSONArray
从对象构造,忽略null的值
支持以下类型的参数:
JSONArray(Object, boolean) - Constructor for class cn.hutool.json.JSONArray
从对象构造
支持以下类型的参数:
JSONArray(Object, JSONConfig) - Constructor for class cn.hutool.json.JSONArray
从对象构造
支持以下类型的参数:
JSONArray(Object, JSONConfig, Filter<Mutable<Object>>) - Constructor for class cn.hutool.json.JSONArray
从对象构造
支持以下类型的参数:
JSONArraySerializer<V> - Interface in cn.hutool.json.serialize
JSON列表的序列化接口,用于将特定对象序列化为JSONArray
JSONBeanParser<T> - Interface in cn.hutool.json
实现此接口的类可以通过实现parse(value)方法来将JSON中的值解析为此对象的值
JSONConfig - Class in cn.hutool.json
JSON配置项
JSONConfig() - Constructor for class cn.hutool.json.JSONConfig
 
jsonConvert(Type, Object, JSONConfig) - Static method in class cn.hutool.json.JSONConverter
JSON递归转换
首先尝试JDK类型转换,如果失败尝试JSON转Bean
如果遇到JSONBeanParser,则调用其JSONBeanParser.parse(Object)方法转换。
JSONConverter - Class in cn.hutool.json
JSON转换器
JSONConverter() - Constructor for class cn.hutool.json.JSONConverter
 
JSONDeserializer<T> - Interface in cn.hutool.json.serialize
JSON反序列话自定义实现类
JSONException - Exception in cn.hutool.json
JSON异常
JSONException(Throwable) - Constructor for exception cn.hutool.json.JSONException
 
JSONException(String) - Constructor for exception cn.hutool.json.JSONException
 
JSONException(String, Object...) - Constructor for exception cn.hutool.json.JSONException
 
JSONException(String, Throwable) - Constructor for exception cn.hutool.json.JSONException
 
JSONException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.json.JSONException
 
JSONException(Throwable, String, Object...) - Constructor for exception cn.hutool.json.JSONException
 
JSONGetter<K> - Interface in cn.hutool.json
用于JSON的Getter类,提供各种类型的Getter方法
jsonIter() - Method in class cn.hutool.json.JSONArray
当此JSON列表的每个元素都是一个JSONObject时,可以调用此方法返回一个Iterable,便于使用foreach语法遍历
JSONNull - Class in cn.hutool.json
用于定义null,与Javascript中null相对应
Java中的null值在js中表示为undefined。
JSONNull() - Constructor for class cn.hutool.json.JSONNull
 
JSONObject - Class in cn.hutool.json
JSON对象
例:
JSONObject() - Constructor for class cn.hutool.json.JSONObject
构造,初始容量为 JSONObject.DEFAULT_CAPACITY,KEY无序
JSONObject(boolean) - Constructor for class cn.hutool.json.JSONObject
构造,初始容量为 JSONObject.DEFAULT_CAPACITY
JSONObject(int, boolean) - Constructor for class cn.hutool.json.JSONObject
构造
JSONObject(int, boolean, boolean) - Constructor for class cn.hutool.json.JSONObject
Deprecated.
isOrder无效
JSONObject(JSONConfig) - Constructor for class cn.hutool.json.JSONObject
构造
JSONObject(int, JSONConfig) - Constructor for class cn.hutool.json.JSONObject
构造
JSONObject(Object) - Constructor for class cn.hutool.json.JSONObject
构建JSONObject,JavaBean默认忽略null值,其它对象不忽略,规则如下: value为Map,将键值对加入JSON对象 value为JSON字符串(CharSequence),使用JSONTokener解析 value为JSONTokener,直接解析 value为普通JavaBean,如果为普通的JavaBean,调用其getters方法(getXXX或者isXXX)获得值,加入到JSON对象。 例如:如果JavaBean对象中有个方法getName(),值为"张三",获得的键值对为:name: "张三"
JSONObject(Object, boolean) - Constructor for class cn.hutool.json.JSONObject
构建JSONObject,规则如下: value为Map,将键值对加入JSON对象 value为JSON字符串(CharSequence),使用JSONTokener解析 value为JSONTokener,直接解析 value为普通JavaBean,如果为普通的JavaBean,调用其getters方法(getXXX或者isXXX)获得值,加入到JSON对象。例如:如果JavaBean对象中有个方法getName(),值为"张三",获得的键值对为:name: "张三"
JSONObject(Object, boolean, boolean) - Constructor for class cn.hutool.json.JSONObject
Deprecated.
isOrder参数不再需要,JSONObject默认有序!
JSONObject(Object, JSONConfig) - Constructor for class cn.hutool.json.JSONObject
构建JSONObject,规则如下: value为Map,将键值对加入JSON对象 value为JSON字符串(CharSequence),使用JSONTokener解析 value为JSONTokener,直接解析 value为普通JavaBean,如果为普通的JavaBean,调用其getters方法(getXXX或者isXXX)获得值,加入到JSON对象。例如:如果JavaBean对象中有个方法getName(),值为"张三",获得的键值对为:name: "张三"
JSONObject(Object, JSONConfig, Filter<MutablePair<String, Object>>) - Constructor for class cn.hutool.json.JSONObject
构建JSONObject,规则如下: value为Map,将键值对加入JSON对象 value为JSON字符串(CharSequence),使用JSONTokener解析 value为JSONTokener,直接解析 value为普通JavaBean,如果为普通的JavaBean,调用其getters方法(getXXX或者isXXX)获得值,加入到JSON对象。例如:如果JavaBean对象中有个方法getName(),值为"张三",获得的键值对为:name: "张三"
JSONObject(Object, String...) - Constructor for class cn.hutool.json.JSONObject
构建指定name列表对应的键值对为新的JSONObject,情况如下:
JSONObject(CharSequence, boolean) - Constructor for class cn.hutool.json.JSONObject
Deprecated.
isOrder无效
JSONObjectIter - Class in cn.hutool.json
此类用于在JSONAray中便于遍历JSONObject而封装的Iterable,可以借助foreach语法遍历
JSONObjectIter(Iterator<Object>) - Constructor for class cn.hutool.json.JSONObjectIter
 
JSONObjectSerializer<V> - Interface in cn.hutool.json.serialize
对象的序列化接口,用于将特定对象序列化为JSONObject
JSONParser - Class in cn.hutool.json
JSON字符串解析器
JSONParser(JSONTokener) - Constructor for class cn.hutool.json.JSONParser
构造
JSONSerializer<T extends JSON,V> - Interface in cn.hutool.json.serialize
序列化接口,通过实现此接口,实现自定义的对象转换为JSON的操作
JSONStrFormatter - Class in cn.hutool.json
JSON字符串格式化工具,用于简单格式化JSON字符串
from http://blog.csdn.net/lovelong8808/article/details/54580278
JSONStrFormatter() - Constructor for class cn.hutool.json.JSONStrFormatter
 
JSONString - Interface in cn.hutool.json
JSONString接口定义了一个toJSONString()
实现此接口的类可以通过实现toJSONString()方法来改变转JSON字符串的方式。
JSONSupport - Class in cn.hutool.json
JSON支持
继承此类实现实体类与JSON的相互转换
JSONSupport() - Constructor for class cn.hutool.json.JSONSupport
 
jsonToBean(Type, Object, boolean) - Static method in class cn.hutool.json.JSONConverter
JSON递归转换
首先尝试JDK类型转换,如果失败尝试JSON转Bean
JSONTokener - Class in cn.hutool.json
JSON解析器,用于将JSON字符串解析为JSONObject或者JSONArray
JSONTokener(Reader, JSONConfig) - Constructor for class cn.hutool.json.JSONTokener
从Reader中构建
JSONTokener(InputStream, JSONConfig) - Constructor for class cn.hutool.json.JSONTokener
从InputStream中构建,使用UTF-8编码
JSONTokener(CharSequence, JSONConfig) - Constructor for class cn.hutool.json.JSONTokener
从字符串中构建
JSONUtil - Class in cn.hutool.json
JSON工具类
JSONUtil() - Constructor for class cn.hutool.json.JSONUtil
 
JSONWriter - Class in cn.hutool.json.serialize
JSON数据写出器
通过简单的append方式将JSON的键值对等信息写出到Writer中。
JSONWriter(Writer, int, int, JSONConfig) - Constructor for class cn.hutool.json.serialize.JSONWriter
构造
JSONXMLParser - Class in cn.hutool.json.xml
XML解析器,将XML解析为JSON对象
JSONXMLParser() - Constructor for class cn.hutool.json.xml.JSONXMLParser
 
JSONXMLSerializer - Class in cn.hutool.json.xml
JSON转XML字符串工具
JSONXMLSerializer() - Constructor for class cn.hutool.json.xml.JSONXMLSerializer
 
JVM_VERSION - Static variable in class cn.hutool.core.util.JdkUtil
JDK版本
JvmInfo - Class in cn.hutool.system
代表Java Virtual Machine Implementation的信息。
JvmInfo() - Constructor for class cn.hutool.system.JvmInfo
 
JvmSpecInfo - Class in cn.hutool.system
代表Java Virtual Machine Specification的信息。
JvmSpecInfo() - Constructor for class cn.hutool.system.JvmSpecInfo
 
JWT - Class in cn.hutool.jwt
JSON Web Token (JWT),基于JSON的开放标准((RFC 7519)用于在网络应用环境间传递声明。
JWT() - Constructor for class cn.hutool.jwt.JWT
构造
JWT(String) - Constructor for class cn.hutool.jwt.JWT
构造
JWT_ID - Static variable in interface cn.hutool.jwt.RegisteredPayload
jwt的唯一身份标识,主要用来作为一次性token,从而回避重放攻击。
JWTException - Exception in cn.hutool.jwt
JWT异常
JWTException(Throwable) - Constructor for exception cn.hutool.jwt.JWTException
 
JWTException(String) - Constructor for exception cn.hutool.jwt.JWTException
 
JWTException(String, Object...) - Constructor for exception cn.hutool.jwt.JWTException
 
JWTException(String, Throwable) - Constructor for exception cn.hutool.jwt.JWTException
 
JWTException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.jwt.JWTException
 
JWTException(Throwable, String, Object...) - Constructor for exception cn.hutool.jwt.JWTException
 
JWTHeader - Class in cn.hutool.jwt
JWT头部信息
JWTHeader() - Constructor for class cn.hutool.jwt.JWTHeader
构造,初始化默认(typ=JWT)
JWTPayload - Class in cn.hutool.jwt
JWT载荷信息
载荷就是存放有效信息的地方。这个名字像是特指飞机上承载的货品,这些有效信息包含三个部分: 标准中注册的声明 公共的声明 私有的声明
JWTPayload() - Constructor for class cn.hutool.jwt.JWTPayload
 
JWTSigner - Interface in cn.hutool.jwt.signers
JWT签名接口封装,通过实现此接口,完成不同算法的签名功能
JWTSignerUtil - Class in cn.hutool.jwt.signers
JWT签名器工具类
JWTSignerUtil() - Constructor for class cn.hutool.jwt.signers.JWTSignerUtil
 
JWTUtil - Class in cn.hutool.jwt
JSON Web Token (JWT)工具类
JWTUtil() - Constructor for class cn.hutool.jwt.JWTUtil
 
JWTValidator - Class in cn.hutool.jwt
JWT数据校验器,用于校验包括: 算法是否一致 算法签名是否正确 字段值是否有效(例如时间未过期等)
JWTValidator(JWT) - Constructor for class cn.hutool.jwt.JWTValidator
构造

K

keepAlive(boolean) - Method in class cn.hutool.http.HttpRequest
设置是否为长连接
KetamaHash - Class in cn.hutool.core.lang.hash
Ketama算法,用于在一致性Hash中快速定位服务器位置
KetamaHash() - Constructor for class cn.hutool.core.lang.hash.KetamaHash
 
key - Variable in class cn.hutool.cache.impl.CacheObj
 
key - Variable in class cn.hutool.core.lang.Pair
 
KEY_ALIAS_DRIVER - Static variable in class cn.hutool.db.ds.DSFactory
别名字段名:驱动名
KEY_ALIAS_PASSWORD - Static variable in class cn.hutool.db.ds.DSFactory
别名字段名:密码
KEY_ALIAS_URL - Static variable in class cn.hutool.db.ds.DSFactory
别名字段名:URL
KEY_ALIAS_USER - Static variable in class cn.hutool.db.ds.DSFactory
别名字段名:用户名
KEY_CONN_PROPS - Static variable in class cn.hutool.db.ds.DSFactory
某些数据库需要的特殊配置项需要的配置项
KEY_FORMAT_SQL - Static variable in enum cn.hutool.db.sql.SqlLog
配置文件中配置属性名:是否格式化SQL
KEY_ID - Static variable in class cn.hutool.jwt.JWTHeader
jwk的ID编号
KEY_SHOW_PARAMS - Static variable in enum cn.hutool.db.sql.SqlLog
配置文件中配置属性名:是否显示参数
KEY_SHOW_SQL - Static variable in enum cn.hutool.db.sql.SqlLog
配置文件中配置属性名:是否显示SQL
KEY_SQL_LEVEL - Static variable in enum cn.hutool.db.sql.SqlLog
配置文件中配置属性名:显示的日志级别
KEY_TYPE_JCEKS - Static variable in class cn.hutool.crypto.KeyUtil
jceks
KEY_TYPE_JKS - Static variable in class cn.hutool.crypto.KeyUtil
Java密钥库(Java Key Store,JKS)KEY_STORE
KEY_TYPE_PKCS12 - Static variable in class cn.hutool.crypto.KeyUtil
PKCS12是公钥加密标准,它规定了可包含所有私钥、公钥和证书。其以二进制格式存储,也称为 PFX 文件
keyClick(int...) - Static method in class cn.hutool.core.swing.RobotUtil
模拟键盘点击
包括键盘的按下和释放
keyLockMap - Variable in class cn.hutool.cache.impl.AbstractCache
写的时候每个key一把锁,降低锁的粒度
keyLockMap - Variable in class cn.hutool.core.lang.SimpleCache
写的时候每个key一把锁,降低锁的粒度
keyPressString(String) - Static method in class cn.hutool.core.swing.RobotUtil
打印输出指定字符串(借助剪贴板)
keyPressWithAlt(int) - Static method in class cn.hutool.core.swing.RobotUtil
alt+ 按键
keyPressWithCtrl(int) - Static method in class cn.hutool.core.swing.RobotUtil
ctrl+ 按键
keyPressWithShift(int) - Static method in class cn.hutool.core.swing.RobotUtil
shift+ 按键
keys() - Method in class cn.hutool.core.map.TableMap
获取所有键,可重复,不可修改
keySet() - Method in class cn.hutool.cache.impl.AbstractCache
返回所有键
keySet(Collection<Map<K, ?>>) - Static method in class cn.hutool.core.collection.CollUtil
获取指定Map列表中所有的Key
keySet() - Method in class cn.hutool.core.map.LinkedForestMap
返回当前实例中全部的key组成的Set集合
keySet() - Method in class cn.hutool.core.map.MapProxy
 
keySet() - Method in class cn.hutool.core.map.MapWrapper
 
keySet() - Method in class cn.hutool.core.map.ReferenceConcurrentMap
 
keySet() - Method in class cn.hutool.core.map.TableMap
 
keySet() - Method in class cn.hutool.setting.GroupedMap
 
keySet(String) - Method in class cn.hutool.setting.GroupedMap
指定分组所有键的Set
keySet(String) - Method in class cn.hutool.setting.Setting
指定分组所有键的Set
keySet() - Method in class cn.hutool.setting.Setting
获取默认分组(空分组)中的所有键列表
KeyType - Enum in cn.hutool.crypto.asymmetric
密钥类型
KeyUtil - Class in cn.hutool.crypto
密钥工具类
KeyUtil() - Constructor for class cn.hutool.crypto.KeyUtil
 

L

LabColor - Class in cn.hutool.core.img
表示以 LAB 形式存储的颜色。
L: 亮度 a: 正数代表红色,负端代表绿色 b: 正数代表黄色,负端代表蓝色
LabColor(Integer) - Constructor for class cn.hutool.core.img.LabColor
 
LabColor(Color) - Constructor for class cn.hutool.core.img.LabColor
 
LambdaUtil - Class in cn.hutool.core.lang.func
Lambda相关工具类
LambdaUtil() - Constructor for class cn.hutool.core.lang.func.LambdaUtil
 
lastAccess - Variable in class cn.hutool.cache.impl.CacheObj
上次访问时间
lastBgColor - Variable in class cn.hutool.core.img.gif.GifDecoder
 
lastDispose - Variable in class cn.hutool.core.img.gif.GifDecoder
 
lastHeader - Variable in class cn.hutool.core.net.multipart.MultipartRequestInputStream
 
lastImage - Variable in class cn.hutool.core.img.gif.GifDecoder
 
lastIndexOf(Collection<T>, Matcher<T>) - Static method in class cn.hutool.core.collection.CollUtil
获取匹配规则定义中匹配到元素的最后位置
此方法对于某些无序集合的位置信息,以转换为数组后的位置为准。
lastIndexOf(List<T>, Matcher<T>) - Static method in class cn.hutool.core.collection.ListUtil
获取匹配规则定义中匹配到元素的最后位置
此方法对于某些无序集合的位置信息,以转换为数组后的位置为准。
lastIndexOf(CharSequence, CharSequence, int, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
指定范围内查找字符串
fromIndex 为搜索起始位置,从后往前计数
lastIndexOf(Object) - Method in class cn.hutool.core.text.csv.CsvRow
 
lastIndexOf(T[], Object) - Static method in class cn.hutool.core.util.ArrayUtil
返回数组中指定元素所在最后的位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(T[], Object, int) - Static method in class cn.hutool.core.util.ArrayUtil
返回数组中指定元素所在最后的位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(long[], long) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在最后的位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(int[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在最后的位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(short[], short) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在最后的位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(char[], char) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在最后的位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(byte[], byte) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在最后的位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(double[], double) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在最后的位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(float[], float) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在最后的位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(boolean[], boolean) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在最后的位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
找到指定正则匹配到第一个字符串的位置
lastIndexOf(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
找到指定模式匹配到最后一个字符串的位置
lastIndexOf(Object) - Method in class cn.hutool.json.JSONArray
 
lastIndexOfIgnoreCase(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
指定范围内查找字符串,忽略大小写
lastIndexOfIgnoreCase(CharSequence, CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
指定范围内查找字符串,忽略大小写
fromIndex 为搜索起始位置,从后往前计数
lastIndexOfSeparator(String) - Static method in class cn.hutool.core.io.FileUtil
获得最后一个文件路径分隔符的位置
lastIndexOfSub(T[], T[]) - Static method in class cn.hutool.core.util.ArrayUtil
查找最后一个子数组的开始位置
lastIndexOfSub(T[], int, T[]) - Static method in class cn.hutool.core.util.ArrayUtil
查找最后一个子数组的开始位置
lastModifiedTime(File) - Static method in class cn.hutool.core.io.FileUtil
指定文件最后修改时间
lastModifiedTime(String) - Static method in class cn.hutool.core.io.FileUtil
指定路径文件最后修改时间
lastMonth() - Static method in class cn.hutool.core.date.DateUtil
上个月
lastRect - Variable in class cn.hutool.core.img.gif.GifDecoder
 
lastWeek() - Static method in class cn.hutool.core.date.DateUtil
上周
launchers - Variable in class cn.hutool.cron.TaskLauncherManager
启动器列表
LazyFunLoader<T> - Class in cn.hutool.core.lang.loader
函数式懒加载加载器
传入用于生成对象的函数,在对象需要使用时调用生成对象,然后抛弃此生成对象的函数。
此加载器常用于对象比较庞大而不一定被使用的情况,用于减少启动时资源占用问题
继承自LazyLoader,如何实现多线程安全,由LazyLoader完成。
LazyFunLoader(Supplier<T>) - Constructor for class cn.hutool.core.lang.loader.LazyFunLoader
构造
LazyLoader<T> - Class in cn.hutool.core.lang.loader
懒加载加载器
在load方法被调用前,对象未被加载,直到被调用后才开始加载
此加载器常用于对象比较庞大而不一定被使用的情况,用于减少启动时资源占用问题
此加载器使用双重检查(Double-Check)方式检查对象是否被加载,避免多线程下重复加载或加载丢失问题
LazyLoader() - Constructor for class cn.hutool.core.lang.loader.LazyLoader
 
lct - Variable in class cn.hutool.core.img.gif.GifDecoder
 
lctFlag - Variable in class cn.hutool.core.img.gif.GifDecoder
 
lctSize - Variable in class cn.hutool.core.img.gif.GifDecoder
 
leapDays(int) - Static method in class cn.hutool.core.date.chinese.LunarInfo
传回农历 y年闰月的天数,如果本年无闰月,返回0,区分大小月
leapMonth(int) - Static method in class cn.hutool.core.date.chinese.LunarInfo
传回农历 y年闰哪个月 1-12 , 没闰传回 0
此方法会返回润N月中的N,如二月、闰二月都返回2
learn() - Method in class cn.hutool.core.img.gif.NeuQuant
 
length - Variable in class cn.hutool.captcha.generator.AbstractGenerator
验证码长度
length() - Method in interface cn.hutool.core.lang.Segment
片段长度,默认计算方法为abs(Segment.getEndIndex() - Segment.getEndIndex())
length(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
获取字符串的长度,如果为null返回0
length() - Method in class cn.hutool.core.text.StrBuilder
 
length() - Method in class cn.hutool.core.text.StrJoiner
长度
长度计算方式为prefix + suffix + content
此方法结果与toString().length()一致。
length(Object) - Static method in class cn.hutool.core.util.ArrayUtil
获取数组长度
如果参数为null,返回0
length(Object) - Static method in class cn.hutool.core.util.ObjectUtil
计算对象长度,如果是字符串调用其length函数,集合类调用其size函数,数组调用其length属性,其他可遍历对象遍历计算长度
支持的类型包括: CharSequence Map Iterator Enumeration Array
LengthComparator - Class in cn.hutool.core.comparator
字符串长度比较器,短在前
LengthComparator() - Constructor for class cn.hutool.core.comparator.LengthComparator
 
lengthcount - Variable in class cn.hutool.core.img.gif.NeuQuant
 
LengthFinder - Class in cn.hutool.core.text.finder
固定长度查找器
给定一个长度,查找的位置为from + length,一般用于分段截取
LengthFinder(int) - Constructor for class cn.hutool.core.text.finder.LengthFinder
构造
lengthOfMonth(int, boolean) - Static method in class cn.hutool.core.date.DateUtil
获得指定月份的总天数
lengthOfYear(int) - Static method in class cn.hutool.core.date.DateUtil
获得指定年份的总天数
Level - Enum in cn.hutool.log.level
日志等级
LF - Static variable in interface cn.hutool.core.text.CharPool
字符常量:换行符 '\n'
LF - Static variable in interface cn.hutool.core.text.StrPool
字符串常量:换行符 "\n"
LFUCache<K,V> - Class in cn.hutool.cache.impl
LFU(least frequently used) 最少使用率缓存
根据使用次数来判定对象是否被持续缓存
使用率是通过访问次数计算的。
当缓存满时清理过期对象。
清理后依旧满的情况下清除最少访问(访问计数最小)的对象并将其他对象的访问数减去这个最小访问数,以便新对象进入后可以公平计数。
LFUCache(int) - Constructor for class cn.hutool.cache.impl.LFUCache
构造
LFUCache(int, long) - Constructor for class cn.hutool.cache.impl.LFUCache
构造
LFUFileCache - Class in cn.hutool.cache.file
使用LFU缓存文件,以解决频繁读取文件引起的性能问题
LFUFileCache(int) - Constructor for class cn.hutool.cache.file.LFUFileCache
构造
最大文件大小为缓存容量的一半
默认无超时
LFUFileCache(int, int) - Constructor for class cn.hutool.cache.file.LFUFileCache
构造
默认无超时
LFUFileCache(int, int, long) - Constructor for class cn.hutool.cache.file.LFUFileCache
构造
LIBRARY_PATH - Static variable in interface cn.hutool.system.SystemPropsKeys
加载库时搜索的路径列表
LIBRARY_PATH - Static variable in class cn.hutool.system.SystemUtil
加载库时搜索的路径列表的KEY
likeValueOf(Class<E>, Object) - Static method in class cn.hutool.core.util.EnumUtil
模糊匹配转换为枚举,给定一个值,匹配枚举中定义的所有字段名(包括name属性),一旦匹配到返回这个枚举对象,否则返回null
LimitedInputStream - Class in cn.hutool.core.io
限制读取最大长度的FilterInputStream 实现
来自:https://github.com/skylot/jadx/blob/master/jadx-plugins/jadx-plugins-api/src/main/java/jadx/api/plugins/utils/LimitedInputStream.java
LimitedInputStream(InputStream, long) - Constructor for class cn.hutool.core.io.LimitedInputStream
构造
LINE_SEPARATOR - Static variable in interface cn.hutool.system.SystemPropsKeys
行分隔符(在 UNIX 系统中是“\n”)
LINE_SEPARATOR - Static variable in class cn.hutool.system.SystemUtil
行分隔符(在 UNIX 系统中是“\n”)的KEY
LineCaptcha - Class in cn.hutool.captcha
使用干扰线方式生成的图形验证码
LineCaptcha(int, int) - Constructor for class cn.hutool.captcha.LineCaptcha
构造,默认5位验证码,150条干扰线
LineCaptcha(int, int, int, int) - Constructor for class cn.hutool.captcha.LineCaptcha
构造
LineCaptcha(int, int, CodeGenerator, int) - Constructor for class cn.hutool.captcha.LineCaptcha
构造
LineCaptcha(int, int, int, int, float) - Constructor for class cn.hutool.captcha.LineCaptcha
构造
lineDelimiter - Variable in class cn.hutool.core.text.csv.CsvWriteConfig
换行符
lineEnd(ByteBuffer) - Static method in class cn.hutool.core.io.BufferUtil
一行的末尾位置,查找位置时位移ByteBuffer到结束位置
lineEnd(ByteBuffer, int) - Static method in class cn.hutool.core.io.BufferUtil
一行的末尾位置,查找位置时位移ByteBuffer到结束位置
支持的换行符如下:
LineHandler - Interface in cn.hutool.core.io
行处理器
LineIter - Class in cn.hutool.core.collection
将Reader包装为一个按照行读取的Iterator
此对象遍历结束后,应关闭之,推荐使用方式:
LineIter(InputStream, Charset) - Constructor for class cn.hutool.core.collection.LineIter
构造
LineIter(Reader) - Constructor for class cn.hutool.core.collection.LineIter
构造
lineIter(Reader) - Static method in class cn.hutool.core.io.IoUtil
返回行遍历器
lineIter(InputStream, Charset) - Static method in class cn.hutool.core.io.IoUtil
返回行遍历器
lineNumber() - Static method in class cn.hutool.core.lang.Console
返回当前行号 (不支持Lambda、内部类、递归内使用)
LineReadWatcher - Class in cn.hutool.core.io.file
行处理的Watcher实现
LineReadWatcher(RandomAccessFile, Charset, LineHandler) - Constructor for class cn.hutool.core.io.file.LineReadWatcher
构造
LineSeparator - Enum in cn.hutool.core.io.file
换行符枚举
换行符包括:
Link - Annotation Type in cn.hutool.core.annotation
用于在同一注解中,或具有一定关联的不同注解的属性中,表明这些属性之间具有特定的关联关系。 在通过SynthesizedAggregateAnnotation获取合成注解后,合成注解获取属性值时会根据该注解进行调整。
linked - Variable in class cn.hutool.core.annotation.AbstractWrappedAnnotationAttribute
 
LinkedForestMap<K,V> - Class in cn.hutool.core.map
ForestMap的基本实现。
LinkedForestMap(boolean) - Constructor for class cn.hutool.core.map.LinkedForestMap
LinkedForestMap.EntryNodeWrapper<K,V,N extends TreeEntry<K,V>> - Class in cn.hutool.core.map
Map.Entry包装类
LinkedForestMap.TreeEntryNode<K,V> - Class in cn.hutool.core.map
树节点
linkNodes(K, K) - Method in interface cn.hutool.core.map.ForestMap
为集合中的指定的节点建立父子关系
linkNodes(K, K, BiConsumer<TreeEntry<K, V>, TreeEntry<K, V>>) - Method in interface cn.hutool.core.map.ForestMap
为集合中的指定的节点建立父子关系
linkNodes(K, K, BiConsumer<TreeEntry<K, V>, TreeEntry<K, V>>) - Method in class cn.hutool.core.map.LinkedForestMap
为指定的节点建立父子关系,若parentKeychildKey对应节点不存在,则会创建一个对应的值为null的空节点
list(boolean) - Static method in class cn.hutool.core.collection.CollUtil
新建一个空List
list(boolean, T...) - Static method in class cn.hutool.core.collection.CollUtil
新建一个List
list(boolean, Collection<T>) - Static method in class cn.hutool.core.collection.CollUtil
新建一个List
list(boolean, Iterable<T>) - Static method in class cn.hutool.core.collection.CollUtil
新建一个List
提供的参数为null时返回空ArrayList
list(boolean, Iterator<T>) - Static method in class cn.hutool.core.collection.CollUtil
新建一个ArrayList
提供的参数为null时返回空ArrayList
list(boolean, Enumeration<T>) - Static method in class cn.hutool.core.collection.CollUtil
新建一个List
提供的参数为null时返回空ArrayList
list(boolean) - Static method in class cn.hutool.core.collection.ListUtil
新建一个空List
list(boolean, T...) - Static method in class cn.hutool.core.collection.ListUtil
新建一个List
list(boolean, Collection<T>) - Static method in class cn.hutool.core.collection.ListUtil
新建一个List
list(boolean, Iterable<T>) - Static method in class cn.hutool.core.collection.ListUtil
新建一个List
提供的参数为null时返回空ArrayList
list(boolean, Iterator<T>) - Static method in class cn.hutool.core.collection.ListUtil
新建一个List
提供的参数为null时返回空ArrayList
list(boolean, Enumeration<T>) - Static method in class cn.hutool.core.collection.ListUtil
新建一个List
提供的参数为null时返回空ArrayList
list - Variable in class cn.hutool.core.collection.Partition
 
list(String, boolean) - Static method in class cn.hutool.core.net.Ipv4Util
智能转换IP地址集合
list(String, int, boolean) - Static method in class cn.hutool.core.net.Ipv4Util
根据IP地址、子网掩码获取IP地址区间
list(String, String) - Static method in class cn.hutool.core.net.Ipv4Util
得到IP地址区间
listen(boolean) - Method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
开始监听
listen(ClipboardListener) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
监听剪贴板修改事件
listen(ClipboardListener, boolean) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
监听剪贴板修改事件
listen(int, long, ClipboardListener, boolean) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
监听剪贴板修改事件
listen() - Method in class cn.hutool.socket.nio.NioClient
开始监听
listen() - Method in class cn.hutool.socket.nio.NioServer
开始监听
listener - Variable in class cn.hutool.cache.impl.AbstractCache
缓存监听
listenerManager - Variable in class cn.hutool.cron.Scheduler
监听管理器列表
listFileNames(String) - Static method in class cn.hutool.core.io.FileUtil
获得指定目录下所有文件
不会扫描子目录
如果用户传入相对路径,则是相对classpath的路径
如:"test/aaa"表示"${classpath}/test/aaa"
listFileNames(ZipFile, String) - Static method in class cn.hutool.core.util.ZipUtil
获取Zip文件中指定目录下的所有文件,只显示文件,不显示目录
此方法并不会关闭ZipFile
listIterator() - Method in class cn.hutool.core.text.csv.CsvRow
 
listIterator(int) - Method in class cn.hutool.core.text.csv.CsvRow
 
listIterator() - Method in class cn.hutool.json.JSONArray
 
listIterator(int) - Method in class cn.hutool.json.JSONArray
 
ListSheetReader - Class in cn.hutool.poi.excel.reader
读取Sheet为List列表形式
ListSheetReader(int, int, boolean) - Constructor for class cn.hutool.poi.excel.reader.ListSheetReader
构造
ListTypeGetter - Interface in cn.hutool.core.getter
列表类型的Get接口
ListUtil - Class in cn.hutool.core.collection
List相关工具类
ListUtil() - Constructor for class cn.hutool.core.collection.ListUtil
 
ListValueMap<K,V> - Class in cn.hutool.core.map.multi
值作为集合List的Map实现,通过调用putValue可以在相同key时加入多个值,多个值用集合表示
ListValueMap() - Constructor for class cn.hutool.core.map.multi.ListValueMap
构造
ListValueMap(int) - Constructor for class cn.hutool.core.map.multi.ListValueMap
构造
ListValueMap(Map<? extends K, ? extends Collection<V>>) - Constructor for class cn.hutool.core.map.multi.ListValueMap
构造
ListValueMap(float, Map<? extends K, ? extends Collection<V>>) - Constructor for class cn.hutool.core.map.multi.ListValueMap
构造
ListValueMap(int, float) - Constructor for class cn.hutool.core.map.multi.ListValueMap
构造
load(String, String, FileReader.ReaderHandler<T>) - Static method in class cn.hutool.core.io.FileUtil
按照给定的readerHandler读取文件中的数据
load(String, Charset, FileReader.ReaderHandler<T>) - Static method in class cn.hutool.core.io.FileUtil
按照给定的readerHandler读取文件中的数据
load(File, Charset, FileReader.ReaderHandler<T>) - Static method in class cn.hutool.core.io.FileUtil
按照给定的readerHandler读取文件中的数据
load(File) - Static method in class cn.hutool.core.lang.JarClassLoader
加载Jar到ClassPath
load(Class<T>) - Static method in class cn.hutool.core.util.ServiceLoaderUtil
加载服务
load(Class<T>, ClassLoader) - Static method in class cn.hutool.core.util.ServiceLoaderUtil
加载服务
load() - Method in class cn.hutool.db.ActiveEntity
根据Entity中现有字段条件从数据库中加载一个Entity对象
load(String) - Method in class cn.hutool.extra.template.engine.jetbrick.loader.StringResourceLoader
 
load(URL) - Method in class cn.hutool.setting.dialect.Props
初始化配置文件
load(Resource) - Method in class cn.hutool.setting.dialect.Props
初始化配置文件
load() - Method in class cn.hutool.setting.dialect.Props
重新加载配置文件
load(URL) - Method in class cn.hutool.setting.GroupedSet
加载设置文件
load(InputStream) - Method in class cn.hutool.setting.GroupedSet
加载设置文件。 此方法不会关闭流对象
load() - Method in class cn.hutool.setting.Setting
重新加载配置文件
load(Resource) - Method in class cn.hutool.setting.SettingLoader
加载设置文件
load(InputStream) - Method in class cn.hutool.setting.SettingLoader
加载设置文件。 此方法不会关闭流对象
load(InputStream, Class<T>) - Static method in class cn.hutool.setting.yaml.YamlUtil
从流中加载YAML
load(Reader) - Static method in class cn.hutool.setting.yaml.YamlUtil
加载YAML,加载完毕后关闭Reader
load(Reader, Class<T>) - Static method in class cn.hutool.setting.yaml.YamlUtil
加载YAML,加载完毕后关闭Reader
load(Reader, Class<T>, boolean) - Static method in class cn.hutool.setting.yaml.YamlUtil
加载YAML
loadAnnotations() - Method in class cn.hutool.core.annotation.AbstractAnnotationSynthesizer
加载合成注解的必要属性
loadAnnotations() - Method in class cn.hutool.core.annotation.GenericSynthesizedAggregateAnnotation
按广度优先扫描AbstractAnnotationSynthesizer.source上的元注解
loadAttributeMethods() - Method in class cn.hutool.core.annotation.GenericSynthesizedAnnotation
加载注解属性
loadByPath(String) - Static method in class cn.hutool.setting.yaml.YamlUtil
从classpath或绝对路径加载YAML文件
loadByPath(String, Class<T>) - Static method in class cn.hutool.setting.yaml.YamlUtil
从classpath或绝对路径加载YAML文件
loadClass(String) - Method in class cn.hutool.core.lang.ClassScanner
加载类
loadClass(String) - Static method in class cn.hutool.core.util.ClassLoaderUtil
加载类,通过传入类的字符串,返回其对应的类名,使用默认ClassLoader并初始化类(调用static模块内容和初始化static属性)
扩展Class.forName(String, boolean, ClassLoader)方法,支持以下几类类名的加载:
loadClass(String, boolean) - Static method in class cn.hutool.core.util.ClassLoaderUtil
加载类,通过传入类的字符串,返回其对应的类名,使用默认ClassLoader
扩展Class.forName(String, boolean, ClassLoader)方法,支持以下几类类名的加载:
loadClass(String, ClassLoader, boolean) - Static method in class cn.hutool.core.util.ClassLoaderUtil
加载类,通过传入类的字符串,返回其对应的类名
此方法支持缓存,第一次被加载的类之后会读取缓存中的类
加载失败的原因可能是此类不存在或其关联引用类不存在
扩展Class.forName(String, boolean, ClassLoader)方法,支持以下几类类名的加载:
loadClass(File, String) - Static method in class cn.hutool.core.util.ClassLoaderUtil
加载外部类
loadClass(String, boolean) - Static method in class cn.hutool.core.util.ClassUtil
加载类
loadClass(String) - Static method in class cn.hutool.core.util.ClassUtil
加载类并初始化
Loader<T> - Interface in cn.hutool.core.lang.loader
对象加载抽象接口
通过实现此接口自定义实现对象的加载方式,例如懒加载机制、多线程加载等
loadFirst(Class<T>) - Static method in class cn.hutool.core.util.ServiceLoaderUtil
加载第一个服务,如果用户定义了多个接口实现类,只获取第一个。
loadFirstAvailable(Class<T>) - Static method in class cn.hutool.core.util.ServiceLoaderUtil
。加载第一个可用服务,如果用户定义了多个接口实现类,只获取第一个不报错的服务
loadJar(File) - Static method in class cn.hutool.core.lang.JarClassLoader
加载Jar到ClassPath
loadJar(URLClassLoader, File) - Static method in class cn.hutool.core.lang.JarClassLoader
加载Jar文件到指定loader中
loadJarToSystemClassLoader(File) - Static method in class cn.hutool.core.lang.JarClassLoader
加载Jar文件到System ClassLoader中
loadList(Class<T>) - Static method in class cn.hutool.core.util.ServiceLoaderUtil
加载服务 并已list列表返回
loadList(Class<T>, ClassLoader) - Static method in class cn.hutool.core.util.ServiceLoaderUtil
加载服务 并已list列表返回
loadPrimitiveClass(String) - Static method in class cn.hutool.core.util.ClassLoaderUtil
加载原始类型的类。包括原始类型、原始类型数组和void
loadUtf8(String, FileReader.ReaderHandler<T>) - Static method in class cn.hutool.core.io.FileUtil
按照给定的readerHandler读取文件中的数据
loadUtf8(File, FileReader.ReaderHandler<T>) - Static method in class cn.hutool.core.io.FileUtil
按照给定的readerHandler读取文件中的数据
LOCAL_IP - Static variable in class cn.hutool.core.net.Ipv4Util
 
LOCAL_IP - Static variable in class cn.hutool.core.net.NetUtil
本地IPv4地址
localAddressList(Filter<InetAddress>) - Static method in class cn.hutool.core.net.NetUtil
获取所有满足过滤条件的本地IP地址对象
localAddressList(Filter<NetworkInterface>, Filter<InetAddress>) - Static method in class cn.hutool.core.net.NetUtil
获取所有满足过滤条件的本地IP地址对象
LocalDateTimeUtil - Class in cn.hutool.core.date
JDK8+中的LocalDateTime 工具类封装
LocalDateTimeUtil() - Constructor for class cn.hutool.core.date.LocalDateTimeUtil
 
locale - Variable in class cn.hutool.core.date.format.AbstractDateBasic
The locale.
LocaleConverter - Class in cn.hutool.core.convert.impl
Locale对象转换器
只提供String转换支持
LocaleConverter() - Constructor for class cn.hutool.core.convert.impl.LocaleConverter
 
localhostName - Static variable in class cn.hutool.core.net.NetUtil
本地主机名称
localIps() - Static method in class cn.hutool.core.net.NetUtil
获得本机的IP地址列表(包括Ipv4和Ipv6)
返回的IP列表有序,按照系统设备顺序
localIpv4s() - Static method in class cn.hutool.core.net.NetUtil
获得本机的IPv4地址列表
返回的IP列表有序,按照系统设备顺序
localIpv6s() - Static method in class cn.hutool.core.net.NetUtil
获得本机的IPv6地址列表
返回的IP列表有序,按照系统设备顺序
LocalPortGenerater - Class in cn.hutool.core.net
本地端口生成器
用于生成本地可用(未被占用)的端口号
注意:多线程甚至单线程访问时可能会返回同一端口(例如获取了端口但是没有使用)
LocalPortGenerater(int) - Constructor for class cn.hutool.core.net.LocalPortGenerater
构造
lock - Variable in class cn.hutool.cache.impl.ReentrantCache
 
lock - Variable in class cn.hutool.cache.impl.StampedCache
 
lock() - Method in class cn.hutool.core.thread.lock.NoLock
 
lock - Variable in class cn.hutool.crypto.asymmetric.BaseAsymmetric
lockInterruptibly() - Method in class cn.hutool.core.thread.lock.NoLock
 
LockUtil - Class in cn.hutool.core.thread.lock
锁相关工具
LockUtil() - Constructor for class cn.hutool.core.thread.lock.LockUtil
 
log() - Static method in class cn.hutool.core.lang.Console
同 System.out.println()方法,打印控制台日志
log(Object) - Static method in class cn.hutool.core.lang.Console
同 System.out.println()方法,打印控制台日志
如果传入打印对象为Throwable对象,那么同时打印堆栈
log(Object, Object...) - Static method in class cn.hutool.core.lang.Console
同 System.out.println()方法,打印控制台日志
如果传入打印对象为Throwable对象,那么同时打印堆栈
log(String, Object...) - Static method in class cn.hutool.core.lang.Console
同 System.out.println()方法,打印控制台日志
当传入template无"{}"时,被认为非模板,直接打印多个参数以空格分隔
log(Throwable, String, Object...) - Static method in class cn.hutool.core.lang.Console
同 System.out.println()方法,打印控制台日志
log(String) - Method in enum cn.hutool.db.sql.SqlLog
打印SQL日志
log(String, Object) - Method in enum cn.hutool.db.sql.SqlLog
打印SQL日志
log(Level, String, Object...) - Method in class cn.hutool.log.AbstractLog
 
log(Level, Throwable, String, Object...) - Method in class cn.hutool.log.AbstractLog
 
log(String, Level, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
 
log(String, Level, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.console.ConsoleColorLog
 
log(String, Level, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.console.ConsoleLog
 
log(String, Level, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jboss.JbossLog
 
log(String, Level, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jdk.JdkLog
 
log(String, Level, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j.Log4jLog
 
log(String, Level, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
 
log(String, Level, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.logtube.LogTubeLog
 
log(String, Level, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
 
log(String, Level, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog
 
log(String, Level, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
 
Log - Interface in cn.hutool.log
日志统一接口
log(Level, String, Object...) - Method in interface cn.hutool.log.Log
打印指定级别的日志
log(Level, Throwable, String, Object...) - Method in interface cn.hutool.log.Log
打印 指定级别的日志
log(String, Level, Throwable, String, Object...) - Method in interface cn.hutool.log.Log
打印 ERROR 等级的日志
log(Level, Throwable, String, Object...) - Static method in class cn.hutool.log.StaticLog
打印日志
Log4j2Log - Class in cn.hutool.log.dialect.log4j2
Log4j2Log(Logger) - Constructor for class cn.hutool.log.dialect.log4j2.Log4j2Log
 
Log4j2Log(Class<?>) - Constructor for class cn.hutool.log.dialect.log4j2.Log4j2Log
 
Log4j2Log(String) - Constructor for class cn.hutool.log.dialect.log4j2.Log4j2Log
 
Log4j2LogFactory - Class in cn.hutool.log.dialect.log4j2
Log4j2LogFactory() - Constructor for class cn.hutool.log.dialect.log4j2.Log4j2LogFactory
 
Log4jLog - Class in cn.hutool.log.dialect.log4j
Log4jLog(Logger) - Constructor for class cn.hutool.log.dialect.log4j.Log4jLog
 
Log4jLog(Class<?>) - Constructor for class cn.hutool.log.dialect.log4j.Log4jLog
 
Log4jLog(String) - Constructor for class cn.hutool.log.dialect.log4j.Log4jLog
 
Log4jLogFactory - Class in cn.hutool.log.dialect.log4j
Log4jLogFactory() - Constructor for class cn.hutool.log.dialect.log4j.Log4jLogFactory
 
LogFactory - Class in cn.hutool.log
日志工厂类
LogFactory(String) - Constructor for class cn.hutool.log.LogFactory
构造
logForBatch(String) - Method in enum cn.hutool.db.sql.SqlLog
打印批量 SQL日志
LogicalOperator - Enum in cn.hutool.db.sql
逻辑运算符
LogTubeLog - Class in cn.hutool.log.dialect.logtube
LogTube log.封装
LogTubeLog(IEventLogger) - Constructor for class cn.hutool.log.dialect.logtube.LogTubeLog
 
LogTubeLog(Class<?>) - Constructor for class cn.hutool.log.dialect.logtube.LogTubeLog
 
LogTubeLog(String) - Constructor for class cn.hutool.log.dialect.logtube.LogTubeLog
 
LogTubeLogFactory - Class in cn.hutool.log.dialect.logtube
LogTube log.
LogTubeLogFactory() - Constructor for class cn.hutool.log.dialect.logtube.LogTubeLogFactory
 
LONG - Static variable in class cn.hutool.core.date.format.FastDateFormat
LONG locale dependent date or time style.
longestCommonSubstring(String, String) - Static method in class cn.hutool.core.text.TextSimilarity
最长公共子串,采用动态规划算法。 其不要求所求得的字符在所给的字符串中是连续的。
算法解析见:https://leetcode-cn.com/problems/longest-common-subsequence/solution/zui-chang-gong-gong-zi-xu-lie-by-leetcod-y7u0/
LongMap - Class in cn.hutool.bloomfilter.bitMap
过滤器BitMap在64位机器上.这个类能发生更好的效果.一般机器不建议使用
LongMap() - Constructor for class cn.hutool.bloomfilter.bitMap.LongMap
构造
LongMap(int) - Constructor for class cn.hutool.bloomfilter.bitMap.LongMap
构造
longToBytes(long) - Static method in class cn.hutool.core.convert.Convert
longToBytes(long) - Static method in class cn.hutool.core.util.ByteUtil
long转byte数组
默认以小端序转换
from: https://stackoverflow.com/questions/4485128/how-do-i-convert-long-to-byte-and-back-in-java
longToBytes(long, ByteOrder) - Static method in class cn.hutool.core.util.ByteUtil
long转byte数组
自定义端序
from: https://stackoverflow.com/questions/4485128/how-do-i-convert-long-to-byte-and-back-in-java
longToIpv4(long) - Static method in class cn.hutool.core.net.Ipv4Util
根据long值获取ip v4地址:xx.xx.xx.xx
longToIpv4(long) - Static method in class cn.hutool.core.net.NetUtil
根据long值获取ip v4地址
longValue() - Method in class cn.hutool.core.convert.NumberWithFormat
 
longValue() - Method in class cn.hutool.core.lang.hash.Number128
 
longValue() - Method in class cn.hutool.core.lang.mutable.MutableByte
 
longValue() - Method in class cn.hutool.core.lang.mutable.MutableDouble
 
longValue() - Method in class cn.hutool.core.lang.mutable.MutableFloat
 
longValue() - Method in class cn.hutool.core.lang.mutable.MutableInt
 
longValue() - Method in class cn.hutool.core.lang.mutable.MutableLong
 
longValue() - Method in class cn.hutool.core.lang.mutable.MutableShort
 
lookup(Class<?>) - Static method in class cn.hutool.core.lang.reflect.LookupFactory
jdk8中如果直接调用MethodHandles.lookup()获取到的MethodHandles.Lookup在调用findSpecial和unreflectSpecial 时会出现权限不够问题,抛出"no private access for invokespecial"异常,因此针对JDK8及JDK9+分别封装lookup方法。
lookup(Class<?>) - Static method in class cn.hutool.core.lang.reflect.MethodHandleUtil
jdk8中如果直接调用MethodHandles.lookup()获取到的MethodHandles.Lookup在调用findSpecial和unreflectSpecial 时会出现权限不够问题,抛出"no private access for invokespecial"异常,因此针对JDK8及JDK9+分别封装lookup方法。
LookupFactory - Class in cn.hutool.core.lang.reflect
MethodHandles.Lookup工厂,用于创建MethodHandles.Lookup对象
jdk8中如果直接调用MethodHandles.lookup()获取到的MethodHandles.Lookup在调用findSpecial和unreflectSpecial 时会出现权限不够问题,抛出"no private access for invokespecial"异常,因此针对JDK8及JDK9+分别封装lookup方法。 参考:
LookupFactory() - Constructor for class cn.hutool.core.lang.reflect.LookupFactory
 
LookupReplacer - Class in cn.hutool.core.text.replacer
查找替换器,通过查找指定关键字,替换对应的值
LookupReplacer(String[]...) - Constructor for class cn.hutool.core.text.replacer.LookupReplacer
构造
loopCount - Variable in class cn.hutool.core.img.gif.GifDecoder
 
loopFiles(Path, FileFilter) - Static method in class cn.hutool.core.io.file.PathUtil
递归遍历目录以及子目录中的所有文件
如果提供path为文件,直接返回过滤结果
loopFiles(Path, int, FileFilter) - Static method in class cn.hutool.core.io.file.PathUtil
递归遍历目录以及子目录中的所有文件
如果提供path为文件,直接返回过滤结果
loopFiles(Path, int, boolean, FileFilter) - Static method in class cn.hutool.core.io.file.PathUtil
递归遍历目录以及子目录中的所有文件
如果提供path为文件,直接返回过滤结果
loopFiles(String, FileFilter) - Static method in class cn.hutool.core.io.FileUtil
递归遍历目录以及子目录中的所有文件
如果提供file为文件,直接返回过滤结果
loopFiles(File, FileFilter) - Static method in class cn.hutool.core.io.FileUtil
递归遍历目录以及子目录中的所有文件
如果提供file为文件,直接返回过滤结果
loopFiles(File, int, FileFilter) - Static method in class cn.hutool.core.io.FileUtil
递归遍历目录以及子目录中的所有文件
如果提供file为文件,直接返回过滤结果
loopFiles(String) - Static method in class cn.hutool.core.io.FileUtil
递归遍历目录以及子目录中的所有文件
如果用户传入相对路径,则是相对classpath的路径
如:"test/aaa"表示"${classpath}/test/aaa"
loopFiles(File) - Static method in class cn.hutool.core.io.FileUtil
递归遍历目录以及子目录中的所有文件
lostOwnership(Clipboard, Transferable) - Method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
 
lowerFirst(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
小写首字母
例如:str = Name, return name
LRUCache<K,V> - Class in cn.hutool.cache.impl
LRU (least recently used)最近最久未使用缓存
根据使用时间来判定对象是否被持续缓存
当对象被访问时放入缓存,当缓存满了,最久未被使用的对象将被移除。
此缓存基于LinkedHashMap,因此当被缓存的对象每被访问一次,这个对象的key就到链表头部。
这个算法简单并且非常快,他比FIFO有一个显著优势是经常使用的对象不太可能被移除缓存。
缺点是当缓存满时,不能被很快的访问。
LRUCache(int) - Constructor for class cn.hutool.cache.impl.LRUCache
构造
默认无超时
LRUCache(int, long) - Constructor for class cn.hutool.cache.impl.LRUCache
构造
LRUFileCache - Class in cn.hutool.cache.file
使用LRU缓存文件,以解决频繁读取文件引起的性能问题
LRUFileCache(int) - Constructor for class cn.hutool.cache.file.LRUFileCache
构造
最大文件大小为缓存容量的一半
默认无超时
LRUFileCache(int, int) - Constructor for class cn.hutool.cache.file.LRUFileCache
构造
默认无超时
LRUFileCache(int, int, long) - Constructor for class cn.hutool.cache.file.LRUFileCache
构造
ls(String) - Static method in class cn.hutool.core.io.FileUtil
列出指定路径下的目录和文件
给定的绝对路径不能是压缩包中的路径
ls(String) - Method in class cn.hutool.extra.ftp.AbstractFtp
遍历某个目录下所有文件和目录,不会递归遍历
ls(String) - Method in class cn.hutool.extra.ftp.Ftp
 
ls(String) - Method in class cn.hutool.extra.ssh.Sftp
遍历某个目录下所有文件或目录,不会递归遍历
ls(String, Filter<ChannelSftp.LsEntry>) - Method in class cn.hutool.extra.ssh.Sftp
遍历某个目录下所有文件或目录,不会递归遍历
此方法自动过滤"."和".."两种目录
ls(String) - Method in class cn.hutool.extra.ssh.SshjSftp
 
lsDirs(String) - Method in class cn.hutool.extra.ssh.Sftp
遍历某个目录下所有目录,不会递归遍历
lsEntries(String) - Method in class cn.hutool.extra.ssh.Sftp
遍历某个目录下所有文件或目录,生成LsEntry列表,不会递归遍历
此方法自动过滤"."和".."两种目录
lsEntries(String, Filter<ChannelSftp.LsEntry>) - Method in class cn.hutool.extra.ssh.Sftp
遍历某个目录下所有文件或目录,生成LsEntry列表,不会递归遍历
此方法自动过滤"."和".."两种目录
lsFiles(String, Filter<FTPFile>) - Method in class cn.hutool.extra.ftp.Ftp
遍历某个目录下所有文件和目录,不会递归遍历
此方法自动过滤"."和".."两种目录
lsFiles(String) - Method in class cn.hutool.extra.ftp.Ftp
遍历某个目录下所有文件和目录,不会递归遍历
lsFiles(String) - Method in class cn.hutool.extra.ssh.Sftp
遍历某个目录下所有文件,不会递归遍历
LT - Static variable in class cn.hutool.core.util.XmlUtil
字符串常量:XML 小于号转义 "&lt;" -> "<"
LT - Static variable in class cn.hutool.http.HtmlUtil
 
LT - Static variable in class cn.hutool.json.XML
The Character '<'.
LunarFestival - Class in cn.hutool.core.date.chinese
节假日(农历)封装
LunarFestival() - Constructor for class cn.hutool.core.date.chinese.LunarFestival
 
LunarInfo - Class in cn.hutool.core.date.chinese
阴历(农历)信息
LunarInfo() - Constructor for class cn.hutool.core.date.chinese.LunarInfo
 

M

Mac - Class in cn.hutool.crypto.digest.mac
MAC摘要算法(此类兼容和JCE的 javax.crypto.Mac对象和BC库的org.bouncycastle.crypto.Mac对象)
MAC,全称为“Message Authentication Code”,中文名“消息鉴别码”
主要是利用指定算法,以一个密钥和一个消息为输入,生成一个消息摘要作为输出。
一般的,消息鉴别码用于验证传输于两个共同享有一个密钥的单位之间的消息。
注意:此对象实例化后为非线程安全!
Mac(MacEngine) - Constructor for class cn.hutool.crypto.digest.mac.Mac
构造
MAC_ADDRESS - Static variable in class cn.hutool.core.lang.PatternPool
MAC地址正则
MAC_ADDRESS - Static variable in interface cn.hutool.core.lang.RegexPool
MAC地址正则
MacEngine - Interface in cn.hutool.crypto.digest.mac
MAC(Message Authentication Code)算法引擎
MacEngineFactory - Class in cn.hutool.crypto.digest.mac
MacEngine 实现工厂类
MacEngineFactory() - Constructor for class cn.hutool.crypto.digest.mac.MacEngineFactory
 
MACHINE32 - Static variable in interface cn.hutool.bloomfilter.bitMap.BitMap
 
MACHINE64 - Static variable in interface cn.hutool.bloomfilter.bitMap.BitMap
 
mail(String) - Static method in class cn.hutool.core.swing.DesktopUtil
使用平台默认浏览器打开指定URL地址
Mail - Class in cn.hutool.extra.mail
邮件发送客户端
Mail() - Constructor for class cn.hutool.extra.mail.Mail
构造,使用全局邮件帐户
Mail(MailAccount) - Constructor for class cn.hutool.extra.mail.Mail
构造
MAIL_SETTING_PATHS - Static variable in class cn.hutool.extra.mail.MailAccount
 
MailAccount - Class in cn.hutool.extra.mail
邮件账户对象
MailAccount() - Constructor for class cn.hutool.extra.mail.MailAccount
构造,所有参数需自行定义或保持默认值
MailAccount(String) - Constructor for class cn.hutool.extra.mail.MailAccount
构造
MailAccount(Setting) - Constructor for class cn.hutool.extra.mail.MailAccount
构造
MailException - Exception in cn.hutool.extra.mail
邮件异常
MailException(Throwable) - Constructor for exception cn.hutool.extra.mail.MailException
 
MailException(String) - Constructor for exception cn.hutool.extra.mail.MailException
 
MailException(String, Object...) - Constructor for exception cn.hutool.extra.mail.MailException
 
MailException(String, Throwable) - Constructor for exception cn.hutool.extra.mail.MailException
 
MailException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.extra.mail.MailException
 
MailException(Throwable, String, Object...) - Constructor for exception cn.hutool.extra.mail.MailException
 
MailUtil - Class in cn.hutool.extra.mail
邮件工具类,基于javax.mail封装
MailUtil() - Constructor for class cn.hutool.extra.mail.MailUtil
 
mainName(File) - Static method in class cn.hutool.core.io.file.FileNameUtil
返回主文件名
mainName(String) - Static method in class cn.hutool.core.io.file.FileNameUtil
返回主文件名
mainName(File) - Static method in class cn.hutool.core.io.FileUtil
返回主文件名
mainName(String) - Static method in class cn.hutool.core.io.FileUtil
返回主文件名
ManifestUtil - Class in cn.hutool.core.io
Jar包中manifest.mf文件获取和解析工具类 来自Jodd
ManifestUtil() - Constructor for class cn.hutool.core.io.ManifestUtil
 
map(Iterable<T>, Function<? super T, ? extends R>, boolean) - Static method in class cn.hutool.core.collection.CollUtil
通过func自定义一个规则,此规则将原集合中的元素转换成新的元素,生成新的列表返回
例如提供的是一个Bean列表,通过Function接口实现获取某个字段值,返回这个字段值组成的新列表
map(int, int, int) - Method in class cn.hutool.core.img.gif.NeuQuant
 
map(Function<? super T, ? extends U>) - Method in class cn.hutool.core.lang.Opt
如果包裹里的值存在,就执行传入的操作(Function.apply(T))并返回一个包裹了该操作返回值的Opt 如果不存在,返回一个空的Opt
map() - Method in class cn.hutool.core.map.MapBuilder
创建后的map
map(Map<K, V>, BiFunction<K, V, R>) - Static method in class cn.hutool.core.map.MapUtil
通过biFunction自定义一个规则,此规则将原Map中的元素转换成新的元素,生成新的Map返回
变更过程通过传入的 BiFunction 实现来返回一个值可以为不同类型的 Map
map(T[], Class<R>, Function<? super T, ? extends R>) - Static method in class cn.hutool.core.util.ArrayUtil
按照指定规则,将一种类型的数组转换为另一种类型
map(Object, Class<R>, Function<? super T, ? extends R>) - Static method in class cn.hutool.core.util.ArrayUtil
按照指定规则,将一种类型的数组转换为另一种类型
map(T[], Function<? super T, ? extends R>) - Static method in class cn.hutool.core.util.ArrayUtil
按照指定规则,将一种类型的数组元素提取后转换为List
map(JSONObject, Filter<MutablePair<String, Object>>) - Method in class cn.hutool.json.ObjectMapper
将给定对象转换为JSONObject
map(JSONArray, Filter<Mutable<Object>>) - Method in class cn.hutool.json.ObjectMapper
初始化
MapBuilder<K,V> - Class in cn.hutool.core.map
Map创建类
MapBuilder(Map<K, V>) - Constructor for class cn.hutool.core.map.MapBuilder
链式Map创建类
MapConverter - Class in cn.hutool.core.convert.impl
Map 转换器
MapConverter(Type) - Constructor for class cn.hutool.core.convert.impl.MapConverter
构造,Map的key和value泛型类型自动获取
MapConverter(Type, Type, Type) - Constructor for class cn.hutool.core.convert.impl.MapConverter
构造
mapMerger(BinaryOperator<V>) - Static method in class cn.hutool.core.stream.CollectorUtil
用户合并map的BinaryOperator,传入合并前需要对value进行的操作
mapOrElse(Function<? super T, ? extends U>, VoidFunc0) - Method in class cn.hutool.core.lang.Opt
如果包裹里的值存在,就执行传入的值存在时的操作(Function.apply(Object))支持链式调用、转换为其他类型 否则执行传入的值不存在时的操作(VoidFunc0中的VoidFunc0.call())
MapProxy - Class in cn.hutool.core.map
Map代理,提供各种getXXX方法,并提供默认值支持
MapProxy(Map<?, ?>) - Constructor for class cn.hutool.core.map.MapProxy
构造
MapRowHandler - Class in cn.hutool.poi.excel.sax.handler
Map形式的行处理器
将一行数据转换为Map,key为指定行,value为当前行对应位置的值
MapRowHandler(int, int, int) - Constructor for class cn.hutool.poi.excel.sax.handler.MapRowHandler
构造
MapSheetReader - Class in cn.hutool.poi.excel.reader
读取Sheet为Map的List列表形式
MapSheetReader(int, int, int) - Constructor for class cn.hutool.poi.excel.reader.MapSheetReader
构造
mapToBean(Map<?, ?>, Class<T>, boolean) - Static method in class cn.hutool.core.bean.BeanUtil
mapToBean(Map<?, ?>, Class<T>, CopyOptions) - Static method in class cn.hutool.core.bean.BeanUtil
mapToBean(Map<?, ?>, Class<T>, boolean, CopyOptions) - Static method in class cn.hutool.core.bean.BeanUtil
Deprecated.
isToCamelCase参数无效,请使用 BeanUtil.toBean(Object, Class, CopyOptions)
MapToBeanCopier<T> - Class in cn.hutool.core.bean.copier
Map属性拷贝到Bean中的拷贝器
MapToBeanCopier(Map<?, ?>, T, Type, CopyOptions) - Constructor for class cn.hutool.core.bean.copier.MapToBeanCopier
构造
mapToBeanIgnoreCase(Map<?, ?>, Class<T>, boolean) - Static method in class cn.hutool.core.bean.BeanUtil
MapToMapCopier - Class in cn.hutool.core.bean.copier
Map属性拷贝到Map中的拷贝器
MapToMapCopier(Map, Map, Type, CopyOptions) - Constructor for class cn.hutool.core.bean.copier.MapToMapCopier
构造
mapToSet(T[], Function<? super T, ? extends R>) - Static method in class cn.hutool.core.util.ArrayUtil
按照指定规则,将一种类型的数组元素提取后转换为Set
mapToXml(Map<?, ?>, String) - Static method in class cn.hutool.core.util.XmlUtil
将Map转换为XML
mapToXml(Map<?, ?>, String, String) - Static method in class cn.hutool.core.util.XmlUtil
将Map转换为XML
mapToXmlStr(Map<?, ?>) - Static method in class cn.hutool.core.util.XmlUtil
将Map转换为XML格式的字符串
mapToXmlStr(Map<?, ?>, boolean) - Static method in class cn.hutool.core.util.XmlUtil
将Map转换为XML格式的字符串
mapToXmlStr(Map<?, ?>, String) - Static method in class cn.hutool.core.util.XmlUtil
将Map转换为XML格式的字符串
mapToXmlStr(Map<?, ?>, String, String) - Static method in class cn.hutool.core.util.XmlUtil
将Map转换为XML格式的字符串
mapToXmlStr(Map<?, ?>, String, String, boolean) - Static method in class cn.hutool.core.util.XmlUtil
将Map转换为XML格式的字符串
mapToXmlStr(Map<?, ?>, String, String, boolean, boolean) - Static method in class cn.hutool.core.util.XmlUtil
将Map转换为XML格式的字符串
mapToXmlStr(Map<?, ?>, String, String, String, boolean, boolean) - Static method in class cn.hutool.core.util.XmlUtil
将Map转换为XML格式的字符串
MapUtil - Class in cn.hutool.core.map
Map相关工具类
MapUtil() - Constructor for class cn.hutool.core.map.MapUtil
 
MapWrapper<K,V> - Class in cn.hutool.core.map
Map包装类,通过包装一个已有Map实现特定功能。例如自定义Key的规则或Value规则
MapWrapper(Supplier<Map<K, V>>) - Constructor for class cn.hutool.core.map.MapWrapper
构造
通过传入一个Map从而确定Map的类型,子类需创建一个空的Map,而非传入一个已有Map,否则值可能会被修改
MapWrapper(Map<K, V>) - Constructor for class cn.hutool.core.map.MapWrapper
构造
margin - Variable in class cn.hutool.extra.qrcode.QrConfig
边距1~4
mark(int) - Method in class cn.hutool.http.HttpInputStream
 
markSupported() - Method in class cn.hutool.http.HttpInputStream
 
MaskBit - Class in cn.hutool.core.net
掩码位和掩码之间的Map对应
MaskBit() - Constructor for class cn.hutool.core.net.MaskBit
 
match(byte[]) - Method in enum cn.hutool.core.io.FileMagicNumber
 
match(T) - Method in interface cn.hutool.core.lang.Matcher
给定对象是否匹配
match(String, String) - Method in class cn.hutool.core.text.AntPathMatcher
给定路径是否匹配表达式
match(String) - Method in class cn.hutool.core.text.StrMatcher
匹配并提取匹配到的内容
match(long, boolean) - Method in class cn.hutool.cron.pattern.CronPattern
给定时间是否匹配定时任务表达式
match(TimeZone, long, boolean) - Method in class cn.hutool.cron.pattern.CronPattern
给定时间是否匹配定时任务表达式
match(Calendar, boolean) - Method in class cn.hutool.cron.pattern.CronPattern
给定时间是否匹配定时任务表达式
match(LocalDateTime, boolean) - Method in class cn.hutool.cron.pattern.CronPattern
给定时间是否匹配定时任务表达式
match(Integer) - Method in class cn.hutool.cron.pattern.matcher.AlwaysTrueMatcher
 
match(Integer) - Method in class cn.hutool.cron.pattern.matcher.BoolArrayMatcher
 
match(int, int, boolean) - Method in class cn.hutool.cron.pattern.matcher.DayOfMonthMatcher
给定的日期是否匹配当前匹配器
match(int[]) - Method in class cn.hutool.cron.pattern.matcher.PatternMatcher
给定时间是否匹配定时任务表达式
match(Integer) - Method in class cn.hutool.cron.pattern.matcher.YearValueMatcher
 
match(String) - Method in enum cn.hutool.db.dialect.DialectName
是否为指定数据库方言,检查时不分区大小写
match(String) - Method in class cn.hutool.dfa.WordTree
获得第一个匹配的关键字
match(String) - Method in enum cn.hutool.poi.excel.sax.AttributeName
是否匹配给定属性
match(String) - Method in enum cn.hutool.poi.excel.sax.ElementName
给定标签名是否匹配当前标签
matchAll(String) - Method in class cn.hutool.dfa.WordTree
找出所有匹配的关键字
matchAll(String, int) - Method in class cn.hutool.dfa.WordTree
找出所有匹配的关键字
matchAll(String, int, boolean, boolean) - Method in class cn.hutool.dfa.WordTree
找出所有匹配的关键字
密集匹配原则:假如关键词有 ab,b,文本是abab,将匹配 [ab,b,ab]
贪婪匹配(最长匹配)原则:假如关键字a,ab,最长匹配将匹配[a, ab]
matchAllWords(String) - Method in class cn.hutool.dfa.WordTree
找出所有匹配的关键字
matchAllWords(String, int) - Method in class cn.hutool.dfa.WordTree
找出所有匹配的关键字
matchAllWords(String, int, boolean, boolean) - Method in class cn.hutool.dfa.WordTree
找出所有匹配的关键字
密集匹配原则:假如关键词有 ab,b,文本是abab,将匹配 [ab,b,ab]
贪婪匹配(最长匹配)原则:假如关键字a,ab,最长匹配将匹配[a, ab]
matchedDates(String, Date, int, boolean) - Static method in class cn.hutool.cron.pattern.CronPatternUtil
列举指定日期之后(到开始日期对应年年底)内所有匹配表达式的日期
matchedDates(String, Date, Date, int, boolean) - Static method in class cn.hutool.cron.pattern.CronPatternUtil
列举指定日期范围内所有匹配表达式的日期
matchedDates(String, long, long, int, boolean) - Static method in class cn.hutool.cron.pattern.CronPatternUtil
列举指定日期范围内所有匹配表达式的日期
matchedDates(CronPattern, long, long, int, boolean) - Static method in class cn.hutool.cron.pattern.CronPatternUtil
列举指定日期范围内所有匹配表达式的日期
Matcher<T> - Interface in cn.hutool.core.lang
匹配接口
matches(String, String) - Static method in class cn.hutool.core.net.Ipv4Util
检测指定 IP 地址是否匹配通配符 wildcard
matchIndex(Matcher<T>, T...) - Static method in class cn.hutool.core.util.ArrayUtil
返回数组中第一个匹配规则的值的位置
matchIndex(Matcher<T>, int, T...) - Static method in class cn.hutool.core.util.ArrayUtil
返回数组中第一个匹配规则的值的位置
matchSecond - Variable in class cn.hutool.cron.CronConfig
是否支持秒匹配
matchStart(String, String) - Method in class cn.hutool.core.text.AntPathMatcher
前置部分匹配
matchStrings(String, Map<String, String>) - Method in class cn.hutool.core.text.AntPathMatcher.AntPathStringMatcher
Main entry point.
matchWeek(int) - Method in class cn.hutool.cron.pattern.matcher.PatternMatcher
给定周的值是否匹配定时任务表达式对应部分
matchWord(String) - Method in class cn.hutool.dfa.WordTree
获得第一个匹配的关键字
MathGenerator - Class in cn.hutool.captcha.generator
数字计算验证码生成器
MathGenerator() - Constructor for class cn.hutool.captcha.generator.MathGenerator
构造
MathGenerator(int) - Constructor for class cn.hutool.captcha.generator.MathGenerator
构造
MathUtil - Class in cn.hutool.core.math
数学相关方法工具类
此工具类与NumberUtil属于一类工具,NumberUtil偏向于简单数学计算的封装,MathUtil偏向复杂数学计算
MathUtil() - Constructor for class cn.hutool.core.math.MathUtil
 
max(Collection<T>) - Static method in class cn.hutool.core.collection.CollUtil
取最大值
max(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
取最大值
max(T[], Comparator<T>) - Static method in class cn.hutool.core.util.ArrayUtil
取最大值
max(T[]) - Static method in class cn.hutool.core.util.NumberUtil
取最大值
max(long...) - Static method in class cn.hutool.core.util.NumberUtil
取最大值
max(int...) - Static method in class cn.hutool.core.util.NumberUtil
取最大值
max(short...) - Static method in class cn.hutool.core.util.NumberUtil
取最大值
max(double...) - Static method in class cn.hutool.core.util.NumberUtil
取最大值
max(float...) - Static method in class cn.hutool.core.util.NumberUtil
取最大值
max(BigDecimal...) - Static method in class cn.hutool.core.util.NumberUtil
取最大值
max(long...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
取最大值
max(int...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
取最大值
max(short...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
取最大值
max(char...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
取最大值
max(byte...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
取最大值
max(double...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
取最大值
max(float...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
取最大值
MAX_CELL_BIT - Static variable in class cn.hutool.poi.excel.sax.ExcelSaxUtil
 
MAX_DATA_CENTER_ID - Static variable in class cn.hutool.core.lang.Snowflake
 
MAX_STACK_SIZE - Static variable in class cn.hutool.core.img.gif.GifDecoder
 
MAX_WORKER_ID - Static variable in class cn.hutool.core.lang.Snowflake
 
MAX_YEAR - Static variable in class cn.hutool.core.date.chinese.LunarInfo
 
maxFileSize - Variable in class cn.hutool.cache.file.AbstractFileCache
缓存的最大文件大小,文件大于此大小时将不被缓存
maxFileSize() - Method in class cn.hutool.cache.file.AbstractFileCache
 
maxFileSize - Variable in class cn.hutool.core.net.multipart.UploadSetting
最大文件大小,默认无限制
maxLength(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
限制字符串长度,如果超过指定长度,截取指定长度并在末尾加"..."
MAXNETPOS - Static variable in class cn.hutool.core.img.gif.NeuQuant
 
md5(byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
计算32位MD5摘要值
md5(String, String) - Static method in class cn.hutool.crypto.digest.DigestUtil
计算32位MD5摘要值
md5(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
计算32位MD5摘要值,使用UTF-8编码
md5(InputStream) - Static method in class cn.hutool.crypto.digest.DigestUtil
计算32位MD5摘要值
md5(File) - Static method in class cn.hutool.crypto.digest.DigestUtil
计算32位MD5摘要值
MD5 - Class in cn.hutool.crypto.digest
MD5算法
MD5() - Constructor for class cn.hutool.crypto.digest.MD5
构造
MD5(byte[]) - Constructor for class cn.hutool.crypto.digest.MD5
构造
MD5(byte[], int) - Constructor for class cn.hutool.crypto.digest.MD5
构造
MD5(byte[], int, int) - Constructor for class cn.hutool.crypto.digest.MD5
构造
md5() - Static method in class cn.hutool.crypto.SecureUtil
MD5加密
例:
md5(String) - Static method in class cn.hutool.crypto.SecureUtil
MD5加密,生成16进制MD5字符串
md5(InputStream) - Static method in class cn.hutool.crypto.SecureUtil
MD5加密,生成16进制MD5字符串
md5(File) - Static method in class cn.hutool.crypto.SecureUtil
MD5加密文件,生成16进制MD5字符串
md5Hex(byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
计算32位MD5摘要值,并转为16进制字符串
md5Hex(String, String) - Static method in class cn.hutool.crypto.digest.DigestUtil
计算32位MD5摘要值,并转为16进制字符串
md5Hex(String, Charset) - Static method in class cn.hutool.crypto.digest.DigestUtil
计算32位MD5摘要值,并转为16进制字符串
md5Hex(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
计算32位MD5摘要值,并转为16进制字符串
md5Hex(InputStream) - Static method in class cn.hutool.crypto.digest.DigestUtil
计算32位MD5摘要值,并转为16进制字符串
md5Hex(File) - Static method in class cn.hutool.crypto.digest.DigestUtil
计算32位MD5摘要值,并转为16进制字符串
md5Hex16(byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
计算16位MD5摘要值,并转为16进制字符串
md5Hex16(String, Charset) - Static method in class cn.hutool.crypto.digest.DigestUtil
计算16位MD5摘要值,并转为16进制字符串
md5Hex16(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
计算16位MD5摘要值,并转为16进制字符串
md5Hex16(InputStream) - Static method in class cn.hutool.crypto.digest.DigestUtil
计算16位MD5摘要值,并转为16进制字符串
md5Hex16(File) - Static method in class cn.hutool.crypto.digest.DigestUtil
计算16位MD5摘要值,并转为16进制字符串
md5HexTo16(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
32位MD5转16位MD5
MEDIUM - Static variable in class cn.hutool.core.date.format.FastDateFormat
MEDIUM locale dependent date or time style.
memoryThreshold - Variable in class cn.hutool.core.net.multipart.UploadSetting
文件保存到内存的边界
mercatorToWgs84(double, double) - Static method in class cn.hutool.core.util.CoordinateUtil
墨卡托投影 转为 WGS84 坐标
merge(Map<K, X>, Map<K, Y>, BiFunction<X, Y, V>) - Static method in class cn.hutool.core.collection.CollStreamUtil
合并两个相同key类型的map
merge(String, Object, BiFunction<? super Object, ? super Object, ?>) - Method in class cn.hutool.core.lang.Dict
 
merge(K, V, BiFunction<? super V, ? super V, ? extends V>) - Method in class cn.hutool.core.map.BiMap
 
merge(K, V, BiFunction<? super V, ? super V, ? extends V>) - Method in class cn.hutool.core.map.MapWrapper
 
merge(K, V, BiFunction<? super V, ? super V, ? extends V>) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
 
merge(K, V, BiFunction<? super V, ? super V, ? extends V>) - Method in class cn.hutool.core.map.TransMap
 
merge(StrJoiner) - Method in class cn.hutool.core.text.StrJoiner
合并一个StrJoiner 到当前的StrJoiner
合并规则为,在尾部直接追加,当存在StrJoiner.prefix时,如果StrJoiner.wrapElementfalse,则去除之。
merge(int) - Method in class cn.hutool.poi.excel.ExcelWriter
合并当前行的单元格
样式为默认标题样式,可使用ExcelWriter.getHeadCellStyle()方法调用后自定义默认样式
merge(int, Object) - Method in class cn.hutool.poi.excel.ExcelWriter
合并当前行的单元格,并写入对象到单元格
如果写到单元格中的内容非null,行号自动+1,否则当前行号不变
样式为默认标题样式,可使用ExcelWriter.getHeadCellStyle()方法调用后自定义默认样式
merge(int, Object, boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
合并某行的单元格,并写入对象到单元格
如果写到单元格中的内容非null,行号自动+1,否则当前行号不变
样式为默认标题样式,可使用ExcelWriter.getHeadCellStyle()方法调用后自定义默认样式
merge(int, int, int, int, Object, boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
合并某行的单元格,并写入对象到单元格
样式为默认标题样式,可使用ExcelWriter.getHeadCellStyle()方法调用后自定义默认样式
merge(int, int, int, int, Object, CellStyle) - Method in class cn.hutool.poi.excel.ExcelWriter
合并单元格,并写入对象到单元格,使用指定的样式
指定样式传入null,则不使用任何样式
mergingCells(Sheet, int, int, int, int) - Static method in class cn.hutool.poi.excel.cell.CellUtil
合并单元格,可以根据设置的值来合并行和列
mergingCells(Sheet, int, int, int, int, CellStyle) - Static method in class cn.hutool.poi.excel.cell.CellUtil
合并单元格,可以根据设置的值来合并行和列
META_CHARSET_PATTERN - Static variable in class cn.hutool.http.HttpUtil
正则:匹配meta标签的编码信息
MetaAnnotation(Annotation, Annotation, int, int) - Constructor for class cn.hutool.core.annotation.GenericSynthesizedAggregateAnnotation.MetaAnnotation
创建一个合成注解
MetaAnnotationScanner - Class in cn.hutool.core.annotation.scanner
扫描注解类上存在的注解,支持处理枚举实例或枚举类型 需要注意,当待解析是枚举类时,有可能与TypeAnnotationScanner冲突
MetaAnnotationScanner(boolean) - Constructor for class cn.hutool.core.annotation.scanner.MetaAnnotationScanner
构造一个元注解扫描器
MetaAnnotationScanner() - Constructor for class cn.hutool.core.annotation.scanner.MetaAnnotationScanner
构造一个元注解扫描器,默认在扫描当前注解上的元注解后,并继续递归扫描元注解
MetaUtil - Class in cn.hutool.db.meta
数据库元数据信息工具类
MetaUtil() - Constructor for class cn.hutool.db.meta.MetaUtil
 
method(Method) - Method in class cn.hutool.http.HttpRequest
设置请求方法
Method - Enum in cn.hutool.http
Http方法枚举
METHOD_DELETE - Static variable in class cn.hutool.extra.servlet.JakartaServletUtil
 
METHOD_DELETE - Static variable in class cn.hutool.extra.servlet.ServletUtil
 
METHOD_GET - Static variable in class cn.hutool.extra.servlet.JakartaServletUtil
 
METHOD_GET - Static variable in class cn.hutool.extra.servlet.ServletUtil
 
METHOD_HEAD - Static variable in class cn.hutool.extra.servlet.JakartaServletUtil
 
METHOD_HEAD - Static variable in class cn.hutool.extra.servlet.ServletUtil
 
METHOD_OPTIONS - Static variable in class cn.hutool.extra.servlet.JakartaServletUtil
 
METHOD_OPTIONS - Static variable in class cn.hutool.extra.servlet.ServletUtil
 
METHOD_POST - Static variable in class cn.hutool.extra.servlet.JakartaServletUtil
 
METHOD_POST - Static variable in class cn.hutool.extra.servlet.ServletUtil
 
METHOD_PUT - Static variable in class cn.hutool.extra.servlet.JakartaServletUtil
 
METHOD_PUT - Static variable in class cn.hutool.extra.servlet.ServletUtil
 
METHOD_TRACE - Static variable in class cn.hutool.extra.servlet.JakartaServletUtil
 
METHOD_TRACE - Static variable in class cn.hutool.extra.servlet.ServletUtil
 
MethodAnnotationScanner - Class in cn.hutool.core.annotation.scanner
扫描Method上的注解
MethodAnnotationScanner() - Constructor for class cn.hutool.core.annotation.scanner.MethodAnnotationScanner
构造一个类注解扫描器,仅扫描该方法上直接声明的注解
MethodAnnotationScanner(boolean) - Constructor for class cn.hutool.core.annotation.scanner.MethodAnnotationScanner
构造一个类注解扫描器
MethodAnnotationScanner(boolean, Predicate<Class<?>>, Set<Class<?>>) - Constructor for class cn.hutool.core.annotation.scanner.MethodAnnotationScanner
构造一个方法注解扫描器
MethodAnnotationScanner(boolean, boolean, Predicate<Class<?>>, Set<Class<?>>) - Constructor for class cn.hutool.core.annotation.scanner.MethodAnnotationScanner
构造一个方法注解扫描器
MethodHandleUtil - Class in cn.hutool.core.lang.reflect
方法句柄MethodHandle封装工具类
方法句柄是一个有类型的,可以直接执行的指向底层方法、构造器、field等的引用,可以简单理解为函数指针,它是一种更加底层的查找、调整和调用方法的机制。 参考: https://stackoverflow.com/questions/22614746/how-do-i-invoke-java-8-default-methods-reflectively
MethodHandleUtil() - Constructor for class cn.hutool.core.lang.reflect.MethodHandleUtil
 
MetroHash - Class in cn.hutool.core.lang.hash
Apache 发布的MetroHash算法,是一组用于非加密用例的最先进的哈希函数。 除了卓越的性能外,他们还以算法生成而著称。
MetroHash() - Constructor for class cn.hutool.core.lang.hash.MetroHash
 
metroHash128(byte[], long) - Static method in class cn.hutool.core.util.HashUtil
MetroHash 算法128-bit实现
metroHash128(byte[]) - Static method in class cn.hutool.core.util.HashUtil
MetroHash 算法128-bit实现
metroHash64(byte[], long) - Static method in class cn.hutool.core.util.HashUtil
MetroHash 算法64-bit实现
metroHash64(byte[]) - Static method in class cn.hutool.core.util.HashUtil
MetroHash 算法64-bit实现
millisecond() - Method in class cn.hutool.core.date.DateTime
获得指定日期的毫秒数部分
millisecond(Date) - Static method in class cn.hutool.core.date.DateUtil
获得指定日期的毫秒数部分
min(Collection<T>) - Static method in class cn.hutool.core.collection.CollUtil
取最小值
min(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
取最小值
min(T[], Comparator<T>) - Static method in class cn.hutool.core.util.ArrayUtil
取最小值
min(T[]) - Static method in class cn.hutool.core.util.NumberUtil
取最小值
min(long...) - Static method in class cn.hutool.core.util.NumberUtil
取最小值
min(int...) - Static method in class cn.hutool.core.util.NumberUtil
取最小值
min(short...) - Static method in class cn.hutool.core.util.NumberUtil
取最小值
min(double...) - Static method in class cn.hutool.core.util.NumberUtil
取最小值
min(float...) - Static method in class cn.hutool.core.util.NumberUtil
取最小值
min(BigDecimal...) - Static method in class cn.hutool.core.util.NumberUtil
取最小值
min(long...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
取最小值
min(int...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
取最小值
min(short...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
取最小值
min(char...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
取最小值
min(byte...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
取最小值
min(double...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
取最小值
min(float...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
取最小值
MINPICTUREBYTES - Static variable in class cn.hutool.core.img.gif.NeuQuant
 
minute() - Method in class cn.hutool.core.date.DateTime
获得指定日期的分钟数部分
例如:10:04:15.250 =》 4
minute(Date) - Static method in class cn.hutool.core.date.DateUtil
获得指定日期的分钟数部分
例如:10:04:15.250 =》 4
MIRROR_LINK_ANNOTATION_POST_PROCESSOR - Static variable in interface cn.hutool.core.annotation.SynthesizedAnnotationPostProcessor
属性上带有Link,且与其他注解的属性存在镜像关系的注解对象的后置处理器
MirroredAnnotationAttribute - Class in cn.hutool.core.annotation
表示存在对应镜像属性的注解属性,当获取值时将根据RelationType.MIRROR_FOR的规则进行处理
MirroredAnnotationAttribute(AnnotationAttribute, AnnotationAttribute) - Constructor for class cn.hutool.core.annotation.MirroredAnnotationAttribute
 
MirrorFor - Annotation Type in cn.hutool.core.annotation
Link的子注解。表示注解的属性与指定的属性互为镜像,通过一个属性将能够获得对方的值。
它们遵循下述规则: 互为镜像的两个属性,必须同时通过指定模式为MIRROR_FORLink注解指定对方; 互为镜像的两个属性,类型必须一致; 互为镜像的两个属性在获取值,且两者的值皆不同时,必须且仅允许有一个非默认值,该值被优先返回; 互为镜像的两个属性,在值都为默认值或都不为默认值时,两者的值必须相等; 注意,该注解与LinkForceAliasForAliasFor一起使用时,将只有被声明在最上面的注解会生效
MirrorLinkAnnotationPostProcessor - Class in cn.hutool.core.annotation
用于处理注解对象中带有Link注解,且Link.type()RelationType.MIRROR_FOR的属性。
当该处理器执行完毕后,原始合成注解中被Link注解的属性与Link注解指向的目标注解的属性, 都将会被被包装并替换为MirroredAnnotationAttribute
MirrorLinkAnnotationPostProcessor() - Constructor for class cn.hutool.core.annotation.MirrorLinkAnnotationPostProcessor
 
missCount - Variable in class cn.hutool.cache.impl.AbstractCache
丢失数,即未命中缓存计数
mixHash(String) - Static method in class cn.hutool.core.util.HashUtil
混合hash算法,输出64位的值
mkdir(Path) - Static method in class cn.hutool.core.io.file.PathUtil
创建所给目录及其父目录
mkdir(String) - Static method in class cn.hutool.core.io.FileUtil
创建文件夹,如果存在直接返回此文件夹
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
mkdir(File) - Static method in class cn.hutool.core.io.FileUtil
创建文件夹,会递归自动创建其不存在的父文件夹,如果存在直接返回此文件夹
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
mkdir(String) - Method in class cn.hutool.extra.ftp.AbstractFtp
在当前远程目录(工作目录)下创建新的目录
mkdir(String) - Method in class cn.hutool.extra.ftp.Ftp
 
mkdir(String) - Method in class cn.hutool.extra.ssh.Sftp
 
mkdir(String) - Method in class cn.hutool.extra.ssh.SshjSftp
 
mkDirs(String) - Method in class cn.hutool.extra.ftp.AbstractFtp
创建指定文件夹及其父目录,从根目录开始创建,创建完成后回到默认的工作目录
mkdirsSafely(File, int, long) - Static method in class cn.hutool.core.io.FileUtil
安全地级联创建目录 (确保并发环境下能创建成功)
mkParentDirs(Path) - Static method in class cn.hutool.core.io.file.PathUtil
创建所给文件或目录的父目录
mkParentDirs(File) - Static method in class cn.hutool.core.io.FileUtil
创建所给文件或目录的父目录
mkParentDirs(String) - Static method in class cn.hutool.core.io.FileUtil
创建父文件夹,如果存在直接返回此文件夹
MmsegEngine - Class in cn.hutool.extra.tokenizer.engine.mmseg
mmseg4j分词引擎实现
项目地址:https://github.com/chenlb/mmseg4j-core
MmsegEngine() - Constructor for class cn.hutool.extra.tokenizer.engine.mmseg.MmsegEngine
构造
MmsegEngine(MMSeg) - Constructor for class cn.hutool.extra.tokenizer.engine.mmseg.MmsegEngine
构造
MmsegResult - Class in cn.hutool.extra.tokenizer.engine.mmseg
mmseg4j分词结果实现
项目地址:https://github.com/chenlb/mmseg4j-core
MmsegResult(MMSeg) - Constructor for class cn.hutool.extra.tokenizer.engine.mmseg.MmsegResult
构造
MmsegWord - Class in cn.hutool.extra.tokenizer.engine.mmseg
mmseg分词中的一个单词包装
MmsegWord(Word) - Constructor for class cn.hutool.extra.tokenizer.engine.mmseg.MmsegWord
构造
MOBILE - Static variable in class cn.hutool.core.lang.PatternPool
移动电话
MOBILE - Static variable in interface cn.hutool.core.lang.RegexPool
移动电话 eg: 中国大陆: +86 180 4953 1399,2位区域码标示+11位数字 中国大陆 +86 Mainland China
MOBILE - Static variable in class cn.hutool.core.lang.Validator
移动电话
MOBILE_HK - Static variable in class cn.hutool.core.lang.PatternPool
中国香港移动电话 eg: 中国香港: +852 5100 4810, 三位区域码+10位数字, 中国香港手机号码8位数 eg: 中国大陆: +86 180 4953 1399,2位区域码标示+13位数字 中国大陆 +86 Mainland China 中国香港 +852 Hong Kong 中国澳门 +853 Macao 中国台湾 +886 Taiwan
MOBILE_HK - Static variable in interface cn.hutool.core.lang.RegexPool
中国香港移动电话 eg: 中国香港: +852 5100 4810, 三位区域码+10位数字, 中国香港手机号码8位数
MOBILE_MO - Static variable in class cn.hutool.core.lang.PatternPool
中国澳门移动电话 eg: 中国台湾: +853 68 00000, 三位区域码 +号码以数字6开头 + 7位数字, 中国台湾手机号码8位数 中国澳门 +853 Macao 国际域名缩写:MO
MOBILE_MO - Static variable in interface cn.hutool.core.lang.RegexPool
中国澳门移动电话 eg: 中国澳门: +853 68 00000, 三位区域码 +号码以数字6开头 + 7位数字, 中国澳门手机号码8位数 中国澳门 +853 Macao 国际域名缩写:MO
MOBILE_TW - Static variable in class cn.hutool.core.lang.PatternPool
中国台湾移动电话 eg: 中国台湾: +886 09 60 000000, 三位区域码+号码以数字09开头 + 8位数字, 中国台湾手机号码10位数 中国台湾 +886 Taiwan 国际域名缩写:TW
MOBILE_TW - Static variable in interface cn.hutool.core.lang.RegexPool
中国台湾移动电话 eg: 中国台湾: +886 09 60 000000, 三位区域码+号码以数字09开头 + 8位数字, 中国台湾手机号码10位数 中国台湾 +886 Taiwan 国际域名缩写:TW
mobilePhone(String) - Static method in class cn.hutool.core.util.DesensitizedUtil
【手机号码】前三位,后4位,其他隐藏,比如135****2210
mobilePlatforms - Static variable in class cn.hutool.http.useragent.Platform
支持的移动平台类型
Mode - Enum in cn.hutool.crypto
模式
ModifierUtil - Class in cn.hutool.core.util
修饰符工具类
ModifierUtil() - Constructor for class cn.hutool.core.util.ModifierUtil
 
ModifierUtil.ModifierType - Enum in cn.hutool.core.util
修饰符枚举
modify(Calendar, int, DateModifier.ModifyType) - Static method in class cn.hutool.core.date.DateModifier
修改日期
modify(Calendar, int, DateModifier.ModifyType, boolean) - Static method in class cn.hutool.core.date.DateModifier
修改日期,取起始值或者结束值
可选是否归零毫秒。
MONEY - Static variable in class cn.hutool.core.lang.PatternPool
货币
MONEY - Static variable in interface cn.hutool.core.lang.RegexPool
货币
MONEY - Static variable in class cn.hutool.core.lang.Validator
货币
Money - Class in cn.hutool.core.math
单币种货币类,处理货币算术、币种和取整。
Money() - Constructor for class cn.hutool.core.math.Money
缺省构造器。
Money(long, int) - Constructor for class cn.hutool.core.math.Money
构造器。
Money(long, int, Currency) - Constructor for class cn.hutool.core.math.Money
构造器。
Money(String) - Constructor for class cn.hutool.core.math.Money
构造器。
Money(String, Currency) - Constructor for class cn.hutool.core.math.Money
构造器。
Money(String, Currency, RoundingMode) - Constructor for class cn.hutool.core.math.Money
构造器。
Money(double) - Constructor for class cn.hutool.core.math.Money
构造器。
Money(double, Currency) - Constructor for class cn.hutool.core.math.Money
构造器。
Money(BigDecimal) - Constructor for class cn.hutool.core.math.Money
构造器。
Money(BigDecimal, RoundingMode) - Constructor for class cn.hutool.core.math.Money
构造器。
Money(BigDecimal, Currency) - Constructor for class cn.hutool.core.math.Money
构造器。
Money(BigDecimal, Currency, RoundingMode) - Constructor for class cn.hutool.core.math.Money
构造器。
MONGO_CONFIG_PATH - Static variable in class cn.hutool.db.nosql.mongo.MongoDS
默认配置文件
MongoDS - Class in cn.hutool.db.nosql.mongo
MongoDB4工具类
MongoDS(String, int) - Constructor for class cn.hutool.db.nosql.mongo.MongoDS
构造MongoDB数据源
调用者必须持有MongoDS实例,否则会被垃圾回收导致写入失败!
MongoDS(Setting, String, int) - Constructor for class cn.hutool.db.nosql.mongo.MongoDS
构造MongoDB数据源
调用者必须持有MongoDS实例,否则会被垃圾回收导致写入失败!
MongoDS(String...) - Constructor for class cn.hutool.db.nosql.mongo.MongoDS
构造MongoDB数据源
当提供多个数据源时,这些数据源将为一个副本集或者多个mongos
调用者必须持有MongoDS实例,否则会被垃圾回收导致写入失败! 官方文档: http://docs.mongodb.org/manual/administration/replica-sets/
MongoDS(Setting, String...) - Constructor for class cn.hutool.db.nosql.mongo.MongoDS
构造MongoDB数据源
当提供多个数据源时,这些数据源将为一个副本集或者mongos
调用者必须持有MongoDS实例,否则会被垃圾回收导致写入失败!
官方文档: http://docs.mongodb.org/manual/administration/replica-sets/
MongoFactory - Class in cn.hutool.db.nosql.mongo
MongoDS工厂类,用于创建
MongoFactory() - Constructor for class cn.hutool.db.nosql.mongo.MongoFactory
 
month() - Method in class cn.hutool.core.date.DateTime
获得月份,从0开始计数
month(Date) - Static method in class cn.hutool.core.date.DateUtil
获得月份,从0开始计数
Month - Enum in cn.hutool.core.date
月份枚举
与Calendar中的月份int值对应
monthBaseOne() - Method in class cn.hutool.core.date.DateTime
获取月,从1开始计数
monthDays(int, int) - Static method in class cn.hutool.core.date.chinese.LunarInfo
传回农历 y年m月的总天数,区分大小月
monthEnum() - Method in class cn.hutool.core.date.DateTime
获得月份
monthEnum(Date) - Static method in class cn.hutool.core.date.DateUtil
获得月份
monthStartFromOne() - Method in class cn.hutool.core.date.DateTime
获得月份,从1开始计数
由于Calendar 中的月份按照0开始计数,导致某些需求容易误解,因此如果想用1表示一月,2表示二月则调用此方法
more() - Method in class cn.hutool.json.JSONTokener
源字符串是否有更多的字符
Morse - Class in cn.hutool.core.codec
莫尔斯电码的编码和解码实现
参考:https://github.com/TakWolf-Deprecated/Java-MorseCoder
Morse() - Constructor for class cn.hutool.core.codec.Morse
构造
Morse(char, char, char) - Constructor for class cn.hutool.core.codec.Morse
构造
mouseMove(int, int) - Static method in class cn.hutool.core.swing.RobotUtil
模拟鼠标移动
mouseWheel(int) - Static method in class cn.hutool.core.swing.RobotUtil
模拟鼠标滚轮滚动
move(List<T>, T, int) - Static method in class cn.hutool.core.collection.ListUtil
将元素移动到指定列表的新位置。 如果元素不在列表中,则将其添加到新位置。 如果元素已在列表中,则先移除它,然后再将其添加到新位置。
move() - Method in class cn.hutool.core.io.file.PathMover
移动文件或目录到目标中,例如: 如果src和target为同一文件或目录,直接返回target。 如果src为文件,target为目录,则移动到目标目录下,存在同名文件则按照是否覆盖参数执行。 如果src为文件,target为文件,则按照是否覆盖参数执行。 如果src为文件,target为不存在的路径,则重命名源文件到目标指定的文件,如move("/a/b", "/c/d"), d不存在,则b变成d。 如果src为目录,target为文件,抛出IllegalArgumentException 如果src为目录,target为目录,则将源目录及其内容移动到目标路径目录中,如move("/a/b", "/c/d"),结果为"/c/d/b" 如果src为目录,target为不存在的路径,则重命名src到target,如move("/a/b", "/c/d"),结果为"/c/d/",相当于b重命名为d
move(Path, Path, boolean) - Static method in class cn.hutool.core.io.file.PathUtil
移动文件或目录到目标中,例如: 如果src和target为同一文件或目录,直接返回target。 如果src为文件,target为目录,则移动到目标目录下,存在同名文件则按照是否覆盖参数执行。 如果src为文件,target为文件,则按照是否覆盖参数执行。 如果src为文件,target为不存在的路径,则重命名源文件到目标指定的文件,如moveContent("/a/b", "/c/d"), d不存在,则b变成d。 如果src为目录,target为文件,抛出IllegalArgumentException 如果src为目录,target为目录,则将源目录及其内容移动到目标路径目录中,如move("/a/b", "/c/d"),结果为"/c/d/b" 如果src为目录,target为不存在的路径,则重命名src到target,如move("/a/b", "/c/d"),结果为"/c/d/",相当于b重命名为d
move(File, File, boolean) - Static method in class cn.hutool.core.io.FileUtil
移动文件或者目录
move(CharSequence, int, int, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
循环位移指定位置的字符串为指定距离
当moveLength大于0向右位移,小于0向左位移,0不位移
当moveLength大于字符串长度时采取循环位移策略,即位移到头后从头(尾)位移,例如长度为10,位移13则表示位移3
moveContent() - Method in class cn.hutool.core.io.file.PathMover
移动文件或目录内容到目标中,例如: 如果src为文件,target为目录,则移动到目标目录下,存在同名文件则按照是否覆盖参数执行。 如果src为文件,target为文件,则按照是否覆盖参数执行。 如果src为文件,target为不存在的路径,则重命名源文件到目标指定的文件,如moveContent("/a/b", "/c/d"), d不存在,则b变成d。 如果src为目录,target为文件,抛出IllegalArgumentException 如果src为目录,target为目录,则将源目录下的内容移动到目标路径目录中,源目录不删除。 如果src为目录,target为不存在的路径,则创建目标路径为目录,将源目录下的内容移动到目标路径目录中,源目录不删除。
moveContent(Path, Path, boolean) - Static method in class cn.hutool.core.io.file.PathUtil
移动文件或目录内容到目标中,例如: 如果src为文件,target为目录,则移动到目标目录下,存在同名文件则按照是否覆盖参数执行。 如果src为文件,target为文件,则按照是否覆盖参数执行。 如果src为文件,target为不存在的路径,则重命名源文件到目标指定的文件,如moveContent("/a/b", "/c/d"), d不存在,则b变成d。 如果src为目录,target为文件,抛出IllegalArgumentException 如果src为目录,target为目录,则将源目录下的内容移动到目标路径目录中,源目录不删除。 如果src为目录,target为不存在的路径,则创建目标路径为目录,将源目录下的内容移动到目标路径目录中,源目录不删除。
moveContent(File, File, boolean) - Static method in class cn.hutool.core.io.FileUtil
移动文件或者目录
MoveVisitor - Class in cn.hutool.core.io.file.visitor
文件移动操作的FileVisitor实现,用于递归遍历移动目录和文件,此类非线程安全
此类在遍历源目录并移动过程中会自动创建目标目录中不存在的上级目录。
MoveVisitor(Path, Path, CopyOption...) - Constructor for class cn.hutool.core.io.file.visitor.MoveVisitor
构造
MsgDecoder<T> - Interface in cn.hutool.socket.protocol
消息解码器
MsgEncoder<T> - Interface in cn.hutool.socket.protocol
消息编码器
mul(float, float) - Static method in class cn.hutool.core.util.NumberUtil
提供精确的乘法运算
mul(float, double) - Static method in class cn.hutool.core.util.NumberUtil
提供精确的乘法运算
mul(double, float) - Static method in class cn.hutool.core.util.NumberUtil
提供精确的乘法运算
mul(double, double) - Static method in class cn.hutool.core.util.NumberUtil
提供精确的乘法运算
mul(Double, Double) - Static method in class cn.hutool.core.util.NumberUtil
提供精确的乘法运算
如果传入多个值为null或者空,则返回0
mul(Number, Number) - Static method in class cn.hutool.core.util.NumberUtil
提供精确的乘法运算
如果传入多个值为null或者空,则返回0
mul(Number...) - Static method in class cn.hutool.core.util.NumberUtil
提供精确的乘法运算
如果传入多个值为null或者空,则返回0
mul(String, String) - Static method in class cn.hutool.core.util.NumberUtil
提供精确的乘法运算
mul(String...) - Static method in class cn.hutool.core.util.NumberUtil
提供精确的乘法运算
如果传入多个值为null或者空,则返回0
mul(BigDecimal...) - Static method in class cn.hutool.core.util.NumberUtil
提供精确的乘法运算
如果传入多个值为null或者空,则返回0
MultiFileResource - Class in cn.hutool.core.io.resource
多文件组合资源
此资源为一个利用游标自循环资源,只有调用MultiResource.next() 方法才会获取下一个资源,使用完毕后调用MultiResource.reset()方法重置游标
MultiFileResource(Collection<File>) - Constructor for class cn.hutool.core.io.resource.MultiFileResource
构造
MultiFileResource(File...) - Constructor for class cn.hutool.core.io.resource.MultiFileResource
构造
MultipartBody - Class in cn.hutool.http.body
Multipart/form-data数据的请求体封装
遵循RFC2388规范
MultipartBody(Map<String, Object>, Charset) - Constructor for class cn.hutool.http.body.MultipartBody
构造
MultipartFormData - Class in cn.hutool.core.net.multipart
HttpRequest解析器
来自Jodd
MultipartFormData() - Constructor for class cn.hutool.core.net.multipart.MultipartFormData
构造
MultipartFormData(UploadSetting) - Constructor for class cn.hutool.core.net.multipart.MultipartFormData
构造
MultipartOutputStream - Class in cn.hutool.http
Multipart/form-data输出流封装
遵循RFC2388规范
MultipartOutputStream(OutputStream, Charset) - Constructor for class cn.hutool.http.MultipartOutputStream
构造,使用全局默认的边界字符串
MultipartOutputStream(OutputStream, Charset, String) - Constructor for class cn.hutool.http.MultipartOutputStream
构造
MultipartRequestInputStream - Class in cn.hutool.core.net.multipart
Http请求解析流,提供了专门针对带文件的form表单的解析
来自Jodd
MultipartRequestInputStream(InputStream) - Constructor for class cn.hutool.core.net.multipart.MultipartRequestInputStream
 
multiple(int, int) - Static method in class cn.hutool.core.util.NumberUtil
最小公倍数
multiply(long) - Method in class cn.hutool.core.math.Money
货币乘法。
multiply(double) - Method in class cn.hutool.core.math.Money
货币乘法。
multiply(BigDecimal) - Method in class cn.hutool.core.math.Money
货币乘法。
multiply(BigDecimal, RoundingMode) - Method in class cn.hutool.core.math.Money
货币乘法。
multiplyBy(long) - Method in class cn.hutool.core.math.Money
货币累乘。
multiplyBy(double) - Method in class cn.hutool.core.math.Money
货币累乘。
multiplyBy(BigDecimal) - Method in class cn.hutool.core.math.Money
货币累乘。
multiplyBy(BigDecimal, RoundingMode) - Method in class cn.hutool.core.math.Money
货币累乘。
MultiResource - Class in cn.hutool.core.io.resource
多资源组合资源
此资源为一个利用游标自循环资源,只有调用MultiResource.next() 方法才会获取下一个资源,使用完毕后调用MultiResource.reset()方法重置游标
MultiResource(Resource...) - Constructor for class cn.hutool.core.io.resource.MultiResource
构造
MultiResource(Collection<Resource>) - Constructor for class cn.hutool.core.io.resource.MultiResource
构造
murmur128(byte[]) - Static method in class cn.hutool.core.util.HashUtil
MurmurHash算法128-bit实现
murmur32(byte[]) - Static method in class cn.hutool.core.util.HashUtil
MurmurHash算法32-bit实现
murmur64(byte[]) - Static method in class cn.hutool.core.util.HashUtil
MurmurHash算法64-bit实现
MurmurHash - Class in cn.hutool.core.lang.hash
Murmur3 32bit、64bit、128bit 哈希算法实现
此算法来自于:https://github.com/xlturing/Simhash4J/blob/master/src/main/java/bee/simhash/main/Murmur3.java
MurmurHash() - Constructor for class cn.hutool.core.lang.hash.MurmurHash
 
Mutable<T> - Interface in cn.hutool.core.lang.mutable
提供可变值类型接口
MutableBool - Class in cn.hutool.core.lang.mutable
可变 boolean 类型
MutableBool() - Constructor for class cn.hutool.core.lang.mutable.MutableBool
构造,默认值0
MutableBool(boolean) - Constructor for class cn.hutool.core.lang.mutable.MutableBool
构造
MutableBool(String) - Constructor for class cn.hutool.core.lang.mutable.MutableBool
构造
MutableByte - Class in cn.hutool.core.lang.mutable
可变 byte 类型
MutableByte() - Constructor for class cn.hutool.core.lang.mutable.MutableByte
构造,默认值0
MutableByte(byte) - Constructor for class cn.hutool.core.lang.mutable.MutableByte
构造
MutableByte(Number) - Constructor for class cn.hutool.core.lang.mutable.MutableByte
构造
MutableByte(String) - Constructor for class cn.hutool.core.lang.mutable.MutableByte
构造
MutableDouble - Class in cn.hutool.core.lang.mutable
可变 double 类型
MutableDouble() - Constructor for class cn.hutool.core.lang.mutable.MutableDouble
构造,默认值0
MutableDouble(double) - Constructor for class cn.hutool.core.lang.mutable.MutableDouble
构造
MutableDouble(Number) - Constructor for class cn.hutool.core.lang.mutable.MutableDouble
构造
MutableDouble(String) - Constructor for class cn.hutool.core.lang.mutable.MutableDouble
构造
MutableFloat - Class in cn.hutool.core.lang.mutable
可变 float 类型
MutableFloat() - Constructor for class cn.hutool.core.lang.mutable.MutableFloat
构造,默认值0
MutableFloat(float) - Constructor for class cn.hutool.core.lang.mutable.MutableFloat
构造
MutableFloat(Number) - Constructor for class cn.hutool.core.lang.mutable.MutableFloat
构造
MutableFloat(String) - Constructor for class cn.hutool.core.lang.mutable.MutableFloat
构造
MutableInt - Class in cn.hutool.core.lang.mutable
可变 int 类型
MutableInt() - Constructor for class cn.hutool.core.lang.mutable.MutableInt
构造,默认值0
MutableInt(int) - Constructor for class cn.hutool.core.lang.mutable.MutableInt
构造
MutableInt(Number) - Constructor for class cn.hutool.core.lang.mutable.MutableInt
构造
MutableInt(String) - Constructor for class cn.hutool.core.lang.mutable.MutableInt
构造
MutableLong - Class in cn.hutool.core.lang.mutable
可变 long 类型
MutableLong() - Constructor for class cn.hutool.core.lang.mutable.MutableLong
构造,默认值0
MutableLong(long) - Constructor for class cn.hutool.core.lang.mutable.MutableLong
构造
MutableLong(Number) - Constructor for class cn.hutool.core.lang.mutable.MutableLong
构造
MutableLong(String) - Constructor for class cn.hutool.core.lang.mutable.MutableLong
构造
MutableObj<T> - Class in cn.hutool.core.lang.mutable
可变Object
MutableObj() - Constructor for class cn.hutool.core.lang.mutable.MutableObj
构造,空值
MutableObj(T) - Constructor for class cn.hutool.core.lang.mutable.MutableObj
构造
MutablePair<K,V> - Class in cn.hutool.core.lang.mutable
可变Pair实现,可以修改键和值
MutablePair(K, V) - Constructor for class cn.hutool.core.lang.mutable.MutablePair
构造
MutableShort - Class in cn.hutool.core.lang.mutable
可变 short 类型
MutableShort() - Constructor for class cn.hutool.core.lang.mutable.MutableShort
构造,默认值0
MutableShort(short) - Constructor for class cn.hutool.core.lang.mutable.MutableShort
构造
MutableShort(Number) - Constructor for class cn.hutool.core.lang.mutable.MutableShort
构造
MutableShort(String) - Constructor for class cn.hutool.core.lang.mutable.MutableShort
构造
MvelEngine - Class in cn.hutool.extra.expression.engine.mvel
MVEL (MVFLEX Expression Language)引擎封装
见:https://github.com/mvel/mvel
MvelEngine() - Constructor for class cn.hutool.extra.expression.engine.mvel.MvelEngine
构造
MynlpEngine - Class in cn.hutool.extra.tokenizer.engine.mynlp
MYNLP 中文NLP工具包分词实现
项目地址:https://github.com/mayabot/mynlp/
MynlpEngine() - Constructor for class cn.hutool.extra.tokenizer.engine.mynlp.MynlpEngine
构造
MynlpEngine(Lexer) - Constructor for class cn.hutool.extra.tokenizer.engine.mynlp.MynlpEngine
构造
MynlpResult - Class in cn.hutool.extra.tokenizer.engine.mynlp
MYNLP 中文NLP工具包分词结果实现
项目地址:https://github.com/mayabot/mynlp/
MynlpResult(Sentence) - Constructor for class cn.hutool.extra.tokenizer.engine.mynlp.MynlpResult
构造
MynlpWord - Class in cn.hutool.extra.tokenizer.engine.mynlp
mmseg分词中的一个单词包装
MynlpWord(WordTerm) - Constructor for class cn.hutool.extra.tokenizer.engine.mynlp.MynlpWord
构造
MysqlDialect - Class in cn.hutool.db.dialect.impl
MySQL方言
MysqlDialect() - Constructor for class cn.hutool.db.dialect.impl.MysqlDialect
 

N

name - Variable in class cn.hutool.core.io.resource.UrlResource
 
name() - Method in interface cn.hutool.core.lang.EnumItem
 
name - Variable in class cn.hutool.log.LogFactory
日志框架名,用于打印当前所用日志框架
NamedInheritableThreadLocal<T> - Class in cn.hutool.core.thread.threadlocal
带有Name标识的 InheritableThreadLocal,调用toString返回name
NamedInheritableThreadLocal(String) - Constructor for class cn.hutool.core.thread.threadlocal.NamedInheritableThreadLocal
构造
NamedSql - Class in cn.hutool.db.sql
使用命名占位符的SQL,例如:select * from table where field1=:name1
支持的占位符格式为:
NamedSql(String, Map<String, Object>) - Constructor for class cn.hutool.db.sql.NamedSql
构造
NamedThreadFactory - Class in cn.hutool.core.thread
线程创建工厂类,此工厂可选配置:
NamedThreadFactory(String, boolean) - Constructor for class cn.hutool.core.thread.NamedThreadFactory
构造
NamedThreadFactory(String, ThreadGroup, boolean) - Constructor for class cn.hutool.core.thread.NamedThreadFactory
构造
NamedThreadFactory(String, ThreadGroup, boolean, Thread.UncaughtExceptionHandler) - Constructor for class cn.hutool.core.thread.NamedThreadFactory
构造
NamedThreadLocal<T> - Class in cn.hutool.core.thread.threadlocal
带有Name标识的 ThreadLocal,调用toString返回name
NamedThreadLocal(String) - Constructor for class cn.hutool.core.thread.threadlocal.NamedThreadLocal
构造
NameUnknown - Static variable in class cn.hutool.http.useragent.UserAgentInfo
未知类型
nameUUIDFromBytes(byte[]) - Static method in class cn.hutool.core.lang.UUID
根据指定的字节数组获取类型 3(基于名称的)UUID 的静态工厂。
NamingCase - Class in cn.hutool.core.text
命名规则封装,主要是针对驼峰风格命名、连接符命名等的封装
NamingCase() - Constructor for class cn.hutool.core.text.NamingCase
 
NanoId - Class in cn.hutool.core.lang.id
NanoId,一个小型、安全、对 URL友好的唯一字符串 ID 生成器,特点: 安全:它使用加密、强大的随机 API,并保证符号的正确分配 体积小:只有 258 bytes 大小(压缩后)、无依赖 紧凑:它使用比 UUID (A-Za-z0-9_~)更多的符号
NanoId() - Constructor for class cn.hutool.core.lang.id.NanoId
 
nanoId() - Static method in class cn.hutool.core.util.IdUtil
获取随机NanoId
nanoId(int) - Static method in class cn.hutool.core.util.IdUtil
获取随机NanoId
nanosToMillis(long) - Static method in class cn.hutool.core.date.DateUtil
纳秒转毫秒
nanosToSeconds(long) - Static method in class cn.hutool.core.date.DateUtil
纳秒转秒,保留小数
nativeSQL(String) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
naturalComparator() - Static method in class cn.hutool.core.comparator.CompareUtil
获取自然排序器,即默认排序器
NBSP - Static variable in class cn.hutool.core.util.XmlUtil
字符串常量:XML 不间断空格转义 "&nbsp;" -> " "
NBSP - Static variable in class cn.hutool.http.HtmlUtil
 
NCYCLES - Static variable in class cn.hutool.core.img.gif.NeuQuant
 
NEAREST_AND_NEWEST_PRIORITY - Static variable in interface cn.hutool.core.annotation.Hierarchical.Selector
返回距离根对象更近的对象,当距离一样时优先返回新对象
NEAREST_AND_NEWEST_PRIORITY - Static variable in interface cn.hutool.core.annotation.SynthesizedAnnotationSelector
返回距离根对象更近的注解,当距离一样时优先返回新注解
NEAREST_AND_OLDEST_PRIORITY - Static variable in interface cn.hutool.core.annotation.Hierarchical.Selector
返回距离根对象更近的对象,当距离一样时优先返回旧对象
NEAREST_AND_OLDEST_PRIORITY - Static variable in interface cn.hutool.core.annotation.SynthesizedAnnotationSelector
返回距离根对象更近的注解,当距离一样时优先返回旧注解
NearestAndNewestPrioritySelector() - Constructor for class cn.hutool.core.annotation.Hierarchical.Selector.NearestAndNewestPrioritySelector
 
NearestAndNewestPrioritySelector() - Constructor for class cn.hutool.core.annotation.SynthesizedAnnotationSelector.NearestAndNewestPrioritySelector
 
NearestAndOldestPrioritySelector() - Constructor for class cn.hutool.core.annotation.Hierarchical.Selector.NearestAndOldestPrioritySelector
 
NearestAndOldestPrioritySelector() - Constructor for class cn.hutool.core.annotation.SynthesizedAnnotationSelector.NearestAndOldestPrioritySelector
 
negate(Boolean) - Static method in class cn.hutool.core.util.BooleanUtil
取相反值
negate(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
取相反值
negative - Variable in class cn.hutool.core.text.finder.TextFinder
 
NETBIASSHIFT - Static variable in class cn.hutool.core.img.gif.NeuQuant
 
netCat(String, int, boolean, ByteBuffer) - Static method in class cn.hutool.core.net.NetUtil
简易的使用Socket发送数据
netCat(String, int, byte[]) - Static method in class cn.hutool.core.net.NetUtil
使用普通Socket发送数据
netindex - Variable in class cn.hutool.core.img.gif.NeuQuant
 
NETSIZE - Static variable in class cn.hutool.core.img.gif.NeuQuant
 
NetUtil - Class in cn.hutool.core.net
网络相关工具
NetUtil() - Constructor for class cn.hutool.core.net.NetUtil
 
network - Variable in class cn.hutool.core.img.gif.NeuQuant
 
NeuQuant - Class in cn.hutool.core.img.gif
NeuQuant Neural-Net Quantization Algorithm
NeuQuant(byte[], int, int) - Constructor for class cn.hutool.core.img.gif.NeuQuant
 
newArray(Class<?>, int) - Static method in class cn.hutool.core.util.ArrayUtil
新建一个空数组
newArray(int) - Static method in class cn.hutool.core.util.ArrayUtil
新建一个空数组
newArrayList(T...) - Static method in class cn.hutool.core.collection.CollUtil
新建一个ArrayList
newArrayList(Collection<T>) - Static method in class cn.hutool.core.collection.CollUtil
新建一个ArrayList
newArrayList(Iterable<T>) - Static method in class cn.hutool.core.collection.CollUtil
新建一个ArrayList
提供的参数为null时返回空ArrayList
newArrayList(Iterator<T>) - Static method in class cn.hutool.core.collection.CollUtil
新建一个ArrayList
提供的参数为null时返回空ArrayList
newArrayList(Enumeration<T>) - Static method in class cn.hutool.core.collection.CollUtil
新建一个ArrayList
提供的参数为null时返回空ArrayList
newBigInteger(String) - Static method in class cn.hutool.core.util.NumberUtil
创建BigInteger,支持16进制、10进制和8进制,如果传入空白串返回null
from Apache Common Lang
newBlockingQueue(int, boolean) - Static method in class cn.hutool.core.collection.CollUtil
新建BlockingQueue
在队列为空时,获取元素的线程会等待队列变为非空。当队列满时,存储元素的线程会等待队列可用。
newCompletionService() - Static method in class cn.hutool.core.thread.ThreadUtil
新建一个CompletionService,调用其submit方法可以异步执行多个任务,最后调用take方法按照完成的顺序获得其结果。
若未完成,则会阻塞
newCompletionService(ExecutorService) - Static method in class cn.hutool.core.thread.ThreadUtil
新建一个CompletionService,调用其submit方法可以异步执行多个任务,最后调用take方法按照完成的顺序获得其结果。
若未完成,则会阻塞
newConcurrentHashMap() - Static method in class cn.hutool.core.map.MapUtil
新建一个初始容量为MapUtil.DEFAULT_INITIAL_CAPACITY 的ConcurrentHashMap
newConcurrentHashMap(int) - Static method in class cn.hutool.core.map.MapUtil
新建一个ConcurrentHashMap
newConcurrentHashMap(Map<K, V>) - Static method in class cn.hutool.core.map.MapUtil
传入一个Map将其转化为ConcurrentHashMap类型
newCondition() - Method in class cn.hutool.core.thread.lock.NoLock
 
newConnection() - Method in class cn.hutool.db.ds.pooled.PooledDataSource
创建新连接
newCopyOnWriteArrayList(Collection<T>) - Static method in class cn.hutool.core.collection.CollUtil
新建一个CopyOnWriteArrayList
newCountDownLatch(int) - Static method in class cn.hutool.core.thread.ThreadUtil
新建一个CountDownLatch,一个同步辅助类,在完成一组正在其他线程中执行的操作之前,它允许一个或多个线程一直等待。
newDialect(String) - Static method in class cn.hutool.db.dialect.DialectFactory
根据驱动名创建方言
驱动名是不分区大小写完全匹配的
newDialect(DataSource) - Static method in class cn.hutool.db.dialect.DialectFactory
创建方言
newDialect(Connection) - Static method in class cn.hutool.db.dialect.DialectFactory
创建方言
newerThan(File, File) - Static method in class cn.hutool.core.io.FileUtil
给定文件或目录的最后修改时间是否晚于给定时间
newerThan(File, long) - Static method in class cn.hutool.core.io.FileUtil
给定文件或目录的最后修改时间是否晚于给定时间
newExecutor(int) - Static method in class cn.hutool.core.thread.ThreadUtil
新建一个线程池,默认的策略如下:
newExecutor() - Static method in class cn.hutool.core.thread.ThreadUtil
获得一个新的线程池,默认的策略如下:
newExecutor(int, int) - Static method in class cn.hutool.core.thread.ThreadUtil
获得一个新的线程池
如果maximumPoolSize >= corePoolSize,在没有新任务加入的情况下,多出的线程将最多保留60s
newExecutor(int, int, int) - Static method in class cn.hutool.core.thread.ThreadUtil
获得一个新的线程池,并指定最大任务队列大小
如果maximumPoolSize >= corePoolSize,在没有新任务加入的情况下,多出的线程将最多保留60s
newExecutorByBlockingCoefficient(float) - Static method in class cn.hutool.core.thread.ThreadUtil
获得一个新的线程池
传入阻塞系数,线程池的大小计算公式为:CPU可用核心数 / (1 - 阻塞因子)
Blocking Coefficient(阻塞系数) = 阻塞时间/(阻塞时间+使用CPU的时间)
计算密集型任务的阻塞系数为0,而IO密集型任务的阻塞系数则接近于1。
newFIFOCache(int, long) - Static method in class cn.hutool.cache.CacheUtil
创建FIFO(first in first out) 先进先出缓存.
newFIFOCache(int) - Static method in class cn.hutool.cache.CacheUtil
创建FIFO(first in first out) 先进先出缓存.
newFile(String) - Static method in class cn.hutool.core.io.FileUtil
创建File对象,相当于调用new File(),不做任何处理
newFixedExecutor(int, String, boolean) - Static method in class cn.hutool.core.thread.ThreadUtil
获取一个新的线程池,默认的策略如下
newFixedExecutor(int, int, String, boolean) - Static method in class cn.hutool.core.thread.ThreadUtil
获取一个新的线程池,默认的策略如下
newFixedExecutor(int, int, String, RejectedExecutionHandler) - Static method in class cn.hutool.core.thread.ThreadUtil
获得一个新的线程池,默认策略如下
newHashMap() - Static method in class cn.hutool.core.map.MapUtil
新建一个HashMap
newHashMap(int, boolean) - Static method in class cn.hutool.core.map.MapUtil
新建一个HashMap
newHashMap(int) - Static method in class cn.hutool.core.map.MapUtil
新建一个HashMap
newHashMap(boolean) - Static method in class cn.hutool.core.map.MapUtil
新建一个HashMap
newHashSet(T...) - Static method in class cn.hutool.core.collection.CollUtil
新建一个HashSet
newHashSet(Collection<T>) - Static method in class cn.hutool.core.collection.CollUtil
新建一个HashSet
newHashSet(boolean, Collection<T>) - Static method in class cn.hutool.core.collection.CollUtil
新建一个HashSet
newHashSet(boolean, Iterator<T>) - Static method in class cn.hutool.core.collection.CollUtil
新建一个HashSet
newHashSet(boolean, Enumeration<T>) - Static method in class cn.hutool.core.collection.CollUtil
新建一个HashSet
newIdentityMap(int) - Static method in class cn.hutool.core.map.MapUtil
创建键不重复Map
newInstance(String) - Static method in class cn.hutool.core.util.ReflectUtil
实例化对象
newInstance(Class<T>, Object...) - Static method in class cn.hutool.core.util.ReflectUtil
实例化对象
newInstanceIfPossible(Class<T>) - Static method in class cn.hutool.core.util.ReflectUtil
尝试遍历并调用此类的所有构造方法,直到构造成功并返回
newLFUCache(int, long) - Static method in class cn.hutool.cache.CacheUtil
创建LFU(least frequently used) 最少使用率缓存.
newLFUCache(int) - Static method in class cn.hutool.cache.CacheUtil
创建LFU(least frequently used) 最少使用率缓存.
newLinkedHashSet(T...) - Static method in class cn.hutool.core.collection.CollUtil
新建一个LinkedHashSet
newLinkedList(T...) - Static method in class cn.hutool.core.collection.CollUtil
新建LinkedList
newLRUCache(int, long) - Static method in class cn.hutool.cache.CacheUtil
创建LRU (least recently used)最近最久未使用缓存.
newLRUCache(int) - Static method in class cn.hutool.cache.CacheUtil
创建LRU (least recently used)最近最久未使用缓存.
newMoneyWithSameCurrency(long) - Method in class cn.hutool.core.math.Money
创建一个币种相同,具有指定金额的货币对象。
newNamedThreadFactory(String, boolean) - Static method in class cn.hutool.core.thread.ThreadUtil
创建线程工厂
newNamedThreadFactory(String, ThreadGroup, boolean) - Static method in class cn.hutool.core.thread.ThreadUtil
创建线程工厂
newNamedThreadFactory(String, ThreadGroup, boolean, Thread.UncaughtExceptionHandler) - Static method in class cn.hutool.core.thread.ThreadUtil
创建线程工厂
newNoCache() - Static method in class cn.hutool.cache.CacheUtil
创建无缓存实现.
newProxyInstance(ClassLoader, InvocationHandler, Class<?>...) - Static method in class cn.hutool.aop.ProxyUtil
创建动态代理对象
动态代理对象的创建原理是:
假设创建的代理对象名为 $Proxy0
1、根据传入的interfaces动态生成一个类,实现interfaces中的接口
2、通过传入的classloder将刚生成的类加载到jvm中。即将$Proxy0类load
3、调用$Proxy0的$Proxy0(InvocationHandler)构造函数 创建$Proxy0的对象,并且用interfaces参数遍历其所有接口的方法,这些实现方法的实现本质上是通过反射调用被代理对象的方法
4、将$Proxy0的实例返回给客户端。
5、当调用代理类的相应方法时,相当于调用 InvocationHandler.invoke(Object, java.lang.reflect.Method, Object[]) 方法
newProxyInstance(InvocationHandler, Class<?>...) - Static method in class cn.hutool.aop.ProxyUtil
创建动态代理对象
newSession() - Static method in class cn.hutool.db.DbUtil
新建数据库会话,使用默认数据源
newSession(DataSource) - Static method in class cn.hutool.db.DbUtil
新建数据库会话
newSimpleFormat(String) - Static method in class cn.hutool.core.date.DateUtil
创建SimpleDateFormat,注意此对象非线程安全!
此对象默认为严格格式模式,即parse时如果格式不正确会报错。
newSimpleFormat(String, Locale, TimeZone) - Static method in class cn.hutool.core.date.DateUtil
创建SimpleDateFormat,注意此对象非线程安全!
此对象默认为严格格式模式,即parse时如果格式不正确会报错。
newSingleExecutor() - Static method in class cn.hutool.core.thread.ThreadUtil
获得一个新的线程池,只有单个线程,策略如下:
newSqlConnRunner(Dialect) - Static method in class cn.hutool.db.DbUtil
实例化一个新的SQL运行对象
newSqlConnRunner(DataSource) - Static method in class cn.hutool.db.DbUtil
实例化一个新的SQL运行对象
newSqlConnRunner(Connection) - Static method in class cn.hutool.db.DbUtil
实例化一个新的SQL运行对象
newThread(Runnable) - Method in class cn.hutool.core.thread.NamedThreadFactory
 
newThread(Runnable, String) - Static method in class cn.hutool.core.thread.ThreadUtil
创建新线程,非守护线程,正常优先级,线程组与当前线程的线程组一致
newThread(Runnable, String, boolean) - Static method in class cn.hutool.core.thread.ThreadUtil
创建新线程
newTimedCache(long, long) - Static method in class cn.hutool.cache.CacheUtil
创建定时缓存,通过定时任务自动清除过期缓存对象
newTimedCache(long) - Static method in class cn.hutool.cache.CacheUtil
创建定时缓存.
newTreeMap(Comparator<? super K>) - Static method in class cn.hutool.core.map.MapUtil
新建TreeMap,Key有序的Map
newTreeMap(Map<K, V>, Comparator<? super K>) - Static method in class cn.hutool.core.map.MapUtil
新建TreeMap,Key有序的Map
newWeakCache(long) - Static method in class cn.hutool.cache.CacheUtil
创建弱引用缓存.
next() - Method in class cn.hutool.cache.impl.CacheObjIterator
 
next() - Method in class cn.hutool.cache.impl.CacheValuesIterator
 
next() - Method in class cn.hutool.core.collection.ArrayIter
 
next() - Method in class cn.hutool.core.collection.ComputeIter
 
next() - Method in class cn.hutool.core.collection.CopiedIter
 
next() - Method in class cn.hutool.core.collection.EnumerationIter
 
next() - Method in class cn.hutool.core.collection.FilterIter
 
next() - Method in class cn.hutool.core.collection.IterChain
 
next() - Method in class cn.hutool.core.collection.NodeListIter
 
next() - Method in class cn.hutool.core.collection.PartitionIter
 
next() - Method in class cn.hutool.core.collection.TransIter
 
next() - Method in class cn.hutool.core.io.resource.MultiResource
 
next() - Method in interface cn.hutool.core.lang.generator.Generator
生成新的对象
next() - Method in class cn.hutool.core.lang.generator.ObjectGenerator
 
next() - Method in class cn.hutool.core.lang.generator.ObjectIdGenerator
 
next() - Method in class cn.hutool.core.lang.generator.SnowflakeGenerator
 
next() - Method in class cn.hutool.core.lang.generator.UUIDGenerator
 
next() - Static method in class cn.hutool.core.lang.ObjectId
获取一个objectId用下划线分割
next(boolean) - Static method in class cn.hutool.core.lang.ObjectId
获取一个objectId
next() - Method in class cn.hutool.core.lang.Range
 
next() - Method in class cn.hutool.core.lang.WeightRandom
下一个随机对象
next - Variable in class cn.hutool.cron.timingwheel.TimerTask
下一个节点
next() - Method in class cn.hutool.extra.tokenizer.engine.ansj.AnsjResult
 
next() - Method in class cn.hutool.extra.tokenizer.engine.hanlp.HanLPResult
 
next() - Method in class cn.hutool.extra.tokenizer.engine.jieba.JiebaResult
 
next() - Method in class cn.hutool.extra.tokenizer.engine.mynlp.MynlpResult
 
next() - Method in class cn.hutool.extra.tokenizer.engine.word.WordResult
 
next() - Method in class cn.hutool.json.JSONTokener
获得源字符串中的下一个字符
next(char) - Method in class cn.hutool.json.JSONTokener
读取下一个字符,并比对是否和指定字符匹配
next(int) - Method in class cn.hutool.json.JSONTokener
获得接下来的n个字符
nextAfter(int) - Method in class cn.hutool.cron.pattern.matcher.AlwaysTrueMatcher
 
nextAfter(int) - Method in class cn.hutool.cron.pattern.matcher.BoolArrayMatcher
 
nextAfter(int) - Method in interface cn.hutool.cron.pattern.matcher.PartMatcher
获取指定值之后的匹配值,也可以是指定值本身
nextAfter(int) - Method in class cn.hutool.cron.pattern.matcher.YearValueMatcher
 
nextBytes() - Static method in class cn.hutool.core.lang.ObjectId
获取一个objectId的bytes表现形式
nextCDATA() - Method in class cn.hutool.json.XMLTokener
Get the text in the CDATA block.
nextClean() - Method in class cn.hutool.json.JSONTokener
获得下一个字符,跳过空白符
nextContent() - Method in class cn.hutool.json.XMLTokener
Get the next XML outer token, trimming whitespace.
nextDateAfter(CronPattern, Date, boolean) - Static method in class cn.hutool.cron.pattern.CronPatternUtil
列举指定日期之后内第一个匹配表达式的日期
nextElement() - Method in class cn.hutool.core.collection.IteratorEnumeration
 
nextEntity(char) - Method in class cn.hutool.json.XMLTokener
Return the next entity.
nextId() - Method in class cn.hutool.core.lang.Snowflake
下一个ID
nextIdStr() - Method in class cn.hutool.core.lang.Snowflake
下一个ID(字符串形式)
nextMatchAfter(Calendar) - Method in class cn.hutool.cron.pattern.CronPattern
返回匹配到的下一个时间
nextMatchAfter(int[], TimeZone) - Method in class cn.hutool.cron.pattern.matcher.PatternMatcher
获取下一个匹配日期时间
获取方法是,先从年开始查找对应部分的下一个值: 如果此部分下个值不变,获取下一个部分 如果此部分下个值大于给定值,以下所有值置为最小值 如果此部分下个值小于给定值,回退到上一个值获取下一个新值,之后的值置为最小值
nextMeta() - Method in class cn.hutool.json.XMLTokener
Returns the next XML meta token.
nextMonth() - Static method in class cn.hutool.core.date.DateUtil
下个月
nextRow() - Method in class cn.hutool.core.text.csv.CsvParser
读取下一行数据
nextString(char) - Method in class cn.hutool.json.JSONTokener
返回当前位置到指定引号前的所有字符,反斜杠的转义符也会被处理。
标准的JSON是不允许使用单引号包含字符串的,但是此实现允许。
nextStringValue() - Method in class cn.hutool.json.JSONTokener
获取下一个String格式的值,用户获取key
nextTo(char) - Method in class cn.hutool.json.JSONTokener
Get the text up but not including the specified character or the end of line, whichever comes first.
nextTo(String) - Method in class cn.hutool.json.JSONTokener
Get the text up but not including one of the specified delimiter characters or the end of line, whichever comes first.
nextToken() - Method in class cn.hutool.json.XMLTokener
Get the next XML Token.
nextValue() - Method in class cn.hutool.json.JSONTokener
获得下一个值,值类型可以是Boolean, Double, Integer, JSONArray, JSONObject, Long, or String, or the JSONObject.NULL
nextWeek() - Static method in class cn.hutool.core.date.DateUtil
下周
nextWord() - Method in class cn.hutool.extra.tokenizer.AbstractResult
下一个单词,通过实现此方法获取下一个单词,null表示无下一个结果。
nextWord() - Method in class cn.hutool.extra.tokenizer.engine.analysis.AnalysisResult
 
nextWord() - Method in class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerResult
 
nextWord() - Method in class cn.hutool.extra.tokenizer.engine.jcseg.JcsegResult
 
nextWord() - Method in class cn.hutool.extra.tokenizer.engine.mmseg.MmsegResult
 
NioClient - Class in cn.hutool.socket.nio
NIO客户端
NioClient(String, int) - Constructor for class cn.hutool.socket.nio.NioClient
构造
NioClient(InetSocketAddress) - Constructor for class cn.hutool.socket.nio.NioClient
构造
NioServer - Class in cn.hutool.socket.nio
基于NIO的Socket服务端实现
NioServer(int) - Constructor for class cn.hutool.socket.nio.NioServer
构造
NioUtil - Class in cn.hutool.core.io
NIO相关工具封装,主要针对Channel读写、拷贝等封装
NioUtil() - Constructor for class cn.hutool.core.io.NioUtil
 
NioUtil - Class in cn.hutool.socket.nio
NIO工具类
NioUtil() - Constructor for class cn.hutool.socket.nio.NioUtil
 
NO_POI_ERROR_MSG - Static variable in class cn.hutool.poi.PoiChecker
没有引入POI的错误消息
NoCache<K,V> - Class in cn.hutool.cache.impl
无缓存实现,用于快速关闭缓存
NoCache() - Constructor for class cn.hutool.cache.impl.NoCache
 
Node<T> - Interface in cn.hutool.core.lang.tree
节点接口,提供节点相关的的方法定义
node() - Method in class cn.hutool.core.lang.UUID
与此 UUID 相关的节点值。
NodeListIter - Class in cn.hutool.core.collection
包装 NodeListIterator
NodeListIter(NodeList) - Constructor for class cn.hutool.core.collection.NodeListIter
构造, 根据给定NodeList 创建NodeListIterator
NodeParser<T,E> - Interface in cn.hutool.core.lang.tree.parser
树节点解析器 可以参考DefaultNodeParser
NoLock - Class in cn.hutool.core.thread.lock
无锁实现
NoLock() - Constructor for class cn.hutool.core.thread.lock.NoLock
 
none() - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
无签名
NONE - Static variable in class cn.hutool.jwt.signers.NoneJWTSigner
 
NoneJWTSigner - Class in cn.hutool.jwt.signers
无需签名的JWT签名器
NoneJWTSigner() - Constructor for class cn.hutool.jwt.signers.NoneJWTSigner
 
noNullElements(T[], Supplier<X>) - Static method in class cn.hutool.core.lang.Assert
断言给定数组是否不包含null元素,如果数组为空或 null将被认为不包含 并使用指定的函数获取错误信息返回
 Assert.noNullElements(array, ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return ");
  });
noNullElements(T[], String, Object...) - Static method in class cn.hutool.core.lang.Assert
断言给定数组是否不包含null元素,如果数组为空或 null将被认为不包含
 Assert.noNullElements(array, "The array must not have null elements");
noNullElements(T[]) - Static method in class cn.hutool.core.lang.Assert
断言给定数组是否不包含null元素,如果数组为空或 null将被认为不包含
 Assert.noNullElements(array);
NoReadWriteLock - Class in cn.hutool.core.thread.lock
无锁的读写锁实现
NoReadWriteLock() - Constructor for class cn.hutool.core.thread.lock.NoReadWriteLock
 
NoResourceException - Exception in cn.hutool.core.io.resource
资源文件或资源不存在异常
NoResourceException(Throwable) - Constructor for exception cn.hutool.core.io.resource.NoResourceException
 
NoResourceException(String) - Constructor for exception cn.hutool.core.io.resource.NoResourceException
 
NoResourceException(String, Object...) - Constructor for exception cn.hutool.core.io.resource.NoResourceException
 
NoResourceException(String, Throwable) - Constructor for exception cn.hutool.core.io.resource.NoResourceException
 
NoResourceException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.io.resource.NoResourceException
 
NORM_DATE_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyy-MM-dd
NORM_DATE_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyy-MM-dd
NORM_DATE_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
标准日期格式:yyyy-MM-dd
NORM_DATETIME_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
标准日期时间格式,精确到秒 FastDateFormat:yyyy-MM-dd HH:mm:ss
NORM_DATETIME_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
标准日期时间格式,精确到秒 FastDateFormat:yyyy-MM-dd HH:mm:ss
NORM_DATETIME_MINUTE_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
标准日期时间格式,精确到分 FastDateFormat:yyyy-MM-dd HH:mm
NORM_DATETIME_MINUTE_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyy-MM-dd HH:mm
NORM_DATETIME_MINUTE_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
标准日期时间格式,精确到分:yyyy-MM-dd HH:mm
NORM_DATETIME_MS_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
标准日期时间格式,精确到毫秒 FastDateFormat:yyyy-MM-dd HH:mm:ss.SSS
NORM_DATETIME_MS_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
标准日期时间格式,精确到毫秒 FastDateFormat:yyyy-MM-dd HH:mm:ss.SSS
NORM_DATETIME_MS_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
标准日期时间格式,精确到毫秒:yyyy-MM-dd HH:mm:ss.SSS
NORM_DATETIME_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
标准日期时间格式,精确到秒:yyyy-MM-dd HH:mm:ss
NORM_MONTH_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
年月格式 FastDateFormat:yyyy-MM
NORM_MONTH_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
年月格式 FastDateFormat:yyyy-MM
NORM_MONTH_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
年月格式:yyyy-MM
NORM_TIME_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
标准时间格式 FastDateFormat:HH:mm:ss
NORM_TIME_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:HH:mm:ss
NORM_TIME_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
标准时间格式:HH:mm:ss
NORM_YEAR_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
年格式:yyyy
normalize(String) - Static method in class cn.hutool.core.io.FileUtil
修复路径
如果原路径尾部有分隔符,则保留为标准分隔符(/),否则不保留 1.
normalize(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
对字符串归一化处理,如 "Á" 可以使用 "u00C1"或 "u0041u0301"表示,实际测试中两个字符串并不equals
因此使用此方法归一为一种表示形式,默认按照W3C通常建议的,在NFC中交换文本。
normalize(String) - Static method in class cn.hutool.core.util.URLUtil
标准化URL字符串,包括: 自动补齐“http://”头 去除开头的\或者/ 替换\为/
normalize(String, boolean) - Static method in class cn.hutool.core.util.URLUtil
标准化URL字符串,包括: 自动补齐“http://”头 去除开头的\或者/ 替换\为/
normalize(String, boolean, boolean) - Static method in class cn.hutool.core.util.URLUtil
标准化URL字符串,包括: 自动补齐“http://”头 去除开头的\或者/ 替换\为/ 如果replaceSlash为true,则替换多个/为一个
normalizeParams(String, Charset) - Static method in class cn.hutool.http.HttpUtil
标准化参数字符串,即URL中?后的部分
NOT_BEFORE - Static variable in interface cn.hutool.jwt.RegisteredPayload
生效时间,定义在什么时间之前,该jwt都是不可用的.
notBlank(T, Supplier<X>) - Static method in class cn.hutool.core.lang.Assert
检查给定字符串是否为空白(null、空串或只包含空白符),为空抛出自定义异常。 并使用指定的函数获取错误信息返回
 Assert.notBlank(name, ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return");
  });
notBlank(T, String, Object...) - Static method in class cn.hutool.core.lang.Assert
检查给定字符串是否为空白(null、空串或只包含空白符),为空抛出 IllegalArgumentException
 Assert.notBlank(name, "Name must not be blank");
notBlank(T) - Static method in class cn.hutool.core.lang.Assert
检查给定字符串是否为空白(null、空串或只包含空白符),为空抛出 IllegalArgumentException
 Assert.notBlank(name);
notContain(CharSequence, T, Supplier<X>) - Static method in class cn.hutool.core.lang.Assert
断言给定字符串是否不被另一个字符串包含(即是否为子串) 并使用指定的函数获取错误信息返回
 Assert.notContain(name, "rod", ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return ");
  });
notContain(String, String, String, Object...) - Static method in class cn.hutool.core.lang.Assert
断言给定字符串是否不被另一个字符串包含(即是否为子串)
 Assert.notContain(name, "rod", "Name must not contain 'rod'");
notContain(String, String) - Static method in class cn.hutool.core.lang.Assert
断言给定字符串是否不被另一个字符串包含(即是否为子串)
 Assert.notContain(name, "rod");
notContains(Class<E>, String) - Static method in class cn.hutool.core.util.EnumUtil
判断某个值是不存在枚举中
notEmpty(T, Supplier<X>) - Static method in class cn.hutool.core.lang.Assert
检查给定字符串是否为空,为空抛出自定义异常,并使用指定的函数获取错误信息返回。
 Assert.notEmpty(name, ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return");
  });
notEmpty(T, String, Object...) - Static method in class cn.hutool.core.lang.Assert
检查给定字符串是否为空,为空抛出 IllegalArgumentException
 Assert.notEmpty(name, "Name must not be empty");
notEmpty(T) - Static method in class cn.hutool.core.lang.Assert
检查给定字符串是否为空,为空抛出 IllegalArgumentException
 Assert.notEmpty(name);
notEmpty(T[], Supplier<X>) - Static method in class cn.hutool.core.lang.Assert
断言给定数组是否包含元素,数组必须不为 null 且至少包含一个元素 并使用指定的函数获取错误信息返回
 Assert.notEmpty(array, ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return");
  });
notEmpty(T[], String, Object...) - Static method in class cn.hutool.core.lang.Assert
断言给定数组是否包含元素,数组必须不为 null 且至少包含一个元素
 Assert.notEmpty(array, "The array must have elements");
notEmpty(T[]) - Static method in class cn.hutool.core.lang.Assert
断言给定数组是否包含元素,数组必须不为 null 且至少包含一个元素
 Assert.notEmpty(array, "The array must have elements");
notEmpty(T, Supplier<X>) - Static method in class cn.hutool.core.lang.Assert
断言给定集合非空 并使用指定的函数获取错误信息返回
 Assert.notEmpty(collection, ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return");
  });
notEmpty(T, String, Object...) - Static method in class cn.hutool.core.lang.Assert
断言给定集合非空
 Assert.notEmpty(collection, "Collection must have elements");
notEmpty(T) - Static method in class cn.hutool.core.lang.Assert
断言给定集合非空
 Assert.notEmpty(collection);
notEmpty(T, Supplier<X>) - Static method in class cn.hutool.core.lang.Assert
断言给定Map非空 并使用指定的函数获取错误信息返回
 Assert.notEmpty(map, ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return");
  });
notEmpty(T, String, Object...) - Static method in class cn.hutool.core.lang.Assert
断言给定Map非空
 Assert.notEmpty(map, "Map must have entries");
notEmpty(T) - Static method in class cn.hutool.core.lang.Assert
断言给定Map非空
 Assert.notEmpty(map, "Map must have entries");
notEqual(Object, Object) - Static method in class cn.hutool.core.util.ObjectUtil
比较两个对象是否不相等。
notEquals(Object, Object) - Static method in class cn.hutool.core.lang.Assert
断言两个对象是否不相等,如果两个对象相等 抛出IllegalArgumentException 异常
   Assert.notEquals(obj1,obj2);
notEquals(Object, Object, String, Object...) - Static method in class cn.hutool.core.lang.Assert
断言两个对象是否不相等,如果两个对象相等 抛出IllegalArgumentException 异常
   Assert.notEquals(obj1,obj2,"obj1 must be not equals obj2");
notEquals(Object, Object, Supplier<X>) - Static method in class cn.hutool.core.lang.Assert
断言两个对象是否不相等,如果两个对象相等,抛出指定类型异常,并使用指定的函数获取错误信息返回
NOTHING - Static variable in interface cn.hutool.core.annotation.scanner.AnnotationScanner
不扫描任何注解
notifyExecutorCompleted(TaskExecutor) - Method in class cn.hutool.cron.TaskExecutorManager
执行器执行完毕调用此方法,将执行器从执行器列表移除,此方法由TaskExecutor对象调用,用于通知管理器自身已完成执行
notifyLauncherCompleted(TaskLauncher) - Method in class cn.hutool.cron.TaskLauncherManager
启动器启动完毕,启动完毕后从执行器列表中移除
notifyTaskFailed(TaskExecutor, Throwable) - Method in class cn.hutool.cron.listener.TaskListenerManager
通知所有监听任务启动器结束并失败
无监听将打印堆栈到命令行
notifyTaskStart(TaskExecutor) - Method in class cn.hutool.cron.listener.TaskListenerManager
通知所有监听任务启动器启动
notifyTaskSucceeded(TaskExecutor) - Method in class cn.hutool.cron.listener.TaskListenerManager
通知所有监听任务启动器成功结束
NotInitedException - Exception in cn.hutool.core.exceptions
未初始化异常
NotInitedException(Throwable) - Constructor for exception cn.hutool.core.exceptions.NotInitedException
 
NotInitedException(String) - Constructor for exception cn.hutool.core.exceptions.NotInitedException
 
NotInitedException(String, Object...) - Constructor for exception cn.hutool.core.exceptions.NotInitedException
 
NotInitedException(String, Throwable) - Constructor for exception cn.hutool.core.exceptions.NotInitedException
 
NotInitedException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.core.exceptions.NotInitedException
 
NotInitedException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.exceptions.NotInitedException
 
notNull(T, Supplier<X>) - Static method in class cn.hutool.core.lang.Assert
断言对象是否不为null ,如果为null 抛出指定类型异常 并使用指定的函数获取错误信息返回
 Assert.notNull(clazz, ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return");
  });
notNull(T, String, Object...) - Static method in class cn.hutool.core.lang.Assert
断言对象是否不为null ,如果为null 抛出IllegalArgumentException 异常 Assert that an object is not null .
notNull(T) - Static method in class cn.hutool.core.lang.Assert
断言对象是否不为null ,如果为null 抛出IllegalArgumentException 异常
 Assert.notNull(clazz);
now() - Static method in class cn.hutool.core.date.DateTime
现在的时间
now() - Static method in class cn.hutool.core.date.DateUtil
当前时间,格式 yyyy-MM-dd HH:mm:ss
now() - Static method in class cn.hutool.core.date.LocalDateTimeUtil
当前时间,默认时区
now() - Static method in class cn.hutool.core.date.SystemClock
 
nowDate() - Static method in class cn.hutool.core.date.SystemClock
 
NULL - Static variable in class cn.hutool.core.text.CharSequenceUtil
字符串常量:"null"
注意:"null" != null
NULL - Static variable in class cn.hutool.json.JSONNull
NULL 对象用于减少歧义来表示Java 中的null
NULL.equals(null) 返回 true.
null2Zero(BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
Deprecated.
NULL_OUTPUT_STREAM - Static variable in class cn.hutool.core.io.NullOutputStream
单例
NullCell - Class in cn.hutool.poi.excel.cell
当单元格不存在时使用此对象表示,得到的值都为null,此对象只用于标注单元格所在位置信息。
NullCell(Row, int) - Constructor for class cn.hutool.poi.excel.cell.NullCell
构造
NullCellSetter - Class in cn.hutool.poi.excel.cell.setters
Number 值单元格设置器
NullCellSetter() - Constructor for class cn.hutool.poi.excel.cell.setters.NullCellSetter
 
NullComparator<T> - Class in cn.hutool.core.comparator
null友好的比较器包装,如果nullGreater,则null > non-null,否则反之。
如果二者皆为null,则为相等,返回0。
如果二者都非null,则使用传入的比较器排序。
传入比较器为null,则看被比较的两个对象是否都实现了Comparable实现则调用Comparable.compareTo(Object)。 如果两者至少一个未实现,则视为所有元素相等。
NullComparator(boolean, Comparator<? super T>) - Constructor for class cn.hutool.core.comparator.NullComparator
构造
nullGreater - Variable in class cn.hutool.core.comparator.NullComparator
 
NullOutputStream - Class in cn.hutool.core.io
此OutputStream写出数据到/dev/null,即忽略所有数据
来自 Apache Commons io
NullOutputStream() - Constructor for class cn.hutool.core.io.NullOutputStream
 
nullToDefault(CharSequence, String) - Static method in class cn.hutool.core.text.CharSequenceUtil
如果字符串是 null,则返回指定默认字符串,否则返回字符串本身。
nullToEmpty(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
当给定字符串为null时,转换为Empty
nullToEmpty(String[]) - Static method in class cn.hutool.core.util.ArrayUtil
数组元素中的null转换为""
nullToZero(Integer) - Static method in class cn.hutool.core.util.NumberUtil
如果给定值为null,返回0,否则返回原值
nullToZero(Long) - Static method in class cn.hutool.core.util.NumberUtil
如果给定值为null,返回0,否则返回原值
nullToZero(Double) - Static method in class cn.hutool.core.util.NumberUtil
如果给定值为null,返回0,否则返回原值
nullToZero(Float) - Static method in class cn.hutool.core.util.NumberUtil
如果给定值为null,返回0,否则返回原值
nullToZero(Short) - Static method in class cn.hutool.core.util.NumberUtil
如果给定值为null,返回0,否则返回原值
nullToZero(Byte) - Static method in class cn.hutool.core.util.NumberUtil
如果给定值为null,返回0,否则返回原值
nullToZero(BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
如果给定值为null,返回0,否则返回原值
nullToZero(BigInteger) - Static method in class cn.hutool.core.util.NumberUtil
如果给定值为null,返回0,否则返回原值
NullWrapperBean<T> - Class in cn.hutool.core.bean
为了解决反射过程中,需要传递null参数,但是会丢失参数类型而设立的包装类
NullWrapperBean(Class<T>) - Constructor for class cn.hutool.core.bean.NullWrapperBean
 
Number128 - Class in cn.hutool.core.lang.hash
128位数字表示,分高位和低位
Number128(long, long) - Constructor for class cn.hutool.core.lang.hash.Number128
构造
NumberCellSetter - Class in cn.hutool.poi.excel.cell.setters
Number 值单元格设置器
numberCharToChinese(char, boolean) - Static method in class cn.hutool.core.convert.NumberChineseFormatter
数字字符转中文,非数字字符原样返回
NumberChineseFormatter - Class in cn.hutool.core.convert
数字转中文类
包括:
NumberChineseFormatter() - Constructor for class cn.hutool.core.convert.NumberChineseFormatter
 
NumberConverter - Class in cn.hutool.core.convert.impl
数字转换器
支持类型为:
java.lang.Byte java.lang.Short java.lang.Integer java.util.concurrent.atomic.AtomicInteger java.lang.Long java.util.concurrent.atomic.AtomicLong java.lang.Float java.lang.Double java.math.BigDecimal java.math.BigInteger
NumberConverter() - Constructor for class cn.hutool.core.convert.impl.NumberConverter
构造
NumberConverter(Class<? extends Number>) - Constructor for class cn.hutool.core.convert.impl.NumberConverter
构造
NumberHandler - Class in cn.hutool.db.handler
处理为数字结果,当查询结果为单个数字时使用此处理器(例如select count(1))
NumberHandler() - Constructor for class cn.hutool.db.handler.NumberHandler
 
NUMBERS - Static variable in class cn.hutool.core.lang.PatternPool
数字
NUMBERS - Static variable in interface cn.hutool.core.lang.RegexPool
数字
NUMBERS - Static variable in class cn.hutool.core.lang.Validator
数字
numberToBytes(Number) - Static method in class cn.hutool.core.util.ByteUtil
Number转换为
numberToBytes(Number, ByteOrder) - Static method in class cn.hutool.core.util.ByteUtil
Number转换为
numberToChinese(double, boolean) - Static method in class cn.hutool.core.convert.Convert
将阿拉伯数字转为中文表达方式
numberToSimple(Number) - Static method in class cn.hutool.core.convert.Convert
将阿拉伯数字转为精简表示形式,例如:
numberToWord(Number) - Static method in class cn.hutool.core.convert.Convert
将阿拉伯数字转为英文表达方式
NumberUtil - Class in cn.hutool.core.util
数字工具类
对于精确值计算应该使用 BigDecimal
JDK7中BigDecimal(double val)构造方法的结果有一定的不可预知性,例如:
NumberUtil() - Constructor for class cn.hutool.core.util.NumberUtil
 
NumberWithFormat - Class in cn.hutool.core.convert
包含格式的数字转换器,主要针对带格式的时间戳
NumberWithFormat(Number, String) - Constructor for class cn.hutool.core.convert.NumberWithFormat
构造
NumberWordFormatter - Class in cn.hutool.core.convert
将浮点数类型的number转换成英语的表达方式
参考博客:http://blog.csdn.net/eric_sunah/article/details/8713226
本质上此类为金额转英文表达,因此没有四舍五入考虑,小数点超过两位直接忽略。
NumberWordFormatter() - Constructor for class cn.hutool.core.convert.NumberWordFormatter
 
NumericCellValue - Class in cn.hutool.poi.excel.cell.values
数字类型单元格值
单元格值可能为Long、Double、Date
NumericCellValue(Cell) - Constructor for class cn.hutool.poi.excel.cell.values.NumericCellValue
构造
NumericEntityUnescaper - Class in cn.hutool.core.text.escape
形如'的反转义器
NumericEntityUnescaper() - Constructor for class cn.hutool.core.text.escape.NumericEntityUnescaper
 
NumericToIntEditor - Class in cn.hutool.poi.excel.editors
POI中NUMRIC类型的值默认返回的是Double类型,此编辑器用于转换其为int型
NumericToIntEditor() - Constructor for class cn.hutool.poi.excel.editors.NumericToIntEditor
 

O

obj - Variable in class cn.hutool.cache.impl.CacheObj
 
ObjectGenerator<T> - Class in cn.hutool.core.lang.generator
对象生成器,通过指定对象的Class类型,调用next方法时生成新的对象。
ObjectGenerator(Class<T>) - Constructor for class cn.hutool.core.lang.generator.ObjectGenerator
构造
ObjectId - Class in cn.hutool.core.lang
MongoDB ID生成策略实现
ObjectId由以下几部分组成:
ObjectId() - Constructor for class cn.hutool.core.lang.ObjectId
 
objectId() - Static method in class cn.hutool.core.util.IdUtil
创建MongoDB ID生成策略实现
ObjectId由以下几部分组成:
ObjectIdGenerator - Class in cn.hutool.core.lang.generator
ObjectId生成器
ObjectIdGenerator() - Constructor for class cn.hutool.core.lang.generator.ObjectIdGenerator
 
ObjectMapper - Class in cn.hutool.json
对象和JSON映射器,用于转换对象为JSON,支持: Map 转 JSONObject,将键值对加入JSON对象 Map.Entry 转 JSONObject CharSequence 转 JSONObject,使用JSONTokener解析 Reader 转 JSONObject,使用JSONTokener解析 InputStream 转 JSONObject,使用JSONTokener解析 JSONTokener 转 JSONObject,直接解析 ResourceBundle 转 JSONObject Bean 转 JSONObject,调用其getters方法(getXXX或者isXXX)获得值,加入到JSON对象。例如:如果JavaBean对象中有个方法getName(),值为"张三",获得的键值对为:name: "张三"
ObjectMapper(Object) - Constructor for class cn.hutool.json.ObjectMapper
构造
ObjectUtil - Class in cn.hutool.core.util
对象工具类,包括判空、克隆、序列化等操作
ObjectUtil() - Constructor for class cn.hutool.core.util.ObjectUtil
 
ObjUtil - Class in cn.hutool.core.util
对象工具类,同ObjectUtil
从6.x开始,将删除ObjectUtil,而使用ObjUtil
ObjUtil() - Constructor for class cn.hutool.core.util.ObjUtil
 
of(AnnotatedElement, Predicate<Annotation>) - Static method in class cn.hutool.core.annotation.CombinationAnnotationElement
创建CombinationAnnotationElement
of(Supplier<T>) - Static method in class cn.hutool.core.builder.GenericBuilder
通过无参数实例化器创建GenericBuilder
of(Supplier1<T, P1>, P1) - Static method in class cn.hutool.core.builder.GenericBuilder
通过1参数实例化器创建GenericBuilder
of(Supplier2<T, P1, P2>, P1, P2) - Static method in class cn.hutool.core.builder.GenericBuilder
通过2参数实例化器创建GenericBuilder
of(Supplier3<T, P1, P2, P3>, P1, P2, P3) - Static method in class cn.hutool.core.builder.GenericBuilder
通过3参数实例化器创建GenericBuilder
of(Supplier4<T, P1, P2, P3, P4>, P1, P2, P3, P4) - Static method in class cn.hutool.core.builder.GenericBuilder
通过4参数实例化器创建GenericBuilder
of(Supplier5<T, P1, P2, P3, P4, P5>, P1, P2, P3, P4, P5) - Static method in class cn.hutool.core.builder.GenericBuilder
通过5参数实例化器创建GenericBuilder
of(PercentCodec) - Static method in class cn.hutool.core.codec.PercentCodec
从已知PercentCodec创建PercentCodec,会复制给定PercentCodec的安全字符
of(CharSequence) - Static method in class cn.hutool.core.codec.PercentCodec
创建PercentCodec,使用指定字符串中的字符作为安全字符
of(T...) - Static method in class cn.hutool.core.collection.ListUtil
数组转为一个不可变List
类似于Java9中的List.of
of(Comparator<E>) - Static method in class cn.hutool.core.comparator.ComparatorChain
of(Comparator<E>, boolean) - Static method in class cn.hutool.core.comparator.ComparatorChain
of(Comparator<E>...) - Static method in class cn.hutool.core.comparator.ComparatorChain
of(List<Comparator<E>>) - Static method in class cn.hutool.core.comparator.ComparatorChain
of(List<Comparator<E>>, BitSet) - Static method in class cn.hutool.core.comparator.ComparatorChain
of(InputStream, OutputStream, boolean) - Static method in class cn.hutool.core.compress.Deflate
创建Deflate
of(InputStream, OutputStream) - Static method in class cn.hutool.core.compress.Gzip
创建Gzip
of(File, Charset) - Static method in class cn.hutool.core.compress.ZipReader
创建ZipReader
of(InputStream, Charset) - Static method in class cn.hutool.core.compress.ZipReader
创建ZipReader
of(File, Charset) - Static method in class cn.hutool.core.compress.ZipWriter
创建ZipWriter
of(OutputStream, Charset) - Static method in class cn.hutool.core.compress.ZipWriter
创建ZipWriter
of(int) - Static method in enum cn.hutool.core.date.DateField
Calendar相关值转换为DatePart枚举对象
of(long) - Static method in class cn.hutool.core.date.DateTime
转换时间戳为 DateTime
of(Date) - Static method in class cn.hutool.core.date.DateTime
转换JDK date为 DateTime
of(Calendar) - Static method in class cn.hutool.core.date.DateTime
转换 Calendar 为 DateTime
of(String, String) - Static method in class cn.hutool.core.date.DateTime
构造
of(ChronoUnit) - Static method in enum cn.hutool.core.date.DateUnit
单位兼容转换,将ChronoUnit转换为对应的DateUnit
of(Instant) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
InstantLocalDateTime,使用默认时区
of(ZonedDateTime) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
of(Instant, ZoneId) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
of(Instant, TimeZone) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
of(long) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
毫秒转LocalDateTime,使用默认时区
of(long, ZoneId) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
毫秒转LocalDateTime,根据时区不同,结果会产生时间偏移
of(long, TimeZone) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
毫秒转LocalDateTime,结果会产生时间偏移
of(Date) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
DateLocalDateTime,使用默认时区
of(TemporalAccessor) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
TemporalAccessorLocalDateTime,使用默认时区
of(int) - Static method in enum cn.hutool.core.date.Month
Calendar月份相关值转换为Month枚举对象
未找到返回null
of(String) - Static method in enum cn.hutool.core.date.Month
解析别名为Month对象,别名如:jan或者JANUARY,不区分大小写
of(Month) - Static method in enum cn.hutool.core.date.Month
Month转换为Month对象
of(int) - Static method in enum cn.hutool.core.date.Quarter
将 季度int转换为Season枚举对象
of(int) - Static method in enum cn.hutool.core.date.Week
Calendar星期相关值转换为Week枚举对象
of(String) - Static method in enum cn.hutool.core.date.Week
解析别名为Week对象,别名如:sun或者SUNDAY,不区分大小写
of(DayOfWeek) - Static method in enum cn.hutool.core.date.Week
DayOfWeek星期相关值转换为Week枚举对象
of(Path, Path, boolean) - Static method in class cn.hutool.core.io.file.PathMover
创建文件或目录移动器
of(Path, Path, CopyOption[]) - Static method in class cn.hutool.core.io.file.PathMover
创建文件或目录移动器
of(long, DataUnit) - Static method in class cn.hutool.core.io.unit.DataSize
获得指定DataUnit对应的DataSize
of(BigDecimal, DataUnit) - Static method in class cn.hutool.core.io.unit.DataSize
获得指定DataUnit对应的DataSize
of(int) - Static method in enum cn.hutool.core.lang.ansi.AnsiColors.BitDepth
 
of(Pair<String, Object>...) - Static method in class cn.hutool.core.lang.Dict
根据给定的Pair数组创建Dict对象
of(Object...) - Static method in class cn.hutool.core.lang.Dict
根据给定的键值对数组创建Dict对象,传入参数必须为key,value,key,value...
of(T) - Static method in class cn.hutool.core.lang.mutable.MutableObj
构建MutableObj
of(T) - Static method in class cn.hutool.core.lang.Opt
返回一个包裹里元素不可能为空的Opt
of(K, V) - Static method in class cn.hutool.core.lang.Pair
构建Pair对象
of(T) - Static method in class cn.hutool.core.lang.tree.TreeBuilder
创建Tree构建器
of(T, TreeNodeConfig) - Static method in class cn.hutool.core.lang.tree.TreeBuilder
创建Tree构建器
of(String) - Static method in class cn.hutool.core.lang.Version
解析版本字符串为Version对象
of(K, V) - Static method in class cn.hutool.core.map.MapUtil
将单一键值对转换为Map
of(K, V, boolean) - Static method in class cn.hutool.core.map.MapUtil
将单一键值对转换为Map
of(Pair<K, V>...) - Static method in class cn.hutool.core.map.MapUtil
Deprecated.
方法容易歧义,请使用 #ofEntries(Entry[])
of(Object[]) - Static method in class cn.hutool.core.map.MapUtil
将数组转换为Map(HashMap),支持数组元素类型为:
of(Map<K, V>, V) - Static method in class cn.hutool.core.map.TolerantMap
构建TolerantMap
of(String, char[]) - Static method in class cn.hutool.core.net.PassAuth
创建账号密码形式的Authenticator 实现。
of(Proxy) - Static method in class cn.hutool.core.net.ProxySocketFactory
创建代理SocketFactory
of(URI, Charset) - Static method in class cn.hutool.core.net.url.UrlBuilder
使用URI构建UrlBuilder
of(String) - Static method in class cn.hutool.core.net.url.UrlBuilder
使用URL字符串构建UrlBuilder,默认使用UTF-8编码
of(String, Charset) - Static method in class cn.hutool.core.net.url.UrlBuilder
使用URL字符串构建UrlBuilder
of(URL, Charset) - Static method in class cn.hutool.core.net.url.UrlBuilder
使用URL构建UrlBuilder
of(String, String, int, String, String, String, Charset) - Static method in class cn.hutool.core.net.url.UrlBuilder
构建UrlBuilder
of(String, String, int, UrlPath, UrlQuery, String, Charset) - Static method in class cn.hutool.core.net.url.UrlBuilder
构建UrlBuilder
of() - Static method in class cn.hutool.core.net.url.UrlBuilder
创建空的UrlBuilder
of(CharSequence, Charset) - Static method in class cn.hutool.core.net.url.UrlPath
构建UrlPath
of(Map<? extends CharSequence, ?>) - Static method in class cn.hutool.core.net.url.UrlQuery
构建UrlQuery
of(Map<? extends CharSequence, ?>, boolean) - Static method in class cn.hutool.core.net.url.UrlQuery
构建UrlQuery
of(String, Charset) - Static method in class cn.hutool.core.net.url.UrlQuery
构建UrlQuery
of(String, Charset, boolean) - Static method in class cn.hutool.core.net.url.UrlQuery
构建UrlQuery
of(String, Charset, boolean, boolean) - Static method in class cn.hutool.core.net.url.UrlQuery
构建UrlQuery
of(T...) - Static method in class cn.hutool.core.stream.StreamUtil
 
of(Iterable<T>) - Static method in class cn.hutool.core.stream.StreamUtil
Iterable转换为Stream,默认非并行
of(Iterable<T>, boolean) - Static method in class cn.hutool.core.stream.StreamUtil
of(Iterator<T>) - Static method in class cn.hutool.core.stream.StreamUtil
Iterator 转换为 Stream
of(Iterator<T>, boolean) - Static method in class cn.hutool.core.stream.StreamUtil
Iterator 转换为 Stream
of(File) - Static method in class cn.hutool.core.stream.StreamUtil
按行读取文件为Stream
of(Path) - Static method in class cn.hutool.core.stream.StreamUtil
按行读取文件为Stream
of(File, Charset) - Static method in class cn.hutool.core.stream.StreamUtil
按行读取文件为Stream
of(Path, Charset) - Static method in class cn.hutool.core.stream.StreamUtil
按行读取文件为Stream
of(T, UnaryOperator<T>, int) - Static method in class cn.hutool.core.stream.StreamUtil
通过函数创建Stream
of(StrJoiner) - Static method in class cn.hutool.core.text.StrJoiner
根据已有StrJoiner配置新建一个新的StrJoiner
of(CharSequence) - Static method in class cn.hutool.core.text.StrJoiner
使用指定分隔符创建StrJoiner
of(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.StrJoiner
使用指定分隔符创建StrJoiner
of(String) - Static method in class cn.hutool.cron.pattern.CronPattern
解析表达式为 CronPattern
of() - Static method in class cn.hutool.cron.pattern.CronPatternBuilder
创建构建器
of(Part) - Static method in class cn.hutool.cron.pattern.parser.PartParser
创建解析器
of(int) - Static method in enum cn.hutool.cron.pattern.Part
根据位置获取Part
of(String) - Static method in class cn.hutool.crypto.digest.DigesterFactory
创建工厂,使用GlobalBouncyCastleProvider找到的提供方。
of(MessageDigest) - Static method in class cn.hutool.crypto.digest.DigesterFactory
创建工厂
of(int, int) - Static method in class cn.hutool.db.Page
创建Page对象
of(Condition...) - Static method in class cn.hutool.db.sql.ConditionBuilder
创建构建器
of(Entity) - Static method in class cn.hutool.db.sql.Query
Entity构建Query
of(CharSequence) - Static method in class cn.hutool.db.sql.SqlBuilder
从已有的SQL中构建一个SqlBuilder
of(String) - Static method in class cn.hutool.http.HttpRequest
构建一个HTTP请求
对于传入的URL,可以自定义是否解码已经编码的内容,设置见HttpGlobalConfig.setDecodeUrl(boolean)
在构建Http请求时,用户传入的URL可能有编码后和未编码的内容混合在一起,如果HttpGlobalConfig.isDecodeUrl()true,则会统一解码编码后的参数,
按照RFC3986规范,在发送请求时,全部编码之。如果为false,则不会解码已经编码的内容,在请求时只编码需要编码的部分。
of(String, Charset) - Static method in class cn.hutool.http.HttpRequest
构建一个HTTP请求
对于传入的URL,可以自定义是否解码已经编码的内容。
在构建Http请求时,用户传入的URL可能有编码后和未编码的内容混合在一起,如果charset参数不为null,则会统一解码编码后的参数,
按照RFC3986规范,在发送请求时,全部编码之。如果为false,则不会解码已经编码的内容,在请求时只编码需要编码的部分。
of(UrlBuilder) - Static method in class cn.hutool.http.HttpRequest
构建一个HTTP请求
of(JSONTokener) - Static method in class cn.hutool.json.JSONParser
创建JSONParser
of(Object) - Static method in class cn.hutool.json.ObjectMapper
创建ObjectMapper
of(Writer, int, int, JSONConfig) - Static method in class cn.hutool.json.serialize.JSONWriter
创建JSONWriter
of() - Static method in class cn.hutool.json.xml.ParseConfig
创建ParseConfig
of(String) - Static method in class cn.hutool.jwt.JWT
创建并解析JWT对象
of(String) - Static method in class cn.hutool.jwt.JWTValidator
创建JWT验证器
of(JWT) - Static method in class cn.hutool.jwt.JWTValidator
创建JWT验证器
of(String) - Static method in enum cn.hutool.poi.excel.sax.CellDataType
类型字符串转为枚举
of(String) - Static method in enum cn.hutool.poi.excel.sax.ElementName
解析支持的节点名枚举
ofBlankAble(T) - Static method in class cn.hutool.core.lang.Opt
返回一个包裹里元素可能为空的Opt,额外判断了空字符串的情况
ofBytes(long) - Static method in class cn.hutool.core.io.unit.DataSize
获得对应bytes的DataSize
ofDate(TemporalAccessor) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
TemporalAccessorLocalDate,使用默认时区
OfdWriter - Class in cn.hutool.poi.ofd
OFD文件生成器
OfdWriter(File) - Constructor for class cn.hutool.poi.ofd.OfdWriter
构造
OfdWriter(Path) - Constructor for class cn.hutool.poi.ofd.OfdWriter
构造
OfdWriter(OutputStream) - Constructor for class cn.hutool.poi.ofd.OfdWriter
构造
ofEmptyAble(R) - Static method in class cn.hutool.core.lang.Opt
返回一个包裹里List集合可能为空的Opt,额外判断了集合内元素为空的情况
ofEntries(Map.Entry<K, V>...) - Static method in class cn.hutool.core.map.MapUtil
根据给定的Pair数组创建Map对象
offer(E) - Method in class cn.hutool.core.collection.BoundedPriorityQueue
加入元素,当队列满时,淘汰末尾元素
offset(DateField, int) - Method in class cn.hutool.core.date.DateTime
调整日期和时间
如果此对象为可变对象,返回自身,否则返回新对象,设置是否可变对象见DateTime.setMutable(boolean)
offset(Date, DateField, int) - Static method in class cn.hutool.core.date.DateUtil
获取指定日期偏移指定时间后的时间,生成的偏移日期不影响原日期
offset(LocalDateTime, long, TemporalUnit) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
日期偏移,根据field不同加不同值(偏移会修改传入的对象)
offset(T, long, TemporalUnit) - Static method in class cn.hutool.core.date.TemporalUtil
日期偏移,根据field不同加不同值(偏移会修改传入的对象)
offset(T, DayOfWeek, boolean) - Method in class cn.hutool.core.date.TemporalUtil
偏移到指定的周几
offset() - Method in class cn.hutool.core.io.FastByteBuffer
 
offset(CoordinateUtil.Coordinate) - Method in class cn.hutool.core.util.CoordinateUtil.Coordinate
当前坐标偏移指定坐标
offsetDay(Date, int) - Static method in class cn.hutool.core.date.DateUtil
w 偏移天
offsetHour(Date, int) - Static method in class cn.hutool.core.date.DateUtil
偏移小时
offsetMillisecond(Date, int) - Static method in class cn.hutool.core.date.DateUtil
偏移毫秒数
offsetMinute(Date, int) - Static method in class cn.hutool.core.date.DateUtil
偏移分钟
offsetMonth(Date, int) - Static method in class cn.hutool.core.date.DateUtil
偏移月
offsetNew(DateField, int) - Method in class cn.hutool.core.date.DateTime
调整日期和时间
返回调整后的新DateTime,不影响原对象
offsetSecond(Date, int) - Static method in class cn.hutool.core.date.DateUtil
偏移秒数
offsetWeek(Date, int) - Static method in class cn.hutool.core.date.DateUtil
偏移周
offsetYear(Date, int) - Static method in class cn.hutool.core.date.DateUtil
偏移年
ofGigabytes(long) - Static method in class cn.hutool.core.io.unit.DataSize
获得对应gigabytes的DataSize
ofHttp(String) - Static method in class cn.hutool.core.net.url.UrlBuilder
使用URL字符串构建UrlBuilder,当传入的URL没有协议时,按照http协议对待,编码默认使用UTF-8
ofHttp(String, Charset) - Static method in class cn.hutool.core.net.url.UrlBuilder
使用URL字符串构建UrlBuilder,当传入的URL没有协议时,按照http协议对待。
ofHttpWithoutEncode(String) - Static method in class cn.hutool.core.net.url.UrlBuilder
使用URL字符串构建UrlBuilder,当传入的URL没有协议时,按照http协议对待
此方法不对URL编码
ofJdk(String) - Static method in class cn.hutool.crypto.digest.DigesterFactory
创建工厂
ofKilobytes(long) - Static method in class cn.hutool.core.io.unit.DataSize
获得对应kilobytes的DataSize
ofMegabytes(long) - Static method in class cn.hutool.core.io.unit.DataSize
获得对应megabytes的DataSize
ofNullable(T) - Static method in class cn.hutool.core.lang.Opt
返回一个包裹里元素可能为空的Opt
ofTerabytes(long) - Static method in class cn.hutool.core.io.unit.DataSize
获得对应terabytes的DataSize
ofTry(Func0<T>) - Static method in class cn.hutool.core.lang.Opt
 
ofUTC(Instant) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
InstantLocalDateTime,使用UTC时区
ofUTC(long) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
毫秒转LocalDateTime,使用UTC时区
on(Supplier<T>) - Static method in class cn.hutool.core.lang.loader.LazyFunLoader
静态工厂方法,提供语义性与编码便利性
on(Condition...) - Method in class cn.hutool.db.sql.SqlBuilder
配合JOIN的 ON语句,多表关联的条件语句,所有逻辑之间关系使用Condition.setLinkOperator(LogicalOperator) 定义
on(String) - Method in class cn.hutool.db.sql.SqlBuilder
配合JOIN的 ON语句,多表关联的条件语句
只支持单一的逻辑运算符(例如多个条件之间)
onChange(Clipboard, Transferable) - Method in interface cn.hutool.core.swing.clipboard.ClipboardListener
剪贴板变动触发的事件方法
在此事件中对剪贴板设置值无效,如若修改,需返回修改内容
onChange(Clipboard, Transferable) - Method in class cn.hutool.core.swing.clipboard.StrClipboardListener
 
onChange(Clipboard, String) - Method in class cn.hutool.core.swing.clipboard.StrClipboardListener
剪贴板变动触发的事件方法
在此事件中对剪贴板设置值无效,如若修改,需返回修改内容
onCreate(WatchEvent<?>, Path) - Method in interface cn.hutool.core.io.watch.Watcher
文件创建时执行的方法
onCreate(WatchEvent<?>, Path) - Method in class cn.hutool.core.io.watch.watchers.DelayWatcher
 
onCreate(WatchEvent<?>, Path) - Method in class cn.hutool.core.io.watch.watchers.IgnoreWatcher
 
onCreate(WatchEvent<?>, Path) - Method in class cn.hutool.core.io.watch.watchers.WatcherChain
 
onDelete(WatchEvent<?>, Path) - Method in interface cn.hutool.core.io.watch.Watcher
文件删除时执行的方法
onDelete(WatchEvent<?>, Path) - Method in class cn.hutool.core.io.watch.watchers.DelayWatcher
 
onDelete(WatchEvent<?>, Path) - Method in class cn.hutool.core.io.watch.watchers.IgnoreWatcher
 
onDelete(WatchEvent<?>, Path) - Method in class cn.hutool.core.io.watch.watchers.WatcherChain
 
oneByOneHash(String) - Static method in class cn.hutool.core.util.HashUtil
一次一个hash
onFailed(TaskExecutor, Throwable) - Method in class cn.hutool.cron.listener.SimpleTaskListener
 
onFailed(TaskExecutor, Throwable) - Method in interface cn.hutool.cron.listener.TaskListener
任务启动失败时触发
onModify(WatchEvent<?>, Path) - Method in class cn.hutool.core.io.file.LineReadWatcher
 
onModify(WatchEvent<?>, Path) - Method in interface cn.hutool.core.io.watch.Watcher
文件修改时执行的方法
文件修改可能触发多次
onModify(WatchEvent<?>, Path) - Method in class cn.hutool.core.io.watch.watchers.DelayWatcher
 
onModify(WatchEvent<?>, Path) - Method in class cn.hutool.core.io.watch.watchers.IgnoreWatcher
 
onModify(WatchEvent<?>, Path) - Method in class cn.hutool.core.io.watch.watchers.WatcherChain
 
onOverflow(WatchEvent<?>, Path) - Method in interface cn.hutool.core.io.watch.Watcher
事件丢失或出错时执行的方法
onOverflow(WatchEvent<?>, Path) - Method in class cn.hutool.core.io.watch.watchers.DelayWatcher
 
onOverflow(WatchEvent<?>, Path) - Method in class cn.hutool.core.io.watch.watchers.IgnoreWatcher
 
onOverflow(WatchEvent<?>, Path) - Method in class cn.hutool.core.io.watch.watchers.WatcherChain
 
onRemove(K, V) - Method in interface cn.hutool.cache.CacheListener
对象移除回调
onRemove(K, V) - Method in class cn.hutool.cache.impl.AbstractCache
对象移除回调。默认无动作
子类可重写此方法用于监听移除事件,如果重写,listener将无效
onStart(TaskExecutor) - Method in class cn.hutool.cron.listener.SimpleTaskListener
 
onStart(TaskExecutor) - Method in interface cn.hutool.cron.listener.TaskListener
定时任务启动时触发
onSucceeded(TaskExecutor) - Method in class cn.hutool.cron.listener.SimpleTaskListener
 
onSucceeded(TaskExecutor) - Method in interface cn.hutool.cron.listener.TaskListener
任务成功结束时触发
open(File) - Static method in class cn.hutool.core.swing.DesktopUtil
启动关联应用程序来打开文件
open() - Method in class cn.hutool.db.ds.pooled.PooledConnection
打开连接
openAndBindPortToLocal(Connector, String, int) - Static method in class cn.hutool.extra.ssh.JschUtil
打开SSH会话,并绑定远程端口到本地的一个随机端口
openChannel(Session, ChannelType) - Static method in class cn.hutool.extra.ssh.JschUtil
打开Channel连接
openChannel(Session, ChannelType, int) - Static method in class cn.hutool.extra.ssh.JschUtil
打开Channel连接
openSession(String, int, String, String) - Static method in class cn.hutool.extra.ssh.GanymedUtil
打开远程会话
openSession(String, int, String, String) - Static method in class cn.hutool.extra.ssh.JschUtil
打开一个新的SSH会话
openSession(String, int, String, String, int) - Static method in class cn.hutool.extra.ssh.JschUtil
打开一个新的SSH会话
openSession(String, int, String, String, byte[]) - Static method in class cn.hutool.extra.ssh.JschUtil
打开一个新的SSH会话
openSession(String, int, String, byte[], byte[]) - Static method in class cn.hutool.extra.ssh.JschUtil
打开一个新的SSH会话
openSession(String, int, String, byte[], byte[], int) - Static method in class cn.hutool.extra.ssh.JschUtil
打开一个新的SSH会话
openSession(String, int, String, String, byte[], int) - Static method in class cn.hutool.extra.ssh.JschUtil
打开一个新的SSH会话
openSftp(Session) - Static method in class cn.hutool.extra.ssh.JschUtil
打开SFTP连接
openSftp(Session, int) - Static method in class cn.hutool.extra.ssh.JschUtil
打开SFTP连接
openShell(Session) - Static method in class cn.hutool.extra.ssh.JschUtil
打开Shell连接
OpensslKeyUtil - Class in cn.hutool.crypto
基于bcpkix封装的Openssl相关工具,包括密钥转换、Pem密钥文件读取等
注意此工具需要引入org.bouncycastle:bcpkix-jdk15to18
OpensslKeyUtil() - Constructor for class cn.hutool.crypto.OpensslKeyUtil
 
Operation - Enum in cn.hutool.socket.nio
SelectionKey Operation的枚举封装
Opt<T> - Class in cn.hutool.core.lang
复制jdk16中的Optional,以及自己进行了一点调整和新增,比jdk8中的Optional多了几个实用的函数
详细见:https://gitee.com/dromara/hutool/pulls/426
OptArrayTypeGetter - Interface in cn.hutool.core.getter
可选默认值的数组类型的Get接口 提供一个统一的接口定义返回不同类型的值(基本类型)
如果值不存在或获取错误,返回默认值
OptBasicTypeGetter<K> - Interface in cn.hutool.core.getter
可选默认值的基本类型的getter接口
提供一个统一的接口定义返回不同类型的值(基本类型)
如果值不存在或获取错误,返回默认值
OptConverter - Class in cn.hutool.core.convert.impl
Opt对象转换器
OptConverter() - Constructor for class cn.hutool.core.convert.impl.OptConverter
 
OptionalConverter - Class in cn.hutool.core.convert.impl
Optional对象转换器
OptionalConverter() - Constructor for class cn.hutool.core.convert.impl.OptionalConverter
 
options(String) - Static method in class cn.hutool.http.HttpRequest
OPTIONS请求
OptNullBasicTypeFromObjectGetter<K> - Interface in cn.hutool.core.getter
基本类型的getter接口抽象实现,所有类型的值获取都是通过将getObj获得的值转换而来
用户只需实现getObj方法即可,其他类型将会从Object结果中转换 在不提供默认值的情况下, 如果值不存在或获取错误,返回null
OptNullBasicTypeFromStringGetter<K> - Interface in cn.hutool.core.getter
基本类型的getter接口抽象实现,所有类型的值获取都是通过将String转换而来
用户只需实现getStr方法即可,其他类型将会从String结果中转换 在不提供默认值的情况下, 如果值不存在或获取错误,返回null
OptNullBasicTypeGetter<K> - Interface in cn.hutool.core.getter
基本类型的getter接口抽象实现
提供一个统一的接口定义返回不同类型的值(基本类型)
在不提供默认值的情况下, 如果值不存在或获取错误,返回null
用户只需实现OptBasicTypeGetter接口即可
or(PercentCodec) - Method in class cn.hutool.core.codec.PercentCodec
增加安全字符到挡墙的PercentCodec
or(Supplier<? extends Opt<? extends T>>) - Method in class cn.hutool.core.lang.Opt
如果包裹里元素的值存在,就返回本身,如果不存在,则使用传入的操作执行后获得的 Opt
or(boolean...) - Static method in class cn.hutool.core.util.BooleanUtil
对Boolean数组取或
OracleDialect - Class in cn.hutool.db.dialect.impl
Oracle 方言
OracleDialect() - Constructor for class cn.hutool.db.dialect.impl.OracleDialect
 
order() - Method in class cn.hutool.core.annotation.AliasAnnotationPostProcessor
 
order() - Method in class cn.hutool.core.annotation.AliasLinkAnnotationPostProcessor
 
order() - Method in class cn.hutool.core.annotation.MirrorLinkAnnotationPostProcessor
 
order() - Method in interface cn.hutool.core.annotation.SynthesizedAnnotationPostProcessor
在一组后置处理器中被调用的顺序,越小越靠前
Order - Class in cn.hutool.db.sql
SQL排序对象
Order() - Constructor for class cn.hutool.db.sql.Order
 
Order(String) - Constructor for class cn.hutool.db.sql.Order
构造
Order(String, Direction) - Constructor for class cn.hutool.db.sql.Order
构造
orderBy(Order...) - Method in class cn.hutool.db.sql.SqlBuilder
排序
ordinalIndexOf(CharSequence, CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
返回字符串 searchStr 在字符串 str 中第 ordinal 次出现的位置。
orElse(T) - Method in class cn.hutool.core.lang.Opt
如果包裹里元素的值存在,则返回该值,否则返回传入的other
orElseGet(Supplier<? extends T>) - Method in class cn.hutool.core.lang.Opt
如果包裹里元素的值存在,则返回该值,否则返回传入的操作执行后的返回值
orElseThrow() - Method in class cn.hutool.core.lang.Opt
如果包裹里的值存在,则返回该值,否则抛出 NoSuchElementException
orElseThrow(Supplier<? extends X>) - Method in class cn.hutool.core.lang.Opt
如果包裹里的值存在,则返回该值,否则执行传入的操作,获取异常类型的返回值并抛出
orElseThrow(Function<String, ? extends X>, String) - Method in class cn.hutool.core.lang.Opt
如果包裹里的值存在,则返回该值,否则执行传入的操作,获取异常类型的返回值并抛出
original - Variable in class cn.hutool.core.annotation.AbstractWrappedAnnotationAttribute
 
orNew(PercentCodec) - Method in class cn.hutool.core.codec.PercentCodec
组合当前PercentCodec和指定PercentCodec为一个新的PercentCodec,安全字符为并集
orOfWrap(Boolean...) - Static method in class cn.hutool.core.util.BooleanUtil
对Boolean数组取或
OS - Class in cn.hutool.http.useragent
系统对象
OS(String, String) - Constructor for class cn.hutool.http.useragent.OS
构造
OS(String, String, String) - Constructor for class cn.hutool.http.useragent.OS
构造
OS_ARCH - Static variable in interface cn.hutool.system.SystemPropsKeys
操作系统的架构
OS_ARCH - Static variable in class cn.hutool.system.SystemUtil
操作系统的架构的KEY
OS_NAME - Static variable in interface cn.hutool.system.SystemPropsKeys
操作系统的名称
OS_NAME - Static variable in class cn.hutool.system.SystemUtil
操作系统的名称的KEY
OS_VERSION - Static variable in interface cn.hutool.system.SystemPropsKeys
操作系统的版本
OS_VERSION - Static variable in class cn.hutool.system.SystemUtil
操作系统的版本的KEY
oses - Static variable in class cn.hutool.http.useragent.OS
支持的引擎类型
OshiUtil - Class in cn.hutool.system.oshi
Oshi库封装的工具类,通过此工具类,可获取系统、硬件相关信息
OshiUtil() - Constructor for class cn.hutool.system.oshi.OshiUtil
 
OsInfo - Class in cn.hutool.system
代表当前OS的信息。
OsInfo() - Constructor for class cn.hutool.system.OsInfo
 
OTHER_UNESCAPE - Static variable in class cn.hutool.core.text.escape.XmlUnescape
 
Other_Version - Static variable in class cn.hutool.http.useragent.Browser
其它版本
out - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
 
outOfChina(double, double) - Static method in class cn.hutool.core.util.CoordinateUtil
判断坐标是否在国外
火星坐标系 (GCJ-02)只对国内有效,国外无需转换
OVERFLOW - Static variable in class cn.hutool.core.io.watch.WatchMonitor
事件丢失
override - Variable in class cn.hutool.core.bean.copier.CopyOptions
是否覆盖目标值,如果不覆盖,会先读取目标对象的值,非null则写,否则忽略。如果覆盖,则不判断直接写

P

padAfter(CharSequence, int, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
补充字符串以满足最小长度,如果提供的字符串大于指定长度,截断之
padAfter(CharSequence, int, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
补充字符串以满足最小长度
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)
padPre(CharSequence, int, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
补充字符串以满足最小长度,如果提供的字符串大于指定长度,截断之 同:leftPad (org.apache.commons.lang3.leftPad)
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
构造,默认第0页,每页20
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
ParameterizedType 接口实现,用于重新定义泛型类型
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
使用指定DateParser解析字符串为Calendar
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
通过给定的日期格式解析日期时间字符串。
传入的日期格式会逐个尝试,直到解析成功,返回DateTime对象,否则抛出DateException异常。
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
将日期字符串解析并转换为 Date 对象
等价于 DateFormat.parse(String)
parse(String, ParsePosition) - Method in interface cn.hutool.core.date.format.DateParser
将日期字符串解析并转换为 Date 对象
等价于 DateFormat.parse(String, ParsePosition)
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
解析日期时间字符串为LocalDateTime,仅支持yyyy-MM-dd'T'HH:mm:ss格式,例如:2007-12-03T10:15:30
DateTimeFormatter.ISO_LOCAL_DATE_TIME
parse(CharSequence, DateTimeFormatter) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
解析日期时间字符串为LocalDateTime,格式支持日期时间、日期、时间
如果formatter为null,则使用DateTimeFormatter.ISO_LOCAL_DATE_TIME
parse(CharSequence, String) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
解析日期时间字符串为LocalDateTime
parse(CharSequence) - Static method in class cn.hutool.core.io.unit.DataSize
获取指定数据大小文本对应的DataSize对象,如果无单位指定,默认获取DataUnit.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
构建 CsvParser
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
将表达式解析为PartMatcher
* 或者 ? 返回AlwaysTrueMatcher Part.DAY_OF_MONTH 返回DayOfMonthMatcher Part.YEAR 返回YearValueMatcher 其他 返回BoolArrayMatcher
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的有序与否与传入对象有关。
支持的对象: String: 转换为相应的对象 Array、Iterable、Iterator:转换为JSONArray Bean对象:转为JSONObject
parse(Object, JSONConfig) - Static method in class cn.hutool.json.JSONUtil
转换对象为JSON,如果用户不配置JSONConfig,则JSON的有序与否与传入对象有关。
支持的对象: String: 转换为相应的对象 Array、Iterable、Iterator:转换为JSONArray Bean对象:转为JSONObject
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
将一个地址字符串解析为多个地址
地址间使用" "、","、";"分隔
parseAddressFromStrs(String[], Charset) - Static method in class cn.hutool.extra.mail.InternalMailUtil
将多个字符串邮件地址转为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
通过给定的日期格式解析日期时间字符串。
传入的日期格式会逐个尝试,直到解析成功,返回Calendar对象,否则抛出DateException异常。 方法来自:Apache Commons-Lang3
parseByPatterns(String, Locale, String...) - Static method in class cn.hutool.core.date.CalendarUtil
通过给定的日期格式解析日期时间字符串。
传入的日期格式会逐个尝试,直到解析成功,返回Calendar对象,否则抛出DateException异常。 方法来自:Apache Commons-Lang3
parseByPatterns(String, Locale, boolean, String...) - Static method in class cn.hutool.core.date.CalendarUtil
通过给定的日期格式解析日期时间字符串。
传入的日期格式会逐个尝试,直到解析成功,返回Calendar对象,否则抛出DateException异常。 方法来自:Apache Commons-Lang3
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
Deprecated.
理解错误,请使用DateUtil.parseRFC2822(CharSequence)
parseDate(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
解析日期字符串,忽略时分秒,支持的格式包括:
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
解析日期时间字符串为LocalDate,格式支持日期
parseDate(CharSequence, String) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
解析日期字符串为LocalDate
parseDateTime(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
解析日期时间字符串,格式支持:
parseDouble(String) - Static method in class cn.hutool.core.util.NumberUtil
解析转换数字字符串为long型数字,规则如下:
parseDouble(String, Double) - Static method in class cn.hutool.core.util.NumberUtil
解析转换数字字符串为 Double 规则如下:
parseFirstAddress(String, Charset) - Static method in class cn.hutool.extra.mail.InternalMailUtil
解析第一个地址
parseFloat(String) - Static method in class cn.hutool.core.util.NumberUtil
解析转换数字字符串为long型数字,规则如下:
parseFloat(String, Float) - Static method in class cn.hutool.core.util.NumberUtil
解析转换数字字符串为 Float 规则如下:
parseFromXml(String) - Static method in class cn.hutool.json.JSONUtil
XML字符串转为JSONObject
parseInt(String) - Static method in class cn.hutool.core.util.NumberUtil
解析转换数字字符串为int型数字,规则如下:
parseInt(String, Integer) - Static method in class cn.hutool.core.util.NumberUtil
解析转换数字字符串为 Integer 规则如下:
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型数字,规则如下:
parseLong(String, Long) - Static method in class cn.hutool.core.util.NumberUtil
解析转换数字字符串为 Long 规则如下:
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 对象
此方法不支持科学计数法
parseNumber(String, Number) - Static method in class cn.hutool.core.util.NumberUtil
将指定字符串转换为Number 此方法不支持科学计数法
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
Deprecated.
isOrder参数不再有效
parseObject(String) - Method in interface cn.hutool.core.date.format.DateParser
将日期字符串解析并转换为 Date 对象
parseObject(String, ParsePosition) - Method in interface cn.hutool.core.date.format.DateParser
根据 ParsePosition 给定将日期字符串解析并转换为 Date 对象
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
解析JSONTokener中的字符到目标的JSONObject
parseTo(JSONArray, Filter<Mutable<Object>>) - Method in class cn.hutool.json.JSONParser
解析JSON字符串到JSONArray
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表示秒
表达式各个部分的枚举位置为:
partition(List<T>, int) - Static method in class cn.hutool.core.collection.ListUtil
通过传入分区长度,将指定列表分区为不同的块,每块区域的长度相同(最后一块可能小于长度)
分区是在原List的基础上进行的,返回的分区是不可变的抽象列表,原列表元素变更,分区中元素也会变更。
Partition<T> - Class in cn.hutool.core.collection
列表分区或分段
通过传入分区长度,将指定列表分区为不同的块,每块区域的长度相同(最后一块可能小于长度)
分区是在原List的基础上进行的,返回的分区是不可变的抽象列表,原列表元素变更,分区中元素也会变更。 参考:Guava的Lists#Partition
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
定时任务表达式各个部分的解析器,根据Part指定不同部分,解析为PartMatcher
每个部分支持: * :表示匹配这个位置所有的时间 ? :表示匹配这个位置任意的时间(与"*"作用一致) L :表示匹配这个位置允许的最大值 */2 :表示间隔时间,例如在分上,表示每两分钟,同样*可以使用数字列表代替,逗号分隔 2-8 :表示连续区间,例如在分上,表示2,3,4,5,6,7,8分 2,3,5,8 :表示列表 wed :表示周别名 jan :表示月别名
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
账号密码形式的Authenticator 实现。
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路径编码,定义如下:
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组成,分别是:
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
定时任务表达式解析器,用于将表达式字符串解析为PatternMatcher的列表
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
常用正则表达式集合,更多正则见:
https://any86.github.io/any-rule/
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进行多次重复计算。 参考:https://blog.csdn.net/huoji555/article/details/83659687
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
如果包裹里元素的值存在,就执行对应的操作,并返回本身 如果不存在,返回一个空的Opt
peeks(Consumer<T>...) - Method in class cn.hutool.core.lang.Opt
如果包裹里元素的值存在,就执行对应的操作集,并返回本身 如果不存在,返回一个空的Opt
PemUtil - Class in cn.hutool.crypto
PEM(Privacy Enhanced Mail)格式相关工具类。(基于Bouncy Castle)
PemUtil() - Constructor for class cn.hutool.crypto.PemUtil
 
PercentCodec - Class in cn.hutool.core.codec
百分号编码(Percent-encoding), 也称作URL编码(URL encoding)。
百分号编码可用于URI的编码,也可以用于"application/x-www-form-urlencoded"的MIME准备数据。
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
Period对象转换器
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
进程ID单例封装
第一次访问时调用ManagementFactory.getRuntimeMXBean()获取PID信息,之后直接使用缓存值
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参数支持两种类型:
post(String, String, int) - Static method in class cn.hutool.http.HttpUtil
发送post请求
请求体body参数支持两种类型:
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
创建批量操作的PreparedStatement
prepareStatementForBatch(Connection, String, Iterable<Object[]>) - Static method in class cn.hutool.db.StatementUtil
创建批量操作的PreparedStatement
prepareStatementForBatch(Connection, String, Iterable<String>, Entity...) - Static method in class cn.hutool.db.StatementUtil
创建批量操作的PreparedStatement
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
获取Link指向的目标注解属性,并根据Link.type()的类型是 RelationType.ALIAS_FORRelationType.FORCE_ALIAS_FOR 将目标注解属性包装为AliasedAnnotationAttributeForceAliasedAnnotationAttribute, 然后用包装后注解属性在对应的合成注解中替换原始的目标注解属性
processLinkedAttribute(AnnotationSynthesizer, Link, SynthesizedAnnotation, AnnotationAttribute, SynthesizedAnnotation, AnnotationAttribute) - Method in class cn.hutool.core.annotation.MirrorLinkAnnotationPostProcessor
将存在镜像关系的合成注解属性分别包装为MirroredAnnotationAttribute对象, 并使用包装后MirroredAnnotationAttribute替换在它们对应合成注解实例中的AnnotationAttribute
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
当属性上存在Link注解时,仅当Link.type()在本方法返回值内存在时才进行处理
processTypes() - Method in class cn.hutool.core.annotation.AliasLinkAnnotationPostProcessor
该处理器只处理Link.type()类型为RelationType.ALIAS_FORRelationType.FORCE_ALIAS_FOR的注解属性
processTypes() - Method in class cn.hutool.core.annotation.MirrorLinkAnnotationPostProcessor
该处理器只处理Link.type()类型为RelationType.MIRROR_FOR的注解属性
Profile - Class in cn.hutool.setting.profile
Profile可以让我们定义一系列的配置信息,然后指定其激活条件。
此类中我们规范一套规则如下:
默认的,我们读取${classpath}/default下的配置文件(*.setting文件),当调用setProfile方法时,指定一个profile,即可读取其目录下的配置文件。
比如我们定义几个profile:test,develop,production,分别代表测试环境、开发环境和线上环境,我希望读取数据库配置文件db.setting,那么: test =》 ${classpath}/test/db.setting develop =》 ${classpath}/develop/db.setting production =》 ${classpath}/production/db.setting
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
协议接口
通过实现此接口完成消息的编码和解码
ProviderFactory - Class in cn.hutool.crypto
Provider对象生产工厂类
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
构建用于查询行数的PreparedStatement
用户实现需按照数据库方言格式,将Query转换为带有占位符的SQL语句及参数列表
Query中包含了表名、查询条件等信息,可借助SqlBuilder完成SQL语句生成。
psForCount(Connection, SqlBuilder) - Method in interface cn.hutool.db.dialect.Dialect
构建用于查询行数的PreparedStatement
用户实现需按照数据库方言格式,将Query转换为带有占位符的SQL语句及参数列表
Query中包含了表名、查询条件等信息,可借助SqlBuilder完成SQL语句生成。
psForDelete(Connection, Query) - Method in interface cn.hutool.db.dialect.Dialect
构建用于删除的PreparedStatement
用户实现需按照数据库方言格式,将Query转换为带有占位符的SQL语句及参数列表
Query中包含了删除所需的表名、查询条件等信息,可借助SqlBuilder完成SQL语句生成。
psForDelete(Connection, Query) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
 
psForFind(Connection, Query) - Method in interface cn.hutool.db.dialect.Dialect
构建用于获取多条记录的PreparedStatement
用户实现需按照数据库方言格式,将Query转换为带有占位符的SQL语句及参数列表
Query中包含了查询所需的表名、查询条件等信息,可借助SqlBuilder完成SQL语句生成。
psForFind(Connection, Query) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
 
psForInsert(Connection, Entity) - Method in interface cn.hutool.db.dialect.Dialect
构建用于插入的PreparedStatement
用户实现需按照数据库方言格式,将Entity转换为带有占位符的SQL语句及参数列表
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
构建用于分页查询的PreparedStatement
用户实现需按照数据库方言格式,将Query转换为带有占位符的SQL语句及参数列表
Query中包含了分页查询所需的表名、查询条件、分页等信息,可借助SqlBuilder完成SQL语句生成。
psForPage(Connection, SqlBuilder, Page) - Method in interface cn.hutool.db.dialect.Dialect
构建用于分页查询的PreparedStatement
可以在此方法中使用SqlBuilder.orderBy(Order...)方法加入排序信息, 排序信息通过Page.getOrders()获取
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
构建用于更新的PreparedStatement
用户实现需按照数据库方言格式,将Entity配合Query转换为带有占位符的SQL语句及参数列表
其中Entity中包含需要更新的数据信息,Query包含更新的查找条件信息。
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
构建用于upsert的PreparedStatement
方言实现需实现此默认方法,如果没有实现,抛出SQLException
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语法为:
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系统的编码
PunyCode() - Constructor for class cn.hutool.core.codec.PunyCode
 
PURE_DATE_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyyMMdd
PURE_DATE_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyyMMdd
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
标准日期格式 FastDateFormat:yyyyMMddHHmmss
PURE_DATETIME_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyyMMddHHmmss
PURE_DATETIME_MS_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyyMMddHHmmssSSS
PURE_DATETIME_MS_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyyMMddHHmmssSSS
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
标准日期格式 FastDateFormat:HHmmss
PURE_TIME_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:HHmmss
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
将对象加入到缓存,使用指定失效时长
如果缓存空间满了,Cache.prune() 将被调用以获得空间来存放新对象
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
Deprecated.
此方法存在歧义,原Map接口返回的是之前的值,重写后返回this了,未来版本此方法会修改,请使用JSONObject.set(String, Object)
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的值
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的值
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
同时添加父子节点: 若parentKeychildKey对应的节点不存在,则会根据键值创建一个对应的节点; 若parentKeychildKey对应的节点存在,则会更新对应节点的值; 该操作等同于:
putLinkedNodes(K, K, V) - Method in interface cn.hutool.core.map.ForestMap
添加子节点,并为子节点指定父节点: 若parentKeychildKey对应的节点不存在,则会根据键值创建一个对应的节点; 若parentKeychildKey对应的节点存在,则会更新对应节点的值;
putLinkedNodes(K, V, K, V) - Method in class cn.hutool.core.map.LinkedForestMap
同时添加父子节点: 若parentKeychildKey对应的节点不存在,则会根据键值创建一个对应的节点; 若parentKeychildKey对应的节点存在,则会更新对应节点的值; 该操作等同于:
putLinkedNodes(K, K, V) - Method in class cn.hutool.core.map.LinkedForestMap
添加子节点,并为子节点指定父节点: 若parentKeychildKey对应的节点不存在,则会根据键值创建一个对应的节点; 若parentKeychildKey对应的节点存在,则会更新对应节点的值;
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
 

Q

QLExpressEngine - Class in cn.hutool.extra.expression.engine.qlexpress
QLExpress引擎封装
见:https://github.com/alibaba/QLExpress
QLExpressEngine() - Constructor for class cn.hutool.extra.expression.engine.qlexpress.QLExpressEngine
构造
QR_TYPE_SVG - Static variable in class cn.hutool.extra.qrcode.QrCodeUtil
 
QR_TYPE_TXT - Static variable in class cn.hutool.extra.qrcode.QrCodeUtil
 
QrCodeException - Exception in cn.hutool.extra.qrcode
Qrcode异常
QrCodeException(Throwable) - Constructor for exception cn.hutool.extra.qrcode.QrCodeException
 
QrCodeException(String) - Constructor for exception cn.hutool.extra.qrcode.QrCodeException
 
QrCodeException(String, Object...) - Constructor for exception cn.hutool.extra.qrcode.QrCodeException
 
QrCodeException(String, Throwable) - Constructor for exception cn.hutool.extra.qrcode.QrCodeException
 
QrCodeException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.extra.qrcode.QrCodeException
 
QrCodeException(Throwable, String, Object...) - Constructor for exception cn.hutool.extra.qrcode.QrCodeException
 
QrCodeUtil - Class in cn.hutool.extra.qrcode
基于Zxing的二维码工具类,支持: 二维码生成和识别,见BarcodeFormat.QR_CODE 条形码生成和识别,见BarcodeFormat.CODE_39等很多标准格式
QrCodeUtil() - Constructor for class cn.hutool.extra.qrcode.QrCodeUtil
 
QrConfig - Class in cn.hutool.extra.qrcode
二维码设置
QrConfig() - Constructor for class cn.hutool.extra.qrcode.QrConfig
构造,默认长宽为300
QrConfig(int, int) - Constructor for class cn.hutool.extra.qrcode.QrConfig
构造
qrVersion - Variable in class cn.hutool.extra.qrcode.QrConfig
设置二维码中的信息量,可设置0-40的整数
quarter() - Method in class cn.hutool.core.date.DateTime
获得当前日期所属季度,从1开始计数
quarter(Date) - Static method in class cn.hutool.core.date.DateUtil
获得指定日期所属季度,从1开始计数
Quarter - Enum in cn.hutool.core.date
季度枚举
quarterEnum() - Method in class cn.hutool.core.date.DateTime
获得当前日期所属季度
quarterEnum(Date) - Static method in class cn.hutool.core.date.DateUtil
获得指定日期所属季度
QUERY - Static variable in class cn.hutool.core.net.RFC3986
query = pchar / "/" / "?"
QUERY - Static variable in class cn.hutool.core.net.URLEncoder
Deprecated.
用于查询语句的URLEncoder
编码器针对URI路径编码,定义如下:
query(String, Map<String, Object>) - Method in class cn.hutool.db.AbstractDb
查询
query(String, Object...) - Method in class cn.hutool.db.AbstractDb
查询
query(String, Class<T>, Object...) - Method in class cn.hutool.db.AbstractDb
查询
query(String, RsHandler<T>, Object...) - Method in class cn.hutool.db.AbstractDb
查询
query(String, RsHandler<T>, Map<String, Object>) - Method in class cn.hutool.db.AbstractDb
支持占位符的查询,例如:select * from table where field1=:name1
query(Func1<Connection, PreparedStatement>, RsHandler<T>) - Method in class cn.hutool.db.AbstractDb
执行自定义的PreparedStatement,结果使用RsHandler处理
此方法主要用于自定义场景,如游标查询等
Query - Class in cn.hutool.db.sql
查询对象,用于传递查询所需的字段值
查询对象根据表名(可以多个),多个条件 Condition 构建查询对象完成查询。
如果想自定义返回结果,则可在查询对象中自定义要查询的字段名,分页Page信息来自定义结果。
Query(String...) - Constructor for class cn.hutool.db.sql.Query
构造
Query(Condition[], String...) - Constructor for class cn.hutool.db.sql.Query
构造
Query(Condition[], Page, String...) - Constructor for class cn.hutool.db.sql.Query
构造
Query(Collection<String>, String[], Condition[], Page) - Constructor for class cn.hutool.db.sql.Query
构造
query(Query) - Method in class cn.hutool.db.sql.SqlBuilder
构建查询SQL
query(Connection, String, RsHandler<T>, Map<String, Object>) - Static method in class cn.hutool.db.sql.SqlExecutor
执行查询语句,例如:select * from table where field1=:name1
此方法不会关闭Connection
query(Connection, SqlBuilder, RsHandler<T>) - Static method in class cn.hutool.db.sql.SqlExecutor
执行查询语句
此方法不会关闭Connection
query(Connection, String, RsHandler<T>, Object...) - Static method in class cn.hutool.db.sql.SqlExecutor
执行查询语句
此方法不会关闭Connection
query(Connection, Func1<Connection, PreparedStatement>, RsHandler<T>) - Static method in class cn.hutool.db.sql.SqlExecutor
执行自定义的PreparedStatement,结果使用RsHandler处理
此方法主要用于自定义场景,如游标查询等
query(PreparedStatement, RsHandler<T>, Object...) - Static method in class cn.hutool.db.sql.SqlExecutor
执行查询语句
此方法不会关闭PreparedStatement
QUERY_PARAM_NAME - Static variable in class cn.hutool.core.net.RFC3986
query中的key
key不能包含"&" 和 "="
QUERY_PARAM_NAME_STRICT - Static variable in class cn.hutool.core.net.RFC3986
query中的key编码器,严格模式,key中不能包含任何分隔符。
QUERY_PARAM_VALUE - Static variable in class cn.hutool.core.net.RFC3986
query中的value
value不能包含"&",可以包含 "="
QUERY_PARAM_VALUE_STRICT - Static variable in class cn.hutool.core.net.RFC3986
query中的value编码器,严格模式,value中不能包含任何分隔符。
queryAndClosePs(PreparedStatement, RsHandler<T>, Object...) - Static method in class cn.hutool.db.sql.SqlExecutor
执行查询语句并关闭PreparedStatement
queryNumber(String, Object...) - Method in class cn.hutool.db.AbstractDb
查询单条单个字段记录,并将其转换为Number
queryOne(String, Object...) - Method in class cn.hutool.db.AbstractDb
查询单条记录
queryString(String, Object...) - Method in class cn.hutool.db.AbstractDb
查询单条单个字段记录,并将其转换为String
QUEST - Static variable in class cn.hutool.json.XML
The Character '?'.
quietRollback() - Method in class cn.hutool.db.Session
静默回滚事务
回滚事务
quietRollback(Savepoint) - Method in class cn.hutool.db.Session
静默回滚到某个保存点,保存点的设置请使用setSavepoint方法
QUOT - Static variable in class cn.hutool.json.XML
The Character '"'.
QUOTE - Static variable in class cn.hutool.core.util.XmlUtil
字符串常量:XML 双引号转义 "&quot;" -> "\""
QUOTE - Static variable in class cn.hutool.http.HtmlUtil
 
quote(String) - Static method in class cn.hutool.json.JSONUtil
对所有双引号做转义处理(使用双反斜杠做转义)
为了能在HTML中较好的显示,会将</转义为<\/
JSON字符串中不能包含控制字符和未经转义的引号和反斜杠
quote(String, boolean) - Static method in class cn.hutool.json.JSONUtil
对所有双引号做转义处理(使用双反斜杠做转义)
为了能在HTML中较好的显示,会将</转义为<\/
JSON字符串中不能包含控制字符和未经转义的引号和反斜杠
quote(String, Writer) - Static method in class cn.hutool.json.JSONUtil
对所有双引号做转义处理(使用双反斜杠做转义)
为了能在HTML中较好的显示,会将</转义为<\/
JSON字符串中不能包含控制字符和未经转义的引号和反斜杠
quote(String, Writer, boolean) - Static method in class cn.hutool.json.JSONUtil
对所有双引号做转义处理(使用双反斜杠做转义)
为了能在HTML中较好的显示,会将</转义为<\/
JSON字符串中不能包含控制字符和未经转义的引号和反斜杠

R

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
进制转换工具类,可以转换为任意进制
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
分页彩虹算法
来自: https://github.com/iceroot/iceroot/blob/master/src/main/java/com/icexxx/util/IceUtil.java
通过传入的信息,生成一个分页列表显示
rainbow(int, int) - Static method in class cn.hutool.core.util.PageUtil
RandomAccessAvgPartition<T> - Class in cn.hutool.core.collection
列表分区或分段(可随机访问列表)
通过传入分区个数,将指定列表分区为不同的块,每块区域的长度均匀分布(个数差不超过1)
RandomAccessAvgPartition(List<T>, int) - Constructor for class cn.hutool.core.collection.RandomAccessAvgPartition
列表分区
RandomAccessPartition<T> - Class in cn.hutool.core.collection
列表分区或分段(可随机访问列表)
通过传入分区长度,将指定列表分区为不同的块,每块区域的长度相同(最后一块可能小于长度)
分区是在原List的基础上进行的,返回的分区是不可变的抽象列表,原列表元素变更,分区中元素也会变更。 参考:Guava的Lists#RandomAccessPartition
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
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() - 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(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
随机获得列表中的一定量的元素,返回List
此方法与RandomUtil.randomEles(List, int) 不同点在于,不会获取重复位置的元素
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
生成伪随机的NanoId字符串,长度为默认的NanoId.DEFAULT_SIZE,使用密码安全的伪随机生成器
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 的静态工厂。 使用加密的强伪随机数生成器生成该 UUID。
randomUUID(boolean) - Static method in class cn.hutool.core.lang.UUID
获取类型 4(伪随机生成的)UUID 的静态工厂。 使用加密的强伪随机数生成器生成该 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.Stepper来定义步进,因此Range本身无法判定边界(是否达到end),需在step实现边界判定逻辑。
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
步进接口,此接口用于实现如何对一个对象按照指定步进增加步进
步进接口可以定义以下逻辑:
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
读取并处理Zip文件中的每一个ZipEntry
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
Resource中读取图片
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
Deprecated.
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
Reader中读取String
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
读取并处理Zip文件中的每一个ZipEntry
read(ZipInputStream, Consumer<ZipEntry>) - Static method in class cn.hutool.core.util.ZipUtil
读取并处理Zip流中的每一个ZipEntry
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
使用Sax方式读取指定的XML
如果用户传入的contentHandler为DefaultHandler,则其接口都会被处理
readBySax(Reader, ContentHandler) - Static method in class cn.hutool.core.util.XmlUtil
使用Sax方式读取指定的XML
如果用户传入的contentHandler为DefaultHandler,则其接口都会被处理
readBySax(InputStream, ContentHandler) - Static method in class cn.hutool.core.util.XmlUtil
使用Sax方式读取指定的XML
如果用户传入的contentHandler为DefaultHandler,则其接口都会被处理
readBySax(InputSource, ContentHandler) - Static method in class cn.hutool.core.util.XmlUtil
使用Sax方式读取指定的XML
如果用户传入的contentHandler为DefaultHandler,则其接口都会被处理
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
读取文件所有数据
文件的长度不能超过 Integer.MAX_VALUE
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
ReaderWriter 拷贝
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
从Excel的XML文档中读取内容,并使用ContentHandler处理
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
支持的换行符如下:
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
Deprecated.
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
从pem文件中读取公钥或私钥
根据类型返回 PublicKey 或者 PrivateKey
readPemKey(InputStream) - Static method in class cn.hutool.crypto.PemUtil
从pem文件中读取公钥或私钥
根据类型返回 PublicKey 或者 PrivateKey
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
Deprecated.
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
Deprecated.
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
Reference转换器
ReferenceConverter(Class<? extends Reference>) - Constructor for class cn.hutool.core.convert.impl.ReferenceConverter
构造
ReferenceUtil - Class in cn.hutool.core.util
引用工具类,主要针对Reference 工具化封装
主要封装包括:
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。比较规则如下: static字段不比较 Transient字段不参与比较 父类字段参与比较
reflectionCompare(Object, Object, boolean) - Static method in class cn.hutool.core.builder.CompareToBuilder
Compares two Objects via reflection.
reflectionCompare(Object, Object, Collection<String>) - Static method in class cn.hutool.core.builder.CompareToBuilder
Compares two Objects via reflection.
reflectionCompare(Object, Object, String...) - Static method in class cn.hutool.core.builder.CompareToBuilder
Compares two Objects via reflection.
reflectionCompare(Object, Object, boolean, Class<?>, String...) - Static method in class cn.hutool.core.builder.CompareToBuilder
Compares two Objects 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 Objects 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 Objects 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个数字,包括:
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
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
线程拒绝策略枚举
RelationType - Enum in cn.hutool.core.annotation
注解属性的关系类型
若将被Link注解的属性称为“原始属性”,而在Link注解中指向的注解属性称为“关联属性”, 则该枚举用于描述“原始属性”与“关联属性”在SynthesizedAggregateAnnotation处理过程中的作用关系。
根据在Link.type()中指定的关系类型的不同,通过SynthesizedAggregateAnnotation合成的注解的属性值也将有所变化。
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(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(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
去除所有换行符,包括:
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 属性就可以通过反射有效的进行修改 -- 修改后代码中可使用到新的值;
removeFinalModify(Field) - Static method in class cn.hutool.core.util.ReflectUtil
设置final的field字段可以被修改 只要不会被编译器内联优化的 final 属性就可以通过反射有效的进行修改 -- 修改后代码中可使用到新的值;
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
修改文件或目录的文件名,不变更路径,只是简单修改文件名
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时,保留原扩展名:
renameKey(Map<K, V>, K, K) - Static method in class cn.hutool.core.map.MapUtil
重命名键
实现方式为移除然后重新put,当旧的key不存在直接返回
当新的key存在,抛出IllegalArgumentException 异常
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
重复某个字符
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
重复某个字符串并通过分界符连接
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(this.content, "(\\d+)", parameters -> "-" + parameters.group(1) + "-")
     // 结果为:"ZZZaaabbbccc中文-1234-"
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的字符串
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(this.content, "(\\d+)", parameters -> "-" + parameters.group(1) + "-")
     // 结果为:"ZZZaaabbbccc中文-1234-"
replaceAll(CharSequence, Pattern, Func1<Matcher, String>) - Static method in class cn.hutool.core.util.ReUtil
替换所有正则匹配的文本,并使用自定义函数决定如何替换
replaceFun可以通过Matcher提取出匹配到的内容的不同部分,然后经过重新处理、组装变成新的内容放回原位。
     replaceAll(this.content, "(\\d+)", parameters -> "-" + parameters.group(1) + "-")
     // 结果为:"ZZZaaabbbccc中文-1234-"
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
替换指定字符串的指定区间内字符为固定字符
此方法使用CharSequence.codePoints()完成拆分替换
replaceByCodePoint(CharSequence, int, int, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
替换指定字符串的指定区间内字符为指定字符串,字符串只重复一次
此方法使用CharSequence.codePoints()完成拆分替换
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
reserved = gen-delims / sub-delims
see:https://www.ietf.org/rfc/rfc3986.html#section-2.2
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客户端,用于客户端复用
reset() - Method in class cn.hutool.poi.excel.ExcelWriter
重置Writer,包括:
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
支持重置的Iterator 接口
通过实现ResettableIter.reset(),重置此Iterator后可实现复用重新遍历
resize(T[], int, Class<?>) - Static method in class cn.hutool.core.util.ArrayUtil
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。扩大则占位前N个位置,缩小则截断
resize(Object, int) - Static method in class cn.hutool.core.util.ArrayUtil
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。扩大则占位前N个位置,其它位置补充0,缩小则截断
resize(T[], int) - Static method in class cn.hutool.core.util.ArrayUtil
生成一个新的重新设置大小的数组
新数组的类型为原数组的类型,调整大小后拷贝原数组到新数组下。扩大则占位前N个位置,缩小则截断
resize(byte[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。扩大则占位前N个位置,其它位置补充0,缩小则截断
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
正则相关工具类
常用正则请见 Validator
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
Robot 封装工具类,提供截屏等工具
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位密码,是一种简易的替换式密码,也是过去在古罗马开发的凯撒加密的一种变体。
代码来自:https://github.com/orclight/jencrypt
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
旋转图片为指定角度
来自:http://blog.51cto.com/cping1982/130066
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
保留固定位数小数
采用四舍五入策略 RoundingMode.HALF_UP
例如保留2位小数:123.456789 =》 123.46
round(String, int) - Static method in class cn.hutool.core.util.NumberUtil
保留固定位数小数
采用四舍五入策略 RoundingMode.HALF_UP
例如保留2位小数:123.456789 =》 123.46
round(BigDecimal, int) - Static method in class cn.hutool.core.util.NumberUtil
保留固定位数小数
采用四舍五入策略 RoundingMode.HALF_UP
例如保留2位小数:123.456789 =》 123.46
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
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
保留固定位数小数
采用四舍五入策略 RoundingMode.HALF_UP
例如保留2位小数:123.456789 =》 123.46
roundStr(String, int) - Static method in class cn.hutool.core.util.NumberUtil
保留固定位数小数
采用四舍五入策略 RoundingMode.HALF_UP
例如保留2位小数:123.456789 =》 123.46
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公钥/私钥/签名加密解密
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包装
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
构造

S

SafeConcurrentHashMap<K,V> - Class in cn.hutool.core.map
安全的ConcurrentHashMap实现
此类用于解决在JDK8中调用ConcurrentHashMap.computeIfAbsent(Object, Function)可能造成的死循环问题。
方法来自Dubbo,见:issues#2349
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
考虑Thread.sleep(long)方法有可能时间不足给定毫秒数,此方法保证sleep时间不小于给定的毫秒数
safeSleep(long) - Static method in class cn.hutool.core.thread.ThreadUtil
考虑Thread.sleep(long)方法有可能时间不足给定毫秒数,此方法保证sleep时间不小于给定的毫秒数
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
扫描注解元素的层级结构(若存在),然后对获取到的注解和注解对应的层级索引进行处理。 调用该方法前,需要确保调用AnnotationScanner.support(AnnotatedElement)返回为true
scan(BiConsumer<Integer, Annotation>, AnnotatedElement, Predicate<Annotation>) - Method in class cn.hutool.core.annotation.scanner.ElementAnnotationScanner
扫描AnnotatedElement上直接声明的注解,调用前需要确保调用ElementAnnotationScanner.support(AnnotatedElement)返回为true
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
扫描Field上直接声明的注解,调用前需要确保调用FieldAnnotationScanner.support(AnnotatedElement)返回为true
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
扫描类以及类的Class层级结构中的注解,将返回除了AnnotationUtil.META_ANNOTATIONS中指定的JDK默认元注解外, 全部类/接口的Class.getAnnotations()方法返回的注解对象。
层级结构将按广度优先递归,遵循规则如下: 同一层级中,优先处理父类,然后再处理父接口; 同一个接口在不同层级出现,优先选择层级距离targetClass更近的接口; 同一个接口在相同层级出现,优先选择其子类/子接口被先解析的那个; 注解根据其声明类/接口被扫描的顺序排序,若注解都在同一个Class中被声明,则还会遵循Class.getAnnotations()的顺序。
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
AbstractTypeAnnotationScanner.includeInterfacestrue,则将目标类的父接口也添加到nextClasses
scanMetaAnnotation(Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
扫描注解类,以及注解类的Class层级结构中的注解,将返回除了AnnotationUtil.META_ANNOTATIONS中指定的JDK默认注解外, 按元注解对象与annotationType的距离和Class.getAnnotations()顺序排序的注解对象集合
scanMethod(Method) - Static method in class cn.hutool.core.annotation.AnnotationUtil
扫描方法,以及该方法所在类的Class层级结构中的具有相同方法签名的方法, 将返回除了AnnotationUtil.META_ANNOTATIONS中指定的JDK默认元注解外, 全部匹配方法上AccessibleObject.getAnnotations()方法返回的注解对象。
方法所在类的层级结构将按广度优先递归,遵循规则如下: 同一层级中,优先处理父类,然后再处理父接口; 同一个接口在不同层级出现,优先选择层级距离targetClass更近的接口; 同一个接口在相同层级出现,优先选择其子类/子接口被先解析的那个; 方法上的注解根据方法的声明类/接口被扫描的顺序排序,若注解都在同一个类的同一个方法中被声明,则还会遵循AccessibleObject.getAnnotations()的顺序。
scanner() - Static method in class cn.hutool.core.lang.Console
创建从控制台读取内容的Scanner
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
AbstractTypeAnnotationScanner.includeSuperClasstrue,则将目标类的父类也添加到nextClasses
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模式。
注意:此方法的延迟和周期的单位均为毫秒。 fixedRate 模式:以固定的频率执行。每period的时刻检查,如果上个任务完成,启动下个任务,否则等待上个任务结束后立即启动。 fixedDelay模式:以固定的延时执行。上次任务结束后等待period再执行下个任务。
schedule(ScheduledThreadPoolExecutor, Runnable, long, long, TimeUnit, boolean) - Static method in class cn.hutool.core.thread.ThreadUtil
开始执行一个定时任务,执行方式分fixedRate模式和fixedDelay模式。 fixedRate 模式:以固定的频率执行。每period的时刻检查,如果上个任务完成,启动下个任务,否则等待上个任务结束后立即启动。 fixedDelay模式:以固定的延时执行。上次任务结束后等待period再执行下个任务。
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
任务调度器
调度器启动流程:
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
秒数转为时间格式(HH:mm:ss)
参考:https://github.com/iceroot
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
SecurityManager 方式获取调用者
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.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.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.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
序列化工具类
注意!此工具类依赖于JDK的序列化机制,某些版本的JDK中可能存在远程注入漏洞。
SerializeUtil() - Constructor for class cn.hutool.core.util.SerializeUtil
 
ServiceLoaderUtil - Class in cn.hutool.core.util
SPI机制中的服务加载工具类,流程如下
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则设置字段的值
注意:
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
设置全局的数据源工厂
在项目中存在多个连接池库的情况下,我们希望使用低优先级的库时使用此方法自定义之
重新定义全局的数据源工厂此方法可在以下两种情况下调用:
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
设置AlgorithmParameterSpec
在某些算法中,需要特别的参数,例如在ECIES中,此处为IESParameterSpec
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.Mail
增加附件或图片,附件使用DataSource 形式表示,可以使用FileDataSource包装文件表示文件附件
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转换中的匹配问题而设置,并不是一个强制参数。 当map转bean时,如果map中是下划线等非驼峰模式,自动匹配对应的驼峰字段,避免出现字段不拷贝问题。 当bean转bean时,由于字段命名不规范,使用了非驼峰方式,增加兼容性。
setBackColor(int) - Method in class cn.hutool.extra.qrcode.QrConfig
Deprecated.
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.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
采用流方式上传数据,无需本地缓存数据。
HttpUrlConnection默认是将所有数据读到本地缓存,然后再发送给服务器,这样上传大文件时就会导致内存溢出。
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中的值不变时使用。 注意:当为true时,member变更对象后,hash值不会变更。
setCachePatterns(boolean) - Method in class cn.hutool.core.text.AntPathMatcher
Specify whether to cache parsed pattern metadata for patterns passed into this matcher's AntPathMatcher.match(java.lang.String, java.lang.String) method.
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.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.Mail
设置字符集编码
setCharset(Charset) - Method in class cn.hutool.extra.mail.MailAccount
设置字符集编码,此选项不会修改全局配置,若修改全局配置,请设置此项为null并设置:
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
采用流方式上传数据,无需本地缓存数据。
HttpUrlConnection默认是将所有数据读到本地缓存,然后再发送给服务器,这样上传大文件时就会导致内存溢出。
setChunkedStreamingMode(int) - Method in class cn.hutool.http.HttpRequest
采用流方式上传数据,无需本地缓存数据。
HttpUrlConnection默认是将所有数据读到本地缓存,然后再发送给服务器,这样上传大文件时就会导致内存溢出。
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
设置整个列的样式 仅对数据单元格设置 write后调用
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
设置是否首行做为标题行,默认false
当设置为true时,默认标题行号是CsvReadConfig.beginLineNofalse为-1,表示无行号
setContent(String) - Method in class cn.hutool.extra.mail.Mail
设置正文
正文可以是普通文本也可以是HTML(默认普通文本),可以通过调用Mail.setHtml(boolean) 设置是否为HTML
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
设置Content-Type头,类似于:text/html;charset=utf-8
如果用户传入的信息无charset信息,自动根据charset补充,charset设置见HttpServerResponse.setCharset(Charset)
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
自定义CookieManager
setCookieManager(CookieManager) - Static method in class cn.hutool.http.HttpGlobalConfig
自定义CookieManager
setCookieManager(CookieManager) - Static method in class cn.hutool.http.HttpRequest
自定义CookieManager
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
设置全局的数据源工厂
在项目中存在多个连接池库的情况下,我们希望使用低优先级的库时使用此方法自定义之
重新定义全局的数据源工厂此方法可在以下两种情况下调用:
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
设置是否为守护线程
如果为true,则在调用Scheduler.stop()方法后执行的定时任务立即结束,否则等待执行完毕才结束。默认非守护线程
如果用户调用Scheduler.setThreadExecutor(ExecutorService)自定义线程池则此参数无效
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.Mail
设置debug输出位置,可以自定义debug日志
setDecodeUrl(boolean) - Method in class cn.hutool.http.HttpConfig
设置是否忽略解码URL,包括URL中的Path部分和Param部分。
在构建Http请求时,用户传入的URL可能有编码后和未编码的内容混合在一起,如果此参数为true,则会统一解码编码后的参数,
按照RFC3986规范,在发送请求时,全部编码之。如果为false,则不会解码已经编码的内容,在请求时只编码需要编码的部分。
setDecodeUrl(boolean) - Static method in class cn.hutool.http.HttpGlobalConfig
设置是否忽略解码URL,包括URL中的Path部分和Param部分。
在构建Http请求时,用户传入的URL可能有编码后和未编码的内容混合在一起,如果此参数为true,则会统一解码编码后的参数,
按照RFC3986规范,在发送请求时,全部编码之。如果为false,则不会解码已经编码的内容,在请求时只编码需要编码的部分。
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
设置自定义线程池
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
设置日期的某个部分
如果此对象为可变对象,返回自身,否则返回新对象,设置是否可变对象见DateTime.setMutable(boolean)
setField(int, int) - Method in class cn.hutool.core.date.DateTime
设置日期的某个部分
如果此对象为可变对象,返回自身,否则返回新对象,设置是否可变对象见DateTime.setMutable(boolean)
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的方法引用来完成键值对的赋值:
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
设置字段值
若值类型与字段类型不一致,则会尝试通过 Convert 进行转换
若字段类型是原始类型而传入的值是 null,则会将字段设置为对应原始类型的默认值(见 ClassUtil.getDefaultValue(Class)) 如果是final字段,setFieldValue,调用这可以先调用 ReflectUtil.removeFinalModify(Field)方法去除final修饰符
setFieldValue(Object, Field, Object) - Static method in class cn.hutool.core.util.ReflectUtil
设置字段值
若值类型与字段类型不一致,则会尝试通过 Convert 进行转换
若字段类型是原始类型而传入的值是 null,则会将字段设置为对应原始类型的默认值(见 ClassUtil.getDefaultValue(Class)
如果是final字段,setFieldValue,调用这可以先调用 ReflectUtil.removeFinalModify(Field)方法去除final修饰符
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.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
设置一周的第一天
JDK的Calendar中默认一周的第一天是周日,Hutool中将此默认值设置为周一
设置一周的第一天主要影响DateTime.weekOfMonth()DateTime.weekOfYear() 两个方法
setFirstPageNo(int) - Static method in class cn.hutool.core.util.PageUtil
设置首页页码,可以为0或者1
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
设置是否打开重定向,如果打开默认重定向次数为2
此方法效果与HttpRequest.setMaxRedirectCount(int) 一致
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
Deprecated.
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
设置日期格式
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标准
发件人可以是以下形式:
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)时的异常处理器,所谓线程阻塞即线程池和等待队列已满,无法处理线程时采取的策略
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.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异常。
在Http协议中,对于Transfer-Encoding: Chunked在正常情况下末尾会写入一个Length为0的的chunk标识完整结束。
如果服务端未遵循这个规范或响应没有正常结束,会报EOF异常,此选项用于是否忽略这个异常。
setIgnoreEOFError(boolean) - Static method in class cn.hutool.http.HttpGlobalConfig
设置是否忽略响应读取时可能的EOF异常。
在Http协议中,对于Transfer-Encoding: Chunked在正常情况下末尾会写入一个Length为0的的chunk标识完整结束。
如果服务端未遵循这个规范或响应没有正常结束,会报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(IvParameterSpec) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
设置偏移向量
setIv(byte[]) - 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
设置密钥,可以是公钥PublicKey或者私钥PrivateKey
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)时,表示不递归监听子目录
例如设置:
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
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
设置第一周最少天数
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
设置监听选项,例如监听频率等,可设置项包括:
setMutable(boolean) - Method in class cn.hutool.core.date.DateTime
设置对象是否可变 如果为不可变对象,以下方法将返回新方法: DateTime.offset(DateField, int) DateTime.setField(DateField, int) DateTime.setField(int, int) 如果为不可变对象,DateTime.setTime(long)将抛出异常
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
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
设置 Socket 的 Option 选项
选项见:StandardSocketOptions
setOption(SocketOption<T>, T) - Method in class cn.hutool.socket.aio.AioServer
设置 Socket 的 Option 选项
选项见:StandardSocketOptions
setOrAppend(List<T>, int, T) - Static method in class cn.hutool.core.collection.CollUtil
设置或增加元素。当index小于List的长度时,替换指定位置的值,否则在尾部追加
setOrAppend(List<T>, int, T) - Static method in class cn.hutool.core.collection.ListUtil
设置或增加元素。当index小于List的长度时,替换指定位置的值,否则在尾部追加
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
Deprecated.
始终有序,无需设置
setOrPadding(List<T>, int, T) - Static method in class cn.hutool.core.collection.ListUtil
在指定位置设置元素。当index小于List的长度时,替换指定位置的值,否则追加null直到到达index后,设置值
setOrPadding(List<T>, int, T, T) - Static method in class cn.hutool.core.collection.ListUtil
在指定位置设置元素。当index小于List的长度时,替换指定位置的值,否则追加paddingElement直到到达index后,设置值
注意:为避免OOM问题,此方法限制index的最大值为(list.size() + 1) * 10
setOrPadding(List<T>, int, T, T, int) - Static method in class cn.hutool.core.collection.ListUtil
在指定位置设置元素。当index小于List的长度时,替换指定位置的值,否则追加paddingElement直到到达index后,设置值
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
PreparedStatement 设置单个参数
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
设置 AlgorithmParameterSpec,通常用于加盐或偏移向量
setParams(AlgorithmParameterSpec) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
设置 AlgorithmParameterSpec,通常用于加盐或偏移向量
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
属性过滤器,断言通过的属性才会被复制
BiPredicate.test(Object, Object)返回true则属性通过,false不通过,抛弃之
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
设置协议。例如TLS等
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种颜色)。 低的值(最小值= 1)产生更好的颜色,但处理显著缓慢。 10是默认,并产生良好的颜色而且有以合理的速度。 值更大(大于20)不产生显著的改善速度
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帧应该播放的次数。 默认是 0; 0意味着无限循环。 必须在添加的第一个图像之前被调用。
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.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目录中读取解析返回
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
对数据行整行加自定义样式 仅对数据单元格设置 write后调用
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数组中的位置,例如:
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不存在,创建之。
在读取中,此方法用于切换读取的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(国内邮箱附件不支持切分的附件名)
注意此项为全局设置,此项会调用
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
设置HTTPS安全连接协议,只针对HTTPS请求,可以使用的协议包括:
此方法调用后HttpConfig.setSSLSocketFactory(SSLSocketFactory) 将被覆盖。
setSSLProtocol(String) - Method in class cn.hutool.http.HttpRequest
设置HTTPS安全连接协议,只针对HTTPS请求,可以使用的协议包括:
此方法调用后HttpRequest.setSSLSocketFactory(SSLSocketFactory) 将被覆盖。
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是对纯文本通信协议的扩展。它将纯文本连接升级为加密连接(TLS或SSL), 而不是使用一个单独的加密通信端口。
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
设置某个单元格的样式
此方法用于多个单元格共享样式的情况
可以调用ExcelBase.getOrCreateCellStyle(int, int) 方法创建或取得一个样式对象。
setStyle(CellStyle, int, int) - Method in class cn.hutool.poi.excel.ExcelWriter
设置某个单元格的样式
此方法用于多个单元格共享样式的情况
可以调用ExcelBase.getOrCreateCellStyle(int, int) 方法创建或取得一个样式对象。
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: 含义,永不超时。
如果:设置timeout = 3s(3000 ms), 那一次请求最大超时:就是:6s
官方含义:timeout of zero is interpreted as an infinite timeout.
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
设置工具类。 用于支持设置(配置)文件
BasicSetting用于替换Properties类,提供功能更加强大的配置文件,同时对Properties文件向下兼容
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.Mail
设置标题
setTmpUploadPath(String) - Method in class cn.hutool.core.net.multipart.UploadSetting
设定上传文件的临时目录,null表示使用系统临时目录
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
设置每个字段是否去除两边空白符
如果字段以CsvConfig.textDelimiter包围,则保留两边空格
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
setUseBouncyCastle(boolean) - Static method in enum cn.hutool.crypto.GlobalBouncyCastleProvider
设置是否使用Bouncy Castle库
如果设置为false,表示强制关闭Bouncy Castle而使用JDK
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
设置Bean的字段值
首先调用字段对应的Setter方法,如果Setter方法不存在,则判断字段如果为public,则直接赋值字段值
此方法不检查任何注解,使用前需调用 PropDesc.isWritable(boolean) 检查是否可写
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
设置监听
多个监听请使用WatcherChain
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
设置队列,用于存在未执行的线程
可选队列有:
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 为 SSH的一部份,是一种传输文件到服务器的安全方式。SFTP是使用加密传输认证信息和传输的数据,所以,使用SFTP是非常安全的。
但是,由于这种传输方式使用了加密/解密技术,所以传输效率比普通的FTP要低得多,如果您对网络安全性要求更高时,可以使用SFTP代替FTP。
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标签内容读取处理器
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的对应关系,类似于:
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
获取任务信息,类似于:
shortSummary(TimeUnit) - Method in class cn.hutool.core.date.StopWatch
获取任务信息,类似于:
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
签名包装,Signature 包装类
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
生成签名,使用默认缓存大小,见 NioUtil.DEFAULT_BUFFER_SIZE
sign(InputStream, int) - Method in class cn.hutool.crypto.asymmetric.Sign
生成签名
sign(byte[]) - Method in class cn.hutool.crypto.asymmetric.SM2
用私钥对信息生成数字签名,签名格式为ASN1
* 在硬件签名中,返回结果为R+S,可以通过调用SmUtil.rsAsn1ToPlain(byte[])方法转换之。
sign(byte[], byte[]) - Method in class cn.hutool.crypto.asymmetric.SM2
用私钥对信息生成数字签名,签名格式为ASN1
在硬件签名中,返回结果为R+S,可以通过调用SmUtil.rsAsn1ToPlain(byte[])方法转换之。
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
生成签名,并转为16进制字符串
使用默认缓存大小,见 NioUtil.DEFAULT_BUFFER_SIZE
signHex(String) - Method in class cn.hutool.crypto.asymmetric.SM2
用私钥对信息生成数字签名
signHex(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
签名工具类
封装包括: 非对称签名,签名算法支持见SignAlgorithm 对称签名,支持Map类型参数排序后签名 摘要签名,支持Map类型参数排序后签名,签名方法见:DigestAlgorithm
SignUtil() - Constructor for class cn.hutool.crypto.SignUtil
 
Simhash - Class in cn.hutool.core.text
Simhash是一种局部敏感hash,用于海量文本去重。
算法实现来自:https://github.com/xlturing/Simhash4J
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
简单年月格式 FastDateFormat:yyyyMM
SIMPLE_MONTH_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
简单年月格式 FastDateFormat:yyyyMM
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
简单缓存,无超时实现,默认使用WeakConcurrentMap实现缓存自动清理
SimpleCache() - Constructor for class cn.hutool.core.lang.SimpleCache
构造,默认使用WeakHashMap实现缓存自动清理
SimpleCache(Map<Mutable<K>, V>) - Constructor for class cn.hutool.core.lang.SimpleCache
构造
SimpleCollector<T,A,R> - Class in cn.hutool.core.stream
简单Collector接口实现
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为文件,转换为文件获取文件长度。 其它情况获取URLConnection.getContentLengthLong()
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
SLF4J log.
同样无缝支持 LogBack
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
SLF4J log.
同样无缝支持 LogBack
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() - 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默认曲线
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杂凑(摘要)算法
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。注意解密时必须使用相同 SymmetricCrypto对象或者使用相同KEY
例:
sm4(byte[]) - Static method in class cn.hutool.crypto.SmUtil
SM4加密
例:
SM4 - Class in cn.hutool.crypto.symmetric
国密对称堆成加密算法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
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客户端
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
将多个集合排序并显示不同的段落(分页)
采用BoundedPriorityQueue实现分页取局部
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
对集合按照指定长度分段,每一个段为单独的集合,返回这个集合的列表
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,返回这个集合的列表
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
Spliterator相关工具类
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
字符串切分迭代器
此迭代器是字符串切分的懒模式实现,实例化后不完成切分,只有调用ComputeIter.hasNext()或遍历时才完成切分
此迭代器非线程安全
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
Deprecated.
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语句,值使用 ? 占位
调用getParamValues()方法获得占位符对应的值
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
平方根算法
推荐使用 Math.sqrt(double)
src - Variable in class cn.hutool.core.lang.copier.SrcToDestCopier
SrcToDestCopier<T,C extends SrcToDestCopier<T,C>> - Class in cn.hutool.core.lang.copier
复制器抽象类
抽象复制器抽象了一个对象复制到另一个对象,通过实现Copier.copy()方法实现复制逻辑。
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
SSLContext构建器,可以自定义:
协议(protocol),默认TLS KeyManager,默认空 TrustManager,默认DefaultTrustManager,即信任全部 SecureRandom
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
Deprecated.
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
StackTraceElement 转换器
只支持Map方式转换
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
使用StampedLock保护的缓存,使用读写乐观锁
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
开始工作
执行此方法后如果不再重复使用此对象,需调用SyncFinisher.stop()关闭回收资源。
start(boolean) - Method in class cn.hutool.core.thread.SyncFinisher
开始工作
执行此方法后如果不再重复使用此对象,需调用SyncFinisher.stop()关闭回收资源。
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
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。 并使用指定的函数获取错误信息返回
 Assert.state(id == null, ()->{
      // to query relation message
      return "relation message to return ";
  });
state(boolean, String, Object...) - Static method in class cn.hutool.core.lang.Assert
检查boolean表达式,当检查结果为false时抛出 IllegalStateException
 Assert.state(id == null, "The id property must not already be initialized");
state(boolean) - Static method in class cn.hutool.core.lang.Assert
检查boolean表达式,当检查结果为false时抛出 IllegalStateException
 Assert.state(id == null);
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
PreparedStatement 包装类,用于添加拦截方法功能
拦截方法包括:
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
结束线程池。此方法执行两种情况: 执行start(true)后,调用此方法结束线程池回收资源 执行start(false)后,用户自行判断结束点执行此方法
stop() - Static method in class cn.hutool.cron.CronUtil
停止
stop() - Method in class cn.hutool.cron.Scheduler
停止定时任务
此方法调用后会将定时器进程立即结束,如果为守护线程模式,则正在执行的作业也会自动结束,否则作业线程将在执行完成后结束。
此方法并不会清除任务表中的任务,请调用Scheduler.clear() 方法清空任务或者使用Scheduler.stop(boolean)方法可选是否清空
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
立即结束线程池所有线程。此方法执行两种情况: 执行start(true)后,调用此方法结束线程池回收资源 执行start(false)后,用户自行判断结束点执行此方法
stopTimer() - Method in class cn.hutool.cron.CronTimer
关闭定时器
StopWatch - Class in cn.hutool.core.date
秒表封装
此工具用于存储一组任务的耗时时间,并一次性打印对比。
比如:我们可以记录多段代码耗时时间,然后一次性打印(StopWatch提供了一个prettyString()函数用于按照指定格式打印出耗时)
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
CharSequence 转为字符串,null安全
str(Object, String) - Static method in class cn.hutool.core.util.StrUtil
Deprecated.
str(Object, 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(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
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进度条
提供流拷贝进度监测,如开始、结束触发,以及进度回调。
注意进度回调的total参数为总大小,某些场景下无总大小的标记,则此值应为-1或者Long.MAX_VALUE,表示此参数无效。
StreamUtil - Class in cn.hutool.core.stream
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
去除两边的指定字符串
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}作为变量,例如:
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
截取集合的部分
此方法与List.subList(int, int) 不同在于子列表是新的副本,操作子列表不会影响原列表。
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或""),则返回空串,如果分隔字符串未找到,返回空串,举例如下:
subAfter(CharSequence, char, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
截取分隔字符串之后的字符串,不包括分隔字符串
如果给定的字符串为空串(null或""),返回原字符串
如果分隔字符串为空串(null或""),则返回空串,如果分隔字符串未找到,返回空串,举例如下:
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,返回原字符串
如果分隔字符串为空串"",则返回空串,如果分隔字符串未找到,返回原字符串,举例如下:
subBefore(CharSequence, char, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
截取分隔字符串之前的字符串,不包括分隔字符串
如果给定的字符串为空串(null或"")或者分隔字符串为null,返回原字符串
如果分隔字符串未找到,返回原字符串,举例如下:
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
截取指定字符串中间部分,不包括标识字符串
subBetween(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
截取指定字符串中间部分,不包括标识字符串
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
截取指定字符串多段中间部分,不包括标识字符串
subBetweenAll(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
截取指定字符串多段中间部分,不包括标识字符串
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
获得相对子路径
subPath(String, String) - Static method in class cn.hutool.core.io.FileUtil
获得相对子路径,忽略大小写
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
切割指定长度的后部分的字符串
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(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】中没有的元素,例如:
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
通用注解扫描器支持扫描所有类型的AnnotatedElement
support(AnnotatedElement) - Method in class cn.hutool.core.annotation.scanner.MetaAnnotationScanner
判断是否支持扫描该注解元素,仅当注解元素是Annotation接口的子类Class时返回true
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
同步
如果为异步状态,则暂时不读取服务器中响应的内容,而是持有Http链接的InputStream
当调用此方法时,异步状态转为同步状态,此时从Http链接流中读取body内容并暂存在内容中。如果已经是同步状态,则不进行任何操作。
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
用于在SynthesizedAggregateAnnotation中表示一个处于合成状态的注解对象。
当对多个合成注解排序时,默认使用Hierarchical.DEFAULT_HIERARCHICAL_COMPARATOR进行排序, 从保证合成注解按SynthesizedAnnotation.getVerticalDistance()SynthesizedAnnotation.getHorizontalDistance()的返回值保持有序, 从而使得距离根元素更接近的注解对象在被处理是具有更高的优先级。
SynthesizedAnnotationAttributeProcessor - Interface in cn.hutool.core.annotation
合成注解属性选择器。用于在SynthesizedAggregateAnnotation中从指定类型的合成注解里获取到对应的属性值
synthesizedAnnotationMap - Variable in class cn.hutool.core.annotation.AbstractAnnotationSynthesizer
包含根注解以及其元注解在内的全部注解实例
SynthesizedAnnotationPostProcessor - Interface in cn.hutool.core.annotation
被合成注解后置处理器,用于在SynthesizedAggregateAnnotation加载完所有待合成注解后, 再对加载好的SynthesizedAnnotation进行后置处理。
当多个SynthesizedAnnotationPostProcessor需要一起执行时,将按照SynthesizedAnnotationPostProcessor.order()的返回值进行排序, 该值更小的处理器将被优先执行。
SynthesizedAnnotationProxy - Class in cn.hutool.core.annotation
合成注解代理类,用于为SynthesizedAnnotation生成对应的合成注解代理对象
SynthesizedAnnotationSelector - Interface in cn.hutool.core.annotation
注解选择器,指定两个注解,选择其中一个返回。
该接口用于在SynthesizedAggregateAnnotation中用于从一批相同的注解对象中筛选最终用于合成注解对象。
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
系统字符集编码,如果是Windows,则默认为GBK编码,否则取 CharsetUtil.defaultCharsetName()
systemCharsetName() - Static method in class cn.hutool.core.util.CharsetUtil
系统字符集编码,如果是Windows,则默认为GBK编码,否则取 CharsetUtil.defaultCharsetName()
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
系统属性名称常量池
SystemPropsUtil - Class in cn.hutool.core.util
系统属性工具
此工具用于读取系统属性或环境变量信息,封装包括: System.getProperty(String) System.getenv(String)
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类封装工具类。
参考:http://blog.csdn.net/zhongweijian/article/details/7619383
SystemUtil() - Constructor for class cn.hutool.system.SystemUtil
 

T

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
TemporalAccessor 值单元格设置器
TemporalAccessorConverter - Class in cn.hutool.core.convert.impl
JDK8中新加入的java.time包对象解析转换器
支持的对象包括:
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
TemporalAccessor的JSON自定义序列化实现
TemporalAccessorSerializer(Class<? extends TemporalAccessor>) - Constructor for class cn.hutool.json.serialize.TemporalAccessorSerializer
 
TemporalAccessorUtil - Class in cn.hutool.core.date
TemporalAccessor 工具类封装
TemporalAccessorUtil() - Constructor for class cn.hutool.core.date.TemporalAccessorUtil
 
TemporalUtil - Class in cn.hutool.core.date
Temporal 工具类封装
TemporalUtil() - Constructor for class cn.hutool.core.date.TemporalUtil
 
test(Runnable) - Method in class cn.hutool.core.thread.ConcurrencyTester
执行测试
执行测试后不会关闭线程池,可以调用ConcurrencyTester.close()释放线程池
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对象。
在多数据源情况下,由于数据源的不同,连接对象也不同,因此获取连接时需要DataSource关联获取
ThreadLocalConnection.GroupedConnection - Class in cn.hutool.db
分组连接,根据不同的分组获取对应的连接,用于多数据源情况
ThreadLocalCookieStore - Class in cn.hutool.http.cookie
线程隔离的Cookie存储。多线程环境下Cookie隔离使用,防止Cookie覆盖
见:https://stackoverflow.com/questions/16305486/cookiemanager-for-multiple-threads
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
设置超时,单位:毫秒
超时包括:
timeout(int) - Method in class cn.hutool.http.HttpRequest
设置超时,单位:毫秒
超时包括:
timeout(int) - Method in class cn.hutool.http.webservice.SoapClient
设置超时,单位:毫秒
超时包括:
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
HH:mm:ss 时间格式字符串转为秒数
参考:https://github.com/iceroot
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 log.
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
tinylog log.
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
TinyLog log.
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.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字符转换为别名表现形式(两个":"包围的格式)
toAlias(String, EmojiParser.FitzpatrickAction) - Static method in class cn.hutool.extra.emoji.EmojiUtil
将字符串中的Unicode Emoji字符转换为别名表现形式(两个":"包围的格式),别名后会增加"|"并追加fitzpatrick类型
toAnsiElement(ForeOrBack) - Method in class cn.hutool.core.lang.ansi.AnsiColorWrapper
转换为 AnsiElement 实例
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
ByteBuffer 转byte数组
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
将指定InputStream 转换为InputStream.available()方法可用的流。
在Socket通信流中,服务端未返回数据情况下InputStream.available()方法始终为0
因此,在读取前需要调用InputStream.read()读取一个字节(未返回会阻塞),一旦读取到了,InputStream.available()方法就正常了。
需要注意的是,在网络流中,是按照块来传输的,所以 InputStream.available() 读取到的并非最终长度,而是此次块的长度。
此方法返回对象的规则为: FileInputStream 返回原对象,因为文件流的available方法本身可用 其它InputStream 返回PushbackInputStream
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
Deprecated.
请使用 JSON.toBean(Type), ignoreError在JSONConfig中生效
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
支持的表达式:
toBean(Class<T>, String) - Method in class cn.hutool.setting.dialect.Props
将配置文件转换为Bean,支持嵌套Bean
支持的表达式:
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
数字转BigDecimal
null或""或空白符转换为0
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
数字转BigInteger
null转换为0
toBigInteger(String) - Static method in class cn.hutool.core.util.NumberUtil
数字转BigInteger
null或""或空白符转换为0
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
ImageBufferedImage
如果源图片的RGB模式与目标模式一致,则直接转换,否则重新绘制
默认的,png图片使用 BufferedImage.TYPE_INT_ARGB模式,其它使用 BufferedImage.TYPE_INT_RGB 模式
toBufferedImage(Image, String, Color) - Static method in class cn.hutool.core.img.ImgUtil
ImageBufferedImage
如果源图片的RGB模式与目标模式一致,则直接转换,否则重新绘制
默认的,png图片使用 BufferedImage.TYPE_INT_ARGB模式,其它使用 BufferedImage.TYPE_INT_RGB 模式
toBufferedImage(Image, int) - Static method in class cn.hutool.core.img.ImgUtil
ImageBufferedImage
如果源图片的RGB模式与目标模式一致,则直接转换,否则重新绘制
toBufferedImage(Image, int, Color) - Static method in class cn.hutool.core.img.ImgUtil
ImageBufferedImage
如果源图片的RGB模式与目标模式一致,则直接转换,否则重新绘制
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
int值转byte数组,使用大端字节序(高位字节在前,低位字节在后)
见:http://www.ruanyifeng.com/blog/2016/11/byte-order.html
toCalendar() - Method in class cn.hutool.core.date.DateTime
转换为Calendar, 默认 Locale
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
将下划线方式命名的字符串转换为驼峰式。如果转换前的下划线大写方式命名的字符串为空,则返回空字符串。
例如:hello_world=》helloWorld
toCamelCase(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
将连接符方式命名的字符串转换为驼峰式。如果转换前的下划线大写方式命名的字符串为空,则返回空字符串。
例如:hello_world=》helloWorld; hello-world=》helloWorld
toCamelCase(CharSequence) - Static method in class cn.hutool.core.text.NamingCase
将下划线方式命名的字符串转换为驼峰式。如果转换前的下划线大写方式命名的字符串为空,则返回空字符串。
规则为: 单字之间不以空格或任何连接符断开 第一个单字首字母采用小写字母 后续单字的首字母亦用大写字母 例如:hello_world=》helloWorld
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
单位兼容转换,将DateUnit转换为对应的ChronoUnit
toChronoUnit(DateUnit) - Static method in enum cn.hutool.core.date.DateUnit
单位兼容转换,将DateUnit转换为对应的ChronoUnit
toChronoUnit(TimeUnit) - Static method in class cn.hutool.core.date.TemporalUtil
TimeUnit 转换为 ChronoUnit.
toCloseByNumber(int) - Static method in class cn.hutool.core.util.CharUtil
将[1-20]数字转换为带圈的字符:
toCloseChar(char) - Static method in class cn.hutool.core.util.CharUtil
将字母、数字转换为带圈的字符:
toCollection(Iterable<E>) - Static method in class cn.hutool.core.collection.CollUtil
Iterable转为Collection
首先尝试强转,强转失败则构建一个新的ArrayList
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
TemporalAccessor转换为 时间戳(从1970-01-01T00:00:00Z开始的毫秒数)
toEpochMilli(TemporalAccessor) - Static method in class cn.hutool.core.date.TemporalAccessorUtil
TemporalAccessor转换为 时间戳(从1970-01-01T00:00:00Z开始的毫秒数)
如果为Month,调用Month.getValue()
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表现形式,例如:
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
将Base64编码的图像信息转为 BufferedImage
toImage(byte[]) - Static method in class cn.hutool.core.img.ImgUtil
将的图像bytes转为 BufferedImage
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
CalendarInstant对象
toInstant(Date) - Static method in class cn.hutool.core.date.DateUtil
Date对象转换为Instant对象
toInstant(TemporalAccessor) - Static method in class cn.hutool.core.date.DateUtil
Date对象转换为Instant对象
toInstant(TemporalAccessor) - Static method in class cn.hutool.core.date.TemporalAccessorUtil
TemporalAccessor转换为 Instant对象
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
byte数组转int,使用大端字节序(高位字节在前,低位字节在后)
见:http://www.ruanyifeng.com/blog/2016/11/byte-order.html
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
Deprecated.
2022年后结果溢出,此方法废弃
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
转换为DayOfWeek
toJdkMonth() - Method in enum cn.hutool.core.date.Month
转换为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
转为 JSONArray
toJSONObject(JSONArray) - Method in class cn.hutool.json.JSONArray
根据给定名列表,与其位置对应的值组成JSONObject
toJSONObject(String) - Static method in class cn.hutool.json.XML
转换XML为JSONObject 转换过程中一些信息可能会丢失,JSON中无法区分节点和属性,相同的节点将被处理为JSONArray。 Content text may be placed in a "content" member.
toJSONObject(String, boolean) - Static method in class cn.hutool.json.XML
转换XML为JSONObject 转换过程中一些信息可能会丢失,JSON中无法区分节点和属性,相同的节点将被处理为JSONArray。 Content text may be placed in a "content" member.
toJSONObject(String, ParseConfig) - Static method in class cn.hutool.json.XML
转换XML为JSONObject 转换过程中一些信息可能会丢失,JSON中无法区分节点和属性,相同的节点将被处理为JSONArray。 Content text may be placed in a "content" member.
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
新建一个ArrayList
提供的参数为null时返回空ArrayList
toList(Iterator<T>) - Static method in class cn.hutool.core.collection.ListUtil
新建一个ArrayList
提供的参数为null时返回空ArrayList
toList(Enumeration<T>) - Static method in class cn.hutool.core.collection.ListUtil
新建一个ArrayList
提供的参数为null时返回空ArrayList
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
转为ArrayList
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)的逆方法
比如传入数据:
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)的逆方法
比如传入数据:
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
Calendar 转换为 LocalDateTime,使用系统默认时区
toLocalDateTime() - Method in class cn.hutool.core.date.DateTime
转换为 LocalDateTime
toLocalDateTime(Instant) - Static method in class cn.hutool.core.date.DateUtil
Instant 转换为 LocalDateTime,使用系统默认时区
toLocalDateTime(Date) - Static method in class cn.hutool.core.date.DateUtil
Date 转换为 LocalDateTime,使用系统默认时区
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),支持数组元素类型为:
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
以键为准,值与键位置需对应。如果键元素数多于值元素,多余部分值用null代替。
如果值多于键,忽略多余的值。
toMap(Iterable<K>, Iterable<V>, boolean) - Static method in class cn.hutool.core.collection.IterUtil
将键列表和值列表转换为Map
以键为准,值与键位置需对应。如果键元素数多于值元素,多余部分值用null代替。
如果值多于键,忽略多余的值。
toMap(Iterator<K>, Iterator<V>) - Static method in class cn.hutool.core.collection.IterUtil
将键列表和值列表转换为Map
以键为准,值与键位置需对应。如果键元素数多于值元素,多余部分值用null代替。
如果值多于键,忽略多余的值。
toMap(Iterator<K>, Iterator<V>, boolean) - Static method in class cn.hutool.core.collection.IterUtil
将键列表和值列表转换为Map
以键为准,值与键位置需对应。如果键元素数多于值元素,多余部分值用null代替。
如果值多于键,忽略多余的值。
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
对null友好的 toMap 操作的 Collector实现,默认使用HashMap
toMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>, BinaryOperator<U>, Supplier<M>) - Static method in class cn.hutool.core.stream.CollectorUtil
对null友好的 toMap 操作的 Collector实现
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
列转行。将Map中值列表分别按照其位置与key组成新的map。
CollUtil.toListMap(Iterable)的逆方法
比如传入数据:
toMapList(Map<K, ? extends Iterable<V>>) - Static method in class cn.hutool.core.map.MapUtil
列转行。将Map中值列表分别按照其位置与key组成新的map。
MapUtil.toListMap(Iterable)的逆方法
比如传入数据:
toMarkSupportStream(InputStream) - Static method in class cn.hutool.core.io.IoUtil
InputStream转换为支持mark标记的流
若原流支持mark标记,则返回原流,否则使用BufferedInputStream 包装之
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
转换为 Optional对象
toParameterizedType(Type) - Static method in class cn.hutool.core.util.TypeUtil
Type 转换为ParameterizedType
ParameterizedType用于获取当前类或父类中泛型参数化后的类型
一般用于获取泛型参数具体的参数类型,例如:
toParameterizedType(Type, int) - Static method in class cn.hutool.core.util.TypeUtil
Type 转换为ParameterizedType
ParameterizedType用于获取当前类或父类中泛型参数化后的类型
一般用于获取泛型参数具体的参数类型,例如:
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
Deprecated.
toParams(Map<String, ?>, Charset) - Static method in class cn.hutool.http.HttpUtil
将Map形式的Form表单数据转换为Url参数形式
paramMap中如果key为空(null和"")会被忽略,如果value为null,会被做为空白符("")
会自动url编码键和值
此方法用于拼接URL中的Query部分,并不适用于POST请求中的表单
toParams(Map<String, ?>, Charset, boolean) - Static method in class cn.hutool.http.HttpUtil
将Map形式的Form表单数据转换为Url参数形式
paramMap中如果key为空(null和"")会被忽略,如果value为null,会被做为空白符("")
会自动url编码键和值
toParent() - Method in class cn.hutool.extra.ftp.AbstractFtp
打开上级目录
toPascalCase(CharSequence) - Static method in class cn.hutool.core.text.NamingCase
将下划线方式命名的字符串转换为帕斯卡式。
规则为: 单字之间不以空格或任何连接符断开 第一个单字首字母采用大写字母 后续单字的首字母亦用大写字母 如果转换前的下划线大写方式命名的字符串为空,则返回空字符串。
例如:hello_world=》HelloWorld
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
转换为标准的Properties对象
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
转换为PushbackInputStream
如果传入的输入流已经是PushbackInputStream,强转返回,否则新建一个
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
将页数和每页条目数转换为开始位置和结束位置
此方法用于包括结束位置的分页方法
例如:
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
将SM2算法的ECPrivateKey 转换为 PrivateKey
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
转为 Date
toSqlDate(Date) - Static method in class cn.hutool.db.sql.SqlUtil
转换为Date
toSqlTimestamp(Date) - Static method in class cn.hutool.db.sql.SqlUtil
转换为Timestamp
toStr(Iterator<E>) - Static method in class cn.hutool.core.collection.IterUtil
拼接 Iterator为字符串
toStr(Iterator<E>, Function<? super E, String>) - Static method in class cn.hutool.core.collection.IterUtil
拼接 Iterator为字符串
toStr(Iterator<E>, Function<? super E, String>, String, String, String) - Static method in class cn.hutool.core.collection.IterUtil
拼接 Iterator为字符串
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
ByteArrayOutputStream 转换为String
toStr(Number, String) - Static method in class cn.hutool.core.util.NumberUtil
数字转字符串
调用Object.toString(),并去除尾小数点儿后多余的0
toStr(Number) - Static method in class cn.hutool.core.util.NumberUtil
数字转字符串
调用Object.toString()BigDecimal.toPlainString(),并去除尾小数点儿后多余的0
toStr(Number, boolean) - Static method in class cn.hutool.core.util.NumberUtil
数字转字符串
调用Object.toString()BigDecimal.toPlainString(),并去除尾小数点儿后多余的0
toStr(BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
BigDecimal数字转字符串
调用BigDecimal.toPlainString(),并去除尾小数点儿后多余的0
toStr(BigDecimal, boolean) - Static method in class cn.hutool.core.util.NumberUtil
BigDecimal数字转字符串
调用BigDecimal.toPlainString(),可选去除尾小数点儿后多余的0
toStr(Node) - Static method in class cn.hutool.core.util.XmlUtil
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
默认非格式化输出,若想格式化请使用XmlUtil.format(Document)
toStr(Document) - Static method in class cn.hutool.core.util.XmlUtil
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
默认非格式化输出,若想格式化请使用XmlUtil.format(Document)
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
Deprecated.
toStream(String, Charset) - Static method in class cn.hutool.core.io.IoUtil
String 转为流
toStream(File) - Static method in class cn.hutool.core.io.IoUtil
文件转为FileInputStream
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
转为字符串,如果时区被设置,会转换为其时区对应的时间,否则转换为当前地点对应的时区
可以调用DateTime.setUseJdkToStringStyle(boolean) 方法自定义默认的风格
如果DateTime.useJdkToStringStyletrue,返回"EEE MMM dd HH:mm:ss zzz yyyy"格式,
如果为false,则返回"yyyy-MM-dd HH:mm:ss"
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转换为字符串
toString(Boolean, String, String, String) - Static method in class cn.hutool.core.util.BooleanUtil
将boolean转换为字符串
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
Enum对象转String,调用Enum.name() 方法
toString() - Method in class cn.hutool.core.util.IdcardUtil.Idcard
 
toString(Object) - Static method in class cn.hutool.core.util.ObjectUtil
将Object转为String
策略为:
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 = ? AND type IN (?, ?) AND other LIKE ?
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
SOAPMessage 转为字符串
toString(SOAPMessage, boolean, Charset) - Static method in class cn.hutool.http.webservice.SoapUtil
SOAPMessage 转为字符串
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
将带有参数的Supplier转换为无参Supplier
toSupplier(P1, P2) - Method in interface cn.hutool.core.lang.func.Supplier2
将带有参数的Supplier转换为无参Supplier
toSupplier(P1, P2, P3) - Method in interface cn.hutool.core.lang.func.Supplier3
将带有参数的Supplier转换为无参Supplier
toSupplier(P1, P2, P3, P4) - Method in interface cn.hutool.core.lang.func.Supplier4
将带有参数的Supplier转换为无参Supplier
toSupplier(P1, P2, P3, P4, P5) - Method in interface cn.hutool.core.lang.func.Supplier5
将带有参数的Supplier转换为无参Supplier
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
转为Timestamp
toTimeStr() - Method in class cn.hutool.core.date.DateTime
转为"HH:mm:ss" 格式字符串
toTimeUnit(ChronoUnit) - Static method in class cn.hutool.core.date.TemporalUtil
转换 ChronoUnitTimeUnit.
toTimeZone(ZoneId) - Static method in class cn.hutool.core.date.ZoneUtil
ZoneId转换为TimeZonenull则返回系统默认值
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符号
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
转换为URL 对象
toURL(URLStreamHandler) - Method in class cn.hutool.core.net.url.UrlBuilder
转换为URL 对象
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
将Zip文件转换为ZipFile
toZoneId(TimeZone) - Static method in class cn.hutool.core.date.ZoneUtil
TimeZone转换为ZoneIdnull则返回系统默认值
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
按照给定函数,转换Iterator为另一种类型的Iterator
trans(Spliterator<F>, Function<? super F, ? extends T>) - Static method in class cn.hutool.core.collection.SpliteratorUtil
使用给定的转换函数,转换源Spliterator为新类型的Spliterator
TransactionLevel - Enum in cn.hutool.db.transaction
事务级别枚举
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
使用给定的转换函数,转换源Iterator为新类型的Iterator
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
自定义键和值转换的的Map
继承此类后,通过实现TransMap.customKey(Object)TransMap.customValue(Object),按照给定规则加入到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
使用给定的转换函数,转换源Spliterator为新类型的Spliterator
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
将页数和每页条目数转换为开始位置和结束位置
此方法用于包括结束位置的分页方法
例如:
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
构造
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操作。此方法直接对传入的Bean做修改。
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长度。截断后自动追加省略号(...) 用于存储数据库varchar且编码为UTF-8的字段
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
扫描Class上的注解
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 的工具类封装
最主要功能包括:
TypeUtil() - Constructor for class cn.hutool.core.util.TypeUtil
 

U

unbiasnet() - Method in class cn.hutool.core.img.gif.NeuQuant
 
unBindPort(Session, int) - Static method in class cn.hutool.extra.ssh.JschUtil
解除端口映射
uncheck(Func<P, R>) - Static method in class cn.hutool.core.exceptions.CheckedUtil
接收一个可以转化成 cn.hutool.core.lang.func.Func 的Lambda表达式,当执行表达式抛出任何异常的时候,都会转化成运行时异常 如此一来,代码中就不用显示的try-catch转化成运行时异常
uncheck(Func0<R>) - Static method in class cn.hutool.core.exceptions.CheckedUtil
接收一个可以转化成 cn.hutool.core.lang.func.Func0 的Lambda表达式,当执行表达式抛出任何异常的时候,都会转化成运行时异常 如此一来,代码中就不用显示的try-catch转化成运行时异常
uncheck(Func1<P, R>) - Static method in class cn.hutool.core.exceptions.CheckedUtil
接收一个可以转化成 cn.hutool.core.lang.func.Func1 的Lambda表达式,当执行表达式抛出任何异常的时候,都会转化成运行时异常 如此一来,代码中就不用显示的try-catch转化成运行时异常
uncheck(VoidFunc<P>) - Static method in class cn.hutool.core.exceptions.CheckedUtil
接收一个可以转化成 cn.hutool.core.lang.func.VoidFunc 的Lambda表达式,当执行表达式抛出任何异常的时候,都会转化成运行时异常 如此一来,代码中就不用显示的try-catch转化成运行时异常
uncheck(VoidFunc0) - Static method in class cn.hutool.core.exceptions.CheckedUtil
接收一个可以转化成 cn.hutool.core.lang.func.VoidFunc0 的Lambda表达式,当执行表达式抛出任何异常的时候,都会转化成运行时异常 如此一来,代码中就不用显示的try-catch转化成运行时异常
uncheck(VoidFunc1<P>) - Static method in class cn.hutool.core.exceptions.CheckedUtil
接收一个可以转化成 cn.hutool.core.lang.func.VoidFunc1 的Lambda表达式,当执行表达式抛出任何异常的时候,都会转化成运行时异常 如此一来,代码中就不用显示的try-catch转化成运行时异常
uncheck(Func<P, R>, Supplier1<RuntimeException, Exception>) - Static method in class cn.hutool.core.exceptions.CheckedUtil
接收一个可以转化成 cn.hutool.core.lang.func.Func的Lambda表达式,和一个可以把Exception转化成RuntimeExceptionde的表达式,当执行表达式抛出任何异常的时候,都会转化成运行时异常 如此一来,代码中就不用显示的try-catch转化成运行时异常
uncheck(Func0<R>, Supplier1<RuntimeException, Exception>) - Static method in class cn.hutool.core.exceptions.CheckedUtil
接收一个可以转化成 cn.hutool.core.lang.func.Func0的Lambda表达式,和一个可以把Exception转化成RuntimeExceptionde的表达式,当执行表达式抛出任何异常的时候,都会转化成运行时异常 如此一来,代码中就不用显示的try-catch转化成运行时异常
uncheck(Func1<P, R>, Supplier1<RuntimeException, Exception>) - Static method in class cn.hutool.core.exceptions.CheckedUtil
接收一个可以转化成 cn.hutool.core.lang.func.Func1的Lambda表达式,和一个可以把Exception转化成RuntimeExceptionde的表达式,当执行表达式抛出任何异常的时候,都会转化成运行时异常 如此一来,代码中就不用显示的try-catch转化成运行时异常
uncheck(VoidFunc<P>, Supplier1<RuntimeException, Exception>) - Static method in class cn.hutool.core.exceptions.CheckedUtil
接收一个可以转化成 cn.hutool.core.lang.func.VoidFunc的Lambda表达式,和一个可以把Exception转化成RuntimeExceptionde的表达式,当执行表达式抛出任何异常的时候,都会转化成运行时异常 如此一来,代码中就不用显示的try-catch转化成运行时异常
uncheck(VoidFunc0, RuntimeException) - Static method in class cn.hutool.core.exceptions.CheckedUtil
接收一个可以转化成 cn.hutool.core.lang.func.VoidFunc0的Lambda表达式,和一个RuntimeException,当执行表达式抛出任何异常的时候,都会转化成运行时异常 如此一来,代码中就不用显示的try-catch转化成运行时异常
uncheck(VoidFunc0, Supplier1<RuntimeException, Exception>) - Static method in class cn.hutool.core.exceptions.CheckedUtil
接收一个可以转化成 cn.hutool.core.lang.func.VoidFunc0的Lambda表达式,和一个可以把Exception转化成RuntimeExceptionde的表达式,当执行表达式抛出任何异常的时候,都会转化成运行时异常 如此一来,代码中就不用显示的try-catch转化成运行时异常
uncheck(VoidFunc1<P>, Supplier1<RuntimeException, Exception>) - Static method in class cn.hutool.core.exceptions.CheckedUtil
接收一个可以转化成 cn.hutool.core.lang.func.VoidFunc1的Lambda表达式,和一个RuntimeException,当执行表达式抛出任何异常的时候,都会转化成运行时异常 如此一来,代码中就不用显示的try-catch转化成运行时异常
UNDERLINE - Static variable in interface cn.hutool.core.text.CharPool
字符常量:下划线 '_'
UNDERLINE - Static variable in interface cn.hutool.core.text.StrPool
字符串常量:下划线 "_"
unescape(String) - Static method in class cn.hutool.core.util.EscapeUtil
Escape解码
unescape(String) - Static method in class cn.hutool.core.util.XmlUtil
反转义XML特殊字符:
unescape(String) - Static method in class cn.hutool.http.HtmlUtil
还原被转义的HTML特殊字符
unescapeHtml4(CharSequence) - Static method in class cn.hutool.core.util.EscapeUtil
反转义HTML4中的特殊字符
unescapeXml(CharSequence) - Static method in class cn.hutool.core.util.EscapeUtil
反转义XML中的特殊字符
unGzip() - Method in class cn.hutool.core.compress.Gzip
将压缩流解压到target中
unGzip(byte[], String) - Static method in class cn.hutool.core.util.ZipUtil
Gzip解压缩处理
unGzip(byte[]) - Static method in class cn.hutool.core.util.ZipUtil
Gzip解压处理
unGzip(InputStream) - Static method in class cn.hutool.core.util.ZipUtil
Gzip解压处理
unGzip(InputStream, int) - Static method in class cn.hutool.core.util.ZipUtil
Gzip解压处理
unicodeToStr(String) - Static method in class cn.hutool.core.convert.Convert
unicode的String转换成String的字符串
UnicodeUtil - Class in cn.hutool.core.text
提供Unicode字符串和普通字符串之间的转换
UnicodeUtil() - Constructor for class cn.hutool.core.text.UnicodeUtil
 
union(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],此结果中只保留了三个c
union(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],此结果中只保留了三个c
unionAll(Collection<T>, Collection<T>, Collection<T>...) - Static method in class cn.hutool.core.collection.CollUtil
多个集合的完全并集,类似于SQL中的“UNION ALL”
针对一个集合中存在多个相同元素的情况,保留全部元素
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c, c, a, b, c, c]
unionDistinct(Collection<T>, Collection<T>, Collection<T>...) - Static method in class cn.hutool.core.collection.CollUtil
多个集合的非重复并集,类似于SQL中的“UNION DISTINCT”
针对一个集合中存在多个相同元素的情况,只保留一个
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c],此结果中只保留了一个c
UniqueKeySet<K,V> - Class in cn.hutool.core.collection
唯一键的Set
通过自定义唯一键,通过UniqueKeySet.uniqueGenerator生成节点对象对应的键作为Map的key,确定唯一
此Set与HashSet不同的是,HashSet依赖于Object.equals(Object)确定唯一
但是很多时候我们无法对对象进行修改,此时在外部定义一个唯一规则,即可完成去重。
UniqueKeySet(Function<V, K>) - Constructor for class cn.hutool.core.collection.UniqueKeySet
构造
UniqueKeySet(Function<V, K>, Collection<? extends V>) - Constructor for class cn.hutool.core.collection.UniqueKeySet
构造
UniqueKeySet(boolean, Function<V, K>) - Constructor for class cn.hutool.core.collection.UniqueKeySet
构造
UniqueKeySet(boolean, Function<V, K>, Collection<? extends V>) - Constructor for class cn.hutool.core.collection.UniqueKeySet
构造
UniqueKeySet(int, float, Function<V, K>) - Constructor for class cn.hutool.core.collection.UniqueKeySet
构造
UniqueKeySet(MapBuilder<K, V>, Function<V, K>) - Constructor for class cn.hutool.core.collection.UniqueKeySet
构造
UNIT_NAMES - Static variable in enum cn.hutool.core.io.unit.DataUnit
 
universal(char[], int, int[]) - Static method in class cn.hutool.core.util.HashUtil
Universal Hashing
UniversalNamespaceCache(Node, boolean) - Constructor for class cn.hutool.core.util.XmlUtil.UniversalNamespaceCache
This constructor parses the document and stores all namespaces it can find.
UNIX_SEPARATOR - Static variable in class cn.hutool.core.io.file.FileNameUtil
类Unix路径分隔符
Unknown - Static variable in class cn.hutool.http.useragent.Browser
未知
Unknown - Static variable in class cn.hutool.http.useragent.Engine
未知
Unknown - Static variable in class cn.hutool.http.useragent.OS
未知
Unknown - Static variable in class cn.hutool.http.useragent.Platform
未知
unlinkNode(K, K) - Method in interface cn.hutool.core.map.ForestMap
parentKeychildKey对应节点都存在,则移除指定该父节点与其直接关联的指定子节点间的引用关系
unlinkNode(K, K) - Method in class cn.hutool.core.map.LinkedForestMap
移除指定父节点与其直接关联的子节点间的引用关系,但是不会将该节点从集合中删除
unlock() - Method in class cn.hutool.core.thread.lock.NoLock
 
unmodifiable(Collection<? extends T>) - Static method in class cn.hutool.core.collection.CollUtil
转为只读集合
unmodifiable(List<T>) - Static method in class cn.hutool.core.collection.ListUtil
将对应List转换为不可修改的List
unmodifiable(Map<K, V>) - Static method in class cn.hutool.core.map.MapUtil
将对应Map转换为不可修改的Map
unregisterBean(String) - Static method in class cn.hutool.extra.spring.SpringUtil
注销bean
UNRESERVED - Static variable in class cn.hutool.core.net.RFC3986
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
see: https://www.ietf.org/rfc/rfc3986.html#section-2.3
unWrap(Class<?>) - Static method in enum cn.hutool.core.convert.BasicType
包装类转为原始类,非包装类返回原类
unWrap(Class<?>) - Static method in class cn.hutool.core.convert.Convert
包装类转为原始类,非包装类返回原类
unwrap(Throwable) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
剥离反射引发的InvocationTargetException、UndeclaredThrowableException中间异常,返回业务本身的异常
unWrap(CharSequence, String, String) - Static method in class cn.hutool.core.text.CharSequenceUtil
去掉字符包装,如果未被包装则返回原字符串
unWrap(CharSequence, char, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
去掉字符包装,如果未被包装则返回原字符串
unWrap(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
去掉字符包装,如果未被包装则返回原字符串
unWrap(Integer...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
包装类数组转为原始类型数组,null转为0
unWrap(Long...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
包装类数组转为原始类型数组
unWrap(Character...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
包装类数组转为原始类型数组
unWrap(Byte...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
包装类数组转为原始类型数组
unWrap(Short...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
包装类数组转为原始类型数组
unWrap(Float...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
包装类数组转为原始类型数组
unWrap(Double...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
包装类数组转为原始类型数组
unWrap(Boolean...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
包装类数组转为原始类型数组
null 按照 false 对待
unwrap(Class<T>) - Method in class cn.hutool.db.ds.DataSourceWrapper
 
unwrap(Class<T>) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
 
unwrap(Class<T>) - Method in class cn.hutool.db.ds.simple.AbstractDataSource
 
unwrap(Class<T>) - Method in class cn.hutool.db.sql.StatementWrapper
 
unWrap(String) - Method in class cn.hutool.db.sql.Wrapper
解包装字段名
unwrapHtmlTag(String, String...) - Static method in class cn.hutool.http.HtmlUtil
清除指定HTML标签,不包括内容
不区分大小写
unzip(String) - Static method in class cn.hutool.core.util.ZipUtil
解压到文件名相同的目录中,默认编码UTF-8
unzip(String, Charset) - Static method in class cn.hutool.core.util.ZipUtil
解压到文件名相同的目录中
unzip(File) - Static method in class cn.hutool.core.util.ZipUtil
解压到文件名相同的目录中,使用UTF-8编码
unzip(File, Charset) - Static method in class cn.hutool.core.util.ZipUtil
解压到文件名相同的目录中
unzip(String, String) - Static method in class cn.hutool.core.util.ZipUtil
解压,默认UTF-8编码
unzip(String, String, Charset) - Static method in class cn.hutool.core.util.ZipUtil
解压
unzip(File, File) - Static method in class cn.hutool.core.util.ZipUtil
解压,默认使用UTF-8编码
unzip(File, File, Charset) - Static method in class cn.hutool.core.util.ZipUtil
解压
unzip(ZipFile, File) - Static method in class cn.hutool.core.util.ZipUtil
解压
unzip(ZipFile, File, long) - Static method in class cn.hutool.core.util.ZipUtil
限制解压后文件大小
unzip(InputStream, File, Charset) - Static method in class cn.hutool.core.util.ZipUtil
解压
ZIP条目不使用高速缓冲。
unzip(ZipInputStream, File) - Static method in class cn.hutool.core.util.ZipUtil
解压
ZIP条目不使用高速缓冲。
unzipFileBytes(String, String) - Static method in class cn.hutool.core.util.ZipUtil
从Zip文件中提取指定的文件为bytes
unzipFileBytes(String, Charset, String) - Static method in class cn.hutool.core.util.ZipUtil
从Zip文件中提取指定的文件为bytes
unzipFileBytes(File, String) - Static method in class cn.hutool.core.util.ZipUtil
从Zip文件中提取指定的文件为bytes
unzipFileBytes(File, Charset, String) - Static method in class cn.hutool.core.util.ZipUtil
从Zip文件中提取指定的文件为bytes
unZlib(byte[], String) - Static method in class cn.hutool.core.util.ZipUtil
Zlib解压缩处理
unZlib(byte[]) - Static method in class cn.hutool.core.util.ZipUtil
解压缩zlib
unZlib(InputStream) - Static method in class cn.hutool.core.util.ZipUtil
解压缩zlib
unZlib(InputStream, int) - Static method in class cn.hutool.core.util.ZipUtil
解压缩zlib
update(int) - Method in class cn.hutool.core.io.checksum.crc16.CRC16Ansi
 
update(int) - Method in class cn.hutool.core.io.checksum.crc16.CRC16CCITT
 
update(byte[], int, int) - Method in class cn.hutool.core.io.checksum.crc16.CRC16CCITTFalse
 
update(int) - Method in class cn.hutool.core.io.checksum.crc16.CRC16CCITTFalse
 
update(byte[]) - Method in class cn.hutool.core.io.checksum.crc16.CRC16Checksum
计算全部字节
update(byte[], int, int) - Method in class cn.hutool.core.io.checksum.crc16.CRC16Checksum
 
update(byte[], int, int) - Method in class cn.hutool.core.io.checksum.crc16.CRC16DNP
 
update(int) - Method in class cn.hutool.core.io.checksum.crc16.CRC16DNP
 
update(int) - Method in class cn.hutool.core.io.checksum.crc16.CRC16IBM
 
update(byte[], int, int) - Method in class cn.hutool.core.io.checksum.crc16.CRC16Maxim
 
update(int) - Method in class cn.hutool.core.io.checksum.crc16.CRC16Maxim
 
update(int) - Method in class cn.hutool.core.io.checksum.crc16.CRC16Modbus
 
update(byte[], int, int) - Method in class cn.hutool.core.io.checksum.crc16.CRC16USB
 
update(int) - Method in class cn.hutool.core.io.checksum.crc16.CRC16USB
 
update(byte[], int, int) - Method in class cn.hutool.core.io.checksum.crc16.CRC16X25
 
update(int) - Method in class cn.hutool.core.io.checksum.crc16.CRC16X25
 
update(byte[], int, int) - Method in class cn.hutool.core.io.checksum.crc16.CRC16XModem
 
update(int) - Method in class cn.hutool.core.io.checksum.crc16.CRC16XModem
 
update(byte[], int, int) - Method in class cn.hutool.core.io.checksum.CRC16
 
update(int) - Method in class cn.hutool.core.io.checksum.CRC16
 
update(byte[], int, int) - Method in class cn.hutool.core.io.checksum.CRC8
 
update(byte[]) - Method in class cn.hutool.core.io.checksum.CRC8
Updates the current checksum with the specified array of bytes.
update(int) - Method in class cn.hutool.core.io.checksum.CRC8
 
update(byte[], int, int) - Method in class cn.hutool.crypto.digest.mac.BCMacEngine
 
update(byte[]) - Method in class cn.hutool.crypto.digest.mac.DefaultHMacEngine
 
update(byte[], int, int) - Method in class cn.hutool.crypto.digest.mac.DefaultHMacEngine
 
update(byte[]) - Method in interface cn.hutool.crypto.digest.mac.MacEngine
加入需要被摘要的内容
update(byte[], int, int) - Method in interface cn.hutool.crypto.digest.mac.MacEngine
加入需要被摘要的内容
update(byte[]) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
更新数据,分组加密中间结果可以当作随机数
第一次更新数据前需要调用SymmetricCrypto.setMode(CipherMode)初始化加密或解密模式,然后每次更新数据都是累加模式
update(Entity, Entity) - Method in class cn.hutool.db.AbstractDb
更新数据
更新条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
update(String) - Method in class cn.hutool.db.ActiveEntity
根据现有Entity中的条件删除与之匹配的数据库记录
update(Entity, Entity) - Method in class cn.hutool.db.DaoTemplate
按照条件更新
update(Entity) - Method in class cn.hutool.db.DaoTemplate
更新
update(Connection, Entity, Entity) - Method in class cn.hutool.db.DialectRunner
更新数据
此方法不会关闭Connection
update(Entity) - Method in class cn.hutool.db.sql.SqlBuilder
更新
updateHex(byte[]) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
更新数据,分组加密中间结果可以当作随机数
第一次更新数据前需要调用SymmetricCrypto.setMode(CipherMode)初始化加密或解密模式,然后每次更新数据都是累加模式
updatePattern(String, CronPattern) - Static method in class cn.hutool.cron.CronUtil
更新Task的执行时间规则
updatePattern(String, CronPattern) - Method in class cn.hutool.cron.Scheduler
更新Task执行的时间规则
updatePattern(String, CronPattern) - Method in class cn.hutool.cron.TaskTable
更新某个Task的定时规则
upload(String, File) - Method in class cn.hutool.extra.ftp.AbstractFtp
将本地文件上传到目标服务器,目标文件名为destPath,若destPath为目录,则目标文件名将与file文件名相同。 覆盖模式
upload(String, File) - Method in class cn.hutool.extra.ftp.Ftp
上传文件到指定目录,可选:
upload(String, String, File) - Method in class cn.hutool.extra.ftp.Ftp
上传文件到指定目录,可选:
upload(String, String, InputStream) - Method in class cn.hutool.extra.ftp.Ftp
上传文件到指定目录,可选:
upload(String, File) - Method in class cn.hutool.extra.ssh.Sftp
 
upload(String, String, InputStream) - Method in class cn.hutool.extra.ssh.Sftp
上传文件到指定目录,可选:
upload(String, File) - Method in class cn.hutool.extra.ssh.SshjSftp
 
UploadFile - Class in cn.hutool.core.net.multipart
上传的文件对象
UploadFile(UploadFileHeader, UploadSetting) - Constructor for class cn.hutool.core.net.multipart.UploadFile
构造
UploadFileHeader - Class in cn.hutool.core.net.multipart
上传的文件的头部信息
来自Jodd
uploadFileOrDirectory(String, File) - Method in class cn.hutool.extra.ftp.Ftp
递归上传文件(支持目录)
上传时,如果uploadFile为目录,只复制目录下所有目录和文件到目标路径下,并不会复制目录本身
上传时,自动创建父级目录
UploadSetting - Class in cn.hutool.core.net.multipart
上传文件设定文件
UploadSetting() - Constructor for class cn.hutool.core.net.multipart.UploadSetting
 
upperFirst(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
大写首字母
例如:str = name, return Name
upperFirstAndAddPre(CharSequence, String) - Static method in class cn.hutool.core.text.CharSequenceUtil
原字符串首字母大写并在其首部添加指定字符串 例如:str=name, preString=get =》 return getName
upsert(Entity, String...) - Method in class cn.hutool.db.AbstractDb
使用upsert语义插入或更新数据
根据给定的字段名查询数据,如果存在则更新这些数据,否则执行插入 如果方言未实现本方法,内部会自动调用insertOrUpdate来实现功能,由于upsert和insert使用有区别,为了兼容性保留原有insertOrUpdate不做变动
upsert(Connection, Entity, String...) - Method in class cn.hutool.db.DialectRunner
更新或插入数据
此方法不会关闭Connection 如果方言未实现此方法则内部自动使用insertOrUpdate来替代功能
URI - Static variable in interface cn.hutool.core.lang.RegexPool
URI
定义见:https://www.ietf.org/rfc/rfc3986.html#appendix-B
URIConverter - Class in cn.hutool.core.convert.impl
URI对象转换器
URIConverter() - Constructor for class cn.hutool.core.convert.impl.URIConverter
 
url - Variable in class cn.hutool.core.io.resource.UrlResource
 
URL - Static variable in class cn.hutool.core.lang.PatternPool
URL
URL - Static variable in interface cn.hutool.core.lang.RegexPool
URL
URL - Static variable in class cn.hutool.core.lang.Validator
URL
url(URI) - Static method in class cn.hutool.core.util.URLUtil
URI转换为URL
url(String) - Static method in class cn.hutool.core.util.URLUtil
通过一个字符串形式的URL地址创建URL对象
url(String, URLStreamHandler) - Static method in class cn.hutool.core.util.URLUtil
通过一个字符串形式的URL地址创建URL对象
URL_HTTP - Static variable in class cn.hutool.core.lang.PatternPool
Http URL
URL_HTTP - Static variable in interface cn.hutool.core.lang.RegexPool
Http URL(来自:http://urlregex.com/)
此正则同时支持FTP、File等协议的URL
URL_HTTP - Static variable in class cn.hutool.core.lang.Validator
Http URL
URL_PROTOCOL_FILE - Static variable in class cn.hutool.core.util.URLUtil
URL 协议表示文件: "file"
URL_PROTOCOL_JAR - Static variable in class cn.hutool.core.util.URLUtil
URL 协议表示Jar文件: "jar"
URL_PROTOCOL_VFS - Static variable in class cn.hutool.core.util.URLUtil
URL 协议表示JBoss VFS资源: "vfs"
URL_PROTOCOL_VFSFILE - Static variable in class cn.hutool.core.util.URLUtil
URL 协议表示JBoss文件: "vfsfile"
URL_PROTOCOL_VFSZIP - Static variable in class cn.hutool.core.util.URLUtil
URL 协议表示JBoss zip文件: "vfszip"
URL_PROTOCOL_WSJAR - Static variable in class cn.hutool.core.util.URLUtil
URL 协议表示WebSphere文件: "wsjar"
URL_PROTOCOL_ZIP - Static variable in class cn.hutool.core.util.URLUtil
URL 协议表示zip文件: "zip"
UrlBuilder - Class in cn.hutool.core.net.url
URL 生成器,格式形如:
UrlBuilder() - Constructor for class cn.hutool.core.net.url.UrlBuilder
构造
UrlBuilder(String, String, int, UrlPath, UrlQuery, String, Charset) - Constructor for class cn.hutool.core.net.url.UrlBuilder
构造
URLConverter - Class in cn.hutool.core.convert.impl
URL对象转换器
URLConverter() - Constructor for class cn.hutool.core.convert.impl.URLConverter
 
URLDecoder - Class in cn.hutool.core.net
URL解码,数据内容的类型是 application/x-www-form-urlencoded。
URLDecoder() - Constructor for class cn.hutool.core.net.URLDecoder
 
URLEncoder - Class in cn.hutool.core.net
Deprecated.
此类中的方法并不规范,请使用 RFC3986
URLEncoder() - Constructor for class cn.hutool.core.net.URLEncoder
Deprecated.
构造
[a-zA-Z0-9]默认不被编码
URLEncodeUtil - Class in cn.hutool.core.net
URL编码工具
TODO 在6.x中移除此工具(无法很好区分URL编码和www-form编码)
URLEncodeUtil() - Constructor for class cn.hutool.core.net.URLEncodeUtil
 
UrlPath - Class in cn.hutool.core.net.url
URL中Path部分的封装
UrlPath() - Constructor for class cn.hutool.core.net.url.UrlPath
 
UrlQuery - Class in cn.hutool.core.net.url
URL中查询字符串部分的封装,类似于:
UrlQuery() - Constructor for class cn.hutool.core.net.url.UrlQuery
构造
UrlQuery(boolean) - Constructor for class cn.hutool.core.net.url.UrlQuery
构造
UrlQuery(Map<? extends CharSequence, ?>) - Constructor for class cn.hutool.core.net.url.UrlQuery
构造
UrlQuery(Map<? extends CharSequence, ?>, boolean) - Constructor for class cn.hutool.core.net.url.UrlQuery
构造
UrlResource - Class in cn.hutool.core.io.resource
URL资源访问类
UrlResource(URI) - Constructor for class cn.hutool.core.io.resource.UrlResource
构造
UrlResource(URL) - Constructor for class cn.hutool.core.io.resource.UrlResource
构造
UrlResource(URL, String) - Constructor for class cn.hutool.core.io.resource.UrlResource
构造
UrlResource(File) - Constructor for class cn.hutool.core.io.resource.UrlResource
Deprecated.
Please use FileResource
URLUtil - Class in cn.hutool.core.util
URL(Uniform Resource Locator)统一资源定位符相关工具类
URLUtil() - Constructor for class cn.hutool.core.util.URLUtil
 
urlWithForm(String, Map<String, Object>, Charset, boolean) - Static method in class cn.hutool.http.HttpUtil
将表单数据加到URL中(用于GET表单提交)
表单的键值对会被url编码,但是url中原参数不会被编码
urlWithForm(String, String, Charset, boolean) - Static method in class cn.hutool.http.HttpUtil
将表单数据字符串加到URL中(用于GET表单提交)
urlWithFormUrlEncoded(String, Map<String, Object>, Charset) - Static method in class cn.hutool.http.HttpUtil
将表单数据加到URL中(用于GET表单提交) 表单的键值对会被url编码,但是url中原参数不会被编码 且对form参数进行 FormUrlEncoded ,x-www-form-urlencoded模式,此模式下空格会编码为'+'
use() - Static method in class cn.hutool.db.Db
创建Db
使用默认数据源,自动探测数据库连接池
use(String) - Static method in class cn.hutool.db.Db
创建Db
使用默认数据源,自动探测数据库连接池
use(DataSource) - Static method in class cn.hutool.db.Db
创建Db
会根据数据源连接的元信息识别目标数据库类型,进而使用合适的数据源
use(DataSource, Dialect) - Static method in class cn.hutool.db.Db
创建Db
use(DataSource, String) - Static method in class cn.hutool.db.Db
创建Db
use() - Static method in class cn.hutool.db.DbUtil
实例化一个新的Db,使用默认数据源
use(DataSource) - Static method in class cn.hutool.db.DbUtil
实例化一个新的Db对象
use(DataSource, Dialect) - Static method in class cn.hutool.db.DbUtil
实例化一个新的SQL运行对象
useArrayBlockingQueue(int) - Method in class cn.hutool.core.thread.ExecutorBuilder
使用ArrayBlockingQueue 做为等待队列
有界队列,相对无界队列有利于控制队列大小,队列满时,运行线程小于maxPoolSize时会创建新线程,否则触发异常策略
useCachesIfNecessary(URLConnection) - Static method in class cn.hutool.core.util.URLUtil
如果连接为JNLP方式,则打开缓存
usedEntry - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
 
usedSize - Variable in class cn.hutool.cache.file.AbstractFileCache
已使用缓存空间
usePlainEncoding() - Method in class cn.hutool.crypto.asymmetric.SM2
设置DSA signatures的编码为PlainDSAEncoding
USER_DIR - Static variable in interface cn.hutool.system.SystemPropsKeys
用户的当前工作目录
USER_DIR - Static variable in class cn.hutool.system.SystemUtil
用户的当前工作目录的KEY
USER_HOME - Static variable in interface cn.hutool.system.SystemPropsKeys
用户的主目录
USER_HOME - Static variable in class cn.hutool.system.SystemUtil
用户的主目录的KEY
USER_NAME - Static variable in interface cn.hutool.system.SystemPropsKeys
用户的账户名称
USER_NAME - Static variable in class cn.hutool.system.SystemUtil
用户的账户名称的KEY
UserAgent - Class in cn.hutool.http.useragent
User-Agent信息对象
UserAgent() - Constructor for class cn.hutool.http.useragent.UserAgent
 
UserAgentInfo - Class in cn.hutool.http.useragent
User-agent信息
UserAgentInfo(String, String) - Constructor for class cn.hutool.http.useragent.UserAgentInfo
构造
UserAgentInfo(String, Pattern) - Constructor for class cn.hutool.http.useragent.UserAgentInfo
构造
UserAgentParser - Class in cn.hutool.http.useragent
User-Agent解析器
UserAgentParser() - Constructor for class cn.hutool.http.useragent.UserAgentParser
 
UserAgentUtil - Class in cn.hutool.http.useragent
User-Agent工具类
UserAgentUtil() - Constructor for class cn.hutool.http.useragent.UserAgentUtil
 
userId() - Static method in class cn.hutool.core.util.DesensitizedUtil
【用户id】不对外提供userId
UserInfo - Class in cn.hutool.system
代表当前用户的信息。
UserInfo() - Constructor for class cn.hutool.system.UserInfo
 
UserPassAuthenticator - Class in cn.hutool.core.net
账号密码形式的Authenticator
UserPassAuthenticator(String, char[]) - Constructor for class cn.hutool.core.net.UserPassAuthenticator
构造
UserPassAuthenticator - Class in cn.hutool.extra.mail
用户名密码验证器
UserPassAuthenticator(String, String) - Constructor for class cn.hutool.extra.mail.UserPassAuthenticator
构造
useSynchronousQueue() - Method in class cn.hutool.core.thread.ExecutorBuilder
使用SynchronousQueue 做为等待队列(非公平策略)
它将任务直接提交给线程而不保持它们。当运行线程小于maxPoolSize时会创建新线程,否则触发异常策略
useSynchronousQueue(boolean) - Method in class cn.hutool.core.thread.ExecutorBuilder
使用SynchronousQueue 做为等待队列
它将任务直接提交给线程而不保持它们。当运行线程小于maxPoolSize时会创建新线程,否则触发异常策略
UTC_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
UTC时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ss'Z'
UTC_MS_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
UTC时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
UTC_MS_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
UTC时间:yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
UTC_MS_WITH_XXX_OFFSET_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
UTC时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ss.SSSXXX
UTC_MS_WITH_XXX_OFFSET_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
UTC时间:yyyy-MM-dd'T'HH:mm:ss.SSSXXX
UTC_MS_WITH_ZONE_OFFSET_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
UTC时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ssZ
UTC_MS_WITH_ZONE_OFFSET_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
UTC时间:yyyy-MM-dd'T'HH:mm:ssZ
UTC_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
UTC时间:yyyy-MM-dd'T'HH:mm:ss'Z'
UTC_SIMPLE_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
ISO8601时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ss
UTC_SIMPLE_MS_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
ISO8601时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ss.SSS
UTC_SIMPLE_MS_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
ISO8601时间:yyyy-MM-dd'T'HH:mm:ss.SSS
UTC_SIMPLE_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
ISO8601时间:yyyy-MM-dd'T'HH:mm:ss
UTC_WITH_XXX_OFFSET_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
UTC时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ssXXX
UTC_WITH_XXX_OFFSET_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
UTC时间:yyyy-MM-dd'T'HH:mm:ssXXX
UTC_WITH_ZONE_OFFSET_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
UTC时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ssZ
UTC_WITH_ZONE_OFFSET_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
UTC时间:yyyy-MM-dd'T'HH:mm:ssZ
utf8Bytes(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
编码字符串,编码为UTF-8
utf8Str(Object) - Static method in class cn.hutool.core.util.StrUtil
将对象转为字符串
UTF_8 - Static variable in class cn.hutool.core.util.CharsetUtil
UTF-8
UtilException - Exception in cn.hutool.core.exceptions
工具类异常
UtilException(Throwable) - Constructor for exception cn.hutool.core.exceptions.UtilException
 
UtilException(String) - Constructor for exception cn.hutool.core.exceptions.UtilException
 
UtilException(String, Object...) - Constructor for exception cn.hutool.core.exceptions.UtilException
 
UtilException(String, Throwable) - Constructor for exception cn.hutool.core.exceptions.UtilException
 
UtilException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.core.exceptions.UtilException
 
UtilException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.exceptions.UtilException
 
UUID - Static variable in class cn.hutool.core.lang.PatternPool
UUID
UUID - Static variable in interface cn.hutool.core.lang.RegexPool
UUID
UUID - Class in cn.hutool.core.lang
提供通用唯一识别码(universally unique identifier)(UUID)实现,UUID表示一个128位的值。
此类拷贝自java.util.UUID,用于生成不带-的UUID字符串
UUID(long, long) - Constructor for class cn.hutool.core.lang.UUID
使用指定的数据构造新的 UUID。
UUID - Static variable in class cn.hutool.core.lang.Validator
UUID
uuid() - Static method in class cn.hutool.core.util.StrUtil
生成随机UUID
UUID_SIMPLE - Static variable in class cn.hutool.core.lang.PatternPool
不带横线的UUID
UUID_SIMPLE - Static variable in interface cn.hutool.core.lang.RegexPool
不带横线的UUID
UUID_SIMPLE - Static variable in class cn.hutool.core.lang.Validator
不带横线的UUID
UUIDConverter - Class in cn.hutool.core.convert.impl
UUID对象转换器转换器
UUIDConverter() - Constructor for class cn.hutool.core.convert.impl.UUIDConverter
 
UUIDGenerator - Class in cn.hutool.core.lang.generator
UUID生成器
UUIDGenerator() - Constructor for class cn.hutool.core.lang.generator.UUIDGenerator
 

V

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
验证JWT是否有效,验证包括: Token是否正确 RegisteredPayload.NOT_BEFORE:生效时间不能晚于当前时间 RegisteredPayload.EXPIRES_AT:失效时间不能早于当前时间 RegisteredPayload.ISSUED_AT: 签发时间不能晚于当前时间
validateAlgorithm() - Method in class cn.hutool.jwt.JWTValidator
验证算法,使用JWT对象自带的JWTSigner
validateAlgorithm(JWTSigner) - Method in class cn.hutool.jwt.JWTValidator
验证算法,使用自定义的JWTSigner
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
检查JWT的以下三两个时间: RegisteredPayload.NOT_BEFORE:被检查时间必须晚于生效时间 RegisteredPayload.EXPIRES_AT:被检查时间必须早于失效时间 RegisteredPayload.ISSUED_AT:签发时间必须早于失效时间
validateDate(Date) - Method in class cn.hutool.jwt.JWTValidator
检查JWT的以下三两个时间: RegisteredPayload.NOT_BEFORE:生效时间不能晚于当前时间 RegisteredPayload.EXPIRES_AT:失效时间不能早于当前时间 RegisteredPayload.ISSUED_AT: 签发时间不能晚于当前时间
validateDate(Date, long) - Method in class cn.hutool.jwt.JWTValidator
检查JWT的以下三两个时间: RegisteredPayload.NOT_BEFORE:生效时间不能晚于当前时间 RegisteredPayload.EXPIRES_AT:失效时间不能早于当前时间 RegisteredPayload.ISSUED_AT: 签发时间不能晚于当前时间
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
通过正则表达式验证
不符合正则抛出ValidateException 异常
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)封装
ValidationUtil() - Constructor for class cn.hutool.extra.validation.ValidationUtil
 
Validator - Class in cn.hutool.core.lang
字段验证器(验证器),分两种类型的验证: isXXX:通过返回boolean值判断是否满足给定格式。 validateXXX:通过抛出异常ValidateException检查是否满足给定格式。
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
通过Types中对应int值找到enum值
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
ValueProvider属性拷贝到Bean中的拷贝器
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
返回当前实例中全部TreeEntry组成的Collection集合
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 相关联的变体号。变体号描述 UUID 的布局。
VelocityEngine - Class in cn.hutool.extra.template.engine.velocity
Velocity模板引擎
见:http://velocity.apache.org/
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
字符串版本表示,用于解析版本号的不同部分并比较大小。
来自:java.lang.module.ModuleDescriptor.Version
Version(String) - Constructor for class cn.hutool.core.lang.Version
版本对象,格式:tok+ ( '-' tok+)? ( '+' tok+)?,版本之间使用'.'或'-'分隔,版本号可能包含'+'
数字部分按照大小比较,字符串按照字典顺序比较。 sequence: 主版本号 pre: 次版本号 build: 构建版本
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
维吉尼亚密码实现。
人们在恺撒移位密码的基础上扩展出多表密码,称为维吉尼亚密码。
算法实现来自:https://github.com/zhaorenjie110/SymmetricEncryptionAndDecryption
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的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象

W

waitAll(CompletableFuture<?>...) - Static method in class cn.hutool.core.thread.AsyncUtil
等待所有任务执行完毕,包裹了异常
waitAny(CompletableFuture<?>...) - Static method in class cn.hutool.core.thread.AsyncUtil
等待任意一个任务执行完毕,包裹了异常
waitForDie() - Static method in class cn.hutool.core.thread.ThreadUtil
等待当前线程结束.
waitForDie(Thread) - Static method in class cn.hutool.core.thread.ThreadUtil
等待线程结束.
walk(Consumer<Tree<T>>) - Method in class cn.hutool.core.lang.tree.Tree
递归树并处理子树下的节点:
walkFiles(Path, FileVisitor<? super Path>) - Static method in class cn.hutool.core.io.file.PathUtil
遍历指定path下的文件并做处理
walkFiles(Path, int, FileVisitor<? super Path>) - Static method in class cn.hutool.core.io.file.PathUtil
遍历指定path下的文件并做处理
walkFiles(Path, int, boolean, FileVisitor<? super Path>) - Static method in class cn.hutool.core.io.file.PathUtil
遍历指定path下的文件并做处理
walkFiles(File, Consumer<File>) - Static method in class cn.hutool.core.io.FileUtil
递归遍历目录并处理目录下的文件,可以处理目录或文件: 非目录则直接调用Consumer处理 目录则递归调用此方法处理
WAR_URL_PREFIX - Static variable in class cn.hutool.core.util.URLUtil
URL 前缀表示war: "war:"
WAR_URL_SEPARATOR - Static variable in class cn.hutool.core.util.URLUtil
WAR路径及内部文件路径分界符
warn(Throwable) - Method in class cn.hutool.log.AbstractLog
 
warn(String, Object...) - Method in class cn.hutool.log.AbstractLog
 
warn(Throwable, String, Object...) - Method in class cn.hutool.log.AbstractLog
 
warn(String, Object...) - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
 
warn(Throwable, String, Object...) - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
 
warn(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
 
warn(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.console.ConsoleLog
 
warn(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jboss.JbossLog
 
warn(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jdk.JdkLog
 
warn(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j.Log4jLog
 
warn(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
 
warn(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.logtube.LogTubeLog
 
warn(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
 
warn(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog
 
warn(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
 
warn(Throwable) - Method in interface cn.hutool.log.level.WarnLog
打印 WARN 等级的日志
warn(String, Object...) - Method in interface cn.hutool.log.level.WarnLog
打印 WARN 等级的日志
warn(Throwable, String, Object...) - Method in interface cn.hutool.log.level.WarnLog
打印 WARN 等级的日志
warn(String, Throwable, String, Object...) - Method in interface cn.hutool.log.level.WarnLog
打印 WARN 等级的日志
warn(String, Object...) - Static method in class cn.hutool.log.StaticLog
Warn等级日志,小于Error
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
warn(Throwable, String, Object...) - Static method in class cn.hutool.log.StaticLog
Warn等级日志,小于Error
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
warn(Log, String, Object...) - Static method in class cn.hutool.log.StaticLog
Warn等级日志,小于Error
warn(Log, Throwable, String, Object...) - Static method in class cn.hutool.log.StaticLog
Warn等级日志,小于Error
WarnLog - Interface in cn.hutool.log.level
WARN级别日志接口
warpValidate(T, Class<?>...) - Static method in class cn.hutool.extra.validation.ValidationUtil
校验对象
warpValidateProperty(T, String, Class<?>...) - Static method in class cn.hutool.extra.validation.ValidationUtil
校验bean的某一个属性
watch() - Method in class cn.hutool.core.io.watch.WatchMonitor
开始监听事件,阻塞当前进程
watch(Watcher) - Method in class cn.hutool.core.io.watch.WatchMonitor
开始监听事件,阻塞当前进程
watch(WatchAction, Filter<WatchEvent<?>>) - Method in class cn.hutool.core.io.watch.WatchServer
执行事件获取并处理
watch(Watcher, Filter<WatchEvent<?>>) - Method in class cn.hutool.core.io.watch.WatchServer
执行事件获取并处理
WatchAction - Interface in cn.hutool.core.io.watch
监听事件处理函数接口
Watcher - Interface in cn.hutool.core.io.watch
观察者(监视器)
WatcherChain - Class in cn.hutool.core.io.watch.watchers
观察者链
用于加入多个观察者
WatcherChain(Watcher...) - Constructor for class cn.hutool.core.io.watch.watchers.WatcherChain
构造
WatchException - Exception in cn.hutool.core.io.watch
监听异常
WatchException(Throwable) - Constructor for exception cn.hutool.core.io.watch.WatchException
 
WatchException(String) - Constructor for exception cn.hutool.core.io.watch.WatchException
 
WatchException(String, Object...) - Constructor for exception cn.hutool.core.io.watch.WatchException
 
WatchException(String, Throwable) - Constructor for exception cn.hutool.core.io.watch.WatchException
 
WatchException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.io.watch.WatchException
 
WatchKind - Enum in cn.hutool.core.io.watch
监听事件类型枚举,包括:
WatchMonitor - Class in cn.hutool.core.io.watch
路径监听器
WatchMonitor(File, WatchEvent.Kind<?>...) - Constructor for class cn.hutool.core.io.watch.WatchMonitor
构造
WatchMonitor(String, WatchEvent.Kind<?>...) - Constructor for class cn.hutool.core.io.watch.WatchMonitor
构造
WatchMonitor(Path, WatchEvent.Kind<?>...) - Constructor for class cn.hutool.core.io.watch.WatchMonitor
构造
WatchMonitor(Path, int, WatchEvent.Kind<?>...) - Constructor for class cn.hutool.core.io.watch.WatchMonitor
构造
例如设置:
WatchServer - Class in cn.hutool.core.io.watch
文件监听服务,此服务可以同时监听多个路径。
WatchServer() - Constructor for class cn.hutool.core.io.watch.WatchServer
 
WatchUtil - Class in cn.hutool.core.io.watch
监听工具类
主要负责文件监听器的快捷创建
WatchUtil() - Constructor for class cn.hutool.core.io.watch.WatchUtil
 
wCRCin - Variable in class cn.hutool.core.io.checksum.crc16.CRC16Checksum
CRC16 Checksum 结果值
WeakCache<K,V> - Class in cn.hutool.cache.impl
弱引用缓存
对于一个给定的键,其映射的存在并不阻止垃圾回收器对该键的丢弃,这就使该键成为可终止的,被终止,然后被回收。
丢弃某个键时,其条目从映射中有效地移除。
WeakCache(long) - Constructor for class cn.hutool.cache.impl.WeakCache
构造
WeakConcurrentMap<K,V> - Class in cn.hutool.core.map
线程安全的WeakMap实现
参考:jdk.management.resource.internal.WeakKeyConcurrentHashMap
WeakConcurrentMap() - Constructor for class cn.hutool.core.map.WeakConcurrentMap
构造
WeakConcurrentMap(ConcurrentMap<Reference<K>, V>) - Constructor for class cn.hutool.core.map.WeakConcurrentMap
构造
WeakInterner<T> - Class in cn.hutool.core.lang.intern
使用WeakHashMap(线程安全)存储对象的规范化对象,注意此对象需单例使用!
WeakInterner() - Constructor for class cn.hutool.core.lang.intern.WeakInterner
 
WebAppResource - Class in cn.hutool.core.io.resource
Web root资源访问对象
WebAppResource(String) - Constructor for class cn.hutool.core.io.resource.WebAppResource
构造
Week - Enum in cn.hutool.core.date
星期枚举
与Calendar中的星期int值对应
weekOfMonth() - Method in class cn.hutool.core.date.DateTime
获得指定日期是所在月份的第几周
此方法返回值与一周的第一天有关,比如:
2016年1月3日为周日,如果一周的第一天为周日,那这天是第二周(返回2)
如果一周的第一天为周一,那这天是第一周(返回1)
weekOfMonth(Date) - Static method in class cn.hutool.core.date.DateUtil
获得指定日期是所在月份的第几周
weekOfYear() - Method in class cn.hutool.core.date.DateTime
获得指定日期是所在年份的第几周
此方法返回值与一周的第一天有关,比如:
2016年1月3日为周日,如果一周的第一天为周日,那这天是第二周(返回2)
如果一周的第一天为周一,那这天是第一周(返回1)
跨年的那个星期得到的结果总是1
weekOfYear(Date) - Static method in class cn.hutool.core.date.DateUtil
获得指定日期是所在年份的第几周
此方法返回值与一周的第一天有关,比如:
2016年1月3日为周日,如果一周的第一天为周日,那这天是第二周(返回2)
如果一周的第一天为周一,那这天是第一周(返回1)
跨年的那个星期得到的结果总是1
weekOfYear(TemporalAccessor) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
获得指定日期是所在年份的第几周,如: 如果一年的第一天是星期一,则第一周从第一天开始,没有零周 如果一年的第二天是星期一,则第一周从第二天开始,而第一天在零周 如果一年中的第4天是星期一,则第1周从第4周开始,第1至第3周在零周开始 如果一年中的第5天是星期一,则第二周从第5周开始,第1至第4周在第1周
WeightObj(T, double) - Constructor for class cn.hutool.core.lang.WeightRandom.WeightObj
构造
WeightRandom<T> - Class in cn.hutool.core.lang
权重随机算法实现
WeightRandom() - Constructor for class cn.hutool.core.lang.WeightRandom
构造
WeightRandom(WeightRandom.WeightObj<T>) - Constructor for class cn.hutool.core.lang.WeightRandom
构造
WeightRandom(Iterable<WeightRandom.WeightObj<T>>) - Constructor for class cn.hutool.core.lang.WeightRandom
构造
WeightRandom(WeightRandom.WeightObj<T>[]) - Constructor for class cn.hutool.core.lang.WeightRandom
构造
weightRandom(WeightRandom.WeightObj<T>[]) - Static method in class cn.hutool.core.util.RandomUtil
带有权重的随机生成器
weightRandom(Iterable<WeightRandom.WeightObj<T>>) - Static method in class cn.hutool.core.util.RandomUtil
带有权重的随机生成器
WeightRandom.WeightObj<T> - Class in cn.hutool.core.lang
带有权重的对象包装
wgs84ToBd09(double, double) - Static method in class cn.hutool.core.util.CoordinateUtil
WGS84 坐标转为 百度坐标系 (BD-09) 坐标
wgs84ToGcj02(double, double) - Static method in class cn.hutool.core.util.CoordinateUtil
WGS84 转换为 火星坐标系 (GCJ-02)
wgs84ToMercator(double, double) - Static method in class cn.hutool.core.util.CoordinateUtil
WGS84 坐标转为 墨卡托投影
where() - Static method in class cn.hutool.core.lang.Console
返回当前位置+行号 (不支持Lambda、内部类、递归内使用)
where(Condition...) - Method in class cn.hutool.db.sql.SqlBuilder
添加Where语句,所有逻辑之间关系使用Condition.setLinkOperator(LogicalOperator) 定义
where(String) - Method in class cn.hutool.db.sql.SqlBuilder
添加Where语句
width - Variable in class cn.hutool.captcha.AbstractCaptcha
图片的宽度
width - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
 
width - Variable in class cn.hutool.core.img.gif.GifDecoder
 
width - Variable in class cn.hutool.extra.qrcode.QrConfig
宽度(单位:像素或▄)
WINDOWS_PHONE - Static variable in class cn.hutool.http.useragent.Platform
Windows Phone
WINDOWS_SEPARATOR - Static variable in class cn.hutool.core.io.file.FileNameUtil
Windows路径分隔符
WindowsExplorerStringComparator - Class in cn.hutool.core.comparator
Windows 资源管理器风格字符串比较器
WindowsExplorerStringComparator() - Constructor for class cn.hutool.core.comparator.WindowsExplorerStringComparator
 
WitEngine - Class in cn.hutool.extra.template.engine.wit
Wit(http://zqq90.github.io/webit-script/)模板引擎封装
WitEngine() - Constructor for class cn.hutool.extra.template.engine.wit.WitEngine
默认构造
WitEngine(TemplateConfig) - Constructor for class cn.hutool.extra.template.engine.wit.WitEngine
构造
WitEngine(Engine) - Constructor for class cn.hutool.extra.template.engine.wit.WitEngine
构造
with(Consumer<T>) - Method in class cn.hutool.core.builder.GenericBuilder
调用无参数方法
with(BiConsumer<T, P1>, P1) - Method in class cn.hutool.core.builder.GenericBuilder
调用1参数方法
with(Consumer3<T, P1, P2>, P1, P2) - Method in class cn.hutool.core.builder.GenericBuilder
调用2参数方法
WitTemplate - Class in cn.hutool.extra.template.engine.wit
Wit模板实现
WitTemplate(Template) - Constructor for class cn.hutool.extra.template.engine.wit.WitTemplate
构造
WORD - Static variable in class cn.hutool.core.lang.PatternPool
字母
WORD - Static variable in interface cn.hutool.core.lang.RegexPool
字母
Word - Interface in cn.hutool.extra.tokenizer
表示分词中的一个词
Word07Writer - Class in cn.hutool.poi.word
Word docx生成器
Word07Writer() - Constructor for class cn.hutool.poi.word.Word07Writer
 
Word07Writer(File) - Constructor for class cn.hutool.poi.word.Word07Writer
构造
Word07Writer(XWPFDocument) - Constructor for class cn.hutool.poi.word.Word07Writer
构造
Word07Writer(XWPFDocument, File) - Constructor for class cn.hutool.poi.word.Word07Writer
构造
WordEngine - Class in cn.hutool.extra.tokenizer.engine.word
Word分词引擎实现
项目地址:https://github.com/ysc/word
WordEngine() - Constructor for class cn.hutool.extra.tokenizer.engine.word.WordEngine
构造
WordEngine(SegmentationAlgorithm) - Constructor for class cn.hutool.extra.tokenizer.engine.word.WordEngine
构造
WordEngine(Segmentation) - Constructor for class cn.hutool.extra.tokenizer.engine.word.WordEngine
构造
WordResult - Class in cn.hutool.extra.tokenizer.engine.word
Word分词结果实现
项目地址:https://github.com/ysc/word
WordResult(List<Word>) - Constructor for class cn.hutool.extra.tokenizer.engine.word.WordResult
构造
WordTree - Class in cn.hutool.dfa
DFA(Deterministic Finite Automaton 确定有穷自动机) DFA单词树(以下简称单词树),常用于在某大段文字中快速查找某几个关键词是否存在。
单词树使用group区分不同的关键字集合,不同的分组可以共享树枝,避免重复建树。
单词树使用树状结构表示一组单词。
例如:红领巾,红河构建树后为:

/ \
领 河
/

其中每个节点都是一个WordTree对象,查找时从上向下查找。
WordTree() - Constructor for class cn.hutool.dfa.WordTree
默认构造
WordUtil - Class in cn.hutool.poi.word
Word工具类
WordUtil() - Constructor for class cn.hutool.poi.word.WordUtil
 
WordWord - Class in cn.hutool.extra.tokenizer.engine.word
Word分词中的一个单词包装
WordWord(Word) - Constructor for class cn.hutool.extra.tokenizer.engine.word.WordWord
构造
work() - Method in class cn.hutool.core.thread.SyncFinisher.Worker
任务内容
workbook - Variable in class cn.hutool.poi.excel.ExcelBase
工作簿
WorkbookUtil - Class in cn.hutool.poi.excel
Excel工作簿Workbook相关工具类
WorkbookUtil() - Constructor for class cn.hutool.poi.excel.WorkbookUtil
 
Worker() - Constructor for class cn.hutool.core.thread.SyncFinisher.Worker
 
wrap(Class<?>) - Static method in enum cn.hutool.core.convert.BasicType
原始类转为包装类,非原始类返回原类
wrap(Class<?>) - Static method in class cn.hutool.core.convert.Convert
原始类转为包装类,非原始类返回原类
wrap(Throwable, Class<T>) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
包装一个异常
wrap(Map<K, V>) - Static method in class cn.hutool.core.map.MapUtil
创建Map包装类MapWrapper
MapWrapper对Map做一次包装
wrap(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
包装指定字符串
当前缀和后缀一致时使用此方法
wrap(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
包装指定字符串
wrap(Object) - Static method in class cn.hutool.core.util.ArrayUtil
包装数组对象
wrap(int...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(long...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(char...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(byte...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(short...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(float...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(double...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(boolean...) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(DataSource, String) - Static method in class cn.hutool.db.ds.DataSourceWrapper
包装指定的DataSource
wrap(String) - Method in class cn.hutool.db.sql.Wrapper
包装字段名
有时字段与SQL的某些关键字冲突,导致SQL出错,因此需要将字段名用单引号或者反引号包装起来,避免冲突
wrap(String...) - Method in class cn.hutool.db.sql.Wrapper
包装字段名
有时字段与SQL的某些关键字冲突,导致SQL出错,因此需要将字段名用单引号或者反引号包装起来,避免冲突
wrap(Collection<String>) - Method in class cn.hutool.db.sql.Wrapper
包装字段名
有时字段与SQL的某些关键字冲突,导致SQL出错,因此需要将字段名用单引号或者反引号包装起来,避免冲突
wrap(Entity) - Method in class cn.hutool.db.sql.Wrapper
包装表名和字段名,此方法返回一个新的Entity实体类
有时字段与SQL的某些关键字冲突,导致SQL出错,因此需要将字段名用单引号或者反引号包装起来,避免冲突
wrap(Condition...) - Method in class cn.hutool.db.sql.Wrapper
包装字段名
有时字段与SQL的某些关键字冲突,导致SQL出错,因此需要将字段名用单引号或者反引号包装起来,避免冲突
wrap(Template) - Static method in class cn.hutool.extra.template.engine.beetl.BeetlTemplate
包装Beetl模板
wrap(Template) - Static method in class cn.hutool.extra.template.engine.enjoy.EnjoyTemplate
包装Enjoy模板
wrap(Template) - Static method in class cn.hutool.extra.template.engine.freemarker.FreemarkerTemplate
包装Freemarker模板
wrap(JetTemplate) - Static method in class cn.hutool.extra.template.engine.jetbrick.JetbrickTemplate
包装Jetbrick模板
wrap(ITemplate) - Static method in class cn.hutool.extra.template.engine.rythm.RythmTemplate
包装Rythm模板
wrap(TemplateEngine, String, Charset) - Static method in class cn.hutool.extra.template.engine.thymeleaf.ThymeleafTemplate
包装Thymeleaf模板
wrap(Template) - Static method in class cn.hutool.extra.template.engine.velocity.VelocityTemplate
包装Velocity模板
wrap(Template) - Static method in class cn.hutool.extra.template.engine.wit.WitTemplate
包装Wit模板
wrap(Object, JSONConfig) - Static method in class cn.hutool.json.JSONUtil
在需要的时候包装对象
包装包括: null =》 JSONNull.NULL array or collection =》 JSONArray map =》 JSONObject standard property (Double, String, et al) =》 原对象 来自于java包 =》 字符串 其它 =》 尝试包装为JSONObject,否则返回null
wrapAll(CharSequence, CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
包装多个字符串
wrapAllIfMissing(CharSequence, CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
包装多个字符串,如果已经包装,则不再包装
wrapAllWithPair(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
使用单个字符包装多个字符串
wrapAllWithPairIfMissing(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
使用成对的字符包装多个字符串,如果已经包装,则不再包装
wrapAndThrow(Throwable) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
包装异常并重新抛出此异常
RuntimeExceptionError 直接抛出,其它检查异常包装为UndeclaredThrowableException 后抛出
wrapIfMissing(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
包装指定字符串,如果前缀或后缀已经包含对应的字符串,则不再包装
wrapPageSql(SqlBuilder, Page) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
根据不同数据库在查询SQL语句基础上包装其分页的语句
各自数据库通过重写此方法实现最小改动情况下修改分页语句
wrapPageSql(SqlBuilder, Page) - Method in class cn.hutool.db.dialect.impl.H2Dialect
 
wrapPageSql(SqlBuilder, Page) - Method in class cn.hutool.db.dialect.impl.MysqlDialect
 
wrapPageSql(SqlBuilder, Page) - Method in class cn.hutool.db.dialect.impl.OracleDialect
 
wrapPageSql(SqlBuilder, Page) - Method in class cn.hutool.db.dialect.impl.SqlServer2012Dialect
 
WrappedAnnotationAttribute - Interface in cn.hutool.core.annotation
表示一个被包装过的AnnotationAttribute, 该实例中的一些方法可能会被代理到另一个注解属性对象中, 从而使得通过原始的注解属性的方法获取到另一注解属性的值。
除了AnnotationAttribute.getValue()以外,其他方法的返回值应当尽可能与WrappedAnnotationAttribute.getOriginal() 返回的AnnotationAttribute对象的方法返回值一致。
wrapper - Variable in class cn.hutool.db.dialect.impl.AnsiSqlDialect
 
Wrapper - Class in cn.hutool.db.sql
包装器
主要用于字段名的包装(在字段名的前后加字符,例如反引号来避免与数据库的关键字冲突)
Wrapper() - Constructor for class cn.hutool.db.sql.Wrapper
 
Wrapper(Character) - Constructor for class cn.hutool.db.sql.Wrapper
构造
Wrapper(Character, Character) - Constructor for class cn.hutool.db.sql.Wrapper
包装符号
WRAPPER_PRIMITIVE_MAP - Static variable in enum cn.hutool.core.convert.BasicType
包装类型为Key,原始类型为Value,例如: Integer.class =》 int.class.
wrapRuntime(Throwable) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
使用运行时异常包装编译异常
wrapRuntime(String) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
将指定的消息包装为运行时异常
wrapRuntimeAndThrow(String) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
将消息包装为运行时异常并抛出
write(String) - Method in class cn.hutool.captcha.AbstractCaptcha
验证码写出到文件
write(File) - Method in class cn.hutool.captcha.AbstractCaptcha
验证码写出到文件
write(OutputStream) - Method in class cn.hutool.captcha.AbstractCaptcha
 
write(OutputStream) - Method in interface cn.hutool.captcha.ICaptcha
将验证码写出到目标流中
write(OutputStream) - Method in class cn.hutool.core.img.Img
写出图像为结果设置格式
结果类型设定见Img.setTargetImageType(String)
write(ImageOutputStream) - Method in class cn.hutool.core.img.Img
写出图像为结果设置格式
结果类型设定见Img.setTargetImageType(String)
write(File) - Method in class cn.hutool.core.img.Img
写出图像为目标文件扩展名对应的格式
write(ImageInputStream, String, ImageOutputStream) - Static method in class cn.hutool.core.img.ImgUtil
按照目标格式写出图像:GIF=》JPG、GIF=》PNG、PNG=》JPG、PNG=》GIF(X)、BMP=》PNG
此方法并不关闭流
write(Image, String, OutputStream) - Static method in class cn.hutool.core.img.ImgUtil
写出图像:GIF=》JPG、GIF=》PNG、PNG=》JPG、PNG=》GIF(X)、BMP=》PNG
此方法并不关闭流
write(Image, String, ImageOutputStream) - Static method in class cn.hutool.core.img.ImgUtil
写出图像为指定格式:GIF=》JPG、GIF=》PNG、PNG=》JPG、PNG=》GIF(X)、BMP=》PNG
此方法并不关闭流
write(Image, String, ImageOutputStream, float) - Static method in class cn.hutool.core.img.ImgUtil
写出图像为指定格式
write(Image, String, ImageOutputStream, float, Color) - Static method in class cn.hutool.core.img.ImgUtil
写出图像为指定格式
write(Image, File) - Static method in class cn.hutool.core.img.ImgUtil
写出图像为目标文件扩展名对应的格式
write(Image, ImageWriter, ImageOutputStream, float) - Static method in class cn.hutool.core.img.ImgUtil
通过ImageWriter写出图片到输出流
write(char[], int, int) - Method in class cn.hutool.core.io.AppendableWriter
 
write(int) - Method in class cn.hutool.core.io.AppendableWriter
 
write(String, int, int) - Method in class cn.hutool.core.io.AppendableWriter
 
write(String) - Method in class cn.hutool.core.io.AppendableWriter
 
write(char[]) - Method in class cn.hutool.core.io.AppendableWriter
 
write(byte[], int, int) - Method in class cn.hutool.core.io.FastByteArrayOutputStream
 
write(int) - Method in class cn.hutool.core.io.FastByteArrayOutputStream
 
write(int) - Method in class cn.hutool.core.io.FastStringWriter
 
write(String) - Method in class cn.hutool.core.io.FastStringWriter
 
write(String, int, int) - Method in class cn.hutool.core.io.FastStringWriter
 
write(char[]) - Method in class cn.hutool.core.io.FastStringWriter
 
write(char[], int, int) - Method in class cn.hutool.core.io.FastStringWriter
 
write(String, boolean) - Method in class cn.hutool.core.io.file.FileWriter
将String写入文件
write(String) - Method in class cn.hutool.core.io.file.FileWriter
将String写入文件,覆盖模式
write(byte[], int, int) - Method in class cn.hutool.core.io.file.FileWriter
写入数据到文件
write(byte[], int, int, boolean) - Method in class cn.hutool.core.io.file.FileWriter
写入数据到文件
write(OutputStream, boolean, byte[]) - Static method in class cn.hutool.core.io.IoUtil
将byte[]写到流中
write(OutputStream, String, boolean, Object...) - Static method in class cn.hutool.core.io.IoUtil
write(OutputStream, Charset, boolean, Object...) - Static method in class cn.hutool.core.io.IoUtil
将多部分内容写到流中,自动转换为字符串
write(byte[], int, int) - Method in class cn.hutool.core.io.NullOutputStream
什么也不做,写出到/dev/null.
write(int) - Method in class cn.hutool.core.io.NullOutputStream
什么也不做,写出到 /dev/null.
write(byte[]) - Method in class cn.hutool.core.io.NullOutputStream
什么也不做,写出到 /dev/null.
write(String) - Method in class cn.hutool.core.net.multipart.UploadFile
将上传的文件写入指定的目标文件路径,自动创建文件
写入后原临时文件会被删除
write(File) - Method in class cn.hutool.core.net.multipart.UploadFile
将上传的文件写入目标文件
写入后原临时文件会被删除
write(String[]...) - Method in class cn.hutool.core.text.csv.CsvWriter
将多行写出到Writer
write(Iterable<?>) - Method in class cn.hutool.core.text.csv.CsvWriter
将多行写出到Writer
write(CsvData) - Method in class cn.hutool.core.text.csv.CsvWriter
将一个 CsvData 集合写出到Writer
write(Node, Writer, String, int) - Static method in class cn.hutool.core.util.XmlUtil
将XML文档写出
write(Node, Writer, String, int, boolean) - Static method in class cn.hutool.core.util.XmlUtil
将XML文档写出
write(Node, OutputStream, String, int) - Static method in class cn.hutool.core.util.XmlUtil
将XML文档写出
write(Node, OutputStream, String, int, boolean) - Static method in class cn.hutool.core.util.XmlUtil
将XML文档写出
write(HttpServletResponse, String, String) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
返回数据给客户端
write(HttpServletResponse, File) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
返回文件给客户端
write(HttpServletResponse, InputStream, String, String) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
返回数据给客户端
write(HttpServletResponse, InputStream, String) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
返回数据给客户端
write(HttpServletResponse, InputStream) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
返回数据给客户端
write(HttpServletResponse, InputStream, int) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
返回数据给客户端
write(HttpServletResponse, String, String) - Static method in class cn.hutool.extra.servlet.ServletUtil
返回数据给客户端
write(HttpServletResponse, File) - Static method in class cn.hutool.extra.servlet.ServletUtil
返回文件给客户端
write(HttpServletResponse, InputStream, String, String) - Static method in class cn.hutool.extra.servlet.ServletUtil
返回数据给客户端
write(HttpServletResponse, InputStream, String) - Static method in class cn.hutool.extra.servlet.ServletUtil
返回数据给客户端
write(HttpServletResponse, InputStream) - Static method in class cn.hutool.extra.servlet.ServletUtil
返回数据给客户端
write(HttpServletResponse, InputStream, int) - Static method in class cn.hutool.extra.servlet.ServletUtil
返回数据给客户端
write(OutputStream) - Method in class cn.hutool.http.body.BytesBody
 
write(OutputStream) - Method in class cn.hutool.http.body.MultipartBody
写出Multiparty数据,不关闭流
write(OutputStream) - Method in interface cn.hutool.http.body.RequestBody
写出数据,不关闭流
write(OutputStream) - Method in class cn.hutool.http.body.ResourceBody
 
write(String, Object) - Method in class cn.hutool.http.MultipartOutputStream
添加Multipart表单的数据项
write(int) - Method in class cn.hutool.http.MultipartOutputStream
 
write(String, String) - Method in class cn.hutool.http.server.HttpServerResponse
写出数据到客户端
write(String) - Method in class cn.hutool.http.server.HttpServerResponse
写出数据到客户端
write(byte[], String) - Method in class cn.hutool.http.server.HttpServerResponse
写出数据到客户端
write(byte[]) - Method in class cn.hutool.http.server.HttpServerResponse
写出数据到客户端
write(InputStream, String) - Method in class cn.hutool.http.server.HttpServerResponse
返回数据给客户端
write(InputStream, int, String) - Method in class cn.hutool.http.server.HttpServerResponse
返回数据给客户端
write(InputStream) - Method in class cn.hutool.http.server.HttpServerResponse
写出数据到客户端
write(InputStream, int) - Method in class cn.hutool.http.server.HttpServerResponse
写出数据到客户端
write(File) - Method in class cn.hutool.http.server.HttpServerResponse
返回文件给客户端(文件下载)
write(File, String) - Method in class cn.hutool.http.server.HttpServerResponse
返回文件给客户端(文件下载)
write(InputStream, String, String) - Method in class cn.hutool.http.server.HttpServerResponse
返回文件数据给客户端(文件下载)
write(InputStream, int, String, String) - Method in class cn.hutool.http.server.HttpServerResponse
返回文件数据给客户端(文件下载)
write(OutputStream) - Method in class cn.hutool.http.webservice.SoapClient
将SOAP消息的XML内容输出到流
write(Writer) - Method in interface cn.hutool.json.JSON
将JSON内容写入Writer,无缩进
Warning: This method assumes that the data structure is acyclical.
write(Writer, int, int) - Method in interface cn.hutool.json.JSON
将JSON内容写入Writer
Warning: This method assumes that the data structure is acyclical.
write(Writer, int, int) - Method in class cn.hutool.json.JSONArray
 
write(Writer, int, int, Filter<MutablePair<Object, Object>>) - Method in class cn.hutool.json.JSONArray
将JSON内容写入Writer
支持过滤器,即选择哪些字段或值不写出
write(Writer, int, int) - Method in class cn.hutool.json.JSONObject
 
write(Writer, int, int, Filter<MutablePair<Object, Object>>) - Method in class cn.hutool.json.JSONObject
将JSON内容写入Writer
支持过滤器,即选择哪些字段或值不写出
write(char[], int, int) - Method in class cn.hutool.json.serialize.JSONWriter
 
write(Iterable<?>) - Method in class cn.hutool.poi.excel.ExcelWriter
写出数据,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
写出的起始行为当前行号,可使用ExcelWriter.getCurrentRow()方法调用,根据写出的的行数,当前行号自动增加
样式为默认样式,可使用ExcelWriter.getCellStyle()方法调用后自定义默认样式
默认的,当当前行号为0时,写出标题(如果为Map或Bean),否则不写标题
write(Iterable<?>, boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
写出数据,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
写出的起始行为当前行号,可使用ExcelWriter.getCurrentRow()方法调用,根据写出的的行数,当前行号自动增加
样式为默认样式,可使用ExcelWriter.getCellStyle()方法调用后自定义默认样式
write(Iterable<?>, Comparator<String>) - Method in class cn.hutool.poi.excel.ExcelWriter
写出数据,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
写出的起始行为当前行号,可使用ExcelWriter.getCurrentRow()方法调用,根据写出的的行数,当前行号自动增加
样式为默认样式,可使用ExcelWriter.getCellStyle()方法调用后自定义默认样式
data中元素支持的类型有:
write(ByteBuffer) - Method in class cn.hutool.socket.aio.AioClient
写数据到服务端
write(ByteBuffer) - Method in class cn.hutool.socket.aio.AioSession
写数据到目标端
write(ByteBuffer, CompletionHandler<Integer, AioSession>) - Method in class cn.hutool.socket.aio.AioSession
写数据到目标端
write(ByteBuffer...) - Method in class cn.hutool.socket.nio.NioClient
实现写逻辑
当收到写出准备就绪的信号后,回调此方法,用户可向客户端发送消息
writeAndClose(ByteBuffer) - Method in class cn.hutool.socket.aio.AioSession
写数据到目标端,并关闭输出
writeBeans(Iterable<?>) - Method in class cn.hutool.core.text.csv.CsvWriter
将一个Bean集合写出到Writer,并自动生成表头
writeBeans(Iterable<?>, String...) - Method in class cn.hutool.core.text.csv.CsvWriter
将一个Bean集合写出到Writer,并自动生成表头
writeBeans(Iterable<?>, boolean, String...) - Method in class cn.hutool.core.text.csv.CsvWriter
将一个Bean集合写出到Writer,并自动生成表头
writeBody(OutputStream, boolean, StreamProgress) - Method in class cn.hutool.http.HttpResponse
将响应内容写出到OutputStream
异步模式下直接读取Http流写出,同步模式下将存储在内存中的响应内容写出
写出后会关闭Http流(异步模式)
writeBody(File, StreamProgress) - Method in class cn.hutool.http.HttpResponse
将响应内容写出到文件
异步模式下直接读取Http流写出,同步模式下将存储在内存中的响应内容写出
写出后会关闭Http流(异步模式)
writeBody(File, String, StreamProgress) - Method in class cn.hutool.http.HttpResponse
将响应内容写出到文件-避免未完成的文件
异步模式下直接读取Http流写出,同步模式下将存储在内存中的响应内容写出
写出后会关闭Http流(异步模式)
来自:https://gitee.com/dromara/hutool/pulls/407
此方法原理是先在目标文件同级目录下创建临时文件,下载之,等下载完毕后重命名,避免因下载错误导致的文件不完整。
writeBody(File) - Method in class cn.hutool.http.HttpResponse
将响应内容写出到文件
异步模式下直接读取Http流写出,同步模式下将存储在内存中的响应内容写出
写出后会关闭Http流(异步模式)
writeBody(String) - Method in class cn.hutool.http.HttpResponse
将响应内容写出到文件
异步模式下直接读取Http流写出,同步模式下将存储在内存中的响应内容写出
写出后会关闭Http流(异步模式)
writeBodyForFile(File, StreamProgress) - Method in class cn.hutool.http.HttpResponse
将响应内容写出到文件
异步模式下直接读取Http流写出,同步模式下将存储在内存中的响应内容写出
写出后会关闭Http流(异步模式)
writeBook(Workbook, OutputStream) - Static method in class cn.hutool.poi.excel.WorkbookUtil
将Excel Workbook刷出到输出流,不关闭流
writeBytes(byte[], String) - Static method in class cn.hutool.core.io.FileUtil
写数据到文件中
文件路径如果是相对路径,则相对ClassPath
writeBytes(byte[], File) - Static method in class cn.hutool.core.io.FileUtil
写数据到文件中
writeBytes(byte[], File, int, int, boolean) - Static method in class cn.hutool.core.io.FileUtil
写入数据到文件
writeCellValue(String, Object) - Method in class cn.hutool.poi.excel.ExcelWriter
给指定单元格赋值,使用默认单元格样式,默认不是Header
writeCellValue(String, Object, boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
给指定单元格赋值,使用默认单元格样式
writeCellValue(int, int, Object) - Method in class cn.hutool.poi.excel.ExcelWriter
给指定单元格赋值,使用默认单元格样式,默认不是Header
writeCellValue(int, int, Object, boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
给指定单元格赋值,使用默认单元格样式
writeClose(OutputStream) - Method in interface cn.hutool.http.body.RequestBody
写出并关闭OutputStream
writeCol(Map<?, ? extends Iterable<?>>, boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
从第1列开始按列写入数据(index 从0开始)
本方法只是将数据写入Workbook中的Sheet,并不写出到文件
写出的起始行为当前行号,可使用ExcelWriter.getCurrentRow()方法调用,根据写出的的行数,当前行号自动+1
样式为默认样式,可使用ExcelWriter.getCellStyle()方法调用后自定义默认样式
writeCol(Map<?, ? extends Iterable<?>>, int, boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
从指定列开始按列写入数据(index 从0开始)
本方法只是将数据写入Workbook中的Sheet,并不写出到文件
写出的起始行为当前行号,可使用ExcelWriter.getCurrentRow()方法调用,根据写出的的行数,当前行号自动+1
样式为默认样式,可使用ExcelWriter.getCellStyle()方法调用后自定义默认样式
writeCol(Object, Iterable<?>, boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
为第一列写入数据
本方法只是将数据写入Workbook中的Sheet,并不写出到文件
写出的起始行为当前行号,可使用ExcelWriter.getCurrentRow()方法调用,根据写出的的行数,当前行号自动+1
样式为默认样式,可使用ExcelWriter.getCellStyle()方法调用后自定义默认样式
writeCol(Object, int, Iterable<?>, boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
为第指定列写入数据
本方法只是将数据写入Workbook中的Sheet,并不写出到文件
写出的起始行为当前行号,可使用ExcelWriter.getCurrentRow()方法调用,根据写出的的行数,当前行号自动+1
样式为默认样式,可使用ExcelWriter.getCellStyle()方法调用后自定义默认样式
writeComment(String) - Method in class cn.hutool.core.text.csv.CsvWriter
写出一行注释,注释符号可自定义
如果注释符不存在,则抛出异常
writeField(String, Object) - Method in class cn.hutool.json.serialize.JSONWriter
writeField(MutablePair<Object, Object>, Filter<MutablePair<Object, Object>>) - Method in class cn.hutool.json.serialize.JSONWriter
写出字段名及字段值,如果字段值是null且忽略null值,则不写出任何内容
writeFromStream(InputStream) - Method in class cn.hutool.core.io.file.FileWriter
将流的内容写入文件
此方法会自动关闭输入流
writeFromStream(InputStream, boolean) - Method in class cn.hutool.core.io.file.FileWriter
将流的内容写入文件
writeFromStream(InputStream, File) - Static method in class cn.hutool.core.io.FileUtil
将流的内容写入文件
此方法会自动关闭输入流
writeFromStream(InputStream, File, boolean) - Static method in class cn.hutool.core.io.FileUtil
将流的内容写入文件
writeFromStream(InputStream, String) - Static method in class cn.hutool.core.io.FileUtil
将流的内容写入文件
此方法会自动关闭输入流
writeGraphicCtrlExt() - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
Writes Graphic Control Extension
writeHeaderLine(String...) - Method in class cn.hutool.core.text.csv.CsvWriter
写出一行头部行,支持标题别名
writeHeadRow(Iterable<?>) - Method in class cn.hutool.poi.excel.ExcelWriter
写出一行标题数据
本方法只是将数据写入Workbook中的Sheet,并不写出到文件
写出的起始行为当前行号,可使用ExcelWriter.getCurrentRow()方法调用,根据写出的的行数,当前行号自动+1
样式为默认标题样式,可使用ExcelWriter.getHeadCellStyle()方法调用后自定义默认样式
writeImageDesc() - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
Writes Image Descriptor
writeImg(File, int, int, int, int) - Method in class cn.hutool.poi.excel.ExcelWriter
写出数据,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
添加图片到当前sheet中 / 默认图片类型png / 默认的起始坐标和结束坐标都为0
writeImg(File, int, int, int, int, int, int, int, int) - Method in class cn.hutool.poi.excel.ExcelWriter
写出数据,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
添加图片到当前sheet中 / 默认图片类型png
writeImg(File, int, int, int, int, int, int, int, int, int) - Method in class cn.hutool.poi.excel.ExcelWriter
写出数据,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
添加图片到当前sheet中
writeImg(byte[], int, int, int, int, int, int, int, int, int) - Method in class cn.hutool.poi.excel.ExcelWriter
写出数据,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
添加图片到当前sheet中
writeJpg(Image, ImageOutputStream) - Static method in class cn.hutool.core.img.ImgUtil
写出图像为JPG格式
writeJpg(Image, OutputStream) - Static method in class cn.hutool.core.img.ImgUtil
写出图像为JPG格式
writeKey(String) - Method in class cn.hutool.json.serialize.JSONWriter
写出键,自动处理分隔符和缩进,并包装键名
writeLine(String...) - Method in class cn.hutool.core.text.csv.CsvWriter
写出一行
writeLine() - Method in class cn.hutool.core.text.csv.CsvWriter
追加新行(换行)
writeLines(Iterable<T>) - Method in class cn.hutool.core.io.file.FileWriter
将列表写入文件,覆盖模式
writeLines(Iterable<T>, boolean) - Method in class cn.hutool.core.io.file.FileWriter
将列表写入文件
writeLines(Iterable<T>, LineSeparator, boolean) - Method in class cn.hutool.core.io.file.FileWriter
将列表写入文件
writeLines(Collection<T>, String, String) - Static method in class cn.hutool.core.io.FileUtil
将列表写入文件,覆盖模式
writeLines(Collection<T>, String, Charset) - Static method in class cn.hutool.core.io.FileUtil
将列表写入文件,覆盖模式
writeLines(Collection<T>, File, String) - Static method in class cn.hutool.core.io.FileUtil
将列表写入文件,覆盖模式
writeLines(Collection<T>, File, Charset) - Static method in class cn.hutool.core.io.FileUtil
将列表写入文件,覆盖模式
writeLines(Collection<T>, String, String, boolean) - Static method in class cn.hutool.core.io.FileUtil
将列表写入文件
writeLines(Collection<T>, String, Charset, boolean) - Static method in class cn.hutool.core.io.FileUtil
将列表写入文件
writeLines(Collection<T>, File, String, boolean) - Static method in class cn.hutool.core.io.FileUtil
将列表写入文件
writeLines(Collection<T>, File, Charset, boolean) - Static method in class cn.hutool.core.io.FileUtil
将列表写入文件
writeLock() - Method in class cn.hutool.core.thread.lock.NoReadWriteLock
 
writeLSD() - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
Writes Logical Screen Descriptor
writeMap(Map<?, ?>, String, boolean) - Method in class cn.hutool.core.io.file.FileWriter
将Map写入文件,每个键值对为一行,一行中键与值之间使用kvSeparator分隔
writeMap(Map<?, ?>, LineSeparator, String, boolean) - Method in class cn.hutool.core.io.file.FileWriter
将Map写入文件,每个键值对为一行,一行中键与值之间使用kvSeparator分隔
writeMap(Map<?, ?>, File, Charset, String, boolean) - Static method in class cn.hutool.core.io.FileUtil
将Map写入文件,每个键值对为一行,一行中键与值之间使用kvSeparator分隔
writeNetscapeExt() - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
Writes Netscape application extension to define repeat count.
writeObj(OutputStream, boolean, Serializable) - Static method in class cn.hutool.core.io.IoUtil
将多部分内容写到流中
writeObjectAsXml(File, Object) - Static method in class cn.hutool.core.util.XmlUtil
将可序列化的对象转换为XML写入文件,已经存在的文件将被覆盖
Writes serializable object to a XML file.
writeObjects(OutputStream, boolean, Serializable...) - Static method in class cn.hutool.core.io.IoUtil
将多部分内容写到流中
writePalette() - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
Writes color table
writePemObject(String, byte[], OutputStream) - Static method in class cn.hutool.crypto.PemUtil
写出pem密钥(私钥、公钥、证书)
writePemObject(String, byte[], Writer) - Static method in class cn.hutool.crypto.PemUtil
写出pem密钥(私钥、公钥、证书)
writePemObject(PemObjectGenerator, OutputStream) - Static method in class cn.hutool.crypto.PemUtil
写出pem密钥(私钥、公钥、证书)
writePemObject(PemObjectGenerator, Writer) - Static method in class cn.hutool.crypto.PemUtil
写出pem密钥(私钥、公钥、证书)
writePixels() - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
Encodes and writes pixel data
writePng(Image, ImageOutputStream) - Static method in class cn.hutool.core.img.ImgUtil
写出图像为PNG格式
writePng(Image, OutputStream) - Static method in class cn.hutool.core.img.ImgUtil
写出图像为PNG格式
writeRow(Object, boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
写出一行,根据rowBean数据类型不同,写出情况如下:
writeRow(Map<?, ?>, boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
将一个Map写入到Excel,isWriteKeyAsHead为true写出两行,Map的keys做为一行,values做为第二行,否则只写出一行values
如果rowMap为空(包括null),则写出空行
writeRow(Iterable<?>) - Method in class cn.hutool.poi.excel.ExcelWriter
写出一行数据
本方法只是将数据写入Workbook中的Sheet,并不写出到文件
写出的起始行为当前行号,可使用ExcelWriter.getCurrentRow()方法调用,根据写出的的行数,当前行号自动+1
样式为默认样式,可使用ExcelWriter.getCellStyle()方法调用后自定义默认样式
writeRow(Row, Iterable<?>) - Static method in class cn.hutool.poi.excel.RowUtil
写一行数据,无样式,非标题
writeRow(Row, Iterable<?>, StyleSet, boolean) - Static method in class cn.hutool.poi.excel.RowUtil
写一行数据
writeRow(XWPFTableRow, Object, boolean) - Static method in class cn.hutool.poi.word.TableUtil
写一行数据
writeRow(XWPFTableRow, Map<?, ?>, boolean) - Static method in class cn.hutool.poi.word.TableUtil
写行数据
writeRow(XWPFTableRow, Iterable<?>) - Static method in class cn.hutool.poi.word.TableUtil
写行数据
writeSecHeadRow(Iterable<?>) - Method in class cn.hutool.poi.excel.ExcelWriter
写出复杂标题的第二行标题数据
本方法只是将数据写入Workbook中的Sheet,并不写出到文件
写出的起始行为当前行号,可使用ExcelWriter.getCurrentRow()方法调用,根据写出的的行数,当前行号自动+1
样式为默认标题样式,可使用ExcelWriter.getHeadCellStyle()方法调用后自定义默认样式
writeShort(int) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
Write 16-bit value to output stream, LSB first
writeString(String) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
Writes string to output stream
writeString(String, String, String) - Static method in class cn.hutool.core.io.FileUtil
将String写入文件,覆盖模式
writeString(String, String, Charset) - Static method in class cn.hutool.core.io.FileUtil
将String写入文件,覆盖模式
writeString(String, File, String) - Static method in class cn.hutool.core.io.FileUtil
将String写入文件,覆盖模式
writeString(String, File, Charset) - Static method in class cn.hutool.core.io.FileUtil
将String写入文件,覆盖模式
writeTable(XWPFTable, Iterable<?>) - Static method in class cn.hutool.poi.word.TableUtil
为table填充数据
writeTo(OutputStream) - Method in class cn.hutool.core.io.FastByteArrayOutputStream
写出
writeTo(OutputStream) - Method in interface cn.hutool.core.io.resource.Resource
将资源内容写出到流,不关闭输出流,但是关闭资源流
writeToStream(OutputStream) - Method in class cn.hutool.core.io.file.FileReader
将文件写入流中,此方法不会关闭比输出流
writeToStream(OutputStream, boolean) - Method in class cn.hutool.core.io.file.FileReader
将文件写入流中
writeToStream(File, OutputStream) - Static method in class cn.hutool.core.io.FileUtil
将文件写入流中,此方法不会关闭输出流
writeToStream(String, OutputStream) - Static method in class cn.hutool.core.io.FileUtil
将路径对应文件写入流中,此方法不会关闭输出流
writeUtf8(OutputStream, boolean, Object...) - Static method in class cn.hutool.core.io.IoUtil
将多部分内容写到流中,自动转换为UTF-8字符串
writeUtf8Lines(Collection<T>, String) - Static method in class cn.hutool.core.io.FileUtil
将列表写入文件,覆盖模式,编码为UTF-8
writeUtf8Lines(Collection<T>, File) - Static method in class cn.hutool.core.io.FileUtil
将列表写入文件,覆盖模式,编码为UTF-8
writeUtf8Map(Map<?, ?>, File, String, boolean) - Static method in class cn.hutool.core.io.FileUtil
将Map写入文件,每个键值对为一行,一行中键与值之间使用kvSeparator分隔
writeUtf8String(String, String) - Static method in class cn.hutool.core.io.FileUtil
将String写入文件,覆盖模式,字符集为UTF-8
writeUtf8String(String, File) - Static method in class cn.hutool.core.io.FileUtil
将String写入文件,覆盖模式,字符集为UTF-8
writeValue(Object) - Method in class cn.hutool.json.serialize.JSONWriter
写出值,自动处理分隔符和缩进,自动判断类型,并根据不同类型写出特定格式的值
如果写出的值为null或者JSONNull,且配置忽略null,则跳过。

X

X_PI - Static variable in class cn.hutool.core.util.CoordinateUtil
坐标转换参数:(火星坐标系与百度坐标系转换的中间量)
XLS_CONTENT_TYPE - Static variable in class cn.hutool.poi.excel.ExcelUtil
xls的ContentType
XLSX_CONTENT_TYPE - Static variable in class cn.hutool.poi.excel.ExcelUtil
xlsx的ContentType
XML - Class in cn.hutool.json
提供静态方法在XML和JSONObject之间转换
XML() - Constructor for class cn.hutool.json.XML
 
XmlEscape - Class in cn.hutool.core.text.escape
XML特殊字符转义
见:https://stackoverflow.com/questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents
XmlEscape() - Constructor for class cn.hutool.core.text.escape.XmlEscape
构造
xmlToBean(String, Class<T>) - Static method in class cn.hutool.core.util.JAXBUtil
xml转换成JavaBean
xmlToBean(File, Charset, Class<T>) - Static method in class cn.hutool.core.util.JAXBUtil
XML文件转Bean
xmlToBean(Reader, Class<T>) - Static method in class cn.hutool.core.util.JAXBUtil
Reader中读取XML字符串,并转换为Bean
xmlToBean(Node, Class<T>) - Static method in class cn.hutool.core.util.XmlUtil
XML转Java Bean
xmlToJson(String) - Static method in class cn.hutool.json.JSONUtil
XML转JSONObject
转换过程中一些信息可能会丢失,JSON中无法区分节点和属性,相同的节点将被处理为JSONArray。
XMLTokener - Class in cn.hutool.json
XML分析器,继承自JSONTokener,提供XML的语法分析
XMLTokener(CharSequence, JSONConfig) - Constructor for class cn.hutool.json.XMLTokener
Construct an XMLTokener from a string.
xmlToMap(String) - Static method in class cn.hutool.core.util.XmlUtil
XML格式字符串转换为Map
xmlToMap(Node) - Static method in class cn.hutool.core.util.XmlUtil
XML格式字符串转换为Map
xmlToMap(String, Map<String, Object>) - Static method in class cn.hutool.core.util.XmlUtil
XML格式字符串转换为Map
只支持第一级别的XML,不支持多级XML
xmlToMap(Node, Map<String, Object>) - Static method in class cn.hutool.core.util.XmlUtil
XML节点转换为Map
XmlUnescape - Class in cn.hutool.core.text.escape
XML的UNESCAPE
XmlUnescape() - Constructor for class cn.hutool.core.text.escape.XmlUnescape
构造
XmlUtil - Class in cn.hutool.core.util
XML工具类
此工具使用w3c dom工具,不需要依赖第三方包。
工具类封装了XML文档的创建、读取、写出和部分XML操作
XmlUtil() - Constructor for class cn.hutool.core.util.XmlUtil
 
XmlUtil.UniversalNamespaceCache - Class in cn.hutool.core.util
全局命名空间上下文
见:https://www.ibm.com/developerworks/cn/xml/x-nmspccontext/
xor(boolean...) - Static method in class cn.hutool.core.util.BooleanUtil
对Boolean数组取异或
xorOfWrap(Boolean...) - Static method in class cn.hutool.core.util.BooleanUtil
对Boolean数组取异或
XXTEA - Class in cn.hutool.crypto.symmetric
XXTEA(Corrected Block Tiny Encryption Algorithm)算法实现
来自:https://github.com/xxtea/xxtea-java
XXTEA(byte[]) - Constructor for class cn.hutool.crypto.symmetric.XXTEA
构造

Y

YamlUtil - Class in cn.hutool.setting.yaml
基于Snakeyaml的的YAML读写工具
YamlUtil() - Constructor for class cn.hutool.setting.yaml.YamlUtil
 
year() - Method in class cn.hutool.core.date.DateTime
获得年的部分
year(Date) - Static method in class cn.hutool.core.date.DateUtil
获得年的部分
yearAndQuarter(long, long) - Static method in class cn.hutool.core.date.CalendarUtil
获得指定日期区间内的年份和季度
yearAndQuarter(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
获得指定日期年份和季度
格式:[20131]表示2013年第一季度
yearAndQuarter(Date) - Static method in class cn.hutool.core.date.DateUtil
获得指定日期年份和季节
格式:[20131]表示2013年第一季度
yearAndQuarter(Date, Date) - Static method in class cn.hutool.core.date.DateUtil
获得指定日期区间内的年份和季节
yearDays(int) - Static method in class cn.hutool.core.date.chinese.LunarInfo
传回农历 y年的总天数
YearValueMatcher - Class in cn.hutool.cron.pattern.matcher
年匹配
考虑年数字太大,不适合boolean数组,单独使用LinkedHashSet匹配
YearValueMatcher(Collection<Integer>) - Constructor for class cn.hutool.cron.pattern.matcher.YearValueMatcher
 
yesterday() - Static method in class cn.hutool.core.date.DateUtil
昨天
yuanToCent(double) - Static method in class cn.hutool.core.math.MathUtil
金额元转换为分

Z

zero2One(int) - Static method in class cn.hutool.core.util.NumberUtil
如果给定值为0,返回1,否则返回原值
zip(String, String, String, boolean) - Static method in class cn.hutool.core.collection.CollUtil
映射键值(参考Python的zip()函数)
例如:
keys = a,b,c,d
values = 1,2,3,4
delimiter = , 则得到的Map是 {a=1, b=2, c=3, d=4}
如果两个数组长度不同,则只对应最短部分
zip(String, String, String) - Static method in class cn.hutool.core.collection.CollUtil
映射键值(参考Python的zip()函数),返回Map无序
例如:
keys = a,b,c,d
values = 1,2,3,4
delimiter = , 则得到的Map是 {a=1, b=2, c=3, d=4}
如果两个数组长度不同,则只对应最短部分
zip(Collection<K>, Collection<V>) - Static method in class cn.hutool.core.collection.CollUtil
映射键值(参考Python的zip()函数)
例如:
keys = [a,b,c,d]
values = [1,2,3,4]
则得到的Map是 {a=1, b=2, c=3, d=4}
如果两个数组长度不同,则只对应最短部分
zip(K[], V[], boolean) - Static method in class cn.hutool.core.util.ArrayUtil
映射键值(参考Python的zip()函数)
例如:
keys = [a,b,c,d]
values = [1,2,3,4]
则得到的Map是 {a=1, b=2, c=3, d=4}
如果两个数组长度不同,则只对应最短部分
zip(K[], V[]) - Static method in class cn.hutool.core.util.ArrayUtil
映射键值(参考Python的zip()函数),返回Map无序
例如:
keys = [a,b,c,d]
values = [1,2,3,4]
则得到的Map是 {a=1, b=2, c=3, d=4}
如果两个数组长度不同,则只对应最短部分
zip(String) - Static method in class cn.hutool.core.util.ZipUtil
打包到当前目录,使用默认编码UTF-8
zip(String, Charset) - Static method in class cn.hutool.core.util.ZipUtil
打包到当前目录
zip(File) - Static method in class cn.hutool.core.util.ZipUtil
打包到当前目录,使用默认编码UTF-8
zip(File, Charset) - Static method in class cn.hutool.core.util.ZipUtil
打包到当前目录
zip(String, String) - Static method in class cn.hutool.core.util.ZipUtil
对文件或文件目录进行压缩
不包含被打包目录
zip(String, String, boolean) - Static method in class cn.hutool.core.util.ZipUtil
对文件或文件目录进行压缩
zip(String, String, Charset, boolean) - Static method in class cn.hutool.core.util.ZipUtil
对文件或文件目录进行压缩
zip(File, boolean, File...) - Static method in class cn.hutool.core.util.ZipUtil
对文件或文件目录进行压缩
使用默认UTF-8编码
zip(File, Charset, boolean, File...) - Static method in class cn.hutool.core.util.ZipUtil
对文件或文件目录进行压缩
zip(File, Charset, boolean, FileFilter, File...) - Static method in class cn.hutool.core.util.ZipUtil
对文件或文件目录进行压缩
zip(OutputStream, Charset, boolean, FileFilter, File...) - Static method in class cn.hutool.core.util.ZipUtil
对文件或文件目录进行压缩
zip(ZipOutputStream, boolean, FileFilter, File...) - Static method in class cn.hutool.core.util.ZipUtil
zip(File, String, String) - Static method in class cn.hutool.core.util.ZipUtil
对流中的数据加入到压缩文件,使用默认UTF-8编码
zip(File, String, String, Charset) - Static method in class cn.hutool.core.util.ZipUtil
对流中的数据加入到压缩文件
zip(File, String, InputStream) - Static method in class cn.hutool.core.util.ZipUtil
对流中的数据加入到压缩文件
使用默认编码UTF-8
zip(File, String, InputStream, Charset) - Static method in class cn.hutool.core.util.ZipUtil
对流中的数据加入到压缩文件
zip(File, String[], InputStream[]) - Static method in class cn.hutool.core.util.ZipUtil
对流中的数据加入到压缩文件
路径列表和流列表长度必须一致
zip(File, String[], InputStream[], Charset) - Static method in class cn.hutool.core.util.ZipUtil
对流中的数据加入到压缩文件
路径列表和流列表长度必须一致
zip(OutputStream, String[], InputStream[]) - Static method in class cn.hutool.core.util.ZipUtil
将文件流压缩到目标流中
zip(ZipOutputStream, String[], InputStream[]) - Static method in class cn.hutool.core.util.ZipUtil
将文件流压缩到目标流中
zip(File, Charset, Resource...) - Static method in class cn.hutool.core.util.ZipUtil
对流中的数据加入到压缩文件
路径列表和流列表长度必须一致
ZIP_CODE - Static variable in class cn.hutool.core.lang.PatternPool
邮编,兼容港澳台
ZIP_CODE - Static variable in interface cn.hutool.core.lang.RegexPool
邮编,兼容港澳台
ZIP_CODE - Static variable in class cn.hutool.core.lang.Validator
邮编
ZipCopyVisitor - Class in cn.hutool.core.compress
Zip文件拷贝的FileVisitor实现,zip中追加文件,此类非线程安全
此类在遍历源目录并复制过程中会自动创建目标目录中不存在的上级目录。
ZipCopyVisitor(Path, FileSystem, CopyOption...) - Constructor for class cn.hutool.core.compress.ZipCopyVisitor
构造
ZipReader - Class in cn.hutool.core.compress
Zip文件或流读取器,一般用于Zip文件解压
ZipReader(File, Charset) - Constructor for class cn.hutool.core.compress.ZipReader
构造
ZipReader(ZipFile) - Constructor for class cn.hutool.core.compress.ZipReader
构造
ZipReader(InputStream, Charset) - Constructor for class cn.hutool.core.compress.ZipReader
构造
ZipReader(ZipInputStream) - Constructor for class cn.hutool.core.compress.ZipReader
构造
ZipUtil - Class in cn.hutool.core.util
压缩工具类
ZipUtil() - Constructor for class cn.hutool.core.util.ZipUtil
 
ZipWriter - Class in cn.hutool.core.compress
Zip生成封装
ZipWriter(File, Charset) - Constructor for class cn.hutool.core.compress.ZipWriter
构造
ZipWriter(OutputStream, Charset) - Constructor for class cn.hutool.core.compress.ZipWriter
构造
ZipWriter(ZipOutputStream) - Constructor for class cn.hutool.core.compress.ZipWriter
构造
zlib(String, String, int) - Static method in class cn.hutool.core.util.ZipUtil
Zlib压缩处理
zlib(File, int) - Static method in class cn.hutool.core.util.ZipUtil
Zlib压缩文件
zlib(byte[], int) - Static method in class cn.hutool.core.util.ZipUtil
打成Zlib压缩包
zlib(InputStream, int) - Static method in class cn.hutool.core.util.ZipUtil
打成Zlib压缩包
zlib(InputStream, int, int) - Static method in class cn.hutool.core.util.ZipUtil
打成Zlib压缩包
zobrist(char[], int, int[][]) - Static method in class cn.hutool.core.util.HashUtil
Zobrist Hashing
Zodiac - Class in cn.hutool.core.date
星座 来自:https://blog.csdn.net/u010758605/article/details/48317881
Zodiac() - Constructor for class cn.hutool.core.date.Zodiac
 
ZoneUtil - Class in cn.hutool.core.date
ZoneIdTimeZone相关封装
ZoneUtil() - Constructor for class cn.hutool.core.date.ZoneUtil
 
ZUC - Class in cn.hutool.crypto.symmetric
祖冲之算法集(ZUC算法)实现,基于BouncyCastle实现。
ZUC(ZUC.ZUCAlgorithm, byte[], byte[]) - Constructor for class cn.hutool.crypto.symmetric.ZUC
构造
ZUC.ZUCAlgorithm - Enum in cn.hutool.crypto.symmetric
ZUC类型,包括128位和256位
zuc128(byte[], byte[]) - Static method in class cn.hutool.crypto.SecureUtil
祖冲之算法集(ZUC-128算法)实现,基于BouncyCastle实现。
zuc256(byte[], byte[]) - Static method in class cn.hutool.crypto.SecureUtil
祖冲之算法集(ZUC-256算法)实现,基于BouncyCastle实现。
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
Skip navigation links

Copyright © 2024. All rights reserved.