- 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
-
- 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
-
- 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(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(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
-
- 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
-
- AbstractResult() - Constructor for class cn.hutool.extra.tokenizer.AbstractResult
-
- AbstractRowHandler<T> - Class in cn.hutool.poi.excel.sax.handler
-
- 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
-
- 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
-
积累值。
- 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(E, double) - Method in class cn.hutool.core.lang.WeightListRandom
-
添加元素
- 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(long, double) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的加法运算
- add(double, long) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的加法运算
- add(long, long) - 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
需要注意的是,在不同Locale下,数字的表示形式也是不同的,例如:
德国、荷兰、比利时、丹麦、意大利、罗马尼亚和欧洲大多地区使用`,`区分小数
也就是说,在这些国家地区,1.20表示120,而非1.2。
- add(Number...) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的加法运算
如果传入多个值为null或者空,则返回0
需要注意的是,在不同Locale下,数字的表示形式也是不同的,例如:
德国、荷兰、比利时、丹麦、意大利、罗马尼亚和欧洲大多地区使用`,`区分小数
也就是说,在这些国家地区,1.20表示120,而非1.2。
- 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
-
- 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
-
在链的尾部添加比较器,使用给定排序方式
- addCondition(Condition) - Method in class cn.hutool.db.Entity
-
添加条件
- 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
-
一个对象不为空且不存在于该集合中时,加入到该集合中
null, null -> false
[], null -> false
null, "123" -> false
["123"], "123" -> false
[], "123" -> true
["456"], "123" -> true
[Animal{"name": "jack"}], Dog{"name": "jack"} -> true
- 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.JakartaMail
-
增加图片,图片的键对应到邮件模板中的占位字符串,图片类型默认为"image/jpeg"
- addImage(String, InputStream, String) - Method in class cn.hutool.extra.mail.JakartaMail
-
增加图片,图片的键对应到邮件模板中的占位字符串
- addImage(String, File) - Method in class cn.hutool.extra.mail.JakartaMail
-
增加图片,图片的键对应到邮件模板中的占位字符串
- 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片段中有占位符的情况,例如:
SqlBuilder builder = SqlBuilder.of("select * from user where id=?")
- 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
-
增加加密解密的算法提供者,默认优先使用,例如:
addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
- 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
-
- addSOAPHeader(String) - Method in class cn.hutool.http.webservice.SoapClient
-
- addSOAPHeader(String, String) - Method in class cn.hutool.http.webservice.SoapClient
-
- addSOAPHeader(QName) - Method in class cn.hutool.http.webservice.SoapClient
-
- 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(byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
AES加密
例:
AES加密:aes(key).encrypt(data)
AES解密:aes(key).decrypt(data)
- AES - Class in cn.hutool.crypto.symmetric
-
AES加密算法实现
高级加密标准(英语:Advanced Encryption Standard,缩写:AES),在密码学中又称Rijndael加密法
对于Java中AES的默认模式是:AES/ECB/PKCS5Padding,如果使用CryptoJS,请调整为:padding: CryptoJS.pad.Pkcs7
相关概念说明:
mode: 加密算法模式,是用来描述加密算法(此处特指分组密码,不包括流密码,)在加密时对明文分组的模式,它代表了不同的分组方式
padding: 补码方式是在分组密码中,当明文长度不是分组长度的整数倍时,需要在最后一个分组中填充一些数据使其凑满一个分组的长度。
- 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
-
- 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的年龄,常用于计算指定生日在某年的年龄
按照《最高人民法院关于审理未成年人刑事案件具体应用法律若干问题的解释》第二条规定刑法第十七条规定的“周岁”,按照公历的年、月、日计算,从周岁生日的第二天起算。
- 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_LINK_ANNOTATION_POST_PROCESSOR - Static variable in interface cn.hutool.core.annotation.SynthesizedAnnotationPostProcessor
-
属性上带有
Link
,且与其他注解的属性存在别名关系的注解对象的后置处理器
- AliasAnnotationPostProcessor - Class in cn.hutool.core.annotation
-
- 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
-
- 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
-
- 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,默认除"-", "_", "
- ALL - Static variable in class cn.hutool.core.net.URLEncoder
-
Deprecated.
全编码的URLEncoder
0x2A, 0x2D, 0x2E, 0x30 to 0x39, 0x41 to 0x5A, 0x5F, 0x61 to 0x7A as-is
'*', '-', '
- 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
-
- 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 - 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数组取与
BooleanUtil.and(true, true) = true
BooleanUtil.and(false, false) = false
BooleanUtil.and(true, false) = false
BooleanUtil.and(true, true, false) = false
BooleanUtil.and(true, true, true) = true
- andOfWrap(Boolean...) - Static method in class cn.hutool.core.util.BooleanUtil
-
对Boolean数组取与
BooleanUtil.and(Boolean.TRUE, Boolean.TRUE) = Boolean.TRUE
BooleanUtil.and(Boolean.FALSE, Boolean.FALSE) = Boolean.FALSE
BooleanUtil.and(Boolean.TRUE, Boolean.FALSE) = Boolean.FALSE
BooleanUtil.and(Boolean.TRUE, Boolean.TRUE, Boolean.TRUE) = Boolean.TRUE
BooleanUtil.and(Boolean.FALSE, Boolean.FALSE, Boolean.TRUE) = Boolean.FALSE
BooleanUtil.and(Boolean.TRUE, Boolean.FALSE, Boolean.TRUE) = Boolean.FALSE
- ANDROID - Static variable in class cn.hutool.http.useragent.Platform
-
android
- AndroidSupportSSLFactory - Class in cn.hutool.http.ssl
-
兼容android低版本SSL连接
在测试HttpUrlConnection的时候,发现一部分手机无法连接[GithubPage]
最后发现原来是某些SSL协议没有开启
- 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
方法。
- 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
-
- 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阶灰度色
来自Spring Boot
- AnsiBackground - Enum in cn.hutool.core.lang.ansi
-
ANSI背景颜色枚举
来自Spring Boot
- AnsiColor - Enum in cn.hutool.core.lang.ansi
-
ANSI标准颜色
来自Spring Boot
- AnsiColors - Class in cn.hutool.core.lang.ansi
-
- 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颜色等
来自Spring Boot
- 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文本样式风格枚举
来自Spring Boot
- 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风格的路径匹配器。
- AntPathMatcher() - Constructor for class cn.hutool.core.text.AntPathMatcher
-
- 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
-
- 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
-
是否至少有一个符合判断条件
- anyMatch(String, Collection<String>) - Static method in class cn.hutool.core.util.VersionUtil
-
是否匹配任意一个版本
- anyMatch(String, String...) - Static method in class cn.hutool.core.util.VersionUtil
-
是否匹配任意一个版本
- 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 Object
s.
- append(Object, Object, Comparator<?>) - Method in class cn.hutool.core.builder.CompareToBuilder
-
Appends to the builder
the comparison of
two Object
s.
- append(long, long) - Method in class cn.hutool.core.builder.CompareToBuilder
-
Appends to the builder
the comparison of
two long
s.
- append(int, int) - Method in class cn.hutool.core.builder.CompareToBuilder
-
Appends to the builder
the comparison of
two int
s.
- append(short, short) - Method in class cn.hutool.core.builder.CompareToBuilder
-
Appends to the builder
the comparison of
two short
s.
- append(char, char) - Method in class cn.hutool.core.builder.CompareToBuilder
-
Appends to the builder
the comparison of
two char
s.
- append(byte, byte) - Method in class cn.hutool.core.builder.CompareToBuilder
-
Appends to the builder
the comparison of
two byte
s.
- append(double, double) - Method in class cn.hutool.core.builder.CompareToBuilder
-
Appends to the builder
the comparison of
two double
s.
- append(float, float) - Method in class cn.hutool.core.builder.CompareToBuilder
-
Appends to the builder
the comparison of
two float
s.
- append(boolean, boolean) - Method in class cn.hutool.core.builder.CompareToBuilder
-
Appends to the builder
the comparison of
two booleans
s.
- 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 Object
s 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 int
s are equal.
- append(short, short) - Method in class cn.hutool.core.builder.EqualsBuilder
-
Test if two short
s are equal.
- append(char, char) - Method in class cn.hutool.core.builder.EqualsBuilder
-
Test if two char
s are equal.
- append(byte, byte) - Method in class cn.hutool.core.builder.EqualsBuilder
-
Test if two byte
s are equal.
- append(double, double) - Method in class cn.hutool.core.builder.EqualsBuilder
-
Test if two double
s 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 float
s 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 booleans
s 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
-
- 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
-
- append(Iterator<E>, Function<? super E, ? extends CharSequence>) - Method in class cn.hutool.core.text.StrJoiner
-
- 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字符串,空格需手动加入,例如:
SqlBuilder builder = SqlBuilder.of("select *");
builder.append(" from ").append("user");
如果需要追加带占位符的片段,需调用
SqlBuilder.addParams(Object...)
- 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
-
- AppendableWriter - Class in cn.hutool.core.io
-
- 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
-
- appendHex(StringBuilder, byte, boolean) - Static method in class cn.hutool.core.util.HexUtil
-
- 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
-
- 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!
- 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
-
- 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
Adapt the specified Enumeration
to the Iterator
interface
- asIterator(Enumeration<E>) - Static method in class cn.hutool.core.collection.IterUtil
-
Enumeration转换为Iterator
Adapt the specified Enumeration
to the Iterator
interface
- ASN1Util - Class in cn.hutool.crypto
-
ASN.1 – Abstract Syntax Notation dot one,抽象记法1 工具类。
- 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
-
非对称加密算法
1、签名:使用私钥加密,公钥解密。
- 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
-
- 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
-
- 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
-
- 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中属性名枚举
- atYear(int) - Method in enum cn.hutool.core.date.Quarter
-
根据指定的年份,获取一个新的 YearQuarter 实例
此方法允许在保持当前季度信息不变的情况下,更改年份
- 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
-
设置某列为自动宽度
此方法必须在指定列数据完全写出后调用才有效。
- autoSizeColumn(int, float) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置某列为自动宽度。
- autoSizeColumn(int, boolean, float) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置某列为自动宽度。
- autoSizeColumnAll() - Method in class cn.hutool.poi.excel.BigExcelWriter
-
- autoSizeColumnAll(float) - Method in class cn.hutool.poi.excel.BigExcelWriter
-
- autoSizeColumnAll() - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置所有列为自动宽度,不考虑合并单元格
此方法必须在指定列数据完全写出后调用才有效。
- autoSizeColumnAll(float) - 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)
[1,2,3,4] -》 [1,2], [3, 4]
[1,2,3,4] -》 [1,2], [3], [4]
[1,2,3,4] -》 [1], [2], [3], [4]
[1,2,3,4] -》 [1], [2], [3], [4], []
分区是在原List的基础上进行的,返回的分区是不可变的抽象列表,原列表元素变更,分区中元素也会变更。
- 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
-
- back() - Method in class cn.hutool.core.text.csv.CsvTokener
-
将标记回退到第一个字符
- 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
-
图片背景识别处理、背景替换、背景设置为矢量图
根据一定规则算出图片背景色的RGB值,进行替换
2020-05-21 16:36
- 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位
例如:
1. "1234 2222 3333 4444 6789 9" -> "1234 **** **** **** **** 9"
2. "1234 2222 3333 4444 6789 91" -> "1234 **** **** **** **** 91"
3. "1234 2222 3333 4444 678" -> "1234 **** **** **** 678"
4. "1234 2222 3333 4444 6789" -> "1234 **** **** **** 6789"
- Base16Codec - Class in cn.hutool.core.codec
-
Base16(Hex)编码解码器
十六进制(简写为hex或下标16)在数学中是一种逢16进1的进位制,一般用数字0到9和字母A到F表示(其中:A~F即10~15)。
- 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码。
- 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码。
- 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
-
- 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.Html4Escape
-
HTML转义字符
HTML转义相比XML,并不转义单引号
见:https://stackoverflow.com/questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents
- 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
-
简单验证,生成的头信息类似于:
Authorization: Basic YWxhZGRpbjpvcGVuc2VzYW1l
- basicProxyAuth(String, String) - Method in class cn.hutool.http.HttpRequest
-
简单代理验证,生成的头信息类似于:
Proxy-Authorization: Basic YWxhZGRpbjpvcGVuc2VzYW1l
- BasicType - Enum in cn.hutool.core.convert
-
基本变量类型的枚举
基本类型枚举包括原始类型和包装类型
- BasicTypeGetter<K> - Interface in cn.hutool.core.getter
-
基本类型的getter接口
提供一个统一的接口定义返回不同类型的值(基本类型)
- BCD - Class in cn.hutool.core.codec
-
- 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加密算法实现。
- 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转换器,支持:
Map =》 Bean
Bean =》 Bean
ValueProvider =》 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拷贝,提供:
1.
- 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方法时会:
1.
- 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中对应的属性值对象。
- 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则忽略这个字段,以便实现:
1.
- beanToMap(Object, Map<String, Object>, CopyOptions) - Static method in class cn.hutool.core.bean.BeanUtil
-
- 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
bean上面用的常用注解
- 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工具类
把一个拥有对属性进行set和get方法的类,我们就可以称之为JavaBean。
- 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(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
-
- BigExcelWriter(int) - Constructor for class cn.hutool.poi.excel.BigExcelWriter
-
- BigExcelWriter(int, boolean, boolean, String) - Constructor for class cn.hutool.poi.excel.BigExcelWriter
-
- BigExcelWriter(String) - Constructor for class cn.hutool.poi.excel.BigExcelWriter
-
构造,默认写出到第一个sheet,第一个sheet名为sheet1
- BigExcelWriter(int, String) - Constructor for class cn.hutool.poi.excel.BigExcelWriter
-
- 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
-
- BigExcelWriter(Sheet) - Constructor for class cn.hutool.poi.excel.BigExcelWriter
-
- 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存储。
- BitSetBloomFilter(int, int, int) - Constructor for class cn.hutool.bloomfilter.BitSetBloomFilter
-
构造一个布隆过滤器,过滤器的容量为c * k 个bit.
- BitStatusUtil - Class in cn.hutool.core.math
-
通过位运算表示状态的工具类
参数必须是 `偶数` 且 `大于等于0`!
- 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 年提出的二进制向量数据结构,它具有很好的空间和时间效率,被用来检测一个元素是不是集合中的一个成员。
- 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参数支持两种类型:
1.
- body(String, String) - Method in class cn.hutool.http.HttpRequest
-
设置内容主体
请求体body参数支持两种类型:
1.
- 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
-
- BooleanConverter - Class in cn.hutool.core.convert.impl
-
布尔转换器
对象转为boolean,规则如下:
1、数字0为false,其它数字为true
2、转换为字符串,形如"true", "yes", "y", "t", "ok", "1", "on", "是", "对", "真", "對", "√"为true,其它字符串为false.
- 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.
- 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(List<E>, T, Function<E, T>, Function<E, T>, BiConsumer<E, List<E>>) - Static method in class cn.hutool.core.lang.tree.TreeUtil
-
函数式构建树状结构(无需继承Tree类)
- 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,前面带'/'
path = path-abempty / path-absolute / path-noscheme / path-rootless / path-empty
- build(Charset, boolean) - Method in class cn.hutool.core.net.url.UrlPath
-
构建path,前面带'/'
path = path-abempty / path-absolute / path-noscheme / path-rootless / path-empty
- build(Charset) - Method in class cn.hutool.core.net.url.UrlQuery
-
构建URL查询字符串,即将key-value键值对转换为key1=v1&key2=v2&key3=v3
形式。
- build(Charset, boolean) - Method in class cn.hutool.core.net.url.UrlQuery
-
构建URL查询字符串,即将key-value键值对转换为key1=v1&key2=v2&key3=v3
形式。
- build(PercentCodec, PercentCodec, Charset) - Method in class cn.hutool.core.net.url.UrlQuery
-
构建URL查询字符串,即将key-value键值对转换为key1=v1&key2=v2&key3=v3
形式。
- build(PercentCodec, PercentCodec, Charset, boolean) - Method in class cn.hutool.core.net.url.UrlQuery
-
构建URL查询字符串,即将key-value键值对转换为key1=v1&key2=v2&key3=v3
形式。
- 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 = ?
- build(List<Object>) - Method in class cn.hutool.db.sql.ConditionBuilder
-
构建组合条件
例如:name = ?
- build() - Method in class cn.hutool.db.sql.SqlBuilder
-
构建,默认打印SQL日志
- build() - Method in class cn.hutool.extra.mail.JakartaMail
-
- 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
-
构建简单的账号秘密验证信息,构建后类似于:
Basic YWxhZGRpbjpvcGVuc2VzYW1l
- buildChecked() - Method in class cn.hutool.core.net.SSLContextBuilder
-
- 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语句中的值,创建的结果为:
1、LikeType.StartWith: '%value'
2、LikeType.EndWith: 'value%'
3、LikeType.Contains: '%value%'
如果withLikeKeyword为true,则结果为:
1、LikeType.StartWith: LIKE '%value'
2、LikeType.EndWith: LIKE 'value%'
3、LikeType.Contains: LIKE '%value%'
- 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编码键和值
key1=v1&key2=&key3=v3
- 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
-
对数字和字节进行转换。
- ByteUtil() - Constructor for class cn.hutool.core.util.ByteUtil
-
- byteValue() - Method in class cn.hutool.core.lang.mutable.MutableByte
-
- 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
-
- CacheableAnnotationAttribute(Annotation, Method) - Constructor for class cn.hutool.core.annotation.CacheableAnnotationAttribute
-
- CacheableSynthesizedAnnotationAttributeProcessor - Class in cn.hutool.core.annotation
-
- CacheableSynthesizedAnnotationAttributeProcessor(Comparator<Hierarchical>) - Constructor for class cn.hutool.core.annotation.CacheableSynthesizedAnnotationAttributeProcessor
-
创建一个带缓存的注解值选择器
- CacheableSynthesizedAnnotationAttributeProcessor() - Constructor for class cn.hutool.core.annotation.CacheableSynthesizedAnnotationAttributeProcessor
-
- 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
-
- cacheObjIterator() - Method in interface cn.hutool.cache.Cache
-
返回包含键和值得迭代器
- CacheObjIterator<K,V> - Class in cn.hutool.cache.impl
-
- 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
-
Deprecated.
- CacheUtil - Class in cn.hutool.cache
-
缓存工具类
- CacheUtil() - Constructor for class cn.hutool.cache.CacheUtil
-
- CacheValuesIterator<V> - Class in cn.hutool.cache.impl
-
- 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/chinabugotech/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
-
- 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
-
- 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 位字码。)
- CAR_VIN - Static variable in interface cn.hutool.core.lang.RegexPool
-
车架号(车辆识别代号由世界制造厂识别代号(WMI、车辆说明部分(VDS)车辆指示部分(VIS)三部分组成,共 17 位字码。)
- 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
-
泛型集合向下转型。
- castDown(Set<? super T>) - Static method in class cn.hutool.core.convert.CastUtil
-
泛型集合向下转型。
- castDown(List<? super T>) - Static method in class cn.hutool.core.convert.CastUtil
-
泛型集合向下转型。
- castDown(Map<? super K, ? super V>) - Static method in class cn.hutool.core.convert.CastUtil
-
泛型集合向下转型。
- castToBufferedImage(Image, String) - Static method in class cn.hutool.core.img.ImgUtil
-
- castToRenderedImage(Image, String) - Static method in class cn.hutool.core.img.ImgUtil
-
- castUp(Collection<? extends T>) - Static method in class cn.hutool.core.convert.CastUtil
-
泛型集合向上转型。
- castUp(Set<? extends T>) - Static method in class cn.hutool.core.convert.CastUtil
-
泛型集合向上转型。
- castUp(List<? extends T>) - Static method in class cn.hutool.core.convert.CastUtil
-
泛型接口向上转型。
- castUp(Map<? extends K, ? extends V>) - Static method in class cn.hutool.core.convert.CastUtil
-
泛型集合向下转型。
- 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
-
- 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
-
居中字符串,两边补充指定字符串,如果指定长度小于字符串,则返回原字符串
CharSequenceUtil.center(null, *) = null
CharSequenceUtil.center("", 4) = " "
CharSequenceUtil.center("ab", -1) = "ab"
CharSequenceUtil.center("ab", 4) = " ab "
CharSequenceUtil.center("abcd", 2) = "abcd"
CharSequenceUtil.center("a", 4) = " a "
- center(CharSequence, int, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
居中字符串,两边补充指定字符串,如果指定长度小于字符串,则返回原字符串
CharSequenceUtil.center(null, *, *) = null
CharSequenceUtil.center("", 4, ' ') = " "
CharSequenceUtil.center("ab", -1, ' ') = "ab"
CharSequenceUtil.center("ab", 4, ' ') = " ab "
CharSequenceUtil.center("abcd", 2, ' ') = "abcd"
CharSequenceUtil.center("a", 4, ' ') = " a "
CharSequenceUtil.center("a", 4, 'y') = "yayy"
CharSequenceUtil.center("abc", 7, ' ') = " abc "
- center(CharSequence, int, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
居中字符串,两边补充指定字符串,如果指定长度小于字符串,则返回原字符串
CharSequenceUtil.center(null, *, *) = null
CharSequenceUtil.center("", 4, " ") = " "
CharSequenceUtil.center("ab", -1, " ") = "ab"
CharSequenceUtil.center("ab", 4, " ") = " ab "
CharSequenceUtil.center("abcd", 2, " ") = "abcd"
CharSequenceUtil.center("a", 4, " ") = " a "
CharSequenceUtil.center("a", 4, "yz") = "yayz"
CharSequenceUtil.center("abc", 7, null) = " abc "
CharSequenceUtil.center("abc", 7, "") = " abc "
- 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
-
- 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
-
- CharSequenceResource - Class in cn.hutool.core.io.resource
-
- 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
-
- 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
-
方便的执行会抛出受检查类型异常的方法调用或者代码段
该工具通过函数式的方式将那些需要抛出受检查异常的表达式或者代码段转化成一个 cn.hutool.core.lang.func.Func* 对象
//代码中如果遇到一个方法调用声明了受检查异常那么我们的代码就必须这样写
Map describedObject = null;
try {
describe = BeanUtils.describe(new Object());
} catch (IllegalAccessException e) {
throw new RuntimeException(e);
} catch (InvocationTargetException e) {
throw new RuntimeException(e);
} catch (NoSuchMethodException e) {
throw new RuntimeException(e);
}
// use describedObject ...
- 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
-
检查下标(数组、集合、字符串)是否符合要求,下标必须满足:
0 ≤ index < size
- checkIndex(int, int, String, Object...) - Static method in class cn.hutool.core.lang.Assert
-
检查下标(数组、集合、字符串)是否符合要求,下标必须满足:
0 ≤ index < size
- 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
-
- checkLinkedSelf(AnnotationAttribute, AnnotationAttribute) - Method in class cn.hutool.core.annotation.AbstractLinkAnnotationPostProcessor
-
- 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异常
- checkValidIntValue(int) - Static method in enum cn.hutool.core.date.Quarter
-
检查季度的值。
- 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
-
- CHINESE_DATE_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
-
- 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
-
- CHINESE_DATE_TIME_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
-
- 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
-
- 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。
- 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
-
- 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路径会直接报错。
- 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
-
清理空文件夹
此方法用于递归删除空的文件夹,不删除文件
如果传入的文件夹本身就是空的,删除这个文件夹
- cleanEmptyTag(String) - Static method in class cn.hutool.http.HtmlUtil
-
清除所有HTML空标签
例如:<p></p>
- 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
-
Deprecated.
- 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
-
- 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.CsvTokener
-
- 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
-
- 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
-
提供通用树生成,特点:
1、每个字段可自定义
2、支持排序 树深度配置,自定义转换器等
3、支持额外属性扩展
4、贴心 许多属性,特性都有默认值处理
5、使用简单 可一行代码生成树
6、代码简洁轻量无额外依赖
- 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
定时任务调度器,用于整体管理任务的增删、启停和触发运行。
- 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
-
- cn.hutool.cron.pattern.parser - package cn.hutool.cron.pattern.parser
-
定时任务表达式解析器,内部使用
- cn.hutool.cron.task - package cn.hutool.cron.task
-
- cn.hutool.cron.timingwheel - package cn.hutool.cron.timingwheel
-
时间轮实现,重写了kafka的TimingWheel
时间轮一般会实现成一个环形结构,类似一个时钟,分为很多槽,一个槽代表一个时间间隔,每个槽使用双向链表存储定时任务。
- cn.hutool.crypto - package cn.hutool.crypto
-
加密解密模块,实现了对JDK中加密解密算法的封装,入口为SecureUtil,实现了:
1.
- 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”,中文名“散列消息鉴别码”
主要是利用哈希算法,以一个密钥和一个消息为输入,生成一个消息摘要作为输出。
- 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思想操作数据库。
- 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,即确定有穷自动机。
- 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的打包(压缩)封装
见:https://commons.apache.org/proper/commons-compress/
- cn.hutool.extra.compress.extractor - package cn.hutool.extra.compress.extractor
-
基于commons-compress的解包(解压缩)封装
见:https://commons.apache.org/proper/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
-
- 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。
- 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
-
- cn.hutool.log.level - package cn.hutool.log.level
-
按照日志级别定义的日志打印接口定义
- cn.hutool.poi - package cn.hutool.poi
-
POI封装实现
Java针对MS Office的操作的库屈指可数,比较有名的就是Apache的POI库。
- 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
-
- 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
-
- 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
-
- 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
-
- 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!
- 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
-
- 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
-
比较器链。
- ComparatorChain() - Constructor for class cn.hutool.core.comparator.ComparatorChain
-
- 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
-
- 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接口)
一般而言,如果c1 < c2,返回数小于0,c1==c2返回0,c1 > c2 大于0
- 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
-
自然比较两个对象的大小,比较规则如下:
1、如果实现Comparable调用compareTo比较
2、o1.equals(o2)返回0
3、比较hashCode值
4、比较toString值
- 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(null, "v1") < 0
compare("v1", "v1") = 0
compare(null, null) = 0
compare("v1", null) > 0
compare("1.0.0", "1.0.2") < 0
compare("1.0.2", "1.0.2a") < 0
compare("1.0.3", "1.0.2a") > 0
compare("1.13.0", "1.12.1c") > 0
compare("V0.0.20170102", "V0.0.20170101") > 0
- compare(CharSequence, CharSequence) - Method in class cn.hutool.core.comparator.WindowsExplorerStringComparator
-
- compare(Calendar, Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
- 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. which
is the most specific regarding the current path.
- compare(CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
比较两个字符串,用于排序
CharSequenceUtil.compare(null, null, *) = 0
CharSequenceUtil.compare(null , "a", true) < 0
CharSequenceUtil.compare(null , "a", false) > 0
CharSequenceUtil.compare("a", null, true) > 0
CharSequenceUtil.compare("a", null, false) < 0
CharSequenceUtil.compare("abc", "abc", *) = 0
CharSequenceUtil.compare("a", "b", *) < 0
CharSequenceUtil.compare("b", "a", *) > 0
CharSequenceUtil.compare("a", "B", *) > 0
CharSequenceUtil.compare("ab", "abc", *) < 0
- 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
-
比较两个字符串,用于排序,大小写不敏感
CharSequenceUtil.compareIgnoreCase(null, null, *) = 0
CharSequenceUtil.compareIgnoreCase(null , "a", true) < 0
CharSequenceUtil.compareIgnoreCase(null , "a", false) > 0
CharSequenceUtil.compareIgnoreCase("a", null, true) > 0
CharSequenceUtil.compareIgnoreCase("a", null, false) < 0
CharSequenceUtil.compareIgnoreCase("abc", "abc", *) = 0
CharSequenceUtil.compareIgnoreCase("abc", "ABC", *) = 0
CharSequenceUtil.compareIgnoreCase("a", "b", *) < 0
CharSequenceUtil.compareIgnoreCase("b", "a", *) > 0
CharSequenceUtil.compareIgnoreCase("a", "B", *) < 0
CharSequenceUtil.compareIgnoreCase("A", "b", *) < 0
CharSequenceUtil.compareIgnoreCase("ab", "abc", *) < 0
- 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
-
- compareTo(YearQuarter) - Method in class cn.hutool.core.date.YearQuarter
-
- 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
-
- CompareToBuilder() - Constructor for class cn.hutool.core.builder.CompareToBuilder
-
- 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版本排在最小:即:
CharSequenceUtil.compareVersion(null, "v1") < 0
CharSequenceUtil.compareVersion("v1", "v1") = 0
CharSequenceUtil.compareVersion(null, null) = 0
CharSequenceUtil.compareVersion("v1", null) > 0
CharSequenceUtil.compareVersion("1.0.0", "1.0.2") < 0
CharSequenceUtil.compareVersion("1.0.2", "1.0.2a") < 0
CharSequenceUtil.compareVersion("1.13.0", "1.12.1c") > 0
CharSequenceUtil.compareVersion("V0.0.20170102", "V0.0.20170101") > 0
- 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
-
- 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
-
- computeColorDistance(Color, Color) - Static method in class cn.hutool.core.img.ColorUtil
-
计算两个颜色之间的色差,按三维坐标距离计算
- 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。
- 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。
- 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() - Constructor for class cn.hutool.core.collection.ComputeIter
-
- computeNext() - Method in class cn.hutool.core.collection.ComputeIter
-
- 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 - Class in cn.hutool.core.thread
-
高并发测试工具类
ps:
//模拟1000个线程并发
ConcurrencyTester ct = new ConcurrencyTester(1000);
ct.test(() -> {
// 需要并发测试的业务代码
});
Console.log(ct.getInterval());
ct.close();
- ConcurrencyTester(int) - Constructor for class cn.hutool.core.thread.ConcurrencyTester
-
构造
- ConcurrentHashSet<E> - Class in cn.hutool.core.collection
-
- 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语句的一部分,并将参数值转换为占位符,并提取对应位置的参数值。
- 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
-
- 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中所有的元素。
- 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
-
Deprecated.
- 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都需要有,而是一个子集。
- 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
-
- 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
-
- contentEquals(Reader, Reader) - Static method in class cn.hutool.core.io.IoUtil
-
- 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
-
- 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
-
转换字符串的字符集编码
当以错误的编码读取为字符串时,打印字符串将出现乱码。
- 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
-
转换器登记中心
将各种类型Convert对象放入登记中心,通过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
-
- 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
-
- convertTimeZone(Date, TimeZone) - Static method in class cn.hutool.core.date.DateUtil
-
- convertToStr(Object) - Method in class cn.hutool.core.convert.AbstractConverter
-
值转为String,用于内部转换中需要使用String中转的情况
转换规则为:
1、字符串类型将被强转
2、数组将被转换为逗号分隔的字符串
3、其它类型将调用默认的toString()方法
- 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
-
执行拷贝
拷贝规则为:
1、源为文件,目标为已存在目录,则拷贝到目录下,文件名不变
2、源为文件,目标为不存在路径,则目标以文件对待(自动创建父级目录)比如:/dest/aaa,如果aaa不存在,则aaa被当作文件名
3、源为文件,目标是一个已存在的文件,则当
FileCopier.setOverride(boolean)
设为true时会被覆盖,默认不覆盖
4、源为目录,目标为已存在目录,当
FileCopier.setCopyContentIfDir(boolean)
为true时,只拷贝目录中的内容到目标目录中,否则整个源目录连同其目录拷贝到目标目录中
5、源为目录,目标为不存在路径,则自动创建目标为新目录,然后按照规则4复制
6、源为目录,目标为文件,抛出IO异常
7、源路径和目标路径相同时,抛出IO异常
- copy(Path, Path, CopyOption...) - Static method in class cn.hutool.core.io.file.PathUtil
-
- 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
-
复制文件或目录
情况如下:
1、src和dest都为目录,则将src目录及其目录下所有文件目录拷贝到dest下
2、src和dest都为文件,直接复制,名字为dest
3、src为文件,dest为目录,将src拷贝到dest目录下
- 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
-
- 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
-
复制文件或目录
情况如下:
1、src和dest都为目录,则将src下所有文件目录拷贝到dest下
2、src和dest都为文件,直接复制,名字为dest
3、src为文件,dest为目录,将src拷贝到dest目录下
- copyFile(Resource, Path, CopyOption...) - Static method in class cn.hutool.core.io.file.PathUtil
-
- copyFile(InputStream, Path, CopyOption...) - Static method in class cn.hutool.core.io.file.PathUtil
-
- copyFile(Path, Path, StandardCopyOption...) - Static method in class cn.hutool.core.io.file.PathUtil
-
- copyFile(Path, Path, CopyOption...) - Static method in class cn.hutool.core.io.file.PathUtil
-
- 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
-
复制文件或目录
情况如下:
1、src和dest都为目录,则将src下所有文件(不包括子目录)拷贝到dest下
2、src和dest都为文件,直接复制,名字为dest
3、src为文件,dest为目录,将src拷贝到dest目录下
- 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
-
- 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!
- count(int, int) - Static method in class cn.hutool.core.math.Combination
-
计算组合数,即C(n, m) = n!
- 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=?
- 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中对应的属性值对象。
- 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
-
- create(char[], int) - Static method in class cn.hutool.core.codec.Hashids
-
- 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
-
- create(String) - Static method in class cn.hutool.core.io.file.FileSystemUtil
-
- 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
-
- create(Watcher...) - Static method in class cn.hutool.core.io.watch.watchers.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
-
- 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
-
- create(MailAccount) - Static method in class cn.hutool.extra.mail.JakartaMail
-
创建邮件客户端
- create() - Static method in class cn.hutool.extra.mail.JakartaMail
-
创建邮件客户端,使用全局邮件帐户
- 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
-
决定日志实现
依次按照顺序检查日志库的jar是否被引入,如果未引入任何日志库,则检查ClassPath下的logging.properties,存在则使用JdkLogFactory,否则使用ConsoleLogFactory
- 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路径编码,定义如下:
0x2A, 0x2D, 0x2E, 0x30 to 0x39, 0x41 to 0x5A, 0x5F, 0x61 to 0x7A as-is
'*', '-', '
- 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写出(读写模式)
1. excelFile为null时直接返回一个空的工作簿,默认xlsx格式
2.
- createBouncyCastleProvider() - Static method in class cn.hutool.crypto.ProviderFactory
-
- createCellSetter(Object) - Static method in class cn.hutool.poi.excel.cell.setters.CellSetterFactory
-
- 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
-
- 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
-
- 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
-
- 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
-
- createDefault() - Static method in class cn.hutool.core.net.URLEncoder
-
Deprecated.
创建默认URLEncoder
默认的编码器针对URI路径编码,定义如下:
default = pchar / "/"
pchar = unreserved(不处理) / pct-encoded / sub-delims(子分隔符) / ":" / "@"
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
sub-delims = "!"
- createDefaultCellStyle(Workbook) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
创建默认普通单元格样式
1.
- createDigester() - Method in class cn.hutool.crypto.digest.DigesterFactory
-
- 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
-
- createEngine(String, Key, AlgorithmParameterSpec) - Static method in class cn.hutool.crypto.digest.mac.MacEngineFactory
-
- 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
-
- createFont(InputStream) - Static method in class cn.hutool.core.img.FontUtil
-
- createFont(File) - Static method in class cn.hutool.core.img.ImgUtil
-
- createFont(InputStream) - Static method in class cn.hutool.core.img.ImgUtil
-
- 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
-
- createFragment() - Static method in class cn.hutool.core.net.URLEncoder
-
Deprecated.
URL的Fragment URLEncoder
默认的编码器针对Fragment,定义如下:
fragment = *( pchar / "/" / "?"
- 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
-
- 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
-
- 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
-
- createMap(Class<?>) - Static method in class cn.hutool.core.map.MapUtil
-
- 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路径的每一段编码,定义如下:
pchar = unreserved / pct-encoded / sub-delims / ":"(非空segment不包含:) / "@"
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
sub-delims = "!"
- 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
-
- 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路径编码,定义如下:
0x20 ' ' =》 '+'
0x2A, 0x2D, 0x2E, 0x30 to 0x39, 0x41 to 0x5A, 0x5F, 0x61 to 0x7A as-is
'*', '-', '
- 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
-
- createSecureRandom(byte[]) - Static method in class cn.hutool.core.util.RandomUtil
-
- 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
-
- 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
-
- 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
-
- 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
-
- createStampLock() - Static method in class cn.hutool.core.thread.lock.LockUtil
-
- 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
,用于对代码块的执行时间计数
使用方法如下:
StopWatch stopWatch = DateUtil.createStopWatch();
// 任务1
stopWatch.start("任务一");
Thread.sleep(1000);
stopWatch.stop();
// 任务2
stopWatch.start("任务二");
Thread.sleep(2000);
stopWatch.stop();
// 打印出耗时
Console.log(stopWatch.prettyPrint());
- createStopWatch(String) - Static method in class cn.hutool.core.date.DateUtil
-
创建秒表
StopWatch
,用于对代码块的执行时间计数
使用方法如下:
StopWatch stopWatch = DateUtil.createStopWatch("任务名称");
// 任务1
stopWatch.start("任务一");
Thread.sleep(1000);
stopWatch.stop();
// 任务2
stopWatch.start("任务二");
Thread.sleep(2000);
stopWatch.stop();
// 打印出耗时
Console.log(stopWatch.prettyPrint());
- 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。
- createTempFile(String, boolean) - Static method in class cn.hutool.core.io.FileUtil
-
在默认临时文件目录下创建临时文件,创建后的文件名为 prefix[Random].suffix。
- createTempFile(String, String, boolean) - Static method in class cn.hutool.core.io.FileUtil
-
在默认临时文件目录下创建临时文件,创建后的文件名为 prefix[Random].suffix。
- 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
-
- 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
-
- createZip(String, Charset) - Static method in class cn.hutool.core.io.file.FileSystemUtil
-
- CREDIT_CODE - Static variable in class cn.hutool.core.lang.PatternPool
-
统一社会信用代码
第一部分:登记管理部门代码1位 (数字或大写英文字母)
第二部分:机构类别代码1位 (数字或大写英文字母)
第三部分:登记管理机关行政区划码6位 (数字)
第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母)
第五部分:校验码1位 (数字或大写英文字母)
- CREDIT_CODE - Static variable in interface cn.hutool.core.lang.RegexPool
-
统一社会信用代码
第一部分:登记管理部门代码1位 (数字或大写英文字母)
第二部分:机构类别代码1位 (数字或大写英文字母)
第三部分:登记管理机关行政区划码6位 (数字)
第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母)
第五部分:校验码1位 (数字或大写英文字母)
- 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
第一部分:登记管理部门代码1位 (数字或大写英文字母)
第二部分:机构类别代码1位 (数字或大写英文字母)
第三部分:登记管理机关行政区划码6位 (数字)
第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母)
第五部分:校验码1位 (数字或大写英文字母)
- 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" 表示周六
为了兼容Quartz表达式,同时支持6位和7位表达式,其中:
当为6位时,第一位表示秒 ,范围0~59,但是第一位不做匹配
当为7位时,最后一位表示年 ,范围1970~2099,但是第7位不做解析,也不做匹配
当定时任务运行到的时间匹配这些表达式后,任务被启动。
- 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
-
- 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
-
- CsvReader(Path, CsvReadConfig) - Constructor for class cn.hutool.core.text.csv.CsvReader
-
- 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的行处理器,实现此接口用于按照行处理数据
- CsvTokener - Class in cn.hutool.core.text.csv
-
CSV解析器,用于解析CSV文件
- CsvTokener(Reader) - Constructor for class cn.hutool.core.text.csv.CsvTokener
-
构造
- 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
-
- 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=甲子
- 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长度的数字
此类来自于:Spring-framework
byte 1B 1
kilobyte 1KB 1,024
megabyte 1MB 1,048,576
gigabyte 1GB 1,073,741,824
terabyte 1TB 1,099,511,627,776
- 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
-
- DataSourceWrapper(DataSource, String) - Constructor for class cn.hutool.db.ds.DataSourceWrapper
-
构造
- DataUnit - Enum in cn.hutool.core.io.unit
-
数据单位封装
此类来自于:Spring-framework
BYTES 1B 2^0 1
KILOBYTES 1KB 2^10 1,024
MEGABYTES 1MB 2^20 1,048,576
GIGABYTES 1GB 2^30 1,073,741,824
TERABYTES 1TB 2^40 1,099,511,627,776
- date() - Static method in class cn.hutool.core.date.DateUtil
-
- 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
-
- date(TemporalAccessor) - Static method in class cn.hutool.core.date.DateUtil
-
- 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
-
- 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
-
日期修改器
用于实现自定义某个日期字段的调整,包括:
1.
- 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
-
- 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 - Class in cn.hutool.core.date
-
- 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
-
- 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
-
- decimalFormat(String, long) - Static method in class cn.hutool.core.util.NumberUtil
-
- decimalFormat(String, Object) - Static method in class cn.hutool.core.util.NumberUtil
-
- decimalFormat(String, Object, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
- 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
1.
- decode(String, Charset, boolean) - Static method in class cn.hutool.core.net.URLDecoder
-
解码
1.
- decode(byte[]) - Static method in class cn.hutool.core.net.URLDecoder
-
解码
1.
- decode(byte[], boolean) - Static method in class cn.hutool.core.net.URLDecoder
-
解码
1.
- 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进制表示的内容解码。
- 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
-
解码字符串密钥,可支持的编码如下:
1.
- 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
-
将二维码或条形码图片解码为文本
此方法会尝试使用HybridBinarizer
和GlobalHistogramBinarizer
两种模式解析
需要注意部分二维码如果不带logo,使用PureBarcode模式会解析失败,此时须设置此选项为false。
- decode(Image, Map<DecodeHintType, Object>) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
将二维码或条形码图片解码为文本
此方法会尝试使用HybridBinarizer
和GlobalHistogramBinarizer
两种模式解析
需要注意部分二维码如果不带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
- decodeECPrivateKey(byte[], String) - Static method in class cn.hutool.crypto.BCUtil
-
解码恢复EC私钥,支持Base64和Hex编码,(基于BouncyCastle)
- 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
-
解密PKCS8EncryptedPrivateKeyInfo
为PrivateKeyInfo
- decrypt(PEMEncryptedKeyPair, char[]) - Static method in class cn.hutool.crypto.OpensslKeyUtil
-
解密PEMEncryptedKeyPair
为PEMKeyPair
- 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
-
- 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
-
- decryptStrFromBcd(String, KeyType) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricDecryptor
-
- DEFAULT - Static variable in class cn.hutool.core.net.URLEncoder
-
Deprecated.
默认URLEncoder
默认的编码器针对URI路径编码,定义如下:
default = pchar / "/"
pchar = unreserved(不处理) / pct-encoded / sub-delims(子分隔符) / ":" / "@"
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
sub-delims = "!"
- 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
-
默认密钥字节数
RSA/DSA
Default Keysize 1024
Keysize must be a multiple of 64, ranging from 512 to 1024 (inclusive).
- DEFAULT_KEY_SIZE - Static variable in class cn.hutool.crypto.SecureUtil
-
默认密钥字节数
RSA/DSA
Default Keysize 1024
Keysize must be a multiple of 64, ranging from 512 to 1024 (inclusive).
- 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
-
- 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。
- 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
或者""或者空白符返回默认值
ObjectUtil.defaultIfBlank(null, null) = null
ObjectUtil.defaultIfBlank(null, "") = ""
ObjectUtil.defaultIfBlank("", "zz") = "zz"
ObjectUtil.defaultIfBlank(" ", "zz") = "zz"
ObjectUtil.defaultIfBlank("abc", *) = "abc"
- 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
-
- 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
或者 "" 返回默认值
ObjectUtil.defaultIfEmpty(null, null) = null
ObjectUtil.defaultIfEmpty(null, "") = ""
ObjectUtil.defaultIfEmpty("", "zz") = "zz"
ObjectUtil.defaultIfEmpty(" ", "zz") = " "
ObjectUtil.defaultIfEmpty("abc", *) = "abc"
- 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
返回默认值
ObjectUtil.defaultIfNull(null, null) = null
ObjectUtil.defaultIfNull(null, "") = ""
ObjectUtil.defaultIfNull(null, "zz") = "zz"
ObjectUtil.defaultIfNull("abc", *) = "abc"
ObjectUtil.defaultIfNull(Boolean.TRUE, *) = Boolean.TRUE
- 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
-
- 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
-
- 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
-
删除文件或者文件夹
注意:删除文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
从5.7.6开始,删除文件使用
Files.delete(Path)
代替
File.delete()
因为前者遇到文件被占用等原因时,抛出异常,而非返回false,异常会指明具体的失败原因。
- del(int, int) - Method in class cn.hutool.core.text.StrBuilder
-
删除指定长度的字符,规则如下:
1、end大于等于最大长度,结束按照最大长度计算,相当于删除start之后虽有部分(性能最好)
2、end小于start时,抛出StringIndexOutOfBoundsException
3、start小于0 按照0处理
4、start等于end不处理
5、start和end都位于长度区间内,删除这段内容(内存拷贝)
- 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方法。
- 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(byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
DES加密
例:
DES加密:des(key).encrypt(data)
DES解密:des(key).decrypt(data)
- 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(byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
DESede加密(又名3DES、TripleDES)
Java中默认实现为:DESede/ECB/PKCS5Padding
例:
DESede加密:desede(key).encrypt(data)
DESede解密:desede(key).decrypt(data)
- DESede - Class in cn.hutool.crypto.symmetric
-
DESede是由DES对称加密算法改进后的一种对称加密算法,又名3DES、TripleDES。
- 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
-
脱敏,使用默认的脱敏策略
CharSequenceUtil.desensitized("100", DesensitizedUtil.DesensitizedType.USER_ID)) = "0"
CharSequenceUtil.desensitized("段正淳", DesensitizedUtil.DesensitizedType.CHINESE_NAME)) = "段**"
CharSequenceUtil.desensitized("51343620000320711X", DesensitizedUtil.DesensitizedType.ID_CARD)) = "5***************1X"
CharSequenceUtil.desensitized("09157518479", DesensitizedUtil.DesensitizedType.FIXED_PHONE)) = "0915*****79"
CharSequenceUtil.desensitized("18049531999", DesensitizedUtil.DesensitizedType.MOBILE_PHONE)) = "180****1999"
CharSequenceUtil.desensitized("北京市海淀区马连洼街道289号", DesensitizedUtil.DesensitizedType.ADDRESS)) = "北京市海淀区马********"
CharSequenceUtil.desensitized("duandazhi-jack@gmail.com.cn", DesensitizedUtil.DesensitizedType.EMAIL)) = "d*************@gmail.com.cn"
CharSequenceUtil.desensitized("1234567890", DesensitizedUtil.DesensitizedType.PASSWORD)) = "**********"
CharSequenceUtil.desensitized("苏D40000", DesensitizedUtil.DesensitizedType.CAR_LICENSE)) = "苏D4***0"
CharSequenceUtil.desensitized("11011111222233333256", DesensitizedType.BANK_CARD)) = "1101 **** **** **** 3256"
- desensitized(CharSequence, DesensitizedUtil.DesensitizedType) - Static method in class cn.hutool.core.util.DesensitizedUtil
-
脱敏,使用默认的脱敏策略
DesensitizedUtil.desensitized("100", DesensitizedUtil.DesensitizedType.USER_ID)) = "0"
DesensitizedUtil.desensitized("段正淳", DesensitizedUtil.DesensitizedType.CHINESE_NAME)) = "段**"
DesensitizedUtil.desensitized("51343620000320711X", DesensitizedUtil.DesensitizedType.ID_CARD)) = "5***************1X"
DesensitizedUtil.desensitized("09157518479", DesensitizedUtil.DesensitizedType.FIXED_PHONE)) = "0915*****79"
DesensitizedUtil.desensitized("18049531999", DesensitizedUtil.DesensitizedType.MOBILE_PHONE)) = "180****1999"
DesensitizedUtil.desensitized("北京市海淀区马连洼街道289号", DesensitizedUtil.DesensitizedType.ADDRESS)) = "北京市海淀区马********"
DesensitizedUtil.desensitized("duandazhi-jack@gmail.com.cn", DesensitizedUtil.DesensitizedType.EMAIL)) = "d*************@gmail.com.cn"
DesensitizedUtil.desensitized("1234567890", DesensitizedUtil.DesensitizedType.PASSWORD)) = "**********"
DesensitizedUtil.desensitized("苏D40000", DesensitizedUtil.DesensitizedType.CAR_LICENSE)) = "苏D4***0"
DesensitizedUtil.desensitized("11011111222233333256", DesensitizedUtil.DesensitizedType.BANK_CARD)) = "1101 **** **** **** 3256"
DesensitizedUtil.desensitized("192.168.1.1", DesensitizedUtil.DesensitizedType.IPV4)) = "192.*.*.*"
- 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上有所区别,故为每种数据库配置不同的方言。
- 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
-
- digest(byte[]) - Method in class cn.hutool.crypto.digest.Digester
-
生成摘要,考虑加盐和重复摘要次数
- digest(InputStream) - Method in class cn.hutool.crypto.digest.Digester
-
- 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
-
- digest(byte[]) - Method in class cn.hutool.crypto.digest.mac.Mac
-
生成摘要
- digest(InputStream) - Method in class cn.hutool.crypto.digest.mac.Mac
-
- 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
-
- digestHex(InputStream, int) - Method in class cn.hutool.crypto.asymmetric.Sign
-
- 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
-
- digestHex(byte[]) - Method in class cn.hutool.crypto.digest.Digester
-
生成摘要,并转为16进制字符串
- digestHex(InputStream) - Method in class cn.hutool.crypto.digest.Digester
-
- digestHex(InputStream, int) - Method in class cn.hutool.crypto.digest.Digester
-
- 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
-
- digestHex(byte[]) - Method in class cn.hutool.crypto.digest.mac.Mac
-
生成摘要,并转为16进制字符串
- digestHex(InputStream) - Method in class cn.hutool.crypto.digest.mac.Mac
-
- digestHex(InputStream, int) - Method in class cn.hutool.crypto.digest.mac.Mac
-
- 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
-
- 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
-
- disableCookie() - Method in class cn.hutool.http.HttpRequest
-
禁用默认Cookie行为,此方法调用后会将Cookie置为空。
- 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
-
两个集合的对称差集 (A-B)∪(B-A)
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留两个集合中此元素个数差的个数
例如:
disjunction([a, b, c, c, c], [a, b, c, c]) -》 [c]
disjunction([a, b], []) -》 [a, b]
disjunction([a, b, c], [b, c, d]) -》 [a, d]
任意一个集合为空,返回另一个集合
两个集合无差集则返回空集合
- 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
-
- distinct(T[], Function<T, K>, boolean) - Static method in class cn.hutool.core.util.ArrayUtil
-
- 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
-
事件处理,通过实现此方法处理各种事件。
- 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
-
字符串常量:双点 ".."
- 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/chinabugotech/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
-
- 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/chinabugotech/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, int, int, Color, 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
-
绘制字符串,默认抗锯齿。
- 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
-
绘制字符串,使用随机颜色,默认抗锯齿
- drawStringColourful(Graphics, String, Font, int, int, Color, int) - Static method in class cn.hutool.core.img.GraphicsUtil
-
绘制字符串,使用随机颜色,默认抗锯齿
- drawStringColourful(Graphics, String, Font, int, int, Color) - 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_GOLDENDB - Static variable in interface cn.hutool.db.dialect.DriverNamePool
-
JDBC 驱动 GoldenDB
- 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(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
-
- dump(Object, Writer, DumperOptions) - Static method in class cn.hutool.setting.yaml.YamlUtil
-
- dumpSystemInfo() - Static method in class cn.hutool.system.SystemUtil
-
- dumpSystemInfo(PrintWriter) - Static method in class cn.hutool.system.SystemUtil
-
- DurationConverter - Class in cn.hutool.core.convert.impl
-
- 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
-
构造
- ECIES - Class in cn.hutool.crypto.asymmetric
-
ECIES(集成加密方案,elliptic curve integrate encrypt scheme)
详细介绍见:https://blog.csdn.net/baidu_26954729/article/details/90437344
此算法必须引入Bouncy Castle库
- 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实现可以实现以下功能:
1、过滤出需要的对象,如果返回null表示这个元素对象抛弃
2、修改元素对象,返回集合中为修改后的对象
- edit(Iterable<T>, Editor<T>) - Static method in class cn.hutool.core.collection.IterUtil
-
编辑,此方法产生一个新
ArrayList
编辑过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
1、过滤出需要的对象,如果返回null表示这个元素对象抛弃
2、修改元素对象,返回集合中为修改后的对象
- 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实现可以实现以下功能:
1、过滤出需要的对象,如果返回 null
表示这个元素对象抛弃
2、修改元素对象,返回集合中为修改后的对象
- 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实现可以实现以下功能:
1、过滤出需要的对象,如果返回 null
表示这个元素对象抛弃
2、修改元素对象,返回集合中为修改后的对象
- 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
-
编辑器接口,常用于对于集合中的元素做统一编辑
此编辑器两个作用:
1、如果返回值为 null
,表示此值被抛弃
2、对对象做修改
- ElementAnnotationScanner - Class in cn.hutool.core.annotation.scanner
-
- 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签名器。
- 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
-
- 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?
- 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表情工具类
emoji-java文档以及别名列表见:https://github.com/vdurmont/emoji-java
- EmojiUtil() - Constructor for class cn.hutool.extra.emoji.EmojiUtil
-
- empty(Class<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
根据给定的集合类型,返回对应的空集合,支持类型包括:
*
1.
- 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,支持类型包括:
1.
- 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
-
- emptyCount(Object...) - Static method in class cn.hutool.core.util.ObjectUtil
-
- emptyIfNull(Set<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
- emptyIfNull(List<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
- emptyIfNull(Map<K, V>) - Static method in class cn.hutool.core.map.MapUtil
-
- 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
-
- 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码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encode(String, Charset) - Static method in class cn.hutool.core.net.URLEncodeUtil
-
编码字符为 application/x-www-form-urlencoded
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encode(String, int) - Static method in class cn.hutool.core.util.RadixUtil
-
把一个整型数值转换成自己定义的进制
长度即进制
encode("AB",10) 51转换成2进制,A=0;B=1 。
- 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
-
- encodeColor(Color, String) - Static method in class cn.hutool.core.util.HexUtil
-
- 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,定义如下:
fragment = *( pchar / "/" / "?"
- encodeFragment(String, Charset) - Static method in class cn.hutool.core.net.URLEncodeUtil
-
URL的Fragment URLEncoder
默认的编码器针对Fragment,定义如下:
fragment = *( pchar / "/" / "?"
- 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
注意,此方法只能标准化整个URL,并不适合于单独编码参数值
- encodePathSegment(String) - Static method in class cn.hutool.core.net.URLEncodeUtil
-
编码URL,默认使用UTF-8编码
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encodePathSegment(String, Charset) - Static method in class cn.hutool.core.net.URLEncodeUtil
-
编码字符为URL中查询语句
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encodeQuery(String) - Static method in class cn.hutool.core.net.URLEncodeUtil
-
编码URL,默认使用UTF-8编码
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encodeQuery(String, Charset) - Static method in class cn.hutool.core.net.URLEncodeUtil
-
编码字符为URL中查询语句
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- 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
-
编码中文字符
编码失败返回原字符串
- encodeText(String, Charset) - Static method in class cn.hutool.extra.mail.JakartaInternalMailUtil
-
编码中文字符
编码失败返回原字符串
- 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
-
- 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三部分组成,其中:
C1 生成随机数的计算出的椭圆曲线点
C3 SM3的摘要值
C2 密文数据
- encrypt(byte[], KeyType) - Method in class cn.hutool.crypto.asymmetric.SM2
-
加密,SM2非对称加密的结果由C1,C3,C2三部分组成,其中:
C1 生成随机数的计算出的椭圆曲线点
C3 SM3的摘要值
C2 密文数据
- encrypt(byte[], CipherParameters) - Method in class cn.hutool.crypto.asymmetric.SM2
-
加密,SM2非对称加密的结果由C1,C2,C3三部分组成,其中:
C1 生成随机数的计算出的椭圆曲线点
C2 密文数据
C3 SM3的摘要值
- 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
-
- encryptBcd(String, KeyType, Charset) - Method in interface cn.hutool.crypto.asymmetric.AsymmetricEncryptor
-
- 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
-
- 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
-
- 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
-
比较两个对象是否相等。
- 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(Object) - Method in class cn.hutool.core.date.YearQuarter
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- equals(float, float) - Static method in class cn.hutool.core.util.NumberUtil
-
- 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
-
- equals(BigDecimal, BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
-
- 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
-
- 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)
方法的构建器
两个对象equals必须保证hashCode值相等,hashCode值相等不能保证一定equals
使用方法如下:
public boolean equals(Object obj) {
if (obj == null) { return false; }
if (obj == this) { return true; }
if (obj.getClass() !
- 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特殊字符:
& (ampersand) 替换为 &
< (小于) 替换为 <
> (大于) 替换为 >
" (双引号) 替换为 "
' (单引号) 替换为 '
- escape(String) - Static method in class cn.hutool.http.HtmlUtil
-
转义文本中的HTML字符为安全的字符,以下字符被转义:
' 替换为 ' (' doesn't work in HTML4)
" 替换为 "
& 替换为 &
< 替换为 <
> 替换为 >
- 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字符集对指定的字符串进行编码。
- EscapeUtil() - Constructor for class cn.hutool.core.util.EscapeUtil
-
- escapeXml(CharSequence) - Static method in class cn.hutool.core.util.EscapeUtil
-
转义XML中的特殊字符
& (ampersand) 替换为 &
< (less than) 替换为 <
> (greater than) 替换为 >
" (double quote) 替换为 "
' (single quote / apostrophe) 替换为 '
- 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,此对象可完成以下两个功能
1.
- ExcelWriter() - Constructor for class cn.hutool.poi.excel.ExcelWriter
-
- ExcelWriter(boolean) - Constructor for class cn.hutool.poi.excel.ExcelWriter
-
- ExcelWriter(String) - Constructor for class cn.hutool.poi.excel.ExcelWriter
-
构造,默认写出到第一个sheet,第一个sheet名为sheet1
- ExcelWriter(boolean, String) - Constructor for class cn.hutool.poi.excel.ExcelWriter
-
- 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
-
- ExcelWriter(Sheet) - Constructor for class cn.hutool.poi.excel.ExcelWriter
-
- 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方式)
此方法单次发送一个命令到服务端,不读取环境变量,执行结束后自动关闭Session,不会产生阻塞。
- 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方式)
此方法单次发送一个命令到服务端,不读取环境变量,执行结束后自动关闭channel,不会产生阻塞。
- 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命令
此方法单次发送一个命令到服务端,自动读取环境变量,执行结束后自动关闭Session,可能产生阻塞。
- execByShell(Session, String, Charset) - Static method in class cn.hutool.extra.ssh.JschUtil
-
执行Shell命令
此方法单次发送一个命令到服务端,自动读取环境变量,执行结束后自动关闭channel,不会产生阻塞。
- execForLines(String...) - Static method in class cn.hutool.core.util.RuntimeUtil
-
执行系统命令,使用系统默认编码
- execForLines(Charset, String...) - Static method in class cn.hutool.core.util.RuntimeUtil
-
- execForStr(String...) - Static method in class cn.hutool.core.util.RuntimeUtil
-
执行系统命令,使用系统默认编码
- execForStr(Charset, String...) - Static method in class cn.hutool.core.util.RuntimeUtil
-
- 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。
- 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
为异步模式,执行完此方法后发送请求到服务器,但是并不立即读取响应内容。
- executeBatch(String, Object[]...) - Method in class cn.hutool.db.AbstractDb
-
- 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
-
- 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。
- 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 (.*?)
- extractMulti(String, CharSequence, String) - Static method in class cn.hutool.core.util.ReUtil
-
从content中匹配出多个值并根据template生成新的字符串
匹配结束后会删除匹配内容之前的内容(包括匹配内容)
例如:
content 2013年5月 pattern (.*?)
- extractMultiAndDelPre(Pattern, Mutable<CharSequence>, String) - Static method in class cn.hutool.core.util.ReUtil
-
从content中匹配出多个值并根据template生成新的字符串
匹配结束后会删除匹配内容之前的内容(包括匹配内容)
例如:
content 2013年5月 pattern (.*?)
- extractMultiAndDelPre(String, Mutable<CharSequence>, String) - Static method in class cn.hutool.core.util.ReUtil
-
从content中匹配出多个值并根据template生成新的字符串
例如:
content 2013年5月 pattern (.*?)
- 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
-
- factorial(BigInteger) - Static method in class cn.hutool.core.util.NumberUtil
-
计算阶乘
n!
- factorial(BigInteger, BigInteger) - Static method in class cn.hutool.core.util.NumberUtil
-
计算范围阶乘
factorial(start, end) = start * (start - 1) * ... * (end + 1)
- factorial(long, long) - Static method in class cn.hutool.core.util.NumberUtil
-
计算范围阶乘
factorial(start, end) = start * (start - 1) * ... * (end + 1)
- factorial(long) - Static method in class cn.hutool.core.util.NumberUtil
-
计算阶乘
n!
- 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
-
- 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(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
-
- 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
-
- 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 的静态工厂。
- fastUUID() - Static method in class cn.hutool.core.util.IdUtil
-
获取随机UUID,使用性能更好的ThreadLocalRandom生成UUID
- FieldAnnotationScanner - Class in cn.hutool.core.annotation.scanner
-
- 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
-
文件追加器
持有一个文件,在内存中积累一定量的数据后统一追加到文件
此类只有在写入文件时打开文件,并在写入结束后关闭之。
- 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
-
文件拷贝器
支持以下几种情况:
1、文件复制到文件
2、文件复制到目录
3、目录复制到目录
4、目录下的文件和目录复制到另一个目录
- 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
-
- 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
-
- FileReader(String) - Constructor for class cn.hutool.core.io.file.FileReader
-
- FileReader.ReaderHandler<T> - Interface in cn.hutool.core.io.file
-
Reader处理接口
- FileResource - Class in cn.hutool.core.io.resource
-
- 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
-
文件类型判断工具类
此工具根据文件的前几位bytes猜测文件类型,对于文本、zip判断不准确,对于视频、图片类型判断准确
需要注意的是,xlsx、docx等Office2007格式,全部识别为zip,因为新版采用了OpenXML格式,这些格式本质上是XML文件打包为zip
- 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
-
- FileWriter(String) - Constructor for class cn.hutool.core.io.file.FileWriter
-
- 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
支持的表达式:
persion
persion.name
persons[3]
person.friends[5].name
['person']['friends'][5]['name']
- 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
-
- 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
-
- 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的参数。
- fillParams(PreparedStatement, Iterable<?>, Map<Integer, Integer>) - Static method in class cn.hutool.db.StatementUtil
-
填充SQL的参数。
- 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(Iterator<E>, Filter<E>) - Static method in class cn.hutool.core.collection.IterUtil
-
- filter(BufferedImageOp, BufferedImage) - Static method in class cn.hutool.core.img.ImgUtil
-
图片过滤转换
- filter(ImageFilter, Image) - Static method in class cn.hutool.core.img.ImgUtil
-
- 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实现可以实现以下功能:
1、过滤出需要的对象,如果返回null表示这个元素对象抛弃
- 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实现可以实现以下功能:
1、过滤出需要的对象,
Filter.accept(Object)
方法返回true的对象将被加入结果集合中
- 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<E> - Class in cn.hutool.core.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实现可以实现以下功能:
1、过滤出需要的对象,
Filter.accept(Object)
方法返回true的对象将被加入结果集合中
- 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
-
- 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
-
- 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
-
- 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
-
- Finder - Interface in cn.hutool.core.text.finder
-
- 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
-
- firstDate() - Method in class cn.hutool.core.date.YearQuarter
-
该季度的第一天
- firstFrame - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- firstMask(String) - Static method in class cn.hutool.core.util.DesensitizedUtil
-
定义了一个first_mask的规则,只显示第一个字符。
- firstMatch(Iterator<T>, Matcher<T>) - Static method in class cn.hutool.core.collection.IterUtil
-
- firstMatch(Matcher<T>, T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
返回数组中第一个匹配规则的值
- firstMonth() - Method in enum cn.hutool.core.date.Quarter
-
该季度的第一个月
- firstMonth() - Method in class cn.hutool.core.date.YearQuarter
-
该季度第一个月
- firstMonthDay() - Method in enum cn.hutool.core.date.Quarter
-
该季度的第一天
- firstMonthValue() - Method in enum cn.hutool.core.date.Quarter
-
该季度的第一个月
- firstMonthValue() - Method in class cn.hutool.core.date.YearQuarter
-
该季度的第一个月
- 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
-
返回数组中第一个非空元素
- firstYearMonth() - Method in class cn.hutool.core.date.YearQuarter
-
该季度第一个月
- FixedLinkedHashMap<K,V> - Class in cn.hutool.core.map
-
- 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
-
- flattedMap(Function<? super T, ? extends Optional<? extends U>>) - Method in class cn.hutool.core.lang.Opt
-
- 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
-
- 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
-
- flush(File) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- 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
-
- flush(File) - Method in class cn.hutool.poi.word.Word07Writer
-
- 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(AnnotationAttribute, AnnotationAttribute) - Constructor for class cn.hutool.core.annotation.ForceAliasedAnnotationAttribute
-
- ForceAliasFor - Annotation Type in cn.hutool.core.annotation
-
- forEach(Iterable<T>, CollUtil.Consumer<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
- forEach(Iterator<T>, CollUtil.Consumer<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
- forEach(Enumeration<T>, CollUtil.Consumer<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
- forEach(Map<K, V>, CollUtil.KVConsumer<K, V>) - Static method in class cn.hutool.core.collection.CollUtil
-
- forEach(Iterator<E>, Consumer<? super E>) - Static method in class cn.hutool.core.collection.IterUtil
-
- 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
-
- 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
-
- format(TemporalAccessor, String) - Static method in class cn.hutool.core.date.TemporalAccessorUtil
-
- 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(Long, DataUnit) - Static method in class cn.hutool.core.io.unit.DataSizeUtil
-
根据单位,将文件大小转换为对应单位的大小
- 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位加一个空格,类似于:
e8 8c 67 03 80 cb 22 00 95 26 8f
- format(String, String) - Static method in class cn.hutool.core.util.HexUtil
-
格式化Hex字符串,结果为每2位加一个空格,类似于:
e8 8c 67 03 80 cb 22 00 95 26 8f
- 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时间格式化为纯中文形式,比如:
2018-02-24 12:13:14 转换为 二〇一八年二月二十四日(withTime为false)
2018-02-24 12:13:14 转换为 二〇一八年二月二十四日十二时十三分十四秒(withTime为true)
- 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模式。
- 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,定义如下:
fragment = *( pchar / "/" / "?"
- 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
-
- 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类型值查找兄弟其他枚举
- fromMonth(int) - Static method in enum cn.hutool.core.date.Quarter
-
根据给定的月份值返回对应的季度
- fromMonth(Month) - Static method in enum cn.hutool.core.date.Quarter
-
根据给定的月份返回对应的季度
- fromStr(String) - Method in interface cn.hutool.core.lang.EnumItem
-
通过String类型的值转换,根据实现可以用name/text
- fromString(String) - Static method in class cn.hutool.core.lang.UUID
-
- fromString(Class<E>, String) - Static method in class cn.hutool.core.util.EnumUtil
-
- fromString(Class<E>, String, E) - Static method in class cn.hutool.core.util.EnumUtil
-
- 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
-
- fromSuffix(String) - Static method in enum cn.hutool.core.io.unit.DataUnit
-
通过后缀返回对应的 DataUnit
- fromUnsignedByteArray(byte[]) - Static method in class cn.hutool.core.util.NumberUtil
-
- fromUnsignedByteArray(byte[], int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
- Ftp - Class in cn.hutool.extra.ftp
-
FTP客户端封装
此客户端基于Apache-Commons-Net
常见搭建ftp的工具有
1、filezila server ;根目录一般都是空
2、linux vsftpd ; 使用的 系统用户的目录,这里往往都是不是根目录,如:/home/ftpuser/ftp
- 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连接模式
见:https://www.cnblogs.com/huhaoshida/p/5412615.html
- 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
-
- 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失效
- 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 形式表示
输出格式为: data:image/[type];base64,[data]
- 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
-
- generateDESKey(String, byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
- generateGoogleSecretKey(String, int) - Static method in class cn.hutool.crypto.digest.otp.TOTP
-
生成谷歌认证器的字符串(扫码字符串)
基于时间的,计数器不适合
- generateKey(String) - Static method in class cn.hutool.crypto.KeyUtil
-
- 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
-
- generateKey(String, KeySpec) - Static method in class cn.hutool.crypto.KeyUtil
-
- generateKey(String) - Static method in class cn.hutool.crypto.SecureUtil
-
- generateKey(String, int) - Static method in class cn.hutool.crypto.SecureUtil
-
- generateKey(String, byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
- generateKey(String, KeySpec) - Static method in class cn.hutool.crypto.SecureUtil
-
- 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
对于非对称加密算法,密钥长度有严格限制,具体如下:
RSA:
RS256、PS256:2048 bits
RS384、PS384:3072 bits
RS512、RS512:4096 bits
EC(Elliptic Curve):
EC256:256 bits
EC384:384 bits
EC512:512 bits
- 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
对于非对称加密算法,密钥长度有严格限制,具体如下:
RSA:
RS256、PS256:2048 bits
RS384、PS384:3072 bits
RS512、RS512:4096 bits
EC(Elliptic Curve):
EC256:256 bits
EC384:384 bits
EC512:512 bits
- 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
-
- generatePBEKey(String, char[]) - Static method in class cn.hutool.crypto.SecureUtil
-
- 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
-
- GenericAnnotationScanner(boolean, boolean, boolean) - Constructor for class cn.hutool.core.annotation.scanner.GenericAnnotationScanner
-
构造一个通用注解扫描器
- GenericBuilder<T> - Class in cn.hutool.core.builder
-
通用Builder
参考:
一看就会的java8通用Builder
使用方法如下:
Box box = GenericBuilder
.of(Box::new)
.with(Box::setId, 1024L)
.with(Box::setTitle, "Hello World!")
- GenericBuilder(Supplier<T>) - Constructor for class cn.hutool.core.builder.GenericBuilder
-
构造
- GenericSynthesizedAggregateAnnotation - Class in cn.hutool.core.annotation
-
- 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
-
- GenericSynthesizedAnnotation<R,T extends Annotation> - Class in cn.hutool.core.annotation
-
- 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
调用此方法时,会检查上次调用时间,如果与当前时间差值大于超时时间返回null
,否则返回值。
- get(K, Func0<V>) - Method in interface cn.hutool.cache.Cache
-
从缓存中获得对象,当对象不在缓存中或已经过期返回Func0回调产生的对象
调用此方法时,会检查上次调用时间,如果与当前时间差值大于超时时间返回返回supplier回调产生的对象,否则返回值。
- get(K, boolean, Func0<V>) - Method in interface cn.hutool.cache.Cache
-
从缓存中获得对象,当对象不在缓存中或已经过期返回Func0回调产生的对象
调用此方法时,会检查上次调用时间,如果与当前时间差值大于超时时间返回supplier回调产生的对象,否则返回值。
- get(K, boolean, long, Func0<V>) - Method in interface cn.hutool.cache.Cache
-
从缓存中获得对象,当对象不在缓存中或已经过期返回Func0回调产生的对象
调用此方法时,会检查上次调用时间,如果与当前时间差值大于超时时间返回supplier回调产生的对象,否则返回值。
- get(K, boolean) - Method in interface cn.hutool.cache.Cache
-
从缓存中获得对象,当对象不在缓存中或已经过期返回null
调用此方法时,会检查上次调用时间,如果与当前时间差值大于超时时间返回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
-
Deprecated.
- 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
-
- 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
-
- 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
,注意!!!
- 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
-
- 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
-
- 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
-
- 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类型,支持的类型有:
1. application/json
1. application/xml
- 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
-
- get(String) - Static method in class cn.hutool.log.StaticLog
-
- get() - Static method in class cn.hutool.log.StaticLog
-
- 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, GenericArrayType) - 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
此方法可以处理:
1.
- 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
-
- getAllGroupNames(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
根据给定正则查找字符串中的匹配项,返回所有匹配的分组名对应分组值
pattern: (?
- 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
-
获取元素上所有指定注解
若元素是类,则递归解析全部父类和全部父接口上的注解;
若元素是方法、属性或注解,则只解析其直接声明的注解;
注解合成规则如下:
若AnnotatedEle
按顺序从上到下声明了A,B,C三个注解,且三注解存在元注解如下:
A -> M1 -> M2
B -> M3 -> M1 -> M2
C -> M2
此时入参annotationType
类型为M1
,则最终将返回基于根注解A与根注解B合成的合成注解。
- 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
-
获取注解元素上的全部注解。
- getAnnotations(AnnotatedElement) - Method in class cn.hutool.core.annotation.scanner.EmptyAnnotationScanner
-
- getAnnotations(AnnotatedElement) - Method in class cn.hutool.core.annotation.scanner.MetaAnnotationScanner
-
获取注解元素上的全部注解。
- 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(Class<T>, Object...) - 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(String, Object...) - 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
-
- getBeanDesc(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
-
- getBeanFactory() - Static method in class cn.hutool.extra.spring.SpringUtil
-
获取ListableBeanFactory
,可能为ConfigurableListableBeanFactory
或 ApplicationContextAware
- 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
-
- getBigWriter(int) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getBigWriter(String) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getBigWriter(File) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- 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
-
- 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(Class<E>, Predicate<? super E>, E) - Static method in class cn.hutool.core.util.EnumUtil
-
通过 某字段对应值 获取 枚举,获取不到时为 defaultEnum
- getBy(Class<E>, Func1<E, C>, C) - Static method in class cn.hutool.core.util.EnumUtil
-
- getBy(Class<E>, Func1<E, C>, C, E) - Static method in class cn.hutool.core.util.EnumUtil
-
通过 某字段对应值 获取 枚举,获取不到时为 defaultEnum
- 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的值
表达式栗子:
persion
persion.name
persons[3]
person.friends[5].name
- getByPath(String, Class<T>) - Method in class cn.hutool.core.lang.Dict
-
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
表达式栗子:
persion
persion.name
persons[3]
person.friends[5].name
获取表达式对应值后转换为对应类型的值
- getByPath(String) - Method in interface cn.hutool.json.JSON
-
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
表达式栗子:
persion
persion.name
persons[3]
person.friends[5].name
- getByPath(String, Class<T>) - Method in interface cn.hutool.json.JSON
-
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
表达式栗子:
persion
persion.name
persons[3]
person.friends[5].name
获取表达式对应值后转换为对应类型的值
- getByPath(String, TypeReference<T>) - Method in interface cn.hutool.json.JSON
-
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
表达式栗子:
persion
persion.name
persons[3]
person.friends[5].name
获取表达式对应值后转换为对应类型的值
- getByPath(String) - Method in class cn.hutool.json.JSONArray
-
- getByPath(String, Class<T>) - Method in class cn.hutool.json.JSONArray
-
- getByPath(String, TypeReference<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(String, TypeReference<T>) - Method in class cn.hutool.json.JSONObject
-
- getByPath(JSON, String) - Static method in class cn.hutool.json.JSONUtil
-
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
表达式栗子:
persion
persion.name
persons[3]
person.friends[5].name
- getByPath(JSON, String, T) - Static method in class cn.hutool.json.JSONUtil
-
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
表达式栗子:
persion
persion.name
persons[3]
person.friends[5].name
- 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
-
获得调用者,指定第几级调用者
调用者层级关系:
0 CallerUtil
1 调用CallerUtil中方法的类
2 调用者的调用者
...
- 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
-
- 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
-
- 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,获取规则如下:
1、从Content-Type头中获取编码,类似于:text/html;charset=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
-
- 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
-
- getClassLoader() - Method in class cn.hutool.core.io.resource.ClassPathResource
-
- getClassLoader() - Static method in class cn.hutool.core.util.ClassLoaderUtil
-
- getClassLoader() - Static method in class cn.hutool.core.util.ClassUtil
-
- 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这个类
isSimple为false: "com.xiaoleilu.hutool.util.ClassUtil"
isSimple为true: "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
默认检测的Header:
1、X-Forwarded-For
2、X-Real-IP
3、Proxy-Client-IP
4、WL-Proxy-Client-IP
otherHeaderNames参数用于自定义检测的Header
需要注意的是,使用此方法获取的客户IP地址必须在Http服务器(例如Nginx)中配置头信息,否则容易造成IP伪造。
- getClientIP(HttpServletRequest, String...) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
获取客户端IP
默认检测的Header:
1、X-Forwarded-For
2、X-Real-IP
3、Proxy-Client-IP
4、WL-Proxy-Client-IP
otherHeaderNames参数用于自定义检测的Header
需要注意的是,使用此方法获取的客户IP地址必须在Http服务器(例如Nginx)中配置头信息,否则容易造成IP伪造。
- getClientIP(String...) - Method in class cn.hutool.http.server.HttpServerRequest
-
获取客户端IP
默认检测的Header:
1、X-Forwarded-For
2、X-Real-IP
3、Proxy-Client-IP
4、WL-Proxy-Client-IP
otherHeaderNames参数用于自定义检测的Header
需要注意的是,使用此方法获取的客户IP地址必须在Http服务器(例如Nginx)中配置头信息,否则容易造成IP伪造。
- getClientIPByHeader(HttpServletRequest, String...) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
-
获取客户端IP
headerNames参数用于自定义检测的Header
需要注意的是,使用此方法获取的客户IP地址必须在Http服务器(例如Nginx)中配置头信息,否则容易造成IP伪造。
- getClientIPByHeader(HttpServletRequest, String...) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
获取客户端IP
headerNames参数用于自定义检测的Header
需要注意的是,使用此方法获取的客户IP地址必须在Http服务器(例如Nginx)中配置头信息,否则容易造成IP伪造。
- getClientIPByHeader(String...) - Method in class cn.hutool.http.server.HttpServerRequest
-
获取客户端IP
headerNames参数用于自定义检测的Header
需要注意的是,使用此方法获取的客户IP地址必须在Http服务器(例如Nginx)中配置头信息,否则容易造成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
-
将颜色值转换成具体的颜色类型 汇集了常用的颜色集,支持以下几种形式:
1.
- 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
-
将颜色值转换成具体的颜色类型 汇集了常用的颜色集,支持以下几种形式:
1.
- 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
-
获取第一行总列数,计算方法为:
最后一列序号 + 1
- getColumnCount(int) - Method in class cn.hutool.poi.excel.ExcelBase
-
获取总列数,计算方法为:
最后一列序号 + 1
- 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
-
- 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的头信息:
response.setContentType(excelWriter.getContentType());
- getContentTypeByRequestBody(String) - Static method in class cn.hutool.http.HttpUtil
-
从请求参数的body中判断请求的Content-Type类型,支持的类型有:
1. application/json
1. application/xml
- 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
-
- getContextClassLoader() - Static method in class cn.hutool.core.util.ClassUtil
-
- 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
-
- 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封装。
- getDataUri(String, Charset, String, String) - Static method in class cn.hutool.core.util.URLUtil
-
Data URI Scheme封装。
- getDataUriBase64(String, String) - Static method in class cn.hutool.core.util.URLUtil
-
Data URI Scheme封装,数据格式为Base64。
- 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
-
- getDate(Map<?, ?>, Object, Date) - Static method in class cn.hutool.core.map.MapUtil
-
- 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
-
- 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方法对于包含中文或空格时会被编码,导致本读路径读取错误。
- 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
-
获取指定类型分的默认值
默认值规则为:
1、如果为原始类型,返回0
2、非原始类型返回 null
- 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的头信息:
response.setHeader("Content-Disposition", excelWriter.getDisposition("test.xlsx", CharsetUtil.CHARSET_UTF_8));
- 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() - Method in class cn.hutool.db.AbstractDb
-
获得数据源
- 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
-
- 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
-
- getElementType(Iterator<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
- 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
-
将页数和每页条目数转换为结束位置
此方法用于不包括结束位置的分页方法
例如:
页码:0,每页10 =》 9
页码:1,每页10 =》 19
……
当
PageUtil.setFirstPageNo(int)
设置为1时:
页码:1,每页10 =》 10
页码:2,每页10 =》 20
……
- 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
-
- 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。
- 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。
- getFieldName(Func0<T>) - Static method in class cn.hutool.core.lang.func.LambdaUtil
-
获取lambda表达式Getter或Setter函数(方法)对应的字段名称,规则如下:
getXxxx获取为xxxx,如getName得到name。
- 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”字段,例如:
EnumUtil.getFieldNames(Color.class) == ["name", "index"]
- 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`存在并更靠前。
- getFileObject() - Method in class cn.hutool.core.io.resource.FileObjectResource
-
- 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
-
创建数据格式并获取格式
- getFormatIfDate() - Method in class cn.hutool.core.bean.copier.CopyOptions
-
获取日期格式,用于日期转字符串,默认为null
- 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
-
- 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
getName =》name
setName =》name
isName =》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
-
- 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
-
获取该对象与参照物的水平距离。
- getHorizontalDistance() - Method in interface cn.hutool.core.annotation.SynthesizedAggregateAnnotation
-
- 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
-
- 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
-
获取压缩输入流,用于解压缩指定内容,支持的格式例如:
- getIndex() - Method in class cn.hutool.core.text.csv.CsvTokener
-
获取当前位置
- 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
-
- getIter(Object) - Static method in class cn.hutool.core.collection.IterUtil
-
- getIterator() - Method in class cn.hutool.core.collection.FilterIter
-
- getJarClassLoader(File) - Static method in class cn.hutool.core.util.ClassLoaderUtil
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
获取当前系统的换行分隔符
Windows: \r\n
Mac: \r
Linux: \n
- getLineSeparator() - Method in class cn.hutool.system.OsInfo
-
取得OS的文本文件换行符(取自系统属性:line.separator
)。
- getLinkAnnotation(AnnotationAttribute, RelationType...) - Method in class cn.hutool.core.annotation.AbstractLinkAnnotationPostProcessor
-
- 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
-
- getLinkedAnnotationType(Link, Class<?>) - Method in class cn.hutool.core.annotation.AbstractLinkAnnotationPostProcessor
-
- 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
-
- 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地址,规则如下:
1.
- getLocalHostName() - Static method in class cn.hutool.core.net.NetUtil
-
获取主机名称,一次获取会缓存名称
注意此方法会触发反向DNS解析,导致阻塞,阻塞时间取决于网络!
- getLocalhostStr() - Static method in class cn.hutool.core.net.NetUtil
-
- 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
-
- getMac() - Method in class cn.hutool.crypto.digest.mac.DefaultHMacEngine
-
- 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
-
- getManifest(JarFile) - Static method in class cn.hutool.core.io.ManifestUtil
-
- 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
-
- 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
-
- 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
此方法为精准获取方法名,即方法名和参数数量和类型必须一致,否则返回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
此方法为精准获取方法名,即方法名和参数数量和类型必须一致,否则返回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类的方法
此方法为精准获取方法名,即方法名和参数数量和类型必须一致,否则返回null
。
- 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
-
返回文件名
"d:/test/aaa" 返回 "aaa"
"/test/aaa.jpg" 返回 "aaa.jpg"
- getName(Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
- getName(File) - Static method in class cn.hutool.core.io.FileUtil
-
返回文件名
- getName(String) - Static method in class cn.hutool.core.io.FileUtil
-
返回文件名
"d:/test/aaa" 返回 "aaa"
"/test/aaa.jpg" 返回 "aaa.jpg"
- 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
-
- getNumber() - Method in class cn.hutool.core.convert.NumberWithFormat
-
获取原始Number
- 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
-
- 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
-
- 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
-
- 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
-
- getParamValues() - Method in class cn.hutool.db.sql.SqlBuilder
-
获得占位符对应的值列表
- getParent(String, int) - Static method in class cn.hutool.core.io.FileUtil
-
获取指定层级的父路径
getParent("d:/aaa/bbb/cc/ddd", 0) -》 "d:/aaa/bbb/cc/ddd"
getParent("d:/aaa/bbb/cc/ddd", 2) -》 "d:/aaa/bbb"
getParent("d:/aaa/bbb/cc/ddd", 4) -》 "d:/"
getParent("d:/aaa/bbb/cc/ddd", 5) -》 null
- getParent(File, int) - Static method in class cn.hutool.core.io.FileUtil
-
获取指定层级的父路径
getParent(file("d:/aaa/bbb/cc/ddd", 0)) -》 "d:/aaa/bbb/cc/ddd"
getParent(file("d:/aaa/bbb/cc/ddd", 2)) -》 "d:/aaa/bbb"
getParent(file("d:/aaa/bbb/cc/ddd", 4)) -》 "d:/"
getParent(file("d:/aaa/bbb/cc/ddd", 5)) -》 null
- 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列表
比如有个人在研发1部,他上面有研发部,接着上面有技术中心
返回结果就是:[研发部, 技术中心]
- getParentsName(T, boolean) - Method in class cn.hutool.core.lang.tree.Tree
-
获取所有父节点名称列表
比如有个人在研发1部,他上面有研发部,接着上面有技术中心
返回结果就是:[研发一部, 研发中心, 技术中心]
- getParentsName(boolean) - Method in class cn.hutool.core.lang.tree.Tree
-
获取所有父节点名称列表
比如有个人在研发1部,他上面有研发部,接着上面有技术中心
返回结果就是:[研发一部, 研发中心, 技术中心]
- getParentsName(Tree<T>, boolean) - Static method in class cn.hutool.core.lang.tree.TreeUtil
-
获取所有父节点名称列表
比如有个人在研发1部,他上面有研发部,接着上面有技术中心
返回结果就是:[研发一部, 研发中心, 技术中心]
- 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.JakartaUserPassAuthenticator
-
- 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
-
- getPattern() - Method in class cn.hutool.cron.task.CronTask
-
获取表达式
- getPattern(int) - Method in class cn.hutool.cron.TaskTable
-
- getPattern(String) - Method in class cn.hutool.cron.TaskTable
-
- 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
-
获取有记录的行数,计算方法为:
最后一行序号 - 第一行序号 + 1
- 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(char, boolean) - Method in class cn.hutool.extra.pinyin.engine.bopomofo4j.Bopomofo4jEngine
-
- getPinyin(String, String) - Method in class cn.hutool.extra.pinyin.engine.bopomofo4j.Bopomofo4jEngine
-
- getPinyin(String, String, boolean) - Method in class cn.hutool.extra.pinyin.engine.bopomofo4j.Bopomofo4jEngine
-
- getPinyin(char) - Method in class cn.hutool.extra.pinyin.engine.houbbpinyin.HoubbPinyinEngine
-
- getPinyin(char, boolean) - Method in class cn.hutool.extra.pinyin.engine.houbbpinyin.HoubbPinyinEngine
-
- getPinyin(String, String) - Method in class cn.hutool.extra.pinyin.engine.houbbpinyin.HoubbPinyinEngine
-
- getPinyin(String, String, boolean) - Method in class cn.hutool.extra.pinyin.engine.houbbpinyin.HoubbPinyinEngine
-
- getPinyin(char) - Method in class cn.hutool.extra.pinyin.engine.jpinyin.JPinyinEngine
-
- getPinyin(char, boolean) - Method in class cn.hutool.extra.pinyin.engine.jpinyin.JPinyinEngine
-
- getPinyin(String, String) - Method in class cn.hutool.extra.pinyin.engine.jpinyin.JPinyinEngine
-
- getPinyin(String, String, boolean) - Method in class cn.hutool.extra.pinyin.engine.jpinyin.JPinyinEngine
-
- getPinyin(char) - Method in class cn.hutool.extra.pinyin.engine.pinyin4j.Pinyin4jEngine
-
- getPinyin(char, boolean) - Method in class cn.hutool.extra.pinyin.engine.pinyin4j.Pinyin4jEngine
-
- getPinyin(String, String) - Method in class cn.hutool.extra.pinyin.engine.pinyin4j.Pinyin4jEngine
-
- getPinyin(String, String, boolean) - 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(char, boolean) - 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(String, String, boolean) - 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(char, boolean) - 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, boolean) - Static method in class cn.hutool.extra.pinyin.PinyinUtil
-
将输入字符串转为拼音,每个字之间的拼音使用空格分隔
- getPinyin(String, String) - Static method in class cn.hutool.extra.pinyin.PinyinUtil
-
将输入字符串转为拼音,以字符为单位插入分隔符
- getPinyin(String, String, boolean) - 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
-
获取指定原始类型分的默认值
默认值规则为:
1、如果为原始类型,返回0
2、非原始类型返回 null
- 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
-
- 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核心数)
这里做一个特殊的处理,在特殊的CPU上面,会有获取不到CPU数量的情况,所以这里做一个保护;
默认给一个7,真实的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
-
- 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
-
- getPropertyDescriptorMap(Class<?>, boolean, Func0<Map<String, PropertyDescriptor>>) - Method in enum cn.hutool.core.bean.BeanInfoCache
-
- getPropertyDescriptorMap(Class<?>, boolean) - Static method in class cn.hutool.core.bean.BeanUtil
-
- 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
-
- 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
-
- 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
-
- 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表示根据传入信息自动变化
- getQuarter() - Method in class cn.hutool.core.date.YearQuarter
-
季度
- getQuarterValue() - Method in class cn.hutool.core.date.YearQuarter
-
季度值。
- 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
-
- 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
-
- getReader(InputStream, Charset) - Static method in class cn.hutool.core.io.IoUtil
-
获得一个Reader
- getReader(Reader) - Static method in class cn.hutool.core.io.IoUtil
-
- 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
-
- 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
-
- getReader(String, String) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getReader(File, int) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getReader(File, String) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- 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无参数但含有返回值的情况能够匹配到此方法:
引用特定对象的实例方法:
MyTeacher myTeacher = new MyTeacher();
Class<MyTeacher> supplierClass = LambdaUtil.getRealClass(myTeacher::getAge);
assertEquals(MyTeacher.class, supplierClass);
引用静态无参方法:
Class<MyTeacher> staticSupplierClass = LambdaUtil.getRealClass(MyTeacher::takeAge);
assertEquals(MyTeacher.class, staticSupplierClass);
在以下场景无法获取到正确类型
{@code
// 枚举测试,只能获取到枚举类型
Class
- getRealClass(Func1<P, R>) - Static method in class cn.hutool.core.lang.func.LambdaUtil
-
通过对象的方法或类的静态方法引用,然后根据
SerializedLambda.getInstantiatedMethodType()
获取lambda实现类
传入lambda有参数且含有返回值的情况能够匹配到此方法:
引用特定类型的任意对象的实例方法:
Class<MyTeacher> functionClass = LambdaUtil.getRealClass(MyTeacher::getAge);
assertEquals(MyTeacher.class, functionClass);
引用静态带参方法:
Class<MyTeacher> staticFunctionClass = LambdaUtil.getRealClass(MyTeacher::takeAgeBy);
assertEquals(MyTeacher.class, staticFunctionClass);
- 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
路径用/分隔,例如:
config/a/db.config
spring/xml/test.xml
- 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
路径格式必须为目录格式,用/分隔,例如:
config/a
spring/xml
- getResourceIter(String, ClassLoader) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
获取指定路径下的资源Iterator
路径格式必须为目录格式,用/分隔,例如:
config/a
spring/xml
- getResourceMode() - Method in class cn.hutool.extra.template.TemplateConfig
-
获取模板资源加载方式
- getResourceObj(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
- 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
-
获取指定路径下的资源列表
路径格式必须为目录格式,用/分隔,例如:
config/a
spring/xml
- getResources(String, Filter<URL>) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
获取指定路径下的资源列表
路径格式必须为目录格式,用/分隔,例如:
config/a
spring/xml
- getResources(String) - Static method in class cn.hutool.core.util.ClassUtil
-
获取指定路径下的资源列表
路径格式必须为目录格式,用/分隔,例如:
config/a
spring/xml
- getResourceStream(String) - Method in class cn.hutool.extra.template.engine.velocity.SimpleStringResourceLoader
-
获取资源流
- getResourceURL(String) - Static method in class cn.hutool.core.util.ClassUtil
-
获得资源的URL
路径用/分隔,例如:
config/a/db.config
spring/xml/test.xml
- 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
-
- 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
-
获取异常链中最尾端的异常,即异常最早发生的异常对象。
- 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
-
获取入口堆栈信息
- getRound() - Method in class cn.hutool.extra.qrcode.QrConfig
-
获取二维码中的Logo圆角弧度
- 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
-
获取总行数,计算方法为:
最后一行序号 + 1
- 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
-
- 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)
相关说明见:https://stackoverflow.com/questions/137212/how-to-solve-slow-java-securerandom
- getSecureRandom(byte[]) - Static method in class cn.hutool.core.util.RandomUtil
-
获取SHA1PRNG的
SecureRandom
,类提供加密的强随机数生成器 (RNG)
注意:此方法获取的是伪随机序列发生器PRNG(pseudo-random number generator)
相关说明见:https://stackoverflow.com/questions/137212/how-to-solve-slow-java-securerandom
- 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
-
- 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.JakartaMailUtil
-
根据配置文件,获取邮件客户端会话
- 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下噪声生成时可能造成较长时间停顿。
- 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
-
将页数和每页条目数转换为开始位置
此方法用于不包括结束位置的分页方法
例如:
页码:0,每页10 =》 0
页码:1,每页10 =》 10
……
当
PageUtil.setFirstPageNo(int)
设置为1时:
页码:1,每页10 =》 0
页码:2,每页10 =》 10
……
- getStartEnd() - Method in class cn.hutool.db.Page
-
开始位置和结束位置
例如:
页码:0,每页10 =》 [0, 10]
页码:1,每页10 =》 [10, 20]
页码:2,每页10 =》 [21, 30]
。。。
- 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
-
- 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
-
- 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
-
- getStream() - Method in class cn.hutool.http.HttpResource
-
- getStreamSafe(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
- 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
-
- 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
-
获取样式集,样式集可以自定义包括:
1.
- 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
-
获得文件后缀名,扩展名不带“.”
- getSuffix() - Method in enum cn.hutool.core.io.unit.DataUnit
-
单位后缀
- 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
-
获取元素上距离指定元素最接近的合成注解
若元素是类,则递归解析全部父类和全部父接口上的注解;
若元素是方法、属性或注解,则只解析其直接声明的注解;
注解合成规则如下:
若AnnotatedEle
按顺序从上到下声明了A,B,C三个注解,且三注解存在元注解如下:
A -> M3
B -> M1 -> M2 -> M3
C -> M2 -> M3
此时入参annotationType
类型为M2
,则最终将优先返回基于根注解B合成的合成注解
- 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
-
- 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,需要在配置中添加:
remarks = true
useInformationSchema = true
- getTableMeta(DataSource, String, String, String) - Static method in class cn.hutool.db.meta.MetaUtil
-
获得表的元信息
注意如果需要获取注释,某些数据库如MySQL,需要在配置中添加:
remarks = true
useInformationSchema = true
- getTableMeta(Connection, String, String, String) - Static method in class cn.hutool.db.meta.MetaUtil
-
获得表的元信息
注意如果需要获取注释,某些数据库如MySQL,需要在配置中添加:
remarks = true
useInformationSchema = true
- 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
-
- getTask() - Method in class cn.hutool.cron.TaskExecutor
-
获得原始任务对象
- getTask(int) - Method in class cn.hutool.cron.TaskTable
-
- getTask(String) - Method in class cn.hutool.cron.TaskTable
-
- 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,返回空集合
此方法来自Apache-Commons-Lang3
- 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
-
- getTimeZone() - Method in class cn.hutool.cron.Scheduler
-
- 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
最后一行如果末尾带有换行符,则被当作为新行
- getTotalLines(File, int, boolean) - 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
-
- getType(InputStream) - Static method in class cn.hutool.core.io.FileTypeUtil
-
- getType(InputStream, String) - Static method in class cn.hutool.core.io.FileTypeUtil
-
- getType(InputStream, String, boolean) - Static method in class cn.hutool.core.io.FileTypeUtil
-
- getType(File, boolean) - Static method in class cn.hutool.core.io.FileTypeUtil
-
根据文件流的头部信息获得文件类型
1、无法识别类型默认按照扩展名识别
2、xls、doc、msi头信息无法区分,按照扩展名区分
3、zip可能为jar、war头信息无法区分,按照扩展名区分
- getType(File) - Static method in class cn.hutool.core.io.FileTypeUtil
-
根据文件流的头部信息获得文件类型
1、无法识别类型默认按照扩展名识别
2、xls、doc、msi头信息无法区分,按照扩展名区分
3、zip可能为jar、war头信息无法区分,按照扩展名区分
- getType(File) - Static method in class cn.hutool.core.io.FileUtil
-
根据文件流的头部信息获得文件类型
1、无法识别类型默认按照扩展名识别
2、xls、doc、msi头信息无法区分,按照扩展名区分
3、zip可能为docx、xlsx、pptx、jar、war头信息无法区分,按照扩展名区分
- 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
-
- 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
-
获得指定类型中所有泛型参数类型,例如:
class A<T>
class B extends A<String>
通过此方法,传入B.class即可得到String
- 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,例如:
T cn.hutool.test.User
E java.lang.Integer
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- getValue() - Method in enum cn.hutool.core.date.Quarter
-
获取季度值
- getValue() - Method in enum cn.hutool.core.date.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
-
- 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
-
- 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
-
- 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
-
- getWriter(String) - Static method in class cn.hutool.core.img.ImgUtil
-
- 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
-
- getWriter(boolean) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getWriter(String) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getWriter(File) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- 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
-
- 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
-
- getYear() - Method in class cn.hutool.core.date.YearQuarter
-
年份
- 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
-
- 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
-
- GlobalPoiConfig - Class in cn.hutool.poi
-
POI的全局设置
- GlobalPoiConfig() - Constructor for class cn.hutool.poi.GlobalPoiConfig
-
- 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
-
- 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区别
无分组的集合和`[]`分组集合会合并成员,重名的分组也会合并成员
分组配置文件如下:
[group1]
aaa
bbb
ccc
[group2]
aaa
ccc
ddd
- 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
-
- groupingBy(Function<? super T, ? extends K>, Collector<? super T, A, D>) - Static method in class cn.hutool.core.stream.CollectorUtil
-
- groupingBy(Function<? super T, ? extends K>) - Static method in class cn.hutool.core.stream.CollectorUtil
-
- 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 - 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
-
构造
- HARMONY - Static variable in class cn.hutool.http.useragent.Platform
-
harmony
- has(int, int) - Static method in class cn.hutool.core.math.BitStatusUtil
-
判断是否含有状态
- hasAllModifiers(Class<?>, ModifierUtil.ModifierType...) - Static method in class cn.hutool.core.util.ModifierUtil
-
类中是否同时存在所有给定修饰符
如定义修饰符为:public static final
,那么如果传入的modifierTypes为:
public、static 返回true
public、abstract返回false
private、abstract返回false
- hasAllModifiers(Member, ModifierUtil.ModifierType...) - Static method in class cn.hutool.core.util.ModifierUtil
-
成员中是否同时存在所有给定修饰符
如定义修饰符为:public static final
,那么如果传入的modifierTypes为:
public、static 返回true
public、abstract返回false
private、abstract返回false
- hasAnnotation(AnnotatedElement, Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
检查是否包含指定注解指定注解
- hasAnnotation(AnnotatedElement, String) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
- hasAttribute(String) - Method in class cn.hutool.core.annotation.GenericSynthesizedAnnotation
-
元注解是否存在该属性
- hasAttribute(String, Class<?>) - Method in class cn.hutool.core.annotation.GenericSynthesizedAnnotation
-
元注解是否存在该属性,且该属性的值类型是指定类型或其子类
- hasAttribute(String, Class<?>) - Method in interface cn.hutool.core.annotation.SynthesizedAnnotation
-
注解是否存在该名称相同,且类型一致的属性
- hasBlank(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串数组中,是否包含空字符串。
- hasChild() - Method in class cn.hutool.core.lang.tree.Tree
-
是否有子节点,无子节点则此为叶子节点
- hasChildren() - Method in interface cn.hutool.core.map.TreeEntry
-
当前节点是否有子节点
- hasChinese(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否包含汉字
- hasContent() - Method in class cn.hutool.core.text.StrBuilder
-
是否有内容
- hasEmpty(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
是否包含空字符串。
- hasEmpty(Object...) - Static method in class cn.hutool.core.util.ArrayUtil
-
- hasEmpty(Object...) - Static method in class cn.hutool.core.util.ObjectUtil
-
- hasField(Class<?>, String) - Static method in class cn.hutool.core.util.ReflectUtil
-
查找指定类中是否包含指定名称对应的字段,包括所有字段(包括非public字段),也包括父类和Object类的字段
- hasGetter(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断是否为Bean对象
判定方法是否存在只有无参数的getXXX方法或者isXXX方法
- hash(String, int) - Static method in class cn.hutool.bloomfilter.BitSetBloomFilter
-
计算Hash值
- hash(String) - Method in class cn.hutool.bloomfilter.filter.AbstractFilter
-
自定义Hash方法
- hash(String) - Method in class cn.hutool.bloomfilter.filter.FuncFilter
-
- Hash<T> - Interface in cn.hutool.core.lang.hash
-
Hash计算接口
- hash(T) - Method in interface cn.hutool.core.lang.hash.Hash
-
计算Hash值
- hash(T) - Method in interface cn.hutool.core.lang.hash.Hash128
-
- hash(T) - Method in interface cn.hutool.core.lang.hash.Hash32
-
- hash(T) - Method in interface cn.hutool.core.lang.hash.Hash64
-
- hash(String) - Method in class cn.hutool.core.lang.hash.KetamaHash
-
- hash(Collection<? extends CharSequence>) - Method in class cn.hutool.core.text.Simhash
-
指定文本计算simhash值
- hash128(byte[]) - Static method in class cn.hutool.core.lang.hash.CityHash
-
计算128位City Hash值
- hash128(byte[], Number128) - Static method in class cn.hutool.core.lang.hash.CityHash
-
计算128位City Hash值
- Hash128<T> - Interface in cn.hutool.core.lang.hash
-
Hash计算接口
- hash128(T) - Method in interface cn.hutool.core.lang.hash.Hash128
-
计算Hash值
- hash128(byte[]) - Static method in class cn.hutool.core.lang.hash.MetroHash
-
- hash128(byte[], long) - Static method in class cn.hutool.core.lang.hash.MetroHash
-
- hash128(CharSequence) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 128-bit Hash值计算
- hash128(byte[]) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 128-bit 算法.
- hash128(byte[], int, int) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 128-bit variant.
- hash128(byte[], int, int, int) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 128-bit variant.
- hash32(byte[]) - Static method in class cn.hutool.core.lang.hash.CityHash
-
计算32位City Hash值
- Hash32<T> - Interface in cn.hutool.core.lang.hash
-
Hash计算接口
- hash32(T) - Method in interface cn.hutool.core.lang.hash.Hash32
-
计算Hash值
- hash32(String) - Method in class cn.hutool.core.lang.hash.KetamaHash
-
- hash32(CharSequence) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 32-bit Hash值计算
- hash32(byte[]) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 32-bit Hash值计算
- hash32(byte[], int, int) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 32-bit Hash值计算
- hash32(byte[], int, int, int) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 32-bit Hash值计算
- hash64(byte[]) - Static method in class cn.hutool.core.lang.hash.CityHash
-
计算64位City Hash值
- hash64(byte[], long, long) - Static method in class cn.hutool.core.lang.hash.CityHash
-
计算64位City Hash值
- hash64(byte[], long) - Static method in class cn.hutool.core.lang.hash.CityHash
-
- Hash64<T> - Interface in cn.hutool.core.lang.hash
-
Hash计算接口
- hash64(T) - Method in interface cn.hutool.core.lang.hash.Hash64
-
计算Hash值
- hash64(String) - Method in class cn.hutool.core.lang.hash.KetamaHash
-
- hash64(byte[]) - Static method in class cn.hutool.core.lang.hash.MetroHash
-
- hash64(byte[], long) - Static method in class cn.hutool.core.lang.hash.MetroHash
-
- hash64(CharSequence) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 64-bit Hash值计算
- hash64(byte[]) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 64-bit 算法
This is essentially MSB 8 bytes of Murmur3 128-bit variant.
- hash64(byte[], int, int) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
类Murmur3 64-bit 算法
This is essentially MSB 8 bytes of Murmur3 128-bit variant.
- hashCode() - Method in class cn.hutool.core.bean.DynaBean
-
- hashCode() - Method in class cn.hutool.core.builder.HashCodeBuilder
-
The computed hashCode
from toHashCode() is returned due to the likelihood
of bugs in mis-calling toHashCode() and the unlikeliness of it mattering what the hashCode for
HashCodeBuilder itself is.
- hashCode() - Method in class cn.hutool.core.comparator.ComparableComparator
-
- hashCode() - Method in class cn.hutool.core.comparator.ComparatorChain
-
- hashCode() - Method in class cn.hutool.core.comparator.ReverseComparator
-
- hashCode() - Method in class cn.hutool.core.date.format.AbstractDateBasic
-
- hashCode() - Method in class cn.hutool.core.date.format.FastDateFormat
-
- hashCode() - Method in class cn.hutool.core.date.YearQuarter
-
- hashCode() - Method in class cn.hutool.core.io.unit.DataSize
-
- hashCode() - Method in class cn.hutool.core.lang.ansi.Ansi8BitColor
-
- hashCode() - Method in class cn.hutool.core.lang.ansi.AnsiColorWrapper
-
- hashCode() - Method in class cn.hutool.core.lang.hash.Number128
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableBool
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableByte
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableInt
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableLong
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableObj
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableShort
-
- hashCode() - Method in class cn.hutool.core.lang.Opt
-
如果包裹内元素为空,则返回0,否则返回元素的 hashcode
- hashCode() - Method in class cn.hutool.core.lang.Pair
-
- hashCode() - Method in class cn.hutool.core.lang.tree.TreeNode
-
- hashCode() - Method in class cn.hutool.core.lang.Tuple
-
- hashCode() - Method in class cn.hutool.core.lang.UUID
-
返回此 UUID 的哈希码。
- hashCode() - Method in class cn.hutool.core.lang.Version
-
- hashCode() - Method in class cn.hutool.core.lang.WeightRandom.WeightObj
-
- hashCode() - Method in class cn.hutool.core.map.AbsEntry
-
- hashCode() - Method in class cn.hutool.core.map.LinkedForestMap.TreeEntryNode
-
- hashCode() - Method in class cn.hutool.core.map.MapWrapper
-
- hashCode() - Method in class cn.hutool.core.map.multi.AbsTable
-
- hashCode() - Method in class cn.hutool.core.map.TolerantMap
-
- hashCode() - Method in interface cn.hutool.core.map.TreeEntry
-
- hashCode() - Method in class cn.hutool.core.math.Money
-
计算本货币对象的杂凑值。
- hashCode() - Method in class cn.hutool.core.util.CoordinateUtil.Coordinate
-
- hashCode() - Method in class cn.hutool.db.ds.AbstractDSFactory
-
- hashCode() - Method in class cn.hutool.db.meta.IndexInfo
-
- hashCode() - Method in class cn.hutool.extra.template.TemplateConfig
-
- hashCode() - Method in class cn.hutool.http.useragent.UserAgentInfo
-
- hashCode() - Method in class cn.hutool.json.JSONArray
-
- hashCode() - Method in class cn.hutool.poi.excel.cell.CellLocation
-
- hashCode() - Method in class cn.hutool.setting.Setting
-
- HashCodeBuilder - Class in cn.hutool.core.builder
-
- HashCodeBuilder() - Constructor for class cn.hutool.core.builder.HashCodeBuilder
-
Uses two hard coded choices for the constants needed to build a hashCode
.
- HashCodeBuilder(int, int) - Constructor for class cn.hutool.core.builder.HashCodeBuilder
-
Two randomly chosen, odd numbers must be passed in.
- Hashids - Class in cn.hutool.core.codec
-
- Hashids(char[], char[], int) - Constructor for class cn.hutool.core.codec.Hashids
-
构造
- hashpw(String) - Static method in class cn.hutool.crypto.digest.BCrypt
-
生成密文,使用长度为10的加盐方式
- hashpw(String, String) - Static method in class cn.hutool.crypto.digest.BCrypt
-
生成密文
- HashUtil - Class in cn.hutool.core.util
-
Hash算法大全
推荐使用FNV1算法
- HashUtil() - Constructor for class cn.hutool.core.util.HashUtil
-
- hasLetter(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串数组中,是否包含空字符串。
- hasModifier(Class<?>, ModifierUtil.ModifierType...) - Static method in class cn.hutool.core.util.ModifierUtil
-
类是否存在给定修饰符中的任意一个
如定义修饰符为:public static final
,那么如果传入的modifierTypes为:
public、static 返回true
public、abstract返回true
private、abstract返回false
- hasModifier(Constructor<?>, ModifierUtil.ModifierType...) - Static method in class cn.hutool.core.util.ModifierUtil
-
构造是否存在给定修饰符中的任意一个
如定义修饰符为:public static final
,那么如果传入的modifierTypes为:
public、static 返回true
public、abstract返回true
private、abstract返回false
- hasModifier(Method, ModifierUtil.ModifierType...) - Static method in class cn.hutool.core.util.ModifierUtil
-
方法是否存在给定修饰符中的任意一个
如定义修饰符为:public static final
,那么如果传入的modifierTypes为:
public、static 返回true
public、abstract返回true
private、abstract返回false
- hasModifier(Field, ModifierUtil.ModifierType...) - Static method in class cn.hutool.core.util.ModifierUtil
-
字段是否存在给定修饰符中的任意一个
如定义修饰符为:public static final
,那么如果传入的modifierTypes为:
public、static 返回true
public、abstract返回true
private、abstract返回false
- hasMoreElements() - Method in class cn.hutool.core.collection.IteratorEnumeration
-
- hasNext() - Method in class cn.hutool.cache.impl.CacheObjIterator
-
- hasNext() - Method in class cn.hutool.cache.impl.CacheValuesIterator
-
- hasNext() - Method in class cn.hutool.core.collection.ArrayIter
-
- hasNext() - Method in class cn.hutool.core.collection.ComputeIter
-
- hasNext() - Method in class cn.hutool.core.collection.CopiedIter
-
- hasNext() - Method in class cn.hutool.core.collection.EnumerationIter
-
- hasNext() - Method in class cn.hutool.core.collection.FilterIter
-
- hasNext() - Method in class cn.hutool.core.collection.IterChain
-
- hasNext() - Method in class cn.hutool.core.collection.NodeListIter
-
- hasNext() - Method in class cn.hutool.core.collection.PartitionIter
-
- hasNext() - Method in class cn.hutool.core.collection.TransIter
-
- hasNext() - Method in class cn.hutool.core.io.resource.MultiResource
-
- hasNext() - Method in class cn.hutool.core.lang.Range
-
- hasNext() - Method in class cn.hutool.extra.tokenizer.engine.ansj.AnsjResult
-
- hasNext() - Method in class cn.hutool.extra.tokenizer.engine.hanlp.HanLPResult
-
- hasNext() - Method in class cn.hutool.extra.tokenizer.engine.jieba.JiebaResult
-
- hasNext() - Method in class cn.hutool.extra.tokenizer.engine.mynlp.MynlpResult
-
- hasNext() - Method in class cn.hutool.extra.tokenizer.engine.word.WordResult
-
- hasNull(Iterable<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
是否包含null
元素
- hasNull(Iterable<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
是否包含null
元素
- hasNull(Iterator<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
是否包含null
元素
- hasNull(T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
是否包含null
元素
- hasNull(Object...) - Static method in class cn.hutool.core.util.ObjectUtil
-
- hasNullField(Object, String...) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断Bean是否包含值为null
的属性
对象本身为null
也返回true
- hasNumber(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
是否包含数字
- hasParent() - Method in interface cn.hutool.core.map.TreeEntry
-
当前节点是否存在直接关联的父节点
- hasPublicField(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
-
指定类中是否有public类型字段(static字段除外)
- hasSetter(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断是否有Setter方法
判定方法是否存在只有一个参数的setXXX方法
- hasTypeVariable(Type...) - Static method in class cn.hutool.core.util.TypeUtil
-
指定泛型数组中是否含有泛型变量
- having(Condition...) - Method in class cn.hutool.db.sql.SqlBuilder
-
- having(String) - Method in class cn.hutool.db.sql.SqlBuilder
-
添加Having语句
- head(String) - Static method in class cn.hutool.http.HttpRequest
-
HEAD请求
- headCellStyle - Variable in class cn.hutool.poi.excel.StyleSet
-
标题样式
- header(String) - Method in enum cn.hutool.http.GlobalHeaders
-
根据name获取头信息
- header(Header) - Method in enum cn.hutool.http.GlobalHeaders
-
根据name获取头信息
- header(String, String, boolean) - Method in enum cn.hutool.http.GlobalHeaders
-
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
- header(Header, String, boolean) - Method in enum cn.hutool.http.GlobalHeaders
-
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
- header(Header, String) - Method in enum cn.hutool.http.GlobalHeaders
-
设置一个header
覆盖模式,则替换之前的值
- header(String, String) - Method in enum cn.hutool.http.GlobalHeaders
-
设置一个header
覆盖模式,则替换之前的值
- header(Map<String, List<String>>) - Method in enum cn.hutool.http.GlobalHeaders
-
设置请求头
不覆盖原有请求头
- Header - Enum in cn.hutool.http
-
Http 头域
- header(String) - Method in class cn.hutool.http.HttpBase
-
根据name获取头信息
根据RFC2616规范,header的name不区分大小写
- header(Header) - Method in class cn.hutool.http.HttpBase
-
根据name获取头信息
- header(String, String, boolean) - Method in class cn.hutool.http.HttpBase
-
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
- header(Header, String, boolean) - Method in class cn.hutool.http.HttpBase
-
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
- header(Header, String) - Method in class cn.hutool.http.HttpBase
-
设置一个header
覆盖模式,则替换之前的值
- header(String, String) - Method in class cn.hutool.http.HttpBase
-
设置一个header
覆盖模式,则替换之前的值
- header(Map<String, List<String>>) - Method in class cn.hutool.http.HttpBase
-
设置请求头
不覆盖原有请求头
- header(Map<String, List<String>>, boolean) - Method in class cn.hutool.http.HttpBase
-
设置请求头
- header(String, String, boolean) - Method in class cn.hutool.http.HttpConnection
-
设置请求头
当请求头存在时,覆盖之
- header(Header, String, boolean) - Method in class cn.hutool.http.HttpConnection
-
设置请求头
当请求头存在时,覆盖之
- header(Map<String, List<String>>, boolean) - Method in class cn.hutool.http.HttpConnection
-
设置请求头
不覆盖原有请求头
- header(Map<String, List<String>>, boolean, 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请求头
- headerAggregation(boolean) - Method in class cn.hutool.http.HttpBase
-
设置是否需要聚合重复的请求头,将重复的请求头聚合为,拼接
- headerAlias - Variable in class cn.hutool.core.text.csv.CsvConfig
-
标题别名
- headerAlias - Variable in class cn.hutool.poi.excel.ExcelBase
-
标题行别名
- headerLineNo - Variable in class cn.hutool.core.text.csv.CsvReadConfig
-
指定标题行号,-1表示无标题行
- headerList(String) - Method in enum cn.hutool.http.GlobalHeaders
-
根据name获取头信息列表
- headerList(String) - Method in class cn.hutool.http.HttpBase
-
根据name获取头信息列表
- headerMap(Map<String, String>, boolean) - Method in class cn.hutool.http.HttpBase
-
设置请求头
- headers() - Method in enum cn.hutool.http.GlobalHeaders
-
获取headers
- headers - Variable in class cn.hutool.http.HttpBase
-
存储头信息
- headers() - Method in class cn.hutool.http.HttpBase
-
获取headers
- headers() - Method in class cn.hutool.http.HttpConnection
-
获取所有Http请求头
- height - Variable in class cn.hutool.captcha.AbstractCaptcha
-
图片的高度
- height - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- height - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- height - Variable in class cn.hutool.extra.qrcode.QrConfig
-
高度(单位:像素或▄)
当二维码类型为一般图片或者SVG时,单位是像素
当二维码类型Ascii Art字符画时,单位是字符▄或▀的大小
- HEX - Static variable in class cn.hutool.core.lang.PatternPool
-
16进制字符串
- HEX - Static variable in interface cn.hutool.core.lang.RegexPool
-
16进制字符串
- HEX_DECODER - Static variable in class cn.hutool.core.codec.Base32Codec.Base32Decoder
-
- HEX_ENCODER - Static variable in class cn.hutool.core.codec.Base32Codec.Base32Encoder
-
- hexToBytes(String) - Static method in class cn.hutool.core.convert.Convert
-
Hex字符串转换为Byte值
- hexToColor(String) - Static method in class cn.hutool.core.img.ColorUtil
-
16进制的颜色值转换为Color对象,例如#fcf6d6
- hexToColor(String) - Static method in class cn.hutool.core.img.ImgUtil
-
16进制的颜色值转换为Color对象,例如#fcf6d6
- hexToInt(String) - Static method in class cn.hutool.core.util.HexUtil
-
16进制字符串转为int
- hexToLong(String) - Static method in class cn.hutool.core.util.HexUtil
-
16进制字符串转为long
- hexToRgb(String) - Static method in class cn.hutool.core.img.BackgroundRemoval
-
十六进制颜色码转RGB颜色值
- hexToStr(String, Charset) - Static method in class cn.hutool.core.convert.Convert
-
十六进制转换字符串
- HexUtil - Class in cn.hutool.core.util
-
十六进制(简写为hex或下标16)在数学中是一种逢16进1的进位制,一般用数字0到9和字母A到F表示(其中:A~F即10~15)。
- HexUtil() - Constructor for class cn.hutool.core.util.HexUtil
-
- HfFilter - Class in cn.hutool.bloomfilter.filter
-
- HfFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.HfFilter
-
- HfFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.HfFilter
-
- hfHash(String) - Static method in class cn.hutool.core.util.HashUtil
-
HF Hash算法
- HfIpFilter - Class in cn.hutool.bloomfilter.filter
-
- HfIpFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.HfIpFilter
-
- HfIpFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.HfIpFilter
-
- hfIpHash(String) - Static method in class cn.hutool.core.util.HashUtil
-
HFIP Hash算法
- hide(CharSequence, int, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换指定字符串的指定区间内字符为"*"
俗称:脱敏功能,后面其他功能,可以见:DesensitizedUtil(脱敏工具类)
CharSequenceUtil.hide(null,*,*)=null
CharSequenceUtil.hide("",0,*)=""
CharSequenceUtil.hide("jackduan@163.com",-1,4) ****duan@163.com
CharSequenceUtil.hide("jackduan@163.com",2,3) ja*kduan@163.com
CharSequenceUtil.hide("jackduan@163.com",3,2) jackduan@163.com
CharSequenceUtil.hide("jackduan@163.com",16,16) jackduan@163.com
CharSequenceUtil.hide("jackduan@163.com",16,17) jackduan@163.com
- hide(String, int, int) - Static method in class cn.hutool.core.util.IdcardUtil
-
隐藏指定位置的几个身份证号数字为“*”
- hideAfter(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
隐藏手机号最后4位 替换字符为"*"
- hideBefore(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
隐藏手机号前7位 替换字符为"*"
栗子
- hideBetween(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
隐藏手机号中间4位 替换字符为"*"
- hideIpPart(String) - Static method in class cn.hutool.core.net.NetUtil
-
隐藏掉IP地址的最后一部分为 * 代替
- hideIpPart(long) - Static method in class cn.hutool.core.net.NetUtil
-
隐藏掉IP地址的最后一部分为 * 代替
- Hierarchical - Interface in cn.hutool.core.annotation
-
描述以一个参照物为对象,存在于该参照物的层级结构中的对象。
- Hierarchical.Selector - Interface in cn.hutool.core.annotation
-
- Hierarchical.Selector.FarthestAndNewestPrioritySelector - Class in cn.hutool.core.annotation
-
返回距离根对象更远的注解,当距离一样时优先返回新注解
- Hierarchical.Selector.FarthestAndOldestPrioritySelector - Class in cn.hutool.core.annotation
-
返回距离根对象更远的注解,当距离一样时优先返回旧注解
- Hierarchical.Selector.NearestAndNewestPrioritySelector - Class in cn.hutool.core.annotation
-
返回距离根对象更近的注解,当距离一样时优先返回新注解
- Hierarchical.Selector.NearestAndOldestPrioritySelector - Class in cn.hutool.core.annotation
-
返回距离根对象更近的注解,当距离一样时优先返回旧注解
- HikariDSFactory - Class in cn.hutool.db.ds.hikari
-
HikariCP数据源工厂类
- HikariDSFactory() - Constructor for class cn.hutool.db.ds.hikari.HikariDSFactory
-
- HikariDSFactory(Setting) - Constructor for class cn.hutool.db.ds.hikari.HikariDSFactory
-
- hitCount - Variable in class cn.hutool.cache.impl.AbstractCache
-
命中数,即命中缓存计数
- hmac(HmacAlgorithm, byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
创建HMac对象,调用digest方法可获得hmac值
- hmac(HmacAlgorithm, SecretKey) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
创建HMac对象,调用digest方法可获得hmac值
- HMac - Class in cn.hutool.crypto.digest
-
HMAC摘要算法
HMAC,全称为“Hash Message Authentication Code”,中文名“散列消息鉴别码”
主要是利用哈希算法,以一个密钥和一个消息为输入,生成一个消息摘要作为输出。
- HMac(HmacAlgorithm) - Constructor for class cn.hutool.crypto.digest.HMac
-
构造,自动生成密钥
- HMac(HmacAlgorithm, byte[]) - Constructor for class cn.hutool.crypto.digest.HMac
-
构造
- HMac(HmacAlgorithm, Key) - Constructor for class cn.hutool.crypto.digest.HMac
-
构造
- HMac(String, byte[]) - Constructor for class cn.hutool.crypto.digest.HMac
-
构造
- HMac(String, Key) - Constructor for class cn.hutool.crypto.digest.HMac
-
构造
- HMac(String, Key, AlgorithmParameterSpec) - Constructor for class cn.hutool.crypto.digest.HMac
-
构造
- HMac(MacEngine) - Constructor for class cn.hutool.crypto.digest.HMac
-
构造
- hmac(HmacAlgorithm, String) - Static method in class cn.hutool.crypto.SecureUtil
-
创建HMac对象,调用digest方法可获得hmac值
- hmac(HmacAlgorithm, byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
创建HMac对象,调用digest方法可获得hmac值
- hmac(HmacAlgorithm, SecretKey) - Static method in class cn.hutool.crypto.SecureUtil
-
创建HMac对象,调用digest方法可获得hmac值
- HmacAlgorithm - Enum in cn.hutool.crypto.digest
-
HMAC算法类型
see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#Mac
- HMacJWTSigner - Class in cn.hutool.jwt.signers
-
HMac算法签名实现
- HMacJWTSigner(String, byte[]) - Constructor for class cn.hutool.jwt.signers.HMacJWTSigner
-
构造
- HMacJWTSigner(String, Key) - Constructor for class cn.hutool.jwt.signers.HMacJWTSigner
-
构造
- hmacMd5(String) - Static method in class cn.hutool.crypto.SecureUtil
-
HmacMD5加密器
例:
HmacMD5加密:hmacMd5(key).digest(data)
HmacMD5加密并转为16进制字符串:hmacMd5(key).digestHex(data)
- hmacMd5(byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
HmacMD5加密器
例:
HmacMD5加密:hmacMd5(key).digest(data)
HmacMD5加密并转为16进制字符串:hmacMd5(key).digestHex(data)
- hmacMd5() - Static method in class cn.hutool.crypto.SecureUtil
-
HmacMD5加密器,生成随机KEY
例:
HmacMD5加密:hmacMd5().digest(data)
HmacMD5加密并转为16进制字符串:hmacMd5().digestHex(data)
- hmacSha1(String) - Static method in class cn.hutool.crypto.SecureUtil
-
HmacSHA1加密器
例:
HmacSHA1加密:hmacSha1(key).digest(data)
HmacSHA1加密并转为16进制字符串:hmacSha1(key).digestHex(data)
- hmacSha1(byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
HmacSHA1加密器
例:
HmacSHA1加密:hmacSha1(key).digest(data)
HmacSHA1加密并转为16进制字符串:hmacSha1(key).digestHex(data)
- hmacSha1() - Static method in class cn.hutool.crypto.SecureUtil
-
HmacSHA1加密器,生成随机KEY
例:
HmacSHA1加密:hmacSha1().digest(data)
HmacSHA1加密并转为16进制字符串:hmacSha1().digestHex(data)
- hmacSha256(String) - Static method in class cn.hutool.crypto.SecureUtil
-
HmacSHA256加密器
例:
HmacSHA256加密:hmacSha256(key).digest(data)
HmacSHA256加密并转为16进制字符串:hmacSha256(key).digestHex(data)
- hmacSha256(byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
HmacSHA256加密器
例:
HmacSHA256加密:hmacSha256(key).digest(data)
HmacSHA256加密并转为16进制字符串:hmacSha256(key).digestHex(data)
- hmacSha256() - Static method in class cn.hutool.crypto.SecureUtil
-
HmacSHA256加密器,生成随机KEY
例:
HmacSHA256加密:hmacSha256().digest(data)
HmacSHA256加密并转为16进制字符串:hmacSha256().digestHex(data)
- hmacSm3(byte[]) - Static method in class cn.hutool.crypto.SmUtil
-
HmacSM3算法实现
- hmd5(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
HMD5(HmacMD5)签名器
- home() - Method in class cn.hutool.extra.ssh.Sftp
-
获取HOME路径
- HOME - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 安装目录
- HOME - Static variable in class cn.hutool.system.SystemUtil
-
Java 安装目录的KEY
- HostInfo - Class in cn.hutool.system
-
代表当前主机的信息。
- HostInfo() - Constructor for class cn.hutool.system.HostInfo
-
- HOTP - Class in cn.hutool.crypto.digest.otp
-
HMAC-based one-time passwords (HOTP) 基于HMAC算法一次性密码生成器,
规范见:
RFC 4226.
- HOTP(byte[]) - Constructor for class cn.hutool.crypto.digest.otp.HOTP
-
构造,使用默认密码长度和默认HMAC算法(HmacSHA1)
- HOTP(int, byte[]) - Constructor for class cn.hutool.crypto.digest.otp.HOTP
-
构造,使用默认HMAC算法(HmacSHA1)
- HOTP(int, HmacAlgorithm, byte[]) - Constructor for class cn.hutool.crypto.digest.otp.HOTP
-
构造
- HOTP_HMAC_ALGORITHM - Static variable in class cn.hutool.crypto.digest.otp.HOTP
-
默认HMAC算法.
- HoubbPinyinEngine - Class in cn.hutool.extra.pinyin.engine.houbbpinyin
-
封装了 houbb Pinyin 的引擎。
- HoubbPinyinEngine() - Constructor for class cn.hutool.extra.pinyin.engine.houbbpinyin.HoubbPinyinEngine
-
构造
- HoubbPinyinEngine(PinyinStyleEnum) - Constructor for class cn.hutool.extra.pinyin.engine.houbbpinyin.HoubbPinyinEngine
-
构造
- hour(boolean) - Method in class cn.hutool.core.date.DateTime
-
获得指定日期的小时数部分
- hour(Date, boolean) - Static method in class cn.hutool.core.date.DateUtil
-
获得指定日期的小时数部分
- hs256(byte[]) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
HS256(HmacSHA256)签名器
- hs384(byte[]) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
HS384(HmacSHA384)签名器
- hs512(byte[]) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
HS512(HmacSHA512)签名器
- hsha1(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
HSHA1(HmacSHA1)签名器
- HTML40_EXTENDED_ESCAPE - Static variable in class cn.hutool.core.text.escape.Html4Escape
-
- HTML40_EXTENDED_UNESCAPE - Static variable in class cn.hutool.core.text.escape.Html4Unescape
-
- Html4Escape - Class in cn.hutool.core.text.escape
-
HTML4的ESCAPE
参考:Commons Lang3
- Html4Escape() - Constructor for class cn.hutool.core.text.escape.Html4Escape
-
- Html4Unescape - Class in cn.hutool.core.text.escape
-
HTML4的UNESCAPE
- Html4Unescape() - Constructor for class cn.hutool.core.text.escape.Html4Unescape
-
- HTML_AMP - Static variable in interface cn.hutool.core.text.StrPool
-
字符串常量:HTML And 符转义 "&" -> "&"
- HTML_APOS - Static variable in interface cn.hutool.core.text.StrPool
-
字符串常量:HTML 单引号转义 "&apos" -> "'"
- HTML_GT - Static variable in interface cn.hutool.core.text.StrPool
-
字符串常量:HTML 大于号转义 ">" -> ">"
- HTML_LT - Static variable in interface cn.hutool.core.text.StrPool
-
字符串常量:HTML 小于号转义 "<" -> "<"
- HTML_NBSP - Static variable in interface cn.hutool.core.text.StrPool
-
字符串常量:HTML 不间断空格转义 " " -> " "
- HTML_QUOTE - Static variable in interface cn.hutool.core.text.StrPool
-
字符串常量:HTML 双引号转义 """ -> "\""
- HTMLFilter - Class in cn.hutool.http
-
HTML过滤器,用于去除XSS(Cross Site Scripting) 漏洞隐患。
- HTMLFilter() - Constructor for class cn.hutool.http.HTMLFilter
-
Default constructor.
- HTMLFilter(boolean) - Constructor for class cn.hutool.http.HTMLFilter
-
Set debug flag to true.
- HTMLFilter(Map<String, Object>) - Constructor for class cn.hutool.http.HTMLFilter
-
Map-parameter configurable constructor.
- htmlSpecialChars(String) - Static method in class cn.hutool.http.HTMLFilter
-
- HtmlUtil - Class in cn.hutool.http
-
HTML工具类
比如我们在使用爬虫爬取HTML页面后,需要对返回页面的HTML内容做一定处理,
比如去掉指定标签(例如广告栏等)、去除JS、去掉样式等等,这些操作都可以使用此工具类完成。
- HtmlUtil() - Constructor for class cn.hutool.http.HtmlUtil
-
- HTTP_1_0 - Static variable in class cn.hutool.http.HttpBase
-
HTTP/1.0
- HTTP_1_1 - Static variable in class cn.hutool.http.HttpBase
-
HTTP/1.1
- HTTP_ACCEPTED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 202: Accepted.
- HTTP_ALREADY_REPORTED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 208: Already Reported.
- HTTP_BAD_GATEWAY - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 502: Bad Gateway.
- HTTP_BAD_METHOD - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 405: Method Not Allowed.
- HTTP_BAD_REQUEST - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 400: Bad Request.
- HTTP_BANDWIDTH_LIMIT_EXCEEDED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 509: Bandwidth Limit Exceeded.
- HTTP_CHECKPOINT - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 103: Checkpoint.
- HTTP_CLIENT_TIMEOUT - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 408: Request Time-Out.
- HTTP_CONFLICT - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 409: Conflict.
- HTTP_CONTINUE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 100: Continue.
- HTTP_CREATED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 201: Created.
- HTTP_DATETIME_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
-
- HTTP_DATETIME_FORMAT_Z - Static variable in class cn.hutool.core.date.DatePattern
-
- HTTP_DATETIME_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
-
HTTP头中日期时间格式:EEE, dd MMM yyyy HH:mm:ss z
- HTTP_ENTITY_TOO_LARGE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 413: Request Entity Too Large.
- HTTP_EXPECTATION_FAILED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 417: Expectation Failed.
- HTTP_FAILED_DEPENDENCY - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 424: Failed Dependency.
- HTTP_FORBIDDEN - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 403: Forbidden.
- HTTP_GATEWAY_TIMEOUT - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 504: Gateway Timeout.
- HTTP_GONE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 410: Gone.
- HTTP_I_AM_A_TEAPOT - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 418: I'm a teapot.
- HTTP_IM_USED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 226: IM Used.
- HTTP_INSUFFICIENT_STORAGE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 507: Insufficient Storage.
- HTTP_INTERNAL_ERROR - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 500: Internal Server Error.
- HTTP_LENGTH_REQUIRED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 411: Length Required.
- HTTP_LOCKED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 423: Locked.
- HTTP_LOOP_DETECTED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 508: Loop Detected.
- HTTP_MOVED_PERM - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 301: Moved Permanently.
- HTTP_MOVED_TEMP - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 302: Temporary Redirect.
- HTTP_MULT_CHOICE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 300: Multiple Choices.
- HTTP_MULTI_STATUS - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 207: Multi-Status.
- HTTP_NETWORK_AUTHENTICATION_REQUIRED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 511: Network Authentication Required.
- HTTP_NO_CONTENT - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 204: No Content.
- HTTP_NOT_ACCEPTABLE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 406: Not Acceptable.
- HTTP_NOT_AUTHORITATIVE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 203: Non-Authoritative Information.
- HTTP_NOT_EXTENDED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 510: Not Extended.
- HTTP_NOT_FOUND - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 404: Not Found.
- HTTP_NOT_IMPLEMENTED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 501: Not Implemented.
- HTTP_NOT_MODIFIED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 304: Not Modified.
- HTTP_OK - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 200: OK.
- HTTP_PARTIAL - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 206: Partial Content.
- HTTP_PAYMENT_REQUIRED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 402: Payment Required.
- HTTP_PERMANENT_REDIRECT - Static variable in class cn.hutool.http.HttpStatus
-
HTTP 1.1 Status-Code 308: Permanent Redirect 永久重定向
见:RFC-7231
- HTTP_PRECON_FAILED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 412: Precondition Failed.
- HTTP_PRECONDITION_REQUIRED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 428: Precondition Required.
- HTTP_PROCESSING - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 102: Processing.
- HTTP_PROXY_AUTH - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 407: Proxy Authentication Required.
- HTTP_REQ_TOO_LONG - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 414: Request-URI Too Large.
- HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 431: Request Header Fields Too Large.
- HTTP_REQUESTED_RANGE_NOT_SATISFIABLE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 416: Requested Range Not Satisfiable.
- HTTP_RESET - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 205: Reset Content.
- HTTP_SEE_OTHER - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 303: See Other.
- HTTP_SWITCHING_PROTOCOLS - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 101: Switching Protocols.
- HTTP_TEMP_REDIRECT - Static variable in class cn.hutool.http.HttpStatus
-
HTTP 1.1 Status-Code 307: Temporary Redirect.
- HTTP_TOO_EARLY - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 425: Too Early.
- HTTP_TOO_MANY_REQUESTS - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 429: Too Many Requests.
- HTTP_UNAUTHORIZED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 401: Unauthorized.
- HTTP_UNAVAILABLE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 503: Service Unavailable.
- HTTP_UNAVAILABLE_FOR_LEGAL_REASONS - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 451: Unavailable For Legal Reasons.
- HTTP_UNPROCESSABLE_ENTITY - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 422: Unprocessable Entity.
- HTTP_UNSUPPORTED_TYPE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 415: Unsupported Media Type.
- HTTP_UPGRADE_REQUIRED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 426: Upgrade Required.
- HTTP_USE_PROXY - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 305: Use Proxy.
- HTTP_VARIANT_ALSO_NEGOTIATES - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 506: Variant Also Negotiates.
- HTTP_VERSION - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 505: HTTP Version Not Supported.
- HttpBase<T> - Class in cn.hutool.http
-
http基类
- HttpBase() - Constructor for class cn.hutool.http.HttpBase
-
- HttpConfig - Class in cn.hutool.http
-
Http配置项
- HttpConfig() - Constructor for class cn.hutool.http.HttpConfig
-
- HttpConnection - Class in cn.hutool.http
-
http连接对象,对HttpURLConnection的包装
- HttpConnection(URL, Proxy) - Constructor for class cn.hutool.http.HttpConnection
-
构造HttpConnection
- httpConnection - Variable in class cn.hutool.http.HttpResponse
-
持有连接对象
- HttpDownloader - Class in cn.hutool.http
-
下载封装,下载统一使用GET
请求,默认支持30x跳转
- HttpDownloader() - Constructor for class cn.hutool.http.HttpDownloader
-
- HttpException - Exception in cn.hutool.http
-
HTTP异常
- HttpException(Throwable) - Constructor for exception cn.hutool.http.HttpException
-
- HttpException(String) - Constructor for exception cn.hutool.http.HttpException
-
- HttpException(String, Object...) - Constructor for exception cn.hutool.http.HttpException
-
- HttpException(String, Throwable) - Constructor for exception cn.hutool.http.HttpException
-
- HttpException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.http.HttpException
-
- HttpException(Throwable, String, Object...) - Constructor for exception cn.hutool.http.HttpException
-
- HttpExchangeWrapper - Class in cn.hutool.http.server
-
HttpExchange
包装类,提供增强方法和缓存
- HttpExchangeWrapper(HttpExchange) - Constructor for class cn.hutool.http.server.HttpExchangeWrapper
-
构造
- HttpFilter - Interface in cn.hutool.http.server.filter
-
过滤器接口,用于简化Filter
使用
- HttpGlobalConfig - Class in cn.hutool.http
-
HTTP 全局参数配置
- HttpGlobalConfig() - Constructor for class cn.hutool.http.HttpGlobalConfig
-
- HttpInputStream - Class in cn.hutool.http
-
HTTP输入流,此流用于包装Http请求响应内容的流,用于解析各种压缩、分段的响应流内容
- HttpInputStream(HttpResponse) - Constructor for class cn.hutool.http.HttpInputStream
-
构造
- HttpInterceptor<T extends HttpBase<T>> - Interface in cn.hutool.http
-
Http拦截器接口,通过实现此接口,完成请求发起前或结束后对请求的编辑工作
- HttpInterceptor.Chain<T extends HttpBase<T>> - Class in cn.hutool.http
-
拦截器链
- HttpRequest - Class in cn.hutool.http
-
http请求类
Http请求类用于构建Http请求并同步获取结果,此类通过CookieManager持有域名对应的Cookie值,再次请求时会自动附带Cookie信息
- HttpRequest(String) - Constructor for class cn.hutool.http.HttpRequest
-
- HttpRequest(UrlBuilder) - Constructor for class cn.hutool.http.HttpRequest
-
构造
- HttpResource - Class in cn.hutool.http
-
HTTP资源,可自定义Content-Type
- HttpResource(Resource, String) - Constructor for class cn.hutool.http.HttpResource
-
构造
- HttpResponse - Class in cn.hutool.http
-
Http响应类
非线程安全对象
- HttpResponse(HttpConnection, HttpConfig, Charset, boolean, boolean) - Constructor for class cn.hutool.http.HttpResponse
-
构造
- HttpServerBase - Class in cn.hutool.http.server
-
HttpServer公用对象,提供HttpExchange包装和公用方法
- HttpServerBase(HttpExchange) - Constructor for class cn.hutool.http.server.HttpServerBase
-
构造
- HttpServerRequest - Class in cn.hutool.http.server
-
Http请求对象,对HttpExchange
封装
- HttpServerRequest(HttpExchange) - Constructor for class cn.hutool.http.server.HttpServerRequest
-
构造
- HttpServerResponse - Class in cn.hutool.http.server
-
Http响应对象,用于写出数据到客户端
- HttpServerResponse(HttpExchange) - Constructor for class cn.hutool.http.server.HttpServerResponse
-
构造
- HttpStatus - Class in cn.hutool.http
-
HTTP状态码
- HttpStatus() - Constructor for class cn.hutool.http.HttpStatus
-
- HttpUtil - Class in cn.hutool.http
-
Http请求工具类
- HttpUtil() - Constructor for class cn.hutool.http.HttpUtil
-
- httpVersion - Variable in class cn.hutool.http.HttpBase
-
http版本
- httpVersion() - Method in class cn.hutool.http.HttpBase
-
返回http版本
- httpVersion(String) - Method in class cn.hutool.http.HttpBase
-
设置http版本,此方法不会影响到实际请求的HTTP版本,只用于帮助判断是否connect:Keep-Alive
- Hutool - Class in cn.hutool
-
秋千水,竹马道,一眼见你,万物不及。
- HUTOOL_CRYPTO_DECODE_HEX - Static variable in class cn.hutool.crypto.SecureUtil
-
Hutool自定义系统属性:是否解码Hex字符 issue#I90M9D
- HUTOOL_DATE_LENIENT - Static variable in class cn.hutool.core.util.SystemPropsUtil
-
Hutool自定义系统属性:是否解析日期字符串采用严格模式
- HyperlinkCellSetter - Class in cn.hutool.poi.excel.cell.setters
-
Hyperlink
值单元格设置器
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生成器工具类,此工具类中主要封装:
1.
- IdUtil() - Constructor for class cn.hutool.core.util.IdUtil
-
- ifFail(Consumer<? super Throwable>) - Method in class cn.hutool.core.lang.Opt
-
如果包裹内容失败了,则执行传入的操作(
Consumer.accept(T)
)
例如执行有异常就打印结果
Opt.ofTry(() -> 1 / 0).ifFail(Console::log);
- ifInitialized(Consumer<T>) - Method in class cn.hutool.core.lang.loader.LazyFunLoader
-
如果已经初始化,就执行传入函数
- ifPresent(Consumer<? super T>) - Method in class cn.hutool.core.lang.Opt
-
如果包裹里的值存在,就执行传入的操作(
Consumer.accept(T)
)
例如如果值存在就打印结果
{@code
Opt.ofNullable("Hello Hutool!").
- ifPresentOrElse(Consumer<? super T>, VoidFunc0) - Method in class cn.hutool.core.lang.Opt
-
- ignoreCase - Variable in class cn.hutool.core.bean.copier.CopyOptions
-
是否忽略字段大小写
- ignoreCase() - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置忽略字段的大小写
- ignoreEmptyRow - Variable in class cn.hutool.poi.excel.reader.AbstractSheetReader
-
是否忽略空行
- ignoreError - Variable in class cn.hutool.core.bean.copier.CopyOptions
-
是否忽略字段注入错误
- ignoreError() - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置忽略字段的注入错误
- ignoreNullValue - Variable in class cn.hutool.core.bean.copier.CopyOptions
-
是否忽略空值,当源对象的值为null时,true: 忽略而不注入此值,false: 注入null
- ignoreNullValue() - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置忽略空值,当源对象的值为null时,忽略而不注入此值
- IgnoreWatcher - Class in cn.hutool.core.io.watch.watchers
-
跳过所有事件处理Watcher
用户继承此类后实现需要监听的方法
- IgnoreWatcher() - Constructor for class cn.hutool.core.io.watch.watchers.IgnoreWatcher
-
- ih - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- IJSONTypeConverter - Interface in cn.hutool.core.bean.copier
-
JSON自定义转换扩展接口,因core模块无法直接调用json模块而创建,
使用此接口避免使用反射调用toBean方法而性能太差。
- IKAnalyzerEngine - Class in cn.hutool.extra.tokenizer.engine.ikanalyzer
-
IKAnalyzer分词引擎实现
项目地址:https://github.com/yozhao/IKAnalyzer
- IKAnalyzerEngine() - Constructor for class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerEngine
-
构造
- IKAnalyzerEngine(IKSegmenter) - Constructor for class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerEngine
-
- IKAnalyzerResult - Class in cn.hutool.extra.tokenizer.engine.ikanalyzer
-
IKAnalyzer分词结果实现
项目地址:https://github.com/yozhao/IKAnalyzer
- IKAnalyzerResult(IKSegmenter) - Constructor for class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerResult
-
构造
- IKAnalyzerWord - Class in cn.hutool.extra.tokenizer.engine.ikanalyzer
-
IKAnalyzer分词中的一个单词包装
- IKAnalyzerWord(Lexeme) - Constructor for class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerWord
-
构造
- image - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- image - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- IMAGE_TYPE_BMP - Static variable in class cn.hutool.core.img.ImgUtil
-
英文Bitmap(位图)的简写,它是Windows操作系统中的标准图像文件格式:BMP
- IMAGE_TYPE_GIF - Static variable in class cn.hutool.core.img.ImgUtil
-
图形交换格式:GIF
- IMAGE_TYPE_JPEG - Static variable in class cn.hutool.core.img.ImgUtil
-
联合照片专家组:JPEG
- IMAGE_TYPE_JPG - Static variable in class cn.hutool.core.img.ImgUtil
-
联合照片专家组:JPG
- IMAGE_TYPE_PNG - Static variable in class cn.hutool.core.img.ImgUtil
-
可移植网络图形:PNG
- IMAGE_TYPE_PSD - Static variable in class cn.hutool.core.img.ImgUtil
-
Photoshop的专用格式:PSD
- imageBytes - Variable in class cn.hutool.captcha.AbstractCaptcha
-
验证码图片
- IMAGES_TYPE - Static variable in class cn.hutool.core.img.BackgroundRemoval
-
目前暂时支持的图片类型数组
其他格式的不保证结果
- ImageSelection - Class in cn.hutool.core.swing.clipboard
-
- ImageSelection(Image) - Constructor for class cn.hutool.core.swing.clipboard.ImageSelection
-
构造
- Img - Class in cn.hutool.core.img
-
图像编辑器
- Img(BufferedImage) - Constructor for class cn.hutool.core.img.Img
-
构造,目标图片类型取决于来源图片类型
- Img(BufferedImage, String) - Constructor for class cn.hutool.core.img.Img
-
构造
- img - Variable in class cn.hutool.extra.qrcode.QrConfig
-
二维码中的Logo
- ImgUtil - Class in cn.hutool.core.img
-
图片处理工具类:
功能:缩放图像、切割图像、旋转、图像类型转换、彩色转黑白、文字水印、图片水印等
参考:http://blog.csdn.net/zhangzhikaixinya/article/details/8459400
- ImgUtil() - Constructor for class cn.hutool.core.img.ImgUtil
-
- in - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- in(String, T...) - Method in class cn.hutool.db.sql.SqlBuilder
-
多值选择
- in - Variable in class cn.hutool.http.HttpResponse
-
Http请求原始流
- increment() - Method in class cn.hutool.core.lang.mutable.MutableByte
-
值+1
- increment() - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
值+1
- increment() - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
值+1
- increment() - Method in class cn.hutool.core.lang.mutable.MutableInt
-
值+1
- increment() - Method in class cn.hutool.core.lang.mutable.MutableLong
-
值+1
- increment() - Method in class cn.hutool.core.lang.mutable.MutableShort
-
值+1
- increment(String) - Method in class cn.hutool.json.JSONObject
-
对值加一,如果值不存在,赋值1,如果为数字类型,做加一操作
- INDENT_DEFAULT - Static variable in class cn.hutool.core.util.XmlUtil
-
XML格式化输出默认缩进量
- index() - Method in class cn.hutool.core.io.FastByteBuffer
-
当前缓冲位于缓冲区的索引位
- index - Variable in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
- INDEX_NOT_FOUND - Static variable in class cn.hutool.core.text.CharSequenceUtil
-
- INDEX_NOT_FOUND - Static variable in interface cn.hutool.core.text.finder.Finder
-
- INDEX_NOT_FOUND - Static variable in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组中元素未找到的下标,值为-1
- IndexedComparator<T> - Class in cn.hutool.core.comparator
-
按照数组的顺序正序排列,数组的元素位置决定了对象的排序先后
默认的,如果参与排序的元素并不在数组中,则排序在前(可以通过atEndIfMiss设置)
- IndexedComparator(T...) - Constructor for class cn.hutool.core.comparator.IndexedComparator
-
构造
- IndexedComparator(boolean, T...) - Constructor for class cn.hutool.core.comparator.IndexedComparator
-
构造
- indexedFormat(CharSequence, Object...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
有序的格式化文本,使用{number}做为占位符
通常使用:format("this is {0} for {1}", "a", "b") =》 this is a for b
- indexedPixels - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- IndexInfo - Class in cn.hutool.db.meta
-
- IndexInfo(boolean, String, String, String, String) - Constructor for class cn.hutool.db.meta.IndexInfo
-
构造
- indexOf(Collection<T>, Matcher<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
获取匹配规则定义中匹配到元素的第一个位置
此方法对于某些无序集合的位置信息,以转换为数组后的位置为准。
- indexOf(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定范围内查找指定字符
- indexOf(CharSequence, char, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定范围内查找指定字符
- indexOf(CharSequence, char, int, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定范围内查找指定字符
- indexOf(CharSequence, CharSequence, int, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定范围内查找字符串
- indexOf(Object) - Method in class cn.hutool.core.text.csv.CsvRow
-
- indexOf(T[], Object, int) - Static method in class cn.hutool.core.util.ArrayUtil
-
- indexOf(T[], Object) - Static method in class cn.hutool.core.util.ArrayUtil
-
- indexOf(long[], long) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(int[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(short[], short) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(char[], char) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(byte[], byte) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(double[], double) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(float[], float) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(boolean[], boolean) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
找到指定正则匹配到字符串的开始位置
- indexOf(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
找到指定模式匹配到字符串的开始位置
- indexOf(Object) - Method in class cn.hutool.json.JSONArray
-
- indexOfAll(Collection<T>, Matcher<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
获取匹配规则定义中匹配到元素的所有位置
此方法对于某些无序集合的位置信息,以转换为数组后的位置为准。
- indexOfAll(List<T>, Matcher<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
获取匹配规则定义中匹配到元素的所有位置
- indexOfIgnoreCase(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定范围内查找字符串,忽略大小写
CharSequenceUtil.indexOfIgnoreCase(null, *, *) = -1
CharSequenceUtil.indexOfIgnoreCase(*, null, *) = -1
CharSequenceUtil.indexOfIgnoreCase("", "", 0) = 0
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "A", 0) = 0
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "B", 0) = 2
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "AB", 0) = 1
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "B", 3) = 5
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "B", 9) = -1
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "B", -1) = 2
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "", 2) = 2
CharSequenceUtil.indexOfIgnoreCase("abc", "", 9) = -1
- indexOfIgnoreCase(CharSequence, CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定范围内查找字符串
CharSequenceUtil.indexOfIgnoreCase(null, *, *) = -1
CharSequenceUtil.indexOfIgnoreCase(*, null, *) = -1
CharSequenceUtil.indexOfIgnoreCase("", "", 0) = 0
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "A", 0) = 0
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "B", 0) = 2
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "AB", 0) = 1
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "B", 3) = 5
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "B", 9) = -1
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "B", -1) = 2
CharSequenceUtil.indexOfIgnoreCase("aabaabaa", "", 2) = 2
CharSequenceUtil.indexOfIgnoreCase("abc", "", 9) = -1
- indexOfIgnoreCase(CharSequence[], CharSequence) - Static method in class cn.hutool.core.util.ArrayUtil
-
- indexOfSub(T[], T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
查找子数组的位置
- indexOfSub(T[], int, T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
查找子数组的位置
- indexToColName(int) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
将Sheet列号变为列名
- inflater() - Method in class cn.hutool.core.compress.Deflate
-
将压缩流解压到target中
- info(Throwable) - Method in class cn.hutool.log.AbstractLog
-
- info(String, Object...) - Method in class cn.hutool.log.AbstractLog
-
- info(Throwable, String, Object...) - Method in class cn.hutool.log.AbstractLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.logtube.LogTubeLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- info(Throwable) - Method in interface cn.hutool.log.level.InfoLog
-
打印 INFO 等级的日志
- info(String, Object...) - Method in interface cn.hutool.log.level.InfoLog
-
打印 INFO 等级的日志
- info(Throwable, String, Object...) - Method in interface cn.hutool.log.level.InfoLog
-
打印 INFO 等级的日志
- info(String, Throwable, String, Object...) - Method in interface cn.hutool.log.level.InfoLog
-
打印 INFO 等级的日志
- info(String, Object...) - Static method in class cn.hutool.log.StaticLog
-
Info等级日志,小于Warn
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
- info(Log, String, Object...) - Static method in class cn.hutool.log.StaticLog
-
Info等级日志,小于Warn
- InfoLog - Interface in cn.hutool.log.level
-
INFO级别日志接口
- init(String, String) - Method in class cn.hutool.bloomfilter.BitSetBloomFilter
-
- init(String, Charset) - Method in class cn.hutool.bloomfilter.BitSetBloomFilter
-
通过文件初始化过滤器.
- init(long, int) - Method in class cn.hutool.bloomfilter.filter.AbstractFilter
-
初始化
- init() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Initializes or re-initializes reader
- init() - Method in class cn.hutool.core.io.BOMInputStream
-
Read-ahead four bytes and check for BOM marks.
- init() - Method in class cn.hutool.core.io.watch.WatchMonitor
-
- init() - Method in class cn.hutool.core.io.watch.WatchServer
-
- init() - Method in class cn.hutool.core.lang.loader.AtomicLoader
-
初始化被加载的对象
如果对象从未被加载过,调用此方法初始化加载对象,此方法只被调用一次
- init() - Method in class cn.hutool.core.lang.loader.LazyFunLoader
-
- init() - Method in class cn.hutool.core.lang.loader.LazyLoader
-
初始化被加载的对象
如果对象从未被加载过,调用此方法初始化加载对象,此方法只被调用一次
- init() - Static method in class cn.hutool.core.thread.GlobalThreadPool
-
初始化全局线程池
- init(String, PrivateKey, PublicKey) - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
- init(String, PrivateKey, PublicKey) - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
初始化
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密(签名)或者解密(校验)
- init(String, PrivateKey, PublicKey) - Method in class cn.hutool.crypto.asymmetric.Sign
-
初始化
- init() - Method in class cn.hutool.crypto.asymmetric.SM2
-
初始化
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密(签名)或者解密(校验)
- init(String, Provider) - Method in class cn.hutool.crypto.digest.Digester
-
初始化
- init(Digest, CipherParameters) - Method in class cn.hutool.crypto.digest.mac.BCHMacEngine
-
初始化
- init(Mac, CipherParameters) - Method in class cn.hutool.crypto.digest.mac.BCMacEngine
-
初始化
- init(BlockCipher, CipherParameters) - Method in class cn.hutool.crypto.digest.mac.CBCBlockCipherMacEngine
-
初始化
- init(String, byte[]) - Method in class cn.hutool.crypto.digest.mac.DefaultHMacEngine
-
初始化
- init(String, Key) - Method in class cn.hutool.crypto.digest.mac.DefaultHMacEngine
-
初始化
- init(String, Key, AlgorithmParameterSpec) - Method in class cn.hutool.crypto.digest.mac.DefaultHMacEngine
-
初始化
- init(String, SecretKey) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
初始化
- init(String, String, String) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
初始化
- init(String, String, String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
初始化
- init(String, String, String, String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
初始化
- init(Table, ResultSet) - Method in class cn.hutool.db.meta.Column
-
初始化
- init() - Method in class cn.hutool.db.nosql.mongo.MongoDS
-
初始化,当给定分组数大于一个时使用
- init(String) - Method in class cn.hutool.db.nosql.redis.RedisDS
-
初始化Jedis客户端
- init(boolean, boolean, boolean, Level) - Method in enum cn.hutool.db.sql.SqlLog
-
设置全局配置:是否通过debug日志显示SQL
- init(Collection<String>, boolean) - Static method in class cn.hutool.dfa.SensitiveUtil
-
初始化敏感词树
- init(Collection<String>) - Static method in class cn.hutool.dfa.SensitiveUtil
-
初始化敏感词树
- init(String, char, boolean) - Static method in class cn.hutool.dfa.SensitiveUtil
-
初始化敏感词树
- init(String, boolean) - Static method in class cn.hutool.dfa.SensitiveUtil
-
初始化敏感词树,使用逗号分隔每个单词
- init() - Method in class cn.hutool.extra.ftp.Ftp
-
初始化连接
- init(String, int, String, String) - Method in class cn.hutool.extra.ftp.Ftp
-
初始化连接
- init(String, int, String, String, FtpMode) - Method in class cn.hutool.extra.ftp.Ftp
-
初始化连接
- init(FtpConfig, FtpMode) - Method in class cn.hutool.extra.ftp.Ftp
-
初始化连接
- init(PinyinStyleEnum) - Method in class cn.hutool.extra.pinyin.engine.houbbpinyin.HoubbPinyinEngine
-
初始化
- init(PinyinFormat) - Method in class cn.hutool.extra.pinyin.engine.jpinyin.JPinyinEngine
-
- init(HanyuPinyinOutputFormat) - Method in class cn.hutool.extra.pinyin.engine.pinyin4j.Pinyin4jEngine
-
初始化
- init(String, int, String, String, Charset) - Method in class cn.hutool.extra.ssh.Sftp
-
构造
- init() - Method in class cn.hutool.extra.ssh.Sftp
-
初始化
- init(FtpConfig) - Method in class cn.hutool.extra.ssh.Sftp
-
初始化
- init(Session, Charset) - Method in class cn.hutool.extra.ssh.Sftp
-
初始化
- init(ChannelSftp, Charset) - Method in class cn.hutool.extra.ssh.Sftp
-
初始化
- init() - Method in class cn.hutool.extra.ssh.SshjSftp
-
SSH 初始化并创建一个sftp客户端.
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.beetl.BeetlEngine
-
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.enjoy.EnjoyEngine
-
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.freemarker.FreemarkerEngine
-
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.jetbrick.JetbrickEngine
-
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.rythm.RythmEngine
-
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.thymeleaf.ThymeleafEngine
-
- init(ExtProperties) - Method in class cn.hutool.extra.template.engine.velocity.SimpleStringResourceLoader
-
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.velocity.VelocityEngine
-
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.wit.WitEngine
-
- init(TemplateConfig) - Method in interface cn.hutool.extra.template.TemplateEngine
-
使用指定配置文件初始化模板引擎
- init(SoapProtocol) - Method in class cn.hutool.http.webservice.SoapClient
-
初始化
- init(URL, Charset) - Method in class cn.hutool.setting.GroupedSet
-
初始化设定文件
- init(Resource, Charset, boolean) - Method in class cn.hutool.setting.Setting
-
初始化设定文件
- init(InetSocketAddress) - Method in class cn.hutool.socket.aio.AioServer
-
初始化
- init(InetSocketAddress) - Method in class cn.hutool.socket.nio.NioClient
-
初始化
- init(InetSocketAddress) - Method in class cn.hutool.socket.nio.NioServer
-
初始化
- INITALPHA - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- initCache() - Method in class cn.hutool.cache.file.AbstractFileCache
-
初始化实现文件缓存的缓存对象
- initCache() - Method in class cn.hutool.cache.file.LFUFileCache
-
- initCache() - Method in class cn.hutool.cache.file.LRUFileCache
-
- initCipher() - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
- initCipher() - Method in class cn.hutool.crypto.asymmetric.RSA
-
- initCloud() - Method in class cn.hutool.db.nosql.mongo.MongoDS
-
初始化集群
集群的其它客户端设定参数使用全局设定
集群中每一个实例成员用一个group表示,例如:
user = test1
pass = 123456
database = test
[db0]
host = 192.168.1.1:27117
[db1]
host = 192.168.1.1:27118
[db2]
host = 192.168.1.1:27119
- initConn() - Method in class cn.hutool.http.HttpConnection
-
初始化连接相关信息
- initKeys() - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
生成公钥和私钥
- initKeys() - Method in class cn.hutool.crypto.asymmetric.SM2
-
- initMode(int, Key) - Method in class cn.hutool.crypto.CipherWrapper
-
- INITRAD - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- INITRADIUS - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- initSingle() - Method in class cn.hutool.db.nosql.mongo.MongoDS
-
初始化
设定文件中的host和端口有三种形式:
host = host:port
host = host
port = port
host = host
- input() - Static method in class cn.hutool.core.lang.Console
-
读取用户输入的内容(在控制台敲回车前的内容)
- InputStreamResource - Class in cn.hutool.core.io.resource
-
- InputStreamResource(InputStream) - Constructor for class cn.hutool.core.io.resource.InputStreamResource
-
构造
- InputStreamResource(InputStream, String) - Constructor for class cn.hutool.core.io.resource.InputStreamResource
-
构造
- insert(int, Object) - Method in class cn.hutool.core.text.StrBuilder
-
追加对象,对象会被转换为字符串
- insert(int, char) - Method in class cn.hutool.core.text.StrBuilder
-
插入指定字符
- insert(int, char[]) - Method in class cn.hutool.core.text.StrBuilder
-
指定位置插入数据
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
- insert(int, char[], int, int) - Method in class cn.hutool.core.text.StrBuilder
-
指定位置插入数据
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
- insert(int, CharSequence) - Method in class cn.hutool.core.text.StrBuilder
-
指定位置插入字符串的某个部分
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
- insert(int, CharSequence, int, int) - Method in class cn.hutool.core.text.StrBuilder
-
指定位置插入字符串的某个部分
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
- insert(T[], int, T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
将新元素插入到到已有数组中的某个位置
添加新元素会生成一个新的数组,不影响原数组
如果插入位置为为负数,从原数组从后向前计数,若大于原数组长度,则空白处用null填充
- insert(Object, int, T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
将新元素插入到到已有数组中的某个位置
添加新元素会生成一个新的数组,不影响原数组
如果插入位置为为负数,从原数组从后向前计数,若大于原数组长度,则空白处用null填充
- insert(Entity) - Method in class cn.hutool.db.AbstractDb
-
插入数据
- insert(Collection<Entity>) - Method in class cn.hutool.db.AbstractDb
-
批量插入数据
需要注意的是,批量插入每一条数据结构必须一致。
- insert(Connection, Entity...) - Method in class cn.hutool.db.DialectRunner
-
批量插入数据
批量插入必须严格保持Entity的结构一致,不一致会导致插入数据出现不可预知的结果
此方法不会关闭Connection
- insert(Connection, Entity, RsHandler<T>) - Method in class cn.hutool.db.DialectRunner
-
插入数据
此方法不会关闭Connection
- insert(Entity) - Method in class cn.hutool.db.sql.SqlBuilder
-
插入,使用默认的ANSI方言
- insert(Entity, DialectName) - Method in class cn.hutool.db.sql.SqlBuilder
-
插入
插入会忽略空的字段名及其对应值,但是对于有字段名对应值为null
的情况不忽略
- insert(Entity, String) - Method in class cn.hutool.db.sql.SqlBuilder
-
插入
插入会忽略空的字段名及其对应值,但是对于有字段名对应值为null
的情况不忽略
- insert(Connection, Collection<Entity>) - Method in class cn.hutool.db.SqlConnRunner
-
批量插入数据
需要注意的是,批量插入每一条数据结构必须一致。
- insert(Connection, Entity) - Method in class cn.hutool.db.SqlConnRunner
-
插入数据
此方法不会关闭Connection
- insertForGeneratedKey(Entity) - Method in class cn.hutool.db.AbstractDb
-
插入数据
- insertForGeneratedKey(Connection, Entity) - Method in class cn.hutool.db.SqlConnRunner
-
插入数据
此方法不会关闭Connection
- insertForGeneratedKeys(Entity) - Method in class cn.hutool.db.AbstractDb
-
插入数据
- insertForGeneratedKeys(Connection, Entity) - Method in class cn.hutool.db.SqlConnRunner
-
插入数据
此方法不会关闭Connection
- insertOrUpdate(Entity, String...) - Method in class cn.hutool.db.AbstractDb
-
插入或更新数据
根据给定的字段名查询数据,如果存在则更新这些数据,否则执行插入
- insertOrUpdate(Connection, Entity, String...) - Method in class cn.hutool.db.DialectRunner
-
插入或更新数据
此方法不会关闭Connection
- insertPreFragment(Object) - Method in class cn.hutool.db.sql.SqlBuilder
-
在SQL的开头补充SQL片段
- insertRow(Sheet, int, int) - Static method in class cn.hutool.poi.excel.RowUtil
-
插入行
- INSTANCE - Static variable in class cn.hutool.aop.proxy.JdkProxyFactory
-
获取单例
- INSTANCE - Static variable in class cn.hutool.core.codec.Base32Codec
-
- INSTANCE - Static variable in class cn.hutool.core.codec.Base58Codec
-
- INSTANCE - Static variable in class cn.hutool.core.codec.Base62Codec
-
- INSTANCE - Static variable in class cn.hutool.core.comparator.ComparableComparator
-
单例
- INSTANCE - Static variable in class cn.hutool.core.comparator.LengthComparator
-
单例的字符串长度比较器,短在前
- INSTANCE - Static variable in class cn.hutool.core.comparator.VersionComparator
-
单例
- INSTANCE - Static variable in class cn.hutool.core.comparator.WindowsExplorerStringComparator
-
单例
- INSTANCE - Static variable in class cn.hutool.core.io.file.visitor.DelVisitor
-
- INSTANCE - Static variable in class cn.hutool.core.net.DefaultTrustManager
-
默认的全局单例默认信任管理器,默认信任所有客户端和服务端证书
- INSTANCE - Static variable in class cn.hutool.core.thread.lock.NoLock
-
- INSTANCE - Static variable in class cn.hutool.cron.pattern.matcher.AlwaysTrueMatcher
-
- INSTANCE - Static variable in class cn.hutool.poi.excel.cell.setters.NullCellSetter
-
- instance() - Static method in class cn.hutool.script.JavaScriptEngine
-
引擎实例
- InstanceComparator<T> - Class in cn.hutool.core.comparator
-
按照指定类型顺序排序,对象顺序取决于对象对应的类在数组中的位置。
- InstanceComparator(Class<?>...) - Constructor for class cn.hutool.core.comparator.InstanceComparator
-
构造
- InstanceComparator(boolean, Class<?>...) - Constructor for class cn.hutool.core.comparator.InstanceComparator
-
构造
- INTBIAS - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- INTBIASSHIFT - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- intercept(Object, Method, Object[], MethodProxy) - Method in class cn.hutool.aop.interceptor.CglibInterceptor
-
- intercept(Object, Method, Object[], MethodProxy) - Method in class cn.hutool.aop.interceptor.SpringCglibInterceptor
-
- INTERFACE - Static variable in interface cn.hutool.core.annotation.scanner.AnnotationScanner
-
扫描元素本身以及父接口的层级结构中声明的注解的扫描器
- INTERFACE_AND_META_ANNOTATION - Static variable in interface cn.hutool.core.annotation.scanner.AnnotationScanner
-
扫描元素本身以及父接口的层级结构中声明的注解,以及这些注解的元注解的扫描器
- interfereCount - Variable in class cn.hutool.captcha.AbstractCaptcha
-
验证码干扰元素个数
- interlace - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- intern(T) - Method in interface cn.hutool.core.lang.intern.Interner
-
返回指定对象对应的规范化对象,sample对象可能有多个,但是这些对象如果都equals,则返回的是同一个对象
- intern(String) - Method in class cn.hutool.core.lang.intern.JdkStringInterner
-
- intern(T) - Method in class cn.hutool.core.lang.intern.WeakInterner
-
- InternalJSONUtil - Class in cn.hutool.json
-
内部JSON工具类,仅用于JSON内部使用
- InternalMailUtil - Class in cn.hutool.extra.mail
-
邮件内部工具类
- InternalMailUtil() - Constructor for class cn.hutool.extra.mail.InternalMailUtil
-
- Interner<T> - Interface in cn.hutool.core.lang.intern
-
- InternUtil - Class in cn.hutool.core.lang.intern
-
规范化对象生成工具
- InternUtil() - Constructor for class cn.hutool.core.lang.intern.InternUtil
-
- interrupt(Thread, boolean) - Static method in class cn.hutool.core.thread.ThreadUtil
-
- intersection(Collection<T>, Collection<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
两个集合的交集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最少的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c],此结果中只保留了两个c
- intersection(Collection<T>, Collection<T>, Collection<T>...) - Static method in class cn.hutool.core.collection.CollUtil
-
多个集合的交集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最少的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c],此结果中只保留了两个c
- intersectionDistinct(Collection<T>, Collection<T>, Collection<T>...) - Static method in class cn.hutool.core.collection.CollUtil
-
多个集合的交集
针对一个集合中存在多个相同元素的情况,只保留一个
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c],此结果中只保留了一个c
- interval(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔时间(毫秒数)
如果使用纳秒计时,返回纳秒差,否则返回毫秒差
如果分组下没有开始时间,返回null
- interval(String, DateUnit) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔时间
- interval() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔时间(毫秒数)
如果使用纳秒计时,返回纳秒差,否则返回毫秒差
- intervalDay(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔天数,取绝对值
- intervalDay() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔天数,取绝对值
- intervalHour(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔小时数,取绝对值
- intervalHour() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔小时数,取绝对值
- intervalMinute(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔分钟数,取绝对值
- intervalMinute() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔分钟数,取绝对值
- intervalMs(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔时间(毫秒数)
- intervalMs() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔时间(毫秒数)
- intervalPretty(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔时间(毫秒数),返回XX天XX小时XX分XX秒XX毫秒
- intervalPretty() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔时间(毫秒数),返回XX天XX小时XX分XX秒XX毫秒
- intervalRestart(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
重新计时并返回从开始到当前的持续时间秒
如果此分组下没有记录,则返回0;
- intervalRestart() - Method in class cn.hutool.core.date.TimeInterval
-
- intervalSecond(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔秒数,取绝对值
- intervalSecond() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔秒数,取绝对值
- intervalWeek(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔周数,取绝对值
- intervalWeek() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔周数,取绝对值
- intHash(int) - Static method in class cn.hutool.core.util.HashUtil
-
Thomas Wang的算法,整数hash
- IntMap - Class in cn.hutool.bloomfilter.bitMap
-
过滤器BitMap在32位机器上.这个类能发生更好的效果.一般情况下建议使用此类
- IntMap() - Constructor for class cn.hutool.bloomfilter.bitMap.IntMap
-
构造
- IntMap(int) - Constructor for class cn.hutool.bloomfilter.bitMap.IntMap
-
构造
- intToByte(int) - Static method in class cn.hutool.core.convert.Convert
-
int转byte
- intToByte(int) - Static method in class cn.hutool.core.util.ByteUtil
-
int转byte
- intToBytes(int) - Static method in class cn.hutool.core.convert.Convert
-
int转byte数组
默认以小端序转换
- intToBytes(int) - Static method in class cn.hutool.core.util.ByteUtil
-
int转byte数组
默认以小端序转换
- intToBytes(int, ByteOrder) - Static method in class cn.hutool.core.util.ByteUtil
-
int转byte数组
自定义端序
- intVal() - Method in interface cn.hutool.core.lang.EnumItem
-
- intValue() - Method in class cn.hutool.core.convert.NumberWithFormat
-
- intValue() - Method in class cn.hutool.core.lang.hash.Number128
-
- intValue() - Method in class cn.hutool.core.lang.mutable.MutableByte
-
- intValue() - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
- intValue() - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
- intValue() - Method in class cn.hutool.core.lang.mutable.MutableInt
-
- intValue() - Method in class cn.hutool.core.lang.mutable.MutableLong
-
- intValue() - Method in class cn.hutool.core.lang.mutable.MutableShort
-
- INVALID_REGEX - Static variable in class cn.hutool.core.util.XmlUtil
-
在XML中无效的字符 正则
- inverse(Map<K, V>) - Static method in class cn.hutool.core.map.MapUtil
-
Map的键和值互换
互换键值对不检查值是否有重复,如果有则后加入的元素替换先加入的元素
值的顺序在HashMap中不确定,所以谁覆盖谁也不确定,在有序的Map中按照先后顺序覆盖,保留最后的值
- INVERTED_DECODER - Static variable in class cn.hutool.core.codec.Base62Codec.Base62Decoder
-
- INVERTED_ENCODER - Static variable in class cn.hutool.core.codec.Base62Codec.Base62Encoder
-
- InvocationTargetRuntimeException - Exception in cn.hutool.core.exceptions
-
InvocationTargetException的运行时异常
- InvocationTargetRuntimeException(Throwable) - Constructor for exception cn.hutool.core.exceptions.InvocationTargetRuntimeException
-
- InvocationTargetRuntimeException(String) - Constructor for exception cn.hutool.core.exceptions.InvocationTargetRuntimeException
-
- InvocationTargetRuntimeException(String, Object...) - Constructor for exception cn.hutool.core.exceptions.InvocationTargetRuntimeException
-
- InvocationTargetRuntimeException(String, Throwable) - Constructor for exception cn.hutool.core.exceptions.InvocationTargetRuntimeException
-
- InvocationTargetRuntimeException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.core.exceptions.InvocationTargetRuntimeException
-
- InvocationTargetRuntimeException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.exceptions.InvocationTargetRuntimeException
-
- invoke(Object, Method, Object[]) - Method in class cn.hutool.aop.interceptor.JdkInterceptor
-
- invoke(Object, Method, Object[]) - Method in class cn.hutool.core.annotation.AnnotationProxy
-
- invoke(Object, Method, Object[]) - Method in class cn.hutool.core.annotation.SynthesizedAnnotationProxy
-
- invoke(String, Object...) - Method in class cn.hutool.core.bean.DynaBean
-
执行原始Bean中的方法
- invoke(Object, Method, Object...) - Static method in class cn.hutool.core.lang.reflect.MethodHandleUtil
-
执行接口或对象中的方法
- invoke(boolean, Object, Method, Object...) - Static method in class cn.hutool.core.lang.reflect.MethodHandleUtil
-
执行接口或对象中的方法
interface Duck {
default String quack() {
return "Quack";
}
}
Duck duck = (Duck) Proxy.newProxyInstance(
ClassLoaderUtil.getClassLoader(),
new Class[] { Duck.class },
MethodHandleUtil::invoke);
- invoke(Object, Method, Object[]) - Method in class cn.hutool.core.map.MapProxy
-
- invoke(String, Object[]) - Static method in class cn.hutool.core.util.ClassUtil
-
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
非单例模式,如果是非静态方法,每次创建一个新对象
- invoke(String, boolean, Object...) - Static method in class cn.hutool.core.util.ClassUtil
-
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
- invoke(String, String, Object[]) - Static method in class cn.hutool.core.util.ClassUtil
-
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
非单例模式,如果是非静态方法,每次创建一个新对象
- invoke(String, String, boolean, Object...) - Static method in class cn.hutool.core.util.ClassUtil
-
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
- invoke(Object, Method, Object...) - Static method in class cn.hutool.core.util.ReflectUtil
-
执行方法
对于用户传入参数会做必要检查,包括:
1、忽略多余的参数
2、参数不够补齐默认值
3、传入参数为null,但是目标参数类型为原始类型,做转换
- invoke(Object, String, Object...) - Static method in class cn.hutool.core.util.ReflectUtil
-
执行对象中指定方法
如果需要传递的参数为null,请使用NullWrapperBean来传递,不然会丢失类型信息
- invoke(String, String, Object...) - Static method in class cn.hutool.script.ScriptUtil
-
执行JS脚本中的指定方法
- invokeAll(Collection<? extends Callable<T>>) - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- invokeAny(Collection<? extends Callable<T>>) - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- invokeFunction(String, Object...) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- invokeFunction(String, Object...) - Method in class cn.hutool.script.JavaScriptEngine
-
- invokeMethod(Object, String, Object...) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- invokeMethod(Object, String, Object...) - Method in class cn.hutool.script.JavaScriptEngine
-
- invokeRaw(Object, Method, Object...) - Static method in class cn.hutool.core.util.ReflectUtil
-
执行方法
对于用户传入参数会做必要检查,包括:
1、忽略多余的参数
2、参数不够补齐默认值
3、传入参数为null,但是目标参数类型为原始类型,做转换
- invokeSpecial(Object, String, Object...) - Static method in class cn.hutool.core.lang.reflect.MethodHandleUtil
-
执行接口或对象中的特殊方法(private、static等)
interface Duck {
default String quack() {
return "Quack";
}
}
Duck duck = (Duck) Proxy.newProxyInstance(
ClassLoaderUtil.getClassLoader(),
new Class[] { Duck.class },
MethodHandleUtil::invokeDefault);
- invokeSpecial(Object, Method, Object...) - Static method in class cn.hutool.core.lang.reflect.MethodHandleUtil
-
执行接口或对象中的特殊方法(private、static等)
interface Duck {
default String quack() {
return "Quack";
}
}
Duck duck = (Duck) Proxy.newProxyInstance(
ClassLoaderUtil.getClassLoader(),
new Class[] { Duck.class },
MethodHandleUtil::invoke);
- invokeStatic(Method, Object...) - Static method in class cn.hutool.core.util.ReflectUtil
-
执行静态方法
- InvokeTask - Class in cn.hutool.cron.task
-
反射执行任务
通过传入类名#方法名,通过反射执行相应的方法
如果是静态方法直接执行,如果是对象方法,需要类有默认的构造方法。
- InvokeTask(String) - Constructor for class cn.hutool.cron.task.InvokeTask
-
构造
- invokeWithCheck(Object, Method, Object...) - Static method in class cn.hutool.core.util.ReflectUtil
-
执行方法
执行前要检查给定参数:
1.
- inxbuild() - Method in class cn.hutool.core.img.gif.NeuQuant
-
- ioAction - Variable in class cn.hutool.socket.aio.AioServer
-
- IoAction<T> - Interface in cn.hutool.socket.aio
-
Socket流处理接口
实现此接口用于处理接收到的消息,发送指定消息
- IoCopier<S,T> - Class in cn.hutool.core.io.copy
-
IO拷贝抽象,可自定义包括缓存、进度条等信息
此对象非线程安全
- IoCopier(int, long, StreamProgress) - Constructor for class cn.hutool.core.io.copy.IoCopier
-
构造
- IORuntimeException - Exception in cn.hutool.core.io
-
IO运行时异常,常用于对IOException的包装
- IORuntimeException(Throwable) - Constructor for exception cn.hutool.core.io.IORuntimeException
-
- IORuntimeException(String) - Constructor for exception cn.hutool.core.io.IORuntimeException
-
- IORuntimeException(String, Object...) - Constructor for exception cn.hutool.core.io.IORuntimeException
-
- IORuntimeException(String, Throwable) - Constructor for exception cn.hutool.core.io.IORuntimeException
-
- IORuntimeException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.io.IORuntimeException
-
- IoUtil - Class in cn.hutool.core.io
-
IO工具类
IO工具类只是辅助流的读写,并不负责关闭流。
- IoUtil() - Constructor for class cn.hutool.core.io.IoUtil
-
- IP_MASK_MAX - Static variable in class cn.hutool.core.net.Ipv4Util
-
最大掩码位
- IP_MASK_SPLIT_MARK - Static variable in class cn.hutool.core.net.Ipv4Util
-
IP与掩码的分割符
- IP_SPLIT_MARK - Static variable in class cn.hutool.core.net.Ipv4Util
-
IP段的分割符
- IPAD - Static variable in class cn.hutool.http.useragent.Platform
-
ipad
- IPHONE - Static variable in class cn.hutool.http.useragent.Platform
-
Iphone
- IPOD - Static variable in class cn.hutool.http.useragent.Platform
-
ipod
- IPV4 - Static variable in class cn.hutool.core.lang.PatternPool
-
IP v4
- IPV4 - Static variable in interface cn.hutool.core.lang.RegexPool
-
IP v4
采用分组方式便于解析地址的每一个段
- IPV4 - Static variable in class cn.hutool.core.lang.Validator
-
IP v4
- ipv4(String) - Static method in class cn.hutool.core.util.DesensitizedUtil
-
IPv4脱敏,如:脱敏前:192.0.2.1;脱敏后:192.*.*.*。
- ipv4ToLong(String) - Static method in class cn.hutool.core.net.Ipv4Util
-
根据ip地址(xxx.xxx.xxx.xxx)计算出long型的数据
方法别名:inet_aton
- ipv4ToLong(String, long) - Static method in class cn.hutool.core.net.Ipv4Util
-
根据ip地址(xxx.xxx.xxx.xxx)计算出long型的数据, 如果格式不正确返回 defaultValue
- ipv4ToLong(String) - Static method in class cn.hutool.core.net.NetUtil
-
根据ip地址计算出long型的数据
- Ipv4Util - Class in cn.hutool.core.net
-
IPV4地址工具类
pr自:https://gitee.com/loolly/hutool/pulls/161
- Ipv4Util() - Constructor for class cn.hutool.core.net.Ipv4Util
-
- IPV6 - Static variable in class cn.hutool.core.lang.PatternPool
-
IP v6
- IPV6 - Static variable in interface cn.hutool.core.lang.RegexPool
-
IP v6
- IPV6 - Static variable in class cn.hutool.core.lang.Validator
-
IP v6
- ipv6(String) - Static method in class cn.hutool.core.util.DesensitizedUtil
-
IPv6脱敏,如:脱敏前:2001:0db8:86a3:08d3:1319:8a2e:0370:7344;脱敏后:2001:*:*:*:*:*:*:*
- ipv6ToBigInteger(String) - Static method in class cn.hutool.core.net.NetUtil
-
将IPv6地址字符串转为大整数
- ipv6ToBitInteger(String) - Static method in class cn.hutool.core.net.NetUtil
-
- IS_ANDROID - Static variable in class cn.hutool.core.util.JdkUtil
-
是否Android环境
- IS_AT_LEAST_JDK17 - Static variable in class cn.hutool.core.util.JdkUtil
-
是否大于等于JDK17
- IS_JDK8 - Static variable in class cn.hutool.core.util.JdkUtil
-
是否JDK8
由于Hutool基于JDK8编译,当使用JDK版本低于8时,不支持。
- isAbsolutePath(String) - Static method in class cn.hutool.core.io.FileUtil
-
给定路径已经是绝对路径
此方法并没有针对路径做标准化,建议先执行
FileUtil.normalize(String)
方法标准化路径后判断
绝对路径判断条件是:
以/开头的路径
满足类似于 c:/xxxxx,其中祖母随意,不区分大小写
满足类似于 d:\xxxxx,其中祖母随意,不区分大小写
满足windows SMB协议格式,如: \\192.168.254.1\Share
- 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
-
是否在给定日期之后
- isAfter(YearQuarter) - Method in class cn.hutool.core.date.YearQuarter
-
判断是否在指定年份季度之后
- isAfterOrEquals(Date) - Method in class cn.hutool.core.date.DateTime
-
是否在给定日期之后或与给定日期相等
- isAix() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isAllAssignableFrom(Class<?>[], Class<?>[]) - Static method in class cn.hutool.core.util.ClassUtil
-
比较判断types1和types2两组类,如果types1中所有的类都与types2对应位置的类相同,或者是其父类或接口,则返回true
- isAllBlank(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串数组中的元素,是否全部为空字符串。
- isAllCharMatch(CharSequence, Matcher<Character>) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
字符串的每一个字符是否都与定义的匹配器匹配
- isAllEmpty(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串数组中的元素,是否全部为空字符串。
- isAllEmpty(Object...) - Static method in class cn.hutool.core.util.ArrayUtil
-
- isAllEmpty(Object...) - Static method in class cn.hutool.core.util.ObjectUtil
-
- isAllNotBlank(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
- isAllNotEmpty(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串数组中的元素,是否都不为空字符串。
- isAllNotEmpty(Object...) - Static method in class cn.hutool.core.util.ArrayUtil
-
- isAllNotEmpty(Object...) - Static method in class cn.hutool.core.util.ObjectUtil
-
- isAllNotNull(T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
多个字段是否全部不为null
- isAllNull(Iterable<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
是否全部元素为null
- isAllNull(Iterator<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
是否全部元素为null
- isAllNull(T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
多个字段是否全为null
- isAllowFileExts - Variable in class cn.hutool.core.net.multipart.UploadSetting
-
扩展名是允许列表还是禁止列表
- isAllowFileExts() - Method in class cn.hutool.core.net.multipart.UploadSetting
-
是否允许文件扩展名
- isAlwaysMakeTags() - Method in class cn.hutool.http.HTMLFilter
-
- isAM(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
是否为上午
- isAM() - Method in class cn.hutool.core.date.DateTime
-
是否为上午
- isAM(Date) - Static method in class cn.hutool.core.date.DateUtil
-
是否为上午
- isAndroid() - Method in class cn.hutool.http.useragent.Platform
-
是否为Android平台,包括Android和Google TV
- isAnnotationPresent(Class<? extends Annotation>) - Method in interface cn.hutool.core.annotation.AggregateAnnotation
-
在聚合中是否存在的指定类型注解对象
- isAnnotationPresent(Class<? extends Annotation>) - Method in class cn.hutool.core.annotation.CombinationAnnotationElement
-
- isAnnotationPresent(Class<? extends Annotation>) - Method in class cn.hutool.core.annotation.GenericSynthesizedAggregateAnnotation
-
当前合成注解中是否存在指定元注解
- isArray(Object) - Static method in class cn.hutool.core.util.ArrayUtil
-
对象是否为数组对象
- isAscii(char) - Static method in class cn.hutool.core.util.CharUtil
-
是否为ASCII字符,ASCII字符位于0~127之间
CharUtil.isAscii('a') = true
CharUtil.isAscii('A') = true
CharUtil.isAscii('3') = true
CharUtil.isAscii('-') = true
CharUtil.isAscii('\n') = true
CharUtil.isAscii('©') = false
- isAsciiControl(char) - Static method in class cn.hutool.core.util.CharUtil
-
是否为ASCII控制符(不可见字符),控制符位于0~31和127
CharUtil.isAsciiControl('a') = false
CharUtil.isAsciiControl('A') = false
CharUtil.isAsciiControl('3') = false
CharUtil.isAsciiControl('-') = false
CharUtil.isAsciiControl('\n') = true
CharUtil.isAsciiControl('©') = false
- isAsciiPrintable(char) - Static method in class cn.hutool.core.util.CharUtil
-
是否为可见ASCII字符,可见字符位于32~126之间
CharUtil.isAsciiPrintable('a') = true
CharUtil.isAsciiPrintable('A') = true
CharUtil.isAsciiPrintable('3') = true
CharUtil.isAsciiPrintable('-') = true
CharUtil.isAsciiPrintable('\n') = false
CharUtil.isAsciiPrintable('©') = false
- isAssignable(Class<?>, Class<?>) - Static method in class cn.hutool.core.lang.Assert
-
断言 superType.isAssignableFrom(subType)
是否为 true
.
- isAssignable(Class<?>, Class<?>, String, Object...) - Static method in class cn.hutool.core.lang.Assert
-
断言 superType.isAssignableFrom(subType)
是否为 true
.
- isAssignable(Class<?>, Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
检查目标类是否可以从原类转化
转化包括:
1、原类是对象,目标类型是原类型实现的接口
2、目标类型是原类型的父类
3、两者是原始类型或者包装类型(相互转换)
- isAuth() - Method in class cn.hutool.extra.mail.MailAccount
-
是否需要用户名密码验证
- isAutoIncrement() - Method in class cn.hutool.db.meta.Column
-
是否自增
- isBackToPwd() - Method in class cn.hutool.extra.ftp.Ftp
-
是否执行完操作返回当前目录
- isBase64(CharSequence) - Static method in class cn.hutool.core.codec.Base64
-
检查是否为Base64
- isBase64(byte[]) - Static method in class cn.hutool.core.codec.Base64
-
检查是否为Base64
- isBase64Code(byte) - Static method in class cn.hutool.core.codec.Base64Decoder
-
给定的字符是否为Base64字符
- isBasicType(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为基本类型(包括包装类和原始类)
- isBasicType(Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
是否为基本类型,包括包装类型和非包装类型
- isBean(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断是否为Bean对象,判定方法是:
1、是否存在只有一个参数的setXXX方法
2、是否存在public类型的字段
- isBefore(Date) - Method in class cn.hutool.core.date.DateTime
-
是否在给定日期之前
- isBefore(YearQuarter) - Method in class cn.hutool.core.date.YearQuarter
-
判断是否在指定年份季度之前
- isBeforeOrEquals(Date) - Method in class cn.hutool.core.date.DateTime
-
是否在给定日期之前或与给定日期相等
- isBeside(long, long) - Static method in class cn.hutool.core.util.NumberUtil
-
判断两个数字是否相邻,例如1和2相邻,1和3不相邻
判断方法为做差取绝对值判断是否为1
- isBeside(int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
判断两个数字是否相邻,例如1和2相邻,1和3不相邻
判断方法为做差取绝对值判断是否为1
- isBetween(Number, Number, Number) - Static method in class cn.hutool.core.lang.Validator
-
检查给定的数字是否在指定范围内
- isBirthday(int, int, int) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为生日
- isBirthday(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为生日
只支持以下几种格式:
yyyyMMdd
yyyy-MM-dd
yyyy/MM/dd
yyyy.MM.dd
yyyy年MM月dd日
- isBlank(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
- isBlankChar(char) - Static method in class cn.hutool.core.util.CharUtil
-
是否空白符
空白符包括空格、制表符、全角空格和不间断空格
- isBlankChar(int) - Static method in class cn.hutool.core.util.CharUtil
-
是否空白符
空白符包括空格、制表符、全角空格和不间断空格
- isBlankIfStr(Object) - Static method in class cn.hutool.core.util.StrUtil
-
如果对象是字符串是否为空白,空白的定义如下:
null
空字符串:
""
空格、全角空格、制表符、换行符,等不可见字符
例:
StrUtil.isBlankIfStr(null) // true
StrUtil.isBlankIfStr("") // true
StrUtil.isBlankIfStr(" \t\n") // true
StrUtil.isBlankIfStr("abc") // false
注意:该方法与
StrUtil.isEmptyIfStr(Object)
的区别是:
该方法会校验空白字符,且性能相对于
StrUtil.isEmptyIfStr(Object)
略慢。
- isBlankOrUndefined(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
检查字符串是否为null、空白串、“null”、“undefined”
- isBoolean(Class<?>) - Static method in class cn.hutool.core.util.BooleanUtil
-
给定类是否为Boolean或者boolean
- isBoundary(byte) - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
- isCalledBy(Class<?>) - Method in interface cn.hutool.core.lang.caller.Caller
-
是否被指定类调用
- isCalledBy(Class<?>) - Static method in class cn.hutool.core.lang.caller.CallerUtil
-
是否被指定类调用
- isCalledBy(Class<?>) - Method in class cn.hutool.core.lang.caller.SecurityManagerCaller
-
- isCalledBy(Class<?>) - Method in class cn.hutool.core.lang.caller.StackTraceCaller
-
- isCarDrivingLicence(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为驾驶证 别名:驾驶证档案编号、行驶证编号
仅限:中国驾驶证档案编号
- isCarVin(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为车架号;别名:行驶证编号 车辆识别代号 车辆识别码
- isCausedBy(Throwable, Class<? extends Exception>...) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
判断是否由指定异常类引起
- isChar(Object) - Static method in class cn.hutool.core.util.CharUtil
-
给定对象对应的类是否为字符类,字符类包括:
Character.class
char.class
- isCharClass(Class<?>) - Static method in class cn.hutool.core.util.CharUtil
-
给定类名是否为字符类,字符类包括:
Character.class
char.class
- isCharEquals(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
检查给定字符串的所有字符是否都一样
- isCheckDuplicate() - Method in class cn.hutool.json.JSONConfig
-
是否检查多个相同的key
- isChinese(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否都为汉字
- isChinese(char) - Static method in class cn.hutool.extra.pinyin.PinyinUtil
-
是否为中文字符
- isChineseName(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
是否是中文姓名
维吾尔族姓名里面的点是 · 输入法中文状态下,键盘左上角数字1前面的那个符号;
错误字符:..。..
- isChunked() - Method in class cn.hutool.http.HttpResponse
-
是否为Transfer-Encoding:Chunked的内容
- isCitizenId(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为身份证号码(支持18位、15位和港澳台的10位)
- isClosed - Variable in class cn.hutool.core.io.watch.WatchServer
-
监听是否已经关闭
- isClosed() - Method in class cn.hutool.db.ds.pooled.PooledConnection
-
连接是否关闭,关闭条件:
1、被归还到池中
2、实际连接已关闭
- isClosed() - Method in class cn.hutool.db.sql.StatementWrapper
-
- isClosed - Variable in class cn.hutool.poi.excel.ExcelBase
-
是否被关闭
- isClosed - Variable in class cn.hutool.poi.word.Word07Writer
-
是否被关闭
- isCloseOnCompletion() - Method in class cn.hutool.db.sql.StatementWrapper
-
- isCommonFieldsEqual(Object, Object, String...) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断source与target的所有公共字段的值是否相同
- isConnected(AsynchronousSocketChannel) - Static method in class cn.hutool.socket.SocketUtil
-
远程主机是否处于连接状态
通过判断远程地址获取成功与否判断
- isCopyAttributes() - Method in class cn.hutool.core.io.file.FileCopier
-
是否拷贝所有属性
- isCopyContentIfDir() - Method in class cn.hutool.core.io.file.FileCopier
-
当拷贝来源是目录时是否只拷贝目录下的内容
- isCreditCode(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
是否是有效的统一社会信用代码
第一部分:登记管理部门代码1位 (数字或大写英文字母)
第二部分:机构类别代码1位 (数字或大写英文字母)
第三部分:登记管理机关行政区划码6位 (数字)
第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母)
第五部分:校验码1位 (数字或大写英文字母)
- isCreditCode(CharSequence) - Static method in class cn.hutool.core.util.CreditCodeUtil
-
是否是有效的统一社会信用代码
第一部分:登记管理部门代码1位 (数字或大写英文字母)
第二部分:机构类别代码1位 (数字或大写英文字母)
第三部分:登记管理机关行政区划码6位 (数字)
第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母)
第五部分:校验码1位 (数字或大写英文字母)
- isCreditCodeSimple(CharSequence) - Static method in class cn.hutool.core.util.CreditCodeUtil
-
正则校验统一社会信用代码(18位)
第一部分:登记管理部门代码1位 (数字或大写英文字母)
第二部分:机构类别代码1位 (数字或大写英文字母)
第三部分:登记管理机关行政区划码6位 (数字)
第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母)
第五部分:校验码1位 (数字或大写英文字母)
- isCropSupported() - Method in class cn.hutool.extra.qrcode.BufferedImageLuminanceSource
-
- isCustomFormat(String) - Static method in class cn.hutool.core.date.format.GlobalCustomFormat
-
检查指定格式是否为自定义格式
- isDaemon() - Method in class cn.hutool.cron.Scheduler
-
是否为守护线程
- isDataFlavorSupported(DataFlavor) - Method in class cn.hutool.core.swing.clipboard.ImageSelection
-
是否支持指定元数据类型
- isDateFormat(Cell) - Static method in class cn.hutool.poi.excel.ExcelDateUtil
-
- isDateFormat(Cell, ConditionalFormattingEvaluator) - Static method in class cn.hutool.poi.excel.ExcelDateUtil
-
判断是否日期格式
- isDateFormat(ExcelNumberFormat) - Static method in class cn.hutool.poi.excel.ExcelDateUtil
-
判断是否日期格式
- isDateFormat(int, String) - Static method in class cn.hutool.poi.excel.ExcelDateUtil
-
判断日期格式
- isDateFormat(CellValueRecordInterface, FormatTrackingHSSFListener) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
-
判断数字Record中是否为日期格式
- isDateFormat(int, String) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
-
判断日期格式
- isDebug() - Method in class cn.hutool.extra.mail.MailAccount
-
是否打开调试模式,调试模式会显示与邮件服务器通信过程,默认不开启
- isDebugEnabled() - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.logtube.LogTubeLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- isDebugEnabled() - Method in interface cn.hutool.log.level.DebugLog
-
- isDecodeUrl() - Static method in class cn.hutool.http.HttpGlobalConfig
-
获取是否忽略解码URL,包括URL中的Path部分和Param部分。
- isDefault(String) - Static method in enum cn.hutool.http.ContentType
-
是否为默认Content-Type,默认包括null
和application/x-www-form-urlencoded
- isDeflate() - Method in class cn.hutool.http.HttpResponse
-
是否为zlib(Deflate)压缩过的内容
- isDir(String) - Method in class cn.hutool.extra.ftp.AbstractFtp
-
判断给定路径是否为目录
- isDir(String) - Method in class cn.hutool.extra.ssh.Sftp
-
- isDirectory(Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
判断是否为目录,如果file为null,则返回false
此方法不会追踪到软链对应的真实地址,即软链被当作文件
- isDirectory(Path, boolean) - Static method in class cn.hutool.core.io.file.PathUtil
-
判断是否为目录,如果file为null,则返回false
- isDirectory(String) - Static method in class cn.hutool.core.io.FileUtil
-
判断是否为目录,如果path为null,则返回false
- isDirectory(File) - Static method in class cn.hutool.core.io.FileUtil
-
判断是否为目录,如果file为null,则返回false
- isDirEmpty(Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
目录是否为空
- isDirEmpty(File) - Static method in class cn.hutool.core.io.FileUtil
-
目录是否为空
- isDocumented(Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
是否会保存到 Javadoc 文档中
- isDouble(String) - Static method in class cn.hutool.core.util.NumberUtil
-
判断字符串是否是浮点数
- isElement(Node) - Static method in class cn.hutool.core.util.XmlUtil
-
- isEmail(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为可用邮箱地址
- isEmail(CharSequence, boolean) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为可用邮箱地址(兼容中文邮箱地址)
- isEmoji(char) - Static method in class cn.hutool.core.util.CharUtil
-
判断是否为emoji表情符
- isEmoji(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
-
是否为Emoji表情的Unicode符
- isEmpty() - Method in interface cn.hutool.cache.Cache
-
缓存是否为空
- isEmpty() - Method in class cn.hutool.cache.impl.AbstractCache
-
- isEmpty() - Method in class cn.hutool.cache.impl.NoCache
-
- isEmpty(Object, String...) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断Bean是否为空对象,空对象表示本身为null
或者所有属性都为null
此方法不判断static属性
- isEmpty(Collection<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
集合是否为空
- isEmpty(Iterable<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Iterable是否为空
- isEmpty(Iterator<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Iterator是否为空
- isEmpty(Enumeration<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Enumeration是否为空
- isEmpty(Map<?, ?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Map是否为空
- isEmpty() - Method in class cn.hutool.core.collection.ConcurrentHashSet
-
- isEmpty(Iterable<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
Iterable是否为空
- isEmpty(Iterator<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
Iterator是否为空
- isEmpty() - Method in class cn.hutool.core.collection.Partition
-
- isEmpty() - Method in class cn.hutool.core.collection.TransCollection
-
- isEmpty() - Method in class cn.hutool.core.collection.UniqueKeySet
-
- isEmpty() - Method in class cn.hutool.core.io.FastByteBuffer
-
- isEmpty(File) - Static method in class cn.hutool.core.io.FileUtil
-
文件是否为空
目录:里面没有文件时为空 文件:文件大小为0时为空
- isEmpty() - Method in class cn.hutool.core.lang.Opt
-
判断包裹里元素的值是否不存在,不存在为 true
,否则为false
- isEmpty(Object) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为空
对于String类型判定是否为empty(null 或 "")
- isEmpty() - Method in class cn.hutool.core.lang.WeightListRandom
-
判断随机池是否为空
- isEmpty() - Method in class cn.hutool.core.map.LinkedForestMap
-
当前实例是否为空
- isEmpty() - Method in class cn.hutool.core.map.MapProxy
-
- isEmpty(Map<?, ?>) - Static method in class cn.hutool.core.map.MapUtil
-
Map是否为空
- isEmpty() - Method in class cn.hutool.core.map.MapWrapper
-
- isEmpty() - Method in class cn.hutool.core.map.multi.RowKeyTable
-
- isEmpty() - Method in interface cn.hutool.core.map.multi.Table
-
表格是否为空
- isEmpty() - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- isEmpty() - Method in class cn.hutool.core.map.TableMap
-
- isEmpty(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
字符串是否为空,空的定义如下:
null
空字符串:
""
例:
CharSequenceUtil.isEmpty(null) // true
CharSequenceUtil.isEmpty("") // true
CharSequenceUtil.isEmpty(" \t\n") // false
CharSequenceUtil.isEmpty("abc") // false
注意:该方法与
CharSequenceUtil.isBlank(CharSequence)
的区别是:该方法不校验空白字符。
- isEmpty() - Method in class cn.hutool.core.text.csv.CsvRow
-
- isEmpty() - Method in class cn.hutool.core.text.StrBuilder
-
是否为空
- isEmpty(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
数组是否为空
- isEmpty(Object) - Static method in class cn.hutool.core.util.ArrayUtil
-
数组是否为空
此方法会匹配单一对象,如果此对象为null
则返回true
如果此对象为非数组,理解为此对象为数组的第一个元素,则返回false
如果此对象为数组对象,数组长度大于0情况下返回false,否则返回true
- isEmpty(Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
判断指定对象是否为空,支持:
1.
- isEmpty(long[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty(int[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty(short[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty(char[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty(byte[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty(double[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty(float[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty(boolean[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty() - Method in class cn.hutool.cron.Scheduler
-
是否无任务
- isEmpty() - Method in class cn.hutool.cron.TaskTable
-
任务表是否为空
- isEmpty() - Method in class cn.hutool.db.ThreadLocalConnection.GroupedConnection
-
持有的连接是否为空
- isEmpty() - Method in class cn.hutool.json.JSONArray
-
- isEmpty(Sheet) - Static method in class cn.hutool.poi.excel.WorkbookUtil
-
sheet是否为空
- isEmpty(String) - Method in class cn.hutool.setting.GroupedMap
-
某个分组对应的键值对是否为空
- isEmpty() - Method in class cn.hutool.setting.GroupedMap
-
是否为空,如果多个分组同时为空,也按照空处理
- isEmpty(String) - Method in class cn.hutool.setting.Setting
-
某个分组对应的键值对是否为空
- isEmpty() - Method in class cn.hutool.setting.Setting
-
- isEmptyIfStr(Object) - Static method in class cn.hutool.core.util.StrUtil
-
如果对象是字符串是否为空串,空的定义如下:
null
空字符串:
""
例:
StrUtil.isEmptyIfStr(null) // true
StrUtil.isEmptyIfStr("") // true
StrUtil.isEmptyIfStr(" \t\n") // false
StrUtil.isEmptyIfStr("abc") // false
注意:该方法与
StrUtil.isBlankIfStr(Object)
的区别是:该方法不校验空白字符。
- isEmptyOrUndefined(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
检查字符串是否为null、“”、“null”、“undefined”
- isEmptyParam(Method) - Static method in class cn.hutool.core.util.ReflectUtil
-
是否为无参数方法
- isEnabled(Level) - Method in class cn.hutool.log.AbstractLog
-
- isEnabled(Level) - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- isEnabled(Level) - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- isEnabled(Level) - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- isEnabled(Level) - Method in interface cn.hutool.log.Log
-
是否开启指定日志
- isEncodefilename() - Method in class cn.hutool.extra.mail.MailAccount
-
- isEnum(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
判断类是否为枚举类型
- isEnum(Class<?>) - Static method in class cn.hutool.core.util.EnumUtil
-
指定类是否为Enum类
- isEnum(Object) - Static method in class cn.hutool.core.util.EnumUtil
-
指定类是否为Enum类
- isEqualList(Collection<?>, Collection<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
- isEqualList(Iterable<?>, Iterable<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
- isEquals() - Method in class cn.hutool.core.builder.EqualsBuilder
-
Returns true
if the fields that have been checked
are all equal.
- isEqualsMethod(Method) - Static method in class cn.hutool.core.util.ReflectUtil
-
是否为equals方法
- isErrorEnabled() - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.logtube.LogTubeLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- isErrorEnabled() - Method in interface cn.hutool.log.level.ErrorLog
-
- isEven(int) - Static method in class cn.hutool.core.util.NumberUtil
-
检查是否为偶数
- isExistsAndNotDirectory(Path, boolean) - Static method in class cn.hutool.core.io.file.PathUtil
-
判断是否存在且为非目录
如果path为null
,返回false
如果path不存在,返回false
- isExpired() - Method in class cn.hutool.cache.impl.CacheObj
-
判断是否过期
- isExpired(Date, DateField, int, Date) - Static method in class cn.hutool.core.date.DateUtil
-
- isExpired(Date, Date, Date) - Static method in class cn.hutool.core.date.DateUtil
-
- isFail() - Method in class cn.hutool.core.lang.Opt
-
- isFalse(boolean, Supplier<X>) - Static method in class cn.hutool.core.lang.Assert
-
断言是否为假,如果为
true
抛出指定类型异常
并使用指定的函数获取错误信息返回
Assert.isFalse(i > 0, ()->{
// to query relation message
return new IllegalArgumentException("relation message to return");
});
- isFalse(boolean, String, Object...) - Static method in class cn.hutool.core.lang.Assert
-
断言是否为假,如果为
true
抛出
IllegalArgumentException
异常
Assert.isFalse(i < 0, "The value must not be negative");
- isFalse(boolean) - Static method in class cn.hutool.core.lang.Assert
-
断言是否为假,如果为
true
抛出
IllegalArgumentException
异常
Assert.isFalse(i < 0);
- isFalse(boolean) - Static method in class cn.hutool.core.lang.Validator
-
给定值是否不为false
- isFalse(Boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
检查 Boolean
值是否为 false
BooleanUtil.isFalse(Boolean.TRUE) = false
BooleanUtil.isFalse(Boolean.FALSE) = true
BooleanUtil.isFalse(null) = false
- isFile(Path, boolean) - Static method in class cn.hutool.core.io.file.PathUtil
-
判断是否为文件,如果file为null,则返回false
- isFile(String) - Static method in class cn.hutool.core.io.FileUtil
-
判断是否为文件,如果path为null,则返回false
- isFile(File) - Static method in class cn.hutool.core.io.FileUtil
-
判断是否为文件,如果file为null,则返回false
- isFile() - Method in class cn.hutool.core.net.multipart.UploadFileHeader
-
Returns true
if uploaded data are correctly marked as a file.
- isFileSeparator(char) - Static method in class cn.hutool.core.util.CharUtil
-
是否为Windows或者Linux(Unix)文件分隔符
Windows平台下分隔符为\,Linux(Unix)为/
- isFileURL(URL) - Static method in class cn.hutool.core.util.URLUtil
-
提供的URL是否为文件
文件协议包括"file", "vfsfile" 或 "vfs".
- isFirst() - Method in class cn.hutool.db.PageResult
-
- isFormUrlEncode(String) - Static method in enum cn.hutool.http.ContentType
-
是否为application/x-www-form-urlencoded
- isFromOrSuppressedThrowable(Throwable, Class<? extends Throwable>) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
判断指定异常是否来自或者包含指定异常
- isFromOrSuppressedThrowable(Throwable, Class<? extends Throwable>, boolean) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
判断指定异常是否来自或者包含指定异常
- isFull() - Method in interface cn.hutool.cache.Cache
-
缓存是否已满,仅用于有空间限制的缓存对象
- isFull() - Method in class cn.hutool.cache.impl.AbstractCache
-
- isFull() - Method in class cn.hutool.cache.impl.NoCache
-
- isGeneral(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为英文字母 、数字和下划线
- isGeneral(CharSequence, int, int) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为给定长度范围的英文字母 、数字和下划线
- isGeneral(CharSequence, int) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为给定最小长度的英文字母 、数字和下划线
- isGeneralWithChinese(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为中文字、英文字母、数字和下划线
- isGetMethod(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
-
是否为GET请求
- isGetMethod(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
是否为GET请求
- isGetMethod() - Method in class cn.hutool.http.server.HttpServerRequest
-
是否为GET请求
- isGetterOrSetter(Method, boolean) - Static method in class cn.hutool.core.util.ReflectUtil
-
检查给定方法是否为Getter或者Setter方法,规则为:
方法参数必须为0个或1个
方法名称不能是getClass
如果是无参方法,则判断是否以“get”或“is”开头
如果方法参数1个,则判断是否以“set”开头
- isGetterOrSetterIgnoreCase(Method) - Static method in class cn.hutool.core.util.ReflectUtil
-
检查给定方法是否为Getter或者Setter方法,规则为:
方法参数必须为0个或1个
如果是无参方法,则判断是否以“get”或“is”开头
如果方法参数1个,则判断是否以“set”开头
- isGreater(BigDecimal, BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
-
比较大小,参数1 > 参数2 返回true
- isGreaterOrEqual(BigDecimal, BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
-
比较大小,参数1 >= 参数2 返回true
- isGreaterThan(String, String) - Static method in class cn.hutool.core.util.VersionUtil
-
当前版本大于待比较版本
- isGreaterThanOrEqual(String, String) - Static method in class cn.hutool.core.util.VersionUtil
-
当前版本大于等于待比较版本
- isGzip() - Method in class cn.hutool.http.HttpResponse
-
是否为gzip压缩过的内容
- isHarmony() - Method in class cn.hutool.http.useragent.Platform
-
是否为Harmony平台
- isHashCodeMethod(Method) - Static method in class cn.hutool.core.util.ReflectUtil
-
是否为hashCode方法
- isHeaderAggregated - Variable in class cn.hutool.http.HttpBase
-
是否聚合重复请求头
- isHeaderAggregated() - Method in class cn.hutool.http.HttpBase
-
获取是否需要聚合请求头状态
- isHex(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为Hex(16进制)字符串
- isHexChar(char) - Static method in class cn.hutool.core.util.CharUtil
-
是否为16进制规范的字符,判断是否为如下字符
1. 0~9
2. a~f
4.
- isHexNumber(String) - Static method in class cn.hutool.core.util.HexUtil
-
判断给定字符串是否为16进制数
如果是,需要使用对应数字类型对象的decode
方法解码
例如:Integer.decode
方法解码int类型的16进制数字
- isHpUx() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isHttp(String) - Static method in class cn.hutool.http.HttpUtil
-
检测是否http
- isHttps(String) - Static method in class cn.hutool.http.HttpUtil
-
检测是否https
- isIE(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
-
客户浏览器是否为IE
- isIE(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
客户浏览器是否为IE
- isIgnoreCase() - Method in class cn.hutool.json.JSONConfig
-
是否忽略键的大小写
- isIgnoreEmptyRow() - Method in class cn.hutool.poi.excel.ExcelReader
-
是否忽略空行
- isIgnoreEOFError() - Static method in class cn.hutool.http.HttpGlobalConfig
-
获取是否忽略响应读取时可能的EOF异常。
- isIgnoreError() - Method in class cn.hutool.json.JSONConfig
-
是否忽略转换过程中的异常
- isIgnoreNullValue() - Method in class cn.hutool.json.JSONConfig
-
是否忽略null值
- isIn(Date, Date) - Method in class cn.hutool.core.date.DateTime
-
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
- isIn(Date, Date, Date) - Static method in class cn.hutool.core.date.DateUtil
-
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
- isIn(ChronoLocalDateTime<?>, ChronoLocalDateTime<?>, ChronoLocalDateTime<?>) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
- isIn(ChronoLocalDateTime<?>, ChronoLocalDateTime<?>, ChronoLocalDateTime<?>, boolean, boolean) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
判断当前时间(默认时区)是否在指定范围内
起始时间和结束时间可以互换
通过includeBegin, includeEnd参数控制时间范围区间是否为开区间,例如:传入参数:includeBegin=true, includeEnd=false,
则本方法会判断 date ∈ (beginDate, endDate] 是否成立
- isIn(TemporalAccessor, TemporalAccessor, TemporalAccessor) - Static method in class cn.hutool.core.date.TemporalAccessorUtil
-
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
- isIn(TemporalAccessor, TemporalAccessor, TemporalAccessor, boolean, boolean) - Static method in class cn.hutool.core.date.TemporalAccessorUtil
-
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
通过includeBegin, includeEnd参数控制日期范围区间是否为开区间,例如:传入参数:includeBegin=true, includeEnd=false,
则本方法会判断 date ∈ (beginDate, endDate] 是否成立
- isIn(BigDecimal, BigDecimal, BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
-
检查值是否在指定范围内
- isIncludeInterfaces() - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
-
是否允许扫描父接口
- isIncludeSuperClass() - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
-
是否允许扫描父类
- isInfoEnabled() - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.logtube.LogTubeLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- isInfoEnabled() - Method in interface cn.hutool.log.level.InfoLog
-
- isInherited(Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
是否可以被继承,默认为 false
- isInited() - Static method in class cn.hutool.dfa.SensitiveUtil
-
- isInitialize() - Method in class cn.hutool.core.lang.loader.LazyFunLoader
-
是否已经初始化
- isInMemory() - Method in class cn.hutool.core.net.multipart.UploadFile
-
- isInnerIP(String) - Static method in class cn.hutool.core.net.Ipv4Util
-
判定是否为内网IPv4
私有IP:
A类 10.0.0.0-10.255.255.255
B类 172.16.0.0-172.31.255.255
C类 192.168.0.0-192.168.255.255
当然,还有127这个网段是环回地址
- isInnerIP(String) - Static method in class cn.hutool.core.net.NetUtil
-
判定是否为内网IPv4
私有IP:
A类 10.0.0.0-10.255.255.255
B类 172.16.0.0-172.31.255.255
C类 192.168.0.0-192.168.255.255
当然,还有127这个网段是环回地址
- isInRange(String, String) - Static method in class cn.hutool.core.net.NetUtil
-
是否在CIDR规则配置范围内
方法来自:【成都】小邓
- isInstanceOf(Class<?>, T) - Static method in class cn.hutool.core.lang.Assert
-
断言给定对象是否是给定类的实例
Assert.instanceOf(Foo.class, foo);
- isInstanceOf(Class<?>, T, String, Object...) - Static method in class cn.hutool.core.lang.Assert
-
断言给定对象是否是给定类的实例
Assert.instanceOf(Foo.class, foo, "foo must be an instance of class Foo");
- isInteger(String) - Static method in class cn.hutool.core.util.NumberUtil
-
判断String是否是整数
支持10进制
- isInterface(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为接口
- isIos() - Method in class cn.hutool.http.useragent.Platform
-
是否为IOS平台,包括IPhone、IPod、IPad
- isIPad() - Method in class cn.hutool.http.useragent.Platform
-
是否为Iphone或者iPod设备
- isIPhoneOrIPod() - Method in class cn.hutool.http.useragent.Platform
-
是否为Iphone或者iPod设备
- isIpv4(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为IPV4地址
- isIpv6(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为IPV6地址
- isIrix() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isJarFileURL(URL) - Static method in class cn.hutool.core.util.URLUtil
-
提供的URL是否为Jar文件URL 判断依据为file协议且扩展名为.jar
- isJarOrZipFile(String) - Static method in class cn.hutool.core.compiler.JavaFileObjectUtil
-
是否是jar 或 zip 文件
- isJarURL(URL) - Static method in class cn.hutool.core.util.URLUtil
-
提供的URL是否为jar包URL 协议包括: "jar", "zip", "vfszip" 或 "wsjar".
- isJava10() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava11() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava12() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava13() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava14() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava15() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava16() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava17() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava18() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava1_1() - Method in class cn.hutool.system.JavaInfo
-
Deprecated.
- isJava1_2() - Method in class cn.hutool.system.JavaInfo
-
Deprecated.
- isJava1_3() - Method in class cn.hutool.system.JavaInfo
-
Deprecated.
- isJava1_4() - Method in class cn.hutool.system.JavaInfo
-
Deprecated.
- isJava1_5() - Method in class cn.hutool.system.JavaInfo
-
Deprecated.
- isJava1_6() - Method in class cn.hutool.system.JavaInfo
-
Deprecated.
- isJava1_7() - Method in class cn.hutool.system.JavaInfo
-
Deprecated.
- isJava1_8() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava9() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJavaFile(String) - Static method in class cn.hutool.core.compiler.JavaFileObjectUtil
-
是否是java文件
- isJavaVersionAtLeast(float) - Method in class cn.hutool.system.JavaInfo
-
判定当前Java的版本是否大于等于指定的版本号。
- isJavaVersionAtLeast(int) - Method in class cn.hutool.system.JavaInfo
-
判定当前Java的版本是否大于等于指定的版本号。
- isJdkClass(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为JDK中定义的类或接口,判断依据:
1、以java.
- isJdkMetaAnnotation(Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
是否为Jdk自带的元注解。
- isJson(String) - Static method in class cn.hutool.json.JSONUtil
-
- isJsonArray(String) - Static method in class cn.hutool.json.JSONUtil
-
- isJsonObj(String) - Static method in class cn.hutool.json.JSONUtil
-
- isKeepAlive() - Method in class cn.hutool.http.HttpRequest
-
- isKeepStrings() - Method in class cn.hutool.json.xml.ParseConfig
-
是否保持值为String类型,如果为false
,则尝试转换为对应类型(numeric, boolean, string)
- isLast() - Method in class cn.hutool.cron.pattern.matcher.DayOfMonthMatcher
-
- isLast() - Method in class cn.hutool.db.PageResult
-
- isLastDayOfMonth(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
是否为本月最后一天
- isLastDayOfMonth() - Method in class cn.hutool.core.date.DateTime
-
是否为本月最后一天
- isLastDayOfMonth(Date) - Static method in class cn.hutool.core.date.DateUtil
-
是否为本月最后一天
- isLeapMonth(int, int) - Static method in class cn.hutool.core.date.chinese.ChineseMonth
-
当前农历月份是否为闰月
- isLeapMonth() - Method in class cn.hutool.core.date.ChineseDate
-
当前农历月份是否为闰月
- isLeapYear() - Method in class cn.hutool.core.date.DateTime
-
是否闰年
- isLeapYear(int) - Static method in class cn.hutool.core.date.DateUtil
-
是否闰年
- isLess(BigDecimal, BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
-
比较大小,参数1 < 参数2 返回true
- isLessOrEqual(BigDecimal, BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
-
比较大小,参数1<=参数2 返回true
- isLessThan(String, String) - Static method in class cn.hutool.core.util.VersionUtil
-
当前版本小于待比较版本
- isLessThanOrEqual(String, String) - Static method in class cn.hutool.core.util.VersionUtil
-
当前版本小于等于待比较版本
- isLetter(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
判断字符串是否全部为字母组成,包括大写和小写字母和汉字
- isLetter(char) - Static method in class cn.hutool.core.util.CharUtil
-
判断是否为字母(包括大写字母和小写字母)
字母包括A~Z和a~z
CharUtil.isLetter('a') = true
CharUtil.isLetter('A') = true
CharUtil.isLetter('3') = false
CharUtil.isLetter('-') = false
CharUtil.isLetter('\n') = false
CharUtil.isLetter('©') = false
- isLetterLower(char) - Static method in class cn.hutool.core.util.CharUtil
-
检查字符是否为小写字母,小写字母指a~z
CharUtil.isLetterLower('a') = true
CharUtil.isLetterLower('A') = false
CharUtil.isLetterLower('3') = false
CharUtil.isLetterLower('-') = false
CharUtil.isLetterLower('\n') = false
CharUtil.isLetterLower('©') = false
- isLetterOrNumber(char) - Static method in class cn.hutool.core.util.CharUtil
-
是否为字母或数字,包括A~Z、a~z、0~9
CharUtil.isLetterOrNumber('a') = true
CharUtil.isLetterOrNumber('A') = true
CharUtil.isLetterOrNumber('3') = true
CharUtil.isLetterOrNumber('-') = false
CharUtil.isLetterOrNumber('\n') = false
CharUtil.isLetterOrNumber('©') = false
- isLetterUpper(char) - Static method in class cn.hutool.core.util.CharUtil
-
判断是否为大写字母,大写字母包括A~Z
CharUtil.isLetterUpper('a') = false
CharUtil.isLetterUpper('A') = true
CharUtil.isLetterUpper('3') = false
CharUtil.isLetterUpper('-') = false
CharUtil.isLetterUpper('\n') = false
CharUtil.isLetterUpper('©') = false
- isLinux() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isLoaded() - Method in class cn.hutool.core.net.multipart.MultipartFormData
-
是否已被解析
- isLocked() - Method in class cn.hutool.core.comparator.ComparatorChain
-
是否已经被锁定。
- isLong(String) - Static method in class cn.hutool.core.util.NumberUtil
-
判断字符串是否是Long类型
支持10进制
- isLowerCase(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
判断字符串是否全部为小写字母
- isLowerCase(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串中的字母是否全部为小写,判断依据如下:
1.
- isMac(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为MAC地址
- isMac() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isMacOS() - Method in class cn.hutool.http.useragent.OS
-
是否为MacOS
- isMacOsX() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isMaskBitValid(int) - Static method in class cn.hutool.core.net.Ipv4Util
-
判断掩码位是否合法
- isMaskValid(String) - Static method in class cn.hutool.core.net.Ipv4Util
-
判断掩码是否合法
- isMatch(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
给定内容是否匹配正则
- isMatch(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
给定内容是否匹配正则
- isMatch(String) - Method in class cn.hutool.dfa.WordTree
-
指定文本是否包含树中的词
- isMatch(String) - Method in class cn.hutool.http.useragent.UserAgentInfo
-
指定内容中是否包含匹配此信息的内容
- isMatchName(Object, String, boolean) - Static method in class cn.hutool.core.bean.BeanUtil
-
给定的Bean的类名是否匹配指定类名字符串
如果isSimple为true
,则只匹配类名而忽略包名,例如:cn.hutool.TestEntity只匹配TestEntity
如果isSimple为false
,则匹配包括包名的全类名,例如:cn.hutool.TestEntity匹配cn.hutool.TestEntity
- isMatchRegex(Pattern, CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
通过正则表达式验证
- isMatchRegex(String, CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
通过正则表达式验证
- isMatchSecond() - Method in class cn.hutool.cron.CronConfig
-
是否支持秒匹配
- isMatchSecond() - Method in class cn.hutool.cron.Scheduler
-
是否支持秒匹配
- isMergedRegion(Sheet, String) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
判断指定的单元格是否是合并单元格
- isMergedRegion(Cell) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
判断指定的单元格是否是合并单元格
- isMergedRegion(Sheet, int, int) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
判断指定的单元格是否是合并单元格
- isMobile(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为手机号码(中国)
- isMobile(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
验证是否为手机号码(中国大陆)
- isMobile() - Method in class cn.hutool.http.useragent.Browser
-
是否移动浏览器
- isMobile() - Method in class cn.hutool.http.useragent.Platform
-
是否为移动平台
- isMobile() - Method in class cn.hutool.http.useragent.UserAgent
-
是否为移动平台
- isMobileHk(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
验证是否为手机号码(中国香港)
- isMobileMo(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
验证是否为手机号码(中国澳门)
- isMobileTw(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
验证是否为手机号码(中国台湾)
- isModifed(File, long) - Static method in class cn.hutool.core.io.FileUtil
-
- isModified(File, long) - Static method in class cn.hutool.core.io.FileUtil
-
判断文件是否被改动
如果文件对象为 null 或者文件不存在,被视为改动
- isModified() - Method in class cn.hutool.core.io.resource.FileResource
-
- isModified() - Method in class cn.hutool.core.io.resource.MultiResource
-
- isModified() - Method in interface cn.hutool.core.io.resource.Resource
-
检查资源是否变更
一般用于文件类资源,检查文件是否被修改过。
- isModified() - Method in class cn.hutool.core.io.resource.UrlResource
-
- isModified() - Method in class cn.hutool.core.io.resource.VfsResource
-
- isMoney(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为货币
- isMultipart(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
-
是否为Multipart类型表单,此类型表单用于文件上传
- isMultipart(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
是否为Multipart类型表单,此类型表单用于文件上传
- isMultipart() - Method in class cn.hutool.http.server.HttpServerRequest
-
是否为Multipart类型表单,此类型表单用于文件上传
- isMutable() - Method in class cn.hutool.core.date.DateTime
-
- isNegative() - Method in class cn.hutool.core.io.unit.DataSize
-
是否为负数,不包括0
- isNextVal(Object) - Static method in class cn.hutool.db.dialect.impl.OracleDialect
-
检查字段值是否为Oracle自增字段,自增字段以`.nextval`结尾
- isNonUnique() - Method in class cn.hutool.db.meta.IndexInfo
-
- isNormalClass(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为标准的类
这个类必须:
1、非接口
2、非抽象类
3、非Enum枚举
4、非数组
5、非注解
6、非原始类型(int, long等)
- isNotBlank(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
- isNotEmpty(Object, String...) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断Bean是否为非空对象,非空对象表示本身不为null
或者含有非null
属性的对象
- isNotEmpty(Collection<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
集合是否为非空
- isNotEmpty(Iterable<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Iterable是否为空
- isNotEmpty(Iterator<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Iterator是否为空
- isNotEmpty(Enumeration<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Enumeration是否为空
- isNotEmpty(Map<?, ?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Map是否为非空
- isNotEmpty(Iterable<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
Iterable是否为空
- isNotEmpty(Iterator<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
Iterator是否为空
- isNotEmpty(File) - Static method in class cn.hutool.core.io.FileUtil
-
目录是否为空
- isNotEmpty(Object) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为非空
对于String类型判定是否为empty(null 或 "")
- isNotEmpty(Map<?, ?>) - Static method in class cn.hutool.core.map.MapUtil
-
Map是否为非空
- isNotEmpty(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
字符串是否为非空白,非空白的定义如下:
不为
null
不为空字符串:
""
例:
CharSequenceUtil.isNotEmpty(null) // false
CharSequenceUtil.isNotEmpty("") // false
CharSequenceUtil.isNotEmpty(" \t\n") // true
CharSequenceUtil.isNotEmpty("abc") // true
注意:该方法与
CharSequenceUtil.isNotBlank(CharSequence)
的区别是:该方法不校验空白字符。
- isNotEmpty(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
数组是否为非空
- isNotEmpty(Object) - Static method in class cn.hutool.core.util.ArrayUtil
-
数组是否为非空
此方法会匹配单一对象,如果此对象为null
则返回false
如果此对象为非数组,理解为此对象为数组的第一个元素,则返回true
如果此对象为数组对象,数组长度大于0情况下返回true,否则返回false
- isNotEmpty(Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
判断指定对象是否为非空,支持:
1.
- isNotEmpty(long[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotEmpty(int[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotEmpty(short[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotEmpty(char[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotEmpty(byte[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotEmpty(double[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotEmpty(float[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotEmpty(boolean[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotJdkMateAnnotation(Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
是否不为Jdk自带的元注解。
- isNotNeedProcess(Set<Class<?>>, Class<?>) - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
-
当前类是否不需要处理
- isNotNull(Object) - Static method in class cn.hutool.core.lang.Validator
-
给定值是否不为null
- isNotNull(Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
检查对象是否不为null
1. !
- isNotPublic(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
指定类是否为非public
- isNotPublic(Method) - Static method in class cn.hutool.core.util.ClassUtil
-
指定方法是否为非public
- isNotStopChar(char) - Static method in class cn.hutool.dfa.StopChar
-
是否为合法字符(待处理字符)
- isNull(Object, Supplier<X>) - Static method in class cn.hutool.core.lang.Assert
-
断言对象是否为
null
,如果不为
null
抛出指定类型异常
并使用指定的函数获取错误信息返回
Assert.isNull(value, ()->{
// to query relation message
return new IllegalArgumentException("relation message to return");
});
- isNull(Object, String, Object...) - Static method in class cn.hutool.core.lang.Assert
-
- isNull(Object) - Static method in class cn.hutool.core.lang.Assert
-
- isNull(Object) - Static method in class cn.hutool.core.lang.Validator
-
给定值是否为null
- isNull(Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
检查对象是否为null
判断标准为:
1. == null
2. equals(null)
- isNull(K) - Method in interface cn.hutool.json.JSONGetter
-
key对应值是否为null
或无此key
- isNull(Object) - Static method in class cn.hutool.json.JSONUtil
-
是否为null对象,null的情况包括:
1.
- isNullable() - Method in class cn.hutool.db.meta.Column
-
是否为可空
- isNullOrDefaultStyle(Workbook, CellStyle) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
给定样式是否为null(无样式)或默认样式,默认样式为workbook.getCellStyleAt(0)
- isNullOrUndefined(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
检查字符串是否为null、“null”、“undefined”
- isNumber(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证该字符串是否是数字
- isNumber(char) - Static method in class cn.hutool.core.util.CharUtil
-
检查是否为数字字符,数字字符指0~9
CharUtil.isNumber('a') = false
CharUtil.isNumber('A') = false
CharUtil.isNumber('3') = true
CharUtil.isNumber('-') = false
CharUtil.isNumber('\n') = false
CharUtil.isNumber('©') = false
- isNumber(CharSequence) - Static method in class cn.hutool.core.util.NumberUtil
-
是否为数字,支持包括:
1、10进制
2、16进制数字(0x开头)
3、科学计数法形式(1234E3)
4、类型标识形式(123D)
5、正负数标识形式(+123、-234)
- isNumeric(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
检查字符串是否都为数字组成
- ISO8601_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
-
- ISO8601_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
-
- ISO8601_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
-
ISO8601日期时间格式,精确到毫秒:yyyy-MM-dd HH:mm:ss,SSS
- ISO8859_1_ESCAPE - Static variable in class cn.hutool.core.text.escape.Html4Escape
-
- ISO8859_1_UNESCAPE - Static variable in class cn.hutool.core.text.escape.Html4Unescape
-
- ISO_8859_1 - Static variable in class cn.hutool.core.util.CharsetUtil
-
ISO-8859-1
- isOdd(int) - Static method in class cn.hutool.core.util.NumberUtil
-
检查是否为奇数
- isOk() - Method in class cn.hutool.http.HttpResponse
-
请求是否成功,判断依据为:状态码范围在200~299内。
- isOnlyCopyFile() - Method in class cn.hutool.core.io.file.FileCopier
-
当拷贝来源是目录时是否只拷贝文件而忽略子目录
- isOpen(InetSocketAddress, int) - Static method in class cn.hutool.core.net.NetUtil
-
检查远程端口是否开启
- isOpen() - Method in class cn.hutool.socket.aio.AioServer
-
服务是否开启状态
- isOpen() - Method in class cn.hutool.socket.aio.AioSession
-
会话是否打开状态
当Socket保持连接时会话始终打开
- isOperatorBetween() - Method in class cn.hutool.db.sql.Condition
-
是否 between x and y 类型
- isOperatorIn() - Method in class cn.hutool.db.sql.Condition
-
是否IN条件
- isOperatorIs() - Method in class cn.hutool.db.sql.Condition
-
是否IS条件
- isOperatorLike() - Method in class cn.hutool.db.sql.Condition
-
是否LIKE条件
- isOracle(DatabaseMetaData) - Static method in class cn.hutool.db.meta.MetaUtil
-
判断当前数据库是否为Oracle。
- isOrder() - Method in class cn.hutool.json.JSONConfig
-
- isOs2() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isOuterClassField(Field) - Static method in class cn.hutool.core.util.ReflectUtil
-
是否为父类引用字段
当字段所在类是对象子类时(对象中定义的非static的class),会自动生成一个以"this$0"为名称的字段,指向父类对象
- isOverlap(Date, Date, Date, Date) - Static method in class cn.hutool.core.date.DateUtil
-
检查两个时间段是否有时间重叠
重叠指两个时间段是否有交集,注意此方法时间段重合时如:
此方法未纠正开始时间小于结束时间
当realStartTime和realEndTime或startTime和endTime相等时,退化为判断区间是否包含点
当realStartTime和realEndTime和startTime和endTime相等时,退化为判断点与点是否相等
See
准确的区间关系参考:艾伦区间代数
- isOverlap(ChronoLocalDateTime<?>, ChronoLocalDateTime<?>, ChronoLocalDateTime<?>, ChronoLocalDateTime<?>) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
检查两个时间段是否有时间重叠
重叠指两个时间段是否有交集,注意此方法时间段重合时如:
此方法未纠正开始时间小于结束时间
当realStartTime和realEndTime或startTime和endTime相等时,退化为判断区间是否包含点
当realStartTime和realEndTime和startTime和endTime相等时,退化为判断点与点是否相等
See
准确的区间关系参考:艾伦区间代数
- isOverride() - Method in class cn.hutool.core.io.file.FileCopier
-
是否覆盖目标文件
- isPartOfArrayFormulaGroup() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- isPattern(String) - Method in class cn.hutool.core.text.AntPathMatcher
-
判断给定路径是否是表达式
- isPhone(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
验证是否为座机号码+手机号码(CharUtil中国)+ 400 + 800电话 + 手机号号码(中国香港)
- isPk() - Method in class cn.hutool.db.meta.Column
-
是否主键
- isPk(String) - Method in class cn.hutool.db.meta.Table
-
给定列名是否为主键
- isPlaceHolder() - Method in class cn.hutool.db.sql.Condition
-
是否使用条件占位符
- isPlateNumber(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为中国车牌号
- isPM(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
是否为下午
- isPM() - Method in class cn.hutool.core.date.DateTime
-
是否为下午
- isPM(Date) - Static method in class cn.hutool.core.date.DateUtil
-
是否为下午
- isPoolable() - Method in class cn.hutool.db.sql.StatementWrapper
-
- isPostMethod(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
-
是否为POST请求
- isPostMethod(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
是否为POST请求
- isPostMethod() - Method in class cn.hutool.http.server.HttpServerRequest
-
是否为POST请求
- isPowerOfTwo(long) - Static method in class cn.hutool.core.util.NumberUtil
-
判断一个整数是否是2的幂
- isPresent() - Method in class cn.hutool.core.lang.Opt
-
判断包裹里元素的值是否存在,存在为 true
,否则为false
- isPresent(String) - Static method in class cn.hutool.core.util.ClassLoaderUtil
-
- isPresent(String, ClassLoader) - Static method in class cn.hutool.core.util.ClassLoaderUtil
-
- isPrimes(int) - Static method in class cn.hutool.core.util.NumberUtil
-
是否是质数(素数)
质数表的质数又称素数。
- isPrimitiveWrapper(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为包装类型
- isProxyAnnotation(Class<?>) - Static method in class cn.hutool.core.annotation.SynthesizedAnnotationProxy
-
该类是否为通过SynthesizedAnnotationProxy
生成的代理类
- isPruneExpiredActive() - Method in class cn.hutool.cache.impl.AbstractCache
-
只有设置公共缓存失效时长或每个对象单独的失效时长时清理可用
- isPublic(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
指定类是否为Public
- isPublic(Method) - Static method in class cn.hutool.core.util.ClassUtil
-
指定方法是否为Public
- isPublic(Field) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是Public字段
- isPublic(Method) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是Public方法
- isPublic(Class<?>) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是Public类
- isPublic(Constructor<?>) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是Public构造
- isReadable(boolean) - Method in class cn.hutool.core.bean.PropDesc
-
- isReadableBean(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断是否为可读的Bean对象,判定方法是:
1、是否存在只有无参数的getXXX方法或者isXXX方法
2、是否存在public类型的字段
- isReadOnly() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- isRedirected(int) - Static method in class cn.hutool.http.HttpStatus
-
是否为重定向状态码
- isRoot() - Method in class cn.hutool.core.map.LinkedForestMap.TreeEntryNode
-
当前节点是否为根节点
- isRotateSupported() - Method in class cn.hutool.extra.qrcode.BufferedImageLuminanceSource
-
- isRunning() - Method in class cn.hutool.core.date.StopWatch
-
检查是否有正在运行的任务
- isSame(String) - Method in enum cn.hutool.db.sql.LogicalOperator
-
给定字符串逻辑运算符是否与当前逻辑运算符一致,不区分大小写,自动去除两边空白符
- isSameDay(Calendar, Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
比较两个日期是否为同一天
- isSameDay(Date, Date) - Static method in class cn.hutool.core.date.DateUtil
-
比较两个日期是否为同一天
- isSameDay(LocalDateTime, LocalDateTime) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
比较两个日期是否为同一天
- isSameDay(LocalDate, LocalDate) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
比较两个日期是否为同一天
- isSameInstant(Calendar, Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
检查两个Calendar时间戳是否相同。
- isSameMonth(Calendar, Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
比较两个日期是否为同一月
同一个月的意思是:ERA(公元)、year(年)、month(月)都一致。
- isSameMonth(Date, Date) - Static method in class cn.hutool.core.date.DateUtil
-
比较两个日期是否为同一月
- isSameTime(Date, Date) - Static method in class cn.hutool.core.date.DateUtil
-
是否为相同时间
此方法比较两个日期的时间戳是否相同
- isSameWeek(Calendar, Calendar, boolean) - Static method in class cn.hutool.core.date.CalendarUtil
-
比较两个日期是否为同一周
- isSameWeek(Date, Date, boolean) - Static method in class cn.hutool.core.date.DateUtil
-
比较两个日期是否为同一周
- isShutdown() - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- isSimpleTypeOrArray(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否简单值类型或简单值类型的数组
包括:原始类型,、String、other CharSequence, a Number, a Date, a URI, a URL, a Locale or a Class及其数组
- isSimpleValueType(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为简单值类型
包括:
原始类型
String、other CharSequence
Number
Date
URI
URL
Locale
Class
- isSocketFactoryFallback() - Method in class cn.hutool.extra.mail.MailAccount
-
如果设置为true,未能创建一个套接字使用指定的套接字工厂类将导致使用java.net.Socket创建的套接字类, 默认值为true
- isSolaris() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isSorted(T[], Comparator<? super T>) - Static method in class cn.hutool.core.util.ArrayUtil
-
检查数组是否有序,即comparator.compare(array[i], array[i + 1]) <= 0,若传入空数组或空比较器,则返回false
- isSorted(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
检查数组是否升序,即array[i].compareTo(array[i + 1]) <= 0,若传入空数组,则返回false
- isSorted(byte[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSorted(short[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSorted(char[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSorted(int[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSorted(long[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSorted(double[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSorted(float[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedASC(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
检查数组是否升序,即array[i].compareTo(array[i + 1]) <= 0,若传入空数组,则返回false
- isSortedASC(byte[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedASC(short[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedASC(char[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedASC(int[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedASC(long[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedASC(double[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedASC(float[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedDESC(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
检查数组是否降序,即array[i].compareTo(array[i + 1]) >= 0,若传入空数组,则返回false
- isSortedDESC(byte[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
- isSortedDESC(short[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
- isSortedDESC(char[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
- isSortedDESC(int[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
- isSortedDESC(long[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
- isSortedDESC(double[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
- isSortedDESC(float[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
- isSourceModified(Resource) - Method in class cn.hutool.extra.template.engine.velocity.SimpleStringResourceLoader
-
- isSplitlongparameters() - Method in class cn.hutool.extra.mail.MailAccount
-
对于超长参数是否切分为多份,默认为false(国内邮箱附件不支持切分的附件名)
- isSslEnable() - Method in class cn.hutool.extra.mail.MailAccount
-
是否使用 SSL安全连接
- isStarted() - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- isStarted() - Method in class cn.hutool.cron.Scheduler
-
- isStarttlsEnable() - Method in class cn.hutool.extra.mail.MailAccount
-
是否使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。
- isStatic(Method) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为静态方法
- isStatic(Field) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是static字段
- isStatic(Method) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是static方法
- isStatic(Class<?>) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是static类
- isStopChar(char) - Static method in class cn.hutool.dfa.StopChar
-
判断指定的词是否是不处理的词。
- isStripComments() - Method in class cn.hutool.http.HTMLFilter
-
- isStripTrailingZeros() - Method in class cn.hutool.json.JSONConfig
-
是否去除末尾多余0,例如如果为true,5.0返回5
- isSub(Path, Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
判断给定的目录是否为给定文件或文件夹的子目录
- isSub(File, File) - Static method in class cn.hutool.core.io.FileUtil
-
判断给定的目录是否为给定文件或文件夹的子目录
- isSub(T[], T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
查找子数组的位置
- isSubEquals(CharSequence, int, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取第一个字串的部分字符,与第二个字符串比较(长度一致),判断截取的子串是否相同
任意一个字符串为null返回false
- isSubEquals(CharSequence, int, CharSequence, int, int, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取两个字符串的不同部分(长度一致),判断截取的子串是否相同
任意一个字符串为null返回false
- isSuccess() - Method in class cn.hutool.extra.validation.BeanValidationResult
-
是否验证通过
- ISSUED_AT - Static variable in interface cn.hutool.jwt.RegisteredPayload
-
jwt的签发时间
- ISSUER - Static variable in interface cn.hutool.jwt.RegisteredPayload
-
jwt签发者
- isSunOS() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isSupportTransaction - Variable in class cn.hutool.db.AbstractDb
-
是否支持事务
- isSurround(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串是否被字符包围
- isSurround(CharSequence, char, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串是否被字符包围
- isSymlink(Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
判断是否为符号链接文件
- isSymlink(File) - Static method in class cn.hutool.core.io.FileUtil
-
判断是否为符号链接文件
- isSynthesizedAnnotation(Annotation) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
该注解对象是否为通过代理类生成的合成注解
- isSynthetic(Field) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是合成字段(由java编译器生成的)
- isSynthetic(Method) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是合成方法(由java编译器生成的)
- isSynthetic(Class<?>) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是合成类(由java编译器生成的)
- isTel(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
验证是否为座机号码(中国大陆)
- isTel400800(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
验证是否为座机号码(中国大陆)+ 400 + 800
- isTerminated() - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- isTopLevelClass(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为顶层类,即定义在包中的类,而非定义在类中的内部类
- isToStringMethod(Method) - Static method in class cn.hutool.core.util.ReflectUtil
-
是否为toString方法
- isTraceEnabled() - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.logtube.LogTubeLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- isTraceEnabled() - Method in interface cn.hutool.log.level.TraceLog
-
- isTransientSupport() - Method in class cn.hutool.json.JSONConfig
-
是否支持transient关键字修饰和@Transient注解,如果支持,被修饰的字段或方法对应的字段将被忽略。
- isTrue(boolean, Supplier<? extends X>) - Static method in class cn.hutool.core.lang.Assert
-
断言是否为真,如果为
false
抛出给定的异常
Assert.isTrue(i > 0, IllegalArgumentException::new);
- isTrue(boolean, String, Object...) - Static method in class cn.hutool.core.lang.Assert
-
断言是否为真,如果为
false
抛出
IllegalArgumentException
异常
Assert.isTrue(i > 0, "The value must be greater than zero");
- isTrue(boolean) - Static method in class cn.hutool.core.lang.Assert
-
断言是否为真,如果为
false
抛出
IllegalArgumentException
异常
Assert.isTrue(i > 0);
- isTrue(boolean) - Static method in class cn.hutool.core.lang.Validator
-
给定值是否为true
- isTrue(Boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
检查 Boolean
值是否为 true
BooleanUtil.isTrue(Boolean.TRUE) = true
BooleanUtil.isTrue(Boolean.FALSE) = false
BooleanUtil.isTrue(null) = false
- isTrustAnyHost() - Static method in class cn.hutool.http.HttpGlobalConfig
-
是否信任所有Host
- isType(String, String...) - Static method in class cn.hutool.core.io.file.FileNameUtil
-
根据文件名检查文件类型,忽略大小写
- isTypeJSON(String) - Static method in class cn.hutool.json.JSONUtil
-
是否为JSON类型字符串,首尾都为大括号或中括号判定为JSON字符串
- isTypeJSONArray(String) - Static method in class cn.hutool.json.JSONUtil
-
是否为JSONArray类型的字符串,首尾都为中括号判定为JSONArray字符串
- isTypeJSONObject(String) - Static method in class cn.hutool.json.JSONUtil
-
是否为JSONObject类型字符串,首尾都为大括号判定为JSONObject字符串
- isUnknown(String) - Static method in class cn.hutool.core.net.NetUtil
-
检测给定字符串是否为未知,多用于检测HTTP请求相关
- isUnknown(Type) - Static method in class cn.hutool.core.util.TypeUtil
-
- isUnknown() - Method in class cn.hutool.http.useragent.UserAgentInfo
-
是否为Unknown
- isUploaded() - Method in class cn.hutool.core.net.multipart.UploadFile
-
- isUpperCase(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
判断字符串是否全部为大写字母
- isUpperCase(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串中的字母是否全部为大写,判断依据如下:
1.
- isUrl(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为URL
- isUsableLocalPort(int) - Static method in class cn.hutool.core.net.NetUtil
-
检测本地端口可用性
来自org.springframework.util.SocketUtils
- isUseVariable - Variable in class cn.hutool.setting.Setting
-
是否使用变量
- isUUID(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为UUID
包括带横线标准格式和不带横线的简单模式
- isValid(String) - Static method in class cn.hutool.core.lang.ObjectId
-
给定的字符串是否为有效的ObjectId
- isValid(double) - Static method in class cn.hutool.core.util.NumberUtil
-
检查是否为有效的数字
检查double否为无限大,或者Not a Number(NaN)
- isValid(float) - Static method in class cn.hutool.core.util.NumberUtil
-
检查是否为有效的数字
检查double否为无限大,或者Not a Number(NaN)
- isValid(int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- isValidCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
是否有效身份证号,忽略X的大小写
如果身份证号码中含有空格始终返回false
- isValidCard10(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
验证10位身份编码是否合法
- isValidCard15(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
验证15位身份编码是否合法
- isValidCard18(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
判断18位身份证的合法性
根据〖中华人民共和国国家标准GB11643-1999〗中有关公民身份号码的规定,公民身份号码是特征组合码,由十七位数字本体码和一位数字校验码组成。
- isValidCard18(String, boolean) - Static method in class cn.hutool.core.util.IdcardUtil
-
判断18位身份证的合法性
根据〖中华人民共和国国家标准GB11643-1999〗中有关公民身份号码的规定,公民身份号码是特征组合码,由十七位数字本体码和一位数字校验码组成。
- isValidHKCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
验证香港身份证号码(存在Bug,部份特殊身份证无法检查)
身份证前2位为英文字符,如果只出现一个英文字符则表示第一位是空格,对应数字58 前2位英文字符A-Z分别对应数字10-35 最后一位校验码为0-9的数字加上字符"A","A"代表10
将身份证号码全部转换为数字,分别对应乘9-1相加的总和,整除11则证件号码有效
- isValidIfNumber(Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
检查是否为有效的数字
检查Double和Float是否为无限大,或者Not a Number
非数字类型和Null将返回true
- isValidLine(String) - Method in class cn.hutool.core.collection.LineIter
-
重写此方法来判断是否每一行都被返回,默认全部为true
- isValidNumber(Number) - Static method in class cn.hutool.core.util.NumberUtil
-
检查是否为有效的数字
检查Double和Float是否为无限大,或者Not a Number
非数字类型和Null将返回false
- isValidPort(int) - Static method in class cn.hutool.core.net.NetUtil
-
是否为有效的端口
此方法并不检查端口是否被占用
- isValidTWCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
验证台湾身份证号码
- isValueEquivalentToDefaultValue() - Method in class cn.hutool.core.annotation.AliasedAnnotationAttribute
-
- isValueEquivalentToDefaultValue() - Method in interface cn.hutool.core.annotation.AnnotationAttribute
-
该注解属性的值是否等于默认值
- isValueEquivalentToDefaultValue() - Method in class cn.hutool.core.annotation.CacheableAnnotationAttribute
-
- isValueEquivalentToDefaultValue() - Method in class cn.hutool.core.annotation.ForceAliasedAnnotationAttribute
-
- isValueEquivalentToDefaultValue() - Method in class cn.hutool.core.annotation.MirroredAnnotationAttribute
-
- isValueEquivalentToDefaultValue() - Method in interface cn.hutool.core.annotation.WrappedAnnotationAttribute
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.logtube.LogTubeLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- isWarnEnabled() - Method in interface cn.hutool.log.level.WarnLog
-
- isWeekend() - Method in class cn.hutool.core.date.DateTime
-
是否为周末,周末指周六或者周日
- isWeekend(Date) - Static method in class cn.hutool.core.date.DateUtil
-
是否为周末(周六或周日)
- isWeekend(LocalDateTime) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
是否为周末(周六或周日)
- isWeekend(LocalDate) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
是否为周末(周六或周日)
- isWindows() - Static method in class cn.hutool.core.io.FileUtil
-
是否为Windows环境
- isWindows() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindows10() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindows2000() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindows7() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindows8() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindows8_1() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindows95() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindows98() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindowsME() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindowsNT() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindowsXP() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWord(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证该字符串是否是字母(包括大写和小写字母)
- isWrap(CharSequence, String, String) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串是否被包装
- isWrap(CharSequence, String) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串是否被同一字符包装(前后都有这些字符串)
- isWrap(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串是否被同一字符包装(前后都有这些字符串)
- isWrap(CharSequence, char, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串是否被包装
- isWrapped() - Method in interface cn.hutool.core.annotation.AnnotationAttribute
-
- isWrapped() - Method in interface cn.hutool.core.annotation.WrappedAnnotationAttribute
-
- isWrapperFor(Class<?>) - Method in class cn.hutool.db.ds.DataSourceWrapper
-
- isWrapperFor(Class<?>) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- isWrapperFor(Class<?>) - Method in class cn.hutool.db.ds.simple.AbstractDataSource
-
- isWrapperFor(Class<?>) - Method in class cn.hutool.db.sql.StatementWrapper
-
- isWritable(boolean) - Method in class cn.hutool.core.bean.PropDesc
-
- isWriteLongAsString() - Method in class cn.hutool.json.JSONConfig
-
是否将Long值写出为字符串类型
- isXls(InputStream) - Static method in class cn.hutool.poi.excel.ExcelFileUtil
-
- isXlsx() - Method in class cn.hutool.poi.excel.ExcelBase
-
判断是否为xlsx格式的Excel表(Excel07格式)
- isXlsx(InputStream) - Static method in class cn.hutool.poi.excel.ExcelFileUtil
-
- isXlsx(File) - Static method in class cn.hutool.poi.excel.ExcelFileUtil
-
是否为XLSX格式的Excel文件(XSSF)
XLSX文件主要用于Excel 2007+创建
- isZipCode(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为邮政编码(中国)
- items() - Method in interface cn.hutool.core.lang.EnumItem
-
获取所有枚举对象
- IterableIter<T> - Interface in cn.hutool.core.collection
-
- iterator() - Method in class cn.hutool.cache.impl.AbstractCache
-
- iterator() - Method in class cn.hutool.cache.impl.NoCache
-
- iterator() - Method in class cn.hutool.core.collection.BoundedPriorityQueue
-
- iterator() - Method in class cn.hutool.core.collection.ConcurrentHashSet
-
- iterator() - Method in interface cn.hutool.core.collection.IterableIter
-
- iterator() - Method in class cn.hutool.core.collection.IterChain
-
- iterator - Variable in class cn.hutool.core.collection.PartitionIter
-
被分批的迭代器
- iterator() - Method in class cn.hutool.core.collection.TransCollection
-
- iterator() - Method in class cn.hutool.core.collection.UniqueKeySet
-
- iterator() - Method in class cn.hutool.core.comparator.ComparatorChain
-
- iterator() - Method in class cn.hutool.core.io.resource.MultiResource
-
- iterator() - Method in class cn.hutool.core.io.watch.watchers.WatcherChain
-
- iterator() - Method in class cn.hutool.core.lang.Range
-
- iterator() - Method in class cn.hutool.core.lang.SimpleCache
-
- iterator() - Method in class cn.hutool.core.lang.Tuple
-
- iterator() - Method in class cn.hutool.core.map.MapWrapper
-
- iterator() - Method in class cn.hutool.core.map.multi.AbsTable
-
- iterator() - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- iterator() - Method in class cn.hutool.core.map.TableMap
-
- iterator() - Method in class cn.hutool.core.text.csv.CsvData
-
- iterator() - Method in class cn.hutool.core.text.csv.CsvReader
-
- iterator() - Method in class cn.hutool.core.text.csv.CsvRow
-
- iterator() - Method in class cn.hutool.core.text.replacer.ReplacerChain
-
- iterator() - Method in class cn.hutool.extra.tokenizer.engine.ansj.AnsjResult
-
- iterator() - Method in class cn.hutool.http.HttpInterceptor.Chain
-
- iterator() - Method in class cn.hutool.json.JSONArray
-
- iterator() - Method in class cn.hutool.json.JSONObjectIter
-
- IteratorEnumeration<E> - Class in cn.hutool.core.collection
-
- IteratorEnumeration(Iterator<E>) - Constructor for class cn.hutool.core.collection.IteratorEnumeration
-
构造
- IterChain<T> - Class in cn.hutool.core.collection
-
- IterChain() - Constructor for class cn.hutool.core.collection.IterChain
-
- IterChain(Iterator<T>...) - Constructor for class cn.hutool.core.collection.IterChain
-
构造
- IterUtil - Class in cn.hutool.core.collection
-
- IterUtil() - Constructor for class cn.hutool.core.collection.IterUtil
-
- iw - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- ix - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- iy - Variable in class cn.hutool.core.img.gif.GifDecoder
-
J
- JakartaInternalMailUtil - Class in cn.hutool.extra.mail
-
邮件内部工具类
- JakartaInternalMailUtil() - Constructor for class cn.hutool.extra.mail.JakartaInternalMailUtil
-
- JakartaMail - Class in cn.hutool.extra.mail
-
邮件发送客户端
- JakartaMail() - Constructor for class cn.hutool.extra.mail.JakartaMail
-
构造,使用全局邮件帐户
- JakartaMail(MailAccount) - Constructor for class cn.hutool.extra.mail.JakartaMail
-
构造
- JakartaMailUtil - Class in cn.hutool.extra.mail
-
邮件工具类,基于jakarta.mail封装
- JakartaMailUtil() - Constructor for class cn.hutool.extra.mail.JakartaMailUtil
-
- JakartaServletUtil - Class in cn.hutool.extra.servlet
-
Servlet相关工具类封装
- JakartaServletUtil() - Constructor for class cn.hutool.extra.servlet.JakartaServletUtil
-
- JakartaUserPassAuthenticator - Class in cn.hutool.extra.mail
-
jakarta用户名密码验证器
- JakartaUserPassAuthenticator(String, String) - Constructor for class cn.hutool.extra.mail.JakartaUserPassAuthenticator
-
构造
- 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
-
- 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 源码编译器
通过此类可以动态编译java源码,并加载到ClassLoader,从而动态获取加载的类。
- 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_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
-
- 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
-
- 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
-
- join(Iterator<T>, CharSequence) - Static method in class cn.hutool.core.collection.IterUtil
-
- join(Iterator<T>, CharSequence, String, String) - Static method in class cn.hutool.core.collection.IterUtil
-
- join(Iterator<T>, CharSequence, Function<T, ? extends CharSequence>) - Static method in class cn.hutool.core.collection.IterUtil
-
- 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
-
- joining(CharSequence, Function<T, ? extends CharSequence>) - Static method in class cn.hutool.core.stream.CollectorUtil
-
- joining(CharSequence, CharSequence, CharSequence, Function<T, ? extends CharSequence>) - Static method in class cn.hutool.core.stream.CollectorUtil
-
- 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的缩写。
- 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字符串格格式例如:
["a", "b", "c", 12]
- JSONArray() - Constructor for class cn.hutool.json.JSONArray
-
- JSONArray(int) - Constructor for class cn.hutool.json.JSONArray
-
- JSONArray(JSONConfig) - Constructor for class cn.hutool.json.JSONArray
-
- JSONArray(int, JSONConfig) - Constructor for class cn.hutool.json.JSONArray
-
- JSONArray(Object) - Constructor for class cn.hutool.json.JSONArray
-
从对象构造,忽略null
的值
支持以下类型的参数:
1.
- JSONArray(Object, boolean) - Constructor for class cn.hutool.json.JSONArray
-
从对象构造
支持以下类型的参数:
1.
- JSONArray(Object, JSONConfig) - Constructor for class cn.hutool.json.JSONArray
-
从对象构造
支持以下类型的参数:
1.
- JSONArray(Object, JSONConfig, Filter<Mutable<Object>>) - Constructor for class cn.hutool.json.JSONArray
-
从对象构造
支持以下类型的参数:
1.
- JSONArraySerializer<V> - Interface in cn.hutool.json.serialize
-
- 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
-
- 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对象
例:
json = new JSONObject().put("JSON", "Hello, World!
- JSONObject() - Constructor for class cn.hutool.json.JSONObject
-
- JSONObject(boolean) - Constructor for class cn.hutool.json.JSONObject
-
- JSONObject(int, boolean) - Constructor for class cn.hutool.json.JSONObject
-
构造
- JSONObject(int, boolean, boolean) - Constructor for class cn.hutool.json.JSONObject
-
- 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对象。
- 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对象。
- JSONObject(Object, boolean, boolean) - Constructor for class cn.hutool.json.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对象。
- 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对象。
- JSONObject(Object, String...) - Constructor for class cn.hutool.json.JSONObject
-
构建指定name列表对应的键值对为新的JSONObject,情况如下:
1.
- JSONObject(CharSequence, boolean) - Constructor for class cn.hutool.json.JSONObject
-
- 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
-
- 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是公钥加密标准,它规定了可包含所有私钥、公钥和证书。
- 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
-
- 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
-
密钥工具类
包括:
1、生成密钥(单密钥、密钥对)
2、读取密钥文件
- KeyUtil() - Constructor for class cn.hutool.crypto.KeyUtil
-
L
- LabColor - Class in cn.hutool.core.img
-
表示以 LAB 形式存储的颜色。
- 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
-
- lastDate() - Method in class cn.hutool.core.date.YearQuarter
-
该季度的最后一天
- 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
-
- lastIndexOf(T[], Object, int) - Static method in class cn.hutool.core.util.ArrayUtil
-
- lastIndexOf(long[], long) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- lastIndexOf(int[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- lastIndexOf(short[], short) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- lastIndexOf(char[], char) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- lastIndexOf(byte[], byte) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- lastIndexOf(double[], double) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- lastIndexOf(float[], float) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- lastIndexOf(boolean[], boolean) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- 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
-
上个月
- lastMonth() - Method in enum cn.hutool.core.date.Quarter
-
该季度最后一个月
- lastMonth() - Method in class cn.hutool.core.date.YearQuarter
-
该季度的最后一个月
- lastMonthDay() - Method in enum cn.hutool.core.date.Quarter
-
该季度的最后一天
- lastMonthValue() - Method in enum cn.hutool.core.date.Quarter
-
该季度最后一个月
- lastMonthValue() - Method in class cn.hutool.core.date.YearQuarter
-
该季度的最后一个月
- lastQuarter() - Method in class cn.hutool.core.date.YearQuarter
-
上一个季度
- lastRect - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- lastWeek() - Static method in class cn.hutool.core.date.DateUtil
-
上周
- lastYear() - Method in class cn.hutool.core.date.YearQuarter
-
上一年同季度
- lastYearMonth() - Method in class cn.hutool.core.date.YearQuarter
-
该季度的最后一个月
- launchers - Variable in class cn.hutool.cron.TaskLauncherManager
-
启动器列表
- LazyFunLoader<T> - Class in cn.hutool.core.lang.loader
-
函数式懒加载加载器
传入用于生成对象的函数,在对象需要使用时调用生成对象,然后抛弃此生成对象的函数。
- 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
-
- 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
ArrayUtil.length(null) = 0
ArrayUtil.length([]) = 0
ArrayUtil.length([null]) = 1
ArrayUtil.length([true, false]) = 2
ArrayUtil.length([1, 2, 3]) = 3
ArrayUtil.length(["a", "b", "c"]) = 3
- 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到结束位置
支持的换行符如下:
1.
- LineHandler - Interface in cn.hutool.core.io
-
行处理器
- LineIter - Class in cn.hutool.core.collection
-
将Reader包装为一个按照行读取的Iterator
此对象遍历结束后,应关闭之,推荐使用方式:
LineIterator it = null;
try {
it = new LineIterator(reader);
while (it.hasNext()) {
String line = it.nextLine();
// do something with line
}
} finally {
it.close();
}
此类来自于Apache Commons io
- 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
-
返回行遍历器
LineIterator it = null;
try {
it = IoUtil.lineIter(reader);
while (it.hasNext()) {
String line = it.nextLine();
// do something with line
}
} finally {
it.close();
}
- lineIter(InputStream, Charset) - Static method in class cn.hutool.core.io.IoUtil
-
返回行遍历器
LineIterator it = null;
try {
it = IoUtil.lineIter(in, CharsetUtil.CHARSET_UTF_8);
while (it.hasNext()) {
String line = it.nextLine();
// do something with line
}
} finally {
it.close();
}
- 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
-
换行符枚举
换行符包括:
Mac系统换行符:"\r"
Linux系统换行符:"\n"
Windows系统换行符:"\r\n"
- Link - Annotation Type in cn.hutool.core.annotation
-
用于在同一注解中,或具有一定关联的不同注解的属性中,表明这些属性之间具有特定的关联关系。
- linked - Variable in class cn.hutool.core.annotation.AbstractWrappedAnnotationAttribute
-
- LinkedForestMap<K,V> - Class in cn.hutool.core.map
-
- 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
-
- 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
-
为指定的节点建立父子关系,若parentKey
或childKey
对应节点不存在,则会创建一个对应的值为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(boolean, Iterator<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
- list(boolean, Enumeration<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
- 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(boolean, Iterator<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
- list(boolean, Enumeration<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
- 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
-
- load(Reader, Class<T>) - Static method in class cn.hutool.setting.yaml.YamlUtil
-
- 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
-
- 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)
方法,支持以下几类类名的加载:
1、原始类型,例如:int
2、数组类型,例如:int[]、Long[]、String[]
3、内部类,例如:java.lang.Thread.State会被转为java.lang.Thread$State加载
- loadClass(String, boolean) - Static method in class cn.hutool.core.util.ClassLoaderUtil
-
- loadClass(String, ClassLoader, boolean) - Static method in class cn.hutool.core.util.ClassLoaderUtil
-
加载类,通过传入类的字符串,返回其对应的类名
此方法支持缓存,第一次被加载的类之后会读取缓存中的类
加载失败的原因可能是此类不存在或其关联引用类不存在
扩展
Class.forName(String, boolean, ClassLoader)
方法,支持以下几类类名的加载:
1、原始类型,例如:int
2、数组类型,例如:int[]、Long[]、String[]
3、内部类,例如:java.lang.Thread.State会被转为java.lang.Thread$State加载
- 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
-
加载原始类型的类。
- 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
-
- 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
-
- 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
-
Deprecated.
- 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
-
- 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
-
- 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
-
最长公共子串,采用动态规划算法。
- 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)最近最久未使用缓存
根据使用时间来判定对象是否被持续缓存
当对象被访问时放入缓存,当缓存满了,最久未被使用的对象将被移除。
- 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 - 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
-
- 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
-
- 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
-
- 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
-
- 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()
)
如果值存在就转换为大写,否则用
Console.error
打印另一句字符串
String hutool = Opt.ofBlankAble("hutool").mapOrElse(String::toUpperCase, () -> Console.log("yes")).mapOrElse(String::intern, () -> Console.log("Value is not present~")).get();
- 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
-
- 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实现特定功能。
- 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
-
列举指定日期范围内所有匹配表达式的日期
- matchEl(String, String) - Static method in class cn.hutool.core.util.VersionUtil
-
当前版本是否满足版本表达式
matchEl("1.0.2", ">=1.0.2") == true
matchEl("1.0.2", "<1.0.1;1.0.2") == true
matchEl("1.0.2", "<1.0.2") == false
matchEl("1.0.2", "1.0.0-1.1.1") == true
matchEl("1.0.2", "1.0.0-1.1.1") == true
- matchEl(String, String, String) - Static method in class cn.hutool.core.util.VersionUtil
-
当前版本是否满足版本表达式
matchEl("1.0.2", ">=1.0.2", ";") == true
matchEl("1.0.2", "<1.0.1,1.0.2", ",") == true
matchEl("1.0.2", "<1.0.2", ";") == false
matchEl("1.0.2", "1.0.0-1.1.1", ",") == true
matchEl("1.0.2", "1.0.1,1.0.2-1.1.1", ",") == true
- 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
-
- maxDistance(Color) - Static method in class cn.hutool.core.img.ColorUtil
-
计算给定点与其他点之间的最大可能距离。
- 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加密:md5().digest(data)
MD5加密并转为16进制字符串:md5().digestHex(data)
- 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
-
- merge(int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- merge(int, Object) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- merge(int, Object, boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- merge(int, int, int, int, Object, boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- 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
-
- 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
-
数据库元数据信息工具类
需要注意的是,此工具类在某些数据库(比如Oracle)下无效,此时需要手动在数据库配置中增加:
remarks = true
useInformationSchema = true
- 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
-
- 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等的引用,可以简单理解为函数指针,它是一种更加底层的查找、调整和调用方法的机制。
- 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
-
- minusQuarters(long) - Method in class cn.hutool.core.date.YearQuarter
-
减去季度
- minusYears(long) - Method in class cn.hutool.core.date.YearQuarter
-
减去年份
- 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
-
- MirroredAnnotationAttribute(AnnotationAttribute, AnnotationAttribute) - Constructor for class cn.hutool.core.annotation.MirroredAnnotationAttribute
-
- MirrorFor - Annotation Type in cn.hutool.core.annotation
-
- MirrorLinkAnnotationPostProcessor - Class in cn.hutool.core.annotation
-
- 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
-
安全地级联创建目录 (确保并发环境下能创建成功)
并发环境下,假设 test 目录不存在,如果线程A mkdirs "test/A" 目录,线程B mkdirs "test/B"目录,
其中一个线程可能会失败,进而导致以下代码抛出 FileNotFoundException 异常
file.getParentFile().mkdirs(); // 父目录正在被另一个线程创建中,返回 false
file.createNewFile(); // 抛出 IO 异常,因为该线程无法感知到父目录已被创建
- 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实例,否则会被垃圾回收导致写入失败!
- MongoDS(Setting, String...) - Constructor for class cn.hutool.db.nosql.mongo.MongoDS
-
构造MongoDB数据源
当提供多个数据源时,这些数据源将为一个副本集或者mongos
调用者必须持有MongoDS实例,否则会被垃圾回收导致写入失败!
- MongoFactory - Class in cn.hutool.db.nosql.mongo
-
- 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。
- move(Path, Path, boolean) - Static method in class cn.hutool.core.io.file.PathUtil
-
移动文件或目录到目标中,例如:
如果src和target为同一文件或目录,直接返回target。
- 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为目录,则移动到目标目录下,存在同名文件则按照是否覆盖参数执行。
- moveContent(Path, Path, boolean) - Static method in class cn.hutool.core.io.file.PathUtil
-
移动文件或目录内容到目标中,例如:
如果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
-
- 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(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
32-bit Java port of https://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp#94
128-bit Java port of https://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp#255
- 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
-
- 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
-
- 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
支持的占位符格式为:
1、:name
2、@name
3、?
- NamedSql(String, Map<String, Object>) - Constructor for class cn.hutool.db.sql.NamedSql
-
构造
- NamedThreadFactory - Class in cn.hutool.core.thread
-
线程创建工厂类,此工厂可选配置:
1.
- 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
-
- 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_~)更多的符号
此实现的逻辑基于JavaScript的NanoId实现,见:https://github.com/ai/nanoid
- 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 - 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
-
- newArrayList(Iterator<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
- newArrayList(Enumeration<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
- 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
-
- 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
-
- 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
-
新建一个线程池,默认的策略如下:
1.
- newExecutor() - Static method in class cn.hutool.core.thread.ThreadUtil
-
获得一个新的线程池,默认的策略如下:
1.
- 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
-
获取一个新的线程池,默认的策略如下
1.
- newFixedExecutor(int, int, String, boolean) - Static method in class cn.hutool.core.thread.ThreadUtil
-
获取一个新的线程池,默认的策略如下
1.
- newFixedExecutor(int, int, String, RejectedExecutionHandler) - Static method in class cn.hutool.core.thread.ThreadUtil
-
获得一个新的线程池,默认策略如下
1.
- 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
-
尝试遍历并调用此类的所有构造方法,直到构造成功并返回
对于某些特殊的接口,按照其默认实现实例化,例如:
Map -》 HashMap
Collction -》 ArrayList
List -》 ArrayList
Set -》 HashSet
- 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中。
- 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
-
- newSimpleFormat(String, Locale, TimeZone) - Static method in class cn.hutool.core.date.DateUtil
-
- newSingleExecutor() - Static method in class cn.hutool.core.thread.ThreadUtil
-
获得一个新的线程池,只有单个线程,策略如下:
1.
- 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.WeightListRandom
-
随机出一个元素
- next() - Method in class cn.hutool.core.lang.WeightRandom
-
下一个随机对象
- next() - Method in class cn.hutool.core.text.csv.CsvTokener
-
读取下一个字符,并记录位置
- 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) - Static method in class cn.hutool.cron.pattern.CronPatternUtil
-
列举指定日期之后内第一个匹配表达式的日期
- 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(字符串形式)
- nextMatch(Calendar) - Method in class cn.hutool.cron.pattern.CronPattern
-
返回匹配到的下一个时间,如果给定时间匹配,直接返回
- 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
-
下个月
- nextQuarter() - Method in class cn.hutool.core.date.YearQuarter
-
下一个季度
- nextRow() - Method in class cn.hutool.core.text.csv.CsvParser
-
读取下一行数据
- nextString(char) - Method in class cn.hutool.json.JSONTokener
-
返回当前位置到指定引号前的所有字符,反斜杠的转义符也会被处理。
- 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
-
- nextYear() - Method in class cn.hutool.core.date.YearQuarter
-
下一年同季度
- 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
-
- NodeListIter(NodeList) - Constructor for class cn.hutool.core.collection.NodeListIter
-
- NodeParser<T,E> - Interface in cn.hutool.core.lang.tree.parser
-
- 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
-
- NORM_DATE_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
-
- 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
-
- NORM_DATETIME_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
-
- NORM_DATETIME_MINUTE_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
-
- NORM_DATETIME_MINUTE_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
-
- 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
-
- NORM_DATETIME_MS_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
-
- 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
-
- NORM_MONTH_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
-
- 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
-
- NORM_TIME_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
-
- 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、空串或只包含空白符),为空抛出自定义异常。
- notBlank(T, String, Object...) - Static method in class cn.hutool.core.lang.Assert
-
- notBlank(T) - Static method in class cn.hutool.core.lang.Assert
-
- 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
-
检查给定字符串是否为空,为空抛出自定义异常,并使用指定的函数获取错误信息返回。
- notEmpty(T, String, Object...) - Static method in class cn.hutool.core.lang.Assert
-
- notEmpty(T) - Static method in class cn.hutool.core.lang.Assert
-
- 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
-
- notNull(T) - Static method in class cn.hutool.core.lang.Assert
-
- 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
-
- now() - Static method in class cn.hutool.core.date.YearQuarter
-
当前年季
- nowDate() - Static method in class cn.hutool.core.date.SystemClock
-
- NULL - Static variable in class cn.hutool.core.text.CharSequenceUtil
-
字符串常量:"null"
注意:{@code "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
-
- 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
-
- NullCellSetter() - Constructor for class cn.hutool.poi.excel.cell.setters.NullCellSetter
-
- NullComparator<T> - Class in cn.hutool.core.comparator
-
null
友好的比较器包装,如果nullGreater,则null
> non-null,否则反之。
- 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
-
- numberCharToChinese(char, boolean) - Static method in class cn.hutool.core.convert.NumberChineseFormatter
-
数字字符转中文,非数字字符原样返回
- NumberChineseFormatter - Class in cn.hutool.core.convert
-
数字转中文类
包括:
1.
- 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
-
- numberToBytes(Number, ByteOrder) - Static method in class cn.hutool.core.util.ByteUtil
-
- numberToChinese(double, boolean) - Static method in class cn.hutool.core.convert.Convert
-
将阿拉伯数字转为中文表达方式
- numberToSimple(Number) - Static method in class cn.hutool.core.convert.Convert
-
将阿拉伯数字转为精简表示形式,例如:
1200 -》 1.2k
- numberToWord(Number) - Static method in class cn.hutool.core.convert.Convert
-
将阿拉伯数字转为英文表达方式
- NumberUtil - Class in cn.hutool.core.util
-
数字工具类
对于精确值计算应该使用
BigDecimal
JDK7中
BigDecimal(double val)构造方法的结果有一定的不可预知性,例如:
new BigDecimal(0.1)
表示的不是
0.1而是
0.1000000000000000055511151231257827021181583404541015625
这是因为0.1无法准确的表示为double。
- 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由以下几部分组成:
1.
- ObjectId() - Constructor for class cn.hutool.core.lang.ObjectId
-
- objectId() - Static method in class cn.hutool.core.util.IdUtil
-
创建MongoDB ID生成策略实现
ObjectId由以下几部分组成:
1.
- 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对象。
- 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
-
- 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
-
- 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
-
- of(String, String) - Static method in class cn.hutool.core.date.DateTime
-
构造
- of(ChronoUnit) - Static method in enum cn.hutool.core.date.DateUnit
-
- of(Instant) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- 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
-
- of(long, ZoneId) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- of(long, TimeZone) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- of(Date) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- of(TemporalAccessor) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- of(int) - Static method in enum cn.hutool.core.date.Month
-
- 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
-
- of(int) - Static method in enum cn.hutool.core.date.Quarter
-
将 季度int转换为Season枚举对象
- of(int) - Static method in enum cn.hutool.core.date.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
-
- of(int, int) - Static method in class cn.hutool.core.date.YearQuarter
-
根据指定年份与季度,创建 YearQuarter
实例
- of(int, Quarter) - Static method in class cn.hutool.core.date.YearQuarter
-
根据指定年份与季度,创建 YearQuarter
实例
- of(LocalDate) - Static method in class cn.hutool.core.date.YearQuarter
-
根据指定日期,判断日期所在的年份与季度,创建 YearQuarter
实例
- of(Date) - Static method in class cn.hutool.core.date.YearQuarter
-
根据指定日期,判断日期所在的年份与季度,创建 YearQuarter
实例
- of(Calendar) - Static method in class cn.hutool.core.date.YearQuarter
-
根据指定日期,判断日期所在的年份与季度,创建 YearQuarter
实例
- of(YearMonth) - Static method in class cn.hutool.core.date.YearQuarter
-
根据指定年月,判断其所在的年份与季度,创建 YearQuarter
实例
- 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
-
- of(BigDecimal, DataUnit) - Static method in class cn.hutool.core.io.unit.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
-
- of(Object[]) - Static method in class cn.hutool.core.map.MapUtil
-
将数组转换为Map(HashMap),支持数组元素类型为:
Map.Entry
长度大于1的数组(取前两个值),如果不满足跳过此元素
Iterable 长度也必须大于1(取前两个值),如果不满足跳过此元素
Iterator 长度也必须大于1(取前两个值),如果不满足跳过此元素
Map<Object, Object> colorMap = MapUtil.of(new String[][] {
{ "RED", "#FF0000" },
{ "GREEN", "#00FF00" },
{ "BLUE", "#0000FF" }
});
参考:commons-lang
- 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
-
- 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
-
- 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
-
- of(Iterator<T>, boolean) - Static method in class cn.hutool.core.stream.StreamUtil
-
- of(File) - Static method in class cn.hutool.core.stream.StreamUtil
-
- of(Path) - Static method in class cn.hutool.core.stream.StreamUtil
-
- of(File, Charset) - Static method in class cn.hutool.core.stream.StreamUtil
-
- of(Path, Charset) - Static method in class cn.hutool.core.stream.StreamUtil
-
- 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
-
- 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
-
- of(CharSequence) - Static method in class cn.hutool.db.sql.SqlBuilder
-
从已有的SQL中构建一个SqlBuilder
- of(String) - Static method in class cn.hutool.http.HttpRequest
-
- of(String, Charset) - Static method in class cn.hutool.http.HttpRequest
-
构建一个HTTP请求
对于传入的URL,可以自定义是否解码已经编码的内容。
- 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
-
- 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
-
- 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
-
偏移天
- 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
-
- ofUTC(long) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- on(Supplier<T>) - Static method in class cn.hutool.core.lang.loader.LazyFunLoader
-
静态工厂方法,提供语义性与编码便利性
- on(Condition...) - Method in class cn.hutool.db.sql.SqlBuilder
-
- 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
-
对象移除回调。
- 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
-
- 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
-
- OptConverter() - Constructor for class cn.hutool.core.convert.impl.OptConverter
-
- OptionalConverter - Class in cn.hutool.core.convert.impl
-
- 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数组取或
BooleanUtil.or(true, true) = true
BooleanUtil.or(false, false) = false
BooleanUtil.or(true, false) = true
BooleanUtil.or(true, true, false) = true
BooleanUtil.or(true, true, true) = true
BooleanUtil.or(false, false, false) = false
- 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
-
如果包裹里的值存在,则返回该值,否则执行传入的操作,获取异常类型的返回值并抛出
往往是一个包含无参构造器的异常 例如传入IllegalStateException::new
- orElseThrow(Function<String, ? extends X>, String) - Method in class cn.hutool.core.lang.Opt
-
如果包裹里的值存在,则返回该值,否则执行传入的操作,获取异常类型的返回值并抛出
往往是一个包含 自定义消息 构造器的异常 例如
{@code
Opt.ofNullable(null).orElseThrow(IllegalStateException::new, "Ops!
- 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数组取或
BooleanUtil.or(Boolean.TRUE, Boolean.TRUE) = Boolean.TRUE
BooleanUtil.or(Boolean.FALSE, Boolean.FALSE) = Boolean.FALSE
BooleanUtil.or(Boolean.TRUE, Boolean.FALSE) = Boolean.TRUE
BooleanUtil.or(Boolean.TRUE, Boolean.TRUE, Boolean.TRUE) = Boolean.TRUE
BooleanUtil.or(Boolean.FALSE, Boolean.FALSE, Boolean.TRUE) = Boolean.TRUE
BooleanUtil.or(Boolean.TRUE, Boolean.FALSE, Boolean.TRUE) = Boolean.TRUE
BooleanUtil.or(Boolean.FALSE, Boolean.FALSE, Boolean.FALSE) = Boolean.FALSE
- 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库封装的工具类,通过此工具类,可获取系统、硬件相关信息
1、系统信息
2、硬件信息
相关内容见:https://github.com/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_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
-
补充字符串以满足最小长度,如果提供的字符串大于指定长度,截断之
CharSequenceUtil.padAfter(null, *, *);//null
CharSequenceUtil.padAfter("1", 3, '0');//"100"
CharSequenceUtil.padAfter("123", 2, '0');//"23"
CharSequenceUtil.padAfter("123", -1, '0')//"" 空串
- padAfter(CharSequence, int, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
补充字符串以满足最小长度
CharSequenceUtil.padAfter(null, *, *);//null
CharSequenceUtil.padAfter("1", 3, "ABC");//"1AB"
CharSequenceUtil.padAfter("123", 2, "ABC");//"23"
- Padding - Enum in cn.hutool.crypto
-
补码方式
补码方式是在分组密码中,当明文长度不是分组长度的整数倍时,需要在最后一个分组中填充一些数据使其凑满一个分组的长度。
- padLeft(List<T>, int, T) - Static method in class cn.hutool.core.collection.CollUtil
-
填充List,以达到最小长度
- padPre(CharSequence, int, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
补充字符串以满足指定长度,如果提供的字符串大于指定长度,截断之
同:leftPad (org.apache.commons.lang3.leftPad)
CharSequenceUtil.padPre(null, *, *);//null
CharSequenceUtil.padPre("1", 3, "ABC");//"AB1"
CharSequenceUtil.padPre("123", 2, "ABC");//"12"
CharSequenceUtil.padPre("1039", -1, "0");//"103"
- padPre(CharSequence, int, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
补充字符串以满足最小长度,如果提供的字符串大于指定长度,截断之
同:leftPad (org.apache.commons.lang3.leftPad)
CharSequenceUtil.padPre(null, *, *);//null
CharSequenceUtil.padPre("1", 3, '0');//"001"
CharSequenceUtil.padPre("123", 2, '0');//"12"
- padRight(Collection<T>, int, T) - Static method in class cn.hutool.core.collection.CollUtil
-
填充List,以达到最小长度
- page(int, int, List<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
对指定List分页取值
- page(int, int, List<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
对指定List分页取值
- page(List<T>, int, Consumer<List<T>>) - Static method in class cn.hutool.core.collection.ListUtil
-
对指定List进行分页,逐页返回数据
- page(Collection<String>, Entity, int, int, RsHandler<T>) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(Entity, int, int, RsHandler<T>) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(Entity, Page, RsHandler<T>) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(Collection<String>, Entity, Page, RsHandler<T>) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(CharSequence, Page, RsHandler<T>, Object...) - Method in class cn.hutool.db.AbstractDb
-
分页查询
- page(CharSequence, Page, Class<T>, Object...) - Method in class cn.hutool.db.AbstractDb
-
分页查询
- page(SqlBuilder, Page, RsHandler<T>) - Method in class cn.hutool.db.AbstractDb
-
分页查询
- page(CharSequence, Page, Object...) - Method in class cn.hutool.db.AbstractDb
-
分页查询
- page(Collection<String>, Entity, int, int) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(Collection<String>, Entity, Page) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(Entity, int, int) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(Entity, Page) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(Entity, Page, String...) - Method in class cn.hutool.db.DaoTemplate
-
分页
- page(Entity, Page) - Method in class cn.hutool.db.DaoTemplate
-
分页
- page(Connection, Query, RsHandler<T>) - Method in class cn.hutool.db.DialectRunner
-
分页查询
此方法不会关闭Connection
- page(Connection, SqlBuilder, Page, RsHandler<T>) - Method in class cn.hutool.db.DialectRunner
-
分页查询
此方法不会关闭Connection
- Page - Class in cn.hutool.db
-
分页对象
- Page() - Constructor for class cn.hutool.db.Page
-
- Page(int, int) - Constructor for class cn.hutool.db.Page
-
构造
- Page(int, int, Order) - Constructor for class cn.hutool.db.Page
-
构造
- page(Connection, Collection<String>, Entity, int, int, RsHandler<T>) - Method in class cn.hutool.db.SqlConnRunner
-
分页查询
此方法不会关闭Connection
- page(Connection, SqlBuilder, Page) - Method in class cn.hutool.db.SqlConnRunner
-
分页查询
此方法不会关闭Connection
- page(Connection, Collection<String>, Entity, int, int) - Method in class cn.hutool.db.SqlConnRunner
-
分页查询
此方法不会关闭Connection
- page(Connection, Entity, Page) - Method in class cn.hutool.db.SqlConnRunner
-
分页全字段查询
此方法不会关闭Connection
- page(Connection, Collection<String>, Entity, Page) - Method in class cn.hutool.db.SqlConnRunner
-
分页查询
此方法不会关闭Connection
- page(Connection, Collection<String>, Entity, Page, RsHandler<T>) - Method in class cn.hutool.db.SqlConnRunner
-
分页查询
此方法不会关闭Connection
- pageForEntityList(Entity, int, int) - Method in class cn.hutool.db.AbstractDb
-
分页查询,结果为Entity列表,不计算总数
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- pageForEntityList(Entity, Page) - Method in class cn.hutool.db.AbstractDb
-
分页查询,结果为Entity列表,不计算总数
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- PageResult<T> - Class in cn.hutool.db
-
分页数据结果集
- PageResult() - Constructor for class cn.hutool.db.PageResult
-
构造
- PageResult(int, int) - Constructor for class cn.hutool.db.PageResult
-
构造
- PageResult(int, int, int) - Constructor for class cn.hutool.db.PageResult
-
构造
- PageResultHandler - Class in cn.hutool.db.handler
-
分页结果集处理类 ,处理出的结果为PageResult
- PageResultHandler(PageResult<Entity>) - Constructor for class cn.hutool.db.handler.PageResultHandler
-
构造
结果集根据给定的分页对象查询数据库,填充结果
- PageResultHandler(PageResult<Entity>, boolean) - Constructor for class cn.hutool.db.handler.PageResultHandler
-
构造
结果集根据给定的分页对象查询数据库,填充结果
- PageUtil - Class in cn.hutool.core.util
-
分页工具类
- PageUtil() - Constructor for class cn.hutool.core.util.PageUtil
-
- Pair<K,V> - Class in cn.hutool.core.lang
-
键值对对象,只能在构造时传入键值
- Pair(K, V) - Constructor for class cn.hutool.core.lang.Pair
-
构造
- PairConverter - Class in cn.hutool.core.convert.impl
-
- PairConverter(Type) - Constructor for class cn.hutool.core.convert.impl.PairConverter
-
构造,Pair的key和value泛型类型自动获取
- PairConverter(Type, Type, Type) - Constructor for class cn.hutool.core.convert.impl.PairConverter
-
构造
- palSize - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- parallelStream() - Method in class cn.hutool.core.lang.Tuple
-
将元组转成并行流
- ParameterizedTypeImpl - Class in cn.hutool.core.lang
-
- ParameterizedTypeImpl(Type[], Type, Type) - Constructor for class cn.hutool.core.lang.ParameterizedTypeImpl
-
构造
- parse(CharSequence, boolean, DateParser) - Static method in class cn.hutool.core.date.CalendarUtil
-
- parse(CharSequence, DateFormat) - Static method in class cn.hutool.core.date.DateUtil
-
构建DateTime对象
- parse(CharSequence, DateParser) - Static method in class cn.hutool.core.date.DateUtil
-
构建DateTime对象
- parse(CharSequence, DateParser, boolean) - Static method in class cn.hutool.core.date.DateUtil
-
构建DateTime对象
- parse(CharSequence, DateTimeFormatter) - Static method in class cn.hutool.core.date.DateUtil
-
构建DateTime对象
- parse(CharSequence, String) - Static method in class cn.hutool.core.date.DateUtil
-
将特定格式的日期转换为Date对象
- parse(CharSequence, String, Locale) - Static method in class cn.hutool.core.date.DateUtil
-
将特定格式的日期转换为Date对象
- parse(String, String...) - Static method in class cn.hutool.core.date.DateUtil
-
通过给定的日期格式解析日期时间字符串。
- parse(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
将日期字符串转换为
DateTime
对象,格式:
yyyy-MM-dd HH:mm:ss
yyyy/MM/dd HH:mm:ss
yyyy.MM.dd HH:mm:ss
yyyy年MM月dd日 HH时mm分ss秒
yyyy-MM-dd
yyyy/MM/dd
yyyy.MM.dd
HH:mm:ss
HH时mm分ss秒
yyyy-MM-dd HH:mm
yyyy-MM-dd HH:mm:ss.SSS
yyyy-MM-dd HH:mm:ss.SSSSSS
yyyyMMddHHmmss
yyyyMMddHHmmssSSS
yyyyMMdd
EEE, dd MMM yyyy HH:mm:ss z
EEE MMM dd HH:mm:ss zzz yyyy
yyyy-MM-dd'T'HH:mm:ss'Z'
yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
yyyy-MM-dd'T'HH:mm:ssZ
yyyy-MM-dd'T'HH:mm:ss.SSSZ
- parse(String) - Method in interface cn.hutool.core.date.format.DateParser
-
- parse(String, ParsePosition) - Method in interface cn.hutool.core.date.format.DateParser
-
- parse(String, ParsePosition, Calendar) - Method in interface cn.hutool.core.date.format.DateParser
-
根据给定格式更新
Calendar
Upon success, the ParsePosition index is updated to indicate how much of the source text was consumed.
- parse(String) - Method in class cn.hutool.core.date.format.FastDateFormat
-
- parse(String, ParsePosition) - Method in class cn.hutool.core.date.format.FastDateFormat
-
- parse(String, ParsePosition, Calendar) - Method in class cn.hutool.core.date.format.FastDateFormat
-
- parse(String) - Method in class cn.hutool.core.date.format.FastDateParser
-
- parse(String, ParsePosition) - Method in class cn.hutool.core.date.format.FastDateParser
-
- parse(String, ParsePosition, Calendar) - Method in class cn.hutool.core.date.format.FastDateParser
-
- parse(CharSequence, String) - Static method in class cn.hutool.core.date.format.GlobalCustomFormat
-
使用自定义格式解析日期
- parse(CharSequence) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- parse(CharSequence, DateTimeFormatter) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- parse(CharSequence, String) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- parse(CharSequence) - Static method in class cn.hutool.core.io.unit.DataSize
-
获取指定数据大小文本对应的DataSize对象,如果无单位指定,默认获取
DataUnit.BYTES
例如:
"12KB" -- parses as "12 kilobytes"
"5MB" -- parses as "5 megabytes"
"20" -- parses as "20 bytes"
- parse(CharSequence, DataUnit) - Static method in class cn.hutool.core.io.unit.DataSize
-
Obtain a DataSize from a text string such as
12MB
using
the specified default
DataUnit
if no unit is specified.
- parse(String) - Static method in class cn.hutool.core.io.unit.DataSizeUtil
-
解析数据大小字符串,转换为bytes大小
- parse(T) - Static method in class cn.hutool.core.lang.Dict
-
将PO对象转为Dict
- parse(TreeNode<T>, Tree<T>) - Method in class cn.hutool.core.lang.tree.parser.DefaultNodeParser
-
- parse(T, Tree<E>) - Method in interface cn.hutool.core.lang.tree.parser.NodeParser
-
- parse(CharSequence, Charset) - Method in class cn.hutool.core.net.url.UrlPath
-
解析path
- parse(String, Charset) - Method in class cn.hutool.core.net.url.UrlQuery
-
解析URL中的查询字符串
- parse(String, Charset, boolean) - Method in class cn.hutool.core.net.url.UrlQuery
-
解析URL中的查询字符串
- parse(Reader) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
- parse(String) - Static method in class cn.hutool.core.util.CharsetUtil
-
解析字符串编码为Charset对象,解析失败返回系统默认编码
- parse(String, Charset) - Static method in class cn.hutool.core.util.CharsetUtil
-
解析字符串编码为Charset对象,解析失败返回默认编码
- parse(String) - Method in class cn.hutool.cron.pattern.parser.PartParser
-
- parse(String) - Static method in class cn.hutool.cron.pattern.parser.PatternParser
-
解析表达式到匹配列表中
- parse(T) - Static method in class cn.hutool.db.ActiveEntity
-
将PO对象转为Entity
- parse(T, boolean, boolean) - Static method in class cn.hutool.db.ActiveEntity
-
将PO对象转为ActiveEntity
- parse(T) - Static method in class cn.hutool.db.Entity
-
将PO对象转为Entity
- parse(T, boolean, boolean) - Static method in class cn.hutool.db.Entity
-
将PO对象转为Entity
- parse(String, Object) - Static method in class cn.hutool.db.sql.Condition
-
解析为Condition
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.analysis.AnalysisEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.ansj.AnsjEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.hanlp.HanLPEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.jcseg.JcsegEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.jieba.JiebaEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.mmseg.MmsegEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.mynlp.MynlpEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.word.WordEngine
-
- parse(CharSequence) - Method in interface cn.hutool.extra.tokenizer.TokenizerEngine
-
文本分词处理接口,通过实现此接口完成分词,产生分词结果
- parse(String) - Static method in class cn.hutool.http.useragent.UserAgentParser
-
解析User-Agent
- parse(String) - Static method in class cn.hutool.http.useragent.UserAgentUtil
-
解析User-Agent
- parse(T) - Method in interface cn.hutool.json.JSONBeanParser
-
value转Bean
通过实现此接口,将JSON中的值填充到当前对象的字段值中,即对象自行实现JSON反序列化逻辑
- parse(String) - Method in class cn.hutool.json.JSONSupport
-
JSON String转Bean
- parse(JSON) - Method in class cn.hutool.json.JSONSupport
-
JSON转Bean
- parse(Object) - Static method in class cn.hutool.json.JSONUtil
-
转换对象为JSON,如果用户不配置JSONConfig,则JSON的有序与否与传入对象有关。
- parse(Object, JSONConfig) - Static method in class cn.hutool.json.JSONUtil
-
转换对象为JSON,如果用户不配置JSONConfig,则JSON的有序与否与传入对象有关。
- parse(String, Charset) - Method in class cn.hutool.jwt.Claims
-
解析JWT JSON
- parse(String) - Method in class cn.hutool.jwt.JWT
-
解析JWT内容
- parse(XSSFReader) - Static method in class cn.hutool.poi.excel.sax.SheetRidReader
-
从XSSFReader
中解析sheet名、sheet id等相关信息
- parseAddress(String, Charset) - Static method in class cn.hutool.extra.mail.InternalMailUtil
-
将一个地址字符串解析为多个地址
地址间使用" "、","、";"分隔
- parseAddress(String, Charset) - Static method in class cn.hutool.extra.mail.JakartaInternalMailUtil
-
将一个地址字符串解析为多个地址
地址间使用" "、","、";"分隔
- parseAddressFromStrs(String[], Charset) - Static method in class cn.hutool.extra.mail.InternalMailUtil
-
将多个字符串邮件地址转为InternetAddress
列表
单个字符串地址可以是多个地址合并的字符串
- parseAddressFromStrs(String[], Charset) - Static method in class cn.hutool.extra.mail.JakartaInternalMailUtil
-
将多个字符串邮件地址转为InternetAddress
列表
单个字符串地址可以是多个地址合并的字符串
- parseArray(String) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONArray
- parseArray(Object) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONArray
- parseArray(Object, JSONConfig) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONArray
- parseArray(Object, boolean) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONArray
- parseBean(T) - Method in class cn.hutool.core.lang.Dict
-
将值对象转换为Dict
类名会被当作表名,小写第一个字母
- parseBean(T, boolean, boolean) - Method in class cn.hutool.core.lang.Dict
-
将值对象转换为Dict
类名会被当作表名,小写第一个字母
- parseBean(T) - Method in class cn.hutool.db.ActiveEntity
-
- parseBean(T, boolean, boolean) - Method in class cn.hutool.db.ActiveEntity
-
- parseBean(T) - Method in class cn.hutool.db.Entity
-
将值对象转换为Entity
类名会被当作表名,小写第一个字母
- parseBean(T, boolean, boolean) - Method in class cn.hutool.db.Entity
-
将值对象转换为Entity
类名会被当作表名,小写第一个字母
- parseByPatterns(String, String...) - Static method in class cn.hutool.core.date.CalendarUtil
-
通过给定的日期格式解析日期时间字符串。
- parseByPatterns(String, Locale, String...) - Static method in class cn.hutool.core.date.CalendarUtil
-
通过给定的日期格式解析日期时间字符串。
- parseByPatterns(String, Locale, boolean, String...) - Static method in class cn.hutool.core.date.CalendarUtil
-
通过给定的日期格式解析日期时间字符串。
- ParseConfig - Class in cn.hutool.json.xml
-
XML解析为JSON的可选选项
参考:https://github.com/stleary/JSON-java/blob/master/src/main/java/org/json/ParserConfiguration.java
- ParseConfig() - Constructor for class cn.hutool.json.xml.ParseConfig
-
- parseCookies(String) - Static method in class cn.hutool.core.net.NetUtil
-
解析Cookie信息
- parseCST(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
- parseDate(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
解析日期字符串,忽略时分秒,支持的格式包括:
yyyy-MM-dd
yyyy/MM/dd
yyyy.MM.dd
yyyy年MM月dd日
- parseDate(CharSequence) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
解析日期时间字符串为
LocalDate
,仅支持yyyy-MM-dd'T'HH:mm:ss格式,例如:2007-12-03T10:15:30
- parseDate(CharSequence, DateTimeFormatter) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- parseDate(CharSequence, String) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- parseDateTime(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
解析日期时间字符串,格式支持:
yyyy-MM-dd HH:mm:ss
yyyy/MM/dd HH:mm:ss
yyyy.MM.dd HH:mm:ss
yyyy年MM月dd日 HH:mm:ss
- parseDouble(String) - Static method in class cn.hutool.core.util.NumberUtil
-
解析转换数字字符串为long型数字,规则如下:
1、0开头的忽略开头的0
2、空串返回0
3、其它情况按照10进制转换
4、.123形式返回0.123(按照小于0的小数对待)
- parseDouble(String, Double) - Static method in class cn.hutool.core.util.NumberUtil
-
解析转换数字字符串为
Double
规则如下:
1、0开头的忽略开头的0
2、空串返回0
3、其它情况按照10进制转换
4、.123形式返回0.123(按照小于0的小数对待)
- parseFirstAddress(String, Charset) - Static method in class cn.hutool.extra.mail.InternalMailUtil
-
解析第一个地址
- parseFirstAddress(String, Charset) - Static method in class cn.hutool.extra.mail.JakartaInternalMailUtil
-
解析第一个地址
- parseFloat(String) - Static method in class cn.hutool.core.util.NumberUtil
-
解析转换数字字符串为long型数字,规则如下:
1、0开头的忽略开头的0
2、空串返回0
3、其它情况按照10进制转换
4、.123形式返回0.123(按照小于0的小数对待)
- parseFloat(String, Float) - Static method in class cn.hutool.core.util.NumberUtil
-
解析转换数字字符串为
Float
规则如下:
1、0开头的忽略开头的0
2、空串返回0
3、其它情况按照10进制转换
4、.123形式返回0.123(按照小于0的小数对待)
- parseFromXml(String) - Static method in class cn.hutool.json.JSONUtil
-
XML字符串转为JSONObject
- parseInt(String) - Static method in class cn.hutool.core.util.NumberUtil
-
解析转换数字字符串为int型数字,规则如下:
1、0x开头的视为16进制数字
2、0开头的忽略开头的0
3、其它情况按照10进制转换
4、空串返回0
5、.123形式返回0(按照小于0的小数对待)
6、123.56截取小数点之前的数字,忽略小数部分
- parseInt(String, Integer) - Static method in class cn.hutool.core.util.NumberUtil
-
解析转换数字字符串为
Integer
规则如下:
1、0x开头的视为16进制数字
2、0开头的忽略开头的0
3、其它情况按照10进制转换
4、空串返回0
5、.123形式返回0(按照小于0的小数对待)
6、123.56截取小数点之前的数字,忽略小数部分
7、解析失败返回默认值
- parseISO8601(String) - Static method in class cn.hutool.core.date.DateUtil
-
解析ISO8601时间,格式:
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
- parseJSONObject(JSONObject, String, boolean) - Static method in class cn.hutool.json.xml.JSONXMLParser
-
转换XML为JSONObject
转换过程中一些信息可能会丢失,JSON中无法区分节点和属性,相同的节点将被处理为JSONArray。
- parseJSONObject(JSONObject, String, ParseConfig) - Static method in class cn.hutool.json.xml.JSONXMLParser
-
转换XML为JSONObject
转换过程中一些信息可能会丢失,JSON中无法区分节点和属性,相同的节点将被处理为JSONArray。
- parseLocalDateTime(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
构建LocalDateTime对象
格式:yyyy-MM-dd HH:mm:ss
- parseLocalDateTime(CharSequence, String) - Static method in class cn.hutool.core.date.DateUtil
-
构建LocalDateTime对象
- parseLong(String) - Static method in class cn.hutool.core.util.NumberUtil
-
解析转换数字字符串为long型数字,规则如下:
1、0x开头的视为16进制数字
2、0开头的忽略开头的0
3、空串返回0
4、其它情况按照10进制转换
5、.123形式返回0(按照小于0的小数对待)
6、123.56截取小数点之前的数字,忽略小数部分
- parseLong(String, Long) - Static method in class cn.hutool.core.util.NumberUtil
-
解析转换数字字符串为
Long
规则如下:
1、0x开头的视为16进制数字
2、0开头的忽略开头的0
3、其它情况按照10进制转换
4、空串返回0
5、.123形式返回0(按照小于0的小数对待)
6、123.56截取小数点之前的数字,忽略小数部分
7、解析失败返回默认值
- parseMultipart(UploadSetting) - Method in class cn.hutool.http.server.HttpServerRequest
-
获得multipart/form-data 表单内容
包括文件和普通表单数据
在同一次请求中,此方法只能被执行一次!
- parseNumber(String) - Static method in class cn.hutool.core.util.NumberUtil
-
将指定字符串转换为
Number
对象
此方法不支持科学计数法
需要注意的是,在不同Locale下,数字的表示形式也是不同的,例如:
德国、荷兰、比利时、丹麦、意大利、罗马尼亚和欧洲大多地区使用`,`区分小数
也就是说,在这些国家地区,1.20表示120,而非1.2。
- parseNumber(String, Number) - Static method in class cn.hutool.core.util.NumberUtil
-
- parseObj(String) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONObject对象
- parseObj(Object) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONObject对象
此方法会忽略空值,但是对JSON字符串不影响
- parseObj(Object, JSONConfig) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONObject对象
此方法会忽略空值,但是对JSON字符串不影响
- parseObj(Object, boolean) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONObject对象
- parseObj(Object, boolean, boolean) - Static method in class cn.hutool.json.JSONUtil
-
- parseObject(String) - Method in interface cn.hutool.core.date.format.DateParser
-
- parseObject(String, ParsePosition) - Method in interface cn.hutool.core.date.format.DateParser
-
- parseObject(String, ParsePosition) - Method in class cn.hutool.core.date.format.FastDateFormat
-
- parsePattern() - Method in class cn.hutool.core.date.format.FastDatePrinter
-
Returns a list of Rules given a pattern.
- parseRequestStream(InputStream, Charset) - Method in class cn.hutool.core.net.multipart.MultipartFormData
-
提取上传的文件和表单数据
- parseRFC2822(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
解析RFC2822时间,格式:
EEE MMM dd HH:mm:ss z yyyy(例如:Wed Aug 01 00:00:00 CST 2012)
- parseTime(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
解析时间,格式HH:mm:ss,日期部分默认为1970-01-01
- parseTimeToday(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
解析时间,格式HH:mm 或 HH:mm:ss,日期默认为今天
- parseTo(JSONObject, Filter<MutablePair<String, Object>>) - Method in class cn.hutool.json.JSONParser
-
- parseTo(JSONArray, Filter<Mutable<Object>>) - Method in class cn.hutool.json.JSONParser
-
- parseToken(String, int[]) - Method in class cn.hutool.core.date.format.FastDatePrinter
-
Performs the parsing of tokens.
- parseToken(String) - Static method in class cn.hutool.jwt.JWTUtil
-
解析JWT Token
- parseUTC(String) - Static method in class cn.hutool.core.date.DateUtil
-
- parseWithUnderlineCase(T) - Static method in class cn.hutool.db.ActiveEntity
-
将PO对象转为ActiveEntity,并采用下划线法转换字段
- parseWithUnderlineCase(T) - Static method in class cn.hutool.db.Entity
-
将PO对象转为Entity,并采用下划线法转换字段
- parseXml(String) - Static method in class cn.hutool.core.util.XmlUtil
-
将String类型的XML转换为XML文档
- Part - Enum in cn.hutool.cron.pattern
-
表达式各个部分的枚举,用于限定在表达式中的位置和规则(如最小值和最大值)
Enum.ordinal()
表示此部分在表达式中的位置,如0表示秒
表达式各个部分的枚举位置为:
0 1 2 3 4 5 6
[SECOND] MINUTE HOUR DAY_OF_MONTH MONTH DAY_OF_WEEK [YEAR]
- partition(List<T>, int) - Static method in class cn.hutool.core.collection.ListUtil
-
通过传入分区长度,将指定列表分区为不同的块,每块区域的长度相同(最后一块可能小于长度)
分区是在原List的基础上进行的,返回的分区是不可变的抽象列表,原列表元素变更,分区中元素也会变更。
- Partition<T> - Class in cn.hutool.core.collection
-
列表分区或分段
通过传入分区长度,将指定列表分区为不同的块,每块区域的长度相同(最后一块可能小于长度)
分区是在原List的基础上进行的,返回的分区是不可变的抽象列表,原列表元素变更,分区中元素也会变更。
- Partition(List<T>, int) - Constructor for class cn.hutool.core.collection.Partition
-
列表分区
- partition(Map<K, V>, int) - Static method in class cn.hutool.core.map.MapUtil
-
将一个Map按照固定大小拆分成多个子Map
- PartitionIter<T> - Class in cn.hutool.core.collection
-
分批迭代工具,可以分批处理数据
比如调用其他客户的接口,传入的入参有限,需要分批
比如mysql/oracle用in语句查询,超过1000可以分批
比如数据库取出游标,可以把游标里的数据一批一批处理
- PartitionIter(Iterator<T>, int) - Constructor for class cn.hutool.core.collection.PartitionIter
-
创建分组对象
- partitionSize - Variable in class cn.hutool.core.collection.PartitionIter
-
实际每批大小
- PartMatcher - Interface in cn.hutool.cron.pattern.matcher
-
表达式中的某个位置部分匹配器
用于匹配日期位中对应数字是否匹配
- PartParser - Class in cn.hutool.cron.pattern.parser
-
- PartParser(Part) - Constructor for class cn.hutool.cron.pattern.parser.PartParser
-
构造
- partValue(int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
把给定的总数平均分成N份,返回每份的个数
当除以分数有余数时每份+1
- partValue(int, int, boolean) - Static method in class cn.hutool.core.util.NumberUtil
-
把给定的总数平均分成N份,返回每份的个数
如果isPlusOneWhenHasRem为true,则当除以分数有余数时每份+1,否则丢弃余数部分
- PassAuth - Class in cn.hutool.core.net
-
- PassAuth(String, char[]) - Constructor for class cn.hutool.core.net.PassAuth
-
构造
- passCurrentRow() - Method in class cn.hutool.poi.excel.ExcelWriter
-
跳过当前行
- passRows(int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
跳过指定行数
- PasswdStrength - Class in cn.hutool.core.text
-
检测密码强度
来自:https://github.com/venshine/CheckPasswordStrength
- PasswdStrength() - Constructor for class cn.hutool.core.text.PasswdStrength
-
- PasswdStrength.CHAR_TYPE - Enum in cn.hutool.core.text
-
字符类型枚举
- PasswdStrength.PASSWD_LEVEL - Enum in cn.hutool.core.text
-
密码等级枚举
- password(String) - Static method in class cn.hutool.core.util.DesensitizedUtil
-
【密码】密码的全部字符都用*代替,比如:******
- patch(String) - Static method in class cn.hutool.http.HttpRequest
-
PATCH请求
- PATH - Static variable in class cn.hutool.core.net.RFC3986
-
path = segment / "/"
- PATH_FILE_PRE - Static variable in class cn.hutool.core.io.FileUtil
-
当Path为文件形式时, path会加入一个表示文件的前缀
- PATH_SEGMENT - Static variable in class cn.hutool.core.net.URLEncoder
-
Deprecated.
URL的Path的每一个Segment URLEncoder
默认的编码器针对URI路径编码,定义如下:
pchar = unreserved / pct-encoded / sub-delims / ":"(非空segment不包含:) / "@"
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
sub-delims = "!"
- PATH_SEPARATOR - Static variable in class cn.hutool.core.io.FileUtil
-
多个PATH之间的分隔符
在Unix和Linux下 是':'
; 在Windows下是 ';'
- PATH_SEPARATOR - Static variable in interface cn.hutool.system.SystemPropsKeys
-
路径分隔符(在 UNIX 系统中是“:”)
- PATH_SEPARATOR - Static variable in class cn.hutool.system.SystemUtil
-
路径分隔符(在 UNIX 系统中是“:”)的KEY
- PathConverter - Class in cn.hutool.core.convert.impl
-
字符串转换器
- PathConverter() - Constructor for class cn.hutool.core.convert.impl.PathConverter
-
- pathEndsWith(File, String) - Static method in class cn.hutool.core.io.FileUtil
-
判断文件路径是否有指定后缀,忽略大小写
常用语判断扩展名
- pathEquals(File, File) - Static method in class cn.hutool.core.io.FileUtil
-
文件路径是否相同
取两个文件的绝对路径比较,在Windows下忽略大小写,在Linux下不忽略。
- PathMover - Class in cn.hutool.core.io.file
-
文件移动封装
- PathMover(Path, Path, CopyOption[]) - Constructor for class cn.hutool.core.io.file.PathMover
-
构造
- PathUtil - Class in cn.hutool.core.io.file
-
NIO中Path对象操作封装
- PathUtil() - Constructor for class cn.hutool.core.io.file.PathUtil
-
- pattern - Variable in class cn.hutool.core.date.format.AbstractDateBasic
-
The pattern
- PatternFinder - Class in cn.hutool.core.text.finder
-
正则查找器
通过传入正则表达式,查找指定字符串中匹配正则的开始和结束位置
- PatternFinder(String, boolean) - Constructor for class cn.hutool.core.text.finder.PatternFinder
-
构造
- PatternFinder(Pattern) - Constructor for class cn.hutool.core.text.finder.PatternFinder
-
构造
- PatternMatcher - Class in cn.hutool.cron.pattern.matcher
-
单一表达式的匹配器,匹配器由7个
PartMatcher
组成,分别是:
0 1 2 3 4 5 6
SECOND MINUTE HOUR DAY_OF_MONTH MONTH DAY_OF_WEEK YEAR
- PatternMatcher(PartMatcher, PartMatcher, PartMatcher, PartMatcher, PartMatcher, PartMatcher, PartMatcher) - Constructor for class cn.hutool.cron.pattern.matcher.PatternMatcher
-
构造
- PatternParser - Class in cn.hutool.cron.pattern.parser
-
- PatternParser() - Constructor for class cn.hutool.cron.pattern.parser.PatternParser
-
- patternParts - Variable in class cn.hutool.core.bean.BeanPath
-
- PatternPool - Class in cn.hutool.core.lang
-
- PatternPool() - Constructor for class cn.hutool.core.lang.PatternPool
-
- pbkdf2(char[], byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
PBKDF2加密密码
- PBKDF2 - Class in cn.hutool.crypto.symmetric
-
PBKDF2应用一个伪随机函数以导出密钥,PBKDF2简单而言就是将salted hash进行多次重复计算。
- PBKDF2() - Constructor for class cn.hutool.crypto.symmetric.PBKDF2
-
构造,算法PBKDF2WithHmacSHA1,盐长度16,密文长度512,迭代次数1000
- PBKDF2(String, int, int) - Constructor for class cn.hutool.crypto.symmetric.PBKDF2
-
构造
- PCHAR - Static variable in class cn.hutool.core.net.RFC3986
-
pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
- peek(Consumer<T>) - Method in class cn.hutool.core.lang.Opt
-
- peeks(Consumer<T>...) - Method in class cn.hutool.core.lang.Opt
-
- PemUtil - Class in cn.hutool.crypto
-
PEM(Privacy Enhanced Mail)格式相关工具类。
- PemUtil() - Constructor for class cn.hutool.crypto.PemUtil
-
- PercentCodec - Class in cn.hutool.core.codec
-
百分号编码(Percent-encoding), 也称作URL编码(URL encoding)。
- PercentCodec() - Constructor for class cn.hutool.core.codec.PercentCodec
-
构造
[a-zA-Z0-9]默认不被编码
- PercentCodec(BitSet) - Constructor for class cn.hutool.core.codec.PercentCodec
-
构造
- PeriodConverter - Class in cn.hutool.core.convert.impl
-
- PeriodConverter() - Constructor for class cn.hutool.core.convert.impl.PeriodConverter
-
- PhoenixDialect - Class in cn.hutool.db.dialect.impl
-
Phoenix数据库方言
- PhoenixDialect() - Constructor for class cn.hutool.db.dialect.impl.PhoenixDialect
-
- PhoneUtil - Class in cn.hutool.core.util
-
电话号码工具类,包括:
手机号码
400、800号码
座机号码
- PhoneUtil() - Constructor for class cn.hutool.core.util.PhoneUtil
-
- PI - Static variable in class cn.hutool.core.util.CoordinateUtil
-
坐标转换参数:π
- PicType - Enum in cn.hutool.poi.word
-
Word中的图片类型
- Pid - Enum in cn.hutool.core.lang
-
- ping(String) - Static method in class cn.hutool.core.net.NetUtil
-
检测IP地址是否能ping通
- ping(String, int) - Static method in class cn.hutool.core.net.NetUtil
-
检测IP地址是否能ping通
- Pinyin4jEngine - Class in cn.hutool.extra.pinyin.engine.pinyin4j
-
封装了Pinyin4j的引擎。
- Pinyin4jEngine() - Constructor for class cn.hutool.extra.pinyin.engine.pinyin4j.Pinyin4jEngine
-
构造
- Pinyin4jEngine(HanyuPinyinOutputFormat) - Constructor for class cn.hutool.extra.pinyin.engine.pinyin4j.Pinyin4jEngine
-
构造
- PinyinComparator - Class in cn.hutool.core.comparator
-
按照GBK拼音顺序对给定的汉字字符串排序
- PinyinComparator() - Constructor for class cn.hutool.core.comparator.PinyinComparator
-
构造
- PinyinEngine - Interface in cn.hutool.extra.pinyin
-
拼音引擎接口,具体的拼音实现通过实现此接口,完成具体实现功能
- PinyinException - Exception in cn.hutool.extra.pinyin
-
模板异常
- PinyinException(Throwable) - Constructor for exception cn.hutool.extra.pinyin.PinyinException
-
- PinyinException(String) - Constructor for exception cn.hutool.extra.pinyin.PinyinException
-
- PinyinException(String, Object...) - Constructor for exception cn.hutool.extra.pinyin.PinyinException
-
- PinyinException(String, Throwable) - Constructor for exception cn.hutool.extra.pinyin.PinyinException
-
- PinyinException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.extra.pinyin.PinyinException
-
- PinyinException(Throwable, String, Object...) - Constructor for exception cn.hutool.extra.pinyin.PinyinException
-
- PinyinFactory - Class in cn.hutool.extra.pinyin.engine
-
简单拼音引擎工厂,用于根据用户引入的拼音库jar,自动创建对应的拼音引擎对象
- PinyinFactory() - Constructor for class cn.hutool.extra.pinyin.engine.PinyinFactory
-
- PinyinUtil - Class in cn.hutool.extra.pinyin
-
拼音工具类,封装了TinyPinyin、JPinyin、Pinyin4j,通过SPI自动识别。
- PinyinUtil() - Constructor for class cn.hutool.extra.pinyin.PinyinUtil
-
- pixelAspect - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- pixels - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- pixels - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- pixelStack - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- PJWFilter - Class in cn.hutool.bloomfilter.filter
-
- PJWFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.PJWFilter
-
- PJWFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.PJWFilter
-
- pjwHash(String) - Static method in class cn.hutool.core.util.HashUtil
-
PJW算法
- PLATE_NUMBER - Static variable in class cn.hutool.core.lang.PatternPool
-
中国车牌号码(兼容新能源车牌)
- PLATE_NUMBER - Static variable in interface cn.hutool.core.lang.RegexPool
-
中国车牌号码(兼容新能源车牌)
- PLATE_NUMBER - Static variable in class cn.hutool.core.lang.Validator
-
中国车牌号码
- Platform - Class in cn.hutool.http.useragent
-
平台对象
- Platform(String, String) - Constructor for class cn.hutool.http.useragent.Platform
-
构造
- platforms - Static variable in class cn.hutool.http.useragent.Platform
-
支持的平台类型
- plus(int) - Method in enum cn.hutool.core.date.Quarter
-
加上指定数量的季度
- plusQuarters(long) - Method in class cn.hutool.core.date.YearQuarter
-
添加季度
- plusYears(long) - Method in class cn.hutool.core.date.YearQuarter
-
添加年份
- PoiChecker - Class in cn.hutool.poi
-
POI引入检查器
- PoiChecker() - Constructor for class cn.hutool.poi.PoiChecker
-
- POIException - Exception in cn.hutool.poi.exceptions
-
POI异常
- POIException(Throwable) - Constructor for exception cn.hutool.poi.exceptions.POIException
-
- POIException(String) - Constructor for exception cn.hutool.poi.exceptions.POIException
-
- POIException(String, Object...) - Constructor for exception cn.hutool.poi.exceptions.POIException
-
- POIException(String, Throwable) - Constructor for exception cn.hutool.poi.exceptions.POIException
-
- POIException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.poi.exceptions.POIException
-
- POIException(Throwable, String, Object...) - Constructor for exception cn.hutool.poi.exceptions.POIException
-
- PooledConnection - Class in cn.hutool.db.ds.pooled
-
池化
- PooledConnection(PooledDataSource) - Constructor for class cn.hutool.db.ds.pooled.PooledConnection
-
构造
- PooledConnection(PooledDataSource, Connection) - Constructor for class cn.hutool.db.ds.pooled.PooledConnection
-
- PooledDataSource - Class in cn.hutool.db.ds.pooled
-
池化数据源
- PooledDataSource() - Constructor for class cn.hutool.db.ds.pooled.PooledDataSource
-
构造,读取默认的配置文件和默认分组
- PooledDataSource(String) - Constructor for class cn.hutool.db.ds.pooled.PooledDataSource
-
构造,读取默认的配置文件
- PooledDataSource(DbSetting, String) - Constructor for class cn.hutool.db.ds.pooled.PooledDataSource
-
构造
- PooledDataSource(DbConfig) - Constructor for class cn.hutool.db.ds.pooled.PooledDataSource
-
构造
- PooledDSFactory - Class in cn.hutool.db.ds.pooled
-
Hutool自身实现的池化数据源工厂类
- PooledDSFactory() - Constructor for class cn.hutool.db.ds.pooled.PooledDSFactory
-
- PooledDSFactory(Setting) - Constructor for class cn.hutool.db.ds.pooled.PooledDSFactory
-
- popPart(Stack<T>, int) - Static method in class cn.hutool.core.collection.CollUtil
-
切取部分数据
切取后的栈将减少这些元素
- popPart(Deque<T>, int) - Static method in class cn.hutool.core.collection.CollUtil
-
切取部分数据
切取后的栈将减少这些元素
- PORT_RANGE_MAX - Static variable in class cn.hutool.core.net.NetUtil
-
默认最大端口,65535
- PORT_RANGE_MIN - Static variable in class cn.hutool.core.net.NetUtil
-
默认最小端口,1024
- post(String) - Static method in class cn.hutool.http.HttpRequest
-
POST请求
- post(String, Map<String, Object>) - Static method in class cn.hutool.http.HttpUtil
-
发送post请求
- post(String, Map<String, Object>, int) - Static method in class cn.hutool.http.HttpUtil
-
发送post请求
- post(String, String) - Static method in class cn.hutool.http.HttpUtil
-
发送post请求
请求体body参数支持两种类型:
1.
- post(String, String, int) - Static method in class cn.hutool.http.HttpUtil
-
发送post请求
请求体body参数支持两种类型:
1.
- PostgresqlDialect - Class in cn.hutool.db.dialect.impl
-
Postgree方言
- PostgresqlDialect() - Constructor for class cn.hutool.db.dialect.impl.PostgresqlDialect
-
构造
- postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class cn.hutool.extra.spring.SpringUtil
-
- postProcessors - Variable in class cn.hutool.core.annotation.AbstractAnnotationSynthesizer
-
合成注解属性处理器
- postVisitDirectory(Path, IOException) - Method in class cn.hutool.core.io.file.visitor.DelVisitor
-
访问目录结束后删除目录,当执行此方法时,子文件或目录都已访问(删除)完毕
理论上当执行到此方法时,目录下已经被清空了
- pow(Number, int) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的幂运算
- pow(BigDecimal, int) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的幂运算
如果n为负数,则返回1/a的-n次方,默认四舍五入
- prefix - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- prepareCall(String) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareCall(String, int, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareCall(String, int, int, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareCall(Connection, String, Object...) - Static method in class cn.hutool.db.StatementUtil
-
- prepareStatement(String) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareStatement(String, int, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareStatement(String, int, int, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareStatement(String, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareStatement(String, int[]) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareStatement(String, String[]) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareStatement(Connection, SqlBuilder) - Static method in class cn.hutool.db.StatementUtil
-
- prepareStatement(Connection, String, Collection<Object>) - Static method in class cn.hutool.db.StatementUtil
-
- prepareStatement(Connection, String, Object...) - Static method in class cn.hutool.db.StatementUtil
-
- prepareStatement(boolean, Connection, String, Object...) - Static method in class cn.hutool.db.StatementUtil
-
- prepareStatementForBatch(Connection, String, Object[]...) - Static method in class cn.hutool.db.StatementUtil
-
- prepareStatementForBatch(Connection, String, Iterable<Object[]>) - Static method in class cn.hutool.db.StatementUtil
-
- prepareStatementForBatch(Connection, String, Iterable<String>, Entity...) - Static method in class cn.hutool.db.StatementUtil
-
- prependIfMissing(CharSequence, CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
如果给定字符串不是以给定的一个或多个字符串为开头,则在首部添加起始字符串
不忽略大小写
- prependIfMissing(CharSequence, CharSequence, boolean, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
如果给定字符串不是以给定的一个或多个字符串为开头,则在首部添加起始字符串
- prependIfMissingIgnoreCase(CharSequence, CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
如果给定字符串不是以给定的一个或多个字符串为开头,则在首部添加起始字符串
忽略大小写
- pressImage(Image, int, int, float) - Method in class cn.hutool.core.img.Img
-
给图片添加图片水印
- pressImage(Image, Rectangle, float) - Method in class cn.hutool.core.img.Img
-
给图片添加图片水印
- pressImage(File, File, Image, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
- pressImage(InputStream, OutputStream, Image, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(ImageInputStream, ImageOutputStream, Image, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(Image, File, Image, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(Image, OutputStream, Image, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(Image, ImageOutputStream, Image, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(Image, Image, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(Image, Image, Rectangle, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressText(String, Color, Font, int, int, float) - Method in class cn.hutool.core.img.Img
-
给图片添加文字水印
此方法只在给定位置写出一个水印字符串
- pressText(String, Color, Font, Point, float) - Method in class cn.hutool.core.img.Img
-
给图片添加文字水印
此方法只在给定位置写出一个水印字符串
- pressText(File, File, String, Color, Font, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加文字水印
- pressText(InputStream, OutputStream, String, Color, Font, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressText(ImageInputStream, ImageOutputStream, String, Color, Font, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressText(Image, File, String, Color, Font, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressText(Image, OutputStream, String, Color, Font, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressText(Image, ImageOutputStream, String, Color, Font, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressText(Image, String, Color, Font, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressTextFull(String, Color, Font, int, int, float) - Method in class cn.hutool.core.img.Img
-
给图片添加全屏文字水印
- prettyPrint() - Method in class cn.hutool.core.date.StopWatch
-
生成所有任务的一个任务花费时间表,单位纳秒
- prettyPrint(TimeUnit) - Method in class cn.hutool.core.date.StopWatch
-
生成所有任务的一个任务花费时间表
- prev - Variable in class cn.hutool.cron.timingwheel.TimerTask
-
上一个节点
- preVisitDirectory(Path, BasicFileAttributes) - Method in class cn.hutool.core.compress.ZipCopyVisitor
-
- preVisitDirectory(Path, BasicFileAttributes) - Method in class cn.hutool.core.io.file.visitor.CopyVisitor
-
- preVisitDirectory(Path, BasicFileAttributes) - Method in class cn.hutool.core.io.file.visitor.MoveVisitor
-
- primaryKeyField - Variable in class cn.hutool.db.DaoTemplate
-
本表的主键字段,请在子类中覆盖或构造方法中指定,默认为id
- PRIME1 - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- PRIME2 - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- PRIME3 - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- PRIME4 - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- PRIMITIVE_WRAPPER_MAP - Static variable in enum cn.hutool.core.convert.BasicType
-
原始类型为Key,包装类型为Value,例如: int.class =》 Integer.class.
- PrimitiveArrayUtil - Class in cn.hutool.core.util
-
原始类型数组工具类
- PrimitiveArrayUtil() - Constructor for class cn.hutool.core.util.PrimitiveArrayUtil
-
- PrimitiveConverter - Class in cn.hutool.core.convert.impl
-
原始类型转换器
支持类型为:
byte
short
int
long
float
double
char
boolean
- PrimitiveConverter(Class<?>) - Constructor for class cn.hutool.core.convert.impl.PrimitiveConverter
-
构造
- print(Object) - Static method in class cn.hutool.core.lang.Console
-
同 System.out.print()方法,打印控制台日志
- print(Object, Object...) - Static method in class cn.hutool.core.lang.Console
-
同 System.out.println()方法,打印控制台日志
如果传入打印对象为
Throwable
对象,那么同时打印堆栈
- print(String, Object...) - Static method in class cn.hutool.core.lang.Console
-
同 System.out.print()方法,打印控制台日志
- print() - Method in class cn.hutool.core.lang.ConsoleTable
-
打印到控制台
- print(File) - Static method in class cn.hutool.core.swing.DesktopUtil
-
使用关联应用程序的打印命令, 用本机桌面打印设备来打印文件
- printAllUtils() - Static method in class cn.hutool.Hutool
-
控制台打印所有工具类
- printProgress(char, int) - Static method in class cn.hutool.core.lang.Console
-
打印进度条
- printProgress(char, int, double) - Static method in class cn.hutool.core.lang.Console
-
打印进度条
- privateKey - Variable in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
私钥
- process(SynthesizedAnnotation, AnnotationSynthesizer) - Method in class cn.hutool.core.annotation.AbstractLinkAnnotationPostProcessor
-
- process(SynthesizedAnnotation, AnnotationSynthesizer) - Method in class cn.hutool.core.annotation.AliasAnnotationPostProcessor
-
- process(SynthesizedAnnotation, AnnotationSynthesizer) - Method in interface cn.hutool.core.annotation.SynthesizedAnnotationPostProcessor
-
给定指定被合成注解与其所属的合成注解聚合器实例,经过处理后返回最终
- process() - Method in class cn.hutool.core.img.gif.NeuQuant
-
- process(FoundWord) - Method in interface cn.hutool.dfa.SensitiveProcessor
-
敏感词过滤处理
- process(T) - Method in interface cn.hutool.http.HttpInterceptor
-
处理请求
- processLinkedAttribute(AnnotationSynthesizer, Link, SynthesizedAnnotation, AnnotationAttribute, SynthesizedAnnotation, AnnotationAttribute) - Method in class cn.hutool.core.annotation.AbstractLinkAnnotationPostProcessor
-
对关联的合成注解对象及其关联属性的处理
- processLinkedAttribute(AnnotationSynthesizer, Link, SynthesizedAnnotation, AnnotationAttribute, SynthesizedAnnotation, AnnotationAttribute) - Method in class cn.hutool.core.annotation.AliasLinkAnnotationPostProcessor
-
- processLinkedAttribute(AnnotationSynthesizer, Link, SynthesizedAnnotation, AnnotationAttribute, SynthesizedAnnotation, AnnotationAttribute) - Method in class cn.hutool.core.annotation.MirrorLinkAnnotationPostProcessor
-
- processMultiple(int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
可以用于计算双色球、大乐透注数的方法
比如大乐透35选5可以这样调用processMultiple(7,5); 就是数学中的:C75=7*6/2*1
- processRecord(Record) - Method in class cn.hutool.poi.excel.sax.Excel03SaxReader
-
HSSFListener 监听方法,处理 Record
- processStream(MultipartRequestInputStream) - Method in class cn.hutool.core.net.multipart.UploadFile
-
处理上传表单流,提取出文件
- processTypes() - Method in class cn.hutool.core.annotation.AbstractLinkAnnotationPostProcessor
-
- processTypes() - Method in class cn.hutool.core.annotation.AliasLinkAnnotationPostProcessor
-
- processTypes() - Method in class cn.hutool.core.annotation.MirrorLinkAnnotationPostProcessor
-
- Profile - Class in cn.hutool.setting.profile
-
Profile可以让我们定义一系列的配置信息,然后指定其激活条件。
- Profile() - Constructor for class cn.hutool.setting.profile.Profile
-
默认构造,环境使用默认的:default,编码UTF-8,不使用变量
- Profile(String) - Constructor for class cn.hutool.setting.profile.Profile
-
构造,编码UTF-8,不使用变量
- Profile(String, Charset, boolean) - Constructor for class cn.hutool.setting.profile.Profile
-
构造
- progress - Variable in class cn.hutool.core.io.copy.IoCopier
-
进度条
- progress(long, long) - Method in interface cn.hutool.core.io.StreamProgress
-
进行中
- PropDesc - Class in cn.hutool.core.bean
-
属性描述,包括了字段、getter、setter和相应的方法执行
- PropDesc(Field, Method, Method) - Constructor for class cn.hutool.core.bean.PropDesc
-
构造
Getter和Setter方法设置为默认可访问
- PropertyComparator<T> - Class in cn.hutool.core.comparator
-
Bean属性排序器
支持读取Bean多层次下的属性
- PropertyComparator(String) - Constructor for class cn.hutool.core.comparator.PropertyComparator
-
构造
- PropertyComparator(String, boolean) - Constructor for class cn.hutool.core.comparator.PropertyComparator
-
构造
- PropertyComparator(String, boolean, boolean) - Constructor for class cn.hutool.core.comparator.PropertyComparator
-
构造
- PropIgnore - Annotation Type in cn.hutool.core.annotation
-
属性忽略注解,使用此注解的字段等会被忽略,主要用于Bean拷贝、Bean转Map等
此注解应用于字段时,忽略读取和设置属性值,应用于setXXX方法忽略设置值,应用于getXXX忽略读取值
- Props - Class in cn.hutool.setting.dialect
-
Properties文件读取封装类
- Props() - Constructor for class cn.hutool.setting.dialect.Props
-
构造
- Props(String) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,使用相对于Class文件根目录的相对路径
- Props(String, String) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,使用相对于Class文件根目录的相对路径
- Props(String, Charset) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,使用相对于Class文件根目录的相对路径
- Props(File) - Constructor for class cn.hutool.setting.dialect.Props
-
构造
- Props(File, String) - Constructor for class cn.hutool.setting.dialect.Props
-
构造
- Props(File, Charset) - Constructor for class cn.hutool.setting.dialect.Props
-
构造
- Props(String, Class<?>) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,相对于classes读取文件
- Props(String, Class<?>, String) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,相对于classes读取文件
- Props(String, Class<?>, Charset) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,相对于classes读取文件
- Props(URL) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,使用URL读取
- Props(URL, String) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,使用URL读取
- Props(URL, Charset) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,使用URL读取
- Props(Properties) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,使用URL读取
- PropsUtil - Class in cn.hutool.setting.dialect
-
Props工具类
提供静态方法获取配置文件
- PropsUtil() - Constructor for class cn.hutool.setting.dialect.PropsUtil
-
- Protocol<T> - Interface in cn.hutool.socket.protocol
-
协议接口
通过实现此接口完成消息的编码和解码
所有Socket使用相同协议对象,类成员变量和对象成员变量易造成并发读写问题。
- ProviderFactory - Class in cn.hutool.crypto
-
Provider对象生产工厂类
1.
- proxy(T, Aspect) - Method in class cn.hutool.aop.proxy.CglibProxyFactory
-
- proxy(T, Aspect) - Method in class cn.hutool.aop.proxy.JdkProxyFactory
-
- proxy(T, Class<? extends Aspect>) - Method in class cn.hutool.aop.proxy.ProxyFactory
-
创建代理
- proxy(T, Aspect) - Method in class cn.hutool.aop.proxy.ProxyFactory
-
创建代理
- proxy(T, Aspect) - Method in class cn.hutool.aop.proxy.SpringCglibProxyFactory
-
- proxy(T, Class<? extends Aspect>) - Static method in class cn.hutool.aop.ProxyUtil
-
使用切面代理对象
- proxy(T, Aspect) - Static method in class cn.hutool.aop.ProxyUtil
-
使用切面代理对象
- proxyAuth(String) - Method in class cn.hutool.http.HttpRequest
-
验证,简单插入Authorization头
- ProxyFactory - Class in cn.hutool.aop.proxy
-
代理工厂
根据用户引入代理库的不同,产生不同的代理对象
- ProxyFactory() - Constructor for class cn.hutool.aop.proxy.ProxyFactory
-
- ProxySocketFactory - Class in cn.hutool.core.net
-
代理Socket工厂,用于创建代理Socket
来自commons-net的DefaultSocketFactory
- ProxySocketFactory(Proxy) - Constructor for class cn.hutool.core.net.ProxySocketFactory
-
构造
- ProxyUtil - Class in cn.hutool.aop
-
代理工具类
- ProxyUtil() - Constructor for class cn.hutool.aop.ProxyUtil
-
- prune() - Method in interface cn.hutool.cache.Cache
-
从缓存中清理过期对象,清理策略取决于具体实现
- prune() - Method in class cn.hutool.cache.impl.NoCache
-
- prune() - Method in class cn.hutool.cache.impl.ReentrantCache
-
- prune() - Method in class cn.hutool.cache.impl.StampedCache
-
Deprecated.
- pruneCache() - Method in class cn.hutool.cache.impl.AbstractCache
-
清理实现
子类实现此方法时无需加锁
- pruneCache() - Method in class cn.hutool.cache.impl.FIFOCache
-
先进先出的清理策略
先遍历缓存清理过期的缓存对象,如果清理后还是满的,则删除第一个缓存对象
- pruneCache() - Method in class cn.hutool.cache.impl.LFUCache
-
清理过期对象。
- pruneCache() - Method in class cn.hutool.cache.impl.LRUCache
-
只清理超时对象,LRU的实现会交给LinkedHashMap
- pruneCache() - Method in class cn.hutool.cache.impl.TimedCache
-
清理过期对象
- psForCount(Connection, Query) - Method in interface cn.hutool.db.dialect.Dialect
-
- psForCount(Connection, SqlBuilder) - Method in interface cn.hutool.db.dialect.Dialect
-
- psForDelete(Connection, Query) - Method in interface cn.hutool.db.dialect.Dialect
-
- psForDelete(Connection, Query) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- psForFind(Connection, Query) - Method in interface cn.hutool.db.dialect.Dialect
-
- psForFind(Connection, Query) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- psForInsert(Connection, Entity) - Method in interface cn.hutool.db.dialect.Dialect
-
- psForInsert(Connection, Entity) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- psForInsertBatch(Connection, Entity...) - Method in interface cn.hutool.db.dialect.Dialect
-
构建用于批量插入的PreparedStatement
用户实现需按照数据库方言格式,将
Entity
转换为带有占位符的SQL语句及参数列表
- psForInsertBatch(Connection, Entity...) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- psForPage(Connection, Query) - Method in interface cn.hutool.db.dialect.Dialect
-
- psForPage(Connection, SqlBuilder, Page) - Method in interface cn.hutool.db.dialect.Dialect
-
- psForPage(Connection, Query) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- psForPage(Connection, SqlBuilder, Page) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- psForUpdate(Connection, Entity, Query) - Method in interface cn.hutool.db.dialect.Dialect
-
- psForUpdate(Connection, Entity, Query) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- psForUpdate(Connection, Entity, Query) - Method in class cn.hutool.db.dialect.impl.PhoenixDialect
-
- psForUpsert(Connection, Entity, String...) - Method in interface cn.hutool.db.dialect.Dialect
-
- psForUpsert(Connection, Entity, String...) - Method in class cn.hutool.db.dialect.impl.DmDialect
-
- psForUpsert(Connection, Entity, String...) - Method in class cn.hutool.db.dialect.impl.H2Dialect
-
- psForUpsert(Connection, Entity, String...) - Method in class cn.hutool.db.dialect.impl.MysqlDialect
-
构建用于upsert的
PreparedStatement
MySQL通过主键方式实现Upsert,故keys无效,生成SQL语法为:
INSERT INTO demo(a,b,c) values(?
- psForUpsert(Connection, Entity, String...) - Method in class cn.hutool.db.dialect.impl.PhoenixDialect
-
- psForUpsert(Connection, Entity, String...) - Method in class cn.hutool.db.dialect.impl.PostgresqlDialect
-
- publicKey - Variable in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
公钥
- publishEvent(ApplicationEvent) - Static method in class cn.hutool.extra.spring.SpringUtil
-
发布事件
- publishEvent(Object) - Static method in class cn.hutool.extra.spring.SpringUtil
-
发布事件
Spring 4.2+ 版本事件可以不再是ApplicationEvent
的子类
- PUNY_CODE_PREFIX - Static variable in class cn.hutool.core.codec.PunyCode
-
- PunyCode - Class in cn.hutool.core.codec
-
Punycode是一个根据RFC 3492标准而制定的编码系统,主要用于把域名从地方语言所采用的Unicode编码转换成为可用于DNS系统的编码
参考:https://blog.csdn.net/a19881029/article/details/18262671
- PunyCode() - Constructor for class cn.hutool.core.codec.PunyCode
-
- PURE_DATE_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
-
- PURE_DATE_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
-
- PURE_DATE_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
-
标准日期格式:yyyyMMdd
- PURE_DATETIME_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
-
- PURE_DATETIME_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
-
- PURE_DATETIME_MS_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
-
- PURE_DATETIME_MS_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
-
- PURE_DATETIME_MS_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
-
标准日期格式:yyyyMMddHHmmssSSS
- PURE_DATETIME_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
-
标准日期格式:yyyyMMddHHmmss
- PURE_TIME_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
-
- PURE_TIME_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
-
- PURE_TIME_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
-
标准日期格式:HHmmss
- put(K, V) - Method in interface cn.hutool.cache.Cache
-
将对象加入到缓存,使用默认失效时长
- put(K, V, long) - Method in interface cn.hutool.cache.Cache
-
- put(K, V) - Method in class cn.hutool.cache.impl.AbstractCache
-
- put(K, V) - Method in class cn.hutool.cache.impl.NoCache
-
- put(K, V, long) - Method in class cn.hutool.cache.impl.NoCache
-
- put(K, V, long) - Method in class cn.hutool.cache.impl.ReentrantCache
-
- put(K, V, long) - Method in class cn.hutool.cache.impl.StampedCache
-
Deprecated.
- put(String, Object) - Method in class cn.hutool.core.lang.Dict
-
- put(K, V) - Method in class cn.hutool.core.lang.SimpleCache
-
放入缓存
- put(Object) - Static method in class cn.hutool.core.lang.Singleton
-
将已有对象放入单例中,其Class做为键
- put(String, Object) - Static method in class cn.hutool.core.lang.Singleton
-
将已有对象放入单例中,key做为键
- put(K, V) - Method in class cn.hutool.core.map.BiMap
-
- put(K, TreeEntry<K, V>) - Method in interface cn.hutool.core.map.ForestMap
-
添加一个节点,效果等同于 putNode(key, node.getValue())
若key对应节点不存在,则以传入的键值创建一个新的节点;
若key对应节点存在,则将该节点的值替换为node
指定的值;
- put(K, V) - Method in class cn.hutool.core.map.MapBuilder
-
链式Map创建
- put(boolean, K, V) - Method in class cn.hutool.core.map.MapBuilder
-
链式Map创建
- put(boolean, K, Supplier<V>) - Method in class cn.hutool.core.map.MapBuilder
-
链式Map创建
- put(Object, Object) - Method in class cn.hutool.core.map.MapProxy
-
- put(K, V) - Method in class cn.hutool.core.map.MapWrapper
-
- put(R, C, V) - Method in class cn.hutool.core.map.multi.RowKeyTable
-
- put(R, C, V) - Method in interface cn.hutool.core.map.multi.Table
-
为表格指定行列赋值,如果不存在,创建之,存在则替换之,返回原值
- put(K, V) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- put(K, V) - Method in class cn.hutool.core.map.TableMap
-
- put(K, V) - Method in class cn.hutool.core.map.TransMap
-
- put(String, Session) - Method in enum cn.hutool.extra.ssh.JschSessionPool
-
加入Session
- put(String, String) - Method in class cn.hutool.extra.ssh.Sftp
-
将本地文件上传到目标服务器,目标文件名为destPath,若destPath为目录,则目标文件名将与srcFilePath文件名相同。
- put(String, String, Sftp.Mode) - Method in class cn.hutool.extra.ssh.Sftp
-
将本地文件上传到目标服务器,目标文件名为destPath,若destPath为目录,则目标文件名将与srcFilePath文件名相同。
- put(String, String, SftpProgressMonitor, Sftp.Mode) - Method in class cn.hutool.extra.ssh.Sftp
-
将本地文件上传到目标服务器,目标文件名为destPath,若destPath为目录,则目标文件名将与srcFilePath文件名相同。
- put(InputStream, String, SftpProgressMonitor, Sftp.Mode) - Method in class cn.hutool.extra.ssh.Sftp
-
将本地数据流上传到目标服务器,目标文件名为destPath,目标必须为文件
- put(String) - Static method in class cn.hutool.http.HttpRequest
-
PUT请求
- put(Object) - Method in class cn.hutool.json.JSONArray
-
Append an object value.
- put(int, Object) - Method in class cn.hutool.json.JSONArray
-
加入或者替换JSONArray中指定Index的值,如果index大于JSONArray的长度,将在指定index设置值,之前的位置填充JSONNull.Null
- put(String, Object) - Method in class cn.hutool.json.JSONObject
-
- put(Type, JSONArraySerializer<?>) - Static method in class cn.hutool.json.serialize.GlobalSerializeMapping
-
加入自定义的序列化器
- put(Type, JSONObjectSerializer<?>) - Static method in class cn.hutool.json.serialize.GlobalSerializeMapping
-
加入自定义的序列化器
- put(Type, JSONDeserializer<?>) - Static method in class cn.hutool.json.serialize.GlobalSerializeMapping
-
加入自定义的反序列化器
- put(String, Object) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- put(String, Object) - Method in class cn.hutool.script.JavaScriptEngine
-
- put(String, String, String) - Method in class cn.hutool.setting.GroupedMap
-
将键值对加入到对应分组中
- put(String, String) - Method in class cn.hutool.setting.Setting
-
将指定键值对加入到默认分组(空分组)中
- putAll(Map<? extends String, ?>) - Method in class cn.hutool.core.lang.Dict
-
- putAll(Map<? extends K, ? extends V>) - Method in class cn.hutool.core.map.BiMap
-
- putAll(Map<? extends K, ? extends TreeEntry<K, V>>) - Method in interface cn.hutool.core.map.ForestMap
-
批量添加节点,若节点具有父节点或者子节点,则一并在当前实例中引入该关系
- putAll(Map<K, V>) - Method in class cn.hutool.core.map.MapBuilder
-
链式Map创建
- putAll(Map<?, ?>) - Method in class cn.hutool.core.map.MapProxy
-
- putAll(Map<? extends K, ? extends V>) - Method in class cn.hutool.core.map.MapWrapper
-
- putAll(Table<? extends R, ? extends C, ? extends V>) - Method in interface cn.hutool.core.map.multi.Table
-
批量加入
- putAll(Map<? extends K, ? extends V>) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- putAll(Map<? extends K, ? extends V>) - Method in class cn.hutool.core.map.TableMap
-
- putAll(Map<? extends K, ? extends V>) - Method in class cn.hutool.core.map.TransMap
-
- putAll(Map<? extends String, ?>) - Method in class cn.hutool.json.JSONObject
-
- putAll(Map<String, ?>) - Method in class cn.hutool.jwt.Claims
-
加入多个Claims属性
- putAll(String, Map<? extends String, ? extends String>) - Method in class cn.hutool.setting.GroupedMap
-
加入多个键值对到某个分组下
- putAll(String, Map<? extends String, ? extends String>) - Method in class cn.hutool.setting.Setting
-
加入多个键值对到某个分组下
- putAll(Map<? extends String, ? extends String>) - Method in class cn.hutool.setting.Setting
-
将键值对Map加入默认分组(空分组)中
- putAllNode(C, Function<V, K>, Function<V, K>, boolean) - Method in interface cn.hutool.core.map.ForestMap
-
批量添加节点
- putAllValues(Map<? extends K, ? extends Collection<V>>) - Method in class cn.hutool.core.map.multi.AbsCollValueMap
-
放入所有value
- putByGroup(String, String, String) - Method in class cn.hutool.setting.Setting
-
将键值对加入到对应分组中
- putByPath(String, Object) - Method in interface cn.hutool.json.JSON
-
设置表达式指定位置(或filed对应)的值
若表达式指向一个JSONArray则设置其坐标对应位置的值,若指向JSONObject则put对应key的值
注意:如果为JSONArray,设置值下标小于其长度,将替换原有值,否则追加新值
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
表达式栗子:
persion
persion.name
persons[3]
person.friends[5].name
- putByPath(String, Object) - Method in class cn.hutool.json.JSONArray
-
- putByPath(String, Object) - Method in class cn.hutool.json.JSONObject
-
- putByPath(JSON, String, Object) - Static method in class cn.hutool.json.JSONUtil
-
设置表达式指定位置(或filed对应)的值
若表达式指向一个JSONArray则设置其坐标对应位置的值,若指向JSONObject则put对应key的值
注意:如果为JSONArray,则设置值得下标不能大于已有JSONArray的长度
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
表达式栗子:
persion
persion.name
persons[3]
person.friends[5].name
- putCustom(Type, Class<? extends Converter<?>>) - Method in class cn.hutool.core.convert.ConverterRegistry
-
登记自定义转换器
- putCustom(Type, Converter<?>) - Method in class cn.hutool.core.convert.ConverterRegistry
-
登记自定义转换器
- putDefault(boolean) - Method in enum cn.hutool.http.GlobalHeaders
-
加入默认的头部信息
- putDeserializer(Type, JSONDeserializer<?>) - Static method in class cn.hutool.json.JSONUtil
-
加入自定义的反序列化器
- putExtra(String, Object) - Method in class cn.hutool.core.lang.tree.Tree
-
扩展属性
- putExtra(String, Object) - Method in class cn.hutool.core.lang.tree.TreeBuilder
-
扩展属性
- putFileType(String, String) - Static method in class cn.hutool.core.io.FileTypeUtil
-
增加文件类型映射
如果已经存在将覆盖之前的映射
- putFormatter(String, Function<Date, String>) - Static method in class cn.hutool.core.date.format.GlobalCustomFormat
-
加入日期格式化规则
- putIfAbsent(String, Object) - Method in class cn.hutool.core.lang.Dict
-
- putIfAbsent(K, V) - Method in class cn.hutool.core.map.BiMap
-
- putIfAbsent(K, V) - Method in class cn.hutool.core.map.MapWrapper
-
- putIfAbsent(K, V) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- putIfAbsent(K, V) - Method in class cn.hutool.core.map.TransMap
-
- putLinkedNodes(K, V, K, V) - Method in interface cn.hutool.core.map.ForestMap
-
同时添加父子节点:
若parentKey
或childKey
对应的节点不存在,则会根据键值创建一个对应的节点;
若parentKey
或childKey
对应的节点存在,则会更新对应节点的值;
该操作等同于:
putNode(parentKey, parentValue);
putNode(childKey, childValue);
linkNodes(parentKey, childKey);
- putLinkedNodes(K, K, V) - Method in interface cn.hutool.core.map.ForestMap
-
添加子节点,并为子节点指定父节点:
若parentKey
或childKey
对应的节点不存在,则会根据键值创建一个对应的节点;
若parentKey
或childKey
对应的节点存在,则会更新对应节点的值;
- putLinkedNodes(K, V, K, V) - Method in class cn.hutool.core.map.LinkedForestMap
-
同时添加父子节点:
若parentKey
或childKey
对应的节点不存在,则会根据键值创建一个对应的节点;
若parentKey
或childKey
对应的节点存在,则会更新对应节点的值;
该操作等同于:
TreeEntry<K, V> parent = putNode(parentKey, parentValue);
TreeEntry<K, V> child = putNode(childKey, childValue);
linkNodes(parentKey, childKey);
- putLinkedNodes(K, K, V) - Method in class cn.hutool.core.map.LinkedForestMap
-
添加子节点,并为子节点指定父节点:
若parentKey
或childKey
对应的节点不存在,则会根据键值创建一个对应的节点;
若parentKey
或childKey
对应的节点存在,则会更新对应节点的值;
- putNode(K, V) - Method in interface cn.hutool.core.map.ForestMap
-
添加一个节点
若key对应节点不存在,则以传入的键值创建一个新的节点;
若key对应节点存在,则将该节点的值替换为node
指定的值;
- putNode(K, V) - Method in class cn.hutool.core.map.LinkedForestMap
-
添加一个节点
若key对应节点不存在,则以传入的键值创建一个新的节点;
若key对应节点存在,则将该节点的值替换为node
指定的值;
- putOnce(String, Object) - Method in class cn.hutool.json.JSONObject
-
一次性Put 键值对,如果key已经存在抛出异常,如果键值中有null值,忽略
- putOpt(String, Object) - Method in class cn.hutool.json.JSONObject
-
在键和值都为非空的情况下put到JSONObject中
- putParser(String, Function<CharSequence, Date>) - Static method in class cn.hutool.core.date.format.GlobalCustomFormat
-
加入日期解析规则
- putPropertyDescriptorMap(Class<?>, Map<String, PropertyDescriptor>, boolean) - Method in enum cn.hutool.core.bean.BeanInfoCache
-
加入缓存
- putSerializer(Type, JSONArraySerializer<?>) - Static method in class cn.hutool.json.JSONUtil
-
加入自定义的序列化器
- putSerializer(Type, JSONObjectSerializer<?>) - Static method in class cn.hutool.json.JSONUtil
-
加入自定义的序列化器
- putValue(K, V) - Method in class cn.hutool.core.map.multi.AbsCollValueMap
-
放入Value
如果键对应值列表有值,加入,否则创建一个新列表后加入
- putWithoutLock(K, V, long) - Method in class cn.hutool.cache.impl.AbstractCache
-
加入元素,无锁
- pwd() - Method in class cn.hutool.extra.ftp.AbstractFtp
-
远程当前目录(工作目录)
- pwd() - Method in class cn.hutool.extra.ftp.Ftp
-
远程当前目录
- pwd() - Method in class cn.hutool.extra.ssh.Sftp
-
远程当前目录
- pwd() - Method in class cn.hutool.extra.ssh.SshjSftp
-
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路径编码,定义如下:
0x20 ' ' =》 '+'
0x2A, 0x2D, 0x2E, 0x30 to 0x39, 0x41 to 0x5A, 0x5F, 0x61 to 0x7A as-is
'*', '-', '
- 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
-
- Query - Class in cn.hutool.db.sql
-
查询对象,用于传递查询所需的字段值
查询对象根据表名(可以多个),多个条件
Condition
构建查询对象完成查询。
- 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
-
- 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 双引号转义 """ -> "\""
- 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
-
进制转换工具类,可以转换为任意进制
把一个十进制整数根据自己定义的进制规则进行转换
from:https://gitee.com/loolly/hutool/pulls/260
主要应用一下情况:
根据ID生成邀请码,并且尽可能的缩短。
- RadixUtil() - Constructor for class cn.hutool.core.util.RadixUtil
-
- radpower - Variable in class cn.hutool.core.img.gif.NeuQuant
-
- rainbow(int, int, int) - Static method in class cn.hutool.core.util.PageUtil
-
- rainbow(int, int) - Static method in class cn.hutool.core.util.PageUtil
-
- RandomAccessAvgPartition<T> - Class in cn.hutool.core.collection
-
列表分区或分段(可随机访问列表)
通过传入分区个数,将指定列表分区为不同的块,每块区域的长度均匀分布(个数差不超过1)
[1,2,3,4] -》 [1,2], [3, 4]
[1,2,3,4] -》 [1,2], [3], [4]
[1,2,3,4] -》 [1], [2], [3], [4]
[1,2,3,4] -》 [1], [2], [3], [4], []
分区是在原List的基础上进行的,返回的分区是不可变的抽象列表,原列表元素变更,分区中元素也会变更。
- RandomAccessAvgPartition(List<T>, int) - Constructor for class cn.hutool.core.collection.RandomAccessAvgPartition
-
列表分区
- RandomAccessPartition<T> - Class in cn.hutool.core.collection
-
列表分区或分段(可随机访问列表)
通过传入分区长度,将指定列表分区为不同的块,每块区域的长度相同(最后一块可能小于长度)
分区是在原List的基础上进行的,返回的分区是不可变的抽象列表,原列表元素变更,分区中元素也会变更。
- RandomAccessPartition(List<T>, int) - Constructor for class cn.hutool.core.collection.RandomAccessPartition
-
构造
- randomBigDecimal() - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数[0, 1)
- randomBigDecimal(BigDecimal) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数 [0,limit)
- randomBigDecimal(BigDecimal, BigDecimal) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomBoolean() - Static method in class cn.hutool.core.util.RandomUtil
-
获得随机Boolean值
- randomBytes(int) - Static method in class cn.hutool.core.util.RandomUtil
-
随机bytes
- randomByWeight(double) - Method in class cn.hutool.core.lang.WeightListRandom
-
按照给定的总权重随机出一个元素
- randomChar() - Static method in class cn.hutool.core.util.RandomUtil
-
随机字母或数字,小写
- randomChar(String) - Static method in class cn.hutool.core.util.RandomUtil
-
随机字符
- randomChinese() - Static method in class cn.hutool.core.util.RandomUtil
-
随机汉字('一'-'鿿')
- randomColor(Color, int) - Static method in class cn.hutool.core.img.ColorUtil
-
生成随机颜色,与指定颜色有一定的区分度
- randomColor() - Static method in class cn.hutool.core.img.ColorUtil
-
生成随机颜色
- randomColor(Random) - Static method in class cn.hutool.core.img.ColorUtil
-
生成随机颜色
- randomColor() - Static method in class cn.hutool.core.img.ImgUtil
-
生成随机颜色
- randomColor(Color, int) - Static method in class cn.hutool.core.img.ImgUtil
-
生成随机颜色,与指定颜色有一定的区分度
- randomColor(Color) - Static method in class cn.hutool.core.img.ImgUtil
-
生成随机颜色,与指定颜色有一定的区分度
- randomColor(Random) - Static method in class cn.hutool.core.img.ImgUtil
-
生成随机颜色
- randomCreditCode() - Static method in class cn.hutool.core.util.CreditCodeUtil
-
获取一个随机的统一社会信用代码
- randomDate(Date, DateField, int, int) - Static method in class cn.hutool.core.util.RandomUtil
-
以给定日期为基准,随机产生一个日期
- randomDay(int, int) - Static method in class cn.hutool.core.util.RandomUtil
-
以当天为基准,随机产生一个日期
- randomDouble(double, double) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomDouble(double, double, int, RoundingMode) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomDouble() - Static method in class cn.hutool.core.util.RandomUtil
-
获得随机数[0, 1)
- randomDouble(int, RoundingMode) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomDouble(double) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数 [0,limit)
- randomDouble(double, int, RoundingMode) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomEle(List<T>) - Static method in class cn.hutool.core.util.RandomUtil
-
随机获得列表中的元素
- randomEle(List<T>, int) - Static method in class cn.hutool.core.util.RandomUtil
-
随机获得列表中的元素
- randomEle(T[]) - Static method in class cn.hutool.core.util.RandomUtil
-
随机获得数组中的元素
- randomEle(T[], int) - Static method in class cn.hutool.core.util.RandomUtil
-
随机获得数组中的元素
- randomEleList(List<T>, int) - Static method in class cn.hutool.core.util.RandomUtil
-
- randomEles(List<T>, int) - Static method in class cn.hutool.core.util.RandomUtil
-
随机获得列表中的一定量元素
- randomEleSet(Collection<T>, int) - Static method in class cn.hutool.core.util.RandomUtil
-
随机获得列表中的一定量的不重复元素,返回Set
- randomFloat() - Static method in class cn.hutool.core.util.RandomUtil
-
获得随机数[0, 1)
- randomFloat(float) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数 [0,limit)
- randomFloat(float, float) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数[min, max)
- RandomGenerator - Class in cn.hutool.captcha.generator
-
随机字符验证码生成器
可以通过传入的基础集合和长度随机生成验证码字符
- RandomGenerator(int) - Constructor for class cn.hutool.captcha.generator.RandomGenerator
-
构造,使用字母+数字做为基础
- RandomGenerator(String, int) - Constructor for class cn.hutool.captcha.generator.RandomGenerator
-
构造
- randomInt() - Static method in class cn.hutool.core.util.RandomUtil
-
获得随机数int值
- randomInt(int) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数 [0,limit)
- randomInt(int, int) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomInt(int, int, boolean, boolean) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomInts(int) - Static method in class cn.hutool.core.util.RandomUtil
-
创建指定长度的随机索引
- randomLong() - Static method in class cn.hutool.core.util.RandomUtil
-
获得随机数
- randomLong(long) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数 [0,limit)
- randomLong(long, long) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数[min, max)
- randomLong(long, long, boolean, boolean) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomNanoId() - Static method in class cn.hutool.core.lang.id.NanoId
-
- randomNanoId(int) - Static method in class cn.hutool.core.lang.id.NanoId
-
生成伪随机的NanoId字符串
- randomNanoId(Random, char[], int) - Static method in class cn.hutool.core.lang.id.NanoId
-
生成伪随机的NanoId字符串
- randomNumber() - Static method in class cn.hutool.core.util.RandomUtil
-
随机数字,数字为0~9单个数字
- randomNumbers(int) - Static method in class cn.hutool.core.util.RandomUtil
-
获得一个只包含数字的字符串
- randomString(int) - Static method in class cn.hutool.core.util.RandomUtil
-
获得一个随机的字符串(只包含数字和字符)
- randomString(String, int) - Static method in class cn.hutool.core.util.RandomUtil
-
获得一个随机的字符串
- randomStringLowerWithoutStr(int, String) - Static method in class cn.hutool.core.util.RandomUtil
-
获得一个随机的字符串(只包含数字和小写字母) 并排除指定字符串
- randomStringUpper(int) - Static method in class cn.hutool.core.util.RandomUtil
-
获得一个随机的字符串(只包含数字和大写字符)
- randomStringWithoutStr(int, String) - Static method in class cn.hutool.core.util.RandomUtil
-
获得一个随机的字符串(只包含数字和字母) 并排除指定字符串
- RandomUtil - Class in cn.hutool.core.util
-
随机工具类
- RandomUtil() - Constructor for class cn.hutool.core.util.RandomUtil
-
- randomUUID() - Static method in class cn.hutool.core.lang.UUID
-
获取类型 4(伪随机生成的)UUID 的静态工厂。
- randomUUID(boolean) - Static method in class cn.hutool.core.lang.UUID
-
获取类型 4(伪随机生成的)UUID 的静态工厂。
- randomUUID() - Static method in class cn.hutool.core.util.IdUtil
-
获取随机UUID
- range(Date, Date, DateField) - Static method in class cn.hutool.core.date.DateUtil
-
创建日期范围生成器
- Range<T> - Class in cn.hutool.core.lang
-
范围生成器。
- Range(T, Range.Stepper<T>) - Constructor for class cn.hutool.core.lang.Range
-
构造
- Range(T, T, Range.Stepper<T>) - Constructor for class cn.hutool.core.lang.Range
-
构造
- Range(T, T, Range.Stepper<T>, boolean, boolean) - Constructor for class cn.hutool.core.lang.Range
-
构造
- range(int) - Static method in class cn.hutool.core.util.NumberUtil
-
从0开始给定范围内的整数列表,步进为1
- range(int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
给定范围内的整数列表,步进为1
- range(int, int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
给定范围内的整数列表
- range(int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
生成一个从0开始的数字列表
- range(int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
生成一个数字列表
自动判定正序反序
- range(int, int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
生成一个数字列表
自动判定正序反序
- Range.Stepper<T> - Interface in cn.hutool.core.lang
-
步进接口,此接口用于实现如何对一个对象按照指定步进增加步进
步进接口可以定义以下逻辑:
1、步进规则,即对象如何做步进
2、步进大小,通过实现此接口,在实现类中定义一个对象属性,可灵活定义步进大小
3、限制range个数,通过实现此接口,在实现类中定义一个对象属性,可灵活定义limit,限制range个数
- rangeConsume(Date, Date, DateField, Consumer<Date>) - Static method in class cn.hutool.core.date.DateUtil
-
按日期范围遍历,执行 consumer
- rangeContains(DateRange, DateRange) - Static method in class cn.hutool.core.date.DateUtil
-
俩个时间区间取交集
- rangeFunc(Date, Date, DateField, Function<Date, T>) - Static method in class cn.hutool.core.date.DateUtil
-
按日期范围遍历,执行 function
- rangeNotContains(DateRange, DateRange) - Static method in class cn.hutool.core.date.DateUtil
-
俩个时间区间取差集(end - start)
- rangeToList(Date, Date, DateField) - Static method in class cn.hutool.core.date.DateUtil
-
根据步进单位获取起始日期时间和结束日期时间的时间区间集合
- rangeToList(Date, Date, DateField, int) - Static method in class cn.hutool.core.date.DateUtil
-
根据步进单位和步进获取起始日期时间和结束日期时间的时间区间集合
- ratio - Variable in class cn.hutool.extra.qrcode.QrConfig
-
二维码中的Logo缩放的比例系数,如5表示长宽最小值的1/5
- raw - Variable in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- rc4(String) - Static method in class cn.hutool.crypto.SecureUtil
-
RC4算法
- RC4 - Class in cn.hutool.crypto.symmetric
-
RC4加密解密算法实现
注意:由于安全问题,已经基本不在HTTPS中使用了
来自:https://github.com/xSAVIKx/RC4-cipher/blob/master/src/main/java/com/github/xsavikx/rc4/RC4.java
- RC4(String) - Constructor for class cn.hutool.crypto.symmetric.RC4
-
构造
- RE_CHINESE - Static variable in class cn.hutool.core.util.ReUtil
-
正则表达式匹配中文汉字
- RE_CHINESES - Static variable in class cn.hutool.core.util.ReUtil
-
正则表达式匹配中文字符串
- RE_HTML_EMPTY_MARK - Static variable in class cn.hutool.http.HtmlUtil
-
- RE_HTML_MARK - Static variable in class cn.hutool.http.HtmlUtil
-
- RE_KEYS - Static variable in class cn.hutool.core.util.ReUtil
-
正则中需要被转义的关键字
- RE_SCRIPT - Static variable in class cn.hutool.http.HtmlUtil
-
- read(Consumer<ZipEntry>) - Method in class cn.hutool.core.compress.ZipReader
-
- read(BufferedInputStream) - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads GIF image from stream
- read(InputStream) - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads GIF image from stream
- read(String) - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads GIF file from specified file/URL source
(URL assumed if name contains ":/" or "file:")
- read() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads a single byte from the input stream.
- read(String) - Static method in class cn.hutool.core.img.ImgUtil
-
从文件中读取图片,请使用绝对路径,使用相对路径会相对于ClassPath
- read(File) - Static method in class cn.hutool.core.img.ImgUtil
-
从文件中读取图片
- read(Resource) - Static method in class cn.hutool.core.img.ImgUtil
-
- read(InputStream) - Static method in class cn.hutool.core.img.ImgUtil
-
从流中读取图片
- read(ImageInputStream) - Static method in class cn.hutool.core.img.ImgUtil
-
从图片流中读取图片
- read(URL) - Static method in class cn.hutool.core.img.ImgUtil
-
从URL中读取图片
- read() - Method in class cn.hutool.core.io.BOMInputStream
-
- read(char[], int, int) - Method in class cn.hutool.core.io.BomReader
-
- read(FileReader.ReaderHandler<T>) - Method in class cn.hutool.core.io.file.FileReader
-
按照给定的readerHandler读取文件中的数据
- read(InputStream, String) - Static method in class cn.hutool.core.io.IoUtil
-
- read(InputStream, Charset) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取内容,读取完毕后关闭流
- read(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取内容,读到输出流中,读取完毕后关闭流
- read(InputStream, boolean) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取内容,读到输出流中,读取完毕后可选是否关闭流
- read(Reader) - Static method in class cn.hutool.core.io.IoUtil
-
从Reader中读取String,读取完毕后关闭Reader
- read(Reader, boolean) - Static method in class cn.hutool.core.io.IoUtil
-
- read() - Method in class cn.hutool.core.io.LimitedInputStream
-
- read(byte[], int, int) - Method in class cn.hutool.core.io.LimitedInputStream
-
- read(ReadableByteChannel, Charset) - Static method in class cn.hutool.core.io.NioUtil
-
从流中读取内容,读取完毕后并不关闭流
- read(ReadableByteChannel) - Static method in class cn.hutool.core.io.NioUtil
-
从流中读取内容,读到输出流中
- read(FileChannel, String) - Static method in class cn.hutool.core.io.NioUtil
-
从FileChannel中读取内容,读取完毕后并不关闭Channel
- read(FileChannel, Charset) - Static method in class cn.hutool.core.io.NioUtil
-
从FileChannel中读取内容
- read(File) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
读取CSV文件,默认UTF-8编码
- read(File, Charset) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
读取CSV文件
- read(Path) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
读取CSV文件,默认UTF-8编码
- read(Path, Charset) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
读取CSV文件
- read(Reader) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从Reader中读取CSV数据,读取后关闭Reader
- read(Reader, boolean) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从Reader中读取CSV数据
- read(Reader, Class<T>) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从Reader中读取CSV数据并转换为Bean列表,读取后关闭Reader。
- read(String, Class<T>) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从字符串中读取CSV数据并转换为Bean列表,读取后关闭Reader。
- read(Reader, CsvRowHandler) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从Reader中读取CSV数据,读取后关闭Reader
- read(Reader, boolean, CsvRowHandler) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从Reader中读取CSV数据,读取后关闭Reader
- read() - Method in class cn.hutool.core.text.csv.CsvReader
-
读取CSV文件,此方法只能调用一次
调用此方法的前提是构造中传入文件路径或Reader
- read(CsvRowHandler) - Method in class cn.hutool.core.text.csv.CsvReader
-
读取CSV数据,此方法只能调用一次
调用此方法的前提是构造中传入文件路径或Reader
- read(ZipFile, Consumer<ZipEntry>) - Static method in class cn.hutool.core.util.ZipUtil
-
- read(ZipInputStream, Consumer<ZipEntry>) - Static method in class cn.hutool.core.util.ZipUtil
-
- read() - Method in class cn.hutool.extra.compress.extractor.Seven7EntryInputStream
-
- read() - Method in class cn.hutool.http.HttpInputStream
-
- read(byte[], int, int) - Method in class cn.hutool.http.HttpInputStream
-
- read() - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet的所有行列数据
- read(int) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet
- read(int, int) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet,此方法会把第一行作为标题行,替换标题别名
- read(int, int, boolean) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet
- read(CellHandler) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet,此方法为类流处理方式,当读到指定单元格时,会调用CellEditor接口
用户通过实现此接口,可以更加灵活地处理每个单元格的数据。
- read(int, int, CellHandler) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet,此方法为类流处理方式,当读到指定单元格时,会调用CellEditor接口
用户通过实现此接口,可以更加灵活地处理每个单元格的数据。
- read(int, int, int) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取Excel为Map的列表
Map表示一行,标题为key,单元格内容为value
- read(int, int, Class<T>) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取Excel为Bean的列表
- read(int, int, int, Class<T>) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取Excel为Bean的列表
- read(SheetReader<T>) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取数据为指定类型
- read(Sheet) - Method in class cn.hutool.poi.excel.reader.BeanSheetReader
-
- read(Sheet) - Method in class cn.hutool.poi.excel.reader.ColumnSheetReader
-
- read(Sheet) - Method in class cn.hutool.poi.excel.reader.ListSheetReader
-
- read(Sheet) - Method in class cn.hutool.poi.excel.reader.MapSheetReader
-
- read(Sheet) - Method in interface cn.hutool.poi.excel.reader.SheetReader
-
读取数据
- read(File, String) - Method in class cn.hutool.poi.excel.sax.Excel03SaxReader
-
- read(InputStream, String) - Method in class cn.hutool.poi.excel.sax.Excel03SaxReader
-
- read(POIFSFileSystem, String) - Method in class cn.hutool.poi.excel.sax.Excel03SaxReader
-
读取
- read(File, int) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
- read(File, String) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
- read(InputStream, int) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
- read(InputStream, String) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
- read(OPCPackage, int) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
开始读取Excel,Sheet编号从0开始计数
- read(OPCPackage, String) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
开始读取Excel,Sheet编号从0开始计数
- read(XSSFReader, String) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
开始读取Excel,Sheet编号从0开始计数
- read(File, String) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel
- read(InputStream, String) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel,读取结束后并不关闭流
- read(String) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel,读取所有sheet
- read(File) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel,读取所有sheet
- read(InputStream) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel,读取所有sheet,读取结束后并不关闭流
- read(String, int) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel
- read(String, String) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel
- read(File, int) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel
- read(InputStream, int) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel,读取结束后并不关闭流
- read(XSSFReader) - Method in class cn.hutool.poi.excel.sax.SheetRidReader
-
读取Wordkbook的XML中sheet标签中sheetId和rid的对应关系
- read() - Method in class cn.hutool.socket.aio.AioClient
-
从服务端读取数据
- read() - Method in class cn.hutool.socket.aio.AioSession
-
读取数据到Buffer
- read(CompletionHandler<Integer, AioSession>) - Method in class cn.hutool.socket.aio.AioSession
-
读取数据到Buffer
- readableFileSize() - Method in class cn.hutool.core.io.file.FileWrapper
-
可读的文件大小
- readableFileSize(File) - Static method in class cn.hutool.core.io.FileUtil
-
可读的文件大小
- readableFileSize(long) - Static method in class cn.hutool.core.io.FileUtil
-
- readAll() - Method in class cn.hutool.poi.excel.ExcelReader
-
读取Excel为Map的列表,读取所有行,默认第一行做为标题,数据从第二行开始
Map表示一行,标题为key,单元格内容为value
- readAll(Class<T>) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取Excel为Bean的列表,读取所有行,默认第一行做为标题,数据从第二行开始
- readAsText(Workbook, boolean) - Static method in class cn.hutool.poi.excel.ExcelExtractorUtil
-
读取为文本格式
使用ExcelExtractor
提取Excel内容
- readAsText(boolean) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取为文本格式
使用ExcelExtractor
提取Excel内容
- readBlock() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads next variable length block from input.
- readBoundary() - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
输入流中读取边界
- readBySax(File, ContentHandler) - Static method in class cn.hutool.core.util.XmlUtil
-
- readBySax(Reader, ContentHandler) - Static method in class cn.hutool.core.util.XmlUtil
-
- readBySax(InputStream, ContentHandler) - Static method in class cn.hutool.core.util.XmlUtil
-
- readBySax(InputSource, ContentHandler) - Static method in class cn.hutool.core.util.XmlUtil
-
- readBySax(String, int, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
通过Sax方式读取Excel,同时支持03和07格式
- readBySax(String, String, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
通过Sax方式读取Excel,同时支持03和07格式
- readBySax(File, int, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
通过Sax方式读取Excel,同时支持03和07格式
- readBySax(File, String, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
通过Sax方式读取Excel,同时支持03和07格式
- readBySax(InputStream, int, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
通过Sax方式读取Excel,同时支持03和07格式
- readBySax(InputStream, String, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
通过Sax方式读取Excel,同时支持03和07格式
- readByte() - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
读取byte字节流,在末尾抛出异常
- readBytes(ByteBuffer) - Static method in class cn.hutool.core.io.BufferUtil
-
读取剩余部分bytes
- readBytes(ByteBuffer, int) - Static method in class cn.hutool.core.io.BufferUtil
-
读取指定长度的bytes
如果长度不足,则读取剩余部分,此时buffer必须为读模式
- readBytes(ByteBuffer, int, int) - Static method in class cn.hutool.core.io.BufferUtil
-
读取指定区间的数据
- readBytes() - Method in class cn.hutool.core.io.file.FileReader
-
- readBytes(Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
读取文件的所有内容为byte数组
- readBytes(File) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件所有数据
文件的长度不能超过Integer.MAX_VALUE
- readBytes(String) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件所有数据
文件的长度不能超过Integer.MAX_VALUE
- readBytes(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取bytes,读取完毕后关闭流
- readBytes(InputStream, boolean) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取bytes
- readBytes(InputStream, int) - Static method in class cn.hutool.core.io.IoUtil
-
读取指定长度的byte数组,不关闭流
- readBytes() - Method in class cn.hutool.core.io.resource.BytesResource
-
- readBytes() - Method in class cn.hutool.core.io.resource.CharSequenceResource
-
- readBytes() - Method in class cn.hutool.core.io.resource.MultiResource
-
- readBytes() - Method in interface cn.hutool.core.io.resource.Resource
-
读取资源内容,读取完毕后会关闭流
关闭流并不影响下一次读取
- readBytes(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
读取Classpath下的资源为byte[]
- readCellValue(int, int) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取某个单元格的值
- readCertificate(String, InputStream, char[], String) - Static method in class cn.hutool.crypto.KeyUtil
-
读取Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readCertificate(String, InputStream) - Static method in class cn.hutool.crypto.KeyUtil
-
读取Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readCertificate(String, InputStream, char[], String) - Static method in class cn.hutool.crypto.SecureUtil
-
读取Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readCertificate(String, InputStream) - Static method in class cn.hutool.crypto.SecureUtil
-
读取Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readColorTable(int) - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads color table as 256 RGB integer values
- readColumn(int, int) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet中指定列
- readColumn(int, int, int) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet中指定列
- readContents() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Main file parser.
- readCookieMap(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
-
将cookie封装到Map里面
- readCookieMap(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
将cookie封装到Map里面
- readDataHeader(Charset) - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
从流中读取文件头部信息, 如果达到末尾则返回null
- readDataHeaderString(Charset) - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
读取数据头信息字符串
- ReaderWriterCopier - Class in cn.hutool.core.io.copy
-
- ReaderWriterCopier() - Constructor for class cn.hutool.core.io.copy.ReaderWriterCopier
-
构造
- ReaderWriterCopier(int) - Constructor for class cn.hutool.core.io.copy.ReaderWriterCopier
-
构造
- ReaderWriterCopier(int, long) - Constructor for class cn.hutool.core.io.copy.ReaderWriterCopier
-
构造
- ReaderWriterCopier(int, long, StreamProgress) - Constructor for class cn.hutool.core.io.copy.ReaderWriterCopier
-
构造
- readFrom(InputStream, ContentHandler) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
-
- readFromStr(String) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从字符串中读取CSV数据
- readFromStr(String, CsvRowHandler) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从字符串中读取CSV数据
- readGraphicControlExt() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads Graphics Control Extension values
- ReadHandler - Class in cn.hutool.socket.aio
-
数据读取完成回调,调用Session中相应方法处理消息,单例使用
- ReadHandler() - Constructor for class cn.hutool.socket.aio.ReadHandler
-
- readHeader() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads GIF file header information.
- readHex(InputStream, int, boolean) - Static method in class cn.hutool.core.io.IoUtil
-
读取16进制字符串
- readHex64Lower(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取前64个byte并转换为16进制,字母部分使用小写
- readHex64Upper(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取前64个byte并转换为16进制,字母部分使用大写
- readHex8192Upper(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取前8192个byte并转换为16进制,字母部分使用大写
- readImage() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads next frame image
- readJKSKeyStore(File, char[]) - Static method in class cn.hutool.crypto.KeyUtil
-
读取密钥库(Java Key Store,JKS) KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readJKSKeyStore(InputStream, char[]) - Static method in class cn.hutool.crypto.KeyUtil
-
读取密钥库(Java Key Store,JKS) KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readJKSKeyStore(InputStream, char[]) - Static method in class cn.hutool.crypto.SecureUtil
-
读取密钥库(Java Key Store,JKS) KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readJSON(File, Charset) - Static method in class cn.hutool.json.JSONUtil
-
读取JSON
- readJSONArray(File, Charset) - Static method in class cn.hutool.json.JSONUtil
-
读取JSONArray
- readJSONObject(File, Charset) - Static method in class cn.hutool.json.JSONUtil
-
读取JSONObject
- readKeyStore(String, File, char[]) - Static method in class cn.hutool.crypto.KeyUtil
-
读取KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readKeyStore(String, InputStream, char[]) - Static method in class cn.hutool.crypto.KeyUtil
-
读取KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readKeyStore(String, InputStream, char[]) - Static method in class cn.hutool.crypto.SecureUtil
-
读取KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readLine(ByteBuffer, Charset) - Static method in class cn.hutool.core.io.BufferUtil
-
读取一行,如果buffer中最后一部分并非完整一行,则返回null
支持的换行符如下:
1.
- readLine(RandomAccessFile, Charset, LineHandler) - Static method in class cn.hutool.core.io.FileUtil
-
单行处理文件内容
- readLine(RandomAccessFile, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
单行处理文件内容
- readLines(T) - Method in class cn.hutool.core.io.file.FileReader
-
从文件中读取每一行数据
- readLines(LineHandler) - Method in class cn.hutool.core.io.file.FileReader
-
按照行处理文件内容
- readLines() - Method in class cn.hutool.core.io.file.FileReader
-
从文件中读取每一行数据
- readLines(String, String, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(String, Charset, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, String, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, Charset, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(URL, String, T) - Static method in class cn.hutool.core.io.FileUtil
-
- readLines(URL, Charset, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(URL, String) - Static method in class cn.hutool.core.io.FileUtil
-
- readLines(URL, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(String, String) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(String, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, String) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, Charset, Predicate<String>) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, Charset, LineHandler) - Static method in class cn.hutool.core.io.FileUtil
-
按行处理文件内容
- readLines(RandomAccessFile, Charset, LineHandler) - Static method in class cn.hutool.core.io.FileUtil
-
按行处理文件内容
- readLines(InputStream, String, T) - Static method in class cn.hutool.core.io.IoUtil
-
- readLines(InputStream, Charset, T) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取内容
- readLines(Reader, T) - Static method in class cn.hutool.core.io.IoUtil
-
从Reader中读取内容
- readLines(InputStream, Charset, LineHandler) - Static method in class cn.hutool.core.io.IoUtil
-
按行读取数据,针对每行的数据做处理
- readLines(Reader, LineHandler) - Static method in class cn.hutool.core.io.IoUtil
-
按行读取数据,针对每行的数据做处理
Reader
自带编码定义,因此读取数据的编码跟随其编码。
- readLock() - Method in class cn.hutool.core.thread.lock.NoReadWriteLock
-
- readLSD() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads Logical Screen Descriptor
- readMapList(Reader) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从Reader中读取CSV数据,结果为Map,读取后关闭Reader。
- readNetscapeExt() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads Netscape extenstion to obtain iteration count
- readObj(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取对象,即对象的反序列化
注意!!!
- readObj(InputStream, Class<T>) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取对象,即对象的反序列化,读取后不关闭流
注意!!!
- readObj(ValidateObjectInputStream, Class<T>) - Static method in class cn.hutool.core.io.IoUtil
-
- readPem(InputStream) - Static method in class cn.hutool.crypto.PemUtil
-
从pem流中读取公钥或私钥
- readPemKey(InputStream, char[]) - Static method in class cn.hutool.crypto.OpensslKeyUtil
-
- readPemKey(InputStream) - Static method in class cn.hutool.crypto.PemUtil
-
- readPemObject(InputStream) - Static method in class cn.hutool.crypto.PemUtil
-
读取pem文件中的信息,包括类型、头信息和密钥内容
- readPemObject(Reader) - Static method in class cn.hutool.crypto.PemUtil
-
读取pem文件中的信息,包括类型、头信息和密钥内容
- readPemPrivateKey(InputStream) - Static method in class cn.hutool.crypto.BCUtil
-
读取PEM格式的私钥
- readPemPrivateKey(InputStream) - Static method in class cn.hutool.crypto.PemUtil
-
读取PEM格式的私钥,支持PKCS#8和PKCS#1的ECC格式
- readPemPublicKey(InputStream) - Static method in class cn.hutool.crypto.BCUtil
-
读取PEM格式的公钥
- readPemPublicKey(InputStream) - Static method in class cn.hutool.crypto.PemUtil
-
读取PEM格式的公钥
- readPKCS12KeyStore(File, char[]) - Static method in class cn.hutool.crypto.KeyUtil
-
读取PKCS12 KeyStore文件
KeyStore文件用于数字证书的密钥对保存
- readPKCS12KeyStore(InputStream, char[]) - Static method in class cn.hutool.crypto.KeyUtil
-
读取PKCS12 KeyStore文件
KeyStore文件用于数字证书的密钥对保存
- readPublicKeyFromCert(InputStream) - Static method in class cn.hutool.crypto.KeyUtil
-
读取X.509 Certification文件中的公钥
Certification为证书文件
see: https://www.cnblogs.com/yinliang/p/10115519.html
- readRow(int) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取某一行数据
- readRow(Sheet, int) - Method in class cn.hutool.poi.excel.reader.AbstractSheetReader
-
读取某一行数据
- readRow(Row, CellEditor) - Static method in class cn.hutool.poi.excel.RowUtil
-
读取一行
- readRow(Row, int, int, CellEditor) - Static method in class cn.hutool.poi.excel.RowUtil
-
读取一行
- readShort() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads next 16-bit value, LSB first
- readSm2PemPrivateKey(InputStream) - Static method in class cn.hutool.crypto.PemUtil
-
- readStr(ByteBuffer, Charset) - Static method in class cn.hutool.core.io.BufferUtil
-
读取剩余部分并转为字符串
- readStr(Charset) - Method in class cn.hutool.core.io.resource.BytesResource
-
- readStr(Charset) - Method in class cn.hutool.core.io.resource.CharSequenceResource
-
- readStr(Charset) - Method in class cn.hutool.core.io.resource.MultiResource
-
- readStr(Charset) - Method in interface cn.hutool.core.io.resource.Resource
-
读取资源内容,读取完毕后会关闭流
关闭流并不影响下一次读取
- readStr(String, Charset) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
读取Classpath下的资源为字符串
- readString() - Method in class cn.hutool.core.io.file.FileReader
-
读取文件内容
- readString(File, String) - Static method in class cn.hutool.core.io.FileUtil
-
- readString(File, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件内容
- readString(String, String) - Static method in class cn.hutool.core.io.FileUtil
-
- readString(String, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件内容
- readString(URL, String) - Static method in class cn.hutool.core.io.FileUtil
-
- readString(URL, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件内容
- readString(Charset) - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
读取字节流,直到下一个boundary
- readTo(File) - Method in class cn.hutool.core.compress.ZipReader
-
解压到指定目录中
- readTo(File, Filter<ZipEntry>) - Method in class cn.hutool.core.compress.ZipReader
-
解压到指定目录中
- readUtf8(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取UTF8编码的内容
- readUtf8(FileChannel) - Static method in class cn.hutool.core.io.NioUtil
-
从FileChannel中读取UTF-8编码内容
- readUtf8Lines(String, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行的UTF-8编码数据
- readUtf8Lines(File, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据,数据编码为UTF-8
- readUtf8Lines(URL, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据,编码为UTF-8
- readUtf8Lines(URL) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readUtf8Lines(String) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据,编码为UTF-8
- readUtf8Lines(File) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readUtf8Lines(File, Predicate<String>) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readUtf8Lines(File, LineHandler) - Static method in class cn.hutool.core.io.FileUtil
-
按行处理文件内容,编码为UTF-8
- readUtf8Lines(InputStream, T) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取内容,使用UTF-8编码
- readUtf8Lines(InputStream, LineHandler) - Static method in class cn.hutool.core.io.IoUtil
-
按行读取UTF-8编码数据,针对每行的数据做处理
- readUtf8Str(ByteBuffer) - Static method in class cn.hutool.core.io.BufferUtil
-
读取剩余部分并转为UTF-8编码字符串
- readUtf8Str() - Method in class cn.hutool.core.io.resource.MultiResource
-
- readUtf8Str() - Method in interface cn.hutool.core.io.resource.Resource
-
读取资源内容,读取完毕后会关闭流
关闭流并不影响下一次读取
- readUtf8Str(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
读取Classpath下的资源为字符串,使用UTF-8编码
- readUtf8String(File) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件内容
- readUtf8String(String) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件内容
- readX509Certificate(InputStream, char[], String) - Static method in class cn.hutool.crypto.KeyUtil
-
读取X.509 Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readX509Certificate(InputStream) - Static method in class cn.hutool.crypto.KeyUtil
-
读取X.509 Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readX509Certificate(InputStream, char[], String) - Static method in class cn.hutool.crypto.SecureUtil
-
读取X.509 Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readX509Certificate(InputStream) - Static method in class cn.hutool.crypto.SecureUtil
-
读取X.509 Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readXML(File) - Static method in class cn.hutool.core.util.XmlUtil
-
读取解析XML文件
- readXML(String) - Static method in class cn.hutool.core.util.XmlUtil
-
读取解析XML文件
如果给定内容以“<”开头,表示这是一个XML内容,直接读取,否则按照路径处理
路径可以为相对路径,也可以是绝对路径,相对路径相对于ClassPath
- readXML(InputStream) - Static method in class cn.hutool.core.util.XmlUtil
-
读取解析XML文件
编码在XML中定义
- readXML(Reader) - Static method in class cn.hutool.core.util.XmlUtil
-
读取解析XML文件
- readXML(InputSource) - Static method in class cn.hutool.core.util.XmlUtil
-
读取解析XML文件
编码在XML中定义
- reconnectIfTimeout() - Method in class cn.hutool.extra.ftp.AbstractFtp
-
如果连接超时的话,重新进行连接
- reconnectIfTimeout() - Method in class cn.hutool.extra.ftp.Ftp
-
如果连接超时的话,重新进行连接 经测试,当连接超时时,client.isConnected()仍然返回ture,无法判断是否连接超时 因此,通过发送pwd命令的方式,检查连接是否超时
- reconnectIfTimeout() - Method in class cn.hutool.extra.ssh.Sftp
-
- reconnectIfTimeout() - Method in class cn.hutool.extra.ssh.SshjSftp
-
- recursiveDownloadFolder(String, File) - Method in class cn.hutool.extra.ftp.AbstractFtp
-
递归下载FTP服务器上文件到本地(文件目录和服务器同步), 服务器上有新文件会覆盖本地文件
- recursiveDownloadFolder(String, File) - Method in class cn.hutool.extra.ftp.Ftp
-
递归下载FTP服务器上文件到本地(文件目录和服务器同步)
- recursiveDownloadFolder(String, File) - Method in class cn.hutool.extra.ssh.Sftp
-
递归下载FTP服务器上文件到本地(文件目录和服务器同步)
- recursiveDownloadFolder(String, File) - Method in class cn.hutool.extra.ssh.SshjSftp
-
- REDIS_CONFIG_PATH - Static variable in class cn.hutool.db.nosql.redis.RedisDS
-
默认配置文件
- RedisDS - Class in cn.hutool.db.nosql.redis
-
Jedis数据源
- RedisDS() - Constructor for class cn.hutool.db.nosql.redis.RedisDS
-
构造,使用默认配置文件,默认分组
- RedisDS(String) - Constructor for class cn.hutool.db.nosql.redis.RedisDS
-
构造,使用默认配置文件
- RedisDS(Setting, String) - Constructor for class cn.hutool.db.nosql.redis.RedisDS
-
构造
- reduceListMap() - Static method in class cn.hutool.core.stream.CollectorUtil
-
聚合这种数据类型:Collection<Map<K,V>> => Map<K,List<V>>
其中key相同的value,会累加到List中
- reduceListMap(Supplier<R>) - Static method in class cn.hutool.core.stream.CollectorUtil
-
聚合这种数据类型:Collection<Map<K,V>> => Map<K,List<V>>
其中key相同的value,会累加到List中
- ReentrantCache<K,V> - Class in cn.hutool.cache.impl
-
使用
ReentrantLock
保护的缓存,读写都使用悲观锁完成,主要避免某些Map无法使用读写锁的问题
例如使用了LinkedHashMap的缓存,由于get方法也会改变Map的结构,因此读写必须加互斥锁
- ReentrantCache() - Constructor for class cn.hutool.cache.impl.ReentrantCache
-
- ReferenceConcurrentMap<K,V> - Class in cn.hutool.core.map
-
线程安全的ReferenceMap实现
参考:jdk.management.resource.internal.WeakKeyConcurrentHashMap
- ReferenceConcurrentMap(ConcurrentMap<Reference<K>, V>, ReferenceUtil.ReferenceType) - Constructor for class cn.hutool.core.map.ReferenceConcurrentMap
-
构造
- ReferenceConverter - Class in cn.hutool.core.convert.impl
-
- ReferenceConverter(Class<? extends Reference>) - Constructor for class cn.hutool.core.convert.impl.ReferenceConverter
-
构造
- ReferenceUtil - Class in cn.hutool.core.util
-
- ReferenceUtil() - Constructor for class cn.hutool.core.util.ReferenceUtil
-
- ReferenceUtil.ReferenceType - Enum in cn.hutool.core.util
-
引用类型
- reflectionCompare(Object, Object) - Static method in class cn.hutool.core.builder.CompareToBuilder
-
通过反射比较两个Bean对象,对象字段可以为private。
- reflectionCompare(Object, Object, boolean) - Static method in class cn.hutool.core.builder.CompareToBuilder
-
Compares two Object
s via reflection.
- reflectionCompare(Object, Object, Collection<String>) - Static method in class cn.hutool.core.builder.CompareToBuilder
-
Compares two Object
s via reflection.
- reflectionCompare(Object, Object, String...) - Static method in class cn.hutool.core.builder.CompareToBuilder
-
Compares two Object
s via reflection.
- reflectionCompare(Object, Object, boolean, Class<?>, String...) - Static method in class cn.hutool.core.builder.CompareToBuilder
-
Compares two Object
s via reflection.
- reflectionEquals(Object, Object, Collection<String>) - Static method in class cn.hutool.core.builder.EqualsBuilder
-
反射检查两个对象是否equals,此方法检查对象及其父对象的属性(包括私有属性)是否equals
- reflectionEquals(Object, Object, String...) - Static method in class cn.hutool.core.builder.EqualsBuilder
-
反射检查两个对象是否equals,此方法检查对象及其父对象的属性(包括私有属性)是否equals
- reflectionEquals(Object, Object, boolean) - Static method in class cn.hutool.core.builder.EqualsBuilder
-
This method uses reflection to determine if the two Object
s
are equal.
- reflectionEquals(Object, Object, boolean, Class<?>, String...) - Static method in class cn.hutool.core.builder.EqualsBuilder
-
This method uses reflection to determine if the two Object
s
are equal.
- reflectionHashCode(int, int, Object) - Static method in class cn.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object
.
- reflectionHashCode(int, int, Object, boolean) - Static method in class cn.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object
.
- reflectionHashCode(int, int, T, boolean, Class<? super T>, String...) - Static method in class cn.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object
.
- reflectionHashCode(Object, boolean) - Static method in class cn.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object
.
- reflectionHashCode(Object, Collection<String>) - Static method in class cn.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object
.
- reflectionHashCode(Object, String...) - Static method in class cn.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object
.
- ReflectUtil - Class in cn.hutool.core.util
-
反射工具类
- ReflectUtil() - Constructor for class cn.hutool.core.util.ReflectUtil
-
- refuse(Class<?>...) - Method in class cn.hutool.core.io.ValidateObjectInputStream
-
禁止反序列化的类,用于反序列化验证
- REGEX_NORM - Static variable in class cn.hutool.core.date.DatePattern
-
标准日期时间正则,每个字段支持单个数字或2个数字,包括:
yyyy-MM-dd HH:mm:ss.SSSSSS
yyyy-MM-dd HH:mm:ss.SSS
yyyy-MM-dd HH:mm:ss
yyyy-MM-dd HH:mm
yyyy-MM-dd
- RegexPool - Interface in cn.hutool.core.lang
-
常用正则表达式字符串池
- register(Watchable, WatchService, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
注册Watchable对象到WatchService服务
- registerBean(String, T) - Static method in class cn.hutool.extra.spring.SpringUtil
-
动态向Spring注册Bean
由BeanFactory
实现,通过工具开放API
更新: shadow 2021-07-29 17:20:44 增加自动注入,修复注册bean无法反向注入的问题
- registerChannel(Selector, SelectableChannel, Operation) - Static method in class cn.hutool.socket.nio.NioUtil
-
注册通道的指定操作到指定Selector上
- RegisteredPayload<T extends RegisteredPayload<T>> - Interface in cn.hutool.jwt
-
注册的标准载荷(Payload)声明
- registerPath(Path, int) - Method in class cn.hutool.core.io.watch.WatchServer
-
将指定路径加入到监听中
- rejectedExecution(Runnable, ThreadPoolExecutor) - Method in class cn.hutool.core.thread.BlockPolicy
-
- RejectPolicy - Enum in cn.hutool.core.thread
-
线程拒绝策略枚举
如果设置了maxSize, 当总线程数达到上限, 会调用RejectedExecutionHandler进行处理,此枚举为JDK预定义的几种策略枚举表示
- RelationType - Enum in cn.hutool.core.annotation
-
- release() - Method in class cn.hutool.db.ds.pooled.PooledConnection
-
释放连接
- releaseSavepoint(Savepoint) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- reload() - Method in class cn.hutool.setting.GroupedSet
-
重新加载配置文件
- remove(long) - Method in interface cn.hutool.bloomfilter.bitMap.BitMap
-
移除值
- remove(long) - Method in class cn.hutool.bloomfilter.bitMap.IntMap
-
- remove(long) - Method in class cn.hutool.bloomfilter.bitMap.LongMap
-
- remove(K) - Method in interface cn.hutool.cache.Cache
-
从缓存中移除对象
- remove() - Method in class cn.hutool.cache.impl.CacheObjIterator
-
从缓存中移除没有过期的当前值,此方法不支持
- remove() - Method in class cn.hutool.cache.impl.CacheValuesIterator
-
从缓存中移除没有过期的当前值,不支持此方法
- remove(K) - Method in class cn.hutool.cache.impl.NoCache
-
- remove(K) - Method in class cn.hutool.cache.impl.ReentrantCache
-
- remove(K) - Method in class cn.hutool.cache.impl.StampedCache
-
Deprecated.
- remove() - Method in class cn.hutool.core.collection.ArrayIter
-
不允许操作数组元素
- remove(Object) - Method in class cn.hutool.core.collection.ConcurrentHashSet
-
- remove() - Method in class cn.hutool.core.collection.CopiedIter
-
此对象不支持移除元素
- remove() - Method in class cn.hutool.core.collection.EnumerationIter
-
- remove() - Method in class cn.hutool.core.collection.FilterIter
-
- remove() - Method in class cn.hutool.core.collection.IterChain
-
- remove() - Method in class cn.hutool.core.collection.NodeListIter
-
- remove() - Method in class cn.hutool.core.collection.TransIter
-
- remove(Object) - Method in class cn.hutool.core.collection.UniqueKeySet
-
- remove() - Method in class cn.hutool.core.io.resource.MultiResource
-
- remove(T) - Method in class cn.hutool.core.lang.ConsistentHash
-
移除节点的同时移除相应的虚拟节点
- remove(Object) - Method in class cn.hutool.core.lang.Dict
-
- remove(Object, Object) - Method in class cn.hutool.core.lang.Dict
-
- remove(String, int) - Static method in class cn.hutool.core.lang.PatternPool
-
移除缓存
- remove() - Method in class cn.hutool.core.lang.Range
-
- remove(K) - Method in class cn.hutool.core.lang.SimpleCache
-
移除缓存
- remove(Class<?>) - Static method in class cn.hutool.core.lang.Singleton
-
移除指定Singleton对象
- remove(String) - Static method in class cn.hutool.core.lang.Singleton
-
移除指定Singleton对象
- remove(E) - Method in class cn.hutool.core.lang.WeightListRandom
-
移除元素
- remove(Object) - Method in class cn.hutool.core.map.BiMap
-
- remove(Object, Object) - Method in class cn.hutool.core.map.BiMap
-
- remove(Object) - Method in interface cn.hutool.core.map.ForestMap
-
将指定节点从当前
Map
中删除
若存在父节点或子节点,则将其断开其与父节点或子节点的引用关系;
若同时存在父节点或子节点,则会在删除后将让子节点直接成为父节点的子节点,比如:
现有引用关系 a -> b -> c,删除 b 后,将有 a -> c
- remove(Object) - Method in class cn.hutool.core.map.LinkedForestMap
-
将指定节点从当前
Map
中删除
若存在父节点或子节点,则将其断开其与父节点或子节点的引用关系;
若同时存在父节点或子节点,则会在删除后将让子节点直接成为父节点的子节点,比如:
现有引用关系 a -> b -> c,删除 b 后,将有 a -> c
- remove(Object) - Method in class cn.hutool.core.map.MapProxy
-
- remove(Object) - Method in class cn.hutool.core.map.MapWrapper
-
- remove(Object, Object) - Method in class cn.hutool.core.map.MapWrapper
-
- remove(R, C) - Method in class cn.hutool.core.map.multi.RowKeyTable
-
- remove(R, C) - Method in interface cn.hutool.core.map.multi.Table
-
移除指定值
- remove(Object) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- remove(Object, Object) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- remove(Object) - Method in class cn.hutool.core.map.TableMap
-
移除指定的所有键和对应的所有值
- remove(Object, Object) - Method in class cn.hutool.core.map.TableMap
-
- remove(Object) - Method in class cn.hutool.core.map.TransMap
-
- remove(Object, Object) - Method in class cn.hutool.core.map.TransMap
-
- remove(int, int) - Static method in class cn.hutool.core.math.BitStatusUtil
-
删除一个状态
- remove(CharSequence) - Method in class cn.hutool.core.net.url.UrlQuery
-
移除键及对应所有的值
- remove(Object) - Method in class cn.hutool.core.text.csv.CsvRow
-
- remove(int) - Method in class cn.hutool.core.text.csv.CsvRow
-
- remove(T[], int) - Static method in class cn.hutool.core.util.ArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(long[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(int[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(short[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(char[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(byte[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(double[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(float[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(boolean[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(Object, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(String) - Static method in class cn.hutool.cron.CronUtil
-
移除任务
- remove(String) - Method in class cn.hutool.cron.TaskTable
-
移除Task
- remove(Session) - Method in enum cn.hutool.extra.ssh.JschSessionPool
-
移除指定Session
- remove() - Method in class cn.hutool.extra.tokenizer.engine.ansj.AnsjResult
-
- remove() - Method in class cn.hutool.extra.tokenizer.engine.hanlp.HanLPResult
-
- remove() - Method in class cn.hutool.extra.tokenizer.engine.jieba.JiebaResult
-
- remove() - Method in class cn.hutool.extra.tokenizer.engine.mynlp.MynlpResult
-
- remove() - Method in class cn.hutool.extra.tokenizer.engine.word.WordResult
-
- remove(URI, HttpCookie) - Method in class cn.hutool.http.cookie.ThreadLocalCookieStore
-
- remove(int) - Method in class cn.hutool.json.JSONArray
-
- remove(Object) - Method in class cn.hutool.json.JSONArray
-
- remove(String, String) - Method in class cn.hutool.setting.GroupedMap
-
从指定分组中删除指定值
- remove(String, Object) - Method in class cn.hutool.setting.Setting
-
从指定分组中删除指定值
- remove(Object) - Method in class cn.hutool.setting.Setting
-
移除默认分组(空分组)中指定值
- removeAll(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
移除字符串中所有给定字符串
例:removeAll("aa-bb-cc-dd", "-") =》 aabbccdd
- removeAll(CharSequence, char...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去除字符串中指定的多个字符,如有多个则全部去除
- removeAll(Collection<?>) - Method in class cn.hutool.core.text.csv.CsvRow
-
- removeAll() - Method in class cn.hutool.http.cookie.ThreadLocalCookieStore
-
- removeAll(Collection<?>) - Method in class cn.hutool.json.JSONArray
-
- removeAllEmojis(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
-
去除字符串中所有的Emoji Unicode字符
- removeAllHtmlAttr(String, String...) - Static method in class cn.hutool.http.HtmlUtil
-
去除指定标签的所有属性
- removeAllLineBreaks(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去除所有换行符,包括:
1.
- removeAllPrefix(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去掉指定所有前缀,如:
str=abcdef, prefix=ab => return cdef
str=ababcdef, prefix=ab => return cdef
str=ababcdef, prefix="" => return ababcdef
str=ababcdef, prefix=null => return ababcdef
- removeAllSuffix(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去掉指定所有后缀,如:
str=11abab, suffix=ab => return 11
str=11ab, suffix=ab => return 11
str=11ab, suffix="" => return 11ab
str=11ab, suffix=null => return 11ab
- removeAny(T, E...) - Static method in class cn.hutool.core.collection.CollUtil
-
去掉集合中的多个元素,此方法直接修改原集合
- removeAny(Map<K, V>, K...) - Static method in class cn.hutool.core.map.MapUtil
-
去掉Map中指定key的键值对,修改原Map
- removeAny(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
移除字符串中所有给定字符串,当某个字符串出现多次,则全部移除
例:removeAny("aa-bb-cc-dd", "a", "b") =》 --cc-dd
- removeBlank(T) - Static method in class cn.hutool.core.collection.CollUtil
-
去除null
或者""或者空白字符串 元素,此方法直接修改原集合
- removeBlank(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
去除null
或者""或者空白字符串 元素
- removeByIndex(int) - Method in class cn.hutool.core.map.TableMap
-
移除指定位置的键值对
- removeCellComment() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- removeCurrent() - Method in class cn.hutool.http.cookie.ThreadLocalCookieStore
-
移除当前线程的Cookie
- removeEldestEntry(Map.Entry<K, V>) - Method in class cn.hutool.core.map.FixedLinkedHashMap
-
- removeEle(T[], T) - Static method in class cn.hutool.core.util.ArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(long[], long) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(int[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(short[], short) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(char[], char) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(byte[], byte) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(double[], double) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(float[], float) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(boolean[], boolean) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEmpty(T) - Static method in class cn.hutool.core.collection.CollUtil
-
去除null
或者"" 元素,此方法直接修改原集合
- removeEmpty(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
去除null
或者"" 元素
- removeEqual(T, String...) - Method in class cn.hutool.core.lang.Dict
-
与给定实体对比并去除相同的部分
此方法用于在更新操作时避免所有字段被更新,跳过不需要更新的字段 version from 2.0.0
- removeFileType(String) - Static method in class cn.hutool.core.io.FileTypeUtil
-
移除文件类型映射
- removeFinalModify(Field) - Static method in class cn.hutool.core.util.ModifierUtil
-
设置final的field字段可以被修改
只要不会被编译器内联优化的 final 属性就可以通过反射有效的进行修改 -- 修改后代码中可使用到新的值;
以下属性,编译器会内联优化,无法通过反射修改:
基本类型 byte, char, short, int, long, float, double, boolean
Literal String 类型(直接双引号字符串)
以下属性,可以通过反射修改:
基本类型的包装类 Byte、Character、Short、Long、Float、Double、Boolean
字符串,通过 new String("")实例化
自定义java类
//示例,移除final修饰符
class JdbcDialects {private static final List<Number> dialects = new ArrayList<>();}
Field field = ReflectUtil.getField(JdbcDialects.class, fieldName);
ReflectUtil.removeFinalModify(field);
ReflectUtil.setFieldValue(JdbcDialects.class, fieldName, dialects);
- removeFinalModify(Field) - Static method in class cn.hutool.core.util.ReflectUtil
-
设置final的field字段可以被修改
只要不会被编译器内联优化的 final 属性就可以通过反射有效的进行修改 -- 修改后代码中可使用到新的值;
以下属性,编译器会内联优化,无法通过反射修改:
基本类型 byte, char, short, int, long, float, double, boolean
Literal String 类型(直接双引号字符串)
以下属性,可以通过反射修改:
基本类型的包装类 Byte、Character、Short、Long、Float、Double、Boolean
字符串,通过 new String("")实例化
自定义java类
//示例,移除final修饰符
class JdbcDialects {private static final List<Number> dialects = new ArrayList<>();}
Field field = ReflectUtil.getField(JdbcDialects.class, fieldName);
ReflectUtil.removeFinalModify(field);
ReflectUtil.setFieldValue(JdbcDialects.class, fieldName, dialects);
- removeFormula() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- removeHeader(String) - Method in enum cn.hutool.http.GlobalHeaders
-
移除一个头信息
- removeHeader(Header) - Method in enum cn.hutool.http.GlobalHeaders
-
移除一个头信息
- removeHeader(String) - Method in class cn.hutool.http.HttpBase
-
移除一个头信息
- removeHeader(Header) - Method in class cn.hutool.http.HttpBase
-
移除一个头信息
- removeHeaderAlias(String) - Method in class cn.hutool.core.text.csv.CsvConfig
-
去除标题别名
- removeHeaderAlias(String) - Method in class cn.hutool.poi.excel.ExcelBase
-
去除标题别名
- removeHtmlAttr(String, String...) - Static method in class cn.hutool.http.HtmlUtil
-
去除HTML标签中的属性,如果多个标签有相同属性,都去除
- removeHtmlTag(String, String...) - Static method in class cn.hutool.http.HtmlUtil
-
清除指定HTML标签和被标签包围的内容
不区分大小写
- removeHtmlTag(String, boolean, String...) - Static method in class cn.hutool.http.HtmlUtil
-
清除指定HTML标签
不区分大小写
- removeHyperlink() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- removeIf(Predicate<? super T>) - Method in class cn.hutool.core.collection.TransCollection
-
- removeListener(ClipboardListener) - Method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
去除指定监听
- removeListener(TaskListener) - Method in class cn.hutool.cron.listener.TaskListenerManager
-
移除监听器
- removeListener(TaskListener) - Method in class cn.hutool.cron.Scheduler
-
移除监听器
- removeNew(String...) - Method in class cn.hutool.db.Entity
-
过滤Map去除指定键值对,如果键不存在跳过
- removeNull(T) - Static method in class cn.hutool.core.collection.CollUtil
-
去除null
元素,此方法直接修改原集合
- removeNull(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
去除null
元素
- removeNullValue(Map<K, V>) - Static method in class cn.hutool.core.map.MapUtil
-
去除Map中值为null
的键值对
注意:此方法在传入的Map上直接修改。
- removePreAndLowerFirst(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去掉首部指定长度的字符串并将剩余字符串首字母小写
例如:str=setName, preLength=3 =》 return name
- removePreAndLowerFirst(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去掉首部指定长度的字符串并将剩余字符串首字母小写
例如:str=setName, prefix=set =》 return name
- removePrefix(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去掉指定前缀
- removePrefixIgnoreCase(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
忽略大小写去掉指定前缀
- removeRow(Row) - Static method in class cn.hutool.poi.excel.RowUtil
-
从工作表中删除指定的行,此方法修复sheet.shiftRows删除行时会拆分合并的单元格的问题
- removeSafe(char) - Method in class cn.hutool.core.codec.PercentCodec
-
移除安全字符
安全字符不被编码
- removeSafeCharacter(char) - Method in class cn.hutool.core.net.URLEncoder
-
Deprecated.
移除安全字符
安全字符不被编码
- removeShowSqlParams(Setting) - Static method in class cn.hutool.db.DbUtil
-
移除配置文件中的Show SQL相关配置项
此方法用于移除用户配置在分组下的配置项目
- removeSufAndLowerFirst(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去掉指定后缀,并小写首字母
- removeSuffix(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去掉指定后缀
- removeSuffixIgnoreCase(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
忽略大小写去掉指定后缀
- removeTask(TimerTask) - Method in class cn.hutool.cron.timingwheel.TimerTaskList
-
移除任务
- removeValue(K, V) - Method in class cn.hutool.core.map.multi.AbsCollValueMap
-
移除value集合中的某个值
- removeValues(K, Collection<V>) - Method in class cn.hutool.core.map.multi.AbsCollValueMap
-
移除value集合中的某些值
- removeWithAddIf(T, T, Predicate<? super E>) - Static method in class cn.hutool.core.collection.CollUtil
-
移除集合中的多个元素,并将结果存放到指定的集合
此方法直接修改原集合
- removeWithAddIf(T, Predicate<? super E>) - Static method in class cn.hutool.core.collection.CollUtil
-
移除集合中的多个元素,并将结果存放到生成的新集合中后返回
此方法直接修改原集合
- removeWithoutLock(K) - Method in class cn.hutool.cache.impl.AbstractCache
-
移除key对应的对象,不加锁
- rename(Path, String, boolean) - Static method in class cn.hutool.core.io.file.PathUtil
-
修改文件或目录的文件名,不变更路径,只是简单修改文件名
FileUtil.rename(file, "aaa.jpg", false) xx/xx.png =》xx/aaa.jpg
- rename(File, String, boolean) - Static method in class cn.hutool.core.io.FileUtil
-
修改文件或目录的文件名,不变更路径,只是简单修改文件名,不保留扩展名。
- rename(File, String, boolean, boolean) - Static method in class cn.hutool.core.io.FileUtil
-
修改文件或目录的文件名,不变更路径,只是简单修改文件名
重命名有两种模式:
1、isRetainExt为true时,保留原扩展名:
FileUtil.rename(file, "aaa", true) xx/xx.png =》xx/aaa.png
2、isRetainExt为false时,不保留原扩展名,需要在newName中
FileUtil.rename(file, "aaa.jpg", false) xx/xx.png =》xx/aaa.jpg
- renameKey(Map<K, V>, K, K) - Static method in class cn.hutool.core.map.MapUtil
-
- renameSheet(String) - Method in class cn.hutool.poi.excel.ExcelBase
-
重命名当前sheet
- renameSheet(String) - Method in class cn.hutool.poi.excel.ExcelWriter
-
重命名当前sheet
- renameSheet(int, String) - Method in class cn.hutool.poi.excel.ExcelWriter
-
重命名sheet
- render(Map<?, ?>, File) - Method in class cn.hutool.extra.template.AbstractTemplate
-
- render(Map<?, ?>) - Method in class cn.hutool.extra.template.AbstractTemplate
-
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.beetl.BeetlTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.beetl.BeetlTemplate
-
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.enjoy.EnjoyTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.enjoy.EnjoyTemplate
-
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.freemarker.FreemarkerTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.freemarker.FreemarkerTemplate
-
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.jetbrick.JetbrickTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.jetbrick.JetbrickTemplate
-
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.rythm.RythmTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.rythm.RythmTemplate
-
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.thymeleaf.ThymeleafTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.thymeleaf.ThymeleafTemplate
-
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.velocity.VelocityTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.velocity.VelocityTemplate
-
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.wit.WitTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.wit.WitTemplate
-
- render(Map<?, ?>, Writer) - Method in interface cn.hutool.extra.template.Template
-
将模板与绑定参数融合后输出到Writer
- render(Map<?, ?>, OutputStream) - Method in interface cn.hutool.extra.template.Template
-
将模板与绑定参数融合后输出到流
- render(Map<?, ?>, File) - Method in interface cn.hutool.extra.template.Template
-
写出到文件
- render(Map<?, ?>) - Method in interface cn.hutool.extra.template.Template
-
将模板与绑定参数融合后返回为字符串
- repeat - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- repeat(char, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
重复某个字符
CharSequenceUtil.repeat('e', 0) = ""
CharSequenceUtil.repeat('e', 3) = "eee"
CharSequenceUtil.repeat('e', -2) = ""
- repeat(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
重复某个字符串
- repeatAndJoin(CharSequence, int, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
重复某个字符串并通过分界符连接
CharSequenceUtil.repeatAndJoin("?"
- repeatByLength(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
重复某个字符串到指定长度
- replace(String, Object, Object) - Method in class cn.hutool.core.lang.Dict
-
- replace(String, Object) - Method in class cn.hutool.core.lang.Dict
-
- replace(T) - Method in interface cn.hutool.core.lang.Replacer
-
替换指定类型为目标类型
- replace(K, V, V) - Method in class cn.hutool.core.map.MapWrapper
-
- replace(K, V) - Method in class cn.hutool.core.map.MapWrapper
-
- replace(K, V) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- replace(K, V, V) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- replace(K, V, V) - Method in class cn.hutool.core.map.TableMap
-
- replace(K, V) - Method in class cn.hutool.core.map.TableMap
-
替换指定key的所有值为指定值
- replace(K, V, V) - Method in class cn.hutool.core.map.TransMap
-
- replace(K, V) - Method in class cn.hutool.core.map.TransMap
-
- replace(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符串中的指定字符串
- replace(CharSequence, CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符串中的指定字符串
- replace(CharSequence, int, CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符串中的指定字符串
- replace(CharSequence, int, int, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
- replace(CharSequence, int, int, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
- replace(CharSequence, Pattern, Func1<Matcher, String>) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换所有正则匹配的文本,并使用自定义函数决定如何替换
replaceFun可以通过
Matcher
提取出匹配到的内容的不同部分,然后经过重新处理、组装变成新的内容放回原位。
- replace(CharSequence, String, Func1<Matcher, String>) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换所有正则匹配的文本,并使用自定义函数决定如何替换
- replace(CharSequence, int, StrBuilder) - Method in class cn.hutool.core.text.escape.NumericEntityUnescaper
-
- replace(CharSequence, int, StrBuilder) - Method in class cn.hutool.core.text.replacer.LookupReplacer
-
- replace(CharSequence, int, StrBuilder) - Method in class cn.hutool.core.text.replacer.ReplacerChain
-
- replace(CharSequence, int, StrBuilder) - Method in class cn.hutool.core.text.replacer.StrReplacer
-
抽象的字符串替换方法,通过传入原字符串和当前位置,执行替换逻辑,返回处理或替换的字符串长度部分。
- replace(CharSequence) - Method in class cn.hutool.core.text.replacer.StrReplacer
-
- replace(T[], int, T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
将新元素插入到到已有数组中的某个位置
添加新元素会生成一个新数组或原有数组
如果插入位置为为负数,那么生成一个由插入元素顺序加已有数组顺序的新数组
- replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in class cn.hutool.core.map.MapWrapper
-
- replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in class cn.hutool.core.map.TableMap
-
- replaceAll(CharSequence, String, String) - Static method in class cn.hutool.core.util.ReUtil
-
正则替换指定值
通过正则查找到字符串,然后把匹配到的字符串加入到replacementTemplate中,$1表示分组1的字符串
例如:原字符串是:中文1234,我想把1234换成(1234),则可以:
ReUtil.replaceAll("中文1234", "(\\d+)", "($1)"))
结果:中文(1234)
- replaceAll(CharSequence, Pattern, String) - Static method in class cn.hutool.core.util.ReUtil
-
正则替换指定值
通过正则查找到字符串,然后把匹配到的字符串加入到replacementTemplate中,$1表示分组1的字符串
- replaceAll(CharSequence, String, Func1<Matcher, String>) - Static method in class cn.hutool.core.util.ReUtil
-
替换所有正则匹配的文本,并使用自定义函数决定如何替换
replaceFun可以通过
Matcher
提取出匹配到的内容的不同部分,然后经过重新处理、组装变成新的内容放回原位。
- replaceAll(CharSequence, Pattern, Func1<Matcher, String>) - Static method in class cn.hutool.core.util.ReUtil
-
替换所有正则匹配的文本,并使用自定义函数决定如何替换
replaceFun可以通过
Matcher
提取出匹配到的内容的不同部分,然后经过重新处理、组装变成新的内容放回原位。
- replaceAttribute(String, UnaryOperator<AnnotationAttribute>) - Method in class cn.hutool.core.annotation.GenericSynthesizedAnnotation
-
替换属性值
- replaceAttribute(String, UnaryOperator<AnnotationAttribute>) - Method in interface cn.hutool.core.annotation.SynthesizedAnnotation
-
替换属性值
- replaceByCodePoint(CharSequence, int, int, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
- replaceByCodePoint(CharSequence, int, int, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
- replaceChars(CharSequence, String, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符字符数组中所有的字符为replacedStr
提供的chars为所有需要被替换的字符,例如:"\r\n",则"\r"和"\n"都会被替换,哪怕他们单独存在
- replaceChars(CharSequence, char[], CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符字符数组中所有的字符为replacedStr
- replaceFirst(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符串中第一个指定字符串
- replaceFirst(CharSequence, CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符串中第一个指定字符串
- replaceFirst(Pattern, CharSequence, String) - Static method in class cn.hutool.core.util.ReUtil
-
替换匹配的第一个内容
- replaceIgnoreCase(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符串中的指定字符串,忽略大小写
- replaceLast(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符串中最后一个指定字符串
- replaceLast(CharSequence, CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符串中最后一个指定字符串
- Replacer<T> - Interface in cn.hutool.core.lang
-
替换器
通过实现此接口完成指定类型对象的替换操作,替换后的目标类型依旧为指定类型
- ReplacerChain - Class in cn.hutool.core.text.replacer
-
字符串替换链,用于组合多个字符串替换逻辑
- ReplacerChain(StrReplacer...) - Constructor for class cn.hutool.core.text.replacer.ReplacerChain
-
构造
- RequestBody - Interface in cn.hutool.http.body
-
定义请求体接口
- RESERVED - Static variable in class cn.hutool.core.net.RFC3986
-
- reset() - Method in class cn.hutool.core.builder.EqualsBuilder
-
Reset the EqualsBuilder so you can use the same object again
- reset() - Method in class cn.hutool.core.collection.ArrayIter
-
重置数组位置
- reset() - Method in class cn.hutool.core.collection.NodeListIter
-
- reset() - Method in interface cn.hutool.core.collection.ResettableIter
-
重置,重置后可重新遍历
- reset() - Method in class cn.hutool.core.io.checksum.crc16.CRC16Ansi
-
- reset() - Method in class cn.hutool.core.io.checksum.crc16.CRC16CCITTFalse
-
- reset() - Method in class cn.hutool.core.io.checksum.crc16.CRC16Checksum
-
- reset() - Method in class cn.hutool.core.io.checksum.crc16.CRC16Modbus
-
- reset() - Method in class cn.hutool.core.io.checksum.crc16.CRC16USB
-
- reset() - Method in class cn.hutool.core.io.checksum.crc16.CRC16X25
-
- reset() - Method in class cn.hutool.core.io.checksum.CRC16
-
- reset() - Method in class cn.hutool.core.io.checksum.CRC8
-
- reset() - Method in class cn.hutool.core.io.FastByteArrayOutputStream
-
- reset() - Method in class cn.hutool.core.io.FastByteBuffer
-
- reset() - Method in class cn.hutool.core.io.resource.MultiResource
-
重置游标
- reset() - Method in class cn.hutool.core.lang.Range
-
重置Range
- reset() - Method in class cn.hutool.core.lang.tree.TreeBuilder
-
重置Builder,实现复用
- reset() - Method in interface cn.hutool.core.text.finder.Finder
-
复位查找器,用于重用对象
- reset() - Method in class cn.hutool.core.text.finder.PatternFinder
-
- reset() - Method in class cn.hutool.core.text.split.SplitIter
-
重置
- reset() - Method in class cn.hutool.core.text.StrBuilder
-
删除全部字符,位置归零
- reset() - Method in class cn.hutool.core.thread.ConcurrencyTester
-
重置测试器,重置包括:
清空worker
重置计时器
- reset() - Method in class cn.hutool.crypto.digest.Digester
-
- reset() - Method in class cn.hutool.crypto.digest.mac.BCMacEngine
-
- reset() - Method in class cn.hutool.crypto.digest.mac.DefaultHMacEngine
-
- reset() - Method in interface cn.hutool.crypto.digest.mac.MacEngine
-
重置
- reset() - Method in class cn.hutool.http.HttpInputStream
-
- reset() - Method in class cn.hutool.http.webservice.SoapClient
-
重置SOAP客户端,用于客户端复用
重置后需调用serMethod方法重新指定请求方法,并调用setParam方法重新定义参数
- reset() - Method in class cn.hutool.poi.excel.ExcelWriter
-
重置Writer,包括:
1.
- resetFrame() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Resets frame state for reading next image.
- resetRow() - Method in class cn.hutool.poi.excel.ExcelWriter
-
重置当前行为0
- ResettableIter<E> - Interface in cn.hutool.core.collection
-
- resize(T[], int, Class<?>) - Static method in class cn.hutool.core.util.ArrayUtil
-
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。
- resize(Object, int) - Static method in class cn.hutool.core.util.ArrayUtil
-
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。
- resize(T[], int) - Static method in class cn.hutool.core.util.ArrayUtil
-
生成一个新的重新设置大小的数组
新数组的类型为原数组的类型,调整大小后拷贝原数组到新数组下。
- resize(byte[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。
- resolve(Func1<T, ?>) - Static method in class cn.hutool.core.lang.func.LambdaUtil
-
解析lambda表达式,加了缓存。
- resolve(Func0<R>) - Static method in class cn.hutool.core.lang.func.LambdaUtil
-
解析lambda表达式,加了缓存。
- resolveClass(ObjectStreamClass) - Method in class cn.hutool.core.io.ValidateObjectInputStream
-
只允许反序列化SerialObject class
- Resource - Interface in cn.hutool.core.io.resource
-
资源接口定义
资源是数据表示的统称,我们可以将任意的数据封装为一个资源,然后读取其内容。
- resource - Variable in class cn.hutool.setting.Setting
-
设定文件的资源
- ResourceBody - Class in cn.hutool.http.body
-
Resource
类型的Http request body,主要发送编码后的表单数据或rest body(如JSON或XML)
- ResourceBody(Resource) - Constructor for class cn.hutool.http.body.ResourceBody
-
构造
- ResourceClassLoader<T extends Resource> - Class in cn.hutool.core.lang
-
资源类加载器,可以加载任意类型的资源类
- ResourceClassLoader(ClassLoader, Map<String, T>) - Constructor for class cn.hutool.core.lang.ResourceClassLoader
-
构造
- ResourceUtil - Class in cn.hutool.core.io.resource
-
Resource资源工具类
- ResourceUtil() - Constructor for class cn.hutool.core.io.resource.ResourceUtil
-
- responseCode() - Method in class cn.hutool.http.HttpConnection
-
获取响应码
- restart() - Method in class cn.hutool.core.date.TimeInterval
-
重新开始计算时间(重置开始时间)
- restart() - Static method in class cn.hutool.cron.CronUtil
-
重新启动定时任务
此方法会清除动态加载的任务,重新启动后,守护线程与否与之前保持一致
- Result - Interface in cn.hutool.extra.tokenizer
-
分词结果接口定义
实现此接口包装分词器的分词结果,通过实现Iterator相应方法获取分词中的单词
- retainAll(Collection<?>) - Method in class cn.hutool.core.text.csv.CsvRow
-
- retainAll(Collection<?>) - Method in class cn.hutool.json.JSONArray
-
- returnGeneratedKey - Static variable in class cn.hutool.db.GlobalDbConfig
-
是否INSERT语句中默认返回主键(默认返回主键)
- ReUtil - Class in cn.hutool.core.util
-
- ReUtil() - Constructor for class cn.hutool.core.util.ReUtil
-
- reverse(List<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
反序给定List,会在原List基础上直接修改
- reverse(List<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
反序给定List,会在原List基础上直接修改
- reverse(Map<T, T>) - Static method in class cn.hutool.core.map.MapUtil
-
Map的键和值互换
互换键值对不检查值是否有重复,如果有则后加入的元素替换先加入的元素
值的顺序在HashMap中不确定,所以谁覆盖谁也不确定,在有序的Map中按照先后顺序覆盖,保留最后的值
- reverse(T[], int, int) - Static method in class cn.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(long[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(long[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(int[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(int[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(short[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(short[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(char[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(char[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(byte[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(byte[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(double[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(double[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(float[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(float[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(boolean[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(boolean[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(String) - Static method in class cn.hutool.core.util.StrUtil
-
反转字符串
例如:abcd =》dcba
- ReverseComparator<E> - Class in cn.hutool.core.comparator
-
反转比较器
- ReverseComparator(Comparator<? super E>) - Constructor for class cn.hutool.core.comparator.ReverseComparator
-
- reverseNew(List<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
反序给定List,会创建一个新的List,原List数据不变
- reverseNew(List<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
反序给定List,会创建一个新的List,原List数据不变
- RFC3986 - Class in cn.hutool.core.net
-
- RFC3986() - Constructor for class cn.hutool.core.net.RFC3986
-
- RhinoEngine - Class in cn.hutool.extra.expression.engine.rhino
-
rhino引擎封装
见:https://github.com/mozilla/rhino
- RhinoEngine() - Constructor for class cn.hutool.extra.expression.engine.rhino.RhinoEngine
-
- RichTextCellSetter - Class in cn.hutool.poi.excel.cell.setters
-
RichTextString
值单元格设置器
- RID_PREFIX - Static variable in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
- rightClick() - Static method in class cn.hutool.core.swing.RobotUtil
-
模拟右键单击
鼠标单击包括鼠标右键的按下和释放
- RingIndexUtil - Class in cn.hutool.core.collection
-
集合索引环形获取工具类
- RingIndexUtil() - Constructor for class cn.hutool.core.collection.RingIndexUtil
-
- ringNextInt(int, AtomicInteger) - Static method in class cn.hutool.core.collection.RingIndexUtil
-
通过cas操作 实现对指定值内的回环累加
- ringNextIntByObj(Object, AtomicInteger) - Static method in class cn.hutool.core.collection.RingIndexUtil
-
通过cas操作 实现对指定值内的回环累加
- ringNextLong(long, AtomicLong) - Static method in class cn.hutool.core.collection.RingIndexUtil
-
通过cas操作 实现对指定值内的回环累加
此方法一般用于大量数据完成回环累加(如数据库中的值大于int最大值)
- rmd2(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
RMD2(MD2withRSA)签名器
- rmd5(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
RMD5(MD5withRSA)签名器
- RobotUtil - Class in cn.hutool.core.swing
-
- RobotUtil() - Constructor for class cn.hutool.core.swing.RobotUtil
-
- rollback() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- rollback(Savepoint) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- rollback() - Method in class cn.hutool.db.Session
-
回滚事务
- rollback(Savepoint) - Method in class cn.hutool.db.Session
-
回滚到某个保存点,保存点的设置请使用setSavepoint方法
- RootAction - Class in cn.hutool.http.server.action
-
默认的处理器,通过解析用户传入的path,找到网页根目录下对应文件后返回
- RootAction(String) - Constructor for class cn.hutool.http.server.action.RootAction
-
构造
- RootAction(File) - Constructor for class cn.hutool.http.server.action.RootAction
-
构造
- RootAction(String, String...) - Constructor for class cn.hutool.http.server.action.RootAction
-
构造
- RootAction(File, String...) - Constructor for class cn.hutool.http.server.action.RootAction
-
构造
- Rot - Class in cn.hutool.core.codec
-
RotN(rotate by N places),回转N位密码,是一种简易的替换式密码,也是过去在古罗马开发的凯撒加密的一种变体。
- Rot() - Constructor for class cn.hutool.core.codec.Rot
-
- rotate(int) - Method in class cn.hutool.core.img.Img
-
旋转图片为指定角度
来自:http://blog.51cto.com/cping1982/130066
- rotate(File, int, File) - Static method in class cn.hutool.core.img.ImgUtil
-
旋转图片为指定角度
此方法不会关闭输出流
- rotate(Image, int, File) - Static method in class cn.hutool.core.img.ImgUtil
-
旋转图片为指定角度
此方法不会关闭输出流
- rotate(Image, int, OutputStream) - Static method in class cn.hutool.core.img.ImgUtil
-
旋转图片为指定角度
此方法不会关闭输出流
- rotate(Image, int, ImageOutputStream) - Static method in class cn.hutool.core.img.ImgUtil
-
旋转图片为指定角度
此方法不会关闭输出流,输出格式为JPG
- rotate(Image, int) - Static method in class cn.hutool.core.img.ImgUtil
-
- rotateCounterClockwise() - Method in class cn.hutool.extra.qrcode.BufferedImageLuminanceSource
-
- rotatingHash(String, int) - Static method in class cn.hutool.core.util.HashUtil
-
旋转hash
- round(Calendar, DateField) - Static method in class cn.hutool.core.date.CalendarUtil
-
修改日期为某个时间字段四舍五入时间
- round(Date, DateField) - Static method in class cn.hutool.core.date.DateUtil
-
修改日期为某个时间字段四舍五入时间
- round(double) - Method in class cn.hutool.core.img.Img
-
图片圆角处理
- round(double, int) - Static method in class cn.hutool.core.util.NumberUtil
-
- round(String, int) - Static method in class cn.hutool.core.util.NumberUtil
-
- round(BigDecimal, int) - Static method in class cn.hutool.core.util.NumberUtil
-
- round(double, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- round(String, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- round(BigDecimal, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- round - Variable in class cn.hutool.extra.qrcode.QrConfig
-
二维码中的Logo圆角弧度
- roundDown(Number, int) - Static method in class cn.hutool.core.util.NumberUtil
-
保留固定小数位数,舍去多余位数
- roundDown(BigDecimal, int) - Static method in class cn.hutool.core.util.NumberUtil
-
保留固定小数位数,舍去多余位数
- roundHalfEven(Number, int) - Static method in class cn.hutool.core.util.NumberUtil
-
四舍六入五成双计算法
四舍六入五成双是一种比较精确比较科学的计数保留法,是一种数字修约规则。
- roundHalfEven(BigDecimal, int) - Static method in class cn.hutool.core.util.NumberUtil
-
四舍六入五成双计算法
四舍六入五成双是一种比较精确比较科学的计数保留法,是一种数字修约规则。
- rounding(BigDecimal, RoundingMode) - Method in class cn.hutool.core.math.Money
-
对BigDecimal型的值按指定取整方式取整。
- roundStr(double, int) - Static method in class cn.hutool.core.util.NumberUtil
-
- roundStr(String, int) - Static method in class cn.hutool.core.util.NumberUtil
-
- roundStr(double, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- roundStr(String, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- RowHandler - Interface in cn.hutool.poi.excel.sax.handler
-
Sax方式读取Excel行处理器
- rowHandler - Variable in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
行处理器
- rowIdToString(RowId) - Static method in class cn.hutool.db.sql.SqlUtil
-
将RowId转为字符串
- rowKeySet() - Method in interface cn.hutool.core.map.multi.Table
-
返回所有行的key,行的key不可重复
- RowKeyTable<R,C,V> - Class in cn.hutool.core.map.multi
-
将行的键作为主键的
Table
实现
此结构为: 行=(列=值)
- RowKeyTable() - Constructor for class cn.hutool.core.map.multi.RowKeyTable
-
构造
- RowKeyTable(boolean) - Constructor for class cn.hutool.core.map.multi.RowKeyTable
-
构造
- RowKeyTable(Map<R, Map<C, V>>) - Constructor for class cn.hutool.core.map.multi.RowKeyTable
-
构造
- RowKeyTable(Map<R, Map<C, V>>, Builder<? extends Map<C, V>>) - Constructor for class cn.hutool.core.map.multi.RowKeyTable
-
构造
- rowMap() - Method in class cn.hutool.core.map.multi.RowKeyTable
-
- rowMap() - Method in interface cn.hutool.core.map.multi.Table
-
返回行列对应的Map
- RowUtil - Class in cn.hutool.poi.excel
-
Excel中的行Row
封装工具类
- RowUtil() - Constructor for class cn.hutool.poi.excel.RowUtil
-
- rs256(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
RS256(SHA256withRSA)签名器
- rs384(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
RS384(SHA384withRSA)签名器
- rs512(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
RS512(SHA512withRSA)签名器
- RSA - Class in cn.hutool.crypto.asymmetric
-
RSA公钥/私钥/签名加密解密
罗纳德·李维斯特(Ron [R]ivest)、阿迪·萨莫尔(Adi [S]hamir)和伦纳德·阿德曼(Leonard [A]dleman)
由于非对称加密速度极其缓慢,一般文件不使用它来加密而是使用对称加密,
非对称加密算法可以用来对对称加密的密钥加密,这样保证密钥的安全也就保证了数据的安全
- RSA() - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造,生成新的私钥公钥对
- RSA(String) - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造,生成新的私钥公钥对
- RSA(String, String) - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- RSA(String, String, String) - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- RSA(byte[], byte[]) - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- RSA(BigInteger, BigInteger, BigInteger) - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- RSA(PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- RSA(String, PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- rsa() - Static method in class cn.hutool.crypto.SecureUtil
-
创建RSA算法对象
生成新的私钥公钥对
- rsa(String, String) - Static method in class cn.hutool.crypto.SecureUtil
-
创建RSA算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- rsa(byte[], byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
创建RSA算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- rsAsn1ToPlain(byte[]) - Static method in class cn.hutool.crypto.SmUtil
-
BC的SM3withSM2签名得到的结果的rs是asn1格式的,这个方法转化成直接拼接r||s
- RSFilter - Class in cn.hutool.bloomfilter.filter
-
- RSFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.RSFilter
-
- RSFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.RSFilter
-
- rsha1(Key) - Static method in class cn.hutool.jwt.signers.JWTSignerUtil
-
RSHA1(SHA1withRSA)签名器
- RsHandler<T> - Interface in cn.hutool.db.handler
-
结果集处理接口
此接口用于实现
ResultSet
转换或映射为用户指定的pojo对象
默认实现有:
- rsHash(String) - Static method in class cn.hutool.core.util.HashUtil
-
RS算法hash
- rsPlainToAsn1(byte[]) - Static method in class cn.hutool.crypto.SmUtil
-
BC的SM3withSM2验签需要的rs是asn1格式的,这个方法将直接拼接r||s的字节数组转化成asn1格式
- run() - Method in class cn.hutool.core.io.file.LineReadWatcher
-
- run() - Method in class cn.hutool.core.io.watch.WatchMonitor
-
- run() - Method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
- run() - Method in class cn.hutool.core.thread.SemaphoreRunnable
-
- run() - Method in class cn.hutool.core.thread.SyncFinisher.Worker
-
- run() - Method in class cn.hutool.cron.CronTimer
-
- run() - Method in class cn.hutool.cron.TaskExecutor
-
- run() - Method in class cn.hutool.cron.TaskLauncher
-
- RunnableTask - Class in cn.hutool.cron.task
-
- RunnableTask(Runnable) - Constructor for class cn.hutool.cron.task.RunnableTask
-
- runner - Variable in class cn.hutool.db.AbstractDb
-
- RuntimeInfo - Class in cn.hutool.system
-
运行时信息,包括内存总大小、已用大小、可用大小等
- RuntimeInfo() - Constructor for class cn.hutool.system.RuntimeInfo
-
- RuntimeUtil - Class in cn.hutool.core.util
-
系统运行时工具类,用于执行系统命令的工具
- RuntimeUtil() - Constructor for class cn.hutool.core.util.RuntimeUtil
-
- RythmEngine - Class in cn.hutool.extra.template.engine.rythm
-
Rythm模板引擎
文档:http://rythmengine.org/doc/index
- RythmEngine() - Constructor for class cn.hutool.extra.template.engine.rythm.RythmEngine
-
默认构造
- RythmEngine(TemplateConfig) - Constructor for class cn.hutool.extra.template.engine.rythm.RythmEngine
-
构造
- RythmEngine(RythmEngine) - Constructor for class cn.hutool.extra.template.engine.rythm.RythmEngine
-
构造
- RythmTemplate - Class in cn.hutool.extra.template.engine.rythm
-
Rythm模板包装
- RythmTemplate(ITemplate) - Constructor for class cn.hutool.extra.template.engine.rythm.RythmTemplate
-
构造
S
- SafeConcurrentHashMap<K,V> - Class in cn.hutool.core.map
-
- SafeConcurrentHashMap() - Constructor for class cn.hutool.core.map.SafeConcurrentHashMap
-
构造,默认初始大小(16)
- SafeConcurrentHashMap(int) - Constructor for class cn.hutool.core.map.SafeConcurrentHashMap
-
构造
- SafeConcurrentHashMap(Map<? extends K, ? extends V>) - Constructor for class cn.hutool.core.map.SafeConcurrentHashMap
-
构造
- SafeConcurrentHashMap(int, float) - Constructor for class cn.hutool.core.map.SafeConcurrentHashMap
-
构造
- SafeConcurrentHashMap(int, float, int) - Constructor for class cn.hutool.core.map.SafeConcurrentHashMap
-
构造
- safeContains(Collection<?>, Object) - Static method in class cn.hutool.core.collection.CollUtil
-
判断指定集合是否包含指定值,如果集合为空(null或者空),返回false
,否则找到元素返回true
- safeGet(String) - Method in class cn.hutool.core.bean.DynaBean
-
获得字段对应值,获取异常返回null
- safeSleep(Number) - Static method in class cn.hutool.core.thread.ThreadUtil
-
- safeSleep(long) - Static method in class cn.hutool.core.thread.ThreadUtil
-
- safeUnescape(String) - Static method in class cn.hutool.core.util.EscapeUtil
-
安全的unescape文本,当文本不是被escape的时候,返回原文。
- salt - Variable in class cn.hutool.crypto.digest.Digester
-
盐值
- saltPosition - Variable in class cn.hutool.crypto.digest.Digester
-
加盐位置,即将盐值字符串放置在数据的index数,默认0
- sample - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- samplefac - Variable in class cn.hutool.core.img.gif.NeuQuant
-
- scale(float) - Method in class cn.hutool.core.img.Img
-
缩放图像(按比例缩放)
- scale(int, int) - Method in class cn.hutool.core.img.Img
-
缩放图像(按长宽缩放)
注意:目标长宽与原图不成比例会变形
- scale(int, int, int) - Method in class cn.hutool.core.img.Img
-
缩放图像(按长宽缩放)
注意:目标长宽与原图不成比例会变形
- scale(int, int, Color) - Method in class cn.hutool.core.img.Img
-
等比缩放图像,此方法按照按照给定的长宽等比缩放图片,按照长宽缩放比最多的一边等比缩放,空白部分填充背景色
缩放后默认为jpeg格式
- scale(File, File, float) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放),目标文件的扩展名决定目标文件类型
- scale(InputStream, OutputStream, float) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(ImageInputStream, ImageOutputStream, float) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, File, float) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, OutputStream, float) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, ImageOutputStream, float) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, float) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
- scale(Image, int, int) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按长宽缩放)
注意:目标长宽与原图不成比例会变形
- scale(File, File, int, int, Color) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按高度和宽度缩放)
缩放后默认格式与源图片相同,无法识别原图片默认JPG
- scale(InputStream, OutputStream, int, int, Color) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按高度和宽度缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(ImageInputStream, ImageOutputStream, int, int, Color) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按高度和宽度缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, ImageOutputStream, int, int, Color) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按高度和宽度缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, int, int, Color) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按高度和宽度缩放)
缩放后默认为jpeg格式
- ScaleType - Enum in cn.hutool.core.img
-
图片缩略算法类型
- scan(BiConsumer<Integer, Annotation>, AnnotatedElement, Predicate<Annotation>) - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
-
则根据广度优先递归扫描类的层级结构,并对层级结构中类/接口声明的层级索引和它们声明的注解对象进行处理
- scan(BiConsumer<Integer, Annotation>, AnnotatedElement, Predicate<Annotation>) - Method in interface cn.hutool.core.annotation.scanner.AnnotationScanner
-
扫描注解元素的层级结构(若存在),然后对获取到的注解和注解对应的层级索引进行处理。
- scan(BiConsumer<Integer, Annotation>, AnnotatedElement, Predicate<Annotation>) - Method in class cn.hutool.core.annotation.scanner.ElementAnnotationScanner
-
- scan(BiConsumer<Integer, Annotation>, AnnotatedElement, Predicate<Annotation>) - Method in class cn.hutool.core.annotation.scanner.EmptyAnnotationScanner
-
- scan(BiConsumer<Integer, Annotation>, AnnotatedElement, Predicate<Annotation>) - Method in class cn.hutool.core.annotation.scanner.FieldAnnotationScanner
-
- scan(BiConsumer<Integer, Annotation>, AnnotatedElement, Predicate<Annotation>) - Method in class cn.hutool.core.annotation.scanner.GenericAnnotationScanner
-
扫描注解元素的层级结构(若存在),然后对获取到的注解和注解对应的层级索引进行处理
- scan(BiConsumer<Integer, Annotation>, AnnotatedElement, Predicate<Annotation>) - Method in class cn.hutool.core.annotation.scanner.MetaAnnotationScanner
-
按广度优先扫描指定注解上的元注解,对扫描到的注解与层级索引进行操作
- scan() - Method in class cn.hutool.core.lang.ClassScanner
-
扫描包路径下满足class过滤器条件的所有class文件
此方法首先扫描指定包名下的资源目录,如果未扫描到,则扫描整个classpath中所有加载的类
- scan(boolean) - Method in class cn.hutool.core.lang.ClassScanner
-
扫描包路径下满足class过滤器条件的所有class文件
- scanAllPackage() - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描该包路径下所有class文件,包括其他加载的jar或者类
- scanAllPackage(String, Filter<Class<?>>) - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描包路径下和所有在classpath中加载的类,满足class过滤器条件的所有class文件,
如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException
因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理
- scanAllPackageByAnnotation(String, Class<? extends Annotation>) - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描指定包路径下所有包含指定注解的类,包括其他加载的jar或者类
- scanAllPackageBySuper(String, Class<?>) - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描指定包路径下所有指定类或接口的子类或实现类,不包括指定父类本身,包括其他加载的jar或者类
- scanByAllSupported(AnnotatedElement, AnnotationScanner...) - Static method in interface cn.hutool.core.annotation.scanner.AnnotationScanner
-
根据指定的扫描器,扫描元素上可能存在的注解
- scanByAnySupported(AnnotatedElement, AnnotationScanner...) - Static method in interface cn.hutool.core.annotation.scanner.AnnotationScanner
-
给定一组扫描器,使用第一个支持处理该类型元素的扫描器获取元素上可能存在的注解
- scanClass(Class<?>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
- scanIfSupport(BiConsumer<Integer, Annotation>, AnnotatedElement, Predicate<Annotation>) - Method in interface cn.hutool.core.annotation.scanner.AnnotationScanner
-
- scanInterfaceIfNecessary(List<Class<?>>, Class<?>) - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
-
- scanMetaAnnotation(Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
- scanMethod(Method) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
- scanner() - Static method in class cn.hutool.core.lang.Console
-
- scanPackage() - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描classpath下所有class文件,如果classpath下已经有类,不再扫描其他加载的jar或者类
- scanPackage(String) - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描该包路径下所有class文件
- scanPackage(String, Filter<Class<?>>) - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描包路径下满足class过滤器条件的所有class文件,
如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException
因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理
- scanPackage() - Static method in class cn.hutool.core.util.ClassUtil
-
扫描该包路径下所有class文件
- scanPackage(String) - Static method in class cn.hutool.core.util.ClassUtil
-
扫描该包路径下所有class文件
- scanPackage(String, Filter<Class<?>>) - Static method in class cn.hutool.core.util.ClassUtil
-
扫描包路径下满足class过滤器条件的所有class文件,
如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException
因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理,有可能是一个不完善的地方,以后需要进行修改
- scanPackageByAnnotation(String, Class<? extends Annotation>) - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描指定包路径下所有包含指定注解的类
如果classpath下已经有类,不再扫描其他加载的jar或者类
- scanPackageByAnnotation(String, Class<? extends Annotation>) - Static method in class cn.hutool.core.util.ClassUtil
-
扫描指定包路径下所有包含指定注解的类
- scanPackageBySuper(String, Class<?>) - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描指定包路径下所有指定类或接口的子类或实现类,不包括指定父类本身
如果classpath下已经有类,不再扫描其他加载的jar或者类
- scanPackageBySuper(String, Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
扫描指定包路径下所有指定类或接口的子类或实现类
- scanSuperClassIfNecessary(List<Class<?>>, Class<?>) - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
-
- schedule(Runnable, long) - Method in enum cn.hutool.cache.GlobalPruneTimer
-
启动定时任务
- schedule(ScheduledThreadPoolExecutor, Runnable, long, long, boolean) - Static method in class cn.hutool.core.thread.ThreadUtil
-
开始执行一个定时任务,执行方式分fixedRate模式和fixedDelay模式。
- schedule(ScheduledThreadPoolExecutor, Runnable, long, long, TimeUnit, boolean) - Static method in class cn.hutool.core.thread.ThreadUtil
-
开始执行一个定时任务,执行方式分fixedRate模式和fixedDelay模式。
- schedule(String, Task) - Static method in class cn.hutool.cron.CronUtil
-
加入定时任务
- schedule(String, String, Task) - Static method in class cn.hutool.cron.CronUtil
-
加入定时任务
- schedule(String, Runnable) - Static method in class cn.hutool.cron.CronUtil
-
加入定时任务
- schedule(Setting) - Static method in class cn.hutool.cron.CronUtil
-
批量加入配置文件中的定时任务
- schedule(Setting) - Method in class cn.hutool.cron.Scheduler
-
批量加入配置文件中的定时任务
配置文件格式为: xxx.xxx.xxx.Class.method = * * * * *
- schedule(String, Runnable) - Method in class cn.hutool.cron.Scheduler
-
新增Task,使用随机UUID
- schedule(String, Task) - Method in class cn.hutool.cron.Scheduler
-
新增Task,使用随机UUID
- schedule(String, String, Runnable) - Method in class cn.hutool.cron.Scheduler
-
新增Task,如果任务ID已经存在,抛出异常
- schedule(String, String, Task) - Method in class cn.hutool.cron.Scheduler
-
新增Task,如果任务ID已经存在,抛出异常
- schedule(String, CronPattern, Task) - Method in class cn.hutool.cron.Scheduler
-
新增Task,如果任务ID已经存在,抛出异常
- schedulePrune(long) - Method in class cn.hutool.cache.impl.TimedCache
-
定时清理
- Scheduler - Class in cn.hutool.cron
-
任务调度器
调度器启动流程:
启动Timer =》 启动TaskLauncher =》 启动TaskExecutor
调度器关闭流程:
关闭Timer =》 关闭所有运行中的TaskLauncher =》 关闭所有运行中的TaskExecutor
其中:
TaskLauncher:定时器每分钟调用一次(如果
Scheduler.isMatchSecond()
为
true
每秒调用一次),
负责检查
TaskTable是否有匹配到此时间运行的Task
TaskExecutor:TaskLauncher匹配成功后,触发TaskExecutor执行具体的作业,执行完毕销毁
- Scheduler() - Constructor for class cn.hutool.cron.Scheduler
-
- scheduler - Variable in class cn.hutool.cron.TaskExecutorManager
-
- scheduler - Variable in class cn.hutool.cron.TaskLauncherManager
-
- ScreenUtil - Class in cn.hutool.core.swing
-
屏幕相关(当前显示设置)工具类
- ScreenUtil() - Constructor for class cn.hutool.core.swing.ScreenUtil
-
- ScriptRuntimeException - Exception in cn.hutool.script
-
脚本运行时异常
- ScriptRuntimeException(Throwable) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
- ScriptRuntimeException(String) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
- ScriptRuntimeException(String, Object...) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
- ScriptRuntimeException(String, Throwable) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
- ScriptRuntimeException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
- ScriptRuntimeException(Throwable, String, Object...) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
- ScriptRuntimeException(String, String, int) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
Creates a ScriptException
with message, filename and linenumber to be used in error messages.
- ScriptRuntimeException(String, String, int, int) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
ScriptException
constructor specifying message, filename, line number and column number.
- ScriptRuntimeException(ScriptException) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
- ScriptUtil - Class in cn.hutool.script
-
脚本工具类
- ScriptUtil() - Constructor for class cn.hutool.script.ScriptUtil
-
- SDBMFilter - Class in cn.hutool.bloomfilter.filter
-
- SDBMFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.SDBMFilter
-
- SDBMFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.SDBMFilter
-
- sdbmHash(String) - Static method in class cn.hutool.core.util.HashUtil
-
SDBM算法
- second() - Method in class cn.hutool.core.date.DateTime
-
获得指定日期的秒数部分
- second(Date) - Static method in class cn.hutool.core.date.DateUtil
-
获得指定日期的秒数部分
- secondToTime(int) - Static method in class cn.hutool.core.date.DateUtil
-
- SecureUtil - Class in cn.hutool.crypto
-
安全相关工具类
加密分为三种:
1、对称加密(symmetric),例如:AES、DES等
2、非对称加密(asymmetric),例如:RSA、DSA等
3、摘要加密(digest),例如:MD5、SHA-1、SHA-256、HMAC等
- SecureUtil() - Constructor for class cn.hutool.crypto.SecureUtil
-
- SecurityManagerCaller - Class in cn.hutool.core.lang.caller
-
- SecurityManagerCaller() - Constructor for class cn.hutool.core.lang.caller.SecurityManagerCaller
-
- Segment<T extends Number> - Interface in cn.hutool.core.lang
-
片段表示,用于表示文本、集合等数据结构的一个区间。
- SEGMENT - Static variable in class cn.hutool.core.net.RFC3986
-
- SEGMENT_NZ_NC - Static variable in class cn.hutool.core.net.RFC3986
-
segment-nz-nc = SEGMENT ; non-zero-length segment without any colon ":"
- select() - Method in class cn.hutool.core.math.Arrangement
-
全排列选择(列表全部参与排列)
- select(int) - Method in class cn.hutool.core.math.Arrangement
-
排列选择(从列表中选择m个排列)
- select(int) - Method in class cn.hutool.core.math.Combination
-
组合选择(从列表中选择m个组合)
- select(boolean, String...) - Method in class cn.hutool.db.sql.SqlBuilder
-
查询
- select(boolean, Collection<String>) - Method in class cn.hutool.db.sql.SqlBuilder
-
查询
- select(String...) - Method in class cn.hutool.db.sql.SqlBuilder
-
查询(非Distinct)
- select(Collection<String>) - Method in class cn.hutool.db.sql.SqlBuilder
-
查询(非Distinct)
- selectAll() - Method in class cn.hutool.core.math.Arrangement
-
排列所有组合,即A(n, 1) + A(n, 2) + A(n, 3)...
- selectAll() - Method in class cn.hutool.core.math.Combination
-
全组合
- selectNumberRule(int, int) - Method in class cn.hutool.core.date.format.FastDatePrinter
-
Gets an appropriate rule for the padding required.
- SemaphoreRunnable - Class in cn.hutool.core.thread
-
带有信号量控制的
Runnable
接口抽象实现
通过设置信号量,可以限制可以访问某些资源(物理或逻辑的)线程数目。
- SemaphoreRunnable(Runnable, Semaphore) - Constructor for class cn.hutool.core.thread.SemaphoreRunnable
-
构造
- send() - Method in class cn.hutool.extra.mail.JakartaMail
-
发送
- send(String, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(String, String, String, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人、抄送人、密送人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(Collection<String>, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(Collection<String>, Collection<String>, Collection<String>, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(MailAccount, String, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
发送邮件给多人
- send(MailAccount, Collection<String>, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
发送邮件给多人
- send(MailAccount, Collection<String>, Collection<String>, Collection<String>, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
发送邮件给多人
- send(String, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(String, String, String, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人、抄送人、密送人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(Collection<String>, Collection<String>, Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(MailAccount, String, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
发送邮件给多人
- send(MailAccount, Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
发送邮件给多人
- send(MailAccount, Collection<String>, Collection<String>, Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
发送邮件给多人
- send() - Method in class cn.hutool.extra.mail.Mail
-
发送
- send(String, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(String, String, String, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人、抄送人、密送人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(Collection<String>, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(Collection<String>, Collection<String>, Collection<String>, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(MailAccount, String, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
发送邮件给多人
- send(MailAccount, Collection<String>, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
发送邮件给多人
- send(MailAccount, Collection<String>, Collection<String>, Collection<String>, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
发送邮件给多人
- send(String, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(String, String, String, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人、抄送人、密送人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(Collection<String>, Collection<String>, Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(MailAccount, String, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
发送邮件给多人
- send(MailAccount, Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
发送邮件给多人
- send(MailAccount, Collection<String>, Collection<String>, Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
发送邮件给多人
- send(int) - Method in class cn.hutool.http.server.HttpServerResponse
-
发送HTTP状态码,Content-Length为0不定长度,会输出Transfer-encoding: chunked
- send(int, long) - Method in class cn.hutool.http.server.HttpServerResponse
-
发送HTTP状态码
- send() - Method in class cn.hutool.http.webservice.SoapClient
-
执行Webservice请求,即发送SOAP内容
- send(boolean) - Method in class cn.hutool.http.webservice.SoapClient
-
执行Webservice请求,即发送SOAP内容
- send404(String) - Method in class cn.hutool.http.server.HttpServerResponse
-
发送404错误页
- sendError(int, String) - Method in class cn.hutool.http.server.HttpServerResponse
-
发送错误页
- sendForMessage() - Method in class cn.hutool.http.webservice.SoapClient
-
执行Webservice请求,即发送SOAP内容
- sendForResponse() - Method in class cn.hutool.http.webservice.SoapClient
-
发送请求,获取异步响应
- sendHtml(String, String, String, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送HTML邮件,发送给单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- sendHtml(Collection<String>, String, String, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送HTML邮件,发送给多人
- sendHtml(String, String, String, Map<String, InputStream>, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送HTML邮件,发送给单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- sendHtml(Collection<String>, String, String, Map<String, InputStream>, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送HTML邮件,发送给多人
- sendHtml(String, String, String, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送HTML邮件,发送给单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- sendHtml(Collection<String>, String, String, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送HTML邮件,发送给多人
- sendHtml(String, String, String, Map<String, InputStream>, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送HTML邮件,发送给单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- sendHtml(Collection<String>, String, String, Map<String, InputStream>, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送HTML邮件,发送给多人
- sendOk() - Method in class cn.hutool.http.server.HttpServerResponse
-
发送成功状态码
- sendOk(int) - Method in class cn.hutool.http.server.HttpServerResponse
-
发送成功状态码
- sendResponseHeaders(int, long) - Method in class cn.hutool.http.server.HttpExchangeWrapper
-
- sendText(String, String, String, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送文本邮件,发送给单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- sendText(Collection<String>, String, String, File...) - Static method in class cn.hutool.extra.mail.JakartaMailUtil
-
使用配置文件中设置的账户发送文本邮件,发送给多人
- sendText(String, String, String, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送文本邮件,发送给单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- sendText(Collection<String>, String, String, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送文本邮件,发送给多人
- sensitiveFilter(T, boolean, SensitiveProcessor) - Static method in class cn.hutool.dfa.SensitiveUtil
-
敏感词过滤
- sensitiveFilter(String) - Static method in class cn.hutool.dfa.SensitiveUtil
-
处理过滤文本中的敏感词,默认替换成*
- sensitiveFilter(String, boolean, SensitiveProcessor) - Static method in class cn.hutool.dfa.SensitiveUtil
-
处理过滤文本中的敏感词,默认替换成*
- SensitiveProcessor - Interface in cn.hutool.dfa
-
- SensitiveUtil - Class in cn.hutool.dfa
-
敏感词工具类
- SensitiveUtil() - Constructor for class cn.hutool.dfa.SensitiveUtil
-
- serialize(T) - Static method in class cn.hutool.core.util.ObjectUtil
-
序列化
对象必须实现Serializable接口
- serialize(T) - Static method in class cn.hutool.core.util.SerializeUtil
-
序列化
对象必须实现Serializable接口
- serialize(T, V) - Method in interface cn.hutool.json.serialize.JSONSerializer
-
序列化实现,通过实现此方法,将指定类型的对象转换为
JSON
对象
转换后的对象可以为JSONObject也可以为JSONArray,首先new一个空的JSON,然后将需要的数据字段put到JSON对象中去即可。
- serialize(JSONObject, TemporalAccessor) - Method in class cn.hutool.json.serialize.TemporalAccessorSerializer
-
- SerializeUtil - Class in cn.hutool.core.util
-
序列化工具类
注意!
- SerializeUtil() - Constructor for class cn.hutool.core.util.SerializeUtil
-
- ServiceLoaderUtil - Class in cn.hutool.core.util
-
SPI机制中的服务加载工具类,流程如下
1、创建接口,并创建实现类
2、ClassPath/META-INF/services下创建与接口全限定类名相同的文件
3、文件内容填写实现类的全限定类名
相关介绍见:https://www.jianshu.com/p/3a3edbcd8f24
- ServiceLoaderUtil() - Constructor for class cn.hutool.core.util.ServiceLoaderUtil
-
- ServletUtil - Class in cn.hutool.extra.servlet
-
Servlet相关工具类封装
- ServletUtil() - Constructor for class cn.hutool.extra.servlet.ServletUtil
-
- Session - Class in cn.hutool.db
-
数据库SQL执行会话
会话通过共用Connection而可以实现JDBC事务
一个会话只维护一个连接,推荐在执行完后关闭Session,避免重用
本对象并不是线程安全的,多个线程共用一个Session将会导致不可预知的问题
- Session(DataSource) - Constructor for class cn.hutool.db.Session
-
构造,从DataSource中识别方言
- Session(DataSource, String) - Constructor for class cn.hutool.db.Session
-
构造
- Session(DataSource, Dialect) - Constructor for class cn.hutool.db.Session
-
构造
- set(Object, Object) - Method in class cn.hutool.core.bean.BeanPath
-
设置表达式指定位置(或filed对应)的值
若表达式指向一个List则设置其坐标对应位置的值,若指向Map则put对应key的值,Bean则设置字段的值
注意:
1.
- set(String, Object) - Method in class cn.hutool.core.bean.DynaBean
-
设置字段值
- set(boolean, T...) - Static method in class cn.hutool.core.collection.CollUtil
-
新建一个HashSet
- set(String, Object) - Method in class cn.hutool.core.lang.Dict
-
设置列
- set(T) - Method in interface cn.hutool.core.lang.mutable.Mutable
-
设置值
- set(boolean) - Method in class cn.hutool.core.lang.mutable.MutableBool
-
设置值
- set(Boolean) - Method in class cn.hutool.core.lang.mutable.MutableBool
-
- set(byte) - Method in class cn.hutool.core.lang.mutable.MutableByte
-
设置值
- set(Number) - Method in class cn.hutool.core.lang.mutable.MutableByte
-
- set(double) - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
设置值
- set(Number) - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
- set(float) - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
设置值
- set(Number) - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
- set(int) - Method in class cn.hutool.core.lang.mutable.MutableInt
-
设置值
- set(Number) - Method in class cn.hutool.core.lang.mutable.MutableInt
-
- set(long) - Method in class cn.hutool.core.lang.mutable.MutableLong
-
设置值
- set(Number) - Method in class cn.hutool.core.lang.mutable.MutableLong
-
- set(T) - Method in class cn.hutool.core.lang.mutable.MutableObj
-
- set(Pair<K, V>) - Method in class cn.hutool.core.lang.mutable.MutablePair
-
- set(short) - Method in class cn.hutool.core.lang.mutable.MutableShort
-
设置值
- set(Number) - Method in class cn.hutool.core.lang.mutable.MutableShort
-
- set(Transferable) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
-
设置内容到剪贴板
- set(Transferable, ClipboardOwner) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
-
设置内容到剪贴板
- set(int, String) - Method in class cn.hutool.core.text.csv.CsvRow
-
- set(String, String) - Static method in class cn.hutool.core.util.SystemPropsUtil
-
设置系统属性,value为null
表示移除此属性
- set(Part, String) - Method in class cn.hutool.cron.pattern.CronPatternBuilder
-
设置对应部分的定时任务值
- set(String, Object) - Method in class cn.hutool.db.ActiveEntity
-
- set(DSFactory) - Static method in class cn.hutool.db.ds.GlobalDSFactory
-
设置全局的数据源工厂
在项目中存在多个连接池库的情况下,我们希望使用低优先级的库时使用此方法自定义之
重新定义全局的数据源工厂此方法可在以下两种情况下调用:
1.
- set(String, Object) - Method in class cn.hutool.db.Entity
-
- set(Object) - Method in class cn.hutool.json.JSONArray
-
Append an object value.
- set(int, Object) - Method in class cn.hutool.json.JSONArray
-
加入或者替换JSONArray中指定Index的值,如果index大于JSONArray的长度,将在指定index设置值,之前的位置填充JSONNull.Null
- set(int, Object, Filter<MutablePair<Integer, Object>>) - Method in class cn.hutool.json.JSONArray
-
加入或者替换JSONArray中指定Index的值,如果index大于JSONArray的长度,将在指定index设置值,之前的位置填充JSONNull.Null
- set(String, Object) - Method in class cn.hutool.json.JSONObject
-
设置键值对到JSONObject中,在忽略null模式下,如果值为null
,将此键移除
- set(String, Object, Filter<MutablePair<String, Object>>, boolean) - Method in class cn.hutool.json.JSONObject
-
设置键值对到JSONObject中,在忽略null模式下,如果值为null
,将此键移除
- set(Class<? extends LogFactory>) - Static method in class cn.hutool.log.GlobalLogFactory
-
自定义日志实现
- set(LogFactory) - Static method in class cn.hutool.log.GlobalLogFactory
-
自定义日志实现
- set(String, String) - Method in class cn.hutool.setting.Setting
-
设置值
- setAccessible(Method) - Static method in class cn.hutool.core.util.ClassUtil
-
设置方法为可访问
- setAccessible(T) - Static method in class cn.hutool.core.util.ReflectUtil
-
设置方法为可访问(私有方法可以被外部调用)
- setAlgorithmParameterSpec(AlgorithmParameterSpec) - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
- setAlign(CellStyle, HorizontalAlignment, VerticalAlignment) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
设置cell文本对齐样式
- setAlign(HorizontalAlignment, VerticalAlignment) - Method in class cn.hutool.poi.excel.StyleSet
-
设置cell文本对齐样式
- setAllowCoreThreadTimeOut(boolean) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置线程执行超时后是否回收线程
- setAllowFileExts(boolean) - Method in class cn.hutool.core.net.multipart.UploadSetting
-
设定是否允许扩展名
- setAlpha(Graphics2D, float) - Static method in class cn.hutool.core.img.GraphicsUtil
-
设置画笔透明度
- setAlwaysDelimitText(boolean) - Method in class cn.hutool.core.text.csv.CsvWriteConfig
-
设置是否始终使用文本分隔符,文本包装符,默认false,按需添加
- setAlwaysDelimitText(boolean) - Method in class cn.hutool.core.text.csv.CsvWriter
-
设置是否始终使用文本分隔符,文本包装符,默认false,按需添加
- setAmount(BigDecimal) - Method in class cn.hutool.core.math.Money
-
设置本货币对象代表的金额数。
- setApplicationContext(ApplicationContext) - Method in class cn.hutool.extra.spring.SpringUtil
-
- setArray(int, Array) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setAsActiveCell() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setAsciiStream(int, InputStream, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setAsciiStream(int, InputStream, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setAsciiStream(int, InputStream) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setAscOrDesc(String) - Method in class cn.hutool.db.meta.ColumnIndexInfo
-
- setAssignFlag(char) - Method in class cn.hutool.setting.SettingLoader
-
赋值分隔符(用于分隔键值对)
- setAttachments(DataSource...) - Method in class cn.hutool.extra.mail.JakartaMail
-
增加附件或图片,附件使用DataSource
形式表示,可以使用FileDataSource
包装文件表示文件附件
- setAttachments(DataSource...) - Method in class cn.hutool.extra.mail.Mail
-
- setAttr(String, Object) - Method in class cn.hutool.http.server.HttpServerResponse
-
设置属性
- setAttribute(String, AnnotationAttribute) - Method in class cn.hutool.core.annotation.GenericSynthesizedAnnotation
-
设置属性值
- setAttribute(String, AnnotationAttribute) - Method in interface cn.hutool.core.annotation.SynthesizedAnnotation
-
设置属性值
- setAttribute(String, Object) - Method in class cn.hutool.http.server.HttpExchangeWrapper
-
- setAttributes(Map<String, AnnotationAttribute>) - Method in interface cn.hutool.core.annotation.SynthesizedAnnotation
-
设置该注解的全部属性
- setAudience(String...) - Method in interface cn.hutool.jwt.RegisteredPayload
-
设置接收jwt的一方("aud")的Payload值
- setAuth(boolean) - Method in class cn.hutool.extra.mail.MailAccount
-
设置是否需要用户名密码验证
- setAutoCommit(boolean) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setAutoIncrement(boolean) - Method in class cn.hutool.db.meta.Column
-
设置是否自增
- setAutoTransCamelCase(boolean) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置是否自动转换为驼峰方式
一般用于map转bean和bean转bean出现非驼峰格式时,在尝试转换失败的情况下,是否二次检查转为驼峰匹配
此设置用于解决Bean和Map转换中的匹配问题而设置,并不是一个强制参数。
- setBackColor(int) - Method in class cn.hutool.extra.qrcode.QrConfig
-
- setBackColor(Color) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置背景色,例如:Color.BLUE
- setBackground(Color) - Method in class cn.hutool.captcha.AbstractCaptcha
-
设置背景色
- setBackground(Color) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets the background color for the last added frame
and any subsequent frames.
- setBackgroundColor(Color) - Method in class cn.hutool.core.img.Img
-
设置图片的背景色
- setBackgroundColor(IndexedColors, boolean) - Method in class cn.hutool.poi.excel.StyleSet
-
设置单元格背景样式
- setBackToPwd(boolean) - Method in class cn.hutool.extra.ftp.Ftp
-
设置执行完操作是否返回当前目录
- setBccs(String...) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置多个密送人(blind carbon copy)
- setBccs(String...) - Method in class cn.hutool.extra.mail.Mail
-
设置多个密送人(blind carbon copy)
- setBeginAtSameTime(boolean) - Method in class cn.hutool.core.thread.SyncFinisher
-
设置是否所有worker线程同时开始
- setBeginLineNo(long) - Method in class cn.hutool.core.text.csv.CsvReadConfig
-
设置开始的行(包括),默认0,此处为原始文件行号
- setBetweenMs(long) - Method in class cn.hutool.core.date.BetweenFormatter
-
设置 时长毫秒数
- setBigDecimal(int, BigDecimal) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBinaryStream(int, InputStream, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBinaryStream(int, InputStream, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBinaryStream(int, InputStream) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBindings(Bindings, int) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- setBindings(Bindings, int) - Method in class cn.hutool.script.JavaScriptEngine
-
- setBlank() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setBlob(int, Blob) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBlob(int, InputStream, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBlob(int, InputStream) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBlockSize(int) - Method in class cn.hutool.http.HttpConfig
-
采用流方式上传数据,无需本地缓存数据。
- setBoolean(int, boolean) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBorder(CellStyle, BorderStyle, IndexedColors) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
设置cell的四个边框粗细和颜色
- setBorder(BorderStyle, IndexedColors) - Method in class cn.hutool.poi.excel.StyleSet
-
定义所有单元格的边框类型
- setBoundary(String) - Static method in class cn.hutool.http.HttpGlobalConfig
-
设置默认的Multipart边界
- setBrowser(Browser) - Method in class cn.hutool.http.useragent.UserAgent
-
设置浏览器类型
- setByGroup(String, String, String) - Method in class cn.hutool.setting.Setting
-
将键值对加入到对应分组中
此方法用于与getXXX统一参数顺序
- setByte(int, byte) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBytes(int, byte[]) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setCacheHash(boolean) - Method in class cn.hutool.core.lang.Tuple
-
缓存Hash值,当为true时,此对象的hash值只被计算一次,常用于Tuple中的值不变时使用。
- setCachePatterns(boolean) - Method in class cn.hutool.core.text.AntPathMatcher
-
- setCapacity(int) - Method in class cn.hutool.core.map.FixedLinkedHashMap
-
设置容量
- setCaseInsensitive(boolean) - Method in class cn.hutool.db.AbstractDb
-
设置是否在结果中忽略大小写
如果忽略,则在Entity中调用getXXX时,字段值忽略大小写,默认忽略
- setCaseInsensitive(boolean) - Method in class cn.hutool.db.DialectRunner
-
设置是否在结果中忽略大小写
如果忽略,则在Entity中调用getXXX时,字段值忽略大小写,默认忽略
- setCaseInsensitive(boolean) - Static method in class cn.hutool.db.GlobalDbConfig
-
设置全局是否在结果中忽略大小写
如果忽略,则在Entity中调用getXXX时,字段值忽略大小写,默认忽略
- setCaseInsensitiveGlobal(boolean) - Static method in class cn.hutool.db.DbUtil
-
设置全局是否在结果中忽略大小写
如果忽略,则在Entity中调用getXXX时,字段值忽略大小写,默认忽略
- setCaseSensitive(boolean) - Method in class cn.hutool.core.text.AntPathMatcher
-
设置是否大小写敏感,默认为true
- setCatalog(String) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setCatalog(String) - Method in class cn.hutool.db.meta.IndexInfo
-
- setCatalog(String) - Method in class cn.hutool.db.meta.Table
-
设置catalog
- setCcs(String...) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置多个抄送人(carbon copy)
- setCcs(String...) - Method in class cn.hutool.extra.mail.Mail
-
设置多个抄送人(carbon copy)
- setCellComment(Comment) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellEditor(CellEditor) - Method in class cn.hutool.poi.excel.ExcelReader
-
设置单元格值处理逻辑
当Excel中的值并不能满足我们的读取要求时,通过传入一个编辑接口,可以对单元格值自定义,例如对数字和日期类型值转换为字符串等
- setCellEditor(CellEditor) - Method in class cn.hutool.poi.excel.reader.AbstractSheetReader
-
设置单元格值处理逻辑
当Excel中的值并不能满足我们的读取要求时,通过传入一个编辑接口,可以对单元格值自定义,例如对数字和日期类型值转换为字符串等
- setCellEditor(CellEditor) - Method in class cn.hutool.poi.excel.reader.BeanSheetReader
-
设置单元格值处理逻辑
当Excel中的值并不能满足我们的读取要求时,通过传入一个编辑接口,可以对单元格值自定义,例如对数字和日期类型值转换为字符串等
- setCellErrorValue(byte) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellFormula(String) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellStyle(CellStyle) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellType(CellType) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellValue(Cell, Object, StyleSet, boolean) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
设置单元格值
根据传入的styleSet自动匹配样式
当为头部样式时默认赋值头部样式,但是头部中如果有数字、日期等类型,将按照数字、日期样式设置
- setCellValue(Cell, Object, CellStyle) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
设置单元格值
根据传入的styleSet自动匹配样式
当为头部样式时默认赋值头部样式,但是头部中如果有数字、日期等类型,将按照数字、日期样式设置
- setCellValue(Cell, Object) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
设置单元格值
根据传入的styleSet自动匹配样式
当为头部样式时默认赋值头部样式,但是头部中如果有数字、日期等类型,将按照数字、日期样式设置
- setCellValue(double) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellValue(Date) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellValue(LocalDateTime) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellValue(Calendar) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellValue(RichTextString) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellValue(String) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellValue(boolean) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCent(long) - Method in class cn.hutool.core.math.Money
-
设置货币的分值。
- setCertificate(Certificate) - Method in class cn.hutool.crypto.asymmetric.Sign
-
设置
Certificate
为PublicKey
如果Certificate是X509Certificate,我们需要检查是否有密钥扩展
- setChannelHandler(ChannelHandler) - Method in class cn.hutool.socket.nio.NioClient
-
设置NIO数据处理器
- setChannelHandler(ChannelHandler) - Method in class cn.hutool.socket.nio.NioServer
-
设置NIO数据处理器
- setCharacterStream(int, Reader, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setCharacterStream(int, Reader, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setCharacterStream(int, Reader) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setCharFilter(Filter<Character>) - Static method in class cn.hutool.dfa.SensitiveUtil
-
设置字符过滤规则,通过定义字符串过滤规则,过滤不需要的字符
当accept为false时,此字符不参与匹配
- setCharFilter(Filter<Character>) - Method in class cn.hutool.dfa.WordTree
-
设置字符过滤规则,通过定义字符串过滤规则,过滤不需要的字符
当accept为false时,此字符不参与匹配
- setCharset(Charset) - Method in class cn.hutool.core.io.file.FileWrapper
-
设置字符集编码
- setCharset(Charset) - Method in class cn.hutool.core.net.url.UrlBuilder
-
设置编码,用于URLEncode和URLDecode
- setCharset(Charset) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setCharset(Charset) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置字符集编码
- setCharset(Charset) - Method in class cn.hutool.extra.mail.Mail
-
设置字符集编码
- setCharset(Charset) - Method in class cn.hutool.extra.mail.MailAccount
-
设置字符集编码,此选项不会修改全局配置,若修改全局配置,请设置此项为null
并设置:
System.setProperty("mail.mime.charset", charset);
- setCharset(Charset) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置编码
- setCharset(Charset) - Method in class cn.hutool.extra.template.engine.jetbrick.loader.StringResourceLoader
-
设置编码
- setCharset(Charset) - Method in class cn.hutool.extra.template.TemplateConfig
-
设置编码
- setCharset(Charset) - Method in class cn.hutool.http.server.HttpServerResponse
-
设置响应的编码
- setCharset(Charset) - Method in class cn.hutool.http.webservice.SoapClient
-
设置编码
- setCharset(Charset) - Method in class cn.hutool.jwt.JWT
-
设置编码
- setCharset(Charset) - Method in class cn.hutool.jwt.signers.AsymmetricJWTSigner
-
设置编码
- setCharset(Charset) - Method in class cn.hutool.jwt.signers.HMacJWTSigner
-
设置编码
- setCharset(Charset) - Method in class cn.hutool.setting.profile.Profile
-
设置编码
- setCharset(Charset) - Method in class cn.hutool.setting.Setting
-
自定义字符编码
- setCheckDuplicate(boolean) - Method in class cn.hutool.json.JSONConfig
-
是否检查多个相同的key
- setChildren(List<Tree<T>>) - Method in class cn.hutool.core.lang.tree.Tree
-
设置子节点,设置后会覆盖所有原有子节点
- setChildrenKey(String) - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
设置子点对应的名称
- setChunkedStreamingMode(int) - Method in class cn.hutool.http.HttpConnection
-
采用流方式上传数据,无需本地缓存数据。
- setChunkedStreamingMode(int) - Method in class cn.hutool.http.HttpRequest
-
采用流方式上传数据,无需本地缓存数据。
- setClaim(String, Object) - Method in class cn.hutool.jwt.Claims
-
增加Claims属性,如果属性值为null
,则移除这个属性
- setClassLoader(ClassLoader) - Method in class cn.hutool.core.lang.ClassScanner
-
设置自定义的类加载器
- setClientInfo(String, String) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setClientInfo(Properties) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setClob(int, Clob) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setClob(int, Reader, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setClob(int, Reader) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setColor(CellStyle, IndexedColors, FillPatternType) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
给cell设置颜色
- setColor(CellStyle, short, FillPatternType) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
给cell设置颜色
- setColorFactory(Function<Level, AnsiColor>) - Static method in class cn.hutool.log.dialect.console.ConsoleColorLog
-
设置颜色工厂,根据日志级别,定义不同的颜色
- setColumn(Column) - Method in class cn.hutool.db.meta.Table
-
设置列对象
- setColumnDef(String) - Method in class cn.hutool.db.meta.Column
-
设置默认值
- setColumnIndexInfoList(List<ColumnIndexInfo>) - Method in class cn.hutool.db.meta.IndexInfo
-
- setColumnName(String) - Method in class cn.hutool.db.meta.ColumnIndexInfo
-
- setColumnStyle(int, CellStyle) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置列的默认样式
- setColumnStyleIfHasData(int, int, CellStyle) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- setColumnWidth(int, int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置列宽(单位为一个字符的宽度,例如传入width为10,表示10个字符的宽度)
- setComment(String) - Method in class cn.hutool.core.compress.ZipWriter
-
设置注释
- setComment(String) - Method in class cn.hutool.db.meta.Column
-
设置注释
- setComment(String) - Method in class cn.hutool.db.meta.Table
-
设置注释
- setComment(Cell, String, String, ClientAnchor) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
为特定单元格添加批注
- setCommentCharacter(Character) - Method in class cn.hutool.core.text.csv.CsvConfig
-
设置 注释符号,用于区分注释行,null
表示忽略注释
- setComparator(int, Comparator<E>) - Method in class cn.hutool.core.comparator.ComparatorChain
-
替换指定位置的比较器,保持原排序方式
- setComparator(int, Comparator<E>, boolean) - Method in class cn.hutool.core.comparator.ComparatorChain
-
替换指定位置的比较器,替换指定排序方式
- setConfig(HttpConfig) - Method in class cn.hutool.http.HttpRequest
-
将新的配置加入
注意加入的配置可能被修改
- setConnectionAndReadTimeout(int) - Method in class cn.hutool.http.HttpConnection
-
设置连接和读取的超时时间
- setConnectionConfig(ConnectionConfig) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
设置连接相关配置,使用ConnectionConfigFactory创建ConnectionConfig
对象
- setConnectionTimeout(long) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setConnectionTimeout(long) - Method in class cn.hutool.extra.mail.MailAccount
-
设置Socket连接超时值,单位毫秒,缺省值不超时
- setConnectionTimeout(int) - Method in class cn.hutool.http.HttpConfig
-
设置连接超时,单位:毫秒
- setConnectionTimeout(int) - Method in class cn.hutool.http.HttpRequest
-
设置连接超时,单位:毫秒
- setConnectionTimeout(int) - Method in class cn.hutool.http.webservice.SoapClient
-
设置连接超时,单位:毫秒
- setConnectTimeout(int) - Method in class cn.hutool.http.HttpConnection
-
设置连接超时
- setConnProps(Properties) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setConnProps(Properties) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- setContainsHeader(boolean) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
设置是否首行做为标题行,默认false
- setContainsHeader(boolean) - Method in class cn.hutool.core.text.csv.CsvReadConfig
-
- setContent(String) - Method in class cn.hutool.extra.mail.JakartaMail
-
- setContent(String, boolean) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置正文
- setContent(String) - Method in class cn.hutool.extra.mail.Mail
-
- setContent(String, boolean) - Method in class cn.hutool.extra.mail.Mail
-
设置正文
- setContentLength(long) - Method in class cn.hutool.http.server.HttpServerResponse
-
设置Content-Length头
- setContentType(String) - Method in class cn.hutool.http.server.HttpServerResponse
-
- setContext(ScriptContext) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- setContext(ScriptContext) - Method in class cn.hutool.script.JavaScriptEngine
-
- setConverter(TypeConverter) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置自定义类型转换器,默认使用全局万能转换器转换。
- setCookie(String) - Method in class cn.hutool.http.HttpConnection
-
设置Cookie
- setCookieManager(CookieManager) - Static method in class cn.hutool.http.cookie.GlobalCookieManager
-
- setCookieManager(CookieManager) - Static method in class cn.hutool.http.HttpGlobalConfig
-
- setCookieManager(CookieManager) - Static method in class cn.hutool.http.HttpRequest
-
- setCopyAttributes(boolean) - Method in class cn.hutool.core.io.file.FileCopier
-
设置是否拷贝所有属性
- setCopyContentIfDir(boolean) - Method in class cn.hutool.core.io.file.FileCopier
-
当拷贝来源是目录时是否只拷贝目录下的内容
- setCopyFilter(Filter<T>) - Method in class cn.hutool.core.lang.copier.SrcToDestCopier
-
设置过滤器
- setCorePoolSize(int) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置初始池大小,默认0
- setCpuModel(String) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setCpuNum(Integer) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setCronSetting(Setting) - Static method in class cn.hutool.cron.CronUtil
-
自定义定时任务配置文件
- setCronSetting(String) - Static method in class cn.hutool.cron.CronUtil
-
自定义定时任务配置文件路径
- setcSys(long) - Method in class cn.hutool.system.oshi.CpuTicks
-
- setCurrentDSFactory(DSFactory) - Static method in class cn.hutool.db.ds.DSFactory
-
设置全局的数据源工厂
在项目中存在多个连接池库的情况下,我们希望使用低优先级的库时使用此方法自定义之
重新定义全局的数据源工厂此方法可在以下两种情况下调用:
1.
- setCurrentLogFactory(Class<? extends LogFactory>) - Static method in class cn.hutool.log.LogFactory
-
自定义日志实现
- setCurrentLogFactory(LogFactory) - Static method in class cn.hutool.log.LogFactory
-
自定义日志实现
- setCurrentRow(int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置当前所在行
- setCurrentRowToEnd() - Method in class cn.hutool.poi.excel.ExcelWriter
-
定位到最后一行的后边,用于追加数据
- setCursorName(String) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setCustomEngine(Class<? extends TemplateEngine>) - Method in class cn.hutool.extra.template.TemplateConfig
-
设置自定义引擎,null表示系统自动判断
- setCustomProperty(String, Object) - Method in class cn.hutool.extra.mail.MailAccount
-
设置自定义属性,如mail.smtp.ssl.socketFactory
- setDaemon(boolean) - Method in class cn.hutool.core.thread.ThreadFactoryBuilder
-
设置是否守护线程
- setDaemon(boolean) - Method in class cn.hutool.cron.Scheduler
-
- setDate(int, Date) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setDate(int, Date, Calendar) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setDateFormat(String) - Method in class cn.hutool.json.JSONArray
-
设置转为字符串时的日期格式,默认为时间戳(null值)
- setDateFormat(String) - Method in class cn.hutool.json.JSONConfig
-
设置日期格式,null表示默认的时间戳
此方法设置的日期格式仅对转换为JSON字符串有效,对解析JSON为bean无效。
- setDateFormat(String) - Method in class cn.hutool.json.JSONObject
-
设置转为字符串时的日期格式,默认为时间戳(null值)
此方法设置的日期格式仅对转换为JSON字符串有效,对解析JSON为bean无效。
- setDbSettingPath(String) - Static method in class cn.hutool.db.GlobalDbConfig
-
自定义数据库配置文件路径(绝对路径或相对classpath路径)
- setDbSettingPathGlobal(String) - Static method in class cn.hutool.db.DbUtil
-
自定义数据库配置文件路径(绝对路径或相对classpath路径)
- setDebug(boolean) - Method in class cn.hutool.extra.mail.MailAccount
-
设置是否打开调试模式,调试模式会显示与邮件服务器通信过程,默认不开启
- setDebugOutput(PrintStream) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置debug输出位置,可以自定义debug日志
- setDebugOutput(PrintStream) - Method in class cn.hutool.extra.mail.Mail
-
设置debug输出位置,可以自定义debug日志
- setDecodeUrl(boolean) - Method in class cn.hutool.http.HttpConfig
-
设置是否忽略解码URL,包括URL中的Path部分和Param部分。
- setDecodeUrl(boolean) - Static method in class cn.hutool.http.HttpGlobalConfig
-
设置是否忽略解码URL,包括URL中的Path部分和Param部分。
- setDecryptBlockSize(int) - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
设置解密块大小
- setDeep(Integer) - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
设置递归深度
- setDefaultRowHeight(int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置默认行高,值为一个点的高度
- setDelay(int) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
设置每一帧的间隔时间
Sets the delay time between each frame, or changes it
for subsequent frames (applies to last frame added).
- setDelay(long) - Method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
设置重试等待
- setDelay(int) - Static method in class cn.hutool.core.swing.RobotUtil
-
设置默认的延迟时间
当按键执行完后的等待时间,也可以用ThreadUtil.sleep方法代替
- setDelayQueueTimeout(long) - Method in class cn.hutool.cron.timingwheel.SystemTimer
-
设置执行队列取元素超时时长,单位毫秒
- setDelimiter(CharSequence) - Method in class cn.hutool.core.text.StrJoiner
-
设置分隔符
- setDest(T) - Method in class cn.hutool.core.lang.copier.SrcToDestCopier
-
设置目标
- setDestFile(File) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置写出的目标文件
- setDestFile(File) - Method in class cn.hutool.poi.word.Word07Writer
-
设置写出的目标文件
- setDialect(Dialect) - Method in class cn.hutool.db.DialectRunner
-
设置SQL方言
- setDigest(Digest) - Method in class cn.hutool.crypto.asymmetric.SM2
-
设置Hash算法
- setDigestCount(int) - Method in class cn.hutool.crypto.digest.Digester
-
设置重复计算摘要值次数
- setDigit(int) - Method in class cn.hutool.db.meta.Column
-
设置小数位数
- setDirection(Direction) - Method in class cn.hutool.db.sql.Order
-
设置排序方向
- setDispose(int) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets the GIF frame disposal code for the last added frame
and any subsequent frames.
- setDouble(int, double) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setDriver(String) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setDriver(String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- setEditable(Class<?>) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置限制的类或接口,必须为目标对象的实现接口或父类,用于限制拷贝的属性
- setEmptyResult(String) - Method in class cn.hutool.core.text.StrJoiner
-
设置当没有任何元素加入时,默认返回的字符串,默认""
- setEncodefilename(boolean) - Method in class cn.hutool.extra.mail.MailAccount
-
设置对于文件名是否使用
MailAccount.charset
编码,此选项不会修改全局配置
如果此选项设置为
false
,则是否编码取决于两个系统属性:
mail.mime.encodefilename 是否编码附件文件名
mail.mime.charset 编码文件名的编码
- setEncodeSpaceAsPlus(boolean) - Method in class cn.hutool.core.codec.PercentCodec
-
是否将空格编码为+
如果为true
,则将空格编码为"+",此项只在"application/x-www-form-urlencoded"中使用
如果为false
,则空格编码为"%20",此项一般用于URL的Query部分(RFC3986规范)
- setEncodeSpaceAsPlus(boolean) - Method in class cn.hutool.core.net.URLEncoder
-
Deprecated.
是否将空格编码为+
- setEncoding(DSAEncoding) - Method in class cn.hutool.crypto.asymmetric.SM2
-
设置DSA signatures的编码
- setEncryptBlockSize(int) - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
设置加密块大小
- setEndIndex(int) - Method in class cn.hutool.core.text.finder.TextFinder
-
设置查找的结束位置
如果从前向后查找,结束位置最大为text.length()
如果从后向前,结束位置为-1
- setEndingLineBreak(boolean) - Method in class cn.hutool.core.text.csv.CsvWriteConfig
-
文件末尾是否添加换行符
按照https://datatracker.ietf.org/doc/html/rfc4180#section-2 规范,末尾换行符可有可无。
- setEndLineNo(long) - Method in class cn.hutool.core.text.csv.CsvReadConfig
-
设置结束的行(包括),默认不限制,此处为原始文件行号
- setEngine(Engine) - Method in class cn.hutool.http.useragent.UserAgent
-
设置引擎类型
- setEngineVersion(String) - Method in class cn.hutool.http.useragent.UserAgent
-
设置引擎版本
- setEquals(boolean) - Method in class cn.hutool.core.builder.EqualsBuilder
-
Sets the isEquals
value.
- setErrorCorrection(ErrorCorrectionLevel) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置纠错级别
- setErrorMessages(List<BeanValidationResult.ErrorMessage>) - Method in class cn.hutool.extra.validation.BeanValidationResult
-
设置错误信息列表
- setErrorOnDifferentFieldCount(boolean) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
设置每行字段个数不同时是否抛出异常,默认false
- setErrorOnDifferentFieldCount(boolean) - Method in class cn.hutool.core.text.csv.CsvReadConfig
-
设置每行字段个数不同时是否抛出异常,默认false
- setEscapeProcessing(boolean) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class cn.hutool.core.thread.SyncFinisher
-
设置异常处理
- setExecutor(Executor) - Method in class cn.hutool.http.server.SimpleServer
-
设置自定义线程池
- setExecutorService(ExecutorService) - Method in class cn.hutool.core.thread.SyncFinisher
-
- setExpiration(long) - Method in class cn.hutool.cron.timingwheel.TimerTaskList
-
设置过期时间
- setExpiresAt(Date) - Method in interface cn.hutool.jwt.RegisteredPayload
-
设置jwt的过期时间("exp")的Payload值,这个过期时间必须要大于签发时间
- setExtra(Map<String, Object>) - Method in class cn.hutool.core.lang.tree.TreeNode
-
设置扩展字段
- setFetchDirection(int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setFetchSize(int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setField(DateField, int) - Method in class cn.hutool.core.date.DateTime
-
- setField(int, int) - Method in class cn.hutool.core.date.DateTime
-
- setField(String) - Method in class cn.hutool.db.sql.Condition
-
设置字段名
- setField(String) - Method in class cn.hutool.db.sql.Order
-
设置排序字段
- setFieldMapping(Map<String, String>) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置拷贝属性的字段映射,用于不同的属性之前拷贝做对应表用
需要注意的是,当使用ValueProvider作为数据提供者时,这个映射是相反的,即fieldMapping中key为目标Bean的名称,而value是提供者中的key
- setFieldNameEditor(Editor<String>) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置字段属性编辑器,用于自定义属性转换规则,例如驼峰转下划线等
此转换器只针对源端的字段做转换,请确认转换后与目标端字段一致
当转换后的字段名为null时忽略这个字段
需要注意的是,当使用ValueProvider作为数据提供者时,这个映射是相反的,即fieldMapping中key为目标Bean的名称,而value是提供者中的key
- setFieldNames(Collection<String>) - Method in class cn.hutool.db.ActiveEntity
-
- setFieldNames(String...) - Method in class cn.hutool.db.ActiveEntity
-
- setFieldNames(Collection<String>) - Method in class cn.hutool.db.Entity
-
设置字段列表,用于限制加入的字段的值
- setFieldNames(String...) - Method in class cn.hutool.db.Entity
-
设置字段列表,用于限制加入的字段的值
- setFields(Func0<?>...) - Method in class cn.hutool.core.lang.Dict
-
通过lambda批量设置值
实际使用时,可以使用getXXX的方法引用来完成键值对的赋值:
User user = GenericBuilder.of(User::new).with(User::setUsername, "hutool").build();
Dict.create().setFields(user::getNickname, user::getUsername);
- setFields(Func0<?>...) - Method in class cn.hutool.db.ActiveEntity
-
通过lambda批量设置值
- setFields(Func0<?>...) - Method in class cn.hutool.db.Entity
-
通过lambda批量设置值
- setFields(Collection<String>) - Method in class cn.hutool.db.sql.Query
-
设置查询的字段名列表
- setFields(String...) - Method in class cn.hutool.db.sql.Query
-
设置查询的字段名列表
- setFieldSeparator(char) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
设置字段分隔符,默认逗号','
- setFieldSeparator(char) - Method in class cn.hutool.core.text.csv.CsvConfig
-
设置字段分隔符,默认逗号','
- setFieldValue(Object, String, Object) - Static method in class cn.hutool.core.bean.BeanUtil
-
设置字段值,通过反射设置字段值,并不调用setXXX方法
对象同样支持Map类型,fieldNameOrIndex即为key,支持:
Map
List
Bean
- setFieldValue(Object, String, Object) - Static method in class cn.hutool.core.util.ReflectUtil
-
- setFieldValue(Object, Field, Object) - Static method in class cn.hutool.core.util.ReflectUtil
-
- setFieldValueEditor(BiFunction<String, Object, Object>) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置字段属性值编辑器,用于自定义属性值转换规则,例如null转""等
- setFile(File) - Method in class cn.hutool.core.io.file.FileWrapper
-
设置文件
- setFileExts(String[]) - Method in class cn.hutool.core.net.multipart.UploadSetting
-
设定文件扩展名限定里列表
禁止列表还是允许列表取决于isAllowFileExts
- setFiles(File...) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置文件类型附件,文件可以是图片文件,此时自动设置cid(正文中引用图片),默认cid为文件名
- setFiles(File...) - Method in class cn.hutool.extra.mail.Mail
-
设置文件类型附件,文件可以是图片文件,此时自动设置cid(正文中引用图片),默认cid为文件名
- setFilter(Predicate<Class<?>>) - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
-
设置过滤器,若类型无法通过该过滤器,则该类型及其树结构将直接不被查找
- setFirstDayOfWeek(Week) - Method in class cn.hutool.core.date.DateTime
-
- setFirstPageNo(int) - Static method in class cn.hutool.core.util.PageUtil
-
设置首页页码,可以为0或者1
当设置为0时,页码0表示第一页,开始位置为0
当设置为1时,页码1表示第一页,开始位置为0
- setFixedContentLength(long) - Method in class cn.hutool.http.HttpRequest
-
设置固定长度的流模式,会设置HTTP请求头中的Content-Length字段,告知服务器整个请求体的精确字节大小。
- setFixedLengthStreamingMode(long) - Method in class cn.hutool.http.HttpConnection
-
设置固定长度的流模式,会设置HTTP请求头中的Content-Length字段,告知服务器整个请求体的精确字节大小。
- setFloat(int, float) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setFlushEveryBuffer(boolean) - Method in class cn.hutool.core.io.copy.IoCopier
-
设置是否每次写出一个buffer内容就执行flush
- setFollowRedirects(boolean) - Method in class cn.hutool.http.HttpRequest
-
- setFollowRedirectsCookie(boolean) - Method in class cn.hutool.http.HttpConfig
-
自动重定向时是否处理cookie
- setFollowRedirectsCookie(boolean) - Method in class cn.hutool.http.HttpRequest
-
自动重定向时是否处理cookie
- setFont(Font) - Method in class cn.hutool.captcha.AbstractCaptcha
-
自定义字体
- setFont(short, short, String, boolean) - Method in class cn.hutool.poi.excel.StyleSet
-
设置全局字体
- setFont(Font, boolean) - Method in class cn.hutool.poi.excel.StyleSet
-
设置全局字体
- setFontStyle(Font, short, short, String) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
设置字体样式
- setForeColor(int) - Method in class cn.hutool.extra.qrcode.QrConfig
-
- setForeColor(Color) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置前景色,例如:Color.BLUE.getRGB()
- setFormat(String) - Method in class cn.hutool.core.convert.impl.CalendarConverter
-
设置日期格式
- setFormat(String) - Method in class cn.hutool.core.convert.impl.DateConverter
-
设置日期格式
- setFormat(String) - Method in class cn.hutool.core.convert.impl.TemporalAccessorConverter
-
设置日期格式
- setFormatIfDate(String) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置日期格式,用于日期转字符串,默认为null
- setForwardSort(int) - Method in class cn.hutool.core.comparator.ComparatorChain
-
更改指定位置的排序方式为正序
- setFragment(String) - Method in class cn.hutool.core.net.url.UrlBuilder
-
设置标识符,例如#后边的部分
- setFrameRate(float) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets frame rate in frames per second.
- setFree(double) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setFreezePane(int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置窗口冻结,之前冻结的窗口会被覆盖,如果rowSplit为0表示取消冻结
- setFreezePane(int, int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置窗口冻结,之前冻结的窗口会被覆盖,如果colSplit和rowSplit为0表示取消冻结
- setFrom(String) - Method in class cn.hutool.extra.mail.MailAccount
-
设置发送方,遵循RFC-822标准
发件人可以是以下形式:
1. user@xxx.xx
2.
- setGenerator(CodeGenerator) - Method in class cn.hutool.captcha.AbstractCaptcha
-
设置验证码生成器
- setGlobalAuthenticator(String, char[]) - Static method in class cn.hutool.core.net.NetUtil
-
设置全局验证
- setGlobalAuthenticator(Authenticator) - Static method in class cn.hutool.core.net.NetUtil
-
设置全局验证
- setGlobalTimeout(int) - Static method in class cn.hutool.http.HttpRequest
-
设置全局默认的连接和读取超时时长
- setGroup(String) - Method in class cn.hutool.extra.ssh.Connector
-
设定用户组名
- setHandler(RejectedExecutionHandler) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置当线程阻塞(block)时的异常处理器,所谓线程阻塞即线程池和等待队列已满,无法处理线程时采取的策略
此处可以使用JDK预定义的几种策略,见
RejectPolicy
枚举
- setHeader(HttpServletResponse, String, Object) - Static method in class cn.hutool.extra.servlet.JakartaServletUtil
-
设置响应的Header
- setHeader(HttpServletResponse, String, Object) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
设置响应的Header
- setHeader(Header, String) - Method in class cn.hutool.http.server.HttpServerResponse
-
设置响应头,如果已经存在,则覆盖
- setHeader(String, String) - Method in class cn.hutool.http.server.HttpServerResponse
-
设置响应头,如果已经存在,则覆盖
- setHeader(String, List<String>) - Method in class cn.hutool.http.server.HttpServerResponse
-
设置响应头,如果已经存在,则覆盖
- setHeader(String, Object) - Method in class cn.hutool.jwt.JWT
-
设置JWT头信息
- setHeaderAlias(Map<String, String>) - Method in class cn.hutool.core.text.csv.CsvConfig
-
设置标题行的别名Map
- setHeaderAlias(Map<String, String>) - Method in class cn.hutool.poi.excel.ExcelBase
-
设置标题行的别名Map
- setHeaderAlias(Map<String, String>) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- setHeaderAlias(Map<String, String>) - Method in class cn.hutool.poi.excel.reader.AbstractSheetReader
-
设置标题行的别名Map
- setHeaderAlias(Map<String, String>) - Method in class cn.hutool.poi.excel.reader.BeanSheetReader
-
设置标题行的别名Map
- setHeaderLineNo(long) - Method in class cn.hutool.core.text.csv.CsvReadConfig
-
设置标题行行号,默认-1,表示无标题行
- setHeaderOrFooter(String, Align, boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置Excel页眉或页脚
- setHeaders(Map<String, List<String>>) - Method in class cn.hutool.http.server.HttpServerResponse
-
设置所有响应头,如果已经存在,则覆盖
- setHeight(int) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置高度
- setHighValue(long) - Method in class cn.hutool.core.lang.hash.Number128
-
设置高位值
- setHoldability(int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setHost(String) - Method in class cn.hutool.core.net.url.UrlBuilder
-
设置主机,例如127.0.0.1
- setHost(String) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setHost(String) - Method in class cn.hutool.extra.mail.MailAccount
-
设置SMTP服务器域名
- setHost(String) - Method in class cn.hutool.extra.ssh.Connector
-
设定主机名
- setHostnameVerifier(HostnameVerifier) - Method in class cn.hutool.http.HttpConfig
-
设置域名验证器
只针对HTTPS请求,如果不设置,不做验证,所有域名被信任
- setHostnameVerifier(HostnameVerifier) - Method in class cn.hutool.http.HttpRequest
-
设置域名验证器
只针对HTTPS请求,如果不设置,不做验证,所有域名被信任
- setHtml(boolean) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置是否是HTML
- setHtml(boolean) - Method in class cn.hutool.extra.mail.Mail
-
设置是否是HTML
- setHttpProxy(String, int) - Method in class cn.hutool.http.HttpConfig
-
设置Http代理
- setHttpProxy(String, int) - Method in class cn.hutool.http.HttpRequest
-
设置Http代理
- setHttpsInfo(HostnameVerifier, SSLSocketFactory) - Method in class cn.hutool.http.HttpConnection
-
设置https请求参数
有些时候htts请求会出现com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl的实现,此为sun内部api,按照普通http请求处理
- setHyperlink(Hyperlink) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setId(T) - Method in interface cn.hutool.core.lang.tree.Node
-
设置ID
- setId(T) - Method in class cn.hutool.core.lang.tree.Tree
-
- setId(E) - Method in class cn.hutool.core.lang.tree.TreeBuilder
-
设置ID
- setId(T) - Method in class cn.hutool.core.lang.tree.TreeNode
-
- setIdKey(String) - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
设置ID对应的名称
- setIdle(long) - Method in class cn.hutool.system.oshi.CpuTicks
-
- setIgnoreCase(boolean) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置是否忽略字段的大小写
- setIgnoreCase(boolean) - Method in class cn.hutool.json.JSONConfig
-
设置是否忽略键的大小写
- setIgnoreElementError(boolean) - Method in class cn.hutool.core.convert.impl.ArrayConverter
-
设置是否忽略元素转换错误
- setIgnoreEmptyRow(boolean) - Method in class cn.hutool.poi.excel.ExcelReader
-
设置是否忽略空行
- setIgnoreEmptyRow(boolean) - Method in class cn.hutool.poi.excel.reader.AbstractSheetReader
-
设置是否忽略空行
- setIgnoreEmptyRow(boolean) - Method in class cn.hutool.poi.excel.reader.BeanSheetReader
-
设置是否忽略空行
- setIgnoreEOFError(boolean) - Method in class cn.hutool.http.HttpConfig
-
设置是否忽略响应读取时可能的EOF异常。
- setIgnoreEOFError(boolean) - Static method in class cn.hutool.http.HttpGlobalConfig
-
设置是否忽略响应读取时可能的EOF异常。
- setIgnoreError(boolean) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置是否忽略字段的注入错误
- setIgnoreError(boolean) - Method in class cn.hutool.json.JSONConfig
-
设置是否忽略转换过程中的异常
- setIgnoreLoadError(boolean) - Method in class cn.hutool.core.lang.ClassScanner
-
设置是否忽略loadClass时的错误
- setIgnoreNull(String, Object) - Method in class cn.hutool.core.lang.Dict
-
设置列,当键或值为null时忽略
- setIgnoreNull(String, Object) - Method in class cn.hutool.db.ActiveEntity
-
- setIgnoreNull(String, Object) - Method in class cn.hutool.db.Entity
-
- setIgnoreNullValue(boolean) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置是否忽略空值,当源对象的值为null时,true: 忽略而不注入此值,false: 注入null
- setIgnoreNullValue(boolean) - Method in class cn.hutool.json.JSONConfig
-
设置是否忽略null值
- setIgnoreProperties(String...) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置忽略的目标对象中属性列表,设置一个属性列表,不拷贝这些属性值
- setIgnoreProperties(Func1<P, R>...) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置忽略的目标对象中属性列表,设置一个属性列表,不拷贝这些属性值,Lambda方式
- setImage(Image) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
-
设置图片到剪贴板
- setImg(String) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置二维码中的Logo文件
- setImg(File) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置二维码中的Logo文件
- setImg(Image) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置二维码中的Logo
- setIncludeInterfaces(boolean) - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
-
是否允许扫描父接口
- setIncludeInterfaces(boolean) - Method in class cn.hutool.core.annotation.scanner.TypeAnnotationScanner
-
是否允许扫描父接口
- setIncludeSuperClass(boolean) - Method in class cn.hutool.core.annotation.scanner.AbstractTypeAnnotationScanner
-
是否允许扫描父类
- setIncludeSuperClass(boolean) - Method in class cn.hutool.core.annotation.scanner.TypeAnnotationScanner
-
是否允许扫描父类
- setIndexInfoList(List<IndexInfo>) - Method in class cn.hutool.db.meta.Table
-
设置索引信息
- setIndexName(String) - Method in class cn.hutool.db.meta.IndexInfo
-
- setInitialize(boolean) - Method in class cn.hutool.core.lang.ClassScanner
-
设置是否在扫描到类时初始化类
- setInitialSize(int) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setInstanceFollowRedirects(boolean) - Method in class cn.hutool.http.HttpConnection
-
设置自动HTTP 30X跳转
- setInt(int, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setInterceptorOnRedirect(boolean) - Method in class cn.hutool.http.HttpConfig
-
重定向时是否使用拦截器
- setIoAction(IoAction<ByteBuffer>) - Method in class cn.hutool.socket.aio.AioServer
-
设置IO处理器,单例存在
- setIoWait(long) - Method in class cn.hutool.system.oshi.CpuTicks
-
- setIrq(long) - Method in class cn.hutool.system.oshi.CpuTicks
-
- setIssuedAt(Date) - Method in interface cn.hutool.jwt.RegisteredPayload
-
设置jwt的签发时间("iat")
- setIssuer(String) - Method in interface cn.hutool.jwt.RegisteredPayload
-
设置 jwt签发者("iss")的Payload值
- setIv(byte[]) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
设置偏移向量
- setIv(IvParameterSpec) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
设置偏移向量
- setJWTId(String) - Method in interface cn.hutool.jwt.RegisteredPayload
-
设置jwt的唯一身份标识("jti")
- setKeepAliveTime(long, TimeUnit) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置线程存活时间,即当池中线程多于初始大小时,多出的线程保留的时长
- setKeepAliveTime(long) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置线程存活时间,即当池中线程多于初始大小时,多出的线程保留的时长,单位纳秒
- setKeepStrings(boolean) - Method in class cn.hutool.json.xml.ParseConfig
-
设置是否保持值为String类型,如果为false
,则尝试转换为对应类型(numeric, boolean, string)
- setKeepTaskList(boolean) - Method in class cn.hutool.core.date.StopWatch
-
设置是否在停止后保留任务,false
表示停止运行后不保留任务
- setKey(K) - Method in class cn.hutool.core.lang.mutable.MutablePair
-
设置键
- setKey(Key) - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
- setKey(String) - Method in class cn.hutool.crypto.symmetric.RC4
-
设置密钥
- setKey(byte[]) - Method in class cn.hutool.jwt.JWT
-
设置密钥,如果头部指定了算法,直接使用,否则默认算法是:HS256(HmacSHA256)
- setKeyComparator(Comparator<String>) - Method in class cn.hutool.json.JSONConfig
-
设置键排序规则
键排序规则,null
表示不排序,不排序情况下,按照加入顺序排序
- setKeyId(String) - Method in class cn.hutool.jwt.JWTHeader
-
增加“kid”头信息
- setKeyManagers(KeyManager...) - Method in class cn.hutool.core.net.SSLContextBuilder
-
设置 JSSE key managers
- setKeyManagers(KeyManager...) - Method in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
Deprecated.
设置 JSSE key managers
- setLat(double) - Method in class cn.hutool.core.util.CoordinateUtil.Coordinate
-
设置纬度
- setLevel(int) - Method in class cn.hutool.core.compress.ZipWriter
-
设置压缩级别,可选1~9,-1表示默认
- setLevel(BetweenFormatter.Level) - Method in class cn.hutool.core.date.BetweenFormatter
-
设置格式化级别
- setLevel(Level) - Static method in class cn.hutool.log.dialect.console.ConsoleLog
-
设置自定义的日志显示级别
- setLevelFormatter(Function<BetweenFormatter.Level, String>) - Method in class cn.hutool.core.date.BetweenFormatter
-
设置级别格式化器
- setLineDelimiter(char[]) - Method in class cn.hutool.core.text.csv.CsvWriteConfig
-
设置换行符
- setLineDelimiter(char[]) - Method in class cn.hutool.core.text.csv.CsvWriter
-
设置换行符
- setLinkOperator(LogicalOperator) - Method in class cn.hutool.db.sql.Condition
-
设置与前一个Condition连接的逻辑运算符,可以是and或or
- setListener(CacheListener<K, V>) - Method in interface cn.hutool.cache.Cache
-
设置监听
- setListener(CacheListener<K, V>) - Method in class cn.hutool.cache.impl.AbstractCache
-
设置监听
- setListener(CacheListener<K, V>) - Method in class cn.hutool.cache.impl.WeakCache
-
- setLng(double) - Method in class cn.hutool.core.util.CoordinateUtil.Coordinate
-
设置经度
- setLoginTimeout(int) - Method in class cn.hutool.db.ds.DataSourceWrapper
-
- setLoginTimeout(int) - Method in class cn.hutool.db.ds.simple.AbstractDataSource
-
- setLogWriter(PrintWriter) - Method in class cn.hutool.db.ds.DataSourceWrapper
-
- setLogWriter(PrintWriter) - Method in class cn.hutool.db.ds.simple.AbstractDataSource
-
- setLong(int, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setLowValue(long) - Method in class cn.hutool.core.lang.hash.Number128
-
设置低位值
- setMargin(Integer) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置边距
- setMatchSecond(boolean) - Method in class cn.hutool.cron.CronConfig
-
设置是否支持秒匹配,默认不使用
- setMatchSecond(boolean) - Static method in class cn.hutool.cron.CronUtil
-
设置是否支持秒匹配
此方法用于定义是否使用秒匹配模式,如果为true,则定时任务表达式中的第一位为秒,否则为分,默认是分
- setMatchSecond(boolean) - Method in class cn.hutool.cron.Scheduler
-
设置是否支持秒匹配,默认不使用
- setMaxActive(int) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setMaxColor(int) - Method in class cn.hutool.captcha.GifCaptcha
-
设置验证码字符颜色
- setMaxDepth(int) - Method in class cn.hutool.core.io.watch.WatchMonitor
-
当监听目录时,监听目录的最大深度
当设置值为1(或小于1)时,表示不递归监听子目录
例如设置:
maxDepth <= 1 表示只监听当前目录
maxDepth = 2 表示监听当前目录以及下层目录
maxDepth = 3 表示监听当前目录以及下层
- setMaxEntrySize(long) - Static method in class cn.hutool.poi.GlobalPoiConfig
-
设置单个Zip文件中最大文件大小,默认为4GB,即32位zip格式的最大值。
- setMaxFieldSize(int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setMaxFileSize(long) - Method in class cn.hutool.core.net.multipart.UploadSetting
-
设定最大文件大小,-1表示无限制
- setMaxNestingDepth(int) - Method in class cn.hutool.json.xml.ParseConfig
-
设置最大嵌套深度,用于解析时限制解析层级,当大于这个层级时抛出异常,-1表示无限制
- setMaxPoolSize(int) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置最大池大小(允许同时执行的最大线程数)
- setMaxRedirectCount(int) - Method in class cn.hutool.http.HttpConfig
-
设置最大重定向次数
如果次数小于1则表示不重定向,大于等于1表示打开重定向
- setMaxRedirectCount(int) - Static method in class cn.hutool.http.HttpGlobalConfig
-
设置默认全局默认的最大重定向次数,如设置0表示不重定向
如果设置为1,表示重定向一次,即请求两次
- setMaxRedirectCount(int) - Method in class cn.hutool.http.HttpRequest
-
设置最大重定向次数
如果次数小于1则表示不重定向,大于等于1表示打开重定向
- setMaxRows(int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setMaxSizeDiff(int) - Method in class cn.hutool.core.compress.ZipReader
-
设置检查ZipBomb文件差异倍数,-1表示不检查ZipBomb
- setMaxTextSize(long) - Static method in class cn.hutool.poi.GlobalPoiConfig
-
设置解压前文本的最大字符数,超过抛出异常。
- setMaxWait(long) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setMemoryThreshold(int) - Method in class cn.hutool.core.net.multipart.UploadSetting
-
设定文件保存到内存的边界
如果文件大小小于这个边界,将保存于内存中,否则保存至临时目录中
- setMergedRegionStyle(Cell, CellStyle) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
设置合并单元格样式,如果不是则不设置
- setMessage(String) - Method in class cn.hutool.extra.validation.BeanValidationResult.ErrorMessage
-
- setMethod(Method) - Method in class cn.hutool.http.HttpConnection
-
设置请求方法
- setMethod(Method) - Method in class cn.hutool.http.HttpRequest
-
设置请求方法
- setMethod(Name, Map<String, Object>, boolean) - Method in class cn.hutool.http.webservice.SoapClient
-
设置请求方法
- setMethod(QName, Map<String, Object>, boolean) - Method in class cn.hutool.http.webservice.SoapClient
-
设置请求方法
- setMethod(String) - Method in class cn.hutool.http.webservice.SoapClient
-
设置请求方法
方法名自动识别前缀,前缀和方法名使用“:”分隔
当识别到前缀后,自动添加xmlns属性,关联到默认的namespaceURI
- setMethod(String, String) - Method in class cn.hutool.http.webservice.SoapClient
-
设置请求方法
方法名自动识别前缀,前缀和方法名使用“:”分隔
当识别到前缀后,自动添加xmlns属性,关联到传入的namespaceURI
- setMethod(QName) - Method in class cn.hutool.http.webservice.SoapClient
-
设置请求方法
- setMinColor(int) - Method in class cn.hutool.captcha.GifCaptcha
-
设置验证码字符颜色
- setMinIdle(int) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setMinimalDaysInFirstWeek(int) - Method in class cn.hutool.core.date.DateTime
-
设置第一周最少天数
- setMinInflateRatio(double) - Static method in class cn.hutool.poi.GlobalPoiConfig
-
设置解压时的最小压缩比例
为了避免`Zip Bomb`,POI中设置了最小压缩比例,这个比例为:
压缩后的大小/解压后的大小
POI的默认值是0.01(即最小压缩到1%),如果文档中的文件压缩比例小于这个值,就会报错。
- setMobile(boolean) - Method in class cn.hutool.http.useragent.UserAgent
-
设置是否为移动平台
- setMode(SM2Engine.Mode) - Method in class cn.hutool.crypto.asymmetric.SM2
-
设置SM2模式,旧版是C1C2C3,新版本是C1C3C2
- setMode(CipherMode) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
初始化模式并清空数据
- setMode(FtpMode) - Method in class cn.hutool.extra.ftp.Ftp
-
设置FTP连接模式,可选主动和被动模式
- setModifiers(WatchEvent.Modifier[]) - Method in class cn.hutool.core.io.watch.WatchServer
-
设置监听选项,例如监听频率等,可设置项包括:
1、com.sun.nio.file.StandardWatchEventKinds
2、com.sun.nio.file.SensitivityWatchEventModifier
- setMutable(boolean) - Method in class cn.hutool.core.date.DateTime
-
- setName(CharSequence) - Method in interface cn.hutool.core.lang.tree.Node
-
设置节点标签名称
- setName(CharSequence) - Method in class cn.hutool.core.lang.tree.Tree
-
- setName(CharSequence) - Method in class cn.hutool.core.lang.tree.TreeBuilder
-
设置节点标签名称
- setName(CharSequence) - Method in class cn.hutool.core.lang.tree.TreeNode
-
- setName(String) - Method in class cn.hutool.db.meta.Column
-
设置列名
- setNameKey(String) - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
设置节点名对应的名称
- setNamePrefix(String) - Method in class cn.hutool.core.thread.ThreadFactoryBuilder
-
设置线程名前缀,例如设置前缀为hutool-thread-,则线程名为hutool-thread-1之类。
- setNamespaceAware(boolean) - Static method in class cn.hutool.core.util.XmlUtil
-
设置是否打开命名空间支持,默认打开
- setNatureKeyComparator() - Method in class cn.hutool.json.JSONConfig
-
设置自然排序,即按照字母顺序排序
- setNCharacterStream(int, Reader, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNCharacterStream(int, Reader) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNClob(int, NClob) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNClob(int, Reader, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNClob(int, Reader) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNegative(boolean) - Method in class cn.hutool.core.text.finder.PatternFinder
-
- setNegative(boolean) - Method in class cn.hutool.core.text.finder.TextFinder
-
设置是否反向查找,true
表示从后向前查找
- setNetworkTimeout(Executor, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setNice(long) - Method in class cn.hutool.system.oshi.CpuTicks
-
- setNonUnique(boolean) - Method in class cn.hutool.db.meta.IndexInfo
-
- setNotBefore(Date) - Method in interface cn.hutool.jwt.RegisteredPayload
-
设置不可用时间点界限("nbf")的Payload值
- setNString(int, String) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNull(int, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNull(int, int, String) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNullable(boolean) - Method in class cn.hutool.db.meta.Column
-
设置是否为可空
- setNullMode(StrJoiner.NullMode) - Method in class cn.hutool.core.text.StrJoiner
-
设置null
元素处理逻辑
- setObj(T) - Method in class cn.hutool.core.lang.WeightRandom.WeightObj
-
设置对象
- setObject(int, Object, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setObject(int, Object) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setObject(int, Object, int, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setOnce(String, Object, Filter<MutablePair<String, Object>>) - Method in class cn.hutool.json.JSONObject
-
一次性Put 键值对,如果key已经存在抛出异常,如果键值中有null值,忽略
- setOneAsFirstPageNo() - Static method in class cn.hutool.core.util.PageUtil
-
设置首页页码为1
当设置为1时,页码1表示第一页,开始位置为0
- setOnlyAlias(boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置是否只保留别名中的字段值,如果为true,则不设置alias的字段将不被输出,false表示原样输出
Bean中设置@Alias时,setOnlyAlias是无效的,这个参数只和addHeaderAlias配合使用,原因是注解是Bean内部的操作,而addHeaderAlias是Writer的操作,不互通。
- setOnlyCopyFile(boolean) - Method in class cn.hutool.core.io.file.FileCopier
-
设置当拷贝来源是目录时是否只拷贝文件而忽略子目录
- setOperator(String) - Method in class cn.hutool.db.sql.Condition
-
设置运算符
大于号,小于号,等于号 等
- setOption(SocketOption<T>, T) - Method in class cn.hutool.socket.aio.AioClient
-
- setOption(SocketOption<T>, T) - Method in class cn.hutool.socket.aio.AioServer
-
- setOrAppend(List<T>, int, T) - Static method in class cn.hutool.core.collection.CollUtil
-
设置或增加元素。
- setOrAppend(List<T>, int, T) - Static method in class cn.hutool.core.collection.ListUtil
-
设置或增加元素。
- setOrAppend(T[], int, T) - Static method in class cn.hutool.core.util.ArrayUtil
-
将元素值设置为数组的某个位置,当给定的index大于数组长度,则追加
- setOrAppend(Object, int, Object) - Static method in class cn.hutool.core.util.ArrayUtil
-
将元素值设置为数组的某个位置,当给定的index大于数组长度,则追加
替换时返回原数组,追加时返回新数组
- setOrder(Order...) - Method in class cn.hutool.db.Page
-
设置排序
- setOrder(boolean) - Method in class cn.hutool.json.JSONConfig
-
- setOrPadding(List<T>, int, T) - Static method in class cn.hutool.core.collection.ListUtil
-
在指定位置设置元素。
- setOrPadding(List<T>, int, T, T) - Static method in class cn.hutool.core.collection.ListUtil
-
在指定位置设置元素。
- setOrPadding(List<T>, int, T, T, int) - Static method in class cn.hutool.core.collection.ListUtil
-
在指定位置设置元素。
- setOs(OS) - Method in class cn.hutool.http.useragent.UserAgent
-
设置系统类型
- setOsVersion(String) - Method in class cn.hutool.http.useragent.UserAgent
-
设置系统版本
- setOverride(boolean) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置是否覆盖目标值,如果不覆盖,会先读取目标对象的值,为null
则写,否则忽略。
- setOverride(boolean) - Method in class cn.hutool.core.io.file.FileCopier
-
设置是否覆盖目标文件
- setPage(int) - Method in class cn.hutool.db.PageResult
-
设置页码,0表示第一页
- setPage(Page) - Method in class cn.hutool.db.sql.Query
-
设置分页对象
- setPageNumber(int) - Method in class cn.hutool.db.Page
-
设置页码,0表示第一页
- setPageSize(int) - Method in class cn.hutool.db.Page
-
设置每页结果数
- setPageSize(int) - Method in class cn.hutool.db.PageResult
-
设置每页结果数
- setParam(PreparedStatement, int, Object) - Static method in class cn.hutool.db.StatementUtil
-
- setParam(String, Object) - Method in class cn.hutool.http.webservice.SoapClient
-
设置方法参数,使用方法的前缀
- setParam(String, Object, boolean) - Method in class cn.hutool.http.webservice.SoapClient
-
设置方法参数
- setParameter(AlgorithmParameterSpec) - Method in class cn.hutool.crypto.asymmetric.Sign
-
设置签名的参数
- setParams(AlgorithmParameterSpec) - Method in class cn.hutool.crypto.CipherWrapper
-
- setParams(AlgorithmParameterSpec) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
- setParams(Map<String, Object>) - Method in class cn.hutool.http.webservice.SoapClient
-
批量设置参数,使用方法的前缀
- setParams(Map<String, Object>, boolean) - Method in class cn.hutool.http.webservice.SoapClient
-
批量设置参数
- setParent(Tree<T>) - Method in class cn.hutool.core.lang.tree.Tree
-
设置父节点
- setParentId(T) - Method in interface cn.hutool.core.lang.tree.Node
-
设置父节点ID
- setParentId(T) - Method in class cn.hutool.core.lang.tree.Tree
-
- setParentId(E) - Method in class cn.hutool.core.lang.tree.TreeBuilder
-
设置父节点ID
- setParentId(T) - Method in class cn.hutool.core.lang.tree.TreeNode
-
- setParentIdKey(String) - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
设置父点对应的名称
- setPass(String) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setPass(String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- setPass(String) - Method in class cn.hutool.extra.mail.MailAccount
-
设置密码
- setPassword(String) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setPassword(String) - Method in class cn.hutool.extra.ssh.Connector
-
设定密码
- setPath(UrlPath) - Method in class cn.hutool.core.net.url.UrlBuilder
-
设置路径,例如/aa/bb/cc,将覆盖之前所有的path相关设置
- setPath(String) - Method in class cn.hutool.extra.template.TemplateConfig
-
设置模板路径,如果ClassPath或者WebRoot模式,则表示相对路径
- setPathSeparator(String) - Method in class cn.hutool.core.text.AntPathMatcher
-
设置路径分隔符
- setPattern(CronPattern) - Method in class cn.hutool.cron.task.CronTask
-
设置新的定时表达式
- setPayload(String, Object) - Method in class cn.hutool.jwt.JWT
-
设置JWT载荷信息
- setPayload(String, Object) - Method in class cn.hutool.jwt.JWTPayload
-
- setPayload(String, Object) - Method in interface cn.hutool.jwt.RegisteredPayload
-
设置Payload值
- setPixels() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Creates new frame image from current data (and previous
frames as specified by their disposition codes).
- setPk(boolean) - Method in class cn.hutool.db.meta.Column
-
设置是否主键
- setPkNames(Set<String>) - Method in class cn.hutool.db.meta.Table
-
设置主键列表
- setPlaceHolder(boolean) - Method in class cn.hutool.db.sql.Condition
-
设置是否使用条件占位符
- setPlatform(Platform) - Method in class cn.hutool.http.useragent.UserAgent
-
设置平台类型
- setPoolable(boolean) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setPort(int) - Method in class cn.hutool.core.net.url.UrlBuilder
-
设置端口,默认-1
- setPort(int) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setPort(int) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
自定义默认端口,如果不设置,使用默认端口:21
- setPort(Integer) - Method in class cn.hutool.extra.mail.MailAccount
-
设置SMTP服务端口
- setPort(int) - Method in class cn.hutool.extra.ssh.Connector
-
设定端口号
- setPositionBaseCentre(boolean) - Method in class cn.hutool.core.img.Img
-
计算x,y坐标的时候是否从中心做为原始坐标开始计算
- setPrefix(CharSequence) - Method in class cn.hutool.core.text.StrJoiner
-
设置前缀
- setPreWrapQuote(Character) - Method in class cn.hutool.db.sql.Wrapper
-
设置前置包装的符号
- setPriority(int) - Method in class cn.hutool.core.thread.ThreadFactoryBuilder
-
设置线程优先级
- setPrivateKey(PrivateKey) - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
设置私钥
- setPrivateKey(PrivateKey) - Method in class cn.hutool.crypto.asymmetric.SM2
-
- setPrivateKeyParams(ECPrivateKeyParameters) - Method in class cn.hutool.crypto.asymmetric.SM2
-
设置私钥参数
- setProfile(String) - Static method in class cn.hutool.setting.profile.GlobalProfile
-
设置全局环境
- setProfile(String) - Method in class cn.hutool.setting.profile.Profile
-
设置环境
- setPropertiesFilter(BiPredicate<Field, Object>) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
- setProperty(Object, String, Object) - Static method in class cn.hutool.core.bean.BeanUtil
-
解析Bean中的属性值
- setProperty(String, Object) - Method in class cn.hutool.setting.dialect.Props
-
设置值,无给定键创建之。
- setPropertyName(String) - Method in class cn.hutool.extra.validation.BeanValidationResult.ErrorMessage
-
- setProtocol(String) - Method in class cn.hutool.core.net.SSLContextBuilder
-
设置协议。
- setProtocol(String) - Method in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
Deprecated.
设置协议
- setProxy(Proxy) - Method in class cn.hutool.http.HttpConfig
-
设置代理
- setProxy(Proxy) - Method in class cn.hutool.http.HttpRequest
-
设置代理
- setPublicKey(PublicKey) - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
设置公钥
- setPublicKey(PublicKey) - Method in class cn.hutool.crypto.asymmetric.SM2
-
- setPublicKeyParams(ECPublicKeyParameters) - Method in class cn.hutool.crypto.asymmetric.SM2
-
设置公钥参数
- setPurgeListener(BiConsumer<Reference<? extends K>, V>) - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
设置对象回收清除监听
- setQrVersion(Integer) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置二维码中的信息量,可设置0-40的整数,二维码图片也会根据qrVersion而变化,0表示根据传入信息自动变化
- setQuality(int) - Method in class cn.hutool.captcha.GifCaptcha
-
设置图像的颜色量化(转换质量 由GIF规范允许的最大256种颜色)。
- setQuality(int) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets quality of color quantization (conversion of images
to the maximum 256 colors allowed by the GIF specification).
- setQuality(double) - Method in class cn.hutool.core.img.Img
-
设置图片输出质量,数字为0~1(不包括0和1)表示质量压缩比,除此数字外设置表示不压缩
- setQuality(float) - Method in class cn.hutool.core.img.Img
-
设置图片输出质量,数字为0~1(不包括0和1)表示质量压缩比,除此数字外设置表示不压缩
- setQuery(UrlQuery) - Method in class cn.hutool.core.net.url.UrlBuilder
-
设置查询语句,例如a=1&b=2,将覆盖之前所有的query相关设置
- setQueryTimeout(int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setRandom(SecureRandom) - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
设置随机数生成器,可自定义随机数种子
- setRandom(SecureRandom) - Method in class cn.hutool.crypto.CipherWrapper
-
设置随机数生成器,可自定义随机数种子
- setRandom(SecureRandom) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
设置随机数生成器,可自定义随机数种子
- setRange(Part, int, int) - Method in class cn.hutool.cron.pattern.CronPatternBuilder
-
设置区间
- setRatio(int) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置二维码中的Logo缩放的比例系数,如5表示长宽最小值的1/5
- setReadBufferSize(int) - Method in class cn.hutool.socket.SocketConfig
-
设置读取缓存大小
- setReadOnly(boolean) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setReadTimeout(int) - Method in class cn.hutool.http.HttpConfig
-
设置连接超时,单位:毫秒
- setReadTimeout(int) - Method in class cn.hutool.http.HttpConnection
-
设置读取超时
- setReadTimeout(int) - Method in class cn.hutool.http.HttpRequest
-
设置连接超时,单位:毫秒
- setReadTimeout(int) - Method in class cn.hutool.http.webservice.SoapClient
-
设置连接超时,单位:毫秒
- setReadTimeout(long) - Method in class cn.hutool.socket.SocketConfig
-
设置读取超时时长,小于等于0表示默认
- setRef(int, Ref) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setRemoveListener(Consumer<Map.Entry<K, V>>) - Method in class cn.hutool.core.map.FixedLinkedHashMap
-
设置自定义移除监听
- setRepeat(int) - Method in class cn.hutool.captcha.GifCaptcha
-
设置GIF帧应该播放的次数。
- setRepeat(int) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets the number of times the set of GIF frames
should be played.
- setReply(String...) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置多个回复地址(reply-to)
- setReply(String...) - Method in class cn.hutool.extra.mail.Mail
-
设置多个回复地址(reply-to)
- setResourceMode(TemplateConfig.ResourceMode) - Method in class cn.hutool.extra.template.TemplateConfig
-
设置模板资源加载方式
- setRest(boolean) - Method in class cn.hutool.http.HttpRequest
-
设置是否rest模式
rest模式下get请求不会把参数附加到URL之后
- setReturnGeneratedKey(boolean) - Static method in class cn.hutool.db.GlobalDbConfig
-
设置全局是否INSERT语句中默认返回主键(默认返回主键)
如果false,则在Insert操作后,返回影响行数
主要用于某些数据库不支持返回主键的情况
- setReturnGeneratedKeyGlobal(boolean) - Static method in class cn.hutool.db.DbUtil
-
设置全局是否INSERT语句中默认返回主键(默认返回主键)
如果false,则在Insert操作后,返回影响行数
主要用于某些数据库不支持返回主键的情况
- setReverseSort(int) - Method in class cn.hutool.core.comparator.ComparatorChain
-
更改指定位置的排序方式为反序
- setRoot(String) - Method in class cn.hutool.http.server.SimpleServer
-
设置根目录,默认的页面从root目录中读取解析返回
- setRoot(File) - Method in class cn.hutool.http.server.SimpleServer
-
设置根目录,默认的页面从root目录中读取解析返回
- setRound(double) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置二维码中的Logo圆角弧度
- setRowHandler(RowHandler) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
设置行处理器
- setRowHandler(RowHandler) - Method in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
设置行处理器
- setRowHeight(int, int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置行高,值为一个点的高度
- setRowId(int, RowId) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setRowStyle(int, CellStyle) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置行样式
- setRowStyleIfHasData(int, CellStyle) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- setRunner(SqlConnRunner) - Method in class cn.hutool.db.AbstractDb
-
- setSalt(byte[]) - Method in class cn.hutool.crypto.digest.Digester
-
设置加盐内容
- setSaltPosition(int) - Method in class cn.hutool.crypto.digest.Digester
-
设置加盐的位置,只有盐值存在时有效
加盐的位置指盐位于数据byte数组中的位置,例如:
data: 0123456
则当saltPosition = 2时,盐位于data的1和2中间,即第二个空隙,即:
data: 01[salt]23456
- setSavepoint() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setSavepoint(String) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setSavepoint() - Method in class cn.hutool.db.Session
-
设置保存点
- setSavepoint(String) - Method in class cn.hutool.db.Session
-
设置保存点
- setSBCMode(boolean) - Method in class cn.hutool.core.lang.ConsoleTable
-
设置是否使用全角模式
当包含中文字符时,输出的表格可能无法对齐,因此当设置为全角模式时,全部字符转为全角。
- setScanSameSignatureMethod(boolean) - Method in class cn.hutool.core.annotation.scanner.MethodAnnotationScanner
-
设置是否扫描类层级结构中具有相同方法签名的方法
- setSchema(String) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setSchema(String) - Method in class cn.hutool.db.meta.IndexInfo
-
- setSchema(String) - Method in class cn.hutool.db.meta.Table
-
设置schema
- setScheme(String) - Method in class cn.hutool.core.net.url.UrlBuilder
-
设置协议,例如http
- setSecondValue(Object) - Method in class cn.hutool.db.sql.Condition
-
设置between 类型中第二个值
- setSecureRandom(SecureRandom) - Method in class cn.hutool.core.net.SSLContextBuilder
-
设置 SecureRandom
- setSecureRandom(SecureRandom) - Method in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
Deprecated.
设置 SecureRandom
- setSeparator(String) - Method in class cn.hutool.core.date.BetweenFormatter
-
设置分隔符
- setServerLanguageCode(String) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setSetting(Setting) - Method in class cn.hutool.db.nosql.mongo.MongoDS
-
设定MongoDB配置文件
- setShapeHint(SymbolShapeHint) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置DATA_MATRIX的符号形状
- setSheet(String) - Method in class cn.hutool.poi.excel.ExcelBase
-
自定义需要读取或写出的Sheet,如果给定的sheet不存在,创建之。
- setSheet(int) - Method in class cn.hutool.poi.excel.ExcelBase
-
自定义需要读取或写出的Sheet,如果给定的sheet不存在,创建之(命名为默认)
在读取中,此方法用于切换读取的sheet,在写出时,此方法用于新建或者切换sheet
- setSheet(Sheet) - Method in class cn.hutool.poi.excel.ExcelBase
-
设置自定义Sheet
- setSheet(int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- setSheet(String) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- setShort(int, short) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setShowSql(boolean, boolean, boolean, Level) - Static method in class cn.hutool.db.GlobalDbConfig
-
设置全局配置:是否通过debug日志显示SQL
- setShowSqlGlobal(Setting) - Static method in class cn.hutool.db.DbUtil
-
从配置文件中读取SQL打印选项,读取后会去除相应属性
- setShowSqlGlobal(boolean, boolean, boolean, Level) - Static method in class cn.hutool.db.DbUtil
-
设置全局配置:是否通过debug日志显示SQL
- setSignature(Signature) - Method in class cn.hutool.crypto.asymmetric.Sign
-
设置签名
- setSigner(String, byte[]) - Method in class cn.hutool.jwt.JWT
-
设置签名算法
- setSigner(String, Key) - Method in class cn.hutool.jwt.JWT
-
设置签名算法
- setSigner(String, KeyPair) - Method in class cn.hutool.jwt.JWT
-
设置非对称签名算法
- setSigner(JWTSigner) - Method in class cn.hutool.jwt.JWT
-
设置签名算法
- setSize(int, int) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets the GIF frame size.
- setSize(int) - Method in class cn.hutool.db.meta.Column
-
设置大小或数据长度
- setSkipEmptyRows(boolean) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
设置是否跳过空白行,默认true
- setSkipEmptyRows(boolean) - Method in class cn.hutool.core.text.csv.CsvReadConfig
-
设置是否跳过空白行,默认true
- setSocketFactoryClass(String) - Method in class cn.hutool.extra.mail.MailAccount
-
设置指定实现javax.net.SocketFactory接口的类的名称,这个类将被用于创建SMTP的套接字
- setSocketFactoryFallback(boolean) - Method in class cn.hutool.extra.mail.MailAccount
-
如果设置为true,未能创建一个套接字使用指定的套接字工厂类将导致使用java.net.Socket创建的套接字类, 默认值为true
- setSocketFactoryPort(int) - Method in class cn.hutool.extra.mail.MailAccount
-
指定的端口连接到在使用指定的套接字工厂。
- setSoftIrq(long) - Method in class cn.hutool.system.oshi.CpuTicks
-
- setSoTimeout(long) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setSplitlongparameters(boolean) - Method in class cn.hutool.extra.mail.MailAccount
-
设置对于超长参数是否切分为多份,默认为false(国内邮箱附件不支持切分的附件名)
注意此项为全局设置,此项会调用
System.setProperty("mail.mime.splitlongparameters", true)
- setSQLXML(int, SQLXML) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setSrc(T) - Method in class cn.hutool.core.lang.copier.SrcToDestCopier
-
设置源
- setSsl(SslConfiguration) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
使用SSL安全连接,可以使用SslConfigurationFactory创建SslConfiguration
- setSsl(File, String) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
使用SSL安全连接
- setSslEnable(Boolean) - Method in class cn.hutool.extra.mail.MailAccount
-
设置是否使用SSL安全连接
- setSSLProtocol(String) - Method in class cn.hutool.http.HttpConfig
-
- setSSLProtocol(String) - Method in class cn.hutool.http.HttpRequest
-
- setSslProtocols(String) - Method in class cn.hutool.extra.mail.MailAccount
-
设置SSL协议,多个协议用空格分隔
- setSSLSocketFactory(SSLSocketFactory) - Method in class cn.hutool.http.HttpConfig
-
设置SSLSocketFactory
只针对HTTPS请求,如果不设置,使用默认的SSLSocketFactory
默认SSLSocketFactory为:SSLSocketFactoryBuilder.create().build();
- setSSLSocketFactory(SSLSocketFactory) - Method in class cn.hutool.http.HttpRequest
-
设置SSLSocketFactory
只针对HTTPS请求,如果不设置,使用默认的SSLSocketFactory
默认SSLSocketFactory为:SSLSocketFactoryBuilder.create().build();
- setStarttlsEnable(boolean) - Method in class cn.hutool.extra.mail.MailAccount
-
设置是否使用STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。
- setSteal(long) - Method in class cn.hutool.system.oshi.CpuTicks
-
- setStopOnDelete(boolean) - Method in class cn.hutool.core.io.file.Tailer
-
设置删除文件后是否退出并抛出异常
- setStr(String) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
-
设置字符串文本到剪贴板
- setStr(String, String) - Method in class cn.hutool.db.nosql.redis.RedisDS
-
从Redis中设置值
- setStreams(InputStream, OutputStream) - Method in class cn.hutool.http.server.HttpExchangeWrapper
-
- setStrict(boolean) - Method in class cn.hutool.core.net.url.UrlQuery
-
设置是否严格模式
- setString(int, String) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setStripTrailingZeros(boolean) - Method in class cn.hutool.json.JSONConfig
-
设置是否去除末尾多余0,例如如果为true,5.0返回5
- setStyle(CellStyle, String) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- setStyle(CellStyle, int, int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- setStyleSet(StyleSet) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置样式集,如果不使用样式,传入null
- setSubject(String) - Method in interface cn.hutool.jwt.RegisteredPayload
-
设置jwt所面向的用户("sub")的Payload值
- setSuccess(boolean) - Method in class cn.hutool.extra.validation.BeanValidationResult
-
设置是否通过
- setSuffix(CharSequence) - Method in class cn.hutool.core.text.StrJoiner
-
设置后缀
- setSufWrapQuote(Character) - Method in class cn.hutool.db.sql.Wrapper
-
设置后置包装的符号
- setSys(double) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setSystemKey(String) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setTableName(String) - Method in class cn.hutool.db.ActiveEntity
-
- setTableName(String) - Method in class cn.hutool.db.Entity
-
设置表名
- setTableName(String) - Method in class cn.hutool.db.meta.Column
-
设置表名
- setTableName(String) - Method in class cn.hutool.db.meta.IndexInfo
-
- setTableName(String) - Method in class cn.hutool.db.meta.Table
-
设置表名
- setTableNames(String...) - Method in class cn.hutool.db.sql.Query
-
设置表名
- setTargetImageType(String) - Method in class cn.hutool.core.img.Img
-
设置目标图片文件格式,用于写出
- setter - Variable in class cn.hutool.core.bean.PropDesc
-
Setter方法
- setText(CharSequence) - Method in class cn.hutool.core.text.finder.PatternFinder
-
- setText(CharSequence) - Method in class cn.hutool.core.text.finder.TextFinder
-
设置被查找的文本
- setTextAlpha(float) - Method in class cn.hutool.captcha.AbstractCaptcha
-
设置文字透明度
- setTextDelimiter(char) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
设置 文本分隔符,文本包装符,默认双引号'"'
- setTextDelimiter(char) - Method in class cn.hutool.core.text.csv.CsvConfig
-
设置 文本分隔符,文本包装符,默认双引号'"'
- setThreadExecutor(ExecutorService) - Method in class cn.hutool.cron.Scheduler
-
设置自定义线程池
自定义线程池时须考虑方法执行的线程是否为守护线程
- setThreadFactory(ThreadFactory) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置线程工厂,用于自定义线程创建
- setThreadFactory(ThreadFactory) - Method in class cn.hutool.core.thread.ThreadFactoryBuilder
-
设置用于创建基础线程的线程工厂
- setThreadPoolSize(int) - Method in class cn.hutool.socket.SocketConfig
-
设置共享线程池大小,此线程池用于接收和处理用户连接
- setTicks(CpuTicks) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setTime(long) - Method in class cn.hutool.core.date.DateTime
-
- setTime(int, Time) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setTime(int, Time, Calendar) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setTimeout(long) - Method in class cn.hutool.extra.mail.MailAccount
-
设置SMTP超时时长,单位毫秒,缺省值不超时
- setTimeout(int) - Static method in class cn.hutool.http.HttpGlobalConfig
-
设置默认的连接和读取超时时长
-1: 含义,永不超时。
- setTimestamp(int, Timestamp) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setTimestamp(int, Timestamp, Calendar) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setTimeZone(TimeZone) - Method in class cn.hutool.core.date.DateTime
-
设置时区
- setTimeZone(TimeZone) - Method in class cn.hutool.cron.CronConfig
-
设置时区
- setTimeZone(TimeZone) - Method in class cn.hutool.cron.Scheduler
-
设置时区
- Setting - Class in cn.hutool.setting
-
设置工具类。
- Setting() - Constructor for class cn.hutool.setting.Setting
-
空构造
- Setting(String) - Constructor for class cn.hutool.setting.Setting
-
构造
- Setting(String, boolean) - Constructor for class cn.hutool.setting.Setting
-
构造
- Setting(String, Charset, boolean) - Constructor for class cn.hutool.setting.Setting
-
构造,使用相对于Class文件根目录的相对路径
- Setting(File, Charset, boolean) - Constructor for class cn.hutool.setting.Setting
-
构造
- Setting(String, Class<?>, Charset, boolean) - Constructor for class cn.hutool.setting.Setting
-
构造,相对于classes读取文件
- Setting(URL, Charset, boolean) - Constructor for class cn.hutool.setting.Setting
-
构造
- Setting(Resource, Charset, boolean) - Constructor for class cn.hutool.setting.Setting
-
构造
- SettingLoader - Class in cn.hutool.setting
-
Setting文件加载器
- SettingLoader(GroupedMap) - Constructor for class cn.hutool.setting.SettingLoader
-
构造
- SettingLoader(GroupedMap, Charset, boolean) - Constructor for class cn.hutool.setting.SettingLoader
-
构造
- SettingRuntimeException - Exception in cn.hutool.setting
-
设置异常
- SettingRuntimeException(Throwable) - Constructor for exception cn.hutool.setting.SettingRuntimeException
-
- SettingRuntimeException(String) - Constructor for exception cn.hutool.setting.SettingRuntimeException
-
- SettingRuntimeException(String, Object...) - Constructor for exception cn.hutool.setting.SettingRuntimeException
-
- SettingRuntimeException(String, Throwable) - Constructor for exception cn.hutool.setting.SettingRuntimeException
-
- SettingRuntimeException(String, Throwable, boolean, boolean) - Constructor for exception cn.hutool.setting.SettingRuntimeException
-
- SettingRuntimeException(Throwable, String, Object...) - Constructor for exception cn.hutool.setting.SettingRuntimeException
-
- SettingUtil - Class in cn.hutool.setting
-
Setting工具类
提供静态方法获取配置文件
- SettingUtil() - Constructor for class cn.hutool.setting.SettingUtil
-
- setTitle(String) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置标题
- setTitle(String) - Method in class cn.hutool.extra.mail.Mail
-
设置标题
- setTmpUploadPath(String) - Method in class cn.hutool.core.net.multipart.UploadSetting
-
设定上传文件的临时目录,null表示使用系统临时目录
- setTos(String...) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置多个收件人
- setTos(String...) - Method in class cn.hutool.extra.mail.Mail
-
设置多个收件人
- setTotal(int) - Method in class cn.hutool.db.PageResult
-
设置总数
- setToTal(double) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setTotalPage(int) - Method in class cn.hutool.db.PageResult
-
设置总页数
- setTransactionIsolation(int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setTransactionIsolation(int) - Method in class cn.hutool.db.Session
-
设置事务的隔离级别
Connection.TRANSACTION_NONE 驱动不支持事务
Connection.TRANSACTION_READ_UNCOMMITTED 允许脏读、不可重复读和幻读
Connection.TRANSACTION_READ_COMMITTED 禁止脏读,但允许不可重复读和幻读
Connection.TRANSACTION_REPEATABLE_READ 禁止脏读和不可重复读,单运行幻读
Connection.TRANSACTION_SERIALIZABLE 禁止脏读、不可重复读和幻读
- setTransientSupport(boolean) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置是否支持transient关键字修饰和@Transient注解,如果支持,被修饰的字段或方法对应的字段将被忽略。
- setTransientSupport(boolean) - Method in class cn.hutool.json.JSONConfig
-
设置是否支持transient关键字修饰和@Transient注解,如果支持,被修饰的字段或方法对应的字段将被忽略。
- setTransparent(Color) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets the transparent color for the last added frame
and any subsequent frames.
- setTransparent(Color, boolean) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets the transparent color for the last added frame
and any subsequent frames.
- setTrimField(boolean) - Method in class cn.hutool.core.text.csv.CsvReadConfig
-
- setTrimTokens(boolean) - Method in class cn.hutool.core.text.AntPathMatcher
-
设置是否去除路径节点两边的空白符,默认为false
- setTrustAnyHost(boolean) - Static method in class cn.hutool.http.HttpGlobalConfig
-
是否信任所有Host
见:https://github.com/chinabugotech/hutool/issues/2042
- setTrustManagers(TrustManager...) - Method in class cn.hutool.core.net.SSLContextBuilder
-
设置信任信息
- setTrustManagers(TrustManager...) - Method in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
Deprecated.
设置信任信息
- setTryCount(int) - Method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
设置重试次数
- setType(int) - Method in class cn.hutool.db.meta.Column
-
设置类型,对应java.sql.Types中的类型
- setTypeMap(Map<String, Class<?>>) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setTypeName(String) - Method in class cn.hutool.db.meta.Column
-
设置类型名称
- setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class cn.hutool.core.thread.ThreadFactoryBuilder
-
设置未捕获异常的处理方式
- setUnicodeStream(int, InputStream, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
Deprecated.
- setUrl(String) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setUrl(String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- setURL(int, URL) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setUrl(String) - Method in class cn.hutool.http.HttpRequest
-
设置URL
- setUrl(UrlBuilder) - Method in class cn.hutool.http.HttpRequest
-
设置URL
- setUrl(String) - Method in class cn.hutool.http.webservice.SoapClient
-
设置Webservice请求地址
- setUrlHandler(URLStreamHandler) - Method in class cn.hutool.http.HttpRequest
-
设置
URLStreamHandler
部分环境下需要单独设置此项,例如当 WebLogic Server 实例充当 SSL 客户端角色(它会尝试通过 SSL 连接到其他服务器或应用程序)时,
它会验证 SSL 服务器在数字证书中返回的主机名是否与用于连接 SSL 服务器的 URL 主机名相匹配。
- setUseBouncyCastle(boolean) - Static method in enum cn.hutool.crypto.GlobalBouncyCastleProvider
-
设置是否使用Bouncy Castle库
如果设置为false,表示强制关闭Bouncy Castle而使用JDK
- setUseDefaultContentTypeIfNull(boolean) - Method in class cn.hutool.http.HttpConfig
-
设置是否使用默认Content-Type,如果请求中未设置Content-Type,是否使用默认值
- setUseGlobalSession(boolean) - Method in class cn.hutool.extra.mail.JakartaMail
-
设置是否使用全局会话,默认为true
- setUseGlobalSession(boolean) - Method in class cn.hutool.extra.mail.Mail
-
设置是否使用全局会话,默认为true
- setUseJdkToStringStyle(boolean) - Static method in class cn.hutool.core.date.DateTime
-
设置全局的,是否使用
Date
默认的toString()格式
如果为
true
,则调用toString()时返回"EEE MMM dd HH:mm:ss zzz yyyy"格式,
如果为
false
,则返回"yyyy-MM-dd HH:mm:ss",
默认为
false
- setUser(String) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setUser(String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- setUser(String) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setUser(String) - Method in class cn.hutool.extra.mail.MailAccount
-
设置用户名
- setUser(String) - Method in class cn.hutool.extra.ssh.Connector
-
设定用户名
- setUser(double) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setUser(long) - Method in class cn.hutool.system.oshi.CpuTicks
-
- setUserManager(UserManager) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
自定义用户管理器,一般用于使用配置文件配置用户信息
- setUsersConfig(File) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
自定义用户信息配置文件,此方法会重置用户管理器
- setUseVar(boolean) - Method in class cn.hutool.setting.profile.Profile
-
设置是否使用变量
- setValue(Annotation, String, Object) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
设置新的注解的属性(字段)值
- setValue(Object, Object) - Method in class cn.hutool.core.bean.PropDesc
-
- setValue(Object, Object, boolean, boolean) - Method in class cn.hutool.core.bean.PropDesc
-
设置属性值,可以自动转换字段类型为目标类型
- setValue(Object, Object, boolean, boolean, boolean) - Method in class cn.hutool.core.bean.PropDesc
-
设置属性值,可以自动转换字段类型为目标类型
- setValue(V) - Method in class cn.hutool.core.lang.mutable.MutablePair
-
设置值
- setValue(V) - Method in class cn.hutool.core.map.AbsEntry
-
- setValue(TreeEntry<K, V>) - Method in class cn.hutool.core.map.LinkedForestMap.EntryNodeWrapper
-
- setValue(V) - Method in class cn.hutool.core.map.LinkedForestMap.TreeEntryNode
-
设置节点的value
- setValue(Object) - Method in class cn.hutool.db.sql.Condition
-
设置值,不解析表达式
- setValue(Object, boolean) - Method in class cn.hutool.db.sql.Condition
-
设置值
- setValue(Object) - Method in class cn.hutool.extra.validation.BeanValidationResult.ErrorMessage
-
- setValue(Cell) - Method in interface cn.hutool.poi.excel.cell.CellSetter
-
自定义单元格值设置,同时可以设置单元格样式、格式等信息
- setValue(Cell) - Method in class cn.hutool.poi.excel.cell.FormulaCellValue
-
- setValue(Cell) - Method in class cn.hutool.poi.excel.cell.setters.BooleanCellSetter
-
- setValue(Cell) - Method in class cn.hutool.poi.excel.cell.setters.CalendarCellSetter
-
- setValue(Cell) - Method in class cn.hutool.poi.excel.cell.setters.CharSequenceCellSetter
-
- setValue(Cell) - Method in class cn.hutool.poi.excel.cell.setters.DateCellSetter
-
- setValue(Cell) - Method in class cn.hutool.poi.excel.cell.setters.HyperlinkCellSetter
-
- setValue(Cell) - Method in class cn.hutool.poi.excel.cell.setters.NullCellSetter
-
- setValue(Cell) - Method in class cn.hutool.poi.excel.cell.setters.NumberCellSetter
-
- setValue(Cell) - Method in class cn.hutool.poi.excel.cell.setters.RichTextCellSetter
-
- setValue(Cell) - Method in class cn.hutool.poi.excel.cell.setters.TemporalAccessorCellSetter
-
- setValueByMap(Iterable<E>, Map<K, V>, Function<E, K>, BiConsumer<E, V>) - Static method in class cn.hutool.core.collection.CollUtil
-
使用给定的map将集合中的原素进行属性或者值的重新设定
- SetValueMap<K,V> - Class in cn.hutool.core.map.multi
-
值作为集合Set(LinkedHashSet)的Map实现,通过调用putValue可以在相同key时加入多个值,多个值用集合表示
- SetValueMap() - Constructor for class cn.hutool.core.map.multi.SetValueMap
-
构造
- SetValueMap(int) - Constructor for class cn.hutool.core.map.multi.SetValueMap
-
构造
- SetValueMap(Map<? extends K, ? extends Collection<V>>) - Constructor for class cn.hutool.core.map.multi.SetValueMap
-
构造
- SetValueMap(float, Map<? extends K, ? extends Collection<V>>) - Constructor for class cn.hutool.core.map.multi.SetValueMap
-
构造
- SetValueMap(int, float) - Constructor for class cn.hutool.core.map.multi.SetValueMap
-
构造
- setValues(Part, int...) - Method in class cn.hutool.cron.pattern.CronPatternBuilder
-
设置值
- setVarRegex(String) - Method in class cn.hutool.setting.Setting
-
设置变量的正则
正则只能有一个group表示变量本身,剩余为字符 例如 \$\{(name)\}表示${name}变量名为name的一个变量表示
- setVarRegex(String) - Method in class cn.hutool.setting.SettingLoader
-
设置变量的正则
正则只能有一个group表示变量本身,剩余为字符 例如 \$\{(name)\}表示${name}变量名为name的一个变量表示
- setVersion(String) - Method in class cn.hutool.http.useragent.UserAgent
-
设置浏览器版本
- setWait(double) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setWatcher(Watcher) - Method in class cn.hutool.core.io.watch.WatchMonitor
-
- setWeight(Comparable<?>) - Method in interface cn.hutool.core.lang.tree.Node
-
设置权重
- setWeight(Comparable<?>) - Method in class cn.hutool.core.lang.tree.Tree
-
- setWeight(Comparable<?>) - Method in class cn.hutool.core.lang.tree.TreeBuilder
-
设置权重
- setWeight(Comparable<?>) - Method in class cn.hutool.core.lang.tree.TreeNode
-
- setWeightKey(String) - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
设置权重对应的名称
- setWhere(Condition...) - Method in class cn.hutool.db.sql.Query
-
设置条件语句
- setWidth(int) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置宽度
- setWithEndTag(boolean) - Method in class cn.hutool.core.net.url.UrlBuilder
-
是否path的末尾加 /
- setWithEndTag(boolean) - Method in class cn.hutool.core.net.url.UrlPath
-
是否path的末尾加 /
- setWorkQueue(BlockingQueue<Runnable>) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置队列,用于存在未执行的线程
可选队列有:
1.
- setWrapElement(boolean) - Method in class cn.hutool.core.text.StrJoiner
-
设置前缀和后缀是否包装每个元素
- setWrapper(Character) - Method in class cn.hutool.db.AbstractDb
-
设置包装器,包装器用于对表名、字段名进行符号包装(例如双引号),防止关键字与这些表名或字段冲突
- setWrapper(Wrapper) - Method in class cn.hutool.db.AbstractDb
-
设置包装器,包装器用于对表名、字段名进行符号包装(例如双引号),防止关键字与这些表名或字段冲突
- setWrapper(Character) - Method in class cn.hutool.db.Db
-
- setWrapper(Wrapper) - Method in class cn.hutool.db.Db
-
- setWrapper(Wrapper) - Method in interface cn.hutool.db.dialect.Dialect
-
设置包装器
- setWrapper(Wrapper) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- setWrapper(Character) - Method in class cn.hutool.db.DialectRunner
-
设置包装器,包装器用于对表名、字段名进行符号包装(例如双引号),防止关键字与这些表名或字段冲突
- setWrapper(Wrapper) - Method in class cn.hutool.db.DialectRunner
-
设置包装器,包装器用于对表名、字段名进行符号包装(例如双引号),防止关键字与这些表名或字段冲突
- setWrapper(Character) - Method in class cn.hutool.db.Session
-
- setWrapper(Wrapper) - Method in class cn.hutool.db.Session
-
- setWrapText() - Method in class cn.hutool.poi.excel.StyleSet
-
设置单元格文本自动换行
- setWriteBufferSize(int) - Method in class cn.hutool.socket.SocketConfig
-
设置写出缓存大小
- setWriteLongAsString(boolean) - Method in class cn.hutool.json.JSONConfig
-
设置是否将Long值写出为字符串类型
- setWriteTimeout(long) - Method in class cn.hutool.extra.mail.MailAccount
-
设置Socket写出超时值,单位毫秒,缺省值不超时
- setWriteTimeout(long) - Method in class cn.hutool.socket.SocketConfig
-
设置写出超时时长,小于等于0表示默认
- setX(int) - Method in class cn.hutool.poi.excel.cell.CellLocation
-
- setY(int) - Method in class cn.hutool.poi.excel.cell.CellLocation
-
- Seven7EntryInputStream - Class in cn.hutool.extra.compress.extractor
-
7z解压中文件流读取的封装
- Seven7EntryInputStream(SevenZFile, SevenZArchiveEntry) - Constructor for class cn.hutool.extra.compress.extractor.Seven7EntryInputStream
-
构造
- SevenZArchiver - Class in cn.hutool.extra.compress.archiver
-
7zip格式的归档封装
- SevenZArchiver(File) - Constructor for class cn.hutool.extra.compress.archiver.SevenZArchiver
-
构造
- SevenZArchiver(OutputStream) - Constructor for class cn.hutool.extra.compress.archiver.SevenZArchiver
-
构造
- SevenZArchiver(SeekableByteChannel) - Constructor for class cn.hutool.extra.compress.archiver.SevenZArchiver
-
构造
- SevenZExtractor - Class in cn.hutool.extra.compress.extractor
-
7z格式数据解压器,即将归档打包的数据释放
- SevenZExtractor(File) - Constructor for class cn.hutool.extra.compress.extractor.SevenZExtractor
-
构造
- SevenZExtractor(File, char[]) - Constructor for class cn.hutool.extra.compress.extractor.SevenZExtractor
-
构造
- SevenZExtractor(InputStream) - Constructor for class cn.hutool.extra.compress.extractor.SevenZExtractor
-
构造
- SevenZExtractor(InputStream, char[]) - Constructor for class cn.hutool.extra.compress.extractor.SevenZExtractor
-
构造
- SevenZExtractor(SeekableByteChannel) - Constructor for class cn.hutool.extra.compress.extractor.SevenZExtractor
-
构造
- SevenZExtractor(SeekableByteChannel, char[]) - Constructor for class cn.hutool.extra.compress.extractor.SevenZExtractor
-
构造
- Sftp - Class in cn.hutool.extra.ssh
-
SFTP是Secure File Transfer Protocol的缩写,安全文件传送协议。
- Sftp(String, int, String, String) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp(String, int, String, String, Charset) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp(FtpConfig) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp(FtpConfig, boolean) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp(Session) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp(Session, Charset) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp(Session, Charset, long) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp(ChannelSftp, Charset, long) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp(ChannelSftp, Charset) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp.Mode - Enum in cn.hutool.extra.ssh
-
JSch支持的三种文件传输模式
- sha1(byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值
- sha1(String, String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值
- sha1(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算sha1摘要值,使用UTF-8编码
- sha1(InputStream) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值
- sha1(File) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值
- sha1() - Static method in class cn.hutool.crypto.SecureUtil
-
SHA1加密
例:
SHA1加密:sha1().digest(data)
SHA1加密并转为16进制字符串:sha1().digestHex(data)
- sha1(String) - Static method in class cn.hutool.crypto.SecureUtil
-
SHA1加密,生成16进制SHA1字符串
- sha1(InputStream) - Static method in class cn.hutool.crypto.SecureUtil
-
SHA1加密,生成16进制SHA1字符串
- sha1(File) - Static method in class cn.hutool.crypto.SecureUtil
-
SHA1加密文件,生成16进制SHA1字符串
- sha1Hex(byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha1Hex(String, String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha1Hex(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha1Hex(InputStream) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha1Hex(File) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha256(byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值
- sha256(String, String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值
- sha256(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算sha256摘要值,使用UTF-8编码
- sha256(InputStream) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值
- sha256(File) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值
- sha256() - Static method in class cn.hutool.crypto.SecureUtil
-
SHA256加密
例:
SHA256加密:sha256().digest(data)
SHA256加密并转为16进制字符串:sha256().digestHex(data)
- sha256(String) - Static method in class cn.hutool.crypto.SecureUtil
-
SHA256加密,生成16进制SHA256字符串
- sha256(InputStream) - Static method in class cn.hutool.crypto.SecureUtil
-
SHA256加密,生成16进制SHA256字符串
- sha256(File) - Static method in class cn.hutool.crypto.SecureUtil
-
SHA256加密文件,生成16进制SHA256字符串
- sha256Hex(byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha256Hex(String, String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值,并转为16进制字符串
- sha256Hex(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值,并转为16进制字符串
- sha256Hex(InputStream) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值,并转为16进制字符串
- sha256Hex(File) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值,并转为16进制字符串
- sha512(byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-512摘要值
- sha512(String, String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-512摘要值
- sha512(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算sha512摘要值,使用UTF-8编码
- sha512(InputStream) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-512摘要值
- sha512(File) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-512摘要值
- sha512Hex(byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha512Hex(String, String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-512摘要值,并转为16进制字符串
- sha512Hex(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-512摘要值,并转为16进制字符串
- sha512Hex(InputStream) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-512摘要值,并转为16进制字符串
- sha512Hex(File) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-512摘要值,并转为16进制字符串
- shapeHint - Variable in class cn.hutool.extra.qrcode.QrConfig
-
DATA_MATRIX的符号形状
- sharedStrings - Variable in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
- ShearCaptcha - Class in cn.hutool.captcha
-
扭曲干扰验证码
- ShearCaptcha(int, int) - Constructor for class cn.hutool.captcha.ShearCaptcha
-
构造
- ShearCaptcha(int, int, int) - Constructor for class cn.hutool.captcha.ShearCaptcha
-
构造
- ShearCaptcha(int, int, int, int) - Constructor for class cn.hutool.captcha.ShearCaptcha
-
构造
- ShearCaptcha(int, int, CodeGenerator, int) - Constructor for class cn.hutool.captcha.ShearCaptcha
-
构造
- ShearCaptcha(int, int, int, int, float) - Constructor for class cn.hutool.captcha.ShearCaptcha
-
构造
- sheet - Variable in class cn.hutool.poi.excel.ExcelBase
-
Excel中对应的Sheet
- SHEET_NAME_PREFIX - Static variable in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
- SheetDataSaxHandler - Class in cn.hutool.poi.excel.sax
-
sheetData标签内容读取处理器
<sheetData></sheetData>
- SheetDataSaxHandler(RowHandler) - Constructor for class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
构造
- sheetIndex - Variable in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
- SheetReader<T> - Interface in cn.hutool.poi.excel.reader
-
Excel Sheet
读取接口,通过实现此接口,将Sheet
中的数据读取为不同类型。
- SheetRidReader - Class in cn.hutool.poi.excel.sax
-
在Sax方式读取Excel时,读取sheet标签中sheetId和rid的对应关系,类似于:
<sheet name="Sheet6" sheetId="4" r:id="rId6"/>
读取结果为:
{"4": "6"}
- SheetRidReader() - Constructor for class cn.hutool.poi.excel.sax.SheetRidReader
-
- SHORT - Static variable in class cn.hutool.core.date.format.FastDateFormat
-
SHORT locale dependent date or time style.
- shortSummary() - Method in class cn.hutool.core.date.StopWatch
-
获取任务信息,类似于:
StopWatch '[id]': running time = [total] ns
- shortSummary(TimeUnit) - Method in class cn.hutool.core.date.StopWatch
-
获取任务信息,类似于:
StopWatch '[id]': running time = [total] [unit]
- shortToBytes(short) - Static method in class cn.hutool.core.convert.Convert
-
short转byte数组
默认以小端序转换
- shortToBytes(short) - Static method in class cn.hutool.core.util.ByteUtil
-
short转byte数组
默认以小端序转换
- shortToBytes(short, ByteOrder) - Static method in class cn.hutool.core.util.ByteUtil
-
short转byte数组
自定义端序
- shortValue() - Method in class cn.hutool.core.lang.mutable.MutableShort
-
- shuffle(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(T[], Random) - Static method in class cn.hutool.core.util.ArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(int[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(int[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(long[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(long[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(double[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(double[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(float[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(float[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(boolean[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(boolean[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(byte[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(byte[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(char[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(char[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(short[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(short[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shutdown() - Method in enum cn.hutool.cache.GlobalPruneTimer
-
销毁全局定时器
- shutdown() - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- shutdown(boolean) - Static method in class cn.hutool.core.thread.