- 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(T, double) - Method in class cn.hutool.core.lang.WeightRandom
-
增加对象
- add(WeightRandom.WeightObj<T>) - Method in class cn.hutool.core.lang.WeightRandom
-
增加对象权重
- add(int, int) - Static method in class cn.hutool.core.math.BitStatusUtil
-
增加状态
- add(Money) - Method in class cn.hutool.core.math.Money
-
货币加法。
- add(CharSequence) - Method in class cn.hutool.core.net.url.UrlPath
-
添加到path最后面
- add(CharSequence, Object) - Method in class cn.hutool.core.net.url.UrlQuery
-
增加键值对
- add(String) - Method in class cn.hutool.core.text.csv.CsvRow
-
- add(int, String) - Method in class cn.hutool.core.text.csv.CsvRow
-
- add(float, float) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的加法运算
- add(float, double) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的加法运算
- add(double, float) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的加法运算
- add(double, double) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的加法运算
- add(Double, Double) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的加法运算
- add(Number, Number) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的加法运算
如果传入多个值为null或者空,则返回0
需要注意的是,在不同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
-
在链的尾部添加比较器,使用给定排序方式
- 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
-
是否至少有一个符合判断条件
- 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中属性名枚举
- 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.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.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
-
- 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/dromara/hutool/issues/1090#issuecomment-693750140
- Calculator() - Constructor for class cn.hutool.core.math.Calculator
-
- calendar() - Static method in class cn.hutool.core.date.CalendarUtil
-
创建Calendar对象,时间为默认时区的当前时间
- calendar(Date) - Static method in class cn.hutool.core.date.CalendarUtil
-
转换为Calendar对象
- calendar(long) - Static method in class cn.hutool.core.date.CalendarUtil
-
转换为Calendar对象,使用当前默认时区
- calendar(long, TimeZone) - Static method in class cn.hutool.core.date.CalendarUtil
-
转换为Calendar对象
- CalendarCellSetter - Class in cn.hutool.poi.excel.cell.setters
-
- 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异常
- 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
-
清理空文件夹
此方法用于递归删除空的文件夹,不删除文件
如果传入的文件夹本身就是空的,删除这个文件夹
- cleanHtmlTag(String) - Static method in class cn.hutool.http.HtmlUtil
-
清除所有HTML标签,但是不删除标签内的内容
- cleanInvalid(String) - Static method in class cn.hutool.core.io.file.FileNameUtil
-
清除文件名中的在Windows下不支持的非法字符,包括: \ / : * ?
- cleanInvalid(String) - Static method in class cn.hutool.core.io.FileUtil
-
清除文件名中的在Windows下不支持的非法字符,包括: \ / : * ?
- cleanInvalid(String) - Static method in class cn.hutool.core.util.XmlUtil
-
去除XML文本中的无效字符
- clear() - Method in interface cn.hutool.cache.Cache
-
清空缓存
- clear() - Method in class cn.hutool.cache.file.AbstractFileCache
-
清空缓存
- clear() - Method in class cn.hutool.cache.impl.NoCache
-
- clear() - Method in class cn.hutool.cache.impl.ReentrantCache
-
- clear() - Method in class cn.hutool.cache.impl.StampedCache
-
- clear() - Method in enum cn.hutool.core.bean.BeanDescCache
-
清空全局的Bean属性缓存
- clear() - Method in enum cn.hutool.core.bean.BeanInfoCache
-
清空缓存
- clear(Collection<?>...) - Static method in class cn.hutool.core.collection.CollUtil
-
清除一个或多个集合内的元素,每个集合调用clear()方法
- clear() - Method in class cn.hutool.core.collection.ConcurrentHashSet
-
- clear(Iterator<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
- clear() - Method in class cn.hutool.core.collection.TransCollection
-
- clear() - Method in class cn.hutool.core.collection.UniqueKeySet
-
- clear() - Method in class cn.hutool.core.date.GroupTimeInterval
-
清空所有定时记录
- clear() - Static method in class cn.hutool.core.lang.PatternPool
-
清空缓存池
- clear() - Method in class cn.hutool.core.lang.SimpleCache
-
清空缓存池
- clear() - Method in class cn.hutool.core.lang.WeightRandom
-
清空权重表
- clear() - Method in class cn.hutool.core.map.BiMap
-
- clear() - Method in interface cn.hutool.core.map.ForestMap
-
将当前集合清空,并清除全部节点间的引用关系
- clear() - Method in class cn.hutool.core.map.LinkedForestMap
-
将当前集合清空,并清除全部节点间的引用关系
- clear() - Method in class cn.hutool.core.map.MapBuilder
-
清空Map
- clear() - Method in class cn.hutool.core.map.MapProxy
-
- clear(Map<?, ?>...) - Static method in class cn.hutool.core.map.MapUtil
-
清除一个或多个Map集合内的元素,每个Map调用clear()方法
- clear() - Method in class cn.hutool.core.map.MapWrapper
-
- clear() - Method in class cn.hutool.core.map.multi.RowKeyTable
-
- clear() - Method in interface cn.hutool.core.map.multi.Table
-
清空表格
- clear() - Method in class cn.hutool.core.map.ReferenceConcurrentMap
-
- clear() - Method in class cn.hutool.core.map.TableMap
-
- clear() - Static method in class cn.hutool.core.math.BitStatusUtil
-
清空状态就是0
- clear() - Method in class cn.hutool.core.text.csv.CsvRow
-
- clear() - Method in class cn.hutool.core.text.StrBuilder
-
删除全部字符,位置归零
- clear() - Static method in class cn.hutool.core.util.DesensitizedUtil
-
清空为空字符串
- clear() - Method in class cn.hutool.cron.Scheduler
-
清空任务表
- clear() - Method in class cn.hutool.dfa.WordTree
-
清除所有的词,
此方法调用后, wordTree 将被清空
endCharacterSet 也将清空
- clear() - Method in enum cn.hutool.http.GlobalInterceptor
-
清空请求和响应拦截器
- clear() - Method in class cn.hutool.http.HttpInterceptor.Chain
-
清空
- clear() - Method in class cn.hutool.json.JSONArray
-
- clear(String) - Method in class cn.hutool.setting.GroupedMap
-
清除指定分组下的所有键值对
- clear() - Method in class cn.hutool.setting.profile.Profile
-
清空所有环境的配置文件
- clear(String) - Method in class cn.hutool.setting.Setting
-
清除指定分组下的所有键值对
- clear() - Method in class cn.hutool.setting.Setting
-
清空默认分组(空分组)中的所有键值对
- clearBatch() - Method in class cn.hutool.db.sql.StatementWrapper
-
- clearHeaderAlias() - Method in class cn.hutool.poi.excel.ExcelBase
-
清空标题别名,key为Map中的key,value为别名
- clearHeaderAlias() - Method in class cn.hutool.poi.excel.ExcelWriter
-
- clearHeaders() - Method in enum cn.hutool.http.GlobalHeaders
-
清除所有头信息,包括全局头信息
- clearHeaders() - Method in class cn.hutool.http.HttpBase
-
清除所有头信息,包括全局头信息
- clearListener() - Method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
清空监听
- clearParameters() - Method in class cn.hutool.db.sql.StatementWrapper
-
- clearRequest() - Method in enum cn.hutool.http.GlobalInterceptor
-
清空请求拦截器
- clearResponse() - Method in enum cn.hutool.http.GlobalInterceptor
-
清空响应拦截器
- clearToNull() - Static method in class cn.hutool.core.util.DesensitizedUtil
-
清空为null
- clearWarnings() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- clearWarnings() - Method in class cn.hutool.db.sql.StatementWrapper
-
- clearWorker() - Method in class cn.hutool.core.thread.SyncFinisher
-
清空工作线程对象
- click() - Static method in class cn.hutool.core.swing.RobotUtil
-
模拟单击
鼠标单击包括鼠标左键的按下和释放
- ClipboardListener - Interface in cn.hutool.core.swing.clipboard
-
剪贴板监听事件处理接口
用户通过实现此接口,实现监听剪贴板内容变化
- ClipboardMonitor - Enum in cn.hutool.core.swing.clipboard
-
剪贴板监听
- ClipboardUtil - Class in cn.hutool.core.swing.clipboard
-
系统剪贴板工具类
- ClipboardUtil() - Constructor for class cn.hutool.core.swing.clipboard.ClipboardUtil
-
- clobToStr(Clob) - Static method in class cn.hutool.db.sql.SqlUtil
-
Clob字段值转字符串
- clockSequence() - Method in class cn.hutool.core.lang.UUID
-
与此 UUID 相关联的时钟序列值。
- clone() - Method in interface cn.hutool.core.clone.Cloneable
-
克隆当前对象,浅复制
- clone() - Method in class cn.hutool.core.clone.CloneSupport
-
- clone() - Method in class cn.hutool.core.collection.UniqueKeySet
-
- clone() - Method in class cn.hutool.core.lang.ClassScanner
-
- clone() - Method in class cn.hutool.core.lang.Dict
-
- clone() - Method in class cn.hutool.core.map.MapWrapper
-
- clone(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
克隆数组
- clone(T) - Static method in class cn.hutool.core.util.ArrayUtil
-
克隆数组,如果非数组返回null
- clone(T) - Static method in class cn.hutool.core.util.ObjectUtil
-
克隆对象
如果对象实现Cloneable接口,调用其clone方法
如果实现Serializable接口,执行深度克隆
否则返回null
- clone(T) - Static method in class cn.hutool.core.util.SerializeUtil
-
序列化后拷贝流的方式克隆
对象必须实现Serializable接口
- clone() - Method in class cn.hutool.db.ActiveEntity
-
- clone() - Method in class cn.hutool.db.ds.DataSourceWrapper
-
- clone() - Method in class cn.hutool.db.Entity
-
- clone() - Method in class cn.hutool.db.meta.Column
-
- clone() - Method in class cn.hutool.db.meta.ColumnIndexInfo
-
- clone() - Method in class cn.hutool.db.meta.IndexInfo
-
- clone() - Method in class cn.hutool.db.meta.Table
-
- clone() - Method in class cn.hutool.json.JSONArray
-
- clone() - Method in class cn.hutool.json.JSONObject
-
- clone0() - Method in interface cn.hutool.core.clone.DefaultCloneable
-
浅拷贝,提供默认的泛型返回值的clone方法。
- Cloneable<T> - Interface in cn.hutool.core.clone
-
克隆支持接口
- cloneByStream(T) - Static method in class cn.hutool.core.util.ObjectUtil
-
序列化后拷贝流的方式克隆
对象必须实现Serializable接口
- cloneCellStyle(Cell, CellStyle) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
克隆新的CellStyle
- cloneCellStyle(Workbook, CellStyle) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
克隆新的CellStyle
- cloneIfPossible(T) - Static method in class cn.hutool.core.util.ObjectUtil
-
返回克隆后的对象,如果克隆失败,返回原对象
- CloneRuntimeException - Exception in cn.hutool.core.clone
-
克隆异常
- CloneRuntimeException(Throwable) - Constructor for exception cn.hutool.core.clone.CloneRuntimeException
-
- CloneRuntimeException(String) - Constructor for exception cn.hutool.core.clone.CloneRuntimeException
-
- CloneRuntimeException(String, Object...) - Constructor for exception cn.hutool.core.clone.CloneRuntimeException
-
- CloneRuntimeException(String, Throwable) - Constructor for exception cn.hutool.core.clone.CloneRuntimeException
-
- CloneRuntimeException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.clone.CloneRuntimeException
-
- cloneSheet(int, String, boolean) - Method in class cn.hutool.poi.excel.ExcelBase
-
复制当前sheet为新sheet
- CloneSupport<T> - Class in cn.hutool.core.clone
-
克隆支持类,提供默认的克隆方法
- CloneSupport() - Constructor for class cn.hutool.core.clone.CloneSupport
-
- cloneTree() - Method in class cn.hutool.core.lang.tree.Tree
-
递归克隆当前节点(即克隆整个树,保留字段值)
注意,此方法只会克隆节点,节点属性如果是引用类型,不会克隆
- close() - Method in class cn.hutool.core.collection.LineIter
-
关闭Reader
- close() - Method in class cn.hutool.core.compress.Deflate
-
- close() - Method in class cn.hutool.core.compress.Gzip
-
- close() - Method in class cn.hutool.core.compress.ZipReader
-
- close() - Method in class cn.hutool.core.compress.ZipWriter
-
- close() - Method in class cn.hutool.core.io.AppendableWriter
-
- close() - Method in class cn.hutool.core.io.BOMInputStream
-
- close() - Method in class cn.hutool.core.io.BomReader
-
- close() - Method in class cn.hutool.core.io.FastByteArrayOutputStream
-
此方法无任何效果,当流被关闭后不会抛出IOException
- close() - Method in class cn.hutool.core.io.FastStringWriter
-
- close(Closeable) - Static method in class cn.hutool.core.io.IoUtil
-
关闭
关闭失败不会抛出异常
- close(AutoCloseable) - Static method in class cn.hutool.core.io.NioUtil
-
关闭
关闭失败不会抛出异常
- close() - Method in class cn.hutool.core.io.watch.WatchServer
-
关闭监听
- close() - Method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
关闭(停止)监听
- close() - Method in class cn.hutool.core.text.csv.CsvParser
-
- close() - Method in class cn.hutool.core.text.csv.CsvReader
-
- close() - Method in class cn.hutool.core.text.csv.CsvWriter
-
- close() - Method in class cn.hutool.core.thread.ConcurrencyTester
-
- close() - Method in class cn.hutool.core.thread.SyncFinisher
-
- close(Object...) - Static method in class cn.hutool.db.DbUtil
-
连续关闭一系列的SQL相关对象
这些对象必须按照顺序关闭,否则会出错。
- close(String) - Method in class cn.hutool.db.ds.AbstractDSFactory
-
- close() - Method in class cn.hutool.db.ds.DataSourceWrapper
-
- close() - Method in class cn.hutool.db.ds.DSFactory
-
关闭默认数据源(空组)
- close(String) - Method in class cn.hutool.db.ds.DSFactory
-
关闭对应数据源
- close() - Method in class cn.hutool.db.ds.pooled.PooledConnection
-
重写关闭连接,实际操作是归还到连接池中
- close() - Method in class cn.hutool.db.ds.pooled.PooledDataSource
-
- close() - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- close() - Method in class cn.hutool.db.nosql.mongo.MongoDS
-
- close() - Method in class cn.hutool.db.nosql.redis.RedisDS
-
- close() - Method in class cn.hutool.db.Session
-
- close() - Method in class cn.hutool.db.sql.StatementWrapper
-
- close(DataSource) - Method in enum cn.hutool.db.ThreadLocalConnection
-
关闭数据库,并从线程池中移除
- close(DataSource) - Method in class cn.hutool.db.ThreadLocalConnection.GroupedConnection
-
关闭并移除Connection
如果处于事务中,则不进行任何操作
- close() - Method in interface cn.hutool.extra.compress.archiver.Archiver
-
无异常关闭
- close() - Method in class cn.hutool.extra.compress.archiver.SevenZArchiver
-
- close() - Method in class cn.hutool.extra.compress.archiver.StreamArchiver
-
- close() - Method in interface cn.hutool.extra.compress.extractor.Extractor
-
无异常关闭
- close() - Method in class cn.hutool.extra.compress.extractor.SevenZExtractor
-
- close() - Method in class cn.hutool.extra.compress.extractor.StreamExtractor
-
- close() - Method in class cn.hutool.extra.ftp.Ftp
-
- close(Session) - Static method in class cn.hutool.extra.ssh.GanymedUtil
-
关闭会话
- close(String) - Method in enum cn.hutool.extra.ssh.JschSessionPool
-
关闭SSH连接会话
- close(Session) - Static method in class cn.hutool.extra.ssh.JschUtil
-
关闭SSH连接会话
- close(Channel) - Static method in class cn.hutool.extra.ssh.JschUtil
-
关闭会话通道
- close(String) - Static method in class cn.hutool.extra.ssh.JschUtil
-
关闭SSH连接会话
- close() - Method in class cn.hutool.extra.ssh.Sftp
-
- close() - Method in class cn.hutool.extra.ssh.SshjSftp
-
- close() - Method in class cn.hutool.http.HttpInputStream
-
- close() - Method in class cn.hutool.http.HttpResponse
-
- close() - Method in class cn.hutool.http.MultipartOutputStream
-
- close() - Method in class cn.hutool.http.server.HttpExchangeWrapper
-
- close() - Method in class cn.hutool.http.server.HttpServerBase
-
调用HttpExchange.close()
,关闭请求流和响应流
- close() - Method in class cn.hutool.json.serialize.JSONWriter
-
- close() - Method in class cn.hutool.poi.excel.BigExcelWriter
-
- close() - Method in class cn.hutool.poi.excel.ExcelBase
-
关闭工作簿
如果用户设定了目标文件,先写出目标文件后给关闭工作簿
- close() - Method in class cn.hutool.poi.excel.ExcelWriter
-
关闭工作簿
如果用户设定了目标文件,先写出目标文件后给关闭工作簿
- close() - Method in class cn.hutool.poi.ofd.OfdWriter
-
- close() - Method in class cn.hutool.poi.word.Word07Writer
-
关闭Word文档
如果用户设定了目标文件,先写出目标文件后给关闭工作簿
- close() - Method in class cn.hutool.socket.aio.AioClient
-
关闭客户端
- close() - Method in class cn.hutool.socket.aio.AioServer
-
关闭服务
- close() - Method in class cn.hutool.socket.aio.AioSession
-
关闭会话
- close() - Method in class cn.hutool.socket.nio.NioClient
-
- close() - Method in class cn.hutool.socket.nio.NioServer
-
- closeAll() - Static method in class cn.hutool.db.nosql.mongo.MongoFactory
-
关闭全部连接
- closeAll() - Method in enum cn.hutool.extra.ssh.JschSessionPool
-
关闭所有SSH连接会话
- closeAll() - Static method in class cn.hutool.extra.ssh.JschUtil
-
关闭所有SSH连接会话
- closeConnection(Connection) - Method in class cn.hutool.db.AbstractDb
-
关闭连接
自定义关闭连接有利于自定义回收连接机制,或者不关闭
- closeConnection(Connection) - Method in class cn.hutool.db.Db
-
- closeConnection(Connection) - Method in class cn.hutool.db.Session
-
- closeCookie() - Static method in class cn.hutool.http.HttpGlobalConfig
-
关闭Cookie
- closeCookie() - Static method in class cn.hutool.http.HttpRequest
-
关闭Cookie
- closeCookie() - Static method in class cn.hutool.http.HttpUtil
-
关闭Cookie
- closeIfPosible(Object) - Static method in class cn.hutool.core.io.IoUtil
-
- 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(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
-
- 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.