- abort(Executor) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- AbsSetting - Class in cn.hutool.setting
-
Setting抽象类
- AbsSetting() - Constructor for class cn.hutool.setting.AbsSetting
-
- 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
-
构造
- 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
-
构造
- 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
-
- 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() - Method in class cn.hutool.socket.aio.AioServer
-
处理接入的客户端
- accept(AioSession) - Method in interface cn.hutool.socket.aio.IoAction
-
接收客户端连接(会话建立)事件处理
- accept(AioSession) - Method in class cn.hutool.socket.aio.SimpleIoAction
-
- AcceptHandler - Class in cn.hutool.socket.aio
-
接入完成回调,单例使用
- AcceptHandler() - Constructor for class cn.hutool.socket.aio.AcceptHandler
-
- AcceptHandler - Class in cn.hutool.socket.nio
-
接入完成回调,单例使用
- AcceptHandler() - Constructor for class cn.hutool.socket.nio.AcceptHandler
-
- accessCount - Variable in class cn.hutool.cache.impl.CacheObj
-
访问次数
- accumulate(String, Object) - Method in class cn.hutool.json.JSONObject
-
积累值。类似于set,当key对应value已经存在时,与value组成新的JSONArray.
- 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(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(Money) - Method in class cn.hutool.core.math.Money
-
货币加法。
- add(CharSequence) - Method in class cn.hutool.core.net.url.UrlPath
-
添加到path最后面
- add(CharSequence, Object) - Method in class cn.hutool.core.net.url.UrlQuery
-
增加键值对
- add(String) - Method in class cn.hutool.core.text.csv.CsvRow
-
- add(int, String) - Method in class cn.hutool.core.text.csv.CsvRow
-
- add(float, float) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的加法运算
- add(float, double) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的加法运算
- add(double, float) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的加法运算
- add(double, double) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的加法运算
- add(Double, Double) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的加法运算
- add(Number, Number) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的加法运算
如果传入多个值为null或者空,则返回0
- add(Number...) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的加法运算
如果传入多个值为null或者空,则返回0
- add(String...) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的加法运算
如果传入多个值为null或者空,则返回0
- add(BigDecimal...) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的加法运算
如果传入多个值为null或者空,则返回0
- add(String, CronPattern, Task) - Method in class cn.hutool.cron.TaskTable
-
新增Task
- add() - Method in class cn.hutool.db.ActiveEntity
-
根据Entity中现有字段条件从数据库中增加一条数据
- add(Entity) - Method in class cn.hutool.db.DaoTemplate
-
添加
- add(File) - Method in interface cn.hutool.extra.compress.archiver.Archiver
-
将文件或目录加入归档,目录采取递归读取方式按照层级加入
- add(File, Filter<File>) - Method in interface cn.hutool.extra.compress.archiver.Archiver
-
将文件或目录加入归档,目录采取递归读取方式按照层级加入
- add(File, String, Filter<File>) - Method in interface cn.hutool.extra.compress.archiver.Archiver
-
将文件或目录加入归档包,目录采取递归读取方式按照层级加入
- add(File, String, Filter<File>) - Method in class cn.hutool.extra.compress.archiver.SevenZArchiver
-
- add(File, String, Filter<File>) - Method in class cn.hutool.extra.compress.archiver.StreamArchiver
-
将文件或目录加入归档包,目录采取递归读取方式按照层级加入
- add(Matcher, ResourceLoader<?>) - Method in class cn.hutool.extra.template.engine.beetl.BeetlUtil.ResourceLoaderBuilder
-
Deprecated.
添加一个资源加载器
- 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
-
- 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(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
-
- addComparator(Comparator<E>) - Method in class cn.hutool.core.comparator.ComparatorChain
-
在链的尾部添加比较器,使用正向排序
- addComparator(Comparator<E>, boolean) - Method in class cn.hutool.core.comparator.ComparatorChain
-
在链的尾部添加比较器,使用给定排序方式
- addConnProps(String, String) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- addConnProps(String, String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- 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
- addErrorMessage(BeanValidationResult.ErrorMessage) - Method in class cn.hutool.extra.validation.BeanValidationResult
-
增加错误信息
- 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.poi.excel.ExcelReader
-
增加标题别名
- 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
-
新增请求头
不覆盖原有请求头
- 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
-
增加图片,图片的键对应到邮件模板中的占位字符串
- additiveHash(String, int) - Static method in class cn.hutool.core.util.HashUtil
-
加法hash
- addJar(File) - Method in class cn.hutool.core.lang.JarClassLoader
-
加载Jar文件,或者加载目录
- addLibrary(File...) - Method in class cn.hutool.core.compiler.JavaSourceCompiler
-
加入编译Java源码时所需要的jar包,jar包中必须为字节码
- addListener(ClipboardListener) - Method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
设置 监听事件处理
- addListener(TaskListener) - Method in class cn.hutool.cron.listener.TaskListenerManager
-
增加监听器
- addListener(TaskListener) - Method in class cn.hutool.cron.Scheduler
-
增加监听器
- addOrder(Order...) - Method in class cn.hutool.db.Page
-
设置排序
- addOrUpdate(Entity) - Method in class cn.hutool.db.DaoTemplate
-
增加或者更新实体
- addParams(Object...) - Method in class cn.hutool.db.sql.SqlBuilder
-
手动增加参数,调用此方法前需确认SQL中有对应占位符,主要用于自定义SQL片段中有占位符的情况,例如:
- addPath(String) - Method in class cn.hutool.core.net.url.UrlBuilder
-
增加路径节点
- addPicture(File, int, int) - Method in class cn.hutool.poi.ofd.OfdWriter
-
追加图片
- addPicture(Path, int, int) - Method in class cn.hutool.poi.ofd.OfdWriter
-
追加图片
- addPicture(File, int, int) - Method in class cn.hutool.poi.word.Word07Writer
-
增加图片,单独成段落
- addPicture(InputStream, PicType, String, int, int) - Method in class cn.hutool.poi.word.Word07Writer
-
增加图片,单独成段落,增加后图片流关闭,默认居中对齐
- addPicture(InputStream, PicType, String, int, int, ParagraphAlignment) - Method in class cn.hutool.poi.word.Word07Writer
-
增加图片,单独成段落,增加后图片流关闭
- addPk(String) - Method in class cn.hutool.db.meta.Table
-
添加主键
- addPrefixIfNot(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
如果给定字符串不是以prefix开头的,在开头补充 prefix
- addProvider(Provider) - Static method in class cn.hutool.crypto.SecureUtil
-
增加加密解密的算法提供者,默认优先使用,例如:
- addQuery(String, String) - Method in class cn.hutool.core.net.url.UrlBuilder
-
添加查询项,支持重复键
- addRepeatWorker(Runnable) - Method in class cn.hutool.core.thread.SyncFinisher
-
增加定义的线程数同等数量的worker
- addResource(T) - Method in class cn.hutool.core.lang.ResourceClassLoader
-
增加需要加载的类资源
- addSafeCharacter(char) - Method in class cn.hutool.core.net.URLEncoder
-
增加安全字符
安全字符不被编码
- 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
-
增加表格数据
- 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
-
增加工作线程
- aes() - Static method in class cn.hutool.crypto.SecureUtil
-
AES加密,生成随机KEY。注意解密时必须使用相同
AES
对象或者使用相同KEY
例:
- aes(byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
AES加密
例:
- AES - Class in cn.hutool.crypto.symmetric
-
AES加密算法实现
高级加密标准(英语:Advanced Encryption Standard,缩写:AES),在密码学中又称Rijndael加密法
对于Java中AES的默认模式是:AES/ECB/PKCS5Padding,如果使用CryptoJS,请调整为:padding: CryptoJS.pad.Pkcs7
- AES() - Constructor for class cn.hutool.crypto.symmetric.AES
-
构造,默认AES/ECB/PKCS5Padding,使用随机密钥
- AES(byte[]) - Constructor for class cn.hutool.crypto.symmetric.AES
-
构造,使用默认的AES/ECB/PKCS5Padding
- AES(SecretKey) - Constructor for class cn.hutool.crypto.symmetric.AES
-
构造,使用默认的AES/ECB/PKCS5Padding
- AES(Mode, Padding) - Constructor for class cn.hutool.crypto.symmetric.AES
-
构造,使用随机密钥
- AES(Mode, Padding, byte[]) - Constructor for class cn.hutool.crypto.symmetric.AES
-
构造
- AES(Mode, Padding, byte[], byte[]) - Constructor for class cn.hutool.crypto.symmetric.AES
-
构造
- AES(Mode, Padding, SecretKey) - Constructor for class cn.hutool.crypto.symmetric.AES
-
构造
- AES(Mode, Padding, SecretKey, byte[]) - Constructor for class cn.hutool.crypto.symmetric.AES
-
构造
- AES(Mode, Padding, SecretKey, IvParameterSpec) - 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, IvParameterSpec) - Constructor for class cn.hutool.crypto.symmetric.AES
-
构造
- after(Object, Method, Object[], Object) - Method in interface cn.hutool.aop.aspects.Aspect
-
目标方法执行后的操作
如果 target.method 抛出异常且
- after(Object, Method, Object[], Object) - Method in class cn.hutool.aop.aspects.SimpleAspect
-
- after(Object, Method, Object[], Object) - Method in class cn.hutool.aop.aspects.TimeIntervalAspect
-
- afterException(Object, Method, Object[], Throwable) - Method in interface cn.hutool.aop.aspects.Aspect
-
目标方法抛出异常时的操作
- afterException(Object, Method, Object[], Throwable) - Method in class cn.hutool.aop.aspects.SimpleAspect
-
- 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
-
生日转为年龄,计算法定年龄
- 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_NAME - Static variable in class cn.hutool.crypto.digest.SM3
-
- ALGORITHM_NAME - Static variable in class cn.hutool.crypto.symmetric.SM4
-
- Alias - Annotation Type in cn.hutool.core.annotation
-
别名注解,使用此注解的字段、方法、参数等会有一个别名,用于Bean拷贝、Bean转Map等
- 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
- 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.URLEncoder
-
全编码的URLEncoder
- allocate(int) - Method in class cn.hutool.core.math.Money
-
货币分配。
- allocate(long[]) - Method in class cn.hutool.core.math.Money
-
货币分配。
- 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,按需添加
- AlwaysTrueValueMatcher - Class in cn.hutool.cron.pattern.matcher
-
值匹配,始终返回true
- AlwaysTrueValueMatcher() - Constructor for class cn.hutool.cron.pattern.matcher.AlwaysTrueValueMatcher
-
- AMP - Static variable in class cn.hutool.core.util.CharUtil
-
字符常量:与 '&'
- 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数组取与
- andOfWrap(Boolean...) - Static method in class cn.hutool.core.util.BooleanUtil
-
对Boolean数组取与
- ANDROID - Static variable in class cn.hutool.http.useragent.Platform
-
android
- AndroidSupportSSLFactory - Class in cn.hutool.http.ssl
-
兼容android低版本SSL连接
在测试HttpUrlConnection的时候,发现一部分手机无法连接[GithubPage]
- AndroidSupportSSLFactory() - Constructor for class cn.hutool.http.ssl.AndroidSupportSSLFactory
-
- AnimatedGifEncoder - Class in cn.hutool.core.img.gif
-
动态GIF动画生成器,可生成一个或多个帧的GIF。
- AnimatedGifEncoder() - Constructor for class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- AnnotationUtil - Class in cn.hutool.core.annotation
-
注解工具类
快速获取注解对象、注解值等工具封装
- AnnotationUtil() - Constructor for class cn.hutool.core.annotation.AnnotationUtil
-
- AnsiSqlDialect - Class in cn.hutool.db.dialect.impl
-
ANSI SQL 方言
- AnsiSqlDialect() - Constructor for class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- 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
-
构造
- 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(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(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(T[], T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
将新元素添加到已有数组中
添加新元素会生成一个新的数组,不影响原数组
- append(Object, T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
将新元素添加到已有数组中
添加新元素会生成一个新的数组,不影响原数组
- append(Object) - Method in class cn.hutool.db.sql.SqlBuilder
-
追加SQL其它部分片段,此方法只是简单的追加SQL字符串,空格需手动加入,例如:
- append(String, Object) - Method in class cn.hutool.json.JSONObject
-
追加值,如果key无对应值,就添加一个JSONArray,其元素只有value,如果值已经是一个JSONArray,则添加到值JSONArray中。
- append(StringBuilder, String, Object) - Static method in class cn.hutool.system.SystemUtil
-
输出到StringBuilder
。
- 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, 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(Collection<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
-
追加path节点
- 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编码追加模式
- Archiver - Interface in cn.hutool.extra.compress.archiver
-
数据归档封装,归档即将几个文件或目录打成一个压缩包
- areColorsWithinTolerance(Color, Color, int) - Static method in class cn.hutool.core.img.BackgroundRemoval
-
判断颜色是否在容差范围内
对比两个颜色的相似度,判断这个相似度是否小于 tolerance 容差值
- areColorsWithinTolerance(Color, Color, Color) - Static method in class cn.hutool.core.img.BackgroundRemoval
-
判断颜色是否在容差范围内
对比两个颜色的相似度,判断这个相似度是否小于 tolerance 容差值
- Arrangement - Class in cn.hutool.core.math
-
排列A(n, m)
排列组合相关类 参考:http://cgs1999.iteye.com/blog/2327664
- Arrangement(String[]) - Constructor for class cn.hutool.core.math.Arrangement
-
构造
- arrangementCount(int, int) - Static method in class cn.hutool.core.math.MathUtil
-
计算排列数,即A(n, m) = n!/(n-m)!
- arrangementCount(int) - Static method in class cn.hutool.core.math.MathUtil
-
计算排列数,即A(n, n) = n!
- arrangementSelect(String[], int) - Static method in class cn.hutool.core.math.MathUtil
-
排列选择(从列表中选择n个排列)
- arrangementSelect(String[]) - Static method in class cn.hutool.core.math.MathUtil
-
全排列选择(列表全部参与排列)
- array(int) - Method in class cn.hutool.core.io.FastByteBuffer
-
根据索引位返回缓冲集中的缓冲
- ArrayConverter - Class in cn.hutool.core.convert.impl
-
数组转换器,包括原始类型数组
- ArrayConverter(Class<?>) - Constructor for class cn.hutool.core.convert.impl.ArrayConverter
-
构造
- ArrayConverter(Class<?>, boolean) - Constructor for class cn.hutool.core.convert.impl.ArrayConverter
-
构造
- ArrayIter<E> - Class in cn.hutool.core.collection
-
数组Iterator对象
- ArrayIter(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
-
ASCII转BCD
- ascToBcd(byte[], int) - Static method in class cn.hutool.core.codec.BCD
-
ASCII转BCD
- asEnumeration(Iterator<E>) - Static method in class cn.hutool.core.collection.CollUtil
-
Iterator转换为Enumeration
- asIterable(Iterator<E>) - Static method in class cn.hutool.core.collection.CollUtil
-
- asIterable(Iterator<E>) - Static method in class cn.hutool.core.collection.IterUtil
-
- asIterator(Enumeration<E>) - Static method in class cn.hutool.core.collection.CollUtil
-
Enumeration转换为Iterator
- asIterator(Enumeration<E>) - Static method in class cn.hutool.core.collection.IterUtil
-
Enumeration转换为Iterator
- Aspect - Interface in cn.hutool.aop.aspects
-
切面接口
- Assert - Class in cn.hutool.core.lang
-
断言
断言某些对象或值是否符合规定,否则抛出异常。经常用于做变量检查
- Assert() - Constructor for class cn.hutool.core.lang.Assert
-
- assertSameCurrencyAs(Money) - Method in class cn.hutool.core.math.Money
-
断言本货币对象与另一货币对象是否具有相同的币种。
- AsymmetricAlgorithm - Enum in cn.hutool.crypto.asymmetric
-
非对称算法类型
see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- AsymmetricCrypto - Class in cn.hutool.crypto.asymmetric
-
非对称加密算法
- AsymmetricCrypto(AsymmetricAlgorithm) - Constructor for class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
构造,创建新的私钥公钥对
- AsymmetricCrypto(String) - Constructor for class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
构造,创建新的私钥公钥对
- AsymmetricCrypto(AsymmetricAlgorithm, String, String) - Constructor for class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- AsymmetricCrypto(AsymmetricAlgorithm, byte[], byte[]) - Constructor for class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- AsymmetricCrypto(AsymmetricAlgorithm, PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- AsymmetricCrypto(String, String, String) - Constructor for class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- AsymmetricCrypto(String, byte[], byte[]) - Constructor for class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
构造
- AsymmetricCrypto(String, PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
构造
- AT - Static variable in class cn.hutool.core.util.CharUtil
-
字符常量:艾特 '@'
- AT - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:艾特 "@"
- 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中属性名枚举
- auth(String) - Method in class cn.hutool.http.HttpRequest
-
验证,简单插入Authorization头
- AUTHOR - Static variable in class cn.hutool.Hutool
-
- autoLoad(boolean) - Method in class cn.hutool.setting.dialect.Props
-
在配置文件变更时自动加载
- autoLoad(boolean) - Method in class cn.hutool.setting.Setting
-
在配置文件变更时自动加载
- autoLoad(boolean, Consumer<Boolean>) - Method in class cn.hutool.setting.Setting
-
在配置文件变更时自动加载
- autoSizeColumn(int) - Method in class cn.hutool.poi.excel.BigExcelWriter
-
- autoSizeColumn(int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置某列为自动宽度,不考虑合并单元格
此方法必须在指定列数据完全写出后调用才有效。
- autoSizeColumn(int, boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置某列为自动宽度
此方法必须在指定列数据完全写出后调用才有效。
- autoSizeColumnAll() - Method in class cn.hutool.poi.excel.BigExcelWriter
-
- autoSizeColumnAll() - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置所有列为自动宽度,不考虑合并单元格
此方法必须在指定列数据完全写出后调用才有效。
列数计算是通过第一行计算的
- available() - Method in class cn.hutool.extra.compress.extractor.Seven7EntryInputStream
-
- available() - Method in class cn.hutool.http.HttpInputStream
-
- 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
-
构造
- await() - Method in class cn.hutool.core.thread.SyncFinisher
-
- 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
-
- BackgroundRemoval - Class in cn.hutool.core.img
-
图片背景识别处理、背景替换、背景设置为矢量图
- BackgroundRemoval() - Constructor for class cn.hutool.core.img.BackgroundRemoval
-
- backgroundRemoval(String, String, int) - Static method in class cn.hutool.core.img.BackgroundRemoval
-
背景移除
图片去底工具
将 "纯色背景的图片" 还原成 "透明背景的图片"
将纯色背景的图片转成矢量图
取图片边缘的像素点和获取到的图片主题色作为要替换的背景色
再加入一定的容差值,然后将所有像素点与该颜色进行比较
发现相同则将颜色不透明度设置为0,使颜色完全透明.
- backgroundRemoval(File, File, int) - Static method in class cn.hutool.core.img.BackgroundRemoval
-
背景移除
图片去底工具
将 "纯色背景的图片" 还原成 "透明背景的图片"
将纯色背景的图片转成矢量图
取图片边缘的像素点和获取到的图片主题色作为要替换的背景色
再加入一定的容差值,然后将所有像素点与该颜色进行比较
发现相同则将颜色不透明度设置为0,使颜色完全透明.
- backgroundRemoval(File, File, Color, int) - Static method in class cn.hutool.core.img.BackgroundRemoval
-
背景移除
图片去底工具
将 "纯色背景的图片" 还原成 "透明背景的图片"
将纯色背景的图片转成矢量图
取图片边缘的像素点和获取到的图片主题色作为要替换的背景色
再加入一定的容差值,然后将所有像素点与该颜色进行比较
发现相同则将颜色不透明度设置为0,使颜色完全透明.
- backgroundRemoval(BufferedImage, Color, int) - Static method in class cn.hutool.core.img.BackgroundRemoval
-
背景移除
图片去底工具
将 "纯色背景的图片" 还原成 "透明背景的图片"
将纯色背景的图片转成矢量图
取图片边缘的像素点和获取到的图片主题色作为要替换的背景色
再加入一定的容差值,然后将所有像素点与该颜色进行比较
发现相同则将颜色不透明度设置为0,使颜色完全透明.
- backgroundRemoval(ByteArrayOutputStream, Color, int) - Static method in class cn.hutool.core.img.BackgroundRemoval
-
背景移除
图片去底工具
将 "纯色背景的图片" 还原成 "透明背景的图片"
将纯色背景的图片转成矢量图
取图片边缘的像素点和获取到的图片主题色作为要替换的背景色
再加入一定的容差值,然后将所有像素点与该颜色进行比较
发现相同则将颜色不透明度设置为0,使颜色完全透明.
- backgroundRemoval(String, String, int) - Static method in class cn.hutool.core.img.ImgUtil
-
背景移除
图片去底工具
将 "纯色背景的图片" 还原成 "透明背景的图片"
将纯色背景的图片转成矢量图
取图片边缘的像素点和获取到的图片主题色作为要替换的背景色
再加入一定的容差值,然后将所有像素点与该颜色进行比较
发现相同则将颜色不透明度设置为0,使颜色完全透明.
- backgroundRemoval(File, File, int) - Static method in class cn.hutool.core.img.ImgUtil
-
背景移除
图片去底工具
将 "纯色背景的图片" 还原成 "透明背景的图片"
将纯色背景的图片转成矢量图
取图片边缘的像素点和获取到的图片主题色作为要替换的背景色
再加入一定的容差值,然后将所有像素点与该颜色进行比较
发现相同则将颜色不透明度设置为0,使颜色完全透明.
- backgroundRemoval(File, File, Color, int) - Static method in class cn.hutool.core.img.ImgUtil
-
背景移除
图片去底工具
将 "纯色背景的图片" 还原成 "透明背景的图片"
将纯色背景的图片转成矢量图
取图片边缘的像素点和获取到的图片主题色作为要替换的背景色
再加入一定的容差值,然后将所有像素点与该颜色进行比较
发现相同则将颜色不透明度设置为0,使颜色完全透明.
- backgroundRemoval(BufferedImage, Color, int) - Static method in class cn.hutool.core.img.ImgUtil
-
背景移除
图片去底工具
将 "纯色背景的图片" 还原成 "透明背景的图片"
将纯色背景的图片转成矢量图
取图片边缘的像素点和获取到的图片主题色作为要替换的背景色
再加入一定的容差值,然后将所有像素点与该颜色进行比较
发现相同则将颜色不透明度设置为0,使颜色完全透明.
- backgroundRemoval(ByteArrayOutputStream, Color, int) - Static method in class cn.hutool.core.img.ImgUtil
-
背景移除
图片去底工具
将 "纯色背景的图片" 还原成 "透明背景的图片"
将纯色背景的图片转成矢量图
取图片边缘的像素点和获取到的图片主题色作为要替换的背景色
再加入一定的容差值,然后将所有像素点与该颜色进行比较
发现相同则将颜色不透明度设置为0,使颜色完全透明.
- BACKSLASH - Static variable in class cn.hutool.core.util.CharUtil
-
字符常量:反斜杠 '\\'
- BACKSLASH - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:反斜杠 "\\"
- BANG - Static variable in class cn.hutool.json.XML
-
The Character '!'.
- Base32 - Class in cn.hutool.core.codec
-
Base32 - encodes and decodes RFC3548 Base32 (see http://www.faqs.org/rfcs/rfc3548.html )
base32就是用32(2的5次方)个特定ASCII码来表示256个ASCII码。
所以,5个ASCII字符经过base32编码后会变为8个字符(公约数为40),长度增加3/5.不足8n用“=”补足。
see http://blog.csdn.net/earbao/article/details/44453937
- 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(byte[]) - Constructor for class cn.hutool.core.codec.Base62Codec
-
构造
- 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编码
- 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_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
-
构造
- baseStr - Variable in class cn.hutool.captcha.generator.AbstractGenerator
-
基础字符集合,用于随机获取字符串的字符集合
- BASIC_ESCAPE - Static variable in class cn.hutool.core.text.escape.Html4Escape
-
- BASIC_UNESCAPE - Static variable in class cn.hutool.core.text.escape.Html4Unescape
-
- basicAuth(String, String) - Method in class cn.hutool.http.HttpRequest
-
简单验证,生成的头信息类似于:
- basicProxyAuth(String, String) - Method in class cn.hutool.http.HttpRequest
-
简单代理验证,生成的头信息类似于:
- BasicType - Enum in cn.hutool.core.convert
-
基本变量类型的枚举
基本类型枚举包括原始类型和包装类型
- BasicTypeGetter<K> - Interface in cn.hutool.core.getter
-
基本类型的getter接口
提供一个统一的接口定义返回不同类型的值(基本类型)
- BCD - Class in cn.hutool.core.codec
-
BCD码(Binary-Coded Decimal)亦称二进码十进数或二-十进制代码
BCD码这种编码形式利用了四个位元来储存一个十进制的数码,使二进制和十进制之间的转换得以快捷的进行
see http://cuisuqiang.iteye.com/blog/1429956
- BCD() - Constructor for class cn.hutool.core.codec.BCD
-
- bcdToStr(byte[]) - Static method in class cn.hutool.core.codec.BCD
-
BCD转ASCII字符串
- BCHMacEngine - Class in cn.hutool.crypto.digest.mac
-
BouncyCastle的HMAC算法实现引擎,使用Mac
实现摘要
当引入BouncyCastle库时自动使用其作为Provider
- BCHMacEngine(Digest, byte[]) - Constructor for class cn.hutool.crypto.digest.mac.BCHMacEngine
-
构造
- BCHMacEngine(Digest, CipherParameters) - Constructor for class cn.hutool.crypto.digest.mac.BCHMacEngine
-
构造
- BCrypt - Class in cn.hutool.crypto.digest
-
BCrypt加密算法实现。由它加密的文件可在所有支持的操作系统和处理器上进行转移。它的口令必须是8至56个字符,并将在内部被转化为448位的密钥。
- BCrypt() - Constructor for class cn.hutool.crypto.digest.BCrypt
-
- bcrypt(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
生成Bcrypt加密后的密文
- bcryptCheck(String, String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
验证密码是否与Bcrypt加密后的密文匹配
- BCUtil - Class in cn.hutool.crypto
-
Bouncy Castle相关工具类封装
- BCUtil() - Constructor for class cn.hutool.crypto.BCUtil
-
- BeanConverter<T> - Class in cn.hutool.core.convert.impl
-
Bean转换器,支持:
- BeanConverter(Type) - Constructor for class cn.hutool.core.convert.impl.BeanConverter
-
构造,默认转换选项,注入失败的字段忽略
- BeanConverter(Class<T>) - Constructor for class cn.hutool.core.convert.impl.BeanConverter
-
构造,默认转换选项,注入失败的字段忽略
- BeanConverter(Type, CopyOptions) - Constructor for class cn.hutool.core.convert.impl.BeanConverter
-
构造
- BeanCopier<T> - Class in cn.hutool.core.bean.copier
-
Bean拷贝,提供:
- BeanCopier(Object, T, Type, CopyOptions) - Constructor for class cn.hutool.core.bean.copier.BeanCopier
-
构造
- BeanCopierCache - Enum in cn.hutool.extra.cglib
-
BeanCopier属性缓存
缓存用于防止多次反射造成的性能问题
- BeanDesc - Class in cn.hutool.core.bean
-
Bean信息描述做为BeanInfo替代方案,此对象持有JavaBean中的setters和getters等相关信息描述
查找Getter和Setter方法时会:
- BeanDesc(Class<?>) - Constructor for class cn.hutool.core.bean.BeanDesc
-
构造
- BeanDescCache - Enum in cn.hutool.core.bean
-
Bean属性缓存
缓存用于防止多次反射造成的性能问题
- BeanException - Exception in cn.hutool.core.bean
-
Bean异常
- BeanException(Throwable) - Constructor for exception cn.hutool.core.bean.BeanException
-
- BeanException(String) - Constructor for exception cn.hutool.core.bean.BeanException
-
- BeanException(String, Object...) - Constructor for exception cn.hutool.core.bean.BeanException
-
- BeanException(String, Throwable) - Constructor for exception cn.hutool.core.bean.BeanException
-
- BeanException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.bean.BeanException
-
- BeanHandler<E> - Class in cn.hutool.db.handler
-
Bean对象处理器,只处理第一条数据
- BeanHandler(Class<E>) - Constructor for class cn.hutool.db.handler.BeanHandler
-
- BeanInfoCache - Enum in cn.hutool.core.bean
-
Bean属性缓存
缓存用于防止多次反射造成的性能问题
- BeanListHandler<E> - Class in cn.hutool.db.handler
-
结果集处理类 ,处理出的结果为Bean列表
- BeanListHandler(Class<E>) - Constructor for class cn.hutool.db.handler.BeanListHandler
-
构造
- BeanPath - Class in cn.hutool.core.bean
-
Bean路径表达式,用于获取多层嵌套Bean中的字段值或Bean对象
根据给定的表达式,查找Bean中对应的属性值对象。 表达式分为两种:
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
表达式栗子:
- BeanPath(String) - Constructor for class cn.hutool.core.bean.BeanPath
-
构造
- BeanRowHandler<T> - Class in cn.hutool.poi.excel.sax.handler
-
Bean形式的行处理器
将一行数据转换为Map,key为指定行,value为当前行对应位置的值
- BeanRowHandler(int, int, int, Class<T>) - Constructor for class cn.hutool.poi.excel.sax.handler.BeanRowHandler
-
构造
- BeanSheetReader<T> - Class in cn.hutool.poi.excel.reader
-
读取Sheet
为bean的List列表形式
- BeanSheetReader(int, int, int, Class<T>) - Constructor for class cn.hutool.poi.excel.reader.BeanSheetReader
-
构造
- beanToMap(Object) - Static method in class cn.hutool.core.bean.BeanUtil
-
对象转Map,不进行驼峰转下划线,不忽略值为空的字段
- 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则忽略这个字段,以便实现:
- 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
- BeanUtil - Class in cn.hutool.core.bean
-
Bean工具类
- BeanUtil() - Constructor for class cn.hutool.core.bean.BeanUtil
-
- BeanValidationResult - Class in cn.hutool.extra.validation
-
bean 校验结果
- BeanValidationResult(boolean) - Constructor for class cn.hutool.extra.validation.BeanValidationResult
-
构造
- BeanValidationResult.ErrorMessage - Class in cn.hutool.extra.validation
-
错误消息,包括字段名(字段路径)、消息内容和字段值
- BeanValueProvider - Class in cn.hutool.core.bean.copier.provider
-
Bean的值提供者
- BeanValueProvider(Object, boolean, boolean) - Constructor for class cn.hutool.core.bean.copier.provider.BeanValueProvider
-
构造
- 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
-
构造
- BeetlUtil - Class in cn.hutool.extra.template.engine.beetl
-
- BeetlUtil() - Constructor for class cn.hutool.extra.template.engine.beetl.BeetlUtil
-
Deprecated.
- BeetlUtil.ResourceLoaderBuilder - Class in cn.hutool.extra.template.engine.beetl
-
Deprecated.
ResourceLoader构建器
- 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
-
- 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
- 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
-
获取秒级别的开始时间,即忽略毫秒部分
- 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
-
判断两个日期相差的天数
- BetweenFormater - Class in cn.hutool.core.date
-
- BetweenFormater(long, BetweenFormatter.Level) - Constructor for class cn.hutool.core.date.BetweenFormater
-
Deprecated.
- BetweenFormater(long, BetweenFormatter.Level, int) - Constructor for class cn.hutool.core.date.BetweenFormater
-
Deprecated.
- 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写出
- BigExcelWriter() - Constructor for class cn.hutool.poi.excel.BigExcelWriter
-
- BigExcelWriter(int) - 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
-
绑定端口到本地。 一个会话可绑定多个端口
- 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 class cn.hutool.core.lang.Validator
-
生日
- BitMap - Interface in cn.hutool.bloomfilter.bitMap
-
BitMap接口,用于将某个int或long值映射到一个数组中,从而判定某个值是否存在
- BitMapBloomFilter - Class in cn.hutool.bloomfilter
-
BlommFilter 实现
1.构建hash算法
2.散列hash映射到数组的bit位置
3.验证
此实现方式可以指定Hash算法
- BitMapBloomFilter(int) - Constructor for class cn.hutool.bloomfilter.BitMapBloomFilter
-
构造,使用默认的5个过滤器
- BitMapBloomFilter(int, BloomFilter...) - Constructor for class cn.hutool.bloomfilter.BitMapBloomFilter
-
使用自定的多个过滤器建立BloomFilter
- BitSetBloomFilter - Class in cn.hutool.bloomfilter
-
BloomFilter实现方式2,此方式使用BitSet存储。
Hash算法的使用使用固定顺序,只需指定个数即可
- BitSetBloomFilter(int, int, int) - Constructor for class cn.hutool.bloomfilter.BitSetBloomFilter
-
构造一个布隆过滤器,过滤器的容量为c * n 个bit.
- 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
-
- blockSize - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- BloomFilter - Interface in cn.hutool.bloomfilter
-
Bloom filter 是由 Howard Bloom 在 1970 年提出的二进制向量数据结构,它具有很好的空间和时间效率,被用来检测一个元素是不是集合中的一个成员。
如果检测结果为是,该元素不一定在集合中;但如果检测结果为否,该元素一定不在集合中。
因此Bloom filter具有100%的召回率。这样每个检测请求返回有“在集合内(可能错误)”和“不在集合内(绝对不在集合内)”两种情况。
- BloomFilterUtil - Class in cn.hutool.bloomfilter
-
布隆过滤器工具
- BloomFilterUtil() - Constructor for class cn.hutool.bloomfilter.BloomFilterUtil
-
- body(String) - Method in class cn.hutool.http.HttpRequest
-
设置内容主体
请求体body参数支持两种类型:
- body(String, String) - Method in class cn.hutool.http.HttpRequest
-
设置内容主体
请求体body参数支持两种类型:
- body(byte[]) - Method in class cn.hutool.http.HttpRequest
-
设置主体字节码
需在此方法调用前使用charset方法设置编码,否则使用默认编码UTF-8
- body() - Method in class cn.hutool.http.HttpResponse
-
获取响应主体
- bodyBytes - Variable in class cn.hutool.http.HttpBase
-
存储主体
- 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
-
- BoolArrayValueMatcher - Class in cn.hutool.cron.pattern.matcher
-
将表达式中的数字值列表转换为Boolean数组,匹配时匹配相应数组位
- BoolArrayValueMatcher(List<Integer>) - Constructor for class cn.hutool.cron.pattern.matcher.BoolArrayValueMatcher
-
- BooleanConverter - Class in cn.hutool.core.convert.impl
-
波尔转换器
- BooleanConverter() - Constructor for class cn.hutool.core.convert.impl.BooleanConverter
-
- BooleanUtil - Class in cn.hutool.core.util
-
Boolean类型相关工具类
- BooleanUtil() - Constructor for class cn.hutool.core.util.BooleanUtil
-
- Bopomofo4jEngine - Class in cn.hutool.extra.pinyin.engine.bopomofo4j
-
封装了Bopomofo4j的引擎。
- Bopomofo4jEngine() - Constructor for class cn.hutool.extra.pinyin.engine.bopomofo4j.Bopomofo4jEngine
-
- boundary - Variable in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
part部分边界
- BoundedPriorityQueue<E> - Class in cn.hutool.core.collection
-
有界优先队列
按照给定的排序规则,排序元素,当队列满时,按照给定的排序规则淘汰末尾元素(去除末尾元素)
- BoundedPriorityQueue(int) - Constructor for class cn.hutool.core.collection.BoundedPriorityQueue
-
- BoundedPriorityQueue(int, Comparator<? super E>) - Constructor for class cn.hutool.core.collection.BoundedPriorityQueue
-
构造
- BRACKET_END - Static variable in class cn.hutool.core.util.CharUtil
-
字符常量:中括号(右) ']'
- BRACKET_END - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:中括号(右) "]"
- BRACKET_START - Static variable in class cn.hutool.core.util.CharUtil
-
字符常量:中括号(左) '['
- BRACKET_START - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:中括号(左) "["
- brief(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
将给定字符串,变成 "xxx...xxx" 形式的字符串
- 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
-
构造
- 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.HashCodeBuilder
-
Returns the computed hashCode
.
- 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() - Method in class cn.hutool.core.map.MapBuilder
-
创建后的map
- build() - Method in class cn.hutool.core.net.SSLContextBuilder
-
- build() - Method in class cn.hutool.core.net.url.UrlBuilder
-
创建URL字符串
- build(Charset) - Method in class cn.hutool.core.net.url.UrlPath
-
构建path,前面带'/'
- build(Charset) - Method in class cn.hutool.core.net.url.UrlQuery
-
构建URL查询字符串,即将key-value键值对转换为key1=v1&key2=&key3=v3形式
- build() - Method in class cn.hutool.core.thread.ExecutorBuilder
-
构建ThreadPoolExecutor
- build() - Method in class cn.hutool.core.thread.ThreadFactoryBuilder
-
- build(String, ValueParser) - Static method in class cn.hutool.cron.pattern.matcher.ValueMatcherBuilder
-
处理定时任务表达式每个时间字段
多个时间使用逗号分隔
- build() - Method in class cn.hutool.db.sql.ConditionBuilder
-
构建组合条件
例如:name = ? AND type IN (?, ?) AND other LIKE ?
- build(List<Object>) - Method in class cn.hutool.db.sql.ConditionBuilder
-
构建组合条件
例如:name = ? AND type IN (?, ?) AND other LIKE ?
- build() - Method in class cn.hutool.db.sql.SqlBuilder
-
构建,默认打印SQL日志
- build() - Method in class cn.hutool.extra.template.engine.beetl.BeetlUtil.ResourceLoaderBuilder
-
Deprecated.
构建
- build(String, Charset) - Static method in enum cn.hutool.http.ContentType
-
输出Content-Type字符串,附带编码信息
- build() - Method in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
构建SSLSocketFactory
- buildBasicAuth(String, String, Charset) - Static method in class cn.hutool.http.HttpUtil
-
构建简单的账号秘密验证信息,构建后类似于:
- 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语句中的值,创建的结果为:
- buildQuery(Map<String, ?>, Charset) - Static method in class cn.hutool.core.util.URLUtil
-
将Map形式的Form表单数据转换为Url参数形式
paramMap中如果key为空(null和"")会被忽略,如果value为null,会被做为空白符("")
会自动url编码键和值
- buildQuietly() - Method in class cn.hutool.core.net.SSLContextBuilder
-
- 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
-
编码字符串
- 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
-
构造
- bytesToInt(byte[]) - Static method in class cn.hutool.core.convert.Convert
-
byte[]转int值
- bytesToLong(byte[]) - Static method in class cn.hutool.core.convert.Convert
-
byte数组转long
from: https://stackoverflow.com/questions/4485128/how-do-i-convert-long-to-byte-and-back-in-java
- bytesToShort(byte[]) - Static method in class cn.hutool.core.convert.Convert
-
byte数组转short
- byteToUnsignedInt(byte) - Static method in class cn.hutool.core.convert.Convert
-
byte转无符号int
- 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 class cn.hutool.core.util.StrUtil
-
字符常量:艾特 '@'
- C_BACKSLASH - Static variable in class cn.hutool.core.util.StrUtil
-
字符常量:反斜杠 '\\'
- C_BRACKET_END - Static variable in class cn.hutool.core.util.StrUtil
-
字符常量:中括号(右) ']'
- C_BRACKET_START - Static variable in class cn.hutool.core.util.StrUtil
-
字符常量:中括号(左) '['
- C_COLON - Static variable in class cn.hutool.core.util.StrUtil
-
字符常量:冒号 ':'
- C_COMMA - Static variable in class cn.hutool.core.util.StrUtil
-
字符常量:逗号 ','
- C_CR - Static variable in class cn.hutool.core.util.StrUtil
-
字符常量:回车符 '\r'
- C_DELIM_END - Static variable in class cn.hutool.core.util.StrUtil
-
字符常量:花括号(右) '}'
- C_DELIM_START - Static variable in class cn.hutool.core.util.StrUtil
-
字符常量:花括号(左) '{'
- C_DOT - Static variable in class cn.hutool.core.util.StrUtil
-
字符常量:点 '.'
- C_LF - Static variable in class cn.hutool.core.util.StrUtil
-
字符常量:换行符 '\n'
- C_SLASH - Static variable in class cn.hutool.core.util.StrUtil
-
字符常量:斜杠 '/'
- C_SPACE - Static variable in class cn.hutool.core.util.StrUtil
-
字符常量:空格符 ' '
- C_TAB - Static variable in class cn.hutool.core.util.StrUtil
-
字符常量:制表符 '\t'
- C_UNDERLINE - Static variable in class cn.hutool.core.util.StrUtil
-
字符常量:下划线 '_'
- Cache<K,V> - Interface in cn.hutool.cache
-
缓存接口
- cache - Variable in class cn.hutool.cache.file.AbstractFileCache
-
缓存实现
- 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
-
构造
- cacheObjIterator() - Method in interface cn.hutool.cache.Cache
-
返回包含键和值得迭代器
- cacheObjIterator() - Method in class cn.hutool.cache.impl.AbstractCache
-
- CacheObjIterator<K,V> - Class in cn.hutool.cache.impl
-
- cacheObjIterator() - Method in class cn.hutool.cache.impl.NoCache
-
- 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
-
按照给定的表达式计算
- Calculator - Class in cn.hutool.core.math
-
数学表达式计算工具类
见:https://github.com/looly/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对象
- 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(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
-
截屏
- 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
-
构造
- 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
-
构造
- 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
-
- 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
-
导致这个异常的异常是否是指定类型的异常
- 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
-
打开指定目录,如果指定路径非目录或不存在返回false
- 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(Date, DateField) - 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
-
单元格编辑器接口
- cellEditor - Variable in class cn.hutool.poi.excel.reader.AbstractSheetReader
-
单元格值处理接口
- CellHandler - Interface in cn.hutool.poi.excel.cell
-
单元格处理器接口
- CellLocation - Class in cn.hutool.poi.excel.cell
-
单元格位置
- CellLocation(int, int) - Constructor for class cn.hutool.poi.excel.cell.CellLocation
-
构造
- cellStyle - Variable in class cn.hutool.poi.excel.StyleSet
-
默认样式
- cellStyleForDate - Variable in class cn.hutool.poi.excel.StyleSet
-
默认日期样式
- cellStyleForNumber - Variable in class cn.hutool.poi.excel.StyleSet
-
默认数字样式
- CellUtil - Class in cn.hutool.poi.excel.cell
-
Excel表格中单元格工具类
- CellUtil() - Constructor for class cn.hutool.poi.excel.cell.CellUtil
-
- CellValue<T> - Interface in cn.hutool.poi.excel.cell
-
抽象的单元格值接口,用于判断不同类型的单元格值
- center(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
居中字符串,两边补充指定字符串,如果指定长度小于字符串,则返回原字符串
- center(CharSequence, int, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
居中字符串,两边补充指定字符串,如果指定长度小于字符串,则返回原字符串
- center(CharSequence, int, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
居中字符串,两边补充指定字符串,如果指定长度小于字符串,则返回原字符串
- 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
-
- Chain<E,T> - Interface in cn.hutool.core.lang
-
责任链接口
- 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再去解密
- ChannelHandler - Interface in cn.hutool.socket.nio
-
- ChannelType - Enum in cn.hutool.extra.ssh
-
Jsch支持的Channel类型
- 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
-
- characters(char[], int, int) - Method in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
- charAt(int) - Method in class cn.hutool.core.text.StrBuilder
-
- 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
-
- checkBetween(int, int, int) - 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) - 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
-
- checkIndex(int, int) - Static method in class cn.hutool.core.lang.Assert
-
检查下标(数组、集合、字符串)是否符合要求,下标必须满足:
- checkIndex(int, int, String, Object...) - Static method in class cn.hutool.core.lang.Assert
-
检查下标(数组、集合、字符串)是否符合要求,下标必须满足:
- 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
-
- 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异常
- checkValueNull() - Method in class cn.hutool.db.sql.Condition
-
检查值是否为null,如果为null转换为 "IS NULL"形式
- CHINESE - Static variable in class cn.hutool.core.lang.PatternPool
-
单个中文汉字
- CHINESE_DATE_FORMAT - 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_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
-
标准日期格式:yyyy年MM月dd日 HH时mm分ss秒
- ChineseDate - Class in cn.hutool.core.date
-
农历日期工具,最大支持到2055年,支持:
通过公历日期构造获取对应农历
通过农历日期直接构造
- ChineseDate(Date) - Constructor for class cn.hutool.core.date.ChineseDate
-
通过公历日期构造
- ChineseDate(int, int, int) - Constructor for class cn.hutool.core.date.ChineseDate
-
构造方法传入日期
- ChineseMonth - Class in cn.hutool.core.date.chinese
-
农历月份表示
- ChineseMonth() - Constructor for class cn.hutool.core.date.chinese.ChineseMonth
-
- CHINESES - Static variable in class cn.hutool.core.lang.PatternPool
-
中文汉字
- chr(int) - Static method in class cn.hutool.http.HTMLFilter
-
- cipher - Variable in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
Cipher负责完成加密或解密工作
- CipherMode - Enum in cn.hutool.crypto
-
Cipher模式的枚举封装
- 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
-
构造
- CITIZEN_ID - Static variable in class cn.hutool.core.lang.PatternPool
-
18位身份证号码
- CITIZEN_ID - Static variable in class cn.hutool.core.lang.Validator
-
身份证号码
- CityHash - Class in cn.hutool.core.lang.hash
-
Google发布的Hash计算算法:CityHash64 与 CityHash128。
它们分别根据字串计算 64 和 128 位的散列值。这些算法不适用于加密,但适合用在散列表等处。
- CityHash() - Constructor for class cn.hutool.core.lang.hash.CityHash
-
- cityHash128(byte[]) - Static method in class cn.hutool.core.util.HashUtil
-
CityHash算法128-bit实现
- cityHash128(byte[], Number128) - Static method in class cn.hutool.core.util.HashUtil
-
CityHash算法128-bit实现
- cityHash32(byte[]) - Static method in class cn.hutool.core.util.HashUtil
-
CityHash算法32-bit实现
- cityHash64(byte[], long) - Static method in class cn.hutool.core.util.HashUtil
-
CityHash算法64-bit实现,种子1使用默认的CityHash#k2
- cityHash64(byte[], long, long) - Static method in class cn.hutool.core.util.HashUtil
-
CityHash算法64-bit实现,种子1使用默认的CityHash#k2
- cityHash64(byte[]) - Static method in class cn.hutool.core.util.HashUtil
-
CityHash算法64-bit实现
- 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路径会直接报错。
传入的path所指向的资源必须存在,否则报错
- ClassPathResource(String) - Constructor for class cn.hutool.core.io.resource.ClassPathResource
-
构造
- ClassPathResource(String, ClassLoader) - Constructor for class cn.hutool.core.io.resource.ClassPathResource
-
构造
- ClassPathResource(String, Class<?>) - Constructor for class cn.hutool.core.io.resource.ClassPathResource
-
构造
- ClassPathResource(String, ClassLoader, Class<?>) - Constructor for class cn.hutool.core.io.resource.ClassPathResource
-
构造
- ClassScanner - Class in cn.hutool.core.lang
-
类扫描器
- ClassScanner() - Constructor for class cn.hutool.core.lang.ClassScanner
-
构造,默认UTF-8编码
- ClassScanner(String) - Constructor for class cn.hutool.core.lang.ClassScanner
-
构造,默认UTF-8编码
- ClassScanner(String, Filter<Class<?>>) - Constructor for class cn.hutool.core.lang.ClassScanner
-
构造,默认UTF-8编码
- ClassScanner(String, Filter<Class<?>>, Charset) - Constructor for class cn.hutool.core.lang.ClassScanner
-
构造
- ClassUtil - Class in cn.hutool.core.util
-
类工具类
- ClassUtil() - Constructor for class cn.hutool.core.util.ClassUtil
-
- clean(String) - Static method in class cn.hutool.core.io.FileUtil
-
清空文件夹
注意:清空文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
- clean(File) - Static method in class cn.hutool.core.io.FileUtil
-
清空文件夹
注意:清空文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
- cleanBlank(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
清理空白字符
- cleanComment(String) - Static method in class cn.hutool.core.util.XmlUtil
-
去除XML文本中的注释内容
- cleanEmpty(File) - Static method in class cn.hutool.core.io.FileUtil
-
清理空文件夹
此方法用于递归删除空的文件夹,不删除文件
如果传入的文件夹本身就是空的,删除这个文件夹
- cleanHtmlTag(String) - Static method in class cn.hutool.http.HtmlUtil
-
清除所有HTML标签,但是不删除标签内的内容
- cleanInvalid(String) - Static method in class cn.hutool.core.io.file.FileNameUtil
-
清除文件名中的在Windows下不支持的非法字符,包括: \ / : * ? " < > |
- cleanInvalid(String) - Static method in class cn.hutool.core.io.FileUtil
-
清除文件名中的在Windows下不支持的非法字符,包括: \ / : * ? " < > |
- cleanInvalid(String) - Static method in class cn.hutool.core.util.XmlUtil
-
去除XML文本中的无效字符
- clear() - Method in interface cn.hutool.cache.Cache
-
清空缓存
- clear() - Method in class cn.hutool.cache.file.AbstractFileCache
-
清空缓存
- clear() - Method in class cn.hutool.cache.impl.AbstractCache
-
- clear() - Method in class cn.hutool.cache.impl.NoCache
-
- clear(Collection<?>...) - Static method in class cn.hutool.core.collection.CollUtil
-
清除一个或多个集合内的元素,每个集合调用clear()方法
- clear() - Method in class cn.hutool.core.collection.ConcurrentHashSet
-
- clear() - Method in class cn.hutool.core.collection.TransCollection
-
- 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 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.TableMap
-
- clear() - Method in class cn.hutool.core.text.csv.CsvRow
-
- clear() - Method in class cn.hutool.core.text.StrBuilder
-
删除全部字符,位置归零
- clear() - Method in class cn.hutool.cron.Scheduler
-
清空任务表
- clear() - Method in class cn.hutool.json.JSONArray
-
- clear() - Method in class cn.hutool.json.JSONObject
-
- 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.ExcelWriter
-
清空标题别名,key为Map中的key,value为别名
- clearListener() - Method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
清空监听
- clearParameters() - Method in class cn.hutool.db.sql.StatementWrapper
-
- 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.lang.Dict
-
- 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() - Method in class cn.hutool.db.ActiveEntity
-
- clone() - Method in class cn.hutool.db.Entity
-
- 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
-
- CloneSupport<T> - Class in cn.hutool.core.clone
-
克隆支持类,提供默认的克隆方法
- CloneSupport() - Constructor for class cn.hutool.core.clone.CloneSupport
-
- close() - Method in class cn.hutool.core.collection.LineIter
-
关闭Reader
- close() - Method in class cn.hutool.core.io.BOMInputStream
-
- 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.CsvWriter
-
- 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.SenvenZExtractor
-
- 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.http.HttpInputStream
-
- close() - Method in class cn.hutool.http.HttpResponse
-
- 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
-
- closeConnection(Connection) - Method in class cn.hutool.db.SqlRunner
-
Deprecated.
- closeCookie() - Static method in class cn.hutool.http.HttpGlobalConfig
-
关闭Cookie
- closeCookie() - Static method in class cn.hutool.http.HttpRequest
-
关闭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是Hu + tool的自造词,前者致敬我的“前任公司”,后者为工具之意,谐音“糊涂”,寓意追求“万事都作糊涂观,无所谓失,无所谓得”的境界。
- 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.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.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.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.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.intern - package cn.hutool.core.lang.intern
-
规范化表示形式封装
所谓规范化,即当两个对象equals时,规范化的对象则可以实现==
此包中的相关封装类似于 String#intern()
- cn.hutool.core.lang.loader - package cn.hutool.core.lang.loader
-
加载器的抽象接口和实现,包括懒加载的实现等
- cn.hutool.core.lang.mutable - package cn.hutool.core.lang.mutable
-
提供可变值对象的封装,用于封装int、long等不可变值,使其可变
- cn.hutool.core.lang.reflect - package cn.hutool.core.lang.reflect
-
提供反射相关功能对象和类
- cn.hutool.core.lang.tree - package cn.hutool.core.lang.tree
-
提供通用树生成,特点:
- cn.hutool.core.lang.tree.parser - package cn.hutool.core.lang.tree.parser
-
- cn.hutool.core.map - package cn.hutool.core.map
-
Map相关封装,提供特殊Map实现以及Map工具MapUtil
- cn.hutool.core.map.multi - package cn.hutool.core.map.multi
-
列表类型值的Map实现
- 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.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
- cn.hutool.core.text.escape - package cn.hutool.core.text.escape
-
提供各种转义和反转义实现
- cn.hutool.core.text.replacer - package cn.hutool.core.text.replacer
-
文本替换类抽象及实现
- 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表达式)
- 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
-
定时任务中作业的抽象封装和实现,包括Runnable实现和反射实现
- cn.hutool.crypto - package cn.hutool.crypto
-
加密解密模块,实现了对JDK中加密解密算法的封装,入口为SecureUtil,实现了:
- cn.hutool.crypto.asymmetric - package cn.hutool.crypto.asymmetric
-
非对称加密的实现,包括RSA等
- cn.hutool.crypto.digest - package cn.hutool.crypto.digest
-
摘要加密算法实现,入口为DigestUtil
- cn.hutool.crypto.digest.mac - package cn.hutool.crypto.digest.mac
-
HMAC,全称为“Hash Message Authentication Code”,中文名“散列消息鉴别码”
主要是利用哈希算法,以一个密钥和一个消息为输入,生成一个消息摘要作为输出。
一般的,消息鉴别码用于验证传输于两个共 同享有一个密钥的单位之间的消息。
HMAC 可以与任何迭代散列函数捆绑使用。MD5 和 SHA-1 就是这种散列函数。HMAC 还可以使用一个用于计算和确认消息鉴别值的密钥。
- cn.hutool.crypto.digest.otp - package cn.hutool.crypto.digest.otp
-
OTP 是 One-Time Password的简写,表示一次性密码。
- cn.hutool.crypto.symmetric - package cn.hutool.crypto.symmetric
-
对称加密算法实现,包括AES、DES、DESede等
- cn.hutool.db - package cn.hutool.db
-
Hutool-db是一个在JDBC基础上封装的数据库操作工具类,通过包装,使用ActiveRecord思想操作数据库。
在Hutool-db中,使用Entity(本质上是个Map)代替Bean来使数据库操作更加灵活,同时提供Bean和Entity的转换提供传统ORM的兼容支持。
- cn.hutool.db.dialect - package cn.hutool.db.dialect
-
数据库方言封装,包括数据库方言以及方言自动识别等
- cn.hutool.db.dialect.impl - package cn.hutool.db.dialect.impl
-
数据库方言实现,包括MySQL、Oracle、PostgreSQL、Sqlite3、H2、SqlServer2012等
- cn.hutool.db.ds - package cn.hutool.db.ds
-
数据源封装,对各类数据库连接池的封装
- cn.hutool.db.ds.bee - package cn.hutool.db.ds.bee
-
BeeCP封装
见:https://github.com/Chris2018998/BeeCP
- cn.hutool.db.ds.c3p0 - package cn.hutool.db.ds.c3p0
-
C3P0封装
- cn.hutool.db.ds.dbcp - package cn.hutool.db.ds.dbcp
-
DBCP封装
- cn.hutool.db.ds.druid - package cn.hutool.db.ds.druid
-
Druid封装
- cn.hutool.db.ds.hikari - package cn.hutool.db.ds.hikari
-
Hikari封装
- cn.hutool.db.ds.jndi - package cn.hutool.db.ds.jndi
-
JNDI封装
- cn.hutool.db.ds.pooled - package cn.hutool.db.ds.pooled
-
Hutool对连接池的简单实现
- cn.hutool.db.ds.simple - package cn.hutool.db.ds.simple
-
JDBC中DriverManager简易封装
- cn.hutool.db.ds.tomcat - package cn.hutool.db.ds.tomcat
-
Tomcat-Pool封装
- cn.hutool.db.handler - package cn.hutool.db.handler
-
JDBC结果集(ResultSet)转换封装,通过实现RsHandler接口,将ResultSet转换为我们想要的数据类型
- cn.hutool.db.meta - package cn.hutool.db.meta
-
JDBC数据表元数据信息封装,包括表结构、列信息的封装,入口为MetaUtil
- cn.hutool.db.nosql - package cn.hutool.db.nosql
-
NoSQL封装,包括Redis和MongoDB等数据库操作的封装
- cn.hutool.db.nosql.mongo - package cn.hutool.db.nosql.mongo
-
MongoDB数据库操作的封装
- cn.hutool.db.nosql.redis - package cn.hutool.db.nosql.redis
-
Redis(Jedis)数据库操作的封装
- cn.hutool.db.sql - package cn.hutool.db.sql
-
SQL语句和Statement构建封装
- cn.hutool.db.transaction - package cn.hutool.db.transaction
-
事务相关类和操作
- cn.hutool.dfa - package cn.hutool.dfa
-
DFA全称为:Deterministic Finite Automaton,即确定有穷自动机。
解释起来原理其实也不难,就是用所有关键字构造一棵树,然后用正文遍历这棵树,遍历到叶子节点即表示文章中存在这个关键字。
我们暂且忽略构建关键词树的时间,每次查找正文只需要O(n)复杂度就可以搞定。
- cn.hutool.extra - package cn.hutool.extra
-
由于Hutool的原则是不依赖于其它配置文件,但是很多时候我们需要针对第三方非常棒的库做一些工具类化的支持,因此Hutoo-extra包主要用于支持第三方库的工具类支持。
- cn.hutool.extra.cglib - package cn.hutool.extra.cglib
-
Cglib库方法封装
- cn.hutool.extra.compress - package cn.hutool.extra.compress
-
基于commons-compress的压缩解压封装
支持包括:gzip, bzip2, xz, lzma, Pack200, DEFLATE, Brotli, DEFLATE64, ZStandard and Z, the archiver formats are 7z,
ar, arj, cpio, dump, tar and zip等格式。
- cn.hutool.extra.compress.archiver - package cn.hutool.extra.compress.archiver
-
基于commons-compress的打包(压缩)封装
- cn.hutool.extra.compress.extractor - package cn.hutool.extra.compress.extractor
-
基于commons-compress的解包(解压缩)封装
- cn.hutool.extra.emoji - package cn.hutool.extra.emoji
-
基于https://github.com/vdurmont/emoji-java的Emoji表情工具类
- cn.hutool.extra.expression - package cn.hutool.extra.expression
-
表达式语言引擎封装
- cn.hutool.extra.expression.engine - package cn.hutool.extra.expression.engine
-
表达式语言引擎封装
- cn.hutool.extra.expression.engine.aviator - package cn.hutool.extra.expression.engine.aviator
-
Aviator引擎封装,见:https://github.com/killme2008/aviatorscript
- cn.hutool.extra.expression.engine.jexl - package cn.hutool.extra.expression.engine.jexl
-
Jexl3引擎封装,见:https://github.com/apache/commons-jexl
- cn.hutool.extra.expression.engine.jfireel - package cn.hutool.extra.expression.engine.jfireel
-
JfireEL引擎封装
见:https://gitee.com/eric_ds/jfireEL
- cn.hutool.extra.expression.engine.mvel - package cn.hutool.extra.expression.engine.mvel
-
MVEL (MVFLEX Expression Language)引擎封装
见:https://github.com/mvel/mvel
- cn.hutool.extra.expression.engine.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
-
拼音工具封装,基于TinyPinyin
- 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.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实现
- cn.hutool.extra.template.engine.enjoy - package cn.hutool.extra.template.engine.enjoy
-
Jfinal家的Enjoy模板引擎实现
- cn.hutool.extra.template.engine.freemarker - package cn.hutool.extra.template.engine.freemarker
-
Freemarker实现
见:https://freemarker.apache.org/
- cn.hutool.extra.template.engine.rythm - package cn.hutool.extra.template.engine.rythm
-
Rythm实现
- cn.hutool.extra.template.engine.thymeleaf - package cn.hutool.extra.template.engine.thymeleaf
-
Thymeleaf实现
- cn.hutool.extra.template.engine.velocity - package cn.hutool.extra.template.engine.velocity
-
Velocity实现
见:http://velocity.apache.org/
- 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.log - package cn.hutool.log
-
Hutool-log只是一个日志的通用门面,功能类似于Slf4j。
根据加入ClassPath中的jar包动态检测日志实现的方式,使日志使用个更加便利灵活。
- cn.hutool.log.dialect - package cn.hutool.log.dialect
-
第三方日志库的实现封装
- cn.hutool.log.dialect.commons - package cn.hutool.log.dialect.commons
-
Apache-Commons-Logging日志库的实现封装
- cn.hutool.log.dialect.console - package cn.hutool.log.dialect.console
-
控制台输出的实现封装
- cn.hutool.log.dialect.jboss - package cn.hutool.log.dialect.jboss
-
jboss-logging实现
- cn.hutool.log.dialect.jdk - package cn.hutool.log.dialect.jdk
-
JDK-Logging的实现封装
- cn.hutool.log.dialect.log4j - package cn.hutool.log.dialect.log4j
-
Log4j的实现封装
- cn.hutool.log.dialect.log4j2 - package cn.hutool.log.dialect.log4j2
-
Log4j2的实现封装
- cn.hutool.log.dialect.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库。
这个库异常强大,但是使用起来也并不容易。Hutool针对POI封装一些常用工具,使Java操作Excel等文件变得异常简单。
- cn.hutool.poi.excel - package cn.hutool.poi.excel
-
POI中对Excel读写的封装,入口为ExcelUtil
- cn.hutool.poi.excel.cell - package cn.hutool.poi.excel.cell
-
Excel中单元格相关类,入口为CellUtil
- cn.hutool.poi.excel.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
-
配置文件实现分装,例如Properties封装Props
- 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
-
验证码
- 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
-
构造
- 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 class cn.hutool.core.util.CharUtil
-
字符常量:冒号 ':'
- COLON - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:冒号 ":"
- 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
-
- Column - Class in cn.hutool.db.meta
-
数据库表的列信息
- Column() - Constructor for class cn.hutool.db.meta.Column
-
构造
- Column(String, ResultSet) - Constructor for class cn.hutool.db.meta.Column
-
- Column(Table, ResultSet) - Constructor for class cn.hutool.db.meta.Column
-
构造
- 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
-
构造
- combinationCount(int, int) - Static method in class cn.hutool.core.math.MathUtil
-
计算组合数,即C(n, m) = n!/((n-m)! * m!)
- combinationSelect(String[], int) - Static method in class cn.hutool.core.math.MathUtil
-
组合选择(从列表中选择n个组合)
- COMMA - Static variable in class cn.hutool.core.util.CharUtil
-
字符常量:逗号 ','
- COMMA - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:逗号 ","
- 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
-
提交事务
- ComparableComparator<E extends Comparable<? super E>> - Class in cn.hutool.core.comparator
-
- ComparableComparator() - Constructor for class cn.hutool.core.comparator.ComparableComparator
-
构造
- ComparatorChain<E> - Class in cn.hutool.core.comparator
-
比较器链。此链包装了多个比较器,最终比较结果按照比较器顺序综合多个比较器结果。
按照比较器链的顺序分别比较,如果比较出相等则转向下一个比较器,否则直接返回
此类copy from Apache-commons-collections
- 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接口)
- compare(T, T) - Static method in class cn.hutool.core.comparator.CompareUtil
-
null
安全的对象比较,null
对象小于任何对象
- compare(T, T, boolean) - Static method in class cn.hutool.core.comparator.CompareUtil
-
null
安全的对象比较
- compare(T, T, boolean) - Static method in class cn.hutool.core.comparator.CompareUtil
-
自然比较两个对象的大小,比较规则如下:
- compare(T, T) - Method in class cn.hutool.core.comparator.FieldComparator
-
- compare(T, T) - Method in class cn.hutool.core.comparator.IndexedComparator
-
- compare(T, T) - Method in class cn.hutool.core.comparator.InstanceComparator
-
- compare(String, String) - Method in class cn.hutool.core.comparator.PinyinComparator
-
- compare(T, T) - Method in class cn.hutool.core.comparator.PropertyComparator
-
- compare(E, E) - Method in class cn.hutool.core.comparator.ReverseComparator
-
- compare(String, String) - Method in class cn.hutool.core.comparator.VersionComparator
-
比较两个版本
null版本排在最小:即:
- 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(char, char) - Method in class cn.hutool.core.math.Calculator
-
利用ASCII码-40做下标去算术符号优先级
- compare(CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
比较两个字符串,用于排序
- compare(char, char) - Static method in class cn.hutool.core.util.NumberUtil
-
比较两个值的大小
- compare(double, double) - Static method in class cn.hutool.core.util.NumberUtil
-
比较两个值的大小
- compare(int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
比较两个值的大小
- compare(long, long) - Static method in class cn.hutool.core.util.NumberUtil
-
比较两个值的大小
- compare(short, short) - Static method in class cn.hutool.core.util.NumberUtil
-
比较两个值的大小
- compare(byte, byte) - Static method in class cn.hutool.core.util.NumberUtil
-
比较两个值的大小
- compare(T, T) - Static method in class cn.hutool.core.util.ObjectUtil
-
null
安全的对象比较,null
对象排在末尾
- compare(T, T, boolean) - Static method in class cn.hutool.core.util.ObjectUtil
-
null
安全的对象比较
- compareIgnoreCase(CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
比较两个字符串,用于排序,大小写不敏感
- 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(Money) - Method in class cn.hutool.core.math.Money
-
货币比较。
- 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版本排在最小:即:
- 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(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
-
- complateUrl(String, String) - Static method in class cn.hutool.core.util.URLUtil
-
- 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(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(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class cn.hutool.core.map.MapWrapper
-
- computeIfAbsent(K, Function<? super K, ? 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.MapWrapper
-
- 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
-
高并发测试工具类
- 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语句的一部分,并将参数值转换为占位符,并提取对应位置的参数值。
例如:name = ? AND type IN (?, ?) AND other LIKE ?
- ConditionBuilder(Condition...) - Constructor for class cn.hutool.db.sql.ConditionBuilder
-
构造
- config - Variable in class cn.hutool.cron.Scheduler
-
定时任务配置
- 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
-
连接
- 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
-
- 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
-
- 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(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中所有的元素,即集合2是否为集合1的子集
- 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
- containsEmoji(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
-
是否包含Emoji表情的Unicode符
- containsHeader - Variable in class cn.hutool.core.text.csv.CsvReadConfig
-
是否首行做为标题行,默认false
- 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.AbstractCache
-
- containsKey(K) - Method in class cn.hutool.cache.impl.NoCache
-
- 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(String) - Method in class cn.hutool.core.bean.copier.provider.MapValueProvider
-
- 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.map.CustomKeyMap
-
- 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.TableMap
-
- containsKey(Object) - Method in class cn.hutool.json.JSONObject
-
- 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
-
检查指定字符串中是否只包含给定的字符
- containsProp(String) - Method in class cn.hutool.core.bean.DynaBean
-
检查是否有指定名称的bean属性
- 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.MapProxy
-
- containsValue(Object) - Method in class cn.hutool.core.map.MapWrapper
-
- containsValue(Object) - Method in class cn.hutool.core.map.TableMap
-
- containsValue(Object) - Method in class cn.hutool.json.JSONObject
-
- 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
-
默认分组(空分组)中是否包含指定值
- 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
-
设置内容长度
- 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(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<?>, Function<Object, String>) - Static method in class cn.hutool.core.convert.impl.NumberConverter
-
转换对象为数字
- convert(Object, Class<?>, Function<Object, String>) - Static method in class cn.hutool.core.convert.impl.PrimitiveConverter
-
将指定值转换为原始类型的值
- 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, boolean) - Static method in class cn.hutool.core.img.ImgUtil
-
图像类型转换:GIF=》JPG、GIF=》PNG、PNG=》JPG、PNG=》GIF(X)、BMP=》PNG
此方法并不关闭流
- convert(String, String, String) - Static method in class cn.hutool.core.util.CharsetUtil
-
转换字符串的字符集编码
- convert(String, Charset, Charset) - Static method in class cn.hutool.core.util.CharsetUtil
-
转换字符串的字符集编码
当以错误的编码读取为字符串时,打印字符串将出现乱码。
此方法用于纠正因读取使用编码错误导致的乱码问题。
例如,在Servlet请求中客户端用GBK编码了请求参数,我们使用UTF-8读取到的是乱码,此时,使用此方法即可还原原编码的内容
- convert(File, Charset, Charset) - Static method in class cn.hutool.core.util.CharsetUtil
-
转换文件编码
此方法用于转换文件编码,读取的文件实际编码必须与指定的srcCharset编码一致,否则导致乱码
- convert(Object, JSON) - Method in class cn.hutool.json.JSONConverter
-
- convert15To18(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
将15位身份证号码转换为18位
- 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<T> - Interface in cn.hutool.core.convert
-
转换器接口,实现类型转换
- ConverterRegistry - Class in cn.hutool.core.convert
-
转换器登记中心
- ConverterRegistry() - Constructor for class cn.hutool.core.convert.ConverterRegistry
-
- ConvertException - Exception in cn.hutool.core.convert
-
转换异常
- ConvertException(Throwable) - Constructor for exception cn.hutool.core.convert.ConvertException
-
- ConvertException(String) - Constructor for exception cn.hutool.core.convert.ConvertException
-
- ConvertException(String, Object...) - Constructor for exception cn.hutool.core.convert.ConvertException
-
- ConvertException(String, Throwable) - Constructor for exception cn.hutool.core.convert.ConvertException
-
- ConvertException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.convert.ConvertException
-
- 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.EnumConverter
-
- convertInternal(Object) - Method in class cn.hutool.core.convert.impl.GenericEnumConverter
-
Deprecated.
- 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.OptionalConverter
-
- 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
-
转换时间单位
- convertToStr(Object) - Method in class cn.hutool.core.convert.AbstractConverter
-
值转为String,用于内部转换中需要使用String中转的情况
转换规则为:
- convertToStr(Object) - Method in class cn.hutool.core.convert.impl.NumberConverter
-
- convertToStr(Object) - Method in class cn.hutool.core.convert.impl.PrimitiveConverter
-
- convertWithCheck(Type, Object, T, boolean) - Static method in class cn.hutool.core.convert.Convert
-
转换值为指定类型,可选是否不抛异常转换
当转换失败时返回默认值
- 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行为
- 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(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() - Method in class cn.hutool.core.io.file.FileCopier
-
执行拷贝
拷贝规则为:
- 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
-
复制文件或目录
情况如下:
- 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(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(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() - 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
本方法不会关闭流
- copyContent(Path, Path, CopyOption...) - Static method in class cn.hutool.core.io.file.PathUtil
-
拷贝目录下的所有文件或目录到目标目录中,此方法不支持文件对文件的拷贝。
源文件为目录,目标也为目录或不存在,则拷贝目录下所有文件和目录到目标目录下
源文件为文件,目标为目录或不存在,则拷贝文件到目标目录下
- copyContent(File, File, boolean) - Static method in class cn.hutool.core.io.FileUtil
-
复制文件或目录
情况如下:
- copyFile(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(File, File, StandardCopyOption...) - Static method in class cn.hutool.core.io.FileUtil
-
通过JDK7+的 Files#copy(Path, Path, CopyOption...) 方法拷贝文件
- copyFilesFromDir(File, File, boolean) - Static method in class cn.hutool.core.io.FileUtil
-
复制文件或目录
情况如下:
- copyFilter - Variable in class cn.hutool.core.lang.copier.SrcToDestCopier
-
拷贝过滤器,可以过滤掉不需要拷贝的源
- copyImage(Image, int) - Static method in class cn.hutool.core.img.ImgUtil
-
将已有Image复制新的一份出来
- copyImage(Image, int, Color) - Static method in class cn.hutool.core.img.ImgUtil
-
将已有Image复制新的一份出来
- copyList(Collection<S>, Supplier<T>) - Static method in class cn.hutool.extra.cglib.CglibUtil
-
拷贝List Bean对象属性
- copyList(Collection<S>, Supplier<T>, Converter) - Static method in class cn.hutool.extra.cglib.CglibUtil
-
拷贝List Bean对象属性
- copyList(Collection<S>, Supplier<T>, BiConsumer<S, T>) - Static method in class cn.hutool.extra.cglib.CglibUtil
-
拷贝List Bean对象属性
- copyList(Collection<S>, Supplier<T>, Converter, BiConsumer<S, T>) - Static method in class cn.hutool.extra.cglib.CglibUtil
-
拷贝List Bean对象属性
- copyOf(Iterator<V>) - Static method in class cn.hutool.core.collection.CopiedIter
-
- 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设置为父类
- CopyVisitor - Class in cn.hutool.core.io.file.visitor
-
文件拷贝的FileVisitor实现,用于递归遍历拷贝目录,此类非线程安全
此类在遍历源目录并复制过程中会自动创建目标目录中不存在的上级目录。
- CopyVisitor(Path, Path) - Constructor for class cn.hutool.core.io.file.visitor.CopyVisitor
-
构造
- count(Iterable<T>, Matcher<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
集合中匹配规则的数量
- count(int) - Static method in class cn.hutool.core.math.Arrangement
-
计算排列数,即A(n, n) = n!
- count(int, int) - Static method in class cn.hutool.core.math.Arrangement
-
计算排列数,即A(n, m) = n!/(n-m)!
- count(int, int) - Static method in class cn.hutool.core.math.Combination
-
计算组合数,即C(n, m) = n!/((n-m)! * m!)
- count(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
统计指定内容中包含指定字符串的数量
参数为 null
或者 "" 返回 0
.
- count(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
统计指定内容中包含指定字符的数量
- count() - Method in class cn.hutool.core.thread.SyncFinisher
-
剩余任务数
- count(int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
计算等份个数
- count(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
计算指定字符串中,匹配pattern的个数
- count(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
计算指定字符串中,匹配pattern的个数
- count(Entity) - Method in class cn.hutool.db.AbstractDb
-
结果的条目数
- count(CharSequence) - Method in class cn.hutool.db.AbstractDb
-
结果的条目数
- count(Entity) - Method in class cn.hutool.db.DaoTemplate
-
满足条件的数据条目数量
- count(Connection, Entity) - Method in class cn.hutool.db.DialectRunner
-
获取结果总数,生成类似于select count(1) from XXX wher XXX=? and YYY=?
- count(Connection, CharSequence) - Method in class cn.hutool.db.SqlConnRunner
-
获取查询结果总数,生成类似于 SELECT count(1) from (sql)
- 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(Iterable<T>) - Static method in class cn.hutool.core.collection.IterUtil
-
- 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
-
计算两个单元格之间的单元格数目(同一行)
- CpuInfo - Class in cn.hutool.system.oshi
-
CPU相关信息
- CpuInfo() - Constructor for class cn.hutool.system.oshi.CpuInfo
-
- CpuInfo(Integer, double, double, double, double, double, String) - Constructor for class cn.hutool.system.oshi.CpuInfo
-
- CR - Static variable in class cn.hutool.core.util.CharUtil
-
字符常量:回车符 '\r'
- CR - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:回车符 "\r"
解释:该字符常用于表示 Linux 系统和 MacOS 系统下的文本换行
- CRC16 - Class in cn.hutool.core.io.checksum
-
CRC16 循环冗余校验码(Cyclic Redundancy Check)实现,默认IBM算法
- 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(String) - Static method in class cn.hutool.core.bean.BeanPath
-
解析Bean路径表达式为Bean模式
Bean表达式,用于获取多层嵌套Bean中的字段值或Bean对象
根据给定的表达式,查找Bean中对应的属性值对象。 表达式分为两种:
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
表达式栗子:
- create(Object, T, CopyOptions) - Static method in class cn.hutool.core.bean.copier.BeanCopier
-
创建BeanCopier
- create(Object, T, Type, CopyOptions) - Static method in class cn.hutool.core.bean.copier.BeanCopier
-
创建BeanCopier
- create() - Static method in class cn.hutool.core.bean.copier.CopyOptions
-
创建拷贝选项
- create(Class<?>, boolean, String...) - Static method in class cn.hutool.core.bean.copier.CopyOptions
-
创建拷贝选项
- create(Object) - Static method in class cn.hutool.core.bean.DynaBean
-
创建一个DynaBean
- create(Class<?>) - Static method in class cn.hutool.core.bean.DynaBean
-
创建一个DynaBean
- create(Class<?>, Object...) - Static method in class cn.hutool.core.bean.DynaBean
-
创建一个DynaBean
- create(Class<?>) - 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(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
-
创建空的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
-
- 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(String, ResultSet) - Static method in class cn.hutool.db.meta.Column
-
- create(Table, ResultSet) - Static method in class cn.hutool.db.meta.Column
-
创建列对象
- 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() - Static method in class cn.hutool.db.SqlRunner
-
Deprecated.
创建SqlRunner
使用默认数据源,自动探测数据库连接池
- create(String) - Static method in class cn.hutool.db.SqlRunner
-
Deprecated.
创建SqlRunner
使用默认数据源,自动探测数据库连接池
- create(DataSource) - Static method in class cn.hutool.db.SqlRunner
-
Deprecated.
创建SqlRunner
会根据数据源连接的元信息识别目标数据库类型,进而使用合适的数据源
- create(DataSource, Dialect) - Static method in class cn.hutool.db.SqlRunner
-
Deprecated.
创建SqlRunner
- create(DataSource, String) - Static method in class cn.hutool.db.SqlRunner
-
Deprecated.
创建SqlRunner
- 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.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.beetl.BeetlUtil.ResourceLoaderBuilder
-
Deprecated.
创建
- 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(Map<String, Object>, Charset) - Static method in class cn.hutool.http.body.MultipartBody
-
根据已有表单内容,构建MultipartBody
- 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
-
创建 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.log.LogFactory
-
决定日志实现
- create(File) - Static method in class cn.hutool.poi.word.DocUtil
-
创建XWPFDocument
,如果文件已存在则读取之,否则创建新的
- create() - Static method in class cn.hutool.setting.dialect.Props
-
构建一个空的Props,用于手动加入参数
- create() - Static method in class cn.hutool.setting.Setting
-
构建一个空的Setting,用于手动加入参数
- createAddress(String, int) - Static method in class cn.hutool.core.net.NetUtil
-
- createAll(URI, Watcher) - Static method in class cn.hutool.core.io.watch.WatchMonitor
-
创建并初始化监听,监听所有事件
- createAll(URL, Watcher) - Static method in class cn.hutool.core.io.watch.WatchMonitor
-
创建并初始化监听,监听所有事件
- createAll(File, Watcher) - Static method in class cn.hutool.core.io.watch.WatchMonitor
-
创建并初始化监听,监听所有事件
- createAll(String, Watcher) - Static method in class cn.hutool.core.io.watch.WatchMonitor
-
创建并初始化监听,监听所有事件
- createAll(Path, Watcher) - Static method in class cn.hutool.core.io.watch.WatchMonitor
-
创建并初始化监听,监听所有事件
- createAll(URL, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听所有事件
- createAll(URL, int, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听所有事件
- createAll(URI, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听所有事件
- createAll(URI, int, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听所有事件
- createAll(File, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听所有事件
- createAll(File, int, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听所有事件
- createAll(String, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听所有事件
- createAll(String, int, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听所有事件
- createAll(Path, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听所有事件
- createAll(Path, int, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听所有事件
- createAll() - Static method in class cn.hutool.core.net.URLEncoder
-
创建URLEncoder
编码器针对URI路径编码,定义如下:
- createArchiver(Charset, String, File) - Static method in class cn.hutool.extra.compress.CompressUtil
-
创建归档器,支持:
ArchiveStreamFactory.AR
ArchiveStreamFactory.CPIO
ArchiveStreamFactory.JAR
ArchiveStreamFactory.TAR
ArchiveStreamFactory.ZIP
ArchiveStreamFactory.SEVEN_Z
- createArchiver(Charset, String, OutputStream) - Static method in class cn.hutool.extra.compress.CompressUtil
-
创建归档器,支持:
ArchiveStreamFactory.AR
ArchiveStreamFactory.CPIO
ArchiveStreamFactory.JAR
ArchiveStreamFactory.TAR
ArchiveStreamFactory.ZIP
ArchiveStreamFactory.SEVEN_Z
- createArray() - Static method in class cn.hutool.json.JSONUtil
-
创建 JSONArray
- createArray(JSONConfig) - Static method in class cn.hutool.json.JSONUtil
-
创建 JSONArray
- createArrayOf(String, Object[]) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- createBindings() - Method in class cn.hutool.script.FullSupportScriptEngine
-
- createBindings() - Method in class cn.hutool.script.JavaScriptEngine
-
- createBitMap(int) - Static method in class cn.hutool.bloomfilter.BloomFilterUtil
-
创建BitMap实现的布隆过滤器
- createBitSet(int, int, int) - Static method in class cn.hutool.bloomfilter.BloomFilterUtil
-
创建一个BitSet实现的布隆过滤器,过滤器的容量为c * n 个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(File) - Static method in class cn.hutool.poi.excel.WorkbookUtil
-
创建或加载工作簿
- createBook(File, String) - Static method in class cn.hutool.poi.excel.WorkbookUtil
-
创建或加载工作簿,只读模式
- createBook(InputStream, boolean) - Static method in class cn.hutool.poi.excel.WorkbookUtil
-
- createBook(InputStream) - Static method in class cn.hutool.poi.excel.WorkbookUtil
-
创建或加载工作簿
- createBook(InputStream, String, boolean) - 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
-
根据文件类型创建新的工作簿,文件路径
- createBookForWriter(File) - Static method in class cn.hutool.poi.excel.WorkbookUtil
-
创建工作簿,用于Excel写出
- createBouncyCastleProvider() - Static method in class cn.hutool.crypto.ProviderFactory
-
- 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
-
创建圆圈干扰的验证码
- createClassPathGroupTemplate(String) - Static method in class cn.hutool.extra.template.engine.beetl.BeetlUtil
-
Deprecated.
创建字符串的模板组 GroupTemplate
,配置文件使用全局默认
此时自定义的配置文件可在ClassPath中放入beetl.properties配置
- 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.CollectionValueMap
-
创建集合
此方法用于创建在putValue后追加值所在的集合,子类实现此方法创建不同类型的集合
- 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
-
创建某一列的样式,返回样式后可以设置样式内容
- 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
-
- createDefault() - Static method in class cn.hutool.core.net.URLEncoder
-
创建默认URLEncoder
默认的编码器针对URI路径编码,定义如下:
- createDefaultCellStyle(Workbook) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
创建默认普通单元格样式
- 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
- createEngine(String, Key) - 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
- createFileGroupTemplate(String) - Static method in class cn.hutool.extra.template.engine.beetl.BeetlUtil
-
Deprecated.
创建文件目录的模板组 GroupTemplate
,配置文件使用全局默认,使用UTF-8编码
此时自定义的配置文件可在ClassPath中放入beetl.properties配置
- createFileGroupTemplate(String, Charset) - Static method in class cn.hutool.extra.template.engine.beetl.BeetlUtil
-
Deprecated.
创建文件目录的模板组 GroupTemplate
,配置文件使用全局默认
此时自定义的配置文件可在ClassPath中放入beetl.properties配置
- 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
-
创建字体
- createGet(String) - 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验证码
- createGmp() - Static method in class cn.hutool.core.codec.Base62Codec
-
创建GMP风格的Base62编码解码器对象
- 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
- createGroupTemplate() - Static method in class cn.hutool.extra.template.engine.beetl.BeetlUtil
-
Deprecated.
创建默认模板组GroupTemplate
,默认的模板组从ClassPath中读取
- createGroupTemplate(ResourceLoader<?>) - Static method in class cn.hutool.extra.template.engine.beetl.BeetlUtil
-
Deprecated.
创建自定义的模板组 GroupTemplate
,配置文件使用全局默认
此时自定义的配置文件可在ClassPath中放入beetl.properties配置
- createGroupTemplate(ResourceLoader<?>, Configuration) - Static method in class cn.hutool.extra.template.engine.beetl.BeetlUtil
-
Deprecated.
创建自定义的 GroupTemplate
- 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
-
- 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
-
根据文字创建图片
- createInverted() - Static method in class cn.hutool.core.codec.Base62Codec
-
创建Inverted风格的Base62编码解码器对象
- createJdkInterner() - Static method in class cn.hutool.core.lang.intern.InternUtil
-
创建JDK默认实现的字符串规范化器
- 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
-
创建线干扰的验证码
- 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.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.slf4j.Slf4jLogFactory
-
- createLog(Class<?>) - Method in class cn.hutool.log.dialect.slf4j.Slf4jLogFactory
-
- createLog(String) - Method in class cn.hutool.log.dialect.tinylog.TinyLog2Factory
-
- createLog(Class<?>) - Method in class cn.hutool.log.dialect.tinylog.TinyLog2Factory
-
- createLog(String) - Method in class cn.hutool.log.dialect.tinylog.TinyLogFactory
-
- createLog(Class<?>) - Method in class cn.hutool.log.dialect.tinylog.TinyLogFactory
-
- createLog(String) - Method in class cn.hutool.log.LogFactory
-
创建日志对象
- createLog(Class<?>) - Method in class cn.hutool.log.LogFactory
-
创建日志对象
- createLuaEngine() - Static method in class cn.hutool.script.ScriptUtil
-
创建Lua引擎
需要引入org.luaj:luaj-jse
- createMac(String) - Static method in class cn.hutool.crypto.SecureUtil
-
- createMap(Class<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
- createMap(Class<?>) - Static method in class cn.hutool.core.map.MapUtil
-
- createMessageDigest(String) - Static method in class cn.hutool.crypto.SecureUtil
-
- createModify(URL, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听修改事件
- createModify(URL, int, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听修改事件
- createModify(URI, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听修改事件
- createModify(URI, int, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听修改事件
- createModify(File, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听修改事件
- createModify(File, int, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听修改事件
- createModify(String, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听修改事件
- createModify(String, int, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听修改事件
- createModify(Path, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听修改事件
- createModify(Path, int, Watcher) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听修改事件
- createNClob() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- createObj() - Static method in class cn.hutool.json.JSONUtil
-
创建JSONObject
- createObj(JSONConfig) - Static method in class cn.hutool.json.JSONUtil
-
创建JSONObject
- createOpenSSHPrivateKeySpec(byte[]) - Static method in class cn.hutool.crypto.ECKeyUtil
-
创建OpenSSHPrivateKeySpec
- createOpenSSHPublicKeySpec(byte[]) - Static method in class cn.hutool.crypto.ECKeyUtil
-
创建OpenSSHPublicKeySpec
- createPost(String) - Static method in class cn.hutool.http.HttpUtil
-
创建Http POST请求对象
- createProxy(T, Class<? extends Aspect>) - Static method in class cn.hutool.aop.proxy.ProxyFactory
-
根据用户引入Cglib与否自动创建代理对象
- createProxy(T, Aspect) - Static method in class cn.hutool.aop.proxy.ProxyFactory
-
根据用户引入Cglib与否自动创建代理对象
- createProxy(Map<?, ?>) - Static method in class cn.hutool.core.map.MapUtil
-
- createPythonEngine() - Static method in class cn.hutool.script.ScriptUtil
-
创建Python引擎
需要引入org.python:jython
- createQuery() - Static method in class cn.hutool.core.net.URLEncoder
-
创建用于查询语句的URLEncoder
编码器针对URI路径编码,定义如下:
- createRandomAccessFile(Path, FileMode) - Static method in class cn.hutool.core.io.FileUtil
-
- createRandomAccessFile(File, FileMode) - Static method in class cn.hutool.core.io.FileUtil
-
- createReadWriteLock(boolean) - Static method in class cn.hutool.core.thread.lock.LockUtil
-
- createRequest(Method, String) - Static method in class cn.hutool.http.HttpUtil
-
创建Http请求对象
- createRowStyle(int) - Method in class cn.hutool.poi.excel.ExcelBase
-
创建某一行的样式,返回样式后可以设置样式内容
- createSansSerifFont(int) - Static method in class cn.hutool.core.img.FontUtil
-
创建SansSerif字体
- createSaxReader(boolean, RowHandler) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
-
- createScheduledExecutor(int) - Static method in class cn.hutool.core.thread.ThreadUtil
-
- createScript(String) - Static method in class cn.hutool.script.ScriptUtil
-
- createSecureRandom(byte[]) - Static method in class cn.hutool.core.util.RandomUtil
-
- createServer(int) - Static method in class cn.hutool.http.HttpUtil
-
创建简易的Http服务器
- createSession(String, int, String, String) - Static method in class cn.hutool.extra.ssh.JschUtil
-
新建一个新的SSH会话,此方法并不打开会话(既不调用connect方法)
- createSession(String, int, String, String, byte[]) - Static method in class cn.hutool.extra.ssh.JschUtil
-
新建一个新的SSH会话,此方法并不打开会话(既不调用connect方法)
- createSession(JSch, String, int, String) - Static method in class cn.hutool.extra.ssh.JschUtil
-
创建一个SSH会话,重用已经使用的会话
- createSftp(String, int, String, String) - Static method in class cn.hutool.extra.ssh.JschUtil
-
创建Sftp
- createSftp(Session) - Static method in class cn.hutool.extra.ssh.JschUtil
-
创建Sftp
- createShearCaptcha(int, int) - Static method in class cn.hutool.captcha.CaptchaUtil
-
创建扭曲干扰的验证码,默认5位验证码
- createShearCaptcha(int, int, int, int) - Static method in class cn.hutool.captcha.CaptchaUtil
-
创建扭曲干扰的验证码,默认5位验证码
- createSnowflake(long, long) - Static method in class cn.hutool.core.util.IdUtil
-
创建Twitter的Snowflake 算法生成器。
- createSocket() - Method in class cn.hutool.http.ssl.CustomProtocolsSSLFactory
-
- createSocket(Socket, String, int, boolean) - Method in class cn.hutool.http.ssl.CustomProtocolsSSLFactory
-
- createSocket(String, int) - Method in class cn.hutool.http.ssl.CustomProtocolsSSLFactory
-
- createSocket(String, int, InetAddress, int) - Method in class cn.hutool.http.ssl.CustomProtocolsSSLFactory
-
- createSocket(InetAddress, int) - Method in class cn.hutool.http.ssl.CustomProtocolsSSLFactory
-
- createSocket(InetAddress, int, InetAddress, int) - Method in class cn.hutool.http.ssl.CustomProtocolsSSLFactory
-
- createSQLXML() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- createSSLContext(String, KeyManager, TrustManager) - Static method in class cn.hutool.core.net.SSLUtil
-
- createSSLContext(String, KeyManager[], TrustManager[]) - Static method in class cn.hutool.core.net.SSLUtil
-
- createStampLock() - Static method in class cn.hutool.core.thread.lock.LockUtil
-
- createStatement() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- createStatement(int, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- createStatement(int, int, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- createStopWatch() - Static method in class cn.hutool.core.date.DateUtil
-
- createStopWatch(String) - Static method in class cn.hutool.core.date.DateUtil
-
- createStrGroupTemplate() - Static method in class cn.hutool.extra.template.engine.beetl.BeetlUtil
-
Deprecated.
创建字符串的模板组 GroupTemplate
,配置文件使用全局默认
此时自定义的配置文件可在ClassPath中放入beetl.properties配置
- createStringInterner(boolean) - Static method in class cn.hutool.core.lang.intern.InternUtil
-
创建字符串规范化器
- createStruct(String, Object[]) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- createStyleForCell(int, int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- createSXSSFBook(String) - Static method in class cn.hutool.poi.excel.WorkbookUtil
-
创建或加载SXSSFWorkbook工作簿
- createSXSSFBook(File) - Static method in class cn.hutool.poi.excel.WorkbookUtil
-
创建或加载SXSSFWorkbook工作簿
- createSXSSFBook(File, String) - Static method in class cn.hutool.poi.excel.WorkbookUtil
-
创建或加载SXSSFWorkbook工作簿,只读模式
- createSXSSFBook(InputStream, boolean) - Static method in class cn.hutool.poi.excel.WorkbookUtil
-
创建或加载SXSSFWorkbook工作簿
- createSXSSFBook(InputStream, String, boolean) - Static method in class cn.hutool.poi.excel.WorkbookUtil
-
- createSXSSFBook(InputStream, String) - Static method in class cn.hutool.poi.excel.WorkbookUtil
-
创建或加载SXSSFWorkbook工作簿
- createSXSSFBook() - Static method in class cn.hutool.poi.excel.WorkbookUtil
-
创建SXSSFWorkbook,用于大批量数据写出
- createSXSSFBook(int) - Static method in class cn.hutool.poi.excel.WorkbookUtil
-
创建SXSSFWorkbook,用于大批量数据写出
- createTable(XWPFDocument) - Static method in class cn.hutool.poi.word.TableUtil
-
创建空表,只有一行
- createTable(XWPFDocument, Iterable<?>) - Static method in class cn.hutool.poi.word.TableUtil
-
创建表格并填充数据,默认表格
- createTempFile(File) - Static method in class cn.hutool.core.io.FileUtil
-
创建临时文件
创建后的文件名为 prefix[Randon].tmp
- createTempFile(File, boolean) - Static method in class cn.hutool.core.io.FileUtil
-
创建临时文件
创建后的文件名为 prefix[Randon].tmp
- createTempFile(String, String, File, boolean) - Static method in class cn.hutool.core.io.FileUtil
-
创建临时文件
创建后的文件名为 prefix[Randon].suffix From com.jodd.io.FileUtil
- createThreadFactoryBuilder() - Static method in class cn.hutool.core.thread.ThreadUtil
-
创建ThreadFactoryBuilder
- createThreadLocal(boolean) - Static method in class cn.hutool.core.thread.ThreadUtil
-
创建本地线程对象
- createUtf8(CharSequence) - Static method in class cn.hutool.core.io.BufferUtil
-
从字符串创建新Buffer,使用UTF-8编码
- createWeakInterner() - Static method in class cn.hutool.core.lang.intern.InternUtil
-
创建WeakHshMap实现的字符串规范化器
- createWebAppGroupTemplate() - Static method in class cn.hutool.extra.template.engine.beetl.BeetlUtil
-
Deprecated.
创建WebApp的模板组 GroupTemplate
,配置文件使用全局默认
此时自定义的配置文件可在ClassPath中放入beetl.properties配置
- createXml() - Static method in class cn.hutool.core.util.XmlUtil
-
创建XML文档
创建的XML默认是utf8编码,修改编码的过程是在toStr和toFile方法里,即XML在转为文本的时候才定义编码
- createXml(String) - Static method in class cn.hutool.core.util.XmlUtil
-
创建XML文档
创建的XML默认是utf8编码,修改编码的过程是在toStr和toFile方法里,即XML在转为文本的时候才定义编码
- createXml(String, String) - Static method in class cn.hutool.core.util.XmlUtil
-
创建XML文档
创建的XML默认是utf8编码,修改编码的过程是在toStr和toFile方法里,即XML在转为文本的时候才定义编码
- createXPath() - Static method in class cn.hutool.core.util.XmlUtil
-
创建XPath
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
- CREDIT_CODE - Static variable in class cn.hutool.core.lang.PatternPool
-
社会统一信用代码
- CREDIT_CODE_PATTERN - Static variable in class cn.hutool.core.util.CreditCodeUtil
-
- CreditCodeUtil - Class in cn.hutool.core.util
-
统一社会信用代码工具类
- CreditCodeUtil() - Constructor for class cn.hutool.core.util.CreditCodeUtil
-
- CRLF - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:Windows 换行 "\r\n"
解释:该字符串常用于表示 Windows 系统下的文本换行
- CronConfig - Class in cn.hutool.cron
-
定时任务配置类
- CronConfig() - Constructor for class cn.hutool.cron.CronConfig
-
- CronException - Exception in cn.hutool.cron
-
定时任务异常
- CronException(Throwable) - Constructor for exception cn.hutool.cron.CronException
-
- CronException(String) - Constructor for exception cn.hutool.cron.CronException
-
- CronException(String, Object...) - Constructor for exception cn.hutool.cron.CronException
-
- CronException(Throwable, String, Object...) - Constructor for exception cn.hutool.cron.CronException
-
- CronPattern - Class in cn.hutool.cron.pattern
-
定时任务表达式
表达式类似于Linux的crontab表达式,表达式使用空格分成5个部分,按顺序依次为:
分:范围:0~59
时:范围:0~23
日:范围:1~31,"L"表示月的最后一天
月:范围:1~12,同时支持不区分大小写的别名:"jan","feb", "mar", "apr", "may","jun", "jul", "aug", "sep","oct", "nov", "dec"
周:范围:0 (Sunday)~6(Saturday),7也可以表示周日,同时支持不区分大小写的别名:"sun","mon", "tue", "wed", "thu","fri", "sat","L"表示周六
为了兼容Quartz表达式,同时支持6位和7位表达式,其中:
- CronPattern(String) - Constructor for class cn.hutool.cron.pattern.CronPattern
-
构造
- CronPatternUtil - Class in cn.hutool.cron.pattern
-
定时任务表达式工具类
- CronPatternUtil() - Constructor for class cn.hutool.cron.pattern.CronPatternUtil
-
- CRONTAB_CONFIG_PATH - Static variable in class cn.hutool.cron.CronUtil
-
Crontab配置文件
- CRONTAB_CONFIG_PATH2 - Static variable in class cn.hutool.cron.CronUtil
-
- CronTask - Class in cn.hutool.cron.task
-
定时作业,此类除了定义了作业,也定义了作业的执行周期以及ID。
- CronTask(String, CronPattern, Task) - Constructor for class cn.hutool.cron.task.CronTask
-
构造
- CronTimer - Class in cn.hutool.cron
-
定时任务计时器
计时器线程每隔一分钟(一秒钟)检查一次任务列表,一旦匹配到执行对应的Task
- CronTimer(Scheduler) - Constructor for class cn.hutool.cron.CronTimer
-
构造
- CronUtil - Class in cn.hutool.cron
-
- CronUtil() - Constructor for class cn.hutool.cron.CronUtil
-
- crop(int, int, int, int) - Method in class cn.hutool.extra.qrcode.BufferedImageLuminanceSource
-
- crypt(byte[], byte[], int, int[]) - Method in class cn.hutool.crypto.digest.BCrypt
-
加密密文
- crypt(byte[]) - Method in class cn.hutool.crypto.symmetric.RC4
-
加密或解密指定值,调用此方法前需初始化密钥
- CryptoException - Exception in cn.hutool.crypto
-
加密异常
- CryptoException(Throwable) - Constructor for exception cn.hutool.crypto.CryptoException
-
- CryptoException(String) - Constructor for exception cn.hutool.crypto.CryptoException
-
- CryptoException(String, Object...) - Constructor for exception cn.hutool.crypto.CryptoException
-
- CryptoException(String, Throwable) - Constructor for exception cn.hutool.crypto.CryptoException
-
- CryptoException(Throwable, String, Object...) - Constructor for exception cn.hutool.crypto.CryptoException
-
- CsvBaseReader - Class in cn.hutool.core.text.csv
-
CSV文件读取器基础类,提供灵活的文件、路径中的CSV读取,一次构造可多次调用读取不同数据,参考:FastCSV
- CsvBaseReader() - Constructor for class cn.hutool.core.text.csv.CsvBaseReader
-
构造,使用默认配置项
- CsvBaseReader(CsvReadConfig) - Constructor for class cn.hutool.core.text.csv.CsvBaseReader
-
构造
- CsvConfig - Class in cn.hutool.core.text.csv
-
CSV基础配置项,此配置项可用于读取和写出CSV,定义了包括字段分隔符、文本包装符等符号
- CsvConfig() - Constructor for class cn.hutool.core.text.csv.CsvConfig
-
- CsvData - Class in cn.hutool.core.text.csv
-
CSV数据,包括头部信息和行数据,参考:FastCSV
- CsvData(List<String>, List<CsvRow>) - Constructor for class cn.hutool.core.text.csv.CsvData
-
构造
- CsvParser - Class in cn.hutool.core.text.csv
-
CSV行解析器,参考:FastCSV
- CsvParser(Reader, CsvReadConfig) - Constructor for class cn.hutool.core.text.csv.CsvParser
-
CSV解析器
- CsvReadConfig - Class in cn.hutool.core.text.csv
-
CSV读取配置项
- CsvReadConfig() - Constructor for class cn.hutool.core.text.csv.CsvReadConfig
-
- CsvReader - Class in cn.hutool.core.text.csv
-
CSV文件读取器,参考:FastCSV
- CsvReader() - Constructor for class cn.hutool.core.text.csv.CsvReader
-
构造,使用默认配置项
- CsvReader(CsvReadConfig) - Constructor for class cn.hutool.core.text.csv.CsvReader
-
构造
- CsvReader(File, CsvReadConfig) - Constructor for class cn.hutool.core.text.csv.CsvReader
-
- CsvReader(Path, CsvReadConfig) - Constructor for class cn.hutool.core.text.csv.CsvReader
-
- CsvReader(File, Charset, CsvReadConfig) - Constructor for class cn.hutool.core.text.csv.CsvReader
-
构造
- CsvReader(Path, Charset, CsvReadConfig) - Constructor for class cn.hutool.core.text.csv.CsvReader
-
构造
- CsvReader(Reader, CsvReadConfig) - Constructor for class cn.hutool.core.text.csv.CsvReader
-
构造
- CsvRow - Class in cn.hutool.core.text.csv
-
CSV中一行的表示
- CsvRow(long, Map<String, Integer>, List<String>) - Constructor for class cn.hutool.core.text.csv.CsvRow
-
构造
- CsvRowHandler - Interface in cn.hutool.core.text.csv
-
CSV的行处理器,实现此接口用于按照行处理数据
- CsvUtil - Class in cn.hutool.core.text.csv
-
CSV工具
- CsvUtil() - Constructor for class cn.hutool.core.text.csv.CsvUtil
-
- CsvWriteConfig - Class in cn.hutool.core.text.csv
-
CSV写出配置项
- CsvWriteConfig() - Constructor for class cn.hutool.core.text.csv.CsvWriteConfig
-
- CsvWriter - Class in cn.hutool.core.text.csv
-
CSV数据写出器
- CsvWriter(String) - Constructor for class cn.hutool.core.text.csv.CsvWriter
-
构造,覆盖已有文件(如果存在),默认编码UTF-8
- CsvWriter(File) - Constructor for class cn.hutool.core.text.csv.CsvWriter
-
构造,覆盖已有文件(如果存在),默认编码UTF-8
- CsvWriter(String, Charset) - Constructor for class cn.hutool.core.text.csv.CsvWriter
-
构造,覆盖已有文件(如果存在)
- CsvWriter(File, Charset) - Constructor for class cn.hutool.core.text.csv.CsvWriter
-
构造,覆盖已有文件(如果存在)
- CsvWriter(String, Charset, boolean) - Constructor for class cn.hutool.core.text.csv.CsvWriter
-
构造
- CsvWriter(File, Charset, boolean) - Constructor for class cn.hutool.core.text.csv.CsvWriter
-
构造
- CsvWriter(String, Charset, boolean, CsvWriteConfig) - Constructor for class cn.hutool.core.text.csv.CsvWriter
-
构造
- CsvWriter(File, Charset, boolean, CsvWriteConfig) - Constructor for class cn.hutool.core.text.csv.CsvWriter
-
构造
- CsvWriter(Writer) - Constructor for class cn.hutool.core.text.csv.CsvWriter
-
构造,使用默认配置
- CsvWriter(Writer, CsvWriteConfig) - Constructor for class cn.hutool.core.text.csv.CsvWriter
-
构造
- CurrencyConverter - Class in cn.hutool.core.convert.impl
-
- CurrencyConverter() - Constructor for class cn.hutool.core.convert.impl.CurrencyConverter
-
- current() - Static method in class cn.hutool.core.date.DateUtil
-
当前时间的时间戳
- currentSeconds() - Static method in class cn.hutool.core.date.DateUtil
-
当前时间的时间戳(秒)
- currentTaskName() - Method in class cn.hutool.core.date.StopWatch
-
获取当前任务名,null
表示无任务
- currentThreadGroup() - Static method in class cn.hutool.core.thread.ThreadUtil
-
获取当前线程的线程组
- customKey(Object) - Method in class cn.hutool.core.map.CamelCaseMap
-
将Key转为驼峰风格,如果key为字符串的话
- customKey(Object) - Method in class cn.hutool.core.map.CaseInsensitiveMap
-
将Key转为小写
- customKey(Object) - Method in class cn.hutool.core.map.CustomKeyMap
-
自定义键
- CustomKeyMap<K,V> - Class in cn.hutool.core.map
-
自定义键的Map,默认HashMap实现
- CustomKeyMap(Map<K, V>) - Constructor for class cn.hutool.core.map.CustomKeyMap
-
构造
通过传入一个Map从而确定Map的类型,子类需创建一个空的Map,而非传入一个已有Map,否则值可能会被修改
- CustomProtocolsSSLFactory - Class in cn.hutool.http.ssl
-
自定义支持协议类型的SSLSocketFactory
- CustomProtocolsSSLFactory(String...) - Constructor for class cn.hutool.http.ssl.CustomProtocolsSSLFactory
-
构造
- cut(Rectangle) - Method in class cn.hutool.core.img.Img
-
图像切割(按指定起点坐标和宽高切割)
- cut(int, int) - Method in class cn.hutool.core.img.Img
-
图像切割为圆形(按指定起点坐标和半径切割),填充满整个图片(直径取长宽最小值)
- cut(int, int, int) - Method in class cn.hutool.core.img.Img
-
图像切割为圆形(按指定起点坐标和半径切割)
- cut(File, File, Rectangle) - Static method in class cn.hutool.core.img.ImgUtil
-
图像切割(按指定起点坐标和宽高切割)
- cut(InputStream, OutputStream, Rectangle) - Static method in class cn.hutool.core.img.ImgUtil
-
图像切割(按指定起点坐标和宽高切割),此方法并不关闭流
- cut(ImageInputStream, ImageOutputStream, Rectangle) - Static method in class cn.hutool.core.img.ImgUtil
-
图像切割(按指定起点坐标和宽高切割),此方法并不关闭流
- cut(Image, File, Rectangle) - Static method in class cn.hutool.core.img.ImgUtil
-
图像切割(按指定起点坐标和宽高切割),此方法并不关闭流
- cut(Image, OutputStream, Rectangle) - Static method in class cn.hutool.core.img.ImgUtil
-
图像切割(按指定起点坐标和宽高切割),此方法并不关闭流
- cut(Image, ImageOutputStream, Rectangle) - Static method in class cn.hutool.core.img.ImgUtil
-
图像切割(按指定起点坐标和宽高切割),此方法并不关闭流
- cut(Image, Rectangle) - Static method in class cn.hutool.core.img.ImgUtil
-
图像切割(按指定起点坐标和宽高切割)
- cut(Image, int, int) - Static method in class cn.hutool.core.img.ImgUtil
-
图像切割(按指定起点坐标和宽高切割),填充满整个图片(直径取长宽最小值)
- cut(Image, int, int, int) - Static method in class cn.hutool.core.img.ImgUtil
-
图像切割(按指定起点坐标和宽高切割)
- cut(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
将字符串切分为N等份
- cyclicalm(int) - Static method in class cn.hutool.core.date.chinese.GanZhi
-
传入 月日的offset 传回干支, 0=甲子
- daemon - Variable in class cn.hutool.cron.Scheduler
-
是否为守护线程
- DaoTemplate - Class in cn.hutool.db
-
数据访问层模板
此模板用于简化对指定表的操作,简化的操作如下:
1、在初始化时指定了表名,CRUD操作时便不需要表名
2、在初始化时指定了主键,某些需要主键的操作便不需要指定主键类型
- DaoTemplate(String) - Constructor for class cn.hutool.db.DaoTemplate
-
构造,此构造需要自定义SqlRunner,主键默认为id
- DaoTemplate(String, String) - Constructor for class cn.hutool.db.DaoTemplate
-
构造,使用默认的池化连接池,读取默认配置文件的空分组,适用于只有一个数据库的情况
- DaoTemplate(String, DataSource) - Constructor for class cn.hutool.db.DaoTemplate
-
- DaoTemplate(String, String, DataSource) - Constructor for class cn.hutool.db.DaoTemplate
-
构造
- DaoTemplate(String, String, Db) - Constructor for class cn.hutool.db.DaoTemplate
-
构造
- DASHED - Static variable in class cn.hutool.core.util.CharUtil
-
字符常量:减号(连接符) '-'
- DASHED - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:减号(连接符) "-"
- DataSize - Class in cn.hutool.core.io.unit
-
数据大小,可以将类似于'12MB'表示转换为bytes长度的数字
- DataSizeUtil - Class in cn.hutool.core.io.unit
-
数据大小工具类
- DataSizeUtil() - Constructor for class cn.hutool.core.io.unit.DataSizeUtil
-
- dataSourceName - Variable in class cn.hutool.db.ds.DSFactory
-
数据源名
- DataSourceWrapper - Class in cn.hutool.db.ds
-
- DataSourceWrapper(DataSource, String) - Constructor for class cn.hutool.db.ds.DataSourceWrapper
-
构造
- DataUnit - Enum in cn.hutool.core.io.unit
-
数据单位封装
- date() - Static method in class cn.hutool.core.date.DateUtil
-
- date(Date) - Static method in class cn.hutool.core.date.DateUtil
-
Date
类型时间转为
DateTime
如果date本身为DateTime对象,则返回强转后的对象,否则新建一个DateTime对象
- date(long) - Static method in class cn.hutool.core.date.DateUtil
-
Long类型时间转为
DateTime
只支持毫秒级别时间戳,如果需要秒级别时间戳,请自行×1000
- date(Calendar) - Static method in class cn.hutool.core.date.DateUtil
-
- date(TemporalAccessor) - Static method in class cn.hutool.core.date.DateUtil
-
- DateBasic - Interface in cn.hutool.core.date.format
-
日期基本信息获取接口
- DateBetween - Class in cn.hutool.core.date
-
日期间隔
- DateBetween(Date, Date) - Constructor for class cn.hutool.core.date.DateBetween
-
构造
在前的日期做为起始时间,在后的做为结束时间,间隔只保留绝对值正数
- DateBetween(Date, Date, boolean) - Constructor for class cn.hutool.core.date.DateBetween
-
构造
在前的日期做为起始时间,在后的做为结束时间
- DateConverter - Class in cn.hutool.core.convert.impl
-
日期转换器
- DateConverter(Class<? extends Date>) - Constructor for class cn.hutool.core.convert.impl.DateConverter
-
构造
- DateConverter(Class<? extends Date>, String) - Constructor for class cn.hutool.core.convert.impl.DateConverter
-
构造
- DateException - Exception in cn.hutool.core.date
-
工具类异常
- DateException(Throwable) - Constructor for exception cn.hutool.core.date.DateException
-
- DateException(String) - Constructor for exception cn.hutool.core.date.DateException
-
- DateException(String, Object...) - Constructor for exception cn.hutool.core.date.DateException
-
- DateException(String, Throwable) - Constructor for exception cn.hutool.core.date.DateException
-
- DateException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.date.DateException
-
- DateField - Enum in cn.hutool.core.date
-
日期各个部分的枚举
与Calendar相应值对应
- DateModifier - Class in cn.hutool.core.date
-
日期修改器
用于实现自定义某个日期字段的调整,包括:
- DateModifier() - Constructor for class cn.hutool.core.date.DateModifier
-
- DateModifier.ModifyType - Enum in cn.hutool.core.date
-
修改类型
- dateNew(Date) - Static method in class cn.hutool.core.date.DateUtil
-
- DateParser - Interface in cn.hutool.core.date.format
-
日期解析接口,用于解析日期字符串为
Date
对象
Thanks to Apache Commons Lang 3.5
- DatePattern - Class in cn.hutool.core.date
-
日期格式化类,提供常用的日期格式化对象
- DatePattern() - Constructor for class cn.hutool.core.date.DatePattern
-
- DatePrinter - Interface in cn.hutool.core.date.format
-
日期格式化输出接口
Thanks to Apache Commons Lang 3.5
- DateRange - Class in cn.hutool.core.date
-
日期范围
- DateRange(Date, Date, DateField) - Constructor for class cn.hutool.core.date.DateRange
-
构造,包含开始和结束日期时间
- DateRange(Date, Date, DateField, int) - Constructor for class cn.hutool.core.date.DateRange
-
构造,包含开始和结束日期时间
- DateRange(Date, Date, DateField, int, boolean, boolean) - Constructor for class cn.hutool.core.date.DateRange
-
构造
- dateSecond() - Static method in class cn.hutool.core.date.DateUtil
-
- DateTime - Class in cn.hutool.core.date
-
包装java.util.Date
- DateTime() - Constructor for class cn.hutool.core.date.DateTime
-
当前时间
- DateTime(TimeZone) - Constructor for class cn.hutool.core.date.DateTime
-
当前时间
- DateTime(Date) - Constructor for class cn.hutool.core.date.DateTime
-
给定日期的构造
- DateTime(Date, TimeZone) - Constructor for class cn.hutool.core.date.DateTime
-
给定日期的构造
- DateTime(Calendar) - Constructor for class cn.hutool.core.date.DateTime
-
给定日期的构造
- DateTime(Instant) - Constructor for class cn.hutool.core.date.DateTime
-
给定日期Instant的构造
- DateTime(Instant, ZoneId) - Constructor for class cn.hutool.core.date.DateTime
-
给定日期Instant的构造
- DateTime(TemporalAccessor) - Constructor for class cn.hutool.core.date.DateTime
-
给定日期TemporalAccessor的构造
- DateTime(ZonedDateTime) - Constructor for class cn.hutool.core.date.DateTime
-
给定日期ZonedDateTime的构造
- DateTime(long) - Constructor for class cn.hutool.core.date.DateTime
-
给定日期毫秒数的构造
- DateTime(long, TimeZone) - Constructor for class cn.hutool.core.date.DateTime
-
给定日期毫秒数的构造
- DateTime(CharSequence, String) - Constructor for class cn.hutool.core.date.DateTime
-
构造
- DateTime(CharSequence, DateFormat) - Constructor for class cn.hutool.core.date.DateTime
-
构造
- DateTime(CharSequence, DateTimeFormatter) - Constructor for class cn.hutool.core.date.DateTime
-
构建DateTime对象
- DateTime(CharSequence, DateParser) - Constructor for class cn.hutool.core.date.DateTime
-
构造
- DateUnit - Enum in cn.hutool.core.date
-
日期时间单位,每个单位都是以毫秒为基数
- DateUtil - Class in cn.hutool.core.date
-
时间工具类
- DateUtil() - Constructor for class cn.hutool.core.date.DateUtil
-
- dayOfMonth() - Method in class cn.hutool.core.date.DateTime
-
获得指定日期是这个日期所在月份的第几天,从1开始
- dayOfMonth(Date) - Static method in class cn.hutool.core.date.DateUtil
-
获得指定日期是这个日期所在月份的第几天
- DayOfMonthValueMatcher - Class in cn.hutool.cron.pattern.matcher
-
每月第几天匹配
考虑每月的天数不同,且存在闰年情况,日匹配单独使用
- DayOfMonthValueMatcher(List<Integer>) - Constructor for class cn.hutool.cron.pattern.matcher.DayOfMonthValueMatcher
-
构造
- DayOfMonthValueParser - Class in cn.hutool.cron.pattern.parser
-
每月的几号值处理
每月最多31天,32和“L”都表示最后一天
- DayOfMonthValueParser() - Constructor for class cn.hutool.cron.pattern.parser.DayOfMonthValueParser
-
- dayOfWeek() - Method in class cn.hutool.core.date.DateTime
-
获得指定日期是星期几,1表示周日,2表示周一
- dayOfWeek(Date) - Static method in class cn.hutool.core.date.DateUtil
-
获得指定日期是星期几,1表示周日,2表示周一
- dayOfWeekEnum() - Method in class cn.hutool.core.date.DateTime
-
获得指定日期是星期几
- dayOfWeekEnum(Date) - Static method in class cn.hutool.core.date.DateUtil
-
获得指定日期是星期几
- dayOfWeekInMonth() - Method in class cn.hutool.core.date.DateTime
-
获得天所在的周是这个月的第几周
- DayOfWeekValueParser - Class in cn.hutool.cron.pattern.parser
-
星期值处理
1表示星期一,2表示星期二,依次类推,0和7都可以表示星期日
- DayOfWeekValueParser() - Constructor for class cn.hutool.cron.pattern.parser.DayOfWeekValueParser
-
- dayOfYear() - Method in class cn.hutool.core.date.DateTime
-
获得指定日期是这个日期所在年份的第几天,从1开始
- dayOfYear(Date) - Static method in class cn.hutool.core.date.DateUtil
-
获得指定日期是这个日期所在年的第几天
- db - Variable in class cn.hutool.db.DaoTemplate
-
SQL运行器
- Db - Class in cn.hutool.db
-
数据库操作类
通过给定的数据源执行给定SQL或者给定数据源和方言,执行相应的CRUD操作
- Db(DataSource) - Constructor for class cn.hutool.db.Db
-
构造,从DataSource中识别方言
- Db(DataSource, String) - Constructor for class cn.hutool.db.Db
-
构造
- Db(DataSource, Dialect) - Constructor for class cn.hutool.db.Db
-
构造
- DbConfig - Class in cn.hutool.db.ds.pooled
-
数据库配置
- DbConfig() - Constructor for class cn.hutool.db.ds.pooled.DbConfig
-
- DbConfig(String, String, String) - Constructor for class cn.hutool.db.ds.pooled.DbConfig
-
构造
- DbcpDSFactory - Class in cn.hutool.db.ds.dbcp
-
DBCP2数据源工厂类
- DbcpDSFactory() - Constructor for class cn.hutool.db.ds.dbcp.DbcpDSFactory
-
- DbcpDSFactory(Setting) - Constructor for class cn.hutool.db.ds.dbcp.DbcpDSFactory
-
- DbRuntimeException - Exception in cn.hutool.db
-
数据库异常
- DbRuntimeException(Throwable) - Constructor for exception cn.hutool.db.DbRuntimeException
-
- DbRuntimeException(String) - Constructor for exception cn.hutool.db.DbRuntimeException
-
- DbRuntimeException(String, Object...) - Constructor for exception cn.hutool.db.DbRuntimeException
-
- DbRuntimeException(String, Throwable) - Constructor for exception cn.hutool.db.DbRuntimeException
-
- DbRuntimeException(Throwable, String, Object...) - Constructor for exception cn.hutool.db.DbRuntimeException
-
- DbSetting - Class in cn.hutool.db.ds.pooled
-
数据库配置文件类,此类对应一个数据库配置文件
- DbSetting() - Constructor for class cn.hutool.db.ds.pooled.DbSetting
-
构造
- DbSetting(Setting) - Constructor for class cn.hutool.db.ds.pooled.DbSetting
-
构造
- DbUtil - Class in cn.hutool.db
-
数据库操作工具类
- DbUtil() - Constructor for class cn.hutool.db.DbUtil
-
- debug(Throwable) - Method in class cn.hutool.log.AbstractLog
-
- debug(String, Object...) - Method in class cn.hutool.log.AbstractLog
-
- debug(Throwable, String, Object...) - Method in class cn.hutool.log.AbstractLog
-
- debug(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- debug(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- debug(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- debug(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- debug(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- debug(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- debug(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- debug(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- debug(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- debug(Throwable) - Method in interface cn.hutool.log.level.DebugLog
-
打印 DEBUG 等级的日志
- debug(String, Object...) - Method in interface cn.hutool.log.level.DebugLog
-
打印 DEBUG 等级的日志
- debug(Throwable, String, Object...) - Method in interface cn.hutool.log.level.DebugLog
-
打印 DEBUG 等级的日志
- debug(String, Throwable, String, Object...) - Method in interface cn.hutool.log.level.DebugLog
-
打印 DEBUG 等级的日志
- debug(String, Object...) - Static method in class cn.hutool.log.StaticLog
-
Debug等级日志,小于Info
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
- debug(Log, String, Object...) - Static method in class cn.hutool.log.StaticLog
-
Debug等级日志,小于Info
- DebugLog - Interface in cn.hutool.log.level
-
DEBUG级别日志接口
- decimalFormat(String, double) - Static method in class cn.hutool.core.util.NumberUtil
-
- decimalFormat(String, long) - Static method in class cn.hutool.core.util.NumberUtil
-
- decimalFormat(String, Object) - Static method in class cn.hutool.core.util.NumberUtil
-
- decimalFormatMoney(double) - Static method in class cn.hutool.core.util.NumberUtil
-
格式化金额输出,每三位用逗号分隔
- decode(String) - Static method in class cn.hutool.core.codec.Base32
-
解码
- decode(CharSequence) - Static method in class cn.hutool.core.codec.Base62
-
Base62解码
- decode(byte[]) - Static method in class cn.hutool.core.codec.Base62
-
解码Base62
- decode(byte[]) - Method in class cn.hutool.core.codec.Base62Codec
-
解码Base62消息
- decode(CharSequence) - Static method in class cn.hutool.core.codec.Base64
-
base64解码
- decode(CharSequence, String) - Static method in class cn.hutool.core.codec.Base64
-
- decode(CharSequence, Charset) - Static method in class cn.hutool.core.codec.Base64
-
- decode(byte[]) - Static method in class cn.hutool.core.codec.Base64
-
解码Base64
- decode(CharSequence) - Static method in class cn.hutool.core.codec.Base64Decoder
-
base64解码
- decode(byte[]) - Static method in class cn.hutool.core.codec.Base64Decoder
-
解码Base64
- decode(byte[], int, int) - Static method in class cn.hutool.core.codec.Base64Decoder
-
解码Base64
- decode(String, int) - Static method in class cn.hutool.core.codec.Caesar
-
传入明文解密到密文
- decode(String) - Method in class cn.hutool.core.codec.Morse
-
解码
- decode(String) - Static method in class cn.hutool.core.codec.PunyCode
-
解码 PunyCode为字符串
- decode(String, int, boolean) - Static method in class cn.hutool.core.codec.Rot
-
RotN解码
- decode(String, Charset) - Static method in class cn.hutool.core.net.URLDecoder
-
解码
- decode(byte[]) - Static method in class cn.hutool.core.net.URLDecoder
-
解码
- decode(String, String) - Method in class cn.hutool.core.util.RadixUtil
-
把转换后进制的字符还原成long 值
- decode(String) - Static method in class cn.hutool.core.util.URLUtil
-
解码URL
将%开头的16进制表示的内容解码。
- decode(String, Charset) - Static method in class cn.hutool.core.util.URLUtil
-
解码application/x-www-form-urlencoded字符
将%开头的16进制表示的内容解码。
- decode(String, String) - Static method in class cn.hutool.core.util.URLUtil
-
解码application/x-www-form-urlencoded字符
将%开头的16进制表示的内容解码。
- decode(String) - Static method in class cn.hutool.crypto.SecureUtil
-
解码字符串密钥,可支持的编码如下:
- decode(InputStream) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
解码二维码图片为文本
- decode(File) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
解码二维码图片为文本
- decode(Image) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
将二维码图片解码为文本
- decode(Image, boolean, boolean) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
将二维码图片解码为文本
- decode(AioSession, ByteBuffer) - Method in interface cn.hutool.socket.protocol.MsgDecoder
-
对于从Socket流中获取到的数据采用当前MsgDecoder的实现类协议进行解析。
- decode13(String) - Static method in class cn.hutool.core.codec.Rot
-
Rot-13解码,同时解码数字
- decode13(String, boolean) - Static method in class cn.hutool.core.codec.Rot
-
Rot-13解码
- decodeColor(String) - Static method in class cn.hutool.core.util.HexUtil
-
将Hex颜色值转为
- decodeECPoint(String, String) - Static method in class cn.hutool.crypto.BCUtil
-
解码恢复EC压缩公钥,支持Base64和Hex编码,(基于BouncyCastle)
见:https://www.cnblogs.com/xinzhao/p/8963724.html
- decodeECPoint(byte[], String) - Static method in class cn.hutool.crypto.BCUtil
-
解码恢复EC压缩公钥,支持Base64和Hex编码,(基于BouncyCastle)
- decodeECPoint(String, String) - Static method in class cn.hutool.crypto.KeyUtil
-
解码恢复EC压缩公钥,支持Base64和Hex编码,(基于BouncyCastle)
见:https://www.cnblogs.com/xinzhao/p/8963724.html
- decodeECPoint(byte[], String) - Static method in class cn.hutool.crypto.KeyUtil
-
解码恢复EC压缩公钥,支持Base64和Hex编码,(基于BouncyCastle)
见:https://www.cnblogs.com/xinzhao/p/8963724.html
- decodeHex(char[]) - Static method in class cn.hutool.core.util.HexUtil
-
将十六进制字符数组转换为字节数组
- decodeHex(String) - Static method in class cn.hutool.core.util.HexUtil
-
将十六进制字符串解码为byte[]
- decodeHexStr(String) - Static method in class cn.hutool.core.util.HexUtil
-
将十六进制字符数组转换为字符串,默认编码UTF-8
- decodeHexStr(String, Charset) - Static method in class cn.hutool.core.util.HexUtil
-
将十六进制字符数组转换为字符串
- decodeHexStr(char[], Charset) - Static method in class cn.hutool.core.util.HexUtil
-
将十六进制字符数组转换为字符串
- decodeImageData() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Decodes LZW image data into pixel array.
- decodeParamMap(String, String) - Static method in class cn.hutool.http.HttpUtil
-
- decodeParamMap(String, Charset) - Static method in class cn.hutool.http.HttpUtil
-
将URL参数解析为Map(也可以解析Post中的键值对参数)
- decodeParams(String, String) - Static method in class cn.hutool.http.HttpUtil
-
将URL参数解析为Map(也可以解析Post中的键值对参数)
- decodeParams(String, Charset) - Static method in class cn.hutool.http.HttpUtil
-
将URL参数解析为Map(也可以解析Post中的键值对参数)
- decodePrivateKeyParams(byte[]) - Static method in class cn.hutool.crypto.ECKeyUtil
-
尝试解析转换各种类型私钥为ECPrivateKeyParameters
,支持包括:
D值
PKCS#8
PKCS#1
- decodePublicKeyParams(byte[]) - Static method in class cn.hutool.crypto.ECKeyUtil
-
尝试解析转换各种类型公钥为ECPublicKeyParameters
,支持包括:
Q值
X.509
PKCS#1
- decodeStr(String) - Static method in class cn.hutool.core.codec.Base32
-
base32解码
- decodeStr(String, String) - Static method in class cn.hutool.core.codec.Base32
-
base32解码
- decodeStr(String, Charset) - Static method in class cn.hutool.core.codec.Base32
-
base32解码
- decodeStr(CharSequence) - Static method in class cn.hutool.core.codec.Base62
-
Base62解码
- decodeStr(CharSequence, Charset) - Static method in class cn.hutool.core.codec.Base62
-
Base62解码
- decodeStr(CharSequence) - Static method in class cn.hutool.core.codec.Base64
-
base64解码
- decodeStr(CharSequence, String) - Static method in class cn.hutool.core.codec.Base64
-
base64解码
- decodeStr(CharSequence, Charset) - Static method in class cn.hutool.core.codec.Base64
-
base64解码
- decodeStr(CharSequence) - Static method in class cn.hutool.core.codec.Base64Decoder
-
base64解码
- decodeStr(CharSequence, Charset) - Static method in class cn.hutool.core.codec.Base64Decoder
-
base64解码
- decodeStrGbk(CharSequence) - Static method in class cn.hutool.core.codec.Base62
-
Base62解码
- decodeStrGbk(CharSequence) - Static method in class cn.hutool.core.codec.Base64
-
base64解码
- decodeToFile(CharSequence, File) - Static method in class cn.hutool.core.codec.Base62
-
Base62解码
- decodeToFile(CharSequence, File) - Static method in class cn.hutool.core.codec.Base64
-
base64解码
- decodeToInt(String, String) - Method in class cn.hutool.core.util.RadixUtil
-
把转换后的进制字符还原成int 值
- decodeToStream(CharSequence, OutputStream, boolean) - Static method in class cn.hutool.core.codec.Base62
-
Base62解码
- decodeToStream(CharSequence, OutputStream, boolean) - Static method in class cn.hutool.core.codec.Base64
-
base64解码
- decrement() - Method in class cn.hutool.core.lang.mutable.MutableByte
-
值减一
- decrement() - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
值减一
- decrement() - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
值减一
- decrement() - Method in class cn.hutool.core.lang.mutable.MutableInt
-
值减一
- decrement() - Method in class cn.hutool.core.lang.mutable.MutableLong
-
值减一
- decrement() - Method in class cn.hutool.core.lang.mutable.MutableShort
-
值减一
- decrypt(byte[], KeyType) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
解密
- decrypt(InputStream, KeyType) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
解密
- decrypt(String, KeyType) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
从Hex或Base64字符串解密,编码为UTF-8格式
- decrypt(byte[], KeyType) - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
解密
- decrypt(byte[], KeyType) - Method in class cn.hutool.crypto.asymmetric.RSA
-
- decrypt(byte[], KeyType) - Method in class cn.hutool.crypto.asymmetric.SM2
-
解密
- decrypt(byte[], CipherParameters) - Method in class cn.hutool.crypto.asymmetric.SM2
-
解密
- decrypt(byte[], Charset) - Method in class cn.hutool.crypto.symmetric.RC4
-
解密
- decrypt(byte[]) - Method in class cn.hutool.crypto.symmetric.RC4
-
解密,使用默认编码UTF-8
- decrypt(String) - Method in class cn.hutool.crypto.symmetric.RC4
-
解密Hex(16进制)或Base64表示的字符串,使用默认编码UTF-8
- decrypt(String, Charset) - Method in class cn.hutool.crypto.symmetric.RC4
-
解密Hex(16进制)或Base64表示的字符串
- decrypt(byte[]) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
解密
- decrypt(String) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
解密Hex(16进制)或Base64表示的字符串
- decrypt(InputStream) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
解密,不会关闭流
- decrypt(CharSequence, CharSequence) - Static method in class cn.hutool.crypto.symmetric.Vigenere
-
解密
- decryptBlockSize - Variable in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
解密的块大小
- decryptFromBcd(String, KeyType) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
解密BCD
- decryptFromBcd(String, KeyType, Charset) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
分组解密
- decryptStr(String, KeyType, Charset) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
解密为字符串,密文需为Hex(16进制)或Base64字符串
- decryptStr(String, KeyType) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
解密为字符串,密文需为Hex(16进制)或Base64字符串
- decryptStr(byte[], Charset) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
解密为字符串
- decryptStr(byte[]) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
解密为字符串,默认UTF-8编码
- decryptStr(String, Charset) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
解密Hex(16进制)或Base64表示的字符串
- decryptStr(String) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
解密Hex(16进制)或Base64表示的字符串,默认UTF-8编码
- decryptStr(InputStream, Charset) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
解密,不会关闭流
- decryptStr(InputStream) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
解密
- decryptStrFromBcd(String, KeyType, Charset) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
解密为字符串,密文需为BCD格式
- decryptStrFromBcd(String, KeyType) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
解密为字符串,密文需为BCD格式,编码为UTF-8格式
- DEFAULT - Static variable in class cn.hutool.core.net.URLEncoder
-
默认URLEncoder
默认的编码器针对URI路径编码,定义如下:
- DEFAULT - Static variable in class cn.hutool.extra.template.TemplateConfig
-
- DEFAULT_BUFFER_SIZE - Static variable in class cn.hutool.core.io.NioUtil
-
默认缓存大小 8192
- DEFAULT_CAPACITY - Static variable in class cn.hutool.core.text.StrBuilder
-
默认容量
- DEFAULT_CAPACITY - Static variable in class cn.hutool.cron.TaskTable
-
- DEFAULT_CAPACITY - Static variable in class cn.hutool.json.JSONArray
-
默认初始大小
- DEFAULT_CAPACITY - Static variable in class cn.hutool.json.JSONObject
-
默认初始大小
- DEFAULT_CHARSET - Static variable in class cn.hutool.core.io.file.FileWrapper
-
默认编码:UTF-8
- DEFAULT_CHARSET - Static variable in class cn.hutool.core.text.csv.CsvBaseReader
-
默认编码
- DEFAULT_CHARSET - Static variable in class cn.hutool.extra.ftp.AbstractFtp
-
- DEFAULT_CHARSET - Static variable in class cn.hutool.setting.Setting
-
默认字符集
- DEFAULT_COLLCTION_INITIAL_CAPACITY - Static variable in class cn.hutool.core.map.multi.CollectionValueMap
-
默认集合初始大小
- DEFAULT_CONFIG - Static variable in class cn.hutool.core.lang.tree.TreeNodeConfig
-
默认属性配置对象
- DEFAULT_CURRENCY_CODE - Static variable in class cn.hutool.core.math.Money
-
缺省的币种代码,为CNY(人民币)。
- DEFAULT_DB_CONFIG_PATH - Static variable in class cn.hutool.db.ds.pooled.DbSetting
-
默认的数据库连接配置文件路径
- DEFAULT_DB_CONFIG_PATH - Static variable in class cn.hutool.db.ds.simple.SimpleDataSource
-
默认的数据库连接配置文件路径
- DEFAULT_DELAY - Static variable in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
默认重试等待:100
- DEFAULT_DELIMITER - Static variable in class cn.hutool.setting.AbsSetting
-
数组类型值默认分隔符
- DEFAULT_GROUP - Static variable in class cn.hutool.setting.AbsSetting
-
默认分组
- DEFAULT_INDEX_FILE_NAME - Static variable in class cn.hutool.http.server.action.RootAction
-
- DEFAULT_INITIAL_CAPACITY - Static variable in class cn.hutool.core.map.MapUtil
-
默认初始大小
- DEFAULT_INITIAL_CAPACITY - Static variable in class cn.hutool.core.map.MapWrapper
-
默认初始大小
- DEFAULT_KEY_SIZE - Static variable in class cn.hutool.crypto.KeyUtil
-
默认密钥字节数
- DEFAULT_KEY_SIZE - Static variable in class cn.hutool.crypto.SecureUtil
-
默认密钥字节数
- DEFAULT_LARGE_BUFFER_SIZE - Static variable in class cn.hutool.core.io.NioUtil
-
默认大缓存大小 32768
- DEFAULT_LOAD_FACTOR - Static variable in class cn.hutool.core.map.MapUtil
-
默认增长因子,当Map的size达到 容量*增长因子时,开始扩充Map
- DEFAULT_LOAD_FACTOR - Static variable in class cn.hutool.core.map.MapWrapper
-
默认增长因子
- DEFAULT_MIDDLE_BUFFER_SIZE - Static variable in class cn.hutool.core.io.NioUtil
-
默认中等缓存大小 16384
- DEFAULT_PAGE_SIZE - Static variable in class cn.hutool.db.Page
-
- DEFAULT_PAGE_SIZE - Static variable in class cn.hutool.db.PageResult
-
- DEFAULT_PASSWORD_LENGTH - Static variable in class cn.hutool.crypto.digest.otp.HOTP
-
默认密码长度.
- DEFAULT_PORT - Static variable in class cn.hutool.extra.ftp.Ftp
-
默认端口
- DEFAULT_PROFILE - Static variable in class cn.hutool.setting.profile.Profile
-
默认环境
- DEFAULT_QUEUE_CAPACITY - Static variable in class cn.hutool.core.thread.ExecutorBuilder
-
默认的等待队列容量
- DEFAULT_ROUNDING_MODE - Static variable in class cn.hutool.core.math.Money
-
- DEFAULT_SEPARATOR - Static variable in class cn.hutool.dfa.SensitiveUtil
-
- DEFAULT_SSF - Static variable in class cn.hutool.http.ssl.DefaultSSLInfo
-
默认的SSLSocketFactory,区分安卓
- DEFAULT_TIME_STEP - Static variable in class cn.hutool.crypto.digest.otp.TOTP
-
默认步进 (30秒).
- DEFAULT_TRY_COUNT - Static variable in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
默认重试此时:10
- DEFAULT_WINDOW_SIZE - Static variable in class cn.hutool.poi.excel.BigExcelWriter
-
- defaultCharset() - Static method in class cn.hutool.core.util.CharsetUtil
-
系统默认字符集编码
- defaultCharsetName() - Static method in class cn.hutool.core.util.CharsetUtil
-
系统默认字符集编码
- defaultConfig() - Static method in class cn.hutool.core.text.csv.CsvReadConfig
-
默认配置
- defaultConfig() - Static method in class cn.hutool.core.text.csv.CsvWriteConfig
-
默认配置
- DefaultFilter - Class in cn.hutool.bloomfilter.filter
-
默认Bloom过滤器,使用Java自带的Hash算法
- DefaultFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.DefaultFilter
-
- DefaultFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.DefaultFilter
-
- DefaultHMacEngine - Class in cn.hutool.crypto.digest.mac
-
默认的HMAC算法实现引擎,使用
Mac
实现摘要
当引入BouncyCastle库时自动使用其作为Provider
- DefaultHMacEngine(String, byte[]) - Constructor for class cn.hutool.crypto.digest.mac.DefaultHMacEngine
-
构造
- DefaultHMacEngine(String, Key) - Constructor for class cn.hutool.crypto.digest.mac.DefaultHMacEngine
-
构造
- defaultIfBlank(T, T) - Static method in class cn.hutool.core.util.ObjectUtil
-
如果给定对象为null
或者""或者空白符返回默认值
- defaultIfEmpty(T, T) - Static method in class cn.hutool.core.collection.CollUtil
-
如果给定集合为空,返回默认集合
- defaultIfEmpty(T, T) - Static method in class cn.hutool.core.map.MapUtil
-
如果给定Map为空,返回默认Map
- defaultIfEmpty(T[], T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
如果给定数组为空,返回默认数组
- defaultIfEmpty(String, Supplier<? extends T>, T) - Static method in class cn.hutool.core.util.ObjectUtil
-
如果给定对象为null
或者""返回默认值, 否则返回自定义handle处理后的返回值
- defaultIfEmpty(T, T) - Static method in class cn.hutool.core.util.ObjectUtil
-
如果给定对象为null
或者 "" 返回默认值
- defaultIfEmpty() - Method in class cn.hutool.extra.mail.MailAccount
-
如果某些值为null,使用默认值
- defaultIfNull(T, T) - Static method in class cn.hutool.core.util.ObjectUtil
-
如果给定对象为null
返回默认值
- defaultIfNull(Object, Supplier<? extends T>, T) - Static method in class cn.hutool.core.util.ObjectUtil
-
如果给定对象为null
返回默认值, 如果不为null 返回自定义handle处理后的返回值
- DefaultNodeParser<T> - Class in cn.hutool.core.lang.tree.parser
-
默认的简单转换器
- DefaultNodeParser() - Constructor for class cn.hutool.core.lang.tree.parser.DefaultNodeParser
-
- DefaultSegment<T extends Number> - Class in cn.hutool.core.lang
-
片段默认实现
- DefaultSegment(T, T) - Constructor for class cn.hutool.core.lang.DefaultSegment
-
构造
- DefaultSSLFactory - Class in cn.hutool.http.ssl
-
默认的SSLSocketFactory
- DefaultSSLFactory() - Constructor for class cn.hutool.http.ssl.DefaultSSLFactory
-
- DefaultSSLInfo - Class in cn.hutool.http.ssl
-
默认的SSL配置,当用户未设置相关信息时,使用默认设置,默认设置为单例模式。
- DefaultSSLInfo() - Constructor for class cn.hutool.http.ssl.DefaultSSLInfo
-
- DefaultTrustManager - Class in cn.hutool.core.net
-
默认信任管理器,默认信任所有客户端和服务端证书
- DefaultTrustManager() - Constructor for class cn.hutool.core.net.DefaultTrustManager
-
- dekHash(String) - Static method in class cn.hutool.core.util.HashUtil
-
DEK算法
- del(Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
删除文件或者文件夹,不追踪软链
注意:删除文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
- del(String) - Static method in class cn.hutool.core.io.FileUtil
-
删除文件或者文件夹
路径如果为相对路径,会转换为ClassPath路径! 注意:删除文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
- del(File) - Static method in class cn.hutool.core.io.FileUtil
-
删除文件或者文件夹
注意:删除文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
- del(int, int) - Method in class cn.hutool.core.text.StrBuilder
-
删除指定长度的字符,规则如下:
- del(String, String, Object) - Method in class cn.hutool.db.AbstractDb
-
删除数据
- del(Entity) - Method in class cn.hutool.db.AbstractDb
-
删除数据
- del() - Method in class cn.hutool.db.ActiveEntity
-
根据现有Entity中的条件删除与之匹配的数据库记录
- del(T) - Method in class cn.hutool.db.DaoTemplate
-
删除
- del(String, T) - Method in class cn.hutool.db.DaoTemplate
-
删除
- del(Entity) - Method in class cn.hutool.db.DaoTemplate
-
删除
- del(Connection, Entity) - Method in class cn.hutool.db.DialectRunner
-
删除数据
此方法不会关闭Connection
- del(String...) - Method in class cn.hutool.db.nosql.redis.RedisDS
-
从Redis中删除多个值
- delAll(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
删除匹配的全部内容
- delAll(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
删除匹配的全部内容
- delay - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- delay - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- DelayWatcher - Class in cn.hutool.core.io.watch.watchers
-
延迟观察者
使用此观察者通过定义一定的延迟时间,解决
WatchService
多个modify的问题
在监听目录或文件时,如果这个文件有修改操作,会多次触发modify方法。
此类通过维护一个Set将短时间内相同文件多次modify的事件合并处理触发,从而避免以上问题。
注意:延迟只针对modify事件,其它事件无效
- DelayWatcher(Watcher, long) - Constructor for class cn.hutool.core.io.watch.watchers.DelayWatcher
-
构造
- delDir(String) - Method in class cn.hutool.extra.ftp.AbstractFtp
-
删除文件夹及其文件夹下的所有文件
- delDir(String) - Method in class cn.hutool.extra.ftp.Ftp
-
- delDir(String) - Method in class cn.hutool.extra.ssh.Sftp
-
删除文件夹及其文件夹下的所有文件
- DelegatedExecutorService - Class in cn.hutool.core.thread
-
ExecutorService代理
- delete() - Method in class cn.hutool.core.net.multipart.UploadFile
-
从磁盘或者内存中删除这个文件
- delete(String) - Method in class cn.hutool.db.sql.SqlBuilder
-
删除
- delete(String) - Static method in class cn.hutool.http.HttpRequest
-
DELETE请求
- delFile(String) - Method in class cn.hutool.extra.ftp.AbstractFtp
-
删除指定目录下的指定文件
- delFile(String) - Method in class cn.hutool.extra.ftp.Ftp
-
- delFile(String) - Method in class cn.hutool.extra.ssh.Sftp
-
删除文件
- delFirst(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
删除匹配的第一个内容
- delFirst(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
删除匹配的第一个内容
- DELIM_END - Static variable in class cn.hutool.core.util.CharUtil
-
字符常量:花括号(右) '}'
- DELIM_END - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:花括号(右) "}"
- DELIM_START - Static variable in class cn.hutool.core.util.CharUtil
-
字符常量:花括号(左) '{'
- DELIM_START - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:花括号(左) "{"
- delPre(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
删除正则匹配到的内容之前的字符 如果没有找到,则返回原文
- delTo(int) - Method in class cn.hutool.core.text.StrBuilder
-
删除到指定位置
如果新位置小于等于0,则删除全部
- delUser(String) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
删除用户
- DelVisitor - Class in cn.hutool.core.io.file.visitor
-
删除操作的FileVisitor实现,用于递归遍历删除文件夹
- DelVisitor() - Constructor for class cn.hutool.core.io.file.visitor.DelVisitor
-
- DependencyException - Exception in cn.hutool.core.exceptions
-
依赖异常
- DependencyException(Throwable) - Constructor for exception cn.hutool.core.exceptions.DependencyException
-
- DependencyException(String) - Constructor for exception cn.hutool.core.exceptions.DependencyException
-
- DependencyException(String, Object...) - Constructor for exception cn.hutool.core.exceptions.DependencyException
-
- DependencyException(String, Throwable) - Constructor for exception cn.hutool.core.exceptions.DependencyException
-
- DependencyException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.exceptions.DependencyException
-
- des() - Static method in class cn.hutool.crypto.SecureUtil
-
DES加密,生成随机KEY。注意解密时必须使用相同
DES
对象或者使用相同KEY
例:
- des(byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
DES加密
例:
- DES - Class in cn.hutool.crypto.symmetric
-
DES加密算法实现
DES全称为Data Encryption Standard,即数据加密标准,是一种使用密钥加密的块算法
Java中默认实现为:DES/CBC/PKCS5Padding
- DES() - Constructor for class cn.hutool.crypto.symmetric.DES
-
构造,默认DES/CBC/PKCS5Padding,使用随机密钥
- DES(byte[]) - Constructor for class cn.hutool.crypto.symmetric.DES
-
构造,使用默认的DES/CBC/PKCS5Padding
- DES(Mode, Padding) - Constructor for class cn.hutool.crypto.symmetric.DES
-
构造,使用随机密钥
- DES(Mode, Padding, byte[]) - Constructor for class cn.hutool.crypto.symmetric.DES
-
构造
- DES(Mode, Padding, byte[], byte[]) - Constructor for class cn.hutool.crypto.symmetric.DES
-
构造
- DES(Mode, Padding, SecretKey) - Constructor for class cn.hutool.crypto.symmetric.DES
-
构造
- DES(Mode, Padding, SecretKey, IvParameterSpec) - Constructor for class cn.hutool.crypto.symmetric.DES
-
构造
- DES(String, String) - Constructor for class cn.hutool.crypto.symmetric.DES
-
构造
- DES(String, String, byte[]) - Constructor for class cn.hutool.crypto.symmetric.DES
-
构造
- DES(String, String, byte[], byte[]) - Constructor for class cn.hutool.crypto.symmetric.DES
-
构造
- DES(String, String, SecretKey) - Constructor for class cn.hutool.crypto.symmetric.DES
-
构造
- DES(String, String, SecretKey, IvParameterSpec) - Constructor for class cn.hutool.crypto.symmetric.DES
-
构造
- descForEach(Class<?>, Consumer<? super PropDesc>) - Static method in class cn.hutool.core.bean.BeanUtil
-
遍历Bean的属性
- deschedule(String) - Method in class cn.hutool.cron.Scheduler
-
移除Task
- description() - Method in class cn.hutool.http.server.filter.SimpleFilter
-
- desede() - Static method in class cn.hutool.crypto.SecureUtil
-
DESede加密(又名3DES、TripleDES),生成随机KEY。注意解密时必须使用相同
DESede
对象或者使用相同KEY
Java中默认实现为:DESede/ECB/PKCS5Padding
例:
- desede(byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
DESede加密(又名3DES、TripleDES)
Java中默认实现为:DESede/ECB/PKCS5Padding
例:
- DESede - Class in cn.hutool.crypto.symmetric
-
DESede是由DES对称加密算法改进后的一种对称加密算法,又名3DES、TripleDES。
使用 168 位的密钥对资料进行三次加密的一种机制;它通常(但非始终)提供极其强大的安全性。
如果三个 56 位的子元素都相同,则三重 DES 向后兼容 DES。
Java中默认实现为:DESede/ECB/PKCS5Padding
- DESede() - Constructor for class cn.hutool.crypto.symmetric.DESede
-
构造,默认DESede/ECB/PKCS5Padding,使用随机密钥
- DESede(byte[]) - Constructor for class cn.hutool.crypto.symmetric.DESede
-
构造,使用默认的DESede/ECB/PKCS5Padding
- DESede(Mode, Padding) - Constructor for class cn.hutool.crypto.symmetric.DESede
-
构造,使用随机密钥
- DESede(Mode, Padding, byte[]) - Constructor for class cn.hutool.crypto.symmetric.DESede
-
构造
- DESede(Mode, Padding, byte[], byte[]) - Constructor for class cn.hutool.crypto.symmetric.DESede
-
构造
- DESede(Mode, Padding, SecretKey) - Constructor for class cn.hutool.crypto.symmetric.DESede
-
构造
- DESede(Mode, Padding, SecretKey, IvParameterSpec) - Constructor for class cn.hutool.crypto.symmetric.DESede
-
构造
- DESede(String, String) - Constructor for class cn.hutool.crypto.symmetric.DESede
-
构造
- DESede(String, String, byte[]) - Constructor for class cn.hutool.crypto.symmetric.DESede
-
构造
- DESede(String, String, byte[], byte[]) - Constructor for class cn.hutool.crypto.symmetric.DESede
-
构造
- DESede(String, String, SecretKey) - Constructor for class cn.hutool.crypto.symmetric.DESede
-
构造
- DESede(String, String, SecretKey, IvParameterSpec) - Constructor for class cn.hutool.crypto.symmetric.DESede
-
构造
- deserialize(byte[]) - Static method in class cn.hutool.core.util.ObjectUtil
-
反序列化
对象必须实现Serializable接口
- deserialize(JSON) - Method in interface cn.hutool.json.serialize.JSONDeserializer
-
反序列化,通过实现此方法,自定义实现JSON转换为指定类型的逻辑
- desktopPlatforms - Static variable in class cn.hutool.http.useragent.Platform
-
支持的桌面平台类型
- DesktopUtil - Class in cn.hutool.core.swing
-
桌面相关工具(平台相关)
Desktop 类允许 Java 应用程序启动已在本机桌面上注册的关联应用程序,以处理 URI 或文件。
- DesktopUtil() - Constructor for class cn.hutool.core.swing.DesktopUtil
-
- dest - Variable in class cn.hutool.core.lang.copier.SrcToDestCopier
-
目标
- destFile - Variable in class cn.hutool.poi.excel.ExcelWriter
-
目标文件
- destFile - Variable in class cn.hutool.poi.word.Word07Writer
-
目标文件
- destroy() - Static method in class cn.hutool.core.lang.Singleton
-
清除所有Singleton对象
- destroy(Process) - Static method in class cn.hutool.core.util.RuntimeUtil
-
销毁进程
- destroy() - Method in class cn.hutool.cron.TaskExecutorManager
-
- destroy() - Method in class cn.hutool.cron.TaskLauncherManager
-
- destroy() - Method in class cn.hutool.db.ds.AbstractDSFactory
-
- destroy() - Method in class cn.hutool.db.ds.DSFactory
-
销毁工厂类,关闭所有数据源
- detect(InputStream, Charset...) - Static method in class cn.hutool.core.io.CharsetDetector
-
探测编码
- DiagnosticUtil - Class in cn.hutool.core.compiler
-
诊断工具类
- DiagnosticUtil() - Constructor for class cn.hutool.core.compiler.DiagnosticUtil
-
- Dialect - Interface in cn.hutool.db.dialect
-
SQL方言,不同的数据库由于在某些SQL上有所区别,故为每种数据库配置不同的方言。
由于不同数据库间SQL语句的差异,导致无法统一拼接SQL,
Dialect接口旨在根据不同的数据库,使用不同的方言实现类,来拼接对应的SQL,并将SQL和参数放入PreparedStatement中
- DialectFactory - Class in cn.hutool.db.dialect
-
方言工厂类
- dialectName() - Method in interface cn.hutool.db.dialect.Dialect
-
方言名
- DialectName - Enum in cn.hutool.db.dialect
-
方言名
方言枚举列出了Hutool支持的所有数据库方言
- dialectName() - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- dialectName() - Method in class cn.hutool.db.dialect.impl.H2Dialect
-
- dialectName() - Method in class cn.hutool.db.dialect.impl.MysqlDialect
-
- dialectName() - Method in class cn.hutool.db.dialect.impl.OracleDialect
-
- dialectName() - Method in class cn.hutool.db.dialect.impl.PostgresqlDialect
-
- dialectName() - Method in class cn.hutool.db.dialect.impl.Sqlite3Dialect
-
- dialectName() - Method in class cn.hutool.db.dialect.impl.SqlServer2012Dialect
-
- DialectRunner - Class in cn.hutool.db
-
提供基于方言的原始增删改查执行封装
- DialectRunner(Dialect) - Constructor for class cn.hutool.db.DialectRunner
-
构造
- DialectRunner(String) - Constructor for class cn.hutool.db.DialectRunner
-
构造
- Dict - Class in cn.hutool.core.lang
-
字典对象,扩充了HashMap中的方法
- Dict() - Constructor for class cn.hutool.core.lang.Dict
-
构造
- Dict(boolean) - Constructor for class cn.hutool.core.lang.Dict
-
构造
- Dict(int) - Constructor for class cn.hutool.core.lang.Dict
-
构造
- Dict(int, boolean) - Constructor for class cn.hutool.core.lang.Dict
-
构造
- Dict(int, float) - Constructor for class cn.hutool.core.lang.Dict
-
构造
- Dict(int, float, boolean) - Constructor for class cn.hutool.core.lang.Dict
-
构造
- Dict(Map<String, Object>) - Constructor for class cn.hutool.core.lang.Dict
-
构造
- digest(String, String) - Method in class cn.hutool.crypto.digest.Digester
-
生成文件摘要
- digest(String, Charset) - Method in class cn.hutool.crypto.digest.Digester
-
生成文件摘要
- digest(String) - Method in class cn.hutool.crypto.digest.Digester
-
生成文件摘要
- digest(File) - Method in class cn.hutool.crypto.digest.Digester
-
- digest(byte[]) - Method in class cn.hutool.crypto.digest.Digester
-
生成摘要,考虑加盐和重复摘要次数
- digest(InputStream) - Method in class cn.hutool.crypto.digest.Digester
-
- digest(InputStream, int) - Method in class cn.hutool.crypto.digest.Digester
-
生成摘要
- digest(String, String) - Method in class cn.hutool.crypto.digest.HMac
-
生成文件摘要
- digest(String) - Method in class cn.hutool.crypto.digest.HMac
-
生成文件摘要
- digest(File) - Method in class cn.hutool.crypto.digest.HMac
-
- digest(byte[]) - Method in class cn.hutool.crypto.digest.HMac
-
生成摘要
- digest(InputStream) - Method in class cn.hutool.crypto.digest.HMac
-
- digest(InputStream, int) - Method in class cn.hutool.crypto.digest.HMac
-
生成摘要
- digest(InputStream, int) - Method in class cn.hutool.crypto.digest.mac.BCHMacEngine
-
- digest(InputStream, int) - Method in class cn.hutool.crypto.digest.mac.DefaultHMacEngine
-
- digest(InputStream, int) - Method in interface cn.hutool.crypto.digest.mac.MacEngine
-
生成摘要
- DigestAlgorithm - Enum in cn.hutool.crypto.digest
-
摘要算法类型
see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#MessageDigest
- digestCount - Variable in class cn.hutool.crypto.digest.Digester
-
散列次数
- Digester - Class in cn.hutool.crypto.digest
-
摘要算法
注意:此对象实例化后为非线程安全!
- Digester(DigestAlgorithm) - Constructor for class cn.hutool.crypto.digest.Digester
-
构造
- Digester(String) - Constructor for class cn.hutool.crypto.digest.Digester
-
构造
- Digester(DigestAlgorithm, Provider) - Constructor for class cn.hutool.crypto.digest.Digester
-
构造
- Digester(String, Provider) - Constructor for class cn.hutool.crypto.digest.Digester
-
构造
- digester(DigestAlgorithm) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
新建摘要器
- digester(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
新建摘要器
- digestHex(String, String) - Method in class cn.hutool.crypto.digest.Digester
-
生成文件摘要,并转为16进制字符串
- digestHex(String, Charset) - Method in class cn.hutool.crypto.digest.Digester
-
生成文件摘要,并转为16进制字符串
- digestHex(String) - Method in class cn.hutool.crypto.digest.Digester
-
生成文件摘要
- digestHex(File) - Method in class cn.hutool.crypto.digest.Digester
-
- digestHex(byte[]) - Method in class cn.hutool.crypto.digest.Digester
-
生成摘要,并转为16进制字符串
- digestHex(InputStream) - Method in class cn.hutool.crypto.digest.Digester
-
- digestHex(InputStream, int) - Method in class cn.hutool.crypto.digest.Digester
-
- digestHex(String, String) - Method in class cn.hutool.crypto.digest.HMac
-
生成文件摘要,并转为16进制字符串
- digestHex(String) - Method in class cn.hutool.crypto.digest.HMac
-
生成文件摘要
- digestHex(File) - Method in class cn.hutool.crypto.digest.HMac
-
- digestHex(byte[]) - Method in class cn.hutool.crypto.digest.HMac
-
生成摘要,并转为16进制字符串
- digestHex(InputStream) - Method in class cn.hutool.crypto.digest.HMac
-
- digestHex(InputStream, int) - Method in class cn.hutool.crypto.digest.HMac
-
- digestHex16(String, Charset) - Method in class cn.hutool.crypto.digest.MD5
-
生成16位MD5摘要
- digestHex16(String) - Method in class cn.hutool.crypto.digest.MD5
-
生成16位MD5摘要
- digestHex16(InputStream) - Method in class cn.hutool.crypto.digest.MD5
-
生成16位MD5摘要
- digestHex16(File) - Method in class cn.hutool.crypto.digest.MD5
-
生成16位MD5摘要
- digestHex16(byte[]) - Method in class cn.hutool.crypto.digest.MD5
-
生成16位MD5摘要
- DigestUtil - Class in cn.hutool.crypto.digest
-
摘要算法工具类
- DigestUtil() - Constructor for class cn.hutool.crypto.digest.DigestUtil
-
- digit16(int) - Static method in class cn.hutool.core.util.CharUtil
-
获取给定字符的16进制数值
- digitToChinese(Number) - Static method in class cn.hutool.core.convert.Convert
-
金额转为中文形式
- dimension - Static variable in class cn.hutool.core.swing.ScreenUtil
-
- Direction - Enum in cn.hutool.db.sql
-
排序方式(升序或者降序)
- disableBouncyCastle() - Static method in class cn.hutool.crypto.SecureUtil
-
强制关闭Bouncy Castle库的使用,全局有效
- disableCache() - Method in class cn.hutool.http.HttpConnection
-
关闭缓存
- disableCache() - Method in class cn.hutool.http.HttpRequest
-
禁用缓存
- disableCookie() - Method in class cn.hutool.http.HttpRequest
-
- disableDefaultDocumentBuilderFactory() - Static method in class cn.hutool.core.util.XmlUtil
-
禁用默认的DocumentBuilderFactory,禁用后如果有第三方的实现(如oracle的xdb包中的xmlparse),将会自动加载实现。
- disableDefaultStyle() - Method in class cn.hutool.poi.excel.ExcelWriter
-
禁用默认样式
- disableLock() - Method in class cn.hutool.core.lang.Range
-
禁用锁,调用此方法后不在 使用锁保护
- disableWrapper() - Method in class cn.hutool.db.AbstractDb
-
取消包装器
取消自动添加到字段名、表名上的包装符(例如双引号)
- disableWrapper() - Method in class cn.hutool.db.Db
-
- disableWrapper() - Method in class cn.hutool.db.Session
-
- disconnect() - Method in class cn.hutool.http.HttpConnection
-
断开连接
- disconnectQuietly() - Method in class cn.hutool.http.HttpConnection
-
静默断开连接。不抛出异常
- disjunction(Collection<T>, Collection<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
两个集合的差集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留两个集合中此元素个数差的个数
例如:
- dispose - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- dispose - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- distinct(Collection<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
去重集合
- distinct(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
- div(float, float) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
- div(float, double) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
- div(double, float) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
- div(double, double) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
- div(Double, Double) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
- div(Number, Number) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
- div(String, String) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
- div(float, float, int) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
- div(float, double, int) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
- div(double, float, int) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
- div(double, double, int) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
- div(Double, Double, int) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
- div(Number, Number, int) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
- div(String, String, int) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
- div(float, float, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- div(float, double, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- div(double, float, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- div(double, double, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- div(Double, Double, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- div(Number, Number, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- div(String, String, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- div(BigDecimal, BigDecimal, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- divide(double) - Method in class cn.hutool.core.math.Money
-
货币除法。
- divide(BigDecimal) - Method in class cn.hutool.core.math.Money
-
货币除法。
- divide(BigDecimal, RoundingMode) - Method in class cn.hutool.core.math.Money
-
货币除法。
- divideBy(double) - Method in class cn.hutool.core.math.Money
-
货币累除。
- divideBy(BigDecimal) - Method in class cn.hutool.core.math.Money
-
货币累除。
- divideBy(BigDecimal, RoundingMode) - Method in class cn.hutool.core.math.Money
-
货币累除。
- divisor(int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
最大公约数
- djbHash(String) - Static method in class cn.hutool.core.util.HashUtil
-
DJB算法
- doAction(WatchEvent<?>, Path) - Method in interface cn.hutool.core.io.watch.WatchAction
-
- doAction(HttpServerRequest, HttpServerResponse) - Method in interface cn.hutool.http.server.action.Action
-
处理请求
- doAction(HttpServerRequest, HttpServerResponse) - Method in class cn.hutool.http.server.action.RootAction
-
- doAction(AioSession, T) - Method in interface cn.hutool.socket.aio.IoAction
-
执行数据处理(消息读取)
- doAfterAllAnalysed() - Method in interface cn.hutool.poi.excel.sax.handler.RowHandler
-
处理一个sheet页完成的操作
- DocUtil - Class in cn.hutool.poi.word
-
Word Document工具
- DocUtil() - Constructor for class cn.hutool.poi.word.DocUtil
-
- doFilter(HttpServerRequest, HttpServerResponse, Filter.Chain) - Method in interface cn.hutool.http.server.filter.HttpFilter
-
执行过滤
- DOT - Static variable in class cn.hutool.core.util.CharUtil
-
字符常量:点 '.'
- DOT - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:点 "."
- DOUBLE_DOT - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:双点 ".."
用途:作为指向上级文件夹的路径,如:"../path"
- DOUBLE_QUOTES - Static variable in class cn.hutool.core.util.CharUtil
-
字符常量:双引号 '"'
- doubleValue() - Method in class cn.hutool.core.lang.mutable.MutableByte
-
- doubleValue() - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
- doubleValue() - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
- doubleValue() - Method in class cn.hutool.core.lang.mutable.MutableInt
-
- doubleValue() - Method in class cn.hutool.core.lang.mutable.MutableLong
-
- doubleValue() - Method in class cn.hutool.core.lang.mutable.MutableShort
-
- download(String, File) - Method in class cn.hutool.extra.ftp.AbstractFtp
-
下载文件
- download(String, File) - Method in class cn.hutool.extra.ftp.Ftp
-
下载文件
- download(String, String, File) - Method in class cn.hutool.extra.ftp.Ftp
-
下载文件
- download(String, String, OutputStream) - Method in class cn.hutool.extra.ftp.Ftp
-
下载文件到输出流
- download(String, String, OutputStream, Charset) - Method in class cn.hutool.extra.ftp.Ftp
-
下载文件到输出流
- download(String, File) - Method in class cn.hutool.extra.ssh.Sftp
-
- download(String, OutputStream, boolean) - Static method in class cn.hutool.http.HttpUtil
-
下载远程文件
- download(String, OutputStream, boolean, StreamProgress) - Static method in class cn.hutool.http.HttpUtil
-
下载远程文件
- downloadBytes(String) - Static method in class cn.hutool.http.HttpUtil
-
下载远程文件数据,支持30x跳转
- downloadFile(String, String) - Static method in class cn.hutool.http.HttpUtil
-
下载远程文件
- downloadFile(String, File) - Static method in class cn.hutool.http.HttpUtil
-
下载远程文件
- downloadFile(String, File, int) - Static method in class cn.hutool.http.HttpUtil
-
下载远程文件
- downloadFile(String, File, StreamProgress) - Static method in class cn.hutool.http.HttpUtil
-
下载远程文件
- downloadFile(String, File, int, StreamProgress) - Static method in class cn.hutool.http.HttpUtil
-
下载远程文件
- downloadFileFromUrl(String, String) - Static method in class cn.hutool.http.HttpUtil
-
下载远程文件
- downloadFileFromUrl(String, File) - Static method in class cn.hutool.http.HttpUtil
-
下载远程文件
- downloadFileFromUrl(String, File, int) - Static method in class cn.hutool.http.HttpUtil
-
下载远程文件
- downloadFileFromUrl(String, File, StreamProgress) - Static method in class cn.hutool.http.HttpUtil
-
下载远程文件
- downloadFileFromUrl(String, File, int, StreamProgress) - Static method in class cn.hutool.http.HttpUtil
-
下载远程文件
- downloadString(String, String) - Static method in class cn.hutool.http.HttpUtil
-
下载远程文本
- downloadString(String, Charset) - Static method in class cn.hutool.http.HttpUtil
-
下载远程文本
- downloadString(String, Charset, StreamProgress) - Static method in class cn.hutool.http.HttpUtil
-
下载远程文本
- drawImg(Graphics, Image, Point) - Static method in class cn.hutool.core.img.GraphicsUtil
-
绘制图片
- drawImg(Graphics, Image, Rectangle) - Static method in class cn.hutool.core.img.GraphicsUtil
-
绘制图片
- drawString(Graphics, String, Font, Color, int, int) - Static method in class cn.hutool.core.img.GraphicsUtil
-
绘制字符串,默认抗锯齿
- drawString(Graphics, String, Font, Color, Rectangle) - Static method in class cn.hutool.core.img.GraphicsUtil
-
绘制字符串,默认抗锯齿。
此方法定义一个矩形区域和坐标,文字基于这个区域中间偏移x,y绘制。
- drawString(Graphics, String, Font, Color, Point) - Static method in class cn.hutool.core.img.GraphicsUtil
-
绘制字符串,默认抗锯齿
- drawStringColourful(Graphics, String, Font, int, int) - Static method in class cn.hutool.core.img.GraphicsUtil
-
绘制字符串,使用随机颜色,默认抗锯齿
- DRIVER_DERBY - Static variable in class cn.hutool.db.dialect.DialectFactory
-
JDBC 驱动 Derby
- DRIVER_DM7 - Static variable in class cn.hutool.db.dialect.DialectFactory
-
JDBC 驱动 达梦7
- DRIVER_H2 - Static variable in class cn.hutool.db.dialect.DialectFactory
-
JDBC 驱动 H2
- DRIVER_HIVE - Static variable in class cn.hutool.db.dialect.DialectFactory
-
JDBC 驱动 Hive
- DRIVER_HIVE2 - Static variable in class cn.hutool.db.dialect.DialectFactory
-
JDBC 驱动 Hive2
- DRIVER_HSQLDB - Static variable in class cn.hutool.db.dialect.DialectFactory
-
JDBC 驱动 HSQLDB
- DRIVER_KINGBASE8 - Static variable in class cn.hutool.db.dialect.DialectFactory
-
JDBC 驱动 人大金仓
- DRIVER_MYSQL - Static variable in class cn.hutool.db.dialect.DialectFactory
-
JDBC 驱动 MySQL
- DRIVER_MYSQL_V6 - Static variable in class cn.hutool.db.dialect.DialectFactory
-
JDBC 驱动 MySQL,在6.X版本中变动驱动类名,且使用SPI机制
- DRIVER_ORACLE - Static variable in class cn.hutool.db.dialect.DialectFactory
-
JDBC 驱动 Oracle
- DRIVER_ORACLE_OLD - Static variable in class cn.hutool.db.dialect.DialectFactory
-
JDBC 驱动 Oracle,旧版使用
- DRIVER_POSTGRESQL - Static variable in class cn.hutool.db.dialect.DialectFactory
-
JDBC 驱动 PostgreSQL
- DRIVER_SQLLITE3 - Static variable in class cn.hutool.db.dialect.DialectFactory
-
JDBC 驱动 SQLLite3
- DRIVER_SQLSERVER - Static variable in class cn.hutool.db.dialect.DialectFactory
-
JDBC 驱动 SQLServer
- DriverUtil - Class in cn.hutool.db.dialect
-
驱动相关工具类,包括自动获取驱动类名
- DriverUtil() - Constructor for class cn.hutool.db.dialect.DriverUtil
-
- DruidDSFactory - Class in cn.hutool.db.ds.druid
-
Druid数据源工厂类
- DruidDSFactory() - Constructor for class cn.hutool.db.ds.druid.DruidDSFactory
-
构造,使用默认配置文件
- DruidDSFactory(Setting) - Constructor for class cn.hutool.db.ds.druid.DruidDSFactory
-
构造
- ds - Variable in class cn.hutool.db.AbstractDb
-
- DS_NAME - Static variable in class cn.hutool.db.ds.bee.BeeDSFactory
-
- DS_NAME - Static variable in class cn.hutool.db.ds.c3p0.C3p0DSFactory
-
- DS_NAME - Static variable in class cn.hutool.db.ds.dbcp.DbcpDSFactory
-
- DS_NAME - Static variable in class cn.hutool.db.ds.druid.DruidDSFactory
-
- DS_NAME - Static variable in class cn.hutool.db.ds.hikari.HikariDSFactory
-
- DS_NAME - Static variable in class cn.hutool.db.ds.jndi.JndiDSFactory
-
- DS_NAME - Static variable in class cn.hutool.db.ds.pooled.PooledDSFactory
-
- DS_NAME - Static variable in class cn.hutool.db.ds.simple.SimpleDSFactory
-
- DS_NAME - Static variable in class cn.hutool.db.ds.tomcat.TomcatDSFactory
-
- DSFactory - Class in cn.hutool.db.ds
-
- DSFactory(String) - Constructor for class cn.hutool.db.ds.DSFactory
-
构造
- dump() - Method in class cn.hutool.core.math.Money
-
生成本对象内部变量的字符串表示,用于调试。
- dumpSystemInfo() - Static method in class cn.hutool.system.SystemUtil
-
将系统信息输出到System.out
中。
- dumpSystemInfo(PrintWriter) - Static method in class cn.hutool.system.SystemUtil
-
将系统信息输出到指定PrintWriter
中。
- DurationConverter - Class in cn.hutool.core.convert.impl
-
- DurationConverter() - Constructor for class cn.hutool.core.convert.impl.DurationConverter
-
- DynaBean - Class in cn.hutool.core.bean
-
动态Bean,通过反射对Bean的相关方法做操作
支持Map和普通Bean
- DynaBean(Class<?>, Object...) - Constructor for class cn.hutool.core.bean.DynaBean
-
构造
- DynaBean(Class<?>) - Constructor for class cn.hutool.core.bean.DynaBean
-
构造
- DynaBean(Object) - Constructor for class cn.hutool.core.bean.DynaBean
-
构造
- DynaBeanValueProvider - Class in cn.hutool.core.bean.copier.provider
-
DynaBean值提供者
- DynaBeanValueProvider(DynaBean, boolean) - Constructor for class cn.hutool.core.bean.copier.provider.DynaBeanValueProvider
-
构造
- ECIES - Class in cn.hutool.crypto.asymmetric
-
ECIES(集成加密方案,elliptic curve integrate encrypt scheme)
- ECIES() - Constructor for class cn.hutool.crypto.asymmetric.ECIES
-
构造,生成新的私钥公钥对
- ECIES(String) - Constructor for class cn.hutool.crypto.asymmetric.ECIES
-
构造,生成新的私钥公钥对
- ECIES(String, String) - Constructor for class cn.hutool.crypto.asymmetric.ECIES
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- ECIES(String, String, String) - Constructor for class cn.hutool.crypto.asymmetric.ECIES
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- ECIES(byte[], byte[]) - Constructor for class cn.hutool.crypto.asymmetric.ECIES
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- ECIES(PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.ECIES
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- ECIES(String, PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.ECIES
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- ECKeyUtil - Class in cn.hutool.crypto
-
EC密钥参数相关工具类封装
- ECKeyUtil() - Constructor for class cn.hutool.crypto.ECKeyUtil
-
- edit(T) - Method in interface cn.hutool.core.lang.Editor
-
修改过滤后的结果
- edit(File) - Static method in class cn.hutool.core.swing.DesktopUtil
-
启动关联编辑器应用程序并打开用于编辑的文件
- edit(T[], Editor<T>) - Static method in class cn.hutool.core.util.ArrayUtil
-
编辑数组
编辑过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
- edit(Cell, Object) - Method in interface cn.hutool.poi.excel.cell.CellEditor
-
编辑
- edit(Cell, Object) - Method in class cn.hutool.poi.excel.editors.NumericToIntEditor
-
- edit(Cell, Object) - Method in class cn.hutool.poi.excel.editors.TrimEditor
-
- editable - Variable in class cn.hutool.core.bean.copier.CopyOptions
-
限制的类或接口,必须为目标对象的实现接口或父类,用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
- editFieldName(String) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
转换字段名为编辑后的字段名
- Editor<T> - Interface in cn.hutool.core.lang
-
编辑器接口,常用于对于集合中的元素做统一编辑
此编辑器两个作用:
- ElementName - Enum in cn.hutool.poi.excel.sax
-
标签名枚举
- elementText(Element, String) - Static method in class cn.hutool.core.util.XmlUtil
-
根据节点名获得第一个子节点
- elementText(Element, String, String) - Static method in class cn.hutool.core.util.XmlUtil
-
根据节点名获得第一个子节点
- ELFFilter - Class in cn.hutool.bloomfilter.filter
-
- ELFFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.ELFFilter
-
- ELFFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.ELFFilter
-
- elfHash(String) - Static method in class cn.hutool.core.util.HashUtil
-
ELF算法
- EMAIL - Static variable in class cn.hutool.core.lang.PatternPool
-
邮件,符合RFC 5322规范,正则来自:http://emailregex.com/
- EMAIL - Static variable in class cn.hutool.core.lang.Validator
-
邮件
- EmojiUtil - Class in cn.hutool.extra.emoji
-
基于https://github.com/vdurmont/emoji-java的Emoji表情工具类
- EmojiUtil() - Constructor for class cn.hutool.extra.emoji.EmojiUtil
-
- empty() - Static method in class cn.hutool.core.bean.OptionalBean
-
空值常量
- empty(Class<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
根据给定的集合类型,返回对应的空集合,支持类型包括:
*
- empty() - Static method in class cn.hutool.core.collection.IterUtil
-
返回一个空Iterator
- empty() - Static method in class cn.hutool.core.collection.ListUtil
-
获取一个空List
- empty() - Static method in class cn.hutool.core.map.MapUtil
-
返回一个空Map
- empty(Class<?>) - Static method in class cn.hutool.core.map.MapUtil
-
根据传入的Map类型不同,返回对应类型的空Map,支持类型包括:
- EMPTY - Static variable in class cn.hutool.core.text.CharSequenceUtil
-
字符串常量:空字符串 ""
- EMPTY_JSON - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:空 JSON "{}"
- emptyCount(Object...) - Static method in class cn.hutool.core.util.ArrayUtil
-
- emptyCount(Object...) - Static method in class cn.hutool.core.util.ObjectUtil
-
- emptyIfNull(Set<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
- emptyIfNull(List<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
- emptyIfNull(Map<K, V>) - Static method in class cn.hutool.core.map.MapUtil
-
- emptyIfNull(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
当给定字符串为null时,转换为Empty
- emptyToDefault(CharSequence, String) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
如果字符串是null
或者"",则返回指定默认字符串,否则返回字符串本身。
- emptyToNull(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
当给定字符串为空字符串时,转换为null
- enableDefaultCookie() - Method in class cn.hutool.http.HttpRequest
-
打开默认的Cookie行为(自动回填服务器传回的Cookie)
- EnableSpringUtil - Annotation Type in cn.hutool.extra.spring
-
启用SpringUtil, 即注入SpringUtil到容器中
- encode(byte[]) - Static method in class cn.hutool.core.codec.Base32
-
编码
- encode(String) - Static method in class cn.hutool.core.codec.Base32
-
base32编码
- encode(String, String) - Static method in class cn.hutool.core.codec.Base32
-
base32编码
- encode(String, Charset) - Static method in class cn.hutool.core.codec.Base32
-
base32编码
- encode(CharSequence) - Static method in class cn.hutool.core.codec.Base62
-
Base62编码
- encode(CharSequence, Charset) - Static method in class cn.hutool.core.codec.Base62
-
Base62编码
- encode(byte[]) - Static method in class cn.hutool.core.codec.Base62
-
Base62编码
- encode(InputStream) - Static method in class cn.hutool.core.codec.Base62
-
Base62编码
- encode(File) - Static method in class cn.hutool.core.codec.Base62
-
Base62编码
- encode(byte[]) - Method in class cn.hutool.core.codec.Base62Codec
-
编码指定消息bytes为Base62格式的bytes
- encode(byte[], boolean) - Static method in class cn.hutool.core.codec.Base64
-
编码为Base64,非URL安全的
- encode(CharSequence) - Static method in class cn.hutool.core.codec.Base64
-
base64编码
- encode(CharSequence, String) - Static method in class cn.hutool.core.codec.Base64
-
base64编码
- encode(CharSequence, Charset) - Static method in class cn.hutool.core.codec.Base64
-
base64编码
- encode(byte[]) - Static method in class cn.hutool.core.codec.Base64
-
base64编码
- encode(InputStream) - Static method in class cn.hutool.core.codec.Base64
-
base64编码
- encode(File) - Static method in class cn.hutool.core.codec.Base64
-
base64编码
- encode(byte[], boolean, boolean) - Static method in class cn.hutool.core.codec.Base64
-
编码为Base64
如果isMultiLine为true
,则每76个字符一个换行符,否则在一行显示
- encode(byte[], boolean) - Static method in class cn.hutool.core.codec.Base64Encoder
-
编码为Base64,非URL安全的
- encode(CharSequence) - Static method in class cn.hutool.core.codec.Base64Encoder
-
base64编码
- encode(CharSequence, Charset) - Static method in class cn.hutool.core.codec.Base64Encoder
-
base64编码
- encode(byte[]) - Static method in class cn.hutool.core.codec.Base64Encoder
-
base64编码
- encode(byte[], boolean, boolean) - Static method in class cn.hutool.core.codec.Base64Encoder
-
编码为Base64
如果isMultiLine为true
,则每76个字符一个换行符,否则在一行显示
- encode(String, int) - Static method in class cn.hutool.core.codec.Caesar
-
传入明文,加密得到密文
- encode(String) - Method in class cn.hutool.core.codec.Morse
-
编码
- encode(String) - Static method in class cn.hutool.core.codec.PunyCode
-
将内容编码为PunyCode
- encode(String, boolean) - Static method in class cn.hutool.core.codec.PunyCode
-
将内容编码为PunyCode
- encode(String, int, boolean) - Static method in class cn.hutool.core.codec.Rot
-
RotN编码
- encode(String, Charset) - Method in class cn.hutool.core.net.URLEncoder
-
将URL中的字符串编码为%形式
- encode(String, int) - Static method in class cn.hutool.core.util.RadixUtil
-
把一个整型数值转换成自己定义的进制
长度即进制
encode("AB",10) 51转换成2进制,A=0;B=1 。 二进制1010,结果 BABA
encode("VIP",21) 21转换成3进制,V=0;I=1;P=2 ,三进制210 ,得到结果PIV
- encode(String, long) - Static method in class cn.hutool.core.util.RadixUtil
-
把一个长整型数值转换成自己定义的进制
- encode(String) - Static method in class cn.hutool.core.util.URLUtil
-
编码URL,默认使用UTF-8编码
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
此方法用于URL自动编码,类似于浏览器中键入地址自动编码,对于像类似于“/”的字符不再编码
- encode(String, Charset) - Static method in class cn.hutool.core.util.URLUtil
-
编码字符为 application/x-www-form-urlencoded
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
此方法用于URL自动编码,类似于浏览器中键入地址自动编码,对于像类似于“/”的字符不再编码
- encode(String, String) - Static method in class cn.hutool.core.util.URLUtil
-
编码URL字符为 application/x-www-form-urlencoded
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
此方法用于URL自动编码,类似于浏览器中键入地址自动编码,对于像类似于“/”的字符不再编码
- encode(String, int, int) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
将文本内容编码为二维码
- encode(String, QrConfig) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
将文本内容编码为二维码
- encode(String, BarcodeFormat, int, int) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
将文本内容编码为条形码或二维码
- encode(String, BarcodeFormat, QrConfig) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
将文本内容编码为条形码或二维码
- encode(AioSession, ByteBuffer, T) - Method in interface cn.hutool.socket.protocol.MsgEncoder
-
编码数据用于写出
- encode13(String) - Static method in class cn.hutool.core.codec.Rot
-
Rot-13编码,同时编码数字
- encode13(String, boolean) - Static method in class cn.hutool.core.codec.Rot
-
Rot-13编码
- encodeAll(String) - Static method in class cn.hutool.core.util.URLUtil
-
编码URL,默认使用UTF-8编码
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encodeAll(String, Charset) - Static method in class cn.hutool.core.util.URLUtil
-
编码URL
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encodeBlank(CharSequence) - Static method in class cn.hutool.core.util.URLUtil
-
单独编码URL中的空白符,空白符编码为%20
- encodeColor(Color) - Static method in class cn.hutool.core.util.HexUtil
-
- encodeColor(Color, String) - Static method in class cn.hutool.core.util.HexUtil
-
- encodeECPrivateKey(PrivateKey) - Static method in class cn.hutool.crypto.BCUtil
-
只获取私钥里的d,32字节
- encodeECPublicKey(PublicKey) - Static method in class cn.hutool.crypto.BCUtil
-
编码压缩EC公钥(基于BouncyCastle),即Q值
见:https://www.cnblogs.com/xinzhao/p/8963724.html
- encodeECPublicKey(PublicKey, boolean) - Static method in class cn.hutool.crypto.BCUtil
-
编码压缩EC公钥(基于BouncyCastle),即Q值
见:https://www.cnblogs.com/xinzhao/p/8963724.html
- encodeECPublicKey(PublicKey) - Static method in class cn.hutool.crypto.KeyUtil
-
编码压缩EC公钥(基于BouncyCastle)
见:https://www.cnblogs.com/xinzhao/p/8963724.html
- encodeHex(byte[]) - Static method in class cn.hutool.core.util.HexUtil
-
将字节数组转换为十六进制字符数组
- encodeHex(String, Charset) - Static method in class cn.hutool.core.util.HexUtil
-
将字节数组转换为十六进制字符数组
- encodeHex(byte[], boolean) - Static method in class cn.hutool.core.util.HexUtil
-
将字节数组转换为十六进制字符数组
- encodeHexStr(byte[]) - Static method in class cn.hutool.core.util.HexUtil
-
将字节数组转换为十六进制字符串
- encodeHexStr(String, Charset) - Static method in class cn.hutool.core.util.HexUtil
-
将字符串转换为十六进制字符串,结果为小写
- encodeHexStr(String) - Static method in class cn.hutool.core.util.HexUtil
-
将字符串转换为十六进制字符串,结果为小写,默认编码是UTF-8
- encodeHexStr(byte[], boolean) - Static method in class cn.hutool.core.util.HexUtil
-
将字节数组转换为十六进制字符串
- encodeParams(String, Charset) - Static method in class cn.hutool.http.HttpUtil
-
对URL参数做编码,只编码键和值
提供的值可以是url附带参数,但是不能只是url
- encodeQuery(String) - Static method in class cn.hutool.core.util.URLUtil
-
编码URL,默认使用UTF-8编码
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
此方法用于POST请求中的请求体自动编码,转义大部分特殊字符
- encodeQuery(String, Charset) - Static method in class cn.hutool.core.util.URLUtil
-
编码字符为URL中查询语句
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
此方法用于POST请求中的请求体自动编码,转义大部分特殊字符
- encodeQuery(String, String) - Static method in class cn.hutool.core.util.URLUtil
-
编码URL
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
此方法用于POST请求中的请求体自动编码,转义大部分特殊字符
- encodeText(String, Charset) - Static method in class cn.hutool.extra.mail.InternalMailUtil
-
编码中文字符
编码失败返回原字符串
- encodeUrlSafe(byte[], boolean) - Static method in class cn.hutool.core.codec.Base64
-
编码为Base64,URL安全的
- encodeUrlSafe(CharSequence) - Static method in class cn.hutool.core.codec.Base64
-
base64编码,URL安全
- encodeUrlSafe(CharSequence, String) - Static method in class cn.hutool.core.codec.Base64
-
base64编码,URL安全
- encodeUrlSafe(CharSequence, Charset) - Static method in class cn.hutool.core.codec.Base64
-
base64编码,URL安全的
- encodeUrlSafe(byte[]) - Static method in class cn.hutool.core.codec.Base64
-
base64编码,URL安全的
- encodeUrlSafe(InputStream) - Static method in class cn.hutool.core.codec.Base64
-
base64编码,URL安全的
- encodeUrlSafe(File) - Static method in class cn.hutool.core.codec.Base64
-
base64编码,URL安全的
- encodeUrlSafe(byte[], boolean) - Static method in class cn.hutool.core.codec.Base64Encoder
-
编码为Base64,URL安全的
- encodeUrlSafe(CharSequence) - Static method in class cn.hutool.core.codec.Base64Encoder
-
base64编码,URL安全
- encodeUrlSafe(CharSequence, Charset) - Static method in class cn.hutool.core.codec.Base64Encoder
-
base64编码,URL安全的
- encodeUrlSafe(byte[]) - Static method in class cn.hutool.core.codec.Base64Encoder
-
base64编码,URL安全的
- encodeWithoutPadding(CharSequence, String) - Static method in class cn.hutool.core.codec.Base64
-
base64编码,不进行padding(末尾不会填充'=')
- encodeWithoutPadding(byte[]) - Static method in class cn.hutool.core.codec.Base64
-
base64编码,不进行padding(末尾不会填充'=')
- encrypt(byte[], KeyType) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
加密
- encrypt(String, String, KeyType) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
加密
- encrypt(String, Charset, KeyType) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
加密
- encrypt(String, KeyType) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
加密,使用UTF-8编码
- encrypt(InputStream, KeyType) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
加密
- encrypt(byte[], KeyType) - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
加密
- encrypt(byte[], KeyType) - Method in class cn.hutool.crypto.asymmetric.RSA
-
- encrypt(byte[], KeyType) - Method in class cn.hutool.crypto.asymmetric.SM2
-
加密,SM2非对称加密的结果由C1,C2,C3三部分组成,其中:
- encrypt(byte[], CipherParameters) - Method in class cn.hutool.crypto.asymmetric.SM2
-
加密,SM2非对称加密的结果由C1,C2,C3三部分组成,其中:
- encrypt(String, Charset) - Method in class cn.hutool.crypto.symmetric.RC4
-
加密
- encrypt(String) - Method in class cn.hutool.crypto.symmetric.RC4
-
加密,使用默认编码:UTF-8
- encrypt(byte[]) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encrypt(String, String) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encrypt(String, Charset) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encrypt(String) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
加密,使用UTF-8编码
- encrypt(InputStream) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encrypt(CharSequence, CharSequence) - Static method in class cn.hutool.crypto.symmetric.Vigenere
-
加密
- encryptBase64(byte[], KeyType) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
编码为Base64字符串
- encryptBase64(String, KeyType) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
编码为Base64字符串,使用UTF-8编码
- encryptBase64(String, Charset, KeyType) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
编码为Base64字符串
- encryptBase64(InputStream, KeyType) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
编码为Base64字符串
- encryptBase64(byte[]) - Method in class cn.hutool.crypto.symmetric.RC4
-
加密
- encryptBase64(String, Charset) - Method in class cn.hutool.crypto.symmetric.RC4
-
加密
- encryptBase64(String) - Method in class cn.hutool.crypto.symmetric.RC4
-
加密,使用UTF-8编码
- encryptBase64(byte[]) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encryptBase64(String, String) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encryptBase64(String, Charset) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encryptBase64(String) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
加密,使用UTF-8编码
- encryptBase64(InputStream) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encryptBcd(String, KeyType) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
分组加密
- encryptBcd(String, KeyType, Charset) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
分组加密
- encryptBlockSize - Variable in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
加密的块大小
- encryptHex(byte[], KeyType) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
编码为Hex字符串
- encryptHex(String, KeyType) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
编码为Hex字符串
- encryptHex(String, Charset, KeyType) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
编码为Hex字符串
- encryptHex(InputStream, KeyType) - Method in class cn.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
编码为Hex字符串
- encryptHex(byte[]) - Method in class cn.hutool.crypto.symmetric.RC4
-
加密
- encryptHex(String, Charset) - Method in class cn.hutool.crypto.symmetric.RC4
-
加密
- encryptHex(String) - Method in class cn.hutool.crypto.symmetric.RC4
-
加密,使用UTF-8编码
- encryptHex(byte[]) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encryptHex(String, String) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encryptHex(String, Charset) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encryptHex(String) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
加密,使用UTF-8编码
- encryptHex(InputStream) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encryptStr(String, KeyType) - Method in class cn.hutool.crypto.asymmetric.RSA
-
- encryptStr(String, KeyType, Charset) - Method in class cn.hutool.crypto.asymmetric.RSA
-
- end() - Method in class cn.hutool.json.JSONTokener
-
- endElement(String, String, String) - Method in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
标签结束的回调处理方法
- endIndex - Variable in class cn.hutool.core.lang.DefaultSegment
-
- endOfDay(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
获取某天的结束时间
- endOfDay(Date) - Static method in class cn.hutool.core.date.DateUtil
-
获取某天的结束时间
- endOfDay(LocalDateTime) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
修改为一天的结束时间,例如:2020-02-02 23:59:59,999
- endOfHour(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
获取某小时的结束时间
- endOfHour(Date) - Static method in class cn.hutool.core.date.DateUtil
-
获取某小时的结束时间
- endOfMinute(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
获取某分钟的结束时间
- endOfMinute(Date) - Static method in class cn.hutool.core.date.DateUtil
-
获取某分钟的结束时间
- endOfMonth(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
获取某月的结束时间
- endOfMonth(Date) - Static method in class cn.hutool.core.date.DateUtil
-
获取某月的结束时间
- endOfQuarter(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
获取某季度的结束时间
- endOfQuarter(Date) - Static method in class cn.hutool.core.date.DateUtil
-
获取某季度的结束时间
- endOfSecond(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
获取秒级别的结束时间,即毫秒设置为999
- endOfSecond(Date) - Static method in class cn.hutool.core.date.DateUtil
-
获取秒级别的结束时间,即毫秒设置为999
- endOfWeek(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
获取某周的结束时间,周日定为一周的结束
- endOfWeek(Calendar, boolean) - Static method in class cn.hutool.core.date.CalendarUtil
-
获取某周的结束时间
- endOfWeek(Date) - Static method in class cn.hutool.core.date.DateUtil
-
获取某周的结束时间,周日定为一周的结束
- endOfWeek(Date, boolean) - Static method in class cn.hutool.core.date.DateUtil
-
获取某周的结束时间
- endOfYear(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
获取某年的结束时间
- endOfYear(Date) - Static method in class cn.hutool.core.date.DateUtil
-
获取某年的结束时间
- endRowIndex - Variable in class cn.hutool.poi.excel.reader.AbstractSheetReader
-
读取结束行(包含,从0开始计数)
- endRowIndex - Variable in class cn.hutool.poi.excel.sax.handler.AbstractRowHandler
-
读取结束行(包含,从0开始计数)
- endWith(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
字符串是否以给定字符结尾
- endWith(CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
是否以指定字符串结尾
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
- endWith(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
是否以指定字符串结尾
- endWithAny(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串是否以任何一个字符串结尾
给定字符串和数组为空都返回false
- endWithAnyIgnoreCase(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串是否以任何一个字符串结尾(忽略大小写)
给定字符串和数组为空都返回false
- endWithIgnoreCase(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
是否以指定字符串结尾,忽略大小写
- engine - Variable in class cn.hutool.crypto.asymmetric.SM2
-
- Engine - Class in cn.hutool.http.useragent
-
引擎对象
- Engine(String, String) - Constructor for class cn.hutool.http.useragent.Engine
-
构造
- engines - Static variable in class cn.hutool.http.useragent.Engine
-
支持的引擎类型
- EnjoyEngine - Class in cn.hutool.extra.template.engine.enjoy
-
Enjoy库的引擎包装
- EnjoyEngine() - Constructor for class cn.hutool.extra.template.engine.enjoy.EnjoyEngine
-
默认构造
- EnjoyEngine(TemplateConfig) - Constructor for class cn.hutool.extra.template.engine.enjoy.EnjoyEngine
-
构造
- EnjoyEngine(Engine) - Constructor for class cn.hutool.extra.template.engine.enjoy.EnjoyEngine
-
构造
- EnjoyTemplate - Class in cn.hutool.extra.template.engine.enjoy
-
Engoy模板实现
- EnjoyTemplate(Template) - Constructor for class cn.hutool.extra.template.engine.enjoy.EnjoyTemplate
-
构造
- Entity - Class in cn.hutool.db
-
数据实体对象
数据实体类充当两个角色:
1.
- Entity() - Constructor for class cn.hutool.db.Entity
-
- Entity(String) - Constructor for class cn.hutool.db.Entity
-
构造
- Entity(String, boolean) - Constructor for class cn.hutool.db.Entity
-
构造
- entity - Static variable in class cn.hutool.json.XMLTokener
-
The table of entity values.
- EntityHandler - Class in cn.hutool.db.handler
-
Entity对象处理器,只处理第一条数据
- EntityHandler() - Constructor for class cn.hutool.db.handler.EntityHandler
-
构造
- EntityHandler(boolean) - Constructor for class cn.hutool.db.handler.EntityHandler
-
构造
- EntityListHandler - Class in cn.hutool.db.handler
-
结果集处理类 ,处理出的结果为Entity列表
- EntityListHandler() - Constructor for class cn.hutool.db.handler.EntityListHandler
-
构造
- EntityListHandler(boolean) - Constructor for class cn.hutool.db.handler.EntityListHandler
-
构造
- EntitySetHandler - Class in cn.hutool.db.handler
-
结果集处理类 ,处理出的结果为Entity列表,结果不能重复(按照Entity对象去重)
- EntitySetHandler() - Constructor for class cn.hutool.db.handler.EntitySetHandler
-
构造
- EntitySetHandler(boolean) - Constructor for class cn.hutool.db.handler.EntitySetHandler
-
构造
- ENTRY_CREATE - Static variable in class cn.hutool.core.io.watch.WatchMonitor
-
创建事件
- ENTRY_DELETE - Static variable in class cn.hutool.core.io.watch.WatchMonitor
-
删除事件
- ENTRY_MODIFY - Static variable in class cn.hutool.core.io.watch.WatchMonitor
-
修改事件
- entrySet() - Method in class cn.hutool.core.map.MapProxy
-
- entrySet() - Method in class cn.hutool.core.map.MapWrapper
-
- entrySet() - Method in class cn.hutool.core.map.TableMap
-
- entrySet() - Method in class cn.hutool.json.JSONObject
-
- entrySet() - Method in class cn.hutool.setting.GroupedMap
-
- entrySet(String) - Method in class cn.hutool.setting.GroupedMap
-
指定分组下所有键值对
- entrySet(String) - Method in class cn.hutool.setting.Setting
-
指定分组下所有键值对
- entrySet() - Method in class cn.hutool.setting.Setting
-
获取默认分组(空分组)中的所有键值对列表
- EnumConverter - Class in cn.hutool.core.convert.impl
-
无泛型检查的枚举转换器
- EnumConverter(Class) - Constructor for class cn.hutool.core.convert.impl.EnumConverter
-
构造
- EnumerationIter<E> - Class in cn.hutool.core.collection
-
- EnumerationIter(Enumeration<E>) - Constructor for class cn.hutool.core.collection.EnumerationIter
-
构造
- EnumItem<E extends EnumItem<E>> - Interface in cn.hutool.core.lang
-
枚举元素通用接口,在自定义枚举上实现此接口可以用于数据转换
数据库保存时建议保存 intVal()而非ordinal()防备需求变更
- EnumUtil - Class in cn.hutool.core.util
-
枚举工具类
- EnumUtil() - Constructor for class cn.hutool.core.util.EnumUtil
-
- EOF - Static variable in class cn.hutool.core.io.NioUtil
-
数据流末尾
- EQ - Static variable in class cn.hutool.json.XML
-
The Character '='.
- equal(Object, Object) - Static method in class cn.hutool.core.lang.Validator
-
验证是否相等
当两值都为null返回true
- equal(Object, Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
比较两个对象是否相等。
相同的条件有两个,满足其一即可:
obj1 == null && obj2 == null
obj1.equals(obj2)
如果是BigDecimal比较,0 == obj1.compareTo(obj2)
- equals(Object) - Method in class cn.hutool.core.bean.DynaBean
-
- equals(Object) - Method in class cn.hutool.core.comparator.ComparableComparator
-
- equals(Object) - Method in class cn.hutool.core.comparator.ComparatorChain
-
- equals(Object) - Method in class cn.hutool.core.comparator.ReverseComparator
-
- equals(Object) - Method in class cn.hutool.core.date.format.AbstractDateBasic
-
- equals(Object) - Method in class cn.hutool.core.date.format.FastDateFormat
-
- equals(Path, Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
检查两个文件是否是同一个文件
所谓文件相同,是指Path对象是否指向同一个文件或文件夹
- equals(File, File) - Static method in class cn.hutool.core.io.FileUtil
-
检查两个文件是否是同一个文件
所谓文件相同,是指File对象是否指向同一个文件或文件夹
- equals(Object) - Method in class cn.hutool.core.io.unit.DataSize
-
- equals(Object) - Method in class cn.hutool.core.lang.mutable.MutableBool
-
- equals(Object) - Method in class cn.hutool.core.lang.mutable.MutableByte
-
- equals(Object) - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
- equals(Object) - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
- equals(Object) - Method in class cn.hutool.core.lang.mutable.MutableInt
-
- equals(Object) - Method in class cn.hutool.core.lang.mutable.MutableLong
-
- equals(Object) - Method in class cn.hutool.core.lang.mutable.MutableObj
-
- equals(Object) - Method in class cn.hutool.core.lang.mutable.MutableShort
-
- equals(Object) - Method in class cn.hutool.core.lang.Pair
-
- equals(Object) - Method in class cn.hutool.core.lang.Tuple
-
- equals(Object) - Method in class cn.hutool.core.lang.UUID
-
将此对象与指定对象比较。
- equals(Object) - Method in class cn.hutool.core.lang.WeightRandom.WeightObj
-
- equals(Object) - Method in class cn.hutool.core.map.MapWrapper
-
- equals(Object) - Method in class cn.hutool.core.map.TolerantMap
-
- equals(Object) - Method in class cn.hutool.core.math.Money
-
判断本货币对象与另一对象是否相等。
- equals(Money) - Method in class cn.hutool.core.math.Money
-
判断本货币对象与另一货币对象是否相等。
- equals(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
比较两个字符串(大小写敏感)。
- equals(CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
比较两个字符串是否相等。
- equals(Collection<? extends CharSequence>) - Method in class cn.hutool.core.text.Simhash
-
判断文本是否与已存储的数据重复
- equals(Object, Object) - Static method in class cn.hutool.core.util.ArrayUtil
-
判断两个数组是否相等,判断依据包括数组长度和每个元素都相等。
- equals(char, char, boolean) - Static method in class cn.hutool.core.util.CharUtil
-
比较两个字符是否相同
- equals(Class<?>, String, boolean) - Static method in class cn.hutool.core.util.ClassUtil
-
指定类是否与给定的类名相同
- equals(Enum<?>, String) - Static method in class cn.hutool.core.util.EnumUtil
-
检查某个枚举值是否匹配指定值
- equals(double, double) - Static method in class cn.hutool.core.util.NumberUtil
-
- equals(float, float) - Static method in class cn.hutool.core.util.NumberUtil
-
- equals(BigDecimal, BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
-
- equals(char, char, boolean) - Static method in class cn.hutool.core.util.NumberUtil
-
比较两个字符是否相同
- equals(Object, Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
比较两个对象是否相等,此方法是
ObjectUtil.equal(Object, Object)
的别名方法。
相同的条件有两个,满足其一即可:
obj1 == null && obj2 == null
obj1.equals(obj2)
如果是BigDecimal比较,0 == obj1.compareTo(obj2)
- equals(Object) - Method in class cn.hutool.db.ds.AbstractDSFactory
-
- equals(Object) - Method in class cn.hutool.extra.template.TemplateConfig
-
- equals(Object) - Method in class cn.hutool.http.useragent.UserAgentInfo
-
- equals(Object) - Method in class cn.hutool.json.JSONArray
-
- equals(Object) - Method in class cn.hutool.json.JSONNull
-
A Null object is equal to the null value and to itself.
- equals(Object) - Method in class cn.hutool.json.JSONObject
-
- equals(Object) - Method in class cn.hutool.poi.excel.cell.CellLocation
-
- equals(Object) - Method in class cn.hutool.setting.Setting
-
- equalsAny(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串是否与提供的中任一字符串相同,相同则返回true
,没有相同的返回false
如果参与比对的字符串列表为空,返回false
- equalsAny(CharSequence, boolean, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串是否与提供的中任一字符串相同,相同则返回true
,没有相同的返回false
如果参与比对的字符串列表为空,返回false
- equalsAnyIgnoreCase(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串是否与提供的中任一字符串相同(忽略大小写),相同则返回true
,没有相同的返回false
如果参与比对的字符串列表为空,返回false
- EqualsBuilder - Class in cn.hutool.core.builder
-
- EqualsBuilder() - Constructor for class cn.hutool.core.builder.EqualsBuilder
-
构造,初始状态值为true
- equalsCharAt(CharSequence, int, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
字符串指定位置的字符是否与给定字符相同
如果字符串为null,返回false
如果给定的位置大于字符串长度,返回false
如果给定的位置小于0,返回false
- equalsIgnoreCase(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
比较两个字符串(大小写不敏感)。
- equalsIgnoreCase(Enum<?>, String) - Static method in class cn.hutool.core.util.EnumUtil
-
忽略大小检查某个枚举值是否匹配指定值
- err() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Returns true if an error was encountered during reading/decoding
- error() - Static method in class cn.hutool.core.lang.Console
-
同 System.err.println()方法,打印控制台日志
- error(Object) - Static method in class cn.hutool.core.lang.Console
-
同 System.err.println()方法,打印控制台日志
- error(Object, Object...) - Static method in class cn.hutool.core.lang.Console
-
同 System.out.println()方法,打印控制台日志
如果传入打印对象为
Throwable
对象,那么同时打印堆栈
- error(String, Object...) - Static method in class cn.hutool.core.lang.Console
-
同 System.err.println()方法,打印控制台日志
- error(Throwable, String, Object...) - Static method in class cn.hutool.core.lang.Console
-
同 System.err.println()方法,打印控制台日志
- error(Throwable) - Method in class cn.hutool.log.AbstractLog
-
- error(String, Object...) - Method in class cn.hutool.log.AbstractLog
-
- error(Throwable, String, Object...) - Method in class cn.hutool.log.AbstractLog
-
- error(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- error(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- error(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- error(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- error(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- error(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- error(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- error(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- error(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- error(Throwable) - Method in interface cn.hutool.log.level.ErrorLog
-
打印 ERROR 等级的日志
- error(String, Object...) - Method in interface cn.hutool.log.level.ErrorLog
-
打印 ERROR 等级的日志
- error(Throwable, String, Object...) - Method in interface cn.hutool.log.level.ErrorLog
-
打印 ERROR 等级的日志
- error(String, Throwable, String, Object...) - Method in interface cn.hutool.log.level.ErrorLog
-
打印 ERROR 等级的日志
- error(Throwable) - Static method in class cn.hutool.log.StaticLog
-
Error等级日志
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
- error(String, Object...) - Static method in class cn.hutool.log.StaticLog
-
Error等级日志
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
- error(Throwable, String, Object...) - Static method in class cn.hutool.log.StaticLog
-
Error等级日志
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
- error(Log, Throwable) - Static method in class cn.hutool.log.StaticLog
-
Error等级日志
- error(Log, String, Object...) - Static method in class cn.hutool.log.StaticLog
-
Error等级日志
- error(Log, Throwable, String, Object...) - Static method in class cn.hutool.log.StaticLog
-
Error等级日志
- errorCorrection - Variable in class cn.hutool.extra.qrcode.QrConfig
-
纠错级别
- ErrorLog - Interface in cn.hutool.log.level
-
ERROR级别日志接口
- ErrorMessage() - Constructor for class cn.hutool.extra.validation.BeanValidationResult.ErrorMessage
-
- errorOnDifferentFieldCount - Variable in class cn.hutool.core.text.csv.CsvReadConfig
-
每行字段个数不同时是否抛出异常,默认false
- escape(CharSequence) - Static method in class cn.hutool.core.util.EscapeUtil
-
Escape编码(Unicode)(等同于JS的escape()方法)
该方法不会对 ASCII 字母和数字进行编码,也不会对下面这些 ASCII 标点符号进行编码: * @ - _ + .
- escape(CharSequence, Filter<Character>) - Static method in class cn.hutool.core.util.EscapeUtil
-
Escape编码(Unicode)
该方法不会对 ASCII 字母和数字进行编码。其他所有的字符都会被转义序列替换。
- escape(char) - Static method in class cn.hutool.core.util.ReUtil
-
转义字符,将正则的关键字转义
- escape(CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
转义字符串,将正则的关键字转义
- escape(String) - Static method in class cn.hutool.core.util.XmlUtil
-
转义XML特殊字符:
- escape(String) - Static method in class cn.hutool.http.HtmlUtil
-
转义文本中的HTML字符为安全的字符,以下字符被转义:
' 替换为 ' (' doesn't work in HTML4)
" 替换为 "
& 替换为 &
< 替换为 <
> 替换为 >
- escape(String) - Static method in class cn.hutool.json.JSONUtil
-
转义显示不可见字符
- escapeAll(CharSequence) - Static method in class cn.hutool.core.util.EscapeUtil
-
Escape编码(Unicode)
该方法不会对 ASCII 字母和数字进行编码。其他所有的字符都会被转义序列替换。
- escapeHtml4(CharSequence) - Static method in class cn.hutool.core.util.EscapeUtil
-
转义HTML4中的特殊字符
- EscapeUtil - Class in cn.hutool.core.util
-
转义和反转义工具类Escape / Unescape
escape采用ISO Latin字符集对指定的字符串进行编码。
所有的空格符、标点符号、特殊字符以及其他非ASCII字符都将被转化成%xx格式的字符编码(xx等于该字符在字符集表里面的编码的16进制数字)。
- EscapeUtil() - Constructor for class cn.hutool.core.util.EscapeUtil
-
- estimateSize() - Method in class cn.hutool.core.collection.TransSpliterator
-
- eval(String, Map<String, Object>) - Method in class cn.hutool.extra.expression.engine.aviator.AviatorEngine
-
- eval(String, Map<String, Object>) - Method in class cn.hutool.extra.expression.engine.jexl.JexlEngine
-
- eval(String, Map<String, Object>) - Method in class cn.hutool.extra.expression.engine.jfireel.JfireELEngine
-
- eval(String, Map<String, Object>) - Method in class cn.hutool.extra.expression.engine.mvel.MvelEngine
-
- eval(String, Map<String, Object>) - Method in class cn.hutool.extra.expression.engine.rhino.RhinoEngine
-
- eval(String, Map<String, Object>) - Method in class cn.hutool.extra.expression.engine.spel.SpELEngine
-
- eval(String, Map<String, Object>) - Method in interface cn.hutool.extra.expression.ExpressionEngine
-
执行表达式
- eval(String, Map<String, Object>) - Static method in class cn.hutool.extra.expression.ExpressionUtil
-
执行表达式
- eval(String, ScriptContext) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- eval(Reader, ScriptContext) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- eval(String) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- eval(Reader) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- eval(String, Bindings) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- eval(Reader, Bindings) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- eval(String, ScriptContext) - Method in class cn.hutool.script.JavaScriptEngine
-
- eval(Reader, ScriptContext) - Method in class cn.hutool.script.JavaScriptEngine
-
- eval(String) - Method in class cn.hutool.script.JavaScriptEngine
-
- eval(Reader) - Method in class cn.hutool.script.JavaScriptEngine
-
- eval(String, Bindings) - Method in class cn.hutool.script.JavaScriptEngine
-
- eval(Reader, Bindings) - Method in class cn.hutool.script.JavaScriptEngine
-
- eval(String) - Static method in class cn.hutool.script.ScriptUtil
-
执行有返回值的Javascript脚本
- eval(String, ScriptContext) - Static method in class cn.hutool.script.ScriptUtil
-
执行有返回值的脚本
- eval(String, Bindings) - Static method in class cn.hutool.script.ScriptUtil
-
执行有返回值的脚本
- evalInvocable(String) - Static method in class cn.hutool.script.ScriptUtil
-
执行Javascript脚本,返回Invocable,此方法分为两种情况:
执行的脚本返回值是可执行的脚本方法
脚本为函数库,则ScriptEngine本身为可执行方法
- events - Variable in class cn.hutool.core.io.watch.WatchServer
-
监听事件列表
- EVENTS_ALL - Static variable in class cn.hutool.core.io.watch.WatchMonitor
-
全部事件
- Excel03SaxReader - Class in cn.hutool.poi.excel.sax
-
Excel2003格式的事件-用户模型方式读取器,在Hutool中,统一将此归类为Sax读取
参考:http://www.cnblogs.com/wshsdlau/p/5643862.html
- Excel03SaxReader(RowHandler) - Constructor for class cn.hutool.poi.excel.sax.Excel03SaxReader
-
构造
- Excel07SaxReader - Class in cn.hutool.poi.excel.sax
-
Sax方式读取Excel文件
Excel2007格式说明见:http://www.cnblogs.com/wangmingshun/p/6654143.html
- Excel07SaxReader(RowHandler) - Constructor for class cn.hutool.poi.excel.sax.Excel07SaxReader
-
构造
- ExcelBase<T extends ExcelBase<T>> - Class in cn.hutool.poi.excel
-
Excel基础类,用于抽象ExcelWriter和ExcelReader中共用部分的对象和方法
- ExcelBase(Sheet) - Constructor for class cn.hutool.poi.excel.ExcelBase
-
构造
- ExcelDateUtil - Class in cn.hutool.poi.excel
-
Excel中日期判断、读取、处理等补充工具类
- ExcelDateUtil() - Constructor for class cn.hutool.poi.excel.ExcelDateUtil
-
- ExcelExtractorUtil - Class in cn.hutool.poi.excel
-
ExcelExtractor
工具封装
- ExcelExtractorUtil() - Constructor for class cn.hutool.poi.excel.ExcelExtractorUtil
-
- ExcelFileUtil - Class in cn.hutool.poi.excel
-
Excel文件工具类
- ExcelFileUtil() - Constructor for class cn.hutool.poi.excel.ExcelFileUtil
-
- ExcelPicUtil - Class in cn.hutool.poi.excel
-
Excel图片工具类
- ExcelPicUtil() - Constructor for class cn.hutool.poi.excel.ExcelPicUtil
-
- ExcelReader - Class in cn.hutool.poi.excel
-
Excel读取器
读取Excel工作簿
- ExcelReader(String, int) - Constructor for class cn.hutool.poi.excel.ExcelReader
-
构造
- ExcelReader(File, int) - Constructor for class cn.hutool.poi.excel.ExcelReader
-
构造
- ExcelReader(File, String) - Constructor for class cn.hutool.poi.excel.ExcelReader
-
构造
- ExcelReader(InputStream, int, boolean) - Constructor for class cn.hutool.poi.excel.ExcelReader
-
- ExcelReader(InputStream, int) - Constructor for class cn.hutool.poi.excel.ExcelReader
-
构造
- ExcelReader(InputStream, String, boolean) - Constructor for class cn.hutool.poi.excel.ExcelReader
-
- ExcelReader(InputStream, String) - Constructor for class cn.hutool.poi.excel.ExcelReader
-
构造
- ExcelReader(Workbook, int) - Constructor for class cn.hutool.poi.excel.ExcelReader
-
构造
- ExcelReader(Workbook, String) - Constructor for class cn.hutool.poi.excel.ExcelReader
-
构造
- ExcelReader(Sheet) - Constructor for class cn.hutool.poi.excel.ExcelReader
-
构造
- ExcelSaxReader<T> - Interface in cn.hutool.poi.excel.sax
-
Sax方式读取Excel接口,提供一些共用方法
- ExcelSaxUtil - Class in cn.hutool.poi.excel.sax
-
Sax方式读取Excel相关工具类
- ExcelSaxUtil() - Constructor for class cn.hutool.poi.excel.sax.ExcelSaxUtil
-
- ExcelUtil - Class in cn.hutool.poi.excel
-
Excel工具类,不建议直接使用index直接操作sheet,在wps/excel中sheet显示顺序与index无关,还有隐藏sheet
- ExcelUtil() - Constructor for class cn.hutool.poi.excel.ExcelUtil
-
- ExcelWriter - Class in cn.hutool.poi.excel
-
Excel 写入器
此工具用于通过POI将数据写出到Excel,此对象可完成以下两个功能
- ExcelWriter() - Constructor for class cn.hutool.poi.excel.ExcelWriter
-
- ExcelWriter(boolean) - Constructor for class cn.hutool.poi.excel.ExcelWriter
-
- ExcelWriter(String) - Constructor for class cn.hutool.poi.excel.ExcelWriter
-
构造,默认写出到第一个sheet,第一个sheet名为sheet1
- ExcelWriter(boolean, String) - Constructor for class cn.hutool.poi.excel.ExcelWriter
-
- ExcelWriter(String, String) - Constructor for class cn.hutool.poi.excel.ExcelWriter
-
构造
- ExcelWriter(File) - Constructor for class cn.hutool.poi.excel.ExcelWriter
-
构造,默认写出到第一个sheet,第一个sheet名为sheet1
- ExcelWriter(File, String) - Constructor for class cn.hutool.poi.excel.ExcelWriter
-
构造
- ExcelWriter(Workbook, String) - Constructor for class cn.hutool.poi.excel.ExcelWriter
-
- ExcelWriter(Sheet) - Constructor for class cn.hutool.poi.excel.ExcelWriter
-
- ExceptionUtil - Class in cn.hutool.core.exceptions
-
异常工具类
- ExceptionUtil() - Constructor for class cn.hutool.core.exceptions.ExceptionUtil
-
- exec(String...) - Static method in class cn.hutool.core.util.RuntimeUtil
-
执行命令
命令带参数时参数可作为其中一个参数,也可以将命令和参数组合为一个字符串传入
- exec(String[], String...) - Static method in class cn.hutool.core.util.RuntimeUtil
-
执行命令
命令带参数时参数可作为其中一个参数,也可以将命令和参数组合为一个字符串传入
- exec(String[], File, String...) - Static method in class cn.hutool.core.util.RuntimeUtil
-
执行命令
命令带参数时参数可作为其中一个参数,也可以将命令和参数组合为一个字符串传入
- exec(Session, String, Charset, OutputStream) - Static method in class cn.hutool.extra.ssh.GanymedUtil
-
执行Shell命令(使用EXEC方式)
- exec(Session, String, Charset) - Static method in class cn.hutool.extra.ssh.JschUtil
-
执行Shell命令
- exec(Session, String, Charset, OutputStream) - Static method in class cn.hutool.extra.ssh.JschUtil
-
执行Shell命令(使用EXEC方式)
- execAsync(Runnable, boolean) - Static method in class cn.hutool.core.thread.ThreadUtil
-
执行异步方法
- execAsync(Callable<T>) - Static method in class cn.hutool.core.thread.ThreadUtil
-
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
- execAsync(Runnable) - Static method in class cn.hutool.core.thread.ThreadUtil
-
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
- execByShell(Session, String, Charset, OutputStream) - Static method in class cn.hutool.extra.ssh.GanymedUtil
-
执行Shell命令
- execByShell(Session, String, Charset) - Static method in class cn.hutool.extra.ssh.JschUtil
-
执行Shell命令
- execForLines(String...) - Static method in class cn.hutool.core.util.RuntimeUtil
-
执行系统命令,使用系统默认编码
- execForLines(Charset, String...) - Static method in class cn.hutool.core.util.RuntimeUtil
-
执行系统命令,使用系统默认编码
- execForStr(String...) - Static method in class cn.hutool.core.util.RuntimeUtil
-
执行系统命令,使用系统默认编码
- execForStr(Charset, String...) - Static method in class cn.hutool.core.util.RuntimeUtil
-
执行系统命令,使用系统默认编码
- execute(Runnable) - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- execute(Runnable) - Static method in class cn.hutool.core.thread.GlobalThreadPool
-
直接在公共线程池中执行线程
- execute(Runnable) - Static method in class cn.hutool.core.thread.ThreadUtil
-
直接在公共线程池中执行线程
- execute() - Method in class cn.hutool.cron.task.CronTask
-
- execute() - Method in class cn.hutool.cron.task.InvokeTask
-
- execute() - Method in class cn.hutool.cron.task.RunnableTask
-
- execute() - Method in interface cn.hutool.cron.task.Task
-
执行作业
- execute(String, Object...) - Method in class cn.hutool.db.AbstractDb
-
执行非查询语句
语句包括 插入、更新、删除
- execute(Connection, String, Map<String, Object>) - Static method in class cn.hutool.db.sql.SqlExecutor
-
执行非查询语句
语句包括 插入、更新、删除
此方法不会关闭Connection
- execute(Connection, String, Object...) - Static method in class cn.hutool.db.sql.SqlExecutor
-
执行非查询语句
语句包括 插入、更新、删除
此方法不会关闭Connection
- execute(PreparedStatement, Object...) - Static method in class cn.hutool.db.sql.SqlExecutor
-
可用于执行任何SQL语句,返回一个boolean值,表明执行该SQL语句是否返回了ResultSet。
如果执行后第一个结果是ResultSet,则返回true,否则返回false。
此方法不会关闭PreparedStatement
- execute(String) - Method in class cn.hutool.db.sql.StatementWrapper
-
- execute(String, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- execute(String, int[]) - Method in class cn.hutool.db.sql.StatementWrapper
-
- execute(String, String[]) - Method in class cn.hutool.db.sql.StatementWrapper
-
- execute() - Method in class cn.hutool.db.sql.StatementWrapper
-
- execute() - Method in class cn.hutool.http.HttpRequest
-
执行Reuqest请求
- execute(boolean) - Method in class cn.hutool.http.HttpRequest
-
执行Reuqest请求
- executeAsync() - Method in class cn.hutool.http.HttpRequest
-
异步请求
异步请求后获取的
HttpResponse
为异步模式,执行完此方法后发送请求到服务器,但是并不立即读取响应内容。
此时保持Http连接不关闭,直调用获取内容方法为止。
- executeBatch(String, Object[]...) - Method in class cn.hutool.db.AbstractDb
-
批量执行非查询语句
- executeBatch(String, Iterable<Object[]>) - Method in class cn.hutool.db.AbstractDb
-
批量执行非查询语句
- executeBatch(String...) - Method in class cn.hutool.db.AbstractDb
-
批量执行非查询语句
- executeBatch(Iterable<String>) - Method in class cn.hutool.db.AbstractDb
-
批量执行非查询语句
- executeBatch(Connection, String, Object[]...) - Static method in class cn.hutool.db.sql.SqlExecutor
-
批量执行非查询语句
语句包括 插入、更新、删除
此方法不会关闭Connection
- executeBatch(Connection, String, Iterable<Object[]>) - Static method in class cn.hutool.db.sql.SqlExecutor
-
批量执行非查询语句
语句包括 插入、更新、删除
此方法不会关闭Connection
- executeBatch(Connection, String...) - Static method in class cn.hutool.db.sql.SqlExecutor
-
批量执行非查询语句
语句包括 插入、更新、删除
此方法不会关闭Connection
- executeBatch(Connection, Iterable<String>) - Static method in class cn.hutool.db.sql.SqlExecutor
-
批量执行非查询语句
语句包括 插入、更新、删除
此方法不会关闭Connection
- executeBatch() - Method in class cn.hutool.db.sql.StatementWrapper
-
- executeForGeneratedKey(String, Object...) - Method in class cn.hutool.db.AbstractDb
-
执行非查询语句
语句包括 插入、更新、删除
- executeForGeneratedKey(Connection, String, Map<String, Object>) - Static method in class cn.hutool.db.sql.SqlExecutor
-
执行非查询语句,返回主键
发查询语句包括 插入、更新、删除
此方法不会关闭Connection
- executeForGeneratedKey(Connection, String, Object...) - Static method in class cn.hutool.db.sql.SqlExecutor
-
执行非查询语句,返回主键
发查询语句包括 插入、更新、删除
此方法不会关闭Connection
- executeQuery(String) - Method in class cn.hutool.db.sql.StatementWrapper
-
- executeQuery() - Method in class cn.hutool.db.sql.StatementWrapper
-
- executeTaskIfMatch(Scheduler, long) - Method in class cn.hutool.cron.TaskTable
-
如果时间匹配则执行相应的Task,带读锁
- executeTaskIfMatchInternal(Scheduler, long) - Method in class cn.hutool.cron.TaskTable
-
如果时间匹配则执行相应的Task,无锁
- executeUpdate(PreparedStatement, Object...) - Static method in class cn.hutool.db.sql.SqlExecutor
-
用于执行 INSERT、UPDATE 或 DELETE 语句以及 SQL DDL(数据定义语言)语句,例如 CREATE TABLE 和 DROP TABLE。
INSERT、UPDATE 或 DELETE 语句的效果是修改表中零行或多行中的一列或多列。
executeUpdate 的返回值是一个整数(int),指示受影响的行数(即更新计数)。
对于 CREATE TABLE 或 DROP TABLE 等不操作行的语句,executeUpdate 的返回值总为零。
此方法不会关闭PreparedStatement
- executeUpdate(String) - Method in class cn.hutool.db.sql.StatementWrapper
-
- executeUpdate(String, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- executeUpdate(String, int[]) - Method in class cn.hutool.db.sql.StatementWrapper
-
- executeUpdate(String, String[]) - Method in class cn.hutool.db.sql.StatementWrapper
-
- executeUpdate() - Method in class cn.hutool.db.sql.StatementWrapper
-
- ExecutorBuilder - Class in cn.hutool.core.thread
-
- ExecutorBuilder() - Constructor for class cn.hutool.core.thread.ExecutorBuilder
-
- exist(String) - Static method in class cn.hutool.core.io.FileUtil
-
判断文件是否存在,如果path为null,则返回false
- exist(File) - Static method in class cn.hutool.core.io.FileUtil
-
判断文件是否存在,如果file为null,则返回false
- exist(String, String) - Static method in class cn.hutool.core.io.FileUtil
-
是否存在匹配文件
- exist(Entity) - Method in class cn.hutool.db.DaoTemplate
-
指定条件的数据是否存在
- exist(String) - Method in class cn.hutool.extra.ftp.AbstractFtp
-
文件或目录是否存在
- existCustomTimeout - Variable in class cn.hutool.cache.impl.AbstractCache
-
每个对象是否有单独的失效时长,用于决定清理过期对象是否有必要。
- existFile(String) - Method in class cn.hutool.extra.ftp.Ftp
-
判断ftp服务器文件是否存在
- exists(Path, boolean) - Static method in class cn.hutool.core.io.file.PathUtil
-
判断文件或目录是否存在
- ExpressionEngine - Interface in cn.hutool.extra.expression
-
表达式引擎API接口,通过实现此接口,完成表达式的解析和执行
- ExpressionException - Exception in cn.hutool.extra.expression
-
表达式语言异常
- ExpressionException(Throwable) - Constructor for exception cn.hutool.extra.expression.ExpressionException
-
- ExpressionException(String) - Constructor for exception cn.hutool.extra.expression.ExpressionException
-
- ExpressionException(String, Object...) - Constructor for exception cn.hutool.extra.expression.ExpressionException
-
- ExpressionException(String, Throwable) - Constructor for exception cn.hutool.extra.expression.ExpressionException
-
- ExpressionException(Throwable, String, Object...) - Constructor for exception cn.hutool.extra.expression.ExpressionException
-
- ExpressionFactory - Class in cn.hutool.extra.expression.engine
-
表达式语言引擎工厂类,,用于根据用户引入的表达式jar,自动创建对应的引擎对象
- ExpressionFactory() - Constructor for class cn.hutool.extra.expression.engine.ExpressionFactory
-
- ExpressionUtil - Class in cn.hutool.extra.expression
-
表达式引擎工具类
- ExpressionUtil() - Constructor for class cn.hutool.extra.expression.ExpressionUtil
-
- EXT_CLASS - Static variable in class cn.hutool.core.io.file.FileNameUtil
-
.class文件扩展名
- EXT_DIRS - Static variable in interface cn.hutool.system.SystemPropsKeys
-
一个或多个扩展目录的路径
- EXT_DIRS - Static variable in class cn.hutool.system.SystemUtil
-
一个或多个扩展目录的路径的KEY
- EXT_JAR - Static variable in class cn.hutool.core.io.file.FileNameUtil
-
.jar文件扩展名
- EXT_JAVA - Static variable in class cn.hutool.core.io.file.FileNameUtil
-
.java文件扩展名
- EXT_NAME - Static variable in class cn.hutool.setting.dialect.Props
-
默认配置文件扩展名
- EXT_NAME - Static variable in class cn.hutool.setting.Setting
-
默认配置文件扩展名
- extName(File) - Static method in class cn.hutool.core.io.file.FileNameUtil
-
获取文件扩展名(后缀名),扩展名不带“.”
- extName(String) - Static method in class cn.hutool.core.io.file.FileNameUtil
-
获得文件的扩展名(后缀名),扩展名不带“.”
- extName(File) - Static method in class cn.hutool.core.io.FileUtil
-
获取文件扩展名(后缀名),扩展名不带“.”
- extName(String) - Static method in class cn.hutool.core.io.FileUtil
-
获得文件的扩展名(后缀名),扩展名不带“.”
- extract(Iterable<?>, Editor<Object>) - Static method in class cn.hutool.core.collection.CollUtil
-
通过Editor抽取集合元素中的某些值返回为新列表
例如提供的是一个Bean列表,通过Editor接口实现获取某个字段值,返回这个字段值组成的新列表
- extract(Iterable<?>, Editor<Object>, boolean) - Static method in class cn.hutool.core.collection.CollUtil
-
通过Editor抽取集合元素中的某些值返回为新列表
例如提供的是一个Bean列表,通过Editor接口实现获取某个字段值,返回这个字段值组成的新列表
- extract(File) - Method in interface cn.hutool.extra.compress.extractor.Extractor
-
释放(解压)到指定目录,结束后自动关闭流,此方法只能调用一次
- extract(File, Filter<ArchiveEntry>) - Method in interface cn.hutool.extra.compress.extractor.Extractor
-
释放(解压)到指定目录,结束后自动关闭流,此方法只能调用一次
- extract(File, Filter<ArchiveEntry>) - Method in class cn.hutool.extra.compress.extractor.SenvenZExtractor
-
释放(解压)到指定目录,结束后自动关闭流,此方法只能调用一次
- extract(File, Filter<ArchiveEntry>) - Method in class cn.hutool.extra.compress.extractor.StreamExtractor
-
释放(解压)到指定目录,结束后自动关闭流,此方法只能调用一次
- extractEmojis(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
-
提取字符串中所有的Emoji Unicode
- extractMulti(Pattern, CharSequence, String) - Static method in class cn.hutool.core.util.ReUtil
-
从content中匹配出多个值并根据template生成新的字符串
例如:
content 2013年5月 pattern (.*?)年(.*?)月 template: $1-$2 return 2013-5
- extractMulti(String, CharSequence, String) - Static method in class cn.hutool.core.util.ReUtil
-
从content中匹配出多个值并根据template生成新的字符串
匹配结束后会删除匹配内容之前的内容(包括匹配内容)
例如:
content 2013年5月 pattern (.*?)年(.*?)月 template: $1-$2 return 2013-5
- extractMultiAndDelPre(Pattern, Holder<CharSequence>, String) - Static method in class cn.hutool.core.util.ReUtil
-
从content中匹配出多个值并根据template生成新的字符串
匹配结束后会删除匹配内容之前的内容(包括匹配内容)
例如:
content 2013年5月 pattern (.*?)年(.*?)月 template: $1-$2 return 2013-5
- extractMultiAndDelPre(String, Holder<CharSequence>, String) - Static method in class cn.hutool.core.util.ReUtil
-
从content中匹配出多个值并根据template生成新的字符串
例如:
content 2013年5月 pattern (.*?)年(.*?)月 template: $1-$2 return 2013-5
- Extractor - Interface in cn.hutool.extra.compress.extractor
-
归档数据解包封装,用于将zip、tar等包解包为文件
- factorial(long, long) - Static method in class cn.hutool.core.util.NumberUtil
-
计算范围阶乘
- factorial(long) - Static method in class cn.hutool.core.util.NumberUtil
-
计算阶乘
- failed(Throwable, AioServer) - Method in class cn.hutool.socket.aio.AcceptHandler
-
- failed(Throwable, AioSession) - Method in interface cn.hutool.socket.aio.IoAction
-
数据读取失败的回调事件处理(消息读取失败)
- failed(Throwable, AioSession) - Method in class cn.hutool.socket.aio.ReadHandler
-
- failed(Throwable, AioSession) - Method in class cn.hutool.socket.aio.SimpleIoAction
-
- failed(Throwable, NioServer) - Method in class cn.hutool.socket.nio.AcceptHandler
-
- FastByteArrayOutputStream - Class in cn.hutool.core.io
-
基于快速缓冲FastByteBuffer的OutputStream,随着数据的增长自动扩充缓冲区
- FastByteArrayOutputStream() - Constructor for class cn.hutool.core.io.FastByteArrayOutputStream
-
- FastByteArrayOutputStream(int) - Constructor for class cn.hutool.core.io.FastByteArrayOutputStream
-
构造
- FastByteBuffer - Class in cn.hutool.core.io
-
代码移植自
blade
快速缓冲,将数据存放在缓冲集中,取代以往的单一数组
- FastByteBuffer() - Constructor for class cn.hutool.core.io.FastByteBuffer
-
- FastByteBuffer(int) - Constructor for class cn.hutool.core.io.FastByteBuffer
-
- FastDateFormat - Class in cn.hutool.core.date.format
-
- FastDateFormat(String, TimeZone, Locale) - Constructor for class cn.hutool.core.date.format.FastDateFormat
-
构造
- FastDateFormat(String, TimeZone, Locale, Date) - Constructor for class cn.hutool.core.date.format.FastDateFormat
-
构造
- FastDateParser - Class in cn.hutool.core.date.format
-
- FastDateParser(String, TimeZone, Locale) - Constructor for class cn.hutool.core.date.format.FastDateParser
-
Constructs a new FastDateParser.
- FastDateParser(String, TimeZone, Locale, Date) - Constructor for class cn.hutool.core.date.format.FastDateParser
-
Constructs a new FastDateParser.
- FastDatePrinter - Class in cn.hutool.core.date.format
-
- FastDatePrinter(String, TimeZone, Locale) - Constructor for class cn.hutool.core.date.format.FastDatePrinter
-
构造,内部使用
- fastSimpleUUID() - Static method in class cn.hutool.core.util.IdUtil
-
简化的UUID,去掉了横线,使用性能更好的ThreadLocalRandom生成UUID
- FastStringWriter - Class in cn.hutool.core.io
-
借助
StrBuilder
提供快读的字符串写出,相比jdk的StringWriter非线程安全,速度更快。
- FastStringWriter() - Constructor for class cn.hutool.core.io.FastStringWriter
-
构造
- FastStringWriter(int) - Constructor for class cn.hutool.core.io.FastStringWriter
-
构造
- fastUUID() - Static method in class cn.hutool.core.lang.UUID
-
获取类型 4(伪随机生成的)UUID 的静态工厂。 使用加密的本地线程伪随机数生成器生成该 UUID。
- fastUUID() - Static method in class cn.hutool.core.util.IdUtil
-
获取随机UUID,使用性能更好的ThreadLocalRandom生成UUID
- FieldComparator<T> - Class in cn.hutool.core.comparator
-
Bean字段排序器
参阅feilong-core中的PropertyComparator
- FieldComparator(Class<T>, String) - Constructor for class cn.hutool.core.comparator.FieldComparator
-
构造
- fieldMapping - Variable in class cn.hutool.core.bean.copier.CopyOptions
-
拷贝属性的字段映射,用于不同的属性之前拷贝做对应表用
- fieldNameEditor - Variable in class cn.hutool.core.bean.copier.CopyOptions
-
字段属性编辑器,用于自定义属性转换规则,例如驼峰转下划线等
- fieldSeparator - Variable in class cn.hutool.core.text.csv.CsvConfig
-
字段分隔符,默认逗号','
- fieldValueAsMap(Iterable<?>, String, String) - Static method in class cn.hutool.core.collection.CollUtil
-
两个字段值组成新的Map
- fieldValueAsMap(Iterable<?>, String, String) - Static method in class cn.hutool.core.collection.IterUtil
-
- fieldValueAsMap(Iterator<?>, String, String) - Static method in class cn.hutool.core.collection.IterUtil
-
两个字段值组成新的Map
- fieldValueList(Iterable<V>, String) - Static method in class cn.hutool.core.collection.IterUtil
-
获取指定Bean列表中某个字段,生成新的列表
- fieldValueList(Iterator<V>, String) - Static method in class cn.hutool.core.collection.IterUtil
-
获取指定Bean列表中某个字段,生成新的列表
- fieldValueMap(Iterable<V>, String) - Static method in class cn.hutool.core.collection.CollUtil
-
字段值与列表值对应的Map,常用于元素对象中有唯一ID时需要按照这个ID查找对象的情况
例如:车牌号 =》车
- fieldValueMap(Iterable<V>, String) - Static method in class cn.hutool.core.collection.IterUtil
-
- fieldValueMap(Iterator<V>, String) - Static method in class cn.hutool.core.collection.IterUtil
-
字段值与列表值对应的Map,常用于元素对象中有唯一ID时需要按照这个ID查找对象的情况
例如:车牌号 =》车
- FIFOCache<K,V> - Class in cn.hutool.cache.impl
-
FIFO(first in first out) 先进先出缓存.
- FIFOCache(int) - Constructor for class cn.hutool.cache.impl.FIFOCache
-
构造,默认对象不过期
- FIFOCache(int, long) - Constructor for class cn.hutool.cache.impl.FIFOCache
-
构造
- file - Variable in class cn.hutool.core.io.file.FileWrapper
-
- file(String) - Static method in class cn.hutool.core.io.FileUtil
-
创建File对象,自动识别相对或绝对路径,相对路径将自动从ClassPath下寻找
- file(String, String) - Static method in class cn.hutool.core.io.FileUtil
-
创建File对象
此方法会检查slip漏洞,漏洞说明见http://blog.nsfocus.net/zip-slip-2/
- file(File, String) - Static method in class cn.hutool.core.io.FileUtil
-
创建File对象
根据的路径构建文件,在Win下直接构建,在Linux下拆分路径单独构建
此方法会检查slip漏洞,漏洞说明见http://blog.nsfocus.net/zip-slip-2/
- file(File, String...) - Static method in class cn.hutool.core.io.FileUtil
-
通过多层目录参数创建文件
此方法会检查slip漏洞,漏洞说明见http://blog.nsfocus.net/zip-slip-2/
- file(String...) - Static method in class cn.hutool.core.io.FileUtil
-
通过多层目录创建文件
- file(URI) - Static method in class cn.hutool.core.io.FileUtil
-
创建File对象
- file(URL) - Static method in class cn.hutool.core.io.FileUtil
-
创建File对象
- FILE_SEPARATOR - Static variable in interface cn.hutool.system.SystemPropsKeys
-
文件分隔符(在 UNIX 系统中是“/”)
- FILE_SEPARATOR - Static variable in class cn.hutool.system.SystemUtil
-
文件分隔符(在 UNIX 系统中是“/”)的KEY
- FILE_URL_PREFIX - Static variable in class cn.hutool.core.util.URLUtil
-
URL 前缀表示文件: "file:"
- FileAppender - Class in cn.hutool.core.io.file
-
文件追加器
持有一个文件,在内存中积累一定量的数据后统一追加到文件
此类只有在写入文件时打开文件,并在写入结束后关闭之。因此此类不需要关闭
在调用append方法后会缓存于内存,只有超过容量后才会一次性写入文件,因此内存中随时有剩余未写入文件的内容,在最后必须调用flush方法将剩余内容刷入文件
- FileAppender(File, int, boolean) - Constructor for class cn.hutool.core.io.file.FileAppender
-
构造
- FileAppender(File, Charset, int, boolean) - Constructor for class cn.hutool.core.io.file.FileAppender
-
构造
- FileCopier - Class in cn.hutool.core.io.file
-
文件拷贝器
支持以下几种情况:
- FileCopier(File, File) - Constructor for class cn.hutool.core.io.file.FileCopier
-
构造
- fileExts - Variable in class cn.hutool.core.net.multipart.UploadSetting
-
文件扩展名限定
- fileForm() - Method in class cn.hutool.http.HttpRequest
-
获取文件表单数据
- FileMode - Enum in cn.hutool.core.io.file
-
文件读写模式,常用于RandomAccessFile
- FileNameUtil - Class in cn.hutool.core.io.file
-
文件名相关工具类
- FileNameUtil() - Constructor for class cn.hutool.core.io.file.FileNameUtil
-
- FileObjectResource - Class in cn.hutool.core.io.resource
-
- FileObjectResource(FileObject) - Constructor for class cn.hutool.core.io.resource.FileObjectResource
-
构造
- FileReader - Class in cn.hutool.core.io.file
-
文件读取器
- FileReader(File, Charset) - Constructor for class cn.hutool.core.io.file.FileReader
-
构造
- FileReader(File, String) - Constructor for class cn.hutool.core.io.file.FileReader
-
构造
- FileReader(String, Charset) - Constructor for class cn.hutool.core.io.file.FileReader
-
构造
- FileReader(String, String) - Constructor for class cn.hutool.core.io.file.FileReader
-
构造
- FileReader(File) - Constructor for class cn.hutool.core.io.file.FileReader
-
- FileReader(String) - Constructor for class cn.hutool.core.io.file.FileReader
-
- FileReader.ReaderHandler<T> - Interface in cn.hutool.core.io.file
-
Reader处理接口
- FileResource - Class in cn.hutool.core.io.resource
-
- FileResource(Path) - Constructor for class cn.hutool.core.io.resource.FileResource
-
构造
- FileResource(File) - Constructor for class cn.hutool.core.io.resource.FileResource
-
构造
- FileResource(File, String) - Constructor for class cn.hutool.core.io.resource.FileResource
-
构造
- FileResource(String) - Constructor for class cn.hutool.core.io.resource.FileResource
-
构造
- FileTypeUtil - Class in cn.hutool.core.io
-
文件类型判断工具类
- FileTypeUtil() - Constructor for class cn.hutool.core.io.FileTypeUtil
-
- FileUtil - Class in cn.hutool.core.io
-
文件工具类
- FileUtil() - Constructor for class cn.hutool.core.io.FileUtil
-
- FileWrapper - Class in cn.hutool.core.io.file
-
文件包装器,扩展文件对象
- FileWrapper(File, Charset) - Constructor for class cn.hutool.core.io.file.FileWrapper
-
构造
- FileWriter - Class in cn.hutool.core.io.file
-
文件写入器
- FileWriter(File, Charset) - Constructor for class cn.hutool.core.io.file.FileWriter
-
构造
- FileWriter(File, String) - Constructor for class cn.hutool.core.io.file.FileWriter
-
构造
- FileWriter(String, Charset) - Constructor for class cn.hutool.core.io.file.FileWriter
-
构造
- FileWriter(String, String) - Constructor for class cn.hutool.core.io.file.FileWriter
-
构造
- FileWriter(File) - Constructor for class cn.hutool.core.io.file.FileWriter
-
- FileWriter(String) - Constructor for class cn.hutool.core.io.file.FileWriter
-
- fill(String, char, int, boolean) - Static method in class cn.hutool.core.util.StrUtil
-
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
- fillAfter(String, char, int) - Static method in class cn.hutool.core.util.StrUtil
-
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
字符填充于字符串后
- fillBean(T, ValueProvider<String>, CopyOptions) - Static method in class cn.hutool.core.bean.BeanUtil
-
填充Bean的核心方法
- fillBean(ServletRequest, T, CopyOptions) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
ServletRequest 参数转Bean
- fillBean(ServletRequest, T, boolean) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
ServletRequest 参数转Bean
- fillBean(T, String) - Method in class cn.hutool.setting.dialect.Props
-
将配置文件转换为Bean,支持嵌套Bean
支持的表达式:
- fillBeanWithMap(Map<?, ?>, T, boolean) - Static method in class cn.hutool.core.bean.BeanUtil
-
使用Map填充Bean对象
- fillBeanWithMap(Map<?, ?>, T, boolean, boolean) - Static method in class cn.hutool.core.bean.BeanUtil
-
使用Map填充Bean对象,可配置将下划线转换为驼峰
- fillBeanWithMap(Map<?, ?>, T, CopyOptions) - Static method in class cn.hutool.core.bean.BeanUtil
-
使用Map填充Bean对象
- fillBeanWithMap(Map<?, ?>, T, boolean, CopyOptions) - Static method in class cn.hutool.core.bean.BeanUtil
-
使用Map填充Bean对象
- fillBeanWithMapIgnoreCase(Map<?, ?>, T, boolean) - Static method in class cn.hutool.core.bean.BeanUtil
-
使用Map填充Bean对象,忽略大小写
- fillBefore(String, char, int) - Static method in class cn.hutool.core.util.StrUtil
-
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
字符填充于字符串前
- fillParams(PreparedStatement, Object...) - Static method in class cn.hutool.db.StatementUtil
-
填充SQL的参数。
- fillParams(PreparedStatement, Iterable<?>) - Static method in class cn.hutool.db.StatementUtil
-
填充SQL的参数。
对于日期对象特殊处理:传入java.util.Date默认按照Timestamp处理
- fillParams(PreparedStatement, Iterable<?>, Map<Integer, Integer>) - Static method in class cn.hutool.db.StatementUtil
-
填充SQL的参数。
对于日期对象特殊处理:传入java.util.Date默认按照Timestamp处理
- filter(Collection<T>, Editor<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
过滤,此方法产生一个新集合
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
- filter(List<T>, Editor<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
- filter(T, Filter<E>) - Static method in class cn.hutool.core.collection.CollUtil
-
去除指定元素,此方法直接修改原集合
- filter(Map<K, V>, Editor<Map.Entry<K, V>>) - Static method in class cn.hutool.core.collection.CollUtil
-
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
- filter(Map<K, V>, Filter<Map.Entry<K, V>>) - Static method in class cn.hutool.core.collection.CollUtil
-
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
- filter(T, Filter<E>) - Static method in class cn.hutool.core.collection.IterUtil
-
过滤集合,此方法在原集合上直接修改
通过实现Filter接口,完成元素的过滤,这个Filter实现可以实现以下功能:
- filter(Iterator<E>, Filter<E>) - Static method in class cn.hutool.core.collection.IterUtil
-
过滤集合,此方法在原集合上直接修改
通过实现Filter接口,完成元素的过滤,这个Filter实现可以实现以下功能:
- filter(List<T>, Editor<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
- filter(String...) - Method in class cn.hutool.core.lang.Dict
-
过滤Map保留指定键值对,如果键不存在跳过
- Filter<T> - Interface in cn.hutool.core.lang
-
过滤器接口
- filter(Map<K, V>, Editor<Map.Entry<K, V>>) - Static method in class cn.hutool.core.map.MapUtil
-
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
- filter(Map<K, V>, Filter<Map.Entry<K, V>>) - Static method in class cn.hutool.core.map.MapUtil
-
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Filter实现可以实现以下功能:
- filter(Map<K, V>, K...) - Static method in class cn.hutool.core.map.MapUtil
-
过滤Map保留指定键值对,如果键不存在跳过
- filter(CharSequence, Filter<Character>) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
过滤字符串
- filter(T[], Editor<T>) - Static method in class cn.hutool.core.util.ArrayUtil
-
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
- filter(T[], Filter<T>) - Static method in class cn.hutool.core.util.ArrayUtil
-
过滤
过滤过程通过传入的Filter实现来过滤返回需要的元素内容,这个Filter实现可以实现以下功能:
- filter(String...) - Method in class cn.hutool.db.Entity
-
过滤Map保留指定键值对,如果键不存在跳过
- filter(String) - Method in class cn.hutool.http.HTMLFilter
-
given a user submitted input String, filter out any invalid or restricted html.
- filter(String) - Static method in class cn.hutool.http.HtmlUtil
-
过滤HTML文本,防止XSS攻击
- filterNew(Collection<T>, Filter<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
过滤
过滤过程通过传入的Filter实现来过滤返回需要的元素内容,这个Filter实现可以实现以下功能:
- filterNew(List<T>, Filter<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
过滤
过滤过程通过传入的Filter实现来过滤返回需要的元素内容,这个Filter实现可以实现以下功能:
- FinalizableDelegatedExecutorService - Class in cn.hutool.core.thread
-
保证ExecutorService在对象回收时正常结束
- finalize() - Method in class cn.hutool.core.thread.FinalizableDelegatedExecutorService
-
- finalize() - Method in class cn.hutool.db.ds.pooled.PooledDataSource
-
- find(Collection<String>, Entity, RsHandler<T>) - Method in class cn.hutool.db.AbstractDb
-
查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- find(Collection<String>, Entity) - Method in class cn.hutool.db.AbstractDb
-
查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- find(Query, RsHandler<T>) - Method in class cn.hutool.db.AbstractDb
-
查询
Query为查询所需数据的一个实体类,此对象中可以定义返回字段、查询条件,查询的表、分页等信息
- find(Entity, RsHandler<T>, String...) - Method in class cn.hutool.db.AbstractDb
-
查询,返回所有字段
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- find(Entity) - Method in class cn.hutool.db.AbstractDb
-
查询数据列表,返回字段由where参数指定
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- find(Entity, Class<T>) - Method in class cn.hutool.db.AbstractDb
-
查询数据列表,返回字段由where参数指定
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- find(String, T) - Method in class cn.hutool.db.DaoTemplate
-
根据某个字段值查询结果
- find(Entity) - Method in class cn.hutool.db.DaoTemplate
-
根据某个字段值查询结果
- find(Connection, Query, RsHandler<T>) - Method in class cn.hutool.db.DialectRunner
-
查询
此方法不会关闭Connection
- find(Connection, Collection<String>, Entity, RsHandler<T>) - Method in class cn.hutool.db.SqlConnRunner
-
查询
此方法不会关闭Connection
- find(Connection, Entity, RsHandler<T>, String...) - Method in class cn.hutool.db.SqlConnRunner
-
查询,返回指定字段列表
此方法不会关闭Connection
- find(Connection, Entity) - Method in class cn.hutool.db.SqlConnRunner
-
查询数据列表,返回字段在where参数中定义
- findAll(String, CharSequence, int) - Static method in class cn.hutool.core.util.ReUtil
-
取得内容中匹配的所有结果
- findAll(String, CharSequence, int, T) - Static method in class cn.hutool.core.util.ReUtil
-
取得内容中匹配的所有结果
- findAll(Pattern, CharSequence, int) - Static method in class cn.hutool.core.util.ReUtil
-
取得内容中匹配的所有结果
- findAll(Pattern, CharSequence, int, T) - Static method in class cn.hutool.core.util.ReUtil
-
取得内容中匹配的所有结果
- findAll(Entity) - Method in class cn.hutool.db.AbstractDb
-
查询数据列表,返回所有字段
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- findAll(Entity, Class<T>) - Method in class cn.hutool.db.AbstractDb
-
查询数据列表,返回所有字段
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- findAll(String) - Method in class cn.hutool.db.AbstractDb
-
查询数据列表,返回所有字段
- findAll() - Method in class cn.hutool.db.DaoTemplate
-
查询当前表的所有记录
- findAll(Connection, Entity) - Method in class cn.hutool.db.SqlConnRunner
-
查询数据列表,返回所有字段
- findAll(Connection, String) - Method in class cn.hutool.db.SqlConnRunner
-
查询数据列表,返回所有字段
- findAllGroup0(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组0的内容
- findAllGroup0(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组0的内容
- findAllGroup1(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组1的内容
- findAllGroup1(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组1的内容
- findBy(String, String, Object) - Method in class cn.hutool.db.AbstractDb
-
根据某个字段名条件查询数据列表,返回所有字段
- findBy(String, Condition...) - Method in class cn.hutool.db.AbstractDb
-
根据多个条件查询数据列表,返回所有字段
- findBy(Connection, String, String, Object) - Method in class cn.hutool.db.SqlConnRunner
-
根据某个字段名条件查询数据列表,返回所有字段
- findBySql(String, Object...) - Method in class cn.hutool.db.DaoTemplate
-
根据SQL语句查询结果
SQL语句可以是非完整SQL语句,可以只提供查询的条件部分(例如WHERE部分)
此方法会自动补全SELECT * FROM [tableName] 部分,这样就无需关心表名,直接提供条件即可
- findClass(String) - Method in class cn.hutool.core.lang.ResourceClassLoader
-
- findClosest(Color) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Returns index of palette color closest to c
- findEditor(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
-
- findExact(Color) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Returns index of palette exactly matching to color c or -1 if there is no exact matching.
- findIn(Connection, String, String, Object...) - Method in class cn.hutool.db.SqlConnRunner
-
根据某个字段名条件查询数据列表,返回所有字段
- findLike(String, String, String, Condition.LikeType) - Method in class cn.hutool.db.AbstractDb
-
根据某个字段名条件查询数据列表,返回所有字段
- findLike(Connection, String, String, String, Condition.LikeType) - Method in class cn.hutool.db.SqlConnRunner
-
根据某个字段名条件查询数据列表,返回所有字段
- findOne(Iterable<T>, Filter<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
查找第一个匹配元素对象
- findOneByField(Iterable<T>, String, Object) - Static method in class cn.hutool.core.collection.CollUtil
-
查找第一个匹配元素对象
如果集合元素是Map,则比对键和值是否相同,相同则返回
如果为普通Bean,则通过反射比对元素字段名对应的字段值是否相同,相同则返回
如果给定字段值参数是null
且元素对象中的字段值也为null
则认为相同
- findTemplateSource(String) - Method in class cn.hutool.extra.template.engine.freemarker.SimpleStringTemplateLoader
-
- finish() - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Flushes any pending data and closes output file.
- finish() - Method in interface cn.hutool.core.io.StreamProgress
-
结束
- finish() - Method in interface cn.hutool.extra.compress.archiver.Archiver
-
结束已经增加的文件归档,此方法不会关闭归档流,可以继续添加文件
- finish() - Method in class cn.hutool.extra.compress.archiver.SevenZArchiver
-
- finish() - Method in class cn.hutool.extra.compress.archiver.StreamArchiver
-
结束已经增加的文件归档,此方法不会关闭归档流,可以继续添加文件
- firstFrame - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- firstMatch(Matcher<T>, T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
返回数组中第一个匹配规则的值
- firstNonBlank(T...) - Method in class cn.hutool.core.text.CharSequenceUtil
-
返回第一个非blank 元素
- firstNonEmpty(T...) - Method in class cn.hutool.core.text.CharSequenceUtil
-
返回第一个非empty 元素
- firstNonNull(T...) - Method in class cn.hutool.core.text.CharSequenceUtil
-
返回第一个非null
元素
- firstNonNull(T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
返回数组中第一个非空元素
- FixedLinkedHashMap<K,V> - Class in cn.hutool.core.map
-
- FixedLinkedHashMap(int) - Constructor for class cn.hutool.core.map.FixedLinkedHashMap
-
构造
- flip() - Method in class cn.hutool.core.img.Img
-
水平翻转图像
- flip(File, File) - Static method in class cn.hutool.core.img.ImgUtil
-
水平翻转图像
- flip(Image, File) - Static method in class cn.hutool.core.img.ImgUtil
-
水平翻转图像
- flip(Image, OutputStream) - Static method in class cn.hutool.core.img.ImgUtil
-
水平翻转图像
- flip(Image, ImageOutputStream) - Static method in class cn.hutool.core.img.ImgUtil
-
水平翻转图像,写出格式为JPG
- flip(Image) - Static method in class cn.hutool.core.img.ImgUtil
-
水平翻转图像
- floatValue() - Method in class cn.hutool.core.lang.mutable.MutableByte
-
- floatValue() - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
- floatValue() - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
- floatValue() - Method in class cn.hutool.core.lang.mutable.MutableInt
-
- floatValue() - Method in class cn.hutool.core.lang.mutable.MutableLong
-
- floatValue() - Method in class cn.hutool.core.lang.mutable.MutableShort
-
- flush() - Method in class cn.hutool.core.io.FastStringWriter
-
- flush() - Method in class cn.hutool.core.io.file.FileAppender
-
刷入到文件
- flush(Flushable) - Static method in class cn.hutool.core.io.IoUtil
-
从缓存中刷出数据
- flush() - Method in class cn.hutool.core.text.csv.CsvWriter
-
- flush(OutputStream, boolean) - Method in class cn.hutool.poi.excel.BigExcelWriter
-
- flush() - Method in class cn.hutool.poi.excel.ExcelWriter
-
- flush(File) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- flush(OutputStream) - Method in class cn.hutool.poi.excel.ExcelWriter
-
将Excel Workbook刷出到输出流
- flush(OutputStream, boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
-
将Excel Workbook刷出到输出流
- flush() - Method in class cn.hutool.poi.word.Word07Writer
-
- flush(File) - Method in class cn.hutool.poi.word.Word07Writer
-
- flush(OutputStream) - Method in class cn.hutool.poi.word.Word07Writer
-
将Word Workbook刷出到输出流
- flush(OutputStream, boolean) - Method in class cn.hutool.poi.word.Word07Writer
-
将Word Document刷出到输出流
- FNVFilter - Class in cn.hutool.bloomfilter.filter
-
- FNVFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.FNVFilter
-
- FNVFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.FNVFilter
-
- fnvHash(byte[]) - Static method in class cn.hutool.core.util.HashUtil
-
改进的32位FNV算法1
- fnvHash(String) - Static method in class cn.hutool.core.util.HashUtil
-
改进的32位FNV算法1
- font - Variable in class cn.hutool.captcha.AbstractCaptcha
-
字体
- FontUtil - Class in cn.hutool.core.img
-
AWT中字体相关工具类
- FontUtil() - Constructor for class cn.hutool.core.img.FontUtil
-
- forEach(Iterable<T>, CollUtil.Consumer<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
- forEach(Iterator<T>, CollUtil.Consumer<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
- forEach(Enumeration<T>, CollUtil.Consumer<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
- forEach(Map<K, V>, CollUtil.KVConsumer<K, V>) - Static method in class cn.hutool.core.collection.CollUtil
-
- forEach(Consumer<? super T>) - Method in class cn.hutool.core.collection.TransCollection
-
- forEach(BiConsumer<? super K, ? super V>) - Method in class cn.hutool.core.map.MapWrapper
-
- forEachRemaining(Consumer<? super T>) - Method in class cn.hutool.core.collection.TransSpliterator
-
- foreColor - Variable in class cn.hutool.extra.qrcode.QrConfig
-
前景色(二维码颜色)
- form(String, Object) - Method in class cn.hutool.http.HttpRequest
-
设置表单数据
- form(String, Object, Object...) - Method in class cn.hutool.http.HttpRequest
-
设置表单数据
- form(Map<String, Object>) - Method in class cn.hutool.http.HttpRequest
-
设置map类型表单数据
- form(String, File...) - Method in class cn.hutool.http.HttpRequest
-
文件表单项
一旦有文件加入,表单变为multipart/form-data
- form(String, File) - Method in class cn.hutool.http.HttpRequest
-
文件表单项
一旦有文件加入,表单变为multipart/form-data
- form(String, File, String) - Method in class cn.hutool.http.HttpRequest
-
文件表单项
一旦有文件加入,表单变为multipart/form-data
- form(String, byte[], String) - Method in class cn.hutool.http.HttpRequest
-
文件byte[]表单项
一旦有文件加入,表单变为multipart/form-data
- form(String, Resource) - Method in class cn.hutool.http.HttpRequest
-
文件表单项
一旦有文件加入,表单变为multipart/form-data
- form() - Method in class cn.hutool.http.HttpRequest
-
获取表单数据
- format(double, boolean) - Static method in class cn.hutool.core.convert.NumberChineseFormatter
-
阿拉伯数字转换成中文,小数点后四舍五入保留两位.
- format(double, boolean, boolean) - Static method in class cn.hutool.core.convert.NumberChineseFormatter
-
阿拉伯数字转换成中文,小数点后四舍五入保留两位.
- format(Object) - Static method in class cn.hutool.core.convert.NumberWordFormatter
-
将阿拉伯数字转为英文表达式
- format() - Method in class cn.hutool.core.date.BetweenFormatter
-
格式化日期间隔输出
- format(LocalDateTime, String) - Static method in class cn.hutool.core.date.DateUtil
-
根据特定格式格式化日期
- format(Date, String) - Static method in class cn.hutool.core.date.DateUtil
-
根据特定格式格式化日期
- format(Date, DatePrinter) - Static method in class cn.hutool.core.date.DateUtil
-
根据特定格式格式化日期
- format(Date, DateFormat) - Static method in class cn.hutool.core.date.DateUtil
-
根据特定格式格式化日期
- format(Date, DateTimeFormatter) - Static method in class cn.hutool.core.date.DateUtil
-
根据特定格式格式化日期
- format(long) - Method in interface cn.hutool.core.date.format.DatePrinter
-
格式化日期表示的毫秒数
- format(Date) - Method in interface cn.hutool.core.date.format.DatePrinter
-
使用 GregorianCalendar
格式化 Date
- format(Calendar) - Method in interface cn.hutool.core.date.format.DatePrinter
-
Formats a Calendar
object.
- format(long, B) - Method in interface cn.hutool.core.date.format.DatePrinter
-
Formats a millisecond long
value into the supplied Appendable
.
- format(Date, B) - Method in interface cn.hutool.core.date.format.DatePrinter
-
Formats a Date
object into the supplied Appendable
using a GregorianCalendar
.
- format(Calendar, B) - Method in interface cn.hutool.core.date.format.DatePrinter
-
Formats a Calendar
object into the supplied Appendable
.
- format(Object, StringBuffer, FieldPosition) - Method in class cn.hutool.core.date.format.FastDateFormat
-
- format(long) - Method in class cn.hutool.core.date.format.FastDateFormat
-
- format(Date) - Method in class cn.hutool.core.date.format.FastDateFormat
-
- format(Calendar) - Method in class cn.hutool.core.date.format.FastDateFormat
-
- format(long, B) - Method in class cn.hutool.core.date.format.FastDateFormat
-
- format(Date, B) - Method in class cn.hutool.core.date.format.FastDateFormat
-
- format(Calendar, B) - Method in class cn.hutool.core.date.format.FastDateFormat
-
- format(long) - Method in class cn.hutool.core.date.format.FastDatePrinter
-
- format(Date) - Method in class cn.hutool.core.date.format.FastDatePrinter
-
- format(Calendar) - Method in class cn.hutool.core.date.format.FastDatePrinter
-
- format(long, B) - Method in class cn.hutool.core.date.format.FastDatePrinter
-
- format(Date, B) - Method in class cn.hutool.core.date.format.FastDatePrinter
-
- format(Calendar, B) - Method in class cn.hutool.core.date.format.FastDatePrinter
-
- format(LocalDateTime, DateTimeFormatter) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
格式化日期时间为指定格式
- format(LocalDateTime, String) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
格式化日期时间为指定格式
- format(LocalDate, DateTimeFormatter) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
格式化日期时间为指定格式
- format(LocalDate, String) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
格式化日期时间为指定格式
- format(TemporalAccessor, DateTimeFormatter) - Static method in class cn.hutool.core.date.TemporalAccessorUtil
-
格式化日期时间为指定格式
- format(TemporalAccessor, String) - Static method in class cn.hutool.core.date.TemporalAccessorUtil
-
格式化日期时间为指定格式
- format(long) - Static method in class cn.hutool.core.io.unit.DataSizeUtil
-
可读的文件大小
参考 http://stackoverflow.com/questions/3263892/format-file-size-as-mb-gb-etc
- format(CharSequence, Object...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
格式化文本, {} 表示占位符
此方法只是简单将占位符 {} 按照顺序替换为参数
如果想输出 {} 使用 \\转义 { 即可,如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可
例:
通常使用:format("this is {} for {}", "a", "b") =》 this is a for b
转义{}: format("this is \\{} for {}", "a", "b") =》 this is \{} for a
转义\: format("this is \\\\{} for {}", "a", "b") =》 this is \a for b
- format(String, Object...) - Static method in class cn.hutool.core.text.StrFormatter
-
格式化字符串
此方法只是简单将占位符 {} 按照顺序替换为参数
如果想输出 {} 使用 \\转义 { 即可,如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可
例:
通常使用:format("this is {} for {}", "a", "b") =》 this is a for b
转义{}: format("this is \\{} for {}", "a", "b") =》 this is \{} for a
转义\: format("this is \\\\{} for {}", "a", "b") =》 this is \a for b
- format(String) - Static method in class cn.hutool.core.util.HexUtil
-
格式化Hex字符串,结果为每2位加一个空格,类似于:
- format(CharSequence, Map<?, ?>) - Static method in class cn.hutool.core.util.StrUtil
-
格式化文本,使用 {varName} 占位
map = {a: "aValue", b: "bValue"} format("{a} and {b}", map) ---=》 aValue and bValue
- format(CharSequence, Map<?, ?>, boolean) - Static method in class cn.hutool.core.util.StrUtil
-
格式化文本,使用 {varName} 占位
map = {a: "aValue", b: "bValue"} format("{a} and {b}", map) ---=》 aValue and bValue
- format(Document) - Static method in class cn.hutool.core.util.XmlUtil
-
格式化XML输出
- format(String) - Static method in class cn.hutool.core.util.XmlUtil
-
格式化XML输出
- format(String) - Static method in class cn.hutool.db.sql.SqlFormatter
-
- format(String) - Static method in class cn.hutool.json.JSONStrFormatter
-
返回格式化JSON字符串。
- formatBetween(Date, Date, BetweenFormatter.Level) - Static method in class cn.hutool.core.date.DateUtil
-
格式化日期间隔输出
- formatBetween(Date, Date) - Static method in class cn.hutool.core.date.DateUtil
-
格式化日期间隔输出,精确到毫秒
- formatBetween(long, BetweenFormatter.Level) - Static method in class cn.hutool.core.date.DateUtil
-
格式化日期间隔输出
- formatBetween(long) - Static method in class cn.hutool.core.date.DateUtil
-
格式化日期间隔输出,精确到毫秒
- formatCellContent(String, int, String) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
-
格式化数字或日期值
- formatChineseDate(Calendar, boolean) - Static method in class cn.hutool.core.date.CalendarUtil
-
将指定Calendar时间格式化为纯中文形式,比如:
- formatChineseDate(Date, boolean, boolean) - Static method in class cn.hutool.core.date.DateUtil
-
格式化为中文日期格式,如果isUppercase为false,则返回类似:2018年10月24日,否则返回二〇一八年十月二十四日
- formatDate(Date) - Static method in class cn.hutool.core.date.DateUtil
-
格式化日期部分(不包括时间)
格式 yyyy-MM-dd
- formatDateTime(Date) - Static method in class cn.hutool.core.date.DateUtil
-
格式化日期时间
格式 yyyy-MM-dd HH:mm:ss
- formatHttpDate(Date) - Static method in class cn.hutool.core.date.DateUtil
-
格式化为Http的标准日期格式
标准日期格式遵循RFC 1123规范,格式类似于:Fri, 31 Dec 1999 23:59:59 GMT
- formatIpBlock(String, String) - Static method in class cn.hutool.core.net.Ipv4Util
-
格式化IP段
- formatJsonStr(String) - Static method in class cn.hutool.json.JSONUtil
-
格式化JSON字符串,此方法并不严格检查JSON的格式正确与否
- formatLocalDateTime(LocalDateTime) - Static method in class cn.hutool.core.date.DateUtil
-
格式化日期时间
格式 yyyy-MM-dd HH:mm:ss
- formatNormal(LocalDateTime) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
格式化日期时间为yyyy-MM-dd HH:mm:ss格式
- formatNormal(LocalDate) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
格式化日期时间为yyyy-MM-dd格式
- formatPercent(double, int) - Static method in class cn.hutool.core.util.NumberUtil
-
格式化百分比,小数采用四舍五入方式
- formatSimple(long) - Static method in class cn.hutool.core.convert.NumberWordFormatter
-
将阿拉伯数字转化为简洁计数单位,例如 2100 =》 2.1k
范围默认只到w
- formatSimple(long, boolean) - Static method in class cn.hutool.core.convert.NumberWordFormatter
-
将阿拉伯数字转化为简介计数单位,例如 2100 =》 2.1k
- formatSql(String) - Static method in class cn.hutool.db.sql.SqlUtil
-
格式化SQL
- formatTime(Date) - Static method in class cn.hutool.core.date.DateUtil
-
格式化时间
格式 HH:mm:ss
- FormulaCellValue - Class in cn.hutool.poi.excel.cell
-
公式类型的值
- FormulaCellValue(String) - Constructor for class cn.hutool.poi.excel.cell.FormulaCellValue
-
构造
- FormulaCellValue(String, Object) - Constructor for class cn.hutool.poi.excel.cell.FormulaCellValue
-
构造
- FoundWord - Class in cn.hutool.dfa
-
匹配到的单词,包含单词,text中匹配单词的内容,以及匹配内容在text中的下标,
下标可以用来做单词的进一步处理,如果替换成**
- FoundWord(String, String, int, int) - Constructor for class cn.hutool.dfa.FoundWord
-
构造
- frameCount - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- frames - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- free(PooledConnection) - Method in class cn.hutool.db.ds.pooled.PooledDataSource
-
释放连接,连接会被返回给连接池
- FreemarkerEngine - Class in cn.hutool.extra.template.engine.freemarker
-
FreeMarker模板引擎封装
见:https://freemarker.apache.org/
- FreemarkerEngine() - Constructor for class cn.hutool.extra.template.engine.freemarker.FreemarkerEngine
-
默认构造
- FreemarkerEngine(TemplateConfig) - Constructor for class cn.hutool.extra.template.engine.freemarker.FreemarkerEngine
-
构造
- FreemarkerEngine(Configuration) - Constructor for class cn.hutool.extra.template.engine.freemarker.FreemarkerEngine
-
构造
- FreemarkerTemplate - Class in cn.hutool.extra.template.engine.freemarker
-
Freemarker模板实现
- FreemarkerTemplate(Template) - Constructor for class cn.hutool.extra.template.engine.freemarker.FreemarkerTemplate
-
构造
- freq - Variable in class cn.hutool.core.img.gif.NeuQuant
-
- from(Path) - Static method in class cn.hutool.core.img.Img
-
从Path读取图片并开始处理
- from(File) - Static method in class cn.hutool.core.img.Img
-
从文件读取图片并开始处理
- from(Resource) - Static method in class cn.hutool.core.img.Img
-
从资源对象中读取图片并开始处理
- from(InputStream) - Static method in class cn.hutool.core.img.Img
-
从流读取图片并开始处理
- from(ImageInputStream) - Static method in class cn.hutool.core.img.Img
-
从ImageInputStream取图片并开始处理
- from(URL) - Static method in class cn.hutool.core.img.Img
-
从URL取图片并开始处理
- from(Image) - Static method in class cn.hutool.core.img.Img
-
从Image取图片并开始处理
- from(String...) - Method in class cn.hutool.db.sql.SqlBuilder
-
添加 from语句
- fromInt(Integer) - Method in interface cn.hutool.core.lang.EnumItem
-
通过int类型值查找兄弟其他枚举
- fromStr(String) - Method in interface cn.hutool.core.lang.EnumItem
-
通过String类型的值转换,根据实现可以用name/text
- fromString(String) - Static method in class cn.hutool.core.lang.UUID
-
- fromString(Class<E>, String) - Static method in class cn.hutool.core.util.EnumUtil
-
- fromString(Class<E>, String, E) - Static method in class cn.hutool.core.util.EnumUtil
-
- fromString(String) - Static method in enum cn.hutool.db.sql.Direction
-
- fromStringQuietly(Class<E>, String) - Static method in class cn.hutool.core.util.EnumUtil
-
- fromSuffix(String) - Static method in enum cn.hutool.core.io.unit.DataUnit
-
- fromUnsignedByteArray(byte[]) - Static method in class cn.hutool.core.util.NumberUtil
-
- fromUnsignedByteArray(byte[], int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
- Ftp - Class in cn.hutool.extra.ftp
-
FTP客户端封装
此客户端基于Apache-Commons-Net
- Ftp(String) - Constructor for class cn.hutool.extra.ftp.Ftp
-
构造,匿名登录
- Ftp(String, int) - Constructor for class cn.hutool.extra.ftp.Ftp
-
构造,匿名登录
- Ftp(String, int, String, String) - Constructor for class cn.hutool.extra.ftp.Ftp
-
构造
- Ftp(String, int, String, String, Charset) - Constructor for class cn.hutool.extra.ftp.Ftp
-
构造
- Ftp(String, int, String, String, Charset, String, String) - Constructor for class cn.hutool.extra.ftp.Ftp
-
构造
- Ftp(String, int, String, String, Charset, String, String, FtpMode) - Constructor for class cn.hutool.extra.ftp.Ftp
-
构造
- Ftp(FtpConfig, FtpMode) - Constructor for class cn.hutool.extra.ftp.Ftp
-
构造
- ftpConfig - Variable in class cn.hutool.extra.ftp.AbstractFtp
-
- FtpConfig - Class in cn.hutool.extra.ftp
-
FTP配置项,提供FTP各种参数信息
- FtpConfig() - Constructor for class cn.hutool.extra.ftp.FtpConfig
-
构造
- FtpConfig(String, int, String, String, Charset) - Constructor for class cn.hutool.extra.ftp.FtpConfig
-
构造
- FtpConfig(String, int, String, String, Charset, String, String) - Constructor for class cn.hutool.extra.ftp.FtpConfig
-
构造
- FtpException - Exception in cn.hutool.extra.ftp
-
Ftp异常
- FtpException(Throwable) - Constructor for exception cn.hutool.extra.ftp.FtpException
-
- FtpException(String) - Constructor for exception cn.hutool.extra.ftp.FtpException
-
- FtpException(String, Object...) - Constructor for exception cn.hutool.extra.ftp.FtpException
-
- FtpException(String, Throwable) - Constructor for exception cn.hutool.extra.ftp.FtpException
-
- FtpException(Throwable, String, Object...) - Constructor for exception cn.hutool.extra.ftp.FtpException
-
- FtpMode - Enum in cn.hutool.extra.ftp
-
FTP连接模式
- FULL - Static variable in class cn.hutool.core.date.format.FastDateFormat
-
FULL locale dependent date or time style.
- FullSupportScriptEngine - Class in cn.hutool.script
-
全功能引擎类,支持Compilable和Invocable
- FullSupportScriptEngine(ScriptEngine) - Constructor for class cn.hutool.script.FullSupportScriptEngine
-
构造
- FullSupportScriptEngine(String) - Constructor for class cn.hutool.script.FullSupportScriptEngine
-
构造
- Func<P,R> - Interface in cn.hutool.core.lang.func
-
函数对象
接口灵感来自于
ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
- Func0<R> - Interface in cn.hutool.core.lang.func
-
无参数的函数对象
接口灵感来自于
ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
- Func1<P,R> - Interface in cn.hutool.core.lang.func
-
只有一个参数的函数对象
接口灵感来自于
ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
- GAMMA - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- GAMMASHIFT - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- GanymedUtil - Class in cn.hutool.extra.ssh
-
Ganymed-SSH2封装,见:http://www.ganymed.ethz.ch/ssh2/
- GanymedUtil() - Constructor for class cn.hutool.extra.ssh.GanymedUtil
-
- GanZhi - Class in cn.hutool.core.date.chinese
-
天干地支类
- GanZhi() - Constructor for class cn.hutool.core.date.chinese.GanZhi
-
- GBK - Static variable in class cn.hutool.core.util.CharsetUtil
-
GBK
- gct - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- gctFlag - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- gctSize - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- GENERAL - Static variable in class cn.hutool.core.lang.PatternPool
-
英文字母 、数字和下划线
- GENERAL - Static variable in class cn.hutool.core.lang.Validator
-
英文字母 、数字和下划线
- GENERAL_WITH_CHINESE - Static variable in class cn.hutool.core.lang.PatternPool
-
中文字、英文字母、数字和下划线
- GENERAL_WITH_CHINESE - Static variable in class cn.hutool.core.lang.Validator
-
中文字、英文字母、数字和下划线
- generate() - Method in interface cn.hutool.captcha.generator.CodeGenerator
-
生成验证码
- generate() - Method in class cn.hutool.captcha.generator.MathGenerator
-
- generate() - Method in class cn.hutool.captcha.generator.RandomGenerator
-
- generate() - Method in class cn.hutool.core.net.LocalPortGenerater
-
生成一个本地端口,用于远程端口映射
- generate(long) - Method in class cn.hutool.crypto.digest.otp.HOTP
-
生成一次性密码
- generate(Instant) - Method in class cn.hutool.crypto.digest.otp.TOTP
-
使用给定的时间戳生成一次性密码.
- generate(String, int, int, File) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
生成二维码到文件,二维码图片格式取决于文件的扩展名
- generate(String, QrConfig, File) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
生成二维码到文件,二维码图片格式取决于文件的扩展名
- generate(String, int, int, String, OutputStream) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
生成二维码到输出流
- generate(String, QrConfig, String, OutputStream) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
生成二维码到输出流
- generate(String, int, int) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
生成二维码图片
- generate(String, BarcodeFormat, int, int) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
生成二维码或条形码图片
- generate(String, QrConfig) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
生成二维码图片
- generate(String, BarcodeFormat, QrConfig) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
生成二维码或条形码图片
只有二维码时QrConfig中的图片才有效
- generateAlgorithm(AsymmetricAlgorithm, DigestAlgorithm) - Static method in class cn.hutool.crypto.SecureUtil
-
生成算法,格式为XXXwithXXX
- generateAsBase64(String, QrConfig, String, String) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
生成代 logo 图片的 Base64 编码格式的二维码,以 String 形式表示
- generateAsBase64(String, QrConfig, String, byte[]) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
生成代 logo 图片的 Base64 编码格式的二维码,以 String 形式表示
- generateAsBase64(String, QrConfig, String, Image) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
生成代 logo 图片的 Base64 编码格式的二维码,以 String 形式表示
- generateAsBase64(String, QrConfig, String) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
生成 Base64 编码格式的二维码,以 String 形式表示
- generateBySet(int, int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
生成不重复随机数 根据给定的最小数字和最大数字,以及随机数的个数,产生指定的不重复的数组
- generateCode() - Method in class cn.hutool.captcha.AbstractCaptcha
-
生成验证码字符串
- generateDESKey(String, byte[]) - Static method in class cn.hutool.crypto.KeyUtil
-
- generateDESKey(String, byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
- generateKey(String) - Static method in class cn.hutool.crypto.KeyUtil
-
- generateKey(String, int) - Static method in class cn.hutool.crypto.KeyUtil
-
生成
SecretKey
,仅用于对称加密和摘要算法密钥生成
当指定keySize<0时,AES默认长度为128,其它算法不指定。
- generateKey(String, int, SecureRandom) - Static method in class cn.hutool.crypto.KeyUtil
-
生成
SecretKey
,仅用于对称加密和摘要算法密钥生成
当指定keySize<0时,AES默认长度为128,其它算法不指定。
- generateKey(String, byte[]) - Static method in class cn.hutool.crypto.KeyUtil
-
- generateKey(String, KeySpec) - Static method in class cn.hutool.crypto.KeyUtil
-
- generateKey(String) - Static method in class cn.hutool.crypto.SecureUtil
-
- generateKey(String, int) - Static method in class cn.hutool.crypto.SecureUtil
-
- generateKey(String, byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
- generateKey(String, KeySpec) - Static method in class cn.hutool.crypto.SecureUtil
-
- generateKeyPair(String) - Static method in class cn.hutool.crypto.KeyUtil
-
生成用于非对称加密的公钥和私钥,仅用于非对称加密
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generateKeyPair(String, int) - Static method in class cn.hutool.crypto.KeyUtil
-
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generateKeyPair(String, int, byte[]) - Static method in class cn.hutool.crypto.KeyUtil
-
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generateKeyPair(String, AlgorithmParameterSpec) - Static method in class cn.hutool.crypto.KeyUtil
-
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generateKeyPair(String, byte[], AlgorithmParameterSpec) - Static method in class cn.hutool.crypto.KeyUtil
-
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generateKeyPair(String, int, byte[], AlgorithmParameterSpec...) - Static method in class cn.hutool.crypto.KeyUtil
-
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generateKeyPair(String, int, SecureRandom, AlgorithmParameterSpec...) - Static method in class cn.hutool.crypto.KeyUtil
-
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generateKeyPair(String) - Static method in class cn.hutool.crypto.SecureUtil
-
生成用于非对称加密的公钥和私钥,仅用于非对称加密
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generateKeyPair(String, int) - Static method in class cn.hutool.crypto.SecureUtil
-
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generateKeyPair(String, int, byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generateKeyPair(String, AlgorithmParameterSpec) - Static method in class cn.hutool.crypto.SecureUtil
-
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generateKeyPair(String, byte[], AlgorithmParameterSpec) - Static method in class cn.hutool.crypto.SecureUtil
-
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generateLocalPort() - Static method in class cn.hutool.extra.ssh.JschUtil
-
生成一个本地端口,用于远程端口映射
- generatePBEKey(String, char[]) - Static method in class cn.hutool.crypto.KeyUtil
-
- generatePBEKey(String, char[]) - Static method in class cn.hutool.crypto.SecureUtil
-
- generatePng(String, int, int) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
生成PNG格式的二维码图片,以byte[]形式表示
- generatePng(String, QrConfig) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
生成PNG格式的二维码图片,以byte[]形式表示
- generatePrivateKey(BigInteger, BigInteger) - Static method in class cn.hutool.crypto.asymmetric.RSA
-
生成RSA私钥
- generatePrivateKey(String, byte[]) - Static method in class cn.hutool.crypto.KeyUtil
-
生成私钥,仅用于非对称加密
采用PKCS#8规范,此规范定义了私钥信息语法和加密私钥语法
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
- generatePrivateKey(String, KeySpec) - Static method in class cn.hutool.crypto.KeyUtil
-
生成私钥,仅用于非对称加密
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
- generatePrivateKey(KeyStore, String, char[]) - Static method in class cn.hutool.crypto.KeyUtil
-
生成私钥,仅用于非对称加密
- generatePrivateKey(String, byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
生成私钥,仅用于非对称加密
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
- generatePrivateKey(String, KeySpec) - Static method in class cn.hutool.crypto.SecureUtil
-
生成私钥,仅用于非对称加密
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
- generatePrivateKey(KeyStore, String, char[]) - Static method in class cn.hutool.crypto.SecureUtil
-
生成私钥,仅用于非对称加密
- generatePublicKey(BigInteger, BigInteger) - Static method in class cn.hutool.crypto.asymmetric.RSA
-
生成RSA公钥
- generatePublicKey(String, byte[]) - Static method in class cn.hutool.crypto.KeyUtil
-
生成公钥,仅用于非对称加密
采用X509证书规范
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
- generatePublicKey(String, KeySpec) - Static method in class cn.hutool.crypto.KeyUtil
-
生成公钥,仅用于非对称加密
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
- generatePublicKey(String, byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
生成公钥,仅用于非对称加密
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
- generatePublicKey(String, KeySpec) - Static method in class cn.hutool.crypto.SecureUtil
-
生成公钥,仅用于非对称加密
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
- generateRandomNumber(int, int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
生成不重复随机数 根据给定的最小数字和最大数字,以及随机数的个数,产生指定的不重复的数组
- generateRandomNumber(int, int, int, int[]) - Static method in class cn.hutool.core.util.NumberUtil
-
生成不重复随机数 根据给定的最小数字和最大数字,以及随机数的个数,产生指定的不重复的数组
- generateRSAPrivateKey(byte[]) - Static method in class cn.hutool.crypto.KeyUtil
-
生成RSA私钥,仅用于非对称加密
采用PKCS#8规范,此规范定义了私钥信息语法和加密私钥语法
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
- generateRSAPublicKey(byte[]) - Static method in class cn.hutool.crypto.KeyUtil
-
生成RSA公钥,仅用于非对称加密
采用X509证书规范
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
- generateSignature(AsymmetricAlgorithm, DigestAlgorithm) - Static method in class cn.hutool.crypto.SecureUtil
-
生成签名对象,仅用于非对称加密
- generator - Variable in class cn.hutool.captcha.AbstractCaptcha
-
验证码生成器
- Generator<T> - Interface in cn.hutool.core.lang.generator
-
生成器泛型接口
通过实现此接口可以自定义生成对象的策略
- GenericEnumConverter<E extends Enum<E>> - Class in cn.hutool.core.convert.impl
-
- GenericEnumConverter(Class<E>) - Constructor for class cn.hutool.core.convert.impl.GenericEnumConverter
-
Deprecated.
构造
- genGetter(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
生成get方法名
- gensalt(int, SecureRandom) - Static method in class cn.hutool.crypto.digest.BCrypt
-
生成盐
- gensalt(int) - Static method in class cn.hutool.crypto.digest.BCrypt
-
生成盐
- gensalt() - Static method in class cn.hutool.crypto.digest.BCrypt
-
生成盐
- genSetter(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
生成set方法名
例如:name 返回 setName
- get(K) - Method in interface cn.hutool.cache.Cache
-
从缓存中获得对象,当对象不在缓存中或已经过期返回null
- get(K, Func0<V>) - Method in interface cn.hutool.cache.Cache
-
从缓存中获得对象,当对象不在缓存中或已经过期返回Func0回调产生的对象
- get(K, boolean, Func0<V>) - Method in interface cn.hutool.cache.Cache
-
从缓存中获得对象,当对象不在缓存中或已经过期返回Func0回调产生的对象
- get(K, boolean) - Method in interface cn.hutool.cache.Cache
-
从缓存中获得对象,当对象不在缓存中或已经过期返回null
- get(K, boolean, Func0<V>) - Method in class cn.hutool.cache.impl.AbstractCache
-
- get(K, boolean) - Method in class cn.hutool.cache.impl.AbstractCache
-
- get(K) - Method in class cn.hutool.cache.impl.NoCache
-
- get(K, boolean) - Method in class cn.hutool.cache.impl.NoCache
-
- get(K, Func0<V>) - Method in class cn.hutool.cache.impl.NoCache
-
- get(K, boolean, Func0<V>) - Method in class cn.hutool.cache.impl.NoCache
-
- get(Object) - Method in class cn.hutool.core.bean.BeanPath
-
获取Bean中对应表达式的值
- get(String) - Method in class cn.hutool.core.bean.DynaBean
-
获得字段对应值
- get() - Method in class cn.hutool.core.bean.OptionalBean
-
取出具体的值
- get(Collection<T>, int) - Static method in class cn.hutool.core.collection.CollUtil
-
获取集合中指定下标的元素值,下标可以为负数,例如-1表示最后一个元素
如果元素越界,返回null
- get(TemporalAccessor, TemporalField) - Static method in class cn.hutool.core.date.TemporalAccessorUtil
-
安全获取时间的某个属性,属性不存在返回0
- get(int) - Method in class cn.hutool.core.io.FastByteBuffer
-
根据索引位返回一个字节
- get(Object) - Method in class cn.hutool.core.lang.ConsistentHash
-
获得一个最近的顺时针节点
- get(String, T) - Method in class cn.hutool.core.lang.Dict
-
获得特定类型值
- get(Object) - Method in class cn.hutool.core.lang.Dict
-
- get() - Method in class cn.hutool.core.lang.loader.AtomicLoader
-
获取一个对象,第一次调用此方法时初始化对象然后返回,之后调用此方法直接返回原对象
- get() - Method in class cn.hutool.core.lang.loader.LazyLoader
-
获取一个对象,第一次调用此方法时初始化对象然后返回,之后调用此方法直接返回原对象
- get() - Method in interface cn.hutool.core.lang.loader.Loader
-
获取一个准备好的对象
通过准备逻辑准备好被加载的对象,然后返回。在准备完毕之前此方法应该被阻塞
- get() - Method in interface cn.hutool.core.lang.mutable.Mutable
-
获得原始值
- get() - Method in class cn.hutool.core.lang.mutable.MutableBool
-
- get() - Method in class cn.hutool.core.lang.mutable.MutableByte
-
- get() - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
- get() - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
- get() - Method in class cn.hutool.core.lang.mutable.MutableInt
-
- get() - Method in class cn.hutool.core.lang.mutable.MutableLong
-
- get() - Method in class cn.hutool.core.lang.mutable.MutableObj
-
- get() - Method in class cn.hutool.core.lang.mutable.MutableShort
-
- get(String) - Static method in class cn.hutool.core.lang.PatternPool
-
先从Pattern池中查找正则对应的
Pattern
,找不到则编译正则表达式并入池。
- get(String, int) - Static method in class cn.hutool.core.lang.PatternPool
-
先从Pattern池中查找正则对应的
Pattern
,找不到则编译正则表达式并入池。
- get(Type) - Static method in class cn.hutool.core.lang.reflect.ActualTypeMapperPool
-
获取泛型变量和泛型实际类型的对应关系Map
- get(K) - Method in class cn.hutool.core.lang.SimpleCache
-
从缓存池中查找值
- get(K, Func0<V>) - Method in class cn.hutool.core.lang.SimpleCache
-
从缓存中获得对象,当对象不在缓存中或已经过期返回Func0回调产生的对象
- get(Class<T>, Object...) - Static method in class cn.hutool.core.lang.Singleton
-
获得指定类的单例对象
对象存在于池中返回,否则创建,每次调用此方法获得的对象为同一个对象
注意:单例针对的是类和参数,也就是说只有类、参数一致才会返回同一个对象
- get(String, Func0<T>) - Static method in class cn.hutool.core.lang.Singleton
-
获得指定类的单例对象
对象存在于池中返回,否则创建,每次调用此方法获得的对象为同一个对象
注意:单例针对的是类和参数,也就是说只有类、参数一致才会返回同一个对象
- get(String, Object...) - Static method in class cn.hutool.core.lang.Singleton
-
获得指定类的单例对象
对象存在于池中返回,否则创建,每次调用此方法获得的对象为同一个对象
- get(int) - Method in class cn.hutool.core.lang.Tuple
-
获取指定位置元素
- get(Object) - Method in class cn.hutool.core.map.CustomKeyMap
-
- get(Object) - Method in class cn.hutool.core.map.MapProxy
-
- get(Map<?, ?>, Object, Class<T>) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为指定类型
- get(Map<?, ?>, Object, Class<T>, T) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为指定类型
- get(Map<?, ?>, Object, TypeReference<T>) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为指定类型
- get(Map<?, ?>, Object, TypeReference<T>, T) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为指定类型
- get(Object) - Method in class cn.hutool.core.map.MapWrapper
-
- get(K, int) - Method in class cn.hutool.core.map.multi.CollectionValueMap
-
获取值
- get(Object) - Method in class cn.hutool.core.map.multi.ListValueMap
-
- get(Object) - Method in class cn.hutool.core.map.multi.SetValueMap
-
- get(Object) - Method in class cn.hutool.core.map.TableMap
-
- get(Object) - Method in class cn.hutool.core.map.TolerantMap
-
- get(int) - Static method in class cn.hutool.core.net.MaskBit
-
根据掩码位获取掩码
- get(CharSequence) - Method in class cn.hutool.core.net.url.UrlQuery
-
获取查询值
- get(DataFlavor) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
-
获取剪贴板内容
- get(Transferable, DataFlavor) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
-
获取剪贴板内容
- get(int) - Method in class cn.hutool.core.text.csv.CsvRow
-
- get(Object, int) - Static method in class cn.hutool.core.util.ArrayUtil
-
获取数组对象中指定index的值,支持负数,例如-1表示倒数第一个值
如果数组下标越界,返回null
- get(String, CharSequence, int) - Static method in class cn.hutool.core.util.ReUtil
-
获得匹配的字符串
- get(Pattern, CharSequence, int) - Static method in class cn.hutool.core.util.ReUtil
-
获得匹配的字符串,对应分组0表示整个匹配内容,1表示第一个括号分组内容,依次类推
- get(File, Charset, String) - Static method in class cn.hutool.core.util.ZipUtil
-
获取压缩包中的指定文件流
- get(ZipFile, String) - Static method in class cn.hutool.core.util.ZipUtil
-
获取压缩包中的指定文件流
- get(String, String, T) - Method in class cn.hutool.db.AbstractDb
-
根据某个字段(最好是唯一字段)查询单个记录
当有多条返回时,只显示查询到的第一条
- get(Entity) - Method in class cn.hutool.db.AbstractDb
-
根据条件实体查询单个记录,当有多条返回时,只显示查询到的第一条
- get(T) - Method in class cn.hutool.db.DaoTemplate
-
根据主键获取单个记录
- get(String, T) - Method in class cn.hutool.db.DaoTemplate
-
根据某个字段(最好是唯一字段)查询单个记录
当有多条返回时,只显示查询到的第一条
- get(Entity) - Method in class cn.hutool.db.DaoTemplate
-
根据条件实体查询单个记录,当有多条返回时,只显示查询到的第一条
- get() - Static method in class cn.hutool.db.ds.DSFactory
-
获得数据源
使用默认配置文件的无分组配置
- get(String) - Static method in class cn.hutool.db.ds.DSFactory
-
获得数据源
- get() - Static method in class cn.hutool.db.ds.GlobalDSFactory
-
- get(DataSource) - Method in enum cn.hutool.db.ThreadLocalConnection
-
获取数据源对应的数据库连接
- get(DataSource) - Method in class cn.hutool.db.ThreadLocalConnection.GroupedConnection
-
获取连接,如果获取的连接为空或者已被关闭,重新创建连接
- get(Class<?>, Class<?>, Converter) - Method in enum cn.hutool.extra.cglib.BeanCopierCache
-
获得类与转换器生成的key在BeanCopier
的Map中对应的元素
- get(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
-
通过别名获取Emoji
- get() - Static method in class cn.hutool.extra.expression.engine.ExpressionFactory
-
- get() - Static method in class cn.hutool.extra.pinyin.engine.PinyinFactory
-
获得单例的PinyinEngine
- get(String) - Method in enum cn.hutool.extra.ssh.JschSessionPool
-
获取Session,不存在返回null
- get(String, String) - Method in class cn.hutool.extra.ssh.Sftp
-
获取远程文件
- get() - Static method in class cn.hutool.extra.template.engine.TemplateFactory
-
根据用户引入的模板引擎jar,自动创建对应的模板引擎对象
获得的是单例的TemplateEngine
- get() - Static method in class cn.hutool.extra.tokenizer.engine.TokenizerFactory
-
根据用户引入的模板引擎jar,自动创建对应的分词引擎对象
获得的是单例的TokenizerEngine
- get(String) - Static method in enum cn.hutool.http.ContentType
-
从请求参数的body中判断请求的Content-Type类型,支持的类型有:
- get(URI) - Method in class cn.hutool.http.cookie.ThreadLocalCookieStore
-
- get(String) - Static method in class cn.hutool.http.HttpRequest
-
GET请求
- get(String, Charset) - Static method in class cn.hutool.http.HttpUtil
-
发送get请求
- get(String) - Static method in class cn.hutool.http.HttpUtil
-
发送get请求
- get(String, int) - Static method in class cn.hutool.http.HttpUtil
-
发送get请求
- get(String, Map<String, Object>) - Static method in class cn.hutool.http.HttpUtil
-
发送get请求
- get(String, Map<String, Object>, int) - Static method in class cn.hutool.http.HttpUtil
-
发送get请求
- get(int) - Method in class cn.hutool.json.JSONArray
-
- get(K, Class<T>) - Method in interface cn.hutool.json.JSONGetter
-
获取指定类型的对象
转换失败或抛出异常
- get(K, Class<T>, boolean) - Method in interface cn.hutool.json.JSONGetter
-
获取指定类型的对象
- get(Object) - Method in class cn.hutool.json.JSONObject
-
- get() - Static method in class cn.hutool.log.GlobalLogFactory
-
获取单例日志工厂类,如果不存在创建之
- get(Class<?>) - Static method in interface cn.hutool.log.Log
-
获得Log
- get(String) - Static method in interface cn.hutool.log.Log
-
获得Log
- get() - Static method in interface cn.hutool.log.Log
-
- get(String) - Static method in class cn.hutool.log.LogFactory
-
获得日志对象
- get(Class<?>) - Static method in class cn.hutool.log.LogFactory
-
获得日志对象
- get() - Static method in class cn.hutool.log.LogFactory
-
- get(Class<?>) - Static method in class cn.hutool.log.StaticLog
-
- get(String) - Static method in class cn.hutool.log.StaticLog
-
- get() - Static method in class cn.hutool.log.StaticLog
-
- get(String) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- get(String) - Method in class cn.hutool.script.JavaScriptEngine
-
- get(String) - Static method in class cn.hutool.setting.dialect.PropsUtil
-
获取当前环境下的配置文件
name可以为不包括扩展名的文件名(默认.properties),也可以是文件名全称
- get(String, String) - Method in class cn.hutool.setting.GroupedMap
-
获取分组对应的值,如果分组不存在或者值不存在则返回null
- get(Object) - Method in class cn.hutool.setting.GroupedMap
-
- get(String, String) - Method in class cn.hutool.setting.Setting
-
获取分组对应的值,如果分组不存在或者值不存在则返回null
- get(Object) - Method in class cn.hutool.setting.Setting
-
获取默认分组(空分组)中指定key对应的值
- get(String) - Static method in class cn.hutool.setting.SettingUtil
-
获取当前环境下的配置文件
name可以为不包括扩展名的文件名(默认.setting为结尾),也可以是文件名全称
- get(String, String) - Static method in class cn.hutool.system.SystemUtil
-
取得系统属性,如果因为Java安全的限制而失败,则将错误打在Log中,然后返回 defaultValue
- get(String, boolean) - Static method in class cn.hutool.system.SystemUtil
-
取得系统属性,如果因为Java安全的限制而失败,则将错误打在Log中,然后返回 null
- get(String) - Static method in class cn.hutool.system.SystemUtil
-
获得System属性
- getAbsolutePath(String, Class<?>) - Static method in class cn.hutool.core.io.FileUtil
-
获取绝对路径
此方法不会判定给定路径是否有效(文件或目录存在)
- getAbsolutePath(String) - Static method in class cn.hutool.core.io.FileUtil
-
获取绝对路径,相对于ClassPath的目录
如果给定就是绝对路径,则返回原路径,原路径把所有\替换为/
兼容Spring风格的路径表示,例如:classpath:config/example.setting也会被识别后转换
- getAbsolutePath(File) - Static method in class cn.hutool.core.io.FileUtil
-
获取标准的绝对路径
- getAbsolutePath() - Method in class cn.hutool.core.io.resource.ClassPathResource
-
获得绝对路径Path
对于不存在的资源,返回拼接后的绝对路径
- getAcceptedIssuers() - Method in class cn.hutool.core.net.DefaultTrustManager
-
- getAccount() - Method in enum cn.hutool.extra.mail.GlobalMailAccount
-
获得邮件帐户
- getActiveProfile() - Static method in class cn.hutool.extra.spring.SpringUtil
-
获取当前的环境配置,当有多个环境配置时,只获取第一个
- getActiveProfiles() - Static method in class cn.hutool.extra.spring.SpringUtil
-
获取当前的环境配置,无配置返回null
- getActualType(Type, TypeVariable<?>) - Static method in class cn.hutool.core.lang.reflect.ActualTypeMapperPool
-
获得泛型变量对应的泛型实际类型,如果此变量没有对应的实际类型,返回null
- getActualType(Type, Field) - Static method in class cn.hutool.core.util.TypeUtil
-
获得泛型字段对应的泛型实际类型,如果此变量没有对应的实际类型,返回null
- getActualType(Type, Type) - Static method in class cn.hutool.core.util.TypeUtil
-
获得泛型变量对应的泛型实际类型,如果此变量没有对应的实际类型,返回null
此方法可以处理:
- getActualType(Type, ParameterizedType) - Static method in class cn.hutool.core.util.TypeUtil
-
获得泛型变量对应的泛型实际类型,如果此变量没有对应的实际类型,返回null
此方法可以处理复杂的泛型化对象,类似于Map<User, Key<Long>>
- getActualTypeArguments() - Method in class cn.hutool.core.lang.ParameterizedTypeImpl
-
- getActualTypes(Type, Type...) - Static method in class cn.hutool.core.lang.reflect.ActualTypeMapperPool
-
获取指定泛型变量对应的真实类型
由于子类中泛型参数实现和父类(接口)中泛型定义位置是一一对应的,因此可以通过对应关系找到泛型实现类型
- getActualTypes(Type, Type...) - Static method in class cn.hutool.core.util.TypeUtil
-
获得泛型变量对应的泛型实际类型,如果此变量没有对应的实际类型,返回null
- getAddress() - Method in class cn.hutool.http.server.SimpleServer
-
获取服务器地址信息
- getAddress() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- getAddress() - Method in class cn.hutool.system.HostInfo
-
取得当前主机的地址。
- getAgeByIdCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
根据身份编号获取年龄,只支持15或18位身份证号码
- getAgeByIdCard(String, Date) - Static method in class cn.hutool.core.util.IdcardUtil
-
根据身份编号获取指定日期当时的年龄年龄,只支持15或18位身份证号码
- getAlgorithm() - Method in class cn.hutool.crypto.digest.HMac
-
获取算法
- getAlgorithm() - Method in class cn.hutool.crypto.digest.mac.BCHMacEngine
-
- getAlgorithm() - Method in class cn.hutool.crypto.digest.mac.DefaultHMacEngine
-
- getAlgorithm() - Method in interface cn.hutool.crypto.digest.mac.MacEngine
-
获取当前算法
- getAlgorithm() - Method in class cn.hutool.crypto.digest.otp.HOTP
-
获取HMAC算法
- getAlgorithmAfterWith(String) - Static method in class cn.hutool.crypto.KeyUtil
-
获取用于密钥生成的算法
获取XXXwithXXX算法的后半部分算法,如果为ECDSA或SM2,返回算法为EC
- getAlgorithmAfterWith(String) - Static method in class cn.hutool.crypto.SecureUtil
-
获取用于密钥生成的算法
获取XXXwithXXX算法的后半部分算法,如果为ECDSA或SM2,返回算法为EC
- getAlgorithmParameterSpec() - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
- getAllGroups(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
获得匹配的字符串匹配到的所有分组
- getAllGroups(Pattern, CharSequence, boolean) - Static method in class cn.hutool.core.util.ReUtil
-
获得匹配的字符串匹配到的所有分组
- getAllUtils() - Static method in class cn.hutool.Hutool
-
显示Hutool所有的工具类
- getAmount() - Method in class cn.hutool.core.math.Money
-
获取本货币对象代表的金额数。
- getAndRemove(String...) - Method in class cn.hutool.setting.Setting
-
获取并删除键值对,当指定键对应值非空时,返回并删除这个值,后边的键对应的值不再查找
- getAndRemoveStr(String...) - Method in class cn.hutool.setting.dialect.Props
-
获取并删除键值对,当指定键对应值非空时,返回并删除这个值,后边的键对应的值不再查找
- getAndRemoveStr(String...) - Method in class cn.hutool.setting.Setting
-
获取并删除键值对,当指定键对应值非空时,返回并删除这个值,后边的键对应的值不再查找
- getAnnotation(AnnotatedElement, Class<A>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
获取指定注解
- getAnnotation(Class<T>) - Method in class cn.hutool.core.annotation.CombinationAnnotationElement
-
- getAnnotations(AnnotatedElement, boolean) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
获取指定注解
- getAnnotations() - Method in class cn.hutool.core.annotation.CombinationAnnotationElement
-
- getAnnotationValue(AnnotatedElement, Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
获取指定注解默认值
如果无指定的属性方法返回null
- getAnnotationValue(AnnotatedElement, Class<? extends Annotation>, String) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
获取指定注解属性的值
如果无指定的属性方法返回null
- getAnnotationValueMap(AnnotatedElement, Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
获取指定注解中所有属性值
如果无指定的属性方法返回null
- getAny(Collection<T>, int...) - Static method in class cn.hutool.core.collection.CollUtil
-
获取集合中指定多个下标的元素值,下标可以为负数,例如-1表示最后一个元素
- getAny(Map<K, V>, K...) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map的部分key生成新的Map
- getAny(Object, int...) - Static method in class cn.hutool.core.util.ArrayUtil
-
获取数组中指定多个下标元素值,组成新数组
- getApplicationContext() - Static method in class cn.hutool.extra.spring.SpringUtil
-
获取applicationContext
- getArch() - Method in class cn.hutool.system.OsInfo
-
取得当前OS的架构(取自系统属性:os.arch
)。
- getArray() - Method in class cn.hutool.core.collection.ArrayIter
-
获得原始数组对象
- getArrayFormulaRange() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- getArrayParam(String) - Method in class cn.hutool.core.net.multipart.MultipartFormData
-
获得数组表单值
- getArrayType(Class<?>) - Static method in class cn.hutool.core.util.ArrayUtil
-
根据数组元素类型,获取数组的类型
方法是通过创建一个空数组从而获取其类型
- getAttributes(Path, boolean) - Static method in class cn.hutool.core.io.file.PathUtil
-
获取文件属性
- getAuthority() - Method in class cn.hutool.core.net.url.UrlBuilder
-
获得authority部分
- getAutoCommit() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- getBackColor() - Method in class cn.hutool.extra.qrcode.QrConfig
-
获取背景色
- getBean() - Method in class cn.hutool.core.bean.DynaBean
-
获得原始Bean
- getBean(Function<? super T, ? extends R>) - Method in class cn.hutool.core.bean.OptionalBean
-
取出一个可能为空的对象
- getBean(String) - Method in class cn.hutool.core.lang.Dict
-
获得特定类型值
- getBean(String) - Static method in class cn.hutool.extra.spring.SpringUtil
-
通过name获取 Bean
- getBean(Class<T>) - Static method in class cn.hutool.extra.spring.SpringUtil
-
通过class获取Bean
- getBean(String, Class<T>) - Static method in class cn.hutool.extra.spring.SpringUtil
-
通过name,以及Clazz返回指定的Bean
- getBean(TypeReference<T>) - Static method in class cn.hutool.extra.spring.SpringUtil
-
通过类型参考返回带泛型参数的Bean
- getBean(K, Class<T>) - Method in interface cn.hutool.json.JSONGetter
-
从JSON中直接获取Bean对象
先获取JSONObject对象,然后转为Bean对象
- getBeanClass() - Method in class cn.hutool.core.bean.DynaBean
-
获得Bean的类型
- getBeanDesc(Class<?>, Func0<BeanDesc>) - Method in enum cn.hutool.core.bean.BeanDescCache
-
- getBeanDesc(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
-
- getBeanNamesForType(Class<?>) - Static method in class cn.hutool.extra.spring.SpringUtil
-
获取指定类型对应的Bean名称,包括子类
- getBeansOfType(Class<T>) - Static method in class cn.hutool.extra.spring.SpringUtil
-
获取指定类型对应的所有Bean,包括子类
- getBeginIpStr(String, int) - Static method in class cn.hutool.core.net.Ipv4Util
-
根据 ip/掩码位 计算IP段的起始IP(字符串型)
- getBeginValue(Calendar, DateField) - Static method in class cn.hutool.core.date.CalendarUtil
-
获取指定日期字段的最小值,例如分钟的最小值是0
- getBeginValue(Calendar, int) - Static method in class cn.hutool.core.date.CalendarUtil
-
获取指定日期字段的最小值,例如分钟的最小值是0
- getBetweenMs() - Method in class cn.hutool.core.date.BetweenFormatter
-
获得 时长毫秒数
- getBigDecimal(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
-
获取BigDecimal型属性值
- getBigDecimal(K, BigDecimal) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
-
获取BigDecimal型属性值
若获得的值为不可见字符,使用默认值
- getBigDecimal(K, BigDecimal) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getBigDecimal(K, BigDecimal) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getBigDecimal(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
-
获取BigDecimal型属性值
无值或获取错误返回null
- getBigDecimal(String) - Method in class cn.hutool.core.lang.Dict
-
- getBigDecimal(String, BigDecimal) - Method in class cn.hutool.setting.dialect.Props
-
- getBigDecimal(String) - Method in class cn.hutool.setting.dialect.Props
-
- getBigDecimalByGroup(String, String) - Method in interface cn.hutool.core.getter.GroupedTypeGetter
-
获取BigDecimal型属性值
- getBigDecimalList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
-
获取BigDecimal型属性值列表
- getBigDecimals(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
-
获取BigDecimal型属性值数组
- getBigDecimals(String, BigDecimal[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
-
获取BigDecimal型属性值数组
- getBigInteger(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
-
获取BigInteger型属性值
- getBigInteger(K, BigInteger) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
-
获取BigInteger型属性值
若获得的值为不可见字符,使用默认值
- getBigInteger(K, BigInteger) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getBigInteger(K, BigInteger) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getBigInteger(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
-
获取BigInteger型属性值
无值或获取错误返回null
- getBigInteger(String) - Method in class cn.hutool.core.lang.Dict
-
- getBigInteger(String, BigInteger) - Method in class cn.hutool.setting.dialect.Props
-
- getBigInteger(String) - Method in class cn.hutool.setting.dialect.Props
-
- getBigIntegerByGroup(String, String) - Method in interface cn.hutool.core.getter.GroupedTypeGetter
-
获取BigInteger型属性值
- getBigIntegerList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
-
获取BigInteger型属性值列表
- getBigIntegers(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
-
获取BigInteger型属性值数组
- getBigIntegers(String, BigInteger[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
-
获取BigInteger型属性值数组
- getBigWriter() - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getBigWriter(int) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getBigWriter(String) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getBigWriter(File) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getBigWriter(String, String) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getBigWriter(File, String) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getBinaryStr(Number) - Static method in class cn.hutool.core.util.NumberUtil
-
获得数字对应的二进制字符串
- getBindings(int) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- getBindings(int) - Method in class cn.hutool.script.JavaScriptEngine
-
- getBirth(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
根据身份编号获取生日,只支持15或18位身份证号码
- getBirthByIdCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
根据身份编号获取生日,只支持15或18位身份证号码
- getBirthDate(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
从身份证号码中获取生日日期,只支持15或18位身份证号码
- getBirthDate() - Method in class cn.hutool.core.util.IdcardUtil.Idcard
-
获得生日日期
- getBlob(String) - Method in class cn.hutool.db.Entity
-
获得Blob类型结果
- getBody(ServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
获取请求体
调用该方法后,getParam方法将失效
- getBody() - Method in class cn.hutool.http.server.HttpServerRequest
-
- getBody(Charset) - Method in class cn.hutool.http.server.HttpServerRequest
-
获取请求体文本,可以是form表单、json、xml等任意内容
- getBodyBytes(ServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
获取请求体byte[]
调用该方法后,getParam方法将失效
- getBodyBytes() - Method in class cn.hutool.http.server.HttpServerRequest
-
获取body的bytes数组
- getBodyStream() - Method in class cn.hutool.http.server.HttpServerRequest
-
获取请求体的流,流中可以读取请求内容,包括请求表单数据或文件上传数据
- getBOMInputStream(File) - Static method in class cn.hutool.core.io.FileUtil
-
获得BOM输入流,用于处理带BOM头的文件
- getBOMReader(File) - Static method in class cn.hutool.core.io.FileUtil
-
读取带BOM头的文件为Reader
- getBool(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
-
获取boolean型属性值
- getBool(K, Boolean) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
-
获取boolean型属性值
若获得的值为不可见字符,使用默认值
- getBool(K, Boolean) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getBool(K, Boolean) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getBool(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
-
获取boolean型属性值
无值或获取错误返回null
- getBool(String) - Method in class cn.hutool.core.lang.Dict
-
- getBool(Map<?, ?>, Object) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为Bool
- getBool(Map<?, ?>, Object, Boolean) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为Bool
- getBool(String, String) - Method in class cn.hutool.setting.AbsSetting
-
获取波尔型属性值
- getBool(String, String, Boolean) - Method in class cn.hutool.setting.AbsSetting
-
获取波尔型型属性值
- getBool(String, Boolean) - Method in class cn.hutool.setting.dialect.Props
-
- getBool(String) - Method in class cn.hutool.setting.dialect.Props
-
- getBoolByGroup(String, String) - Method in interface cn.hutool.core.getter.GroupedTypeGetter
-
获取boolean型属性值
- getBoolean(String, boolean) - Static method in class cn.hutool.system.SystemUtil
-
获得boolean类型值
- getBooleanCellValue() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- getBoolList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
-
获取Boolean型属性值列表
- getBools(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
-
获取Boolean型属性值数组
- getBools(String, Boolean[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
-
获取Boolean型属性值数组
- getBrowser() - Method in class cn.hutool.http.useragent.UserAgent
-
获取浏览器类型
- getByGroup(String, String) - Method in class cn.hutool.setting.AbsSetting
-
获得指定分组的键对应值
- getByGroup(String, String) - Method in class cn.hutool.setting.Setting
-
- getByGroupWithLog(String, String) - Method in class cn.hutool.setting.AbsSetting
-
带有日志提示的get,如果没有定义指定的KEY,则打印debug日志
- getByName(String) - Method in class cn.hutool.core.text.csv.CsvRow
-
获取标题对应的字段内容
- getByPath(String) - Method in interface cn.hutool.json.JSON
-
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
- getByPath(String, Class<T>) - Method in interface cn.hutool.json.JSON
-
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
- getByPath(String) - Method in class cn.hutool.json.JSONArray
-
- getByPath(String, Class<T>) - Method in class cn.hutool.json.JSONArray
-
- getByPath(String) - Method in class cn.hutool.json.JSONObject
-
- getByPath(String, Class<T>) - Method in class cn.hutool.json.JSONObject
-
- getByPath(JSON, String) - Static method in class cn.hutool.json.JSONUtil
-
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
- getByTag(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
-
通过tag方式获取对应的所有Emoji表情
- getByte(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
-
获取byte型属性值
- getByte(K, Byte) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
-
获取byte型属性值
若获得的值为不可见字符,使用默认值
- getByte(K, Byte) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getByte(K, Byte) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getByte(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
-
获取byte型属性值
无值或获取错误返回null
- getByte(String) - Method in class cn.hutool.core.lang.Dict
-
- getByte(String, Byte) - Method in class cn.hutool.setting.dialect.Props
-
- getByte(String) - Method in class cn.hutool.setting.dialect.Props
-
- getByteByGroup(String, String) - Method in interface cn.hutool.core.getter.GroupedTypeGetter
-
获取byte型属性值
- getByteList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
-
获取Byte型属性值列表
- getBytes(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
-
获取Byte型属性值数组
- getBytes(String, Byte[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
-
获取Byte型属性值数组
- getBytes(String) - Method in class cn.hutool.core.lang.Dict
-
- getByXPath(String, Object, QName) - Static method in class cn.hutool.core.util.XmlUtil
-
通过XPath方式读取XML节点等信息
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
- getByXPath(String, Object, QName, NamespaceContext) - Static method in class cn.hutool.core.util.XmlUtil
-
通过XPath方式读取XML节点等信息
Xpath相关文章:
https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
https://www.ibm.com/developerworks/cn/xml/x-nmspccontext/
- getCachedFilesCount() - Method in class cn.hutool.cache.file.AbstractFileCache
-
- getCachedFormulaResultType() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- getCachedFormulaResultTypeEnum() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- getCaller() - Method in interface cn.hutool.core.lang.caller.Caller
-
获得调用者
- getCaller(int) - Method in interface cn.hutool.core.lang.caller.Caller
-
获得调用者,指定第几级调用者 调用者层级关系:
- getCaller() - Static method in class cn.hutool.core.lang.caller.CallerUtil
-
获得调用者
- getCaller(int) - Static method in class cn.hutool.core.lang.caller.CallerUtil
-
获得调用者,指定第几级调用者
调用者层级关系:
- getCaller() - Method in class cn.hutool.core.lang.caller.SecurityManagerCaller
-
- getCaller(int) - Method in class cn.hutool.core.lang.caller.SecurityManagerCaller
-
- getCaller() - Method in class cn.hutool.core.lang.caller.StackTraceCaller
-
- getCaller(int) - Method in class cn.hutool.core.lang.caller.StackTraceCaller
-
- getCallerCaller() - Method in interface cn.hutool.core.lang.caller.Caller
-
获得调用者的调用者
- getCallerCaller() - Static method in class cn.hutool.core.lang.caller.CallerUtil
-
获得调用者的调用者
- getCallerCaller() - Method in class cn.hutool.core.lang.caller.SecurityManagerCaller
-
- getCallerCaller() - Method in class cn.hutool.core.lang.caller.StackTraceCaller
-
- getCallerMethodName(boolean) - Static method in class cn.hutool.core.lang.caller.CallerUtil
-
获取调用此方法的方法名
- getCanonicalPath(File) - Static method in class cn.hutool.core.io.FileUtil
-
获取规范的绝对路径
- getCapacity() - Method in class cn.hutool.core.map.FixedLinkedHashMap
-
获取容量
- getCatalog() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- getCataLog(Connection) - Static method in class cn.hutool.db.meta.MetaUtil
-
获取catalog,获取失败返回null
- getCatalog() - Method in class cn.hutool.db.meta.Table
-
获取catalog
- getCausedBy(Throwable, Class<? extends Exception>...) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
获取由指定异常类引起的异常
- getCell(Row, int) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
- getCell(String) - Method in class cn.hutool.poi.excel.ExcelBase
-
获取指定坐标单元格,单元格不存在时返回null
- getCell(int, int) - Method in class cn.hutool.poi.excel.ExcelBase
-
获取指定坐标单元格,单元格不存在时返回null
- getCell(String, boolean) - Method in class cn.hutool.poi.excel.ExcelBase
-
获取指定坐标单元格,如果isCreateIfNotExist为false,则在单元格不存在时返回null
- getCell(int, int, boolean) - Method in class cn.hutool.poi.excel.ExcelBase
-
获取指定坐标单元格,如果isCreateIfNotExist为false,则在单元格不存在时返回null
- getCellComment() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- getCellFormula() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- getCellStyle() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- getCellStyle() - Method in class cn.hutool.poi.excel.ExcelWriter
-
获取单元格样式,获取样式后可自定义样式
- getCellStyle() - Method in class cn.hutool.poi.excel.StyleSet
-
获取常规单元格样式,获取后可以定义整体头部样式
- getCellStyleForDate() - Method in class cn.hutool.poi.excel.StyleSet
-
获取日期单元格样式,获取后可以定义整体头部样式
- getCellStyleForNumber() - Method in class cn.hutool.poi.excel.StyleSet
-
获取数字(带小数点)单元格样式,获取后可以定义整体头部样式
- getCellType() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- getCellTypeEnum() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- getCellValue(Cell) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
获取单元格值
- getCellValue(Cell, boolean) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
获取单元格值
- getCellValue(Cell, CellEditor) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
获取单元格值
- getCellValue(Cell, CellType, boolean) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
获取单元格值
- getCellValue(Cell, CellType, CellEditor) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
获取单元格值
如果单元格值为数字格式,则判断其格式中是否有小数部分,无则返回Long类型,否则返回Double类型
- getCent() - Method in class cn.hutool.core.math.Money
-
获取本货币对象代表的金额数。
- getCenterY(Graphics, int) - Static method in class cn.hutool.core.img.GraphicsUtil
-
获取文字居中高度的Y坐标(距离上边距距离)
此方法依赖FontMetrics,如果获取失败,默认为背景高度的1/3
- getCentFactor() - Method in class cn.hutool.core.math.Money
-
获取本货币币种的元/分换算比率。
- getCertificate(KeyStore, String) - Static method in class cn.hutool.crypto.KeyUtil
-
获得 Certification
- getCertificate(KeyStore, String) - Static method in class cn.hutool.crypto.SecureUtil
-
获得 Certification
- getCertificateFactory(String) - Static method in class cn.hutool.crypto.KeyUtil
-
- getChannel() - Method in class cn.hutool.socket.aio.AioServer
-
- getChannel() - Method in class cn.hutool.socket.aio.AioSession
-
- getChannel() - Method in class cn.hutool.socket.nio.NioClient
-
获取SocketChannel
- getChar(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
-
获取char型属性值
- getChar(K, Character) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
-
获取char型属性值
若获得的值为不可见字符,使用默认值
- getChar(K, Character) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getChar(K, Character) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getChar(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
-
获取char型属性值
无值或获取错误返回null
- getChar(String) - Method in class cn.hutool.core.lang.Dict
-
- getChar(Map<?, ?>, Object) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为Character
- getChar(Map<?, ?>, Object, Character) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为Character
- getChar(String, String) - Method in class cn.hutool.setting.AbsSetting
-
获取char类型属性值
- getChar(String, Character) - Method in class cn.hutool.setting.dialect.Props
-
- getChar(String) - Method in class cn.hutool.setting.dialect.Props
-
- getCharByGroup(String, String) - Method in interface cn.hutool.core.getter.GroupedTypeGetter
-
获取char型属性值
- getCharList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
-
获取Character型属性值列表
- getChars(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
-
获取Character型属性值数组
- getChars(String, Character[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
-
获取Character型属性值数组
- getChars(int, int, char[], int) - Method in class cn.hutool.core.text.StrBuilder
-
将指定段的字符列表写出到目标字符数组中
- getCharset() - Method in class cn.hutool.core.io.BOMInputStream
-
获取BOM头中的编码
- getCharset() - Method in class cn.hutool.core.io.file.FileWrapper
-
获得字符集编码
- getCharset() - Method in class cn.hutool.core.net.url.UrlBuilder
-
获取编码,用于URLEncode和URLDecode
- getCharset() - Method in class cn.hutool.extra.ftp.FtpConfig
-
- getCharset() - Method in class cn.hutool.extra.mail.MailAccount
-
获取字符集编码
- getCharset() - Method in class cn.hutool.extra.qrcode.QrConfig
-
获取编码
- getCharset() - Method in class cn.hutool.extra.template.TemplateConfig
-
获取编码
- getCharset() - Method in class cn.hutool.http.HttpConnection
-
获取字符集编码
从Http连接的头信息中获得字符集
从ContentType中获取
- getCharset(HttpURLConnection) - Static method in class cn.hutool.http.HttpUtil
-
从Http连接的头信息中获得字符集
从ContentType中获取
- getCharset(String) - Static method in class cn.hutool.http.HttpUtil
-
从Http连接的头信息中获得字符集
从ContentType中获取
- getCharset() - Method in class cn.hutool.http.server.HttpServerRequest
-
获取编码,获取失败默认使用UTF-8,获取规则如下:
- getCharsetName() - Method in class cn.hutool.http.HttpConnection
-
获得字符集编码
从Http连接的头信息中获得字符集
从ContentType中获取
- getCharsetStr() - Method in class cn.hutool.extra.template.TemplateConfig
-
获取编码
- getChildren() - Method in class cn.hutool.core.lang.tree.Tree
-
- getChildrenKey() - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
获取子点对应的名称
- getChineseDay() - Method in class cn.hutool.core.date.ChineseDate
-
获得农历日
- getChineseMonth() - Method in class cn.hutool.core.date.ChineseDate
-
获得农历月份(中文,例如二月,十二月,或者润一月)
- getChineseMonthName(boolean, int, boolean) - Static method in class cn.hutool.core.date.chinese.ChineseMonth
-
获得农历月称呼
当为传统表示时,表示为二月,腊月,或者润正月等
当为非传统表示时,二月,十二月,或者润一月等
- getChineseMonthName() - Method in class cn.hutool.core.date.ChineseDate
-
获得农历月称呼(中文,例如二月,腊月,或者润正月)
- getChineseYear() - Method in class cn.hutool.core.date.ChineseDate
-
获得农历年份
- getChineseZodiac() - Method in class cn.hutool.core.date.ChineseDate
-
获得年份生肖
- getChineseZodiac(int) - Static method in class cn.hutool.core.date.DateUtil
-
计算生肖,只计算1900年后出生的人
- getChineseZodiac(Date) - Static method in class cn.hutool.core.date.Zodiac
-
通过生日计算生肖,只计算1900年后出生的人
- getChineseZodiac(Calendar) - Static method in class cn.hutool.core.date.Zodiac
-
通过生日计算生肖,只计算1900年后出生的人
- getChineseZodiac(int) - Static method in class cn.hutool.core.date.Zodiac
-
计算生肖,只计算1900年后出生的人
- getCipher() - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
获得加密或解密器
- getCipher() - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
获得加密或解密器
- getCityCode() - Method in class cn.hutool.core.util.IdcardUtil.Idcard
-
获取市级编码
- getCityCodeByIdCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
根据身份编号获取市级编码,只支持15或18位身份证号码
- getClass(T) - Static method in class cn.hutool.core.util.ClassUtil
-
null
安全的获取对象类型
- getClass(Type) - Static method in class cn.hutool.core.util.TypeUtil
-
获得Type对应的原始类
- getClass(Field) - Static method in class cn.hutool.core.util.TypeUtil
-
获得Field对应的原始类
- getClasses(Object...) - Static method in class cn.hutool.core.util.ClassUtil
-
获得对象数组的类数组
- getClassLoader() - Method in class cn.hutool.core.io.resource.ClassPathResource
-
- getClassLoader() - Static method in class cn.hutool.core.util.ClassLoaderUtil
-
- getClassLoader() - Static method in class cn.hutool.core.util.ClassUtil
-
- getClassLoadingMXBean() - Static method in class cn.hutool.system.SystemUtil
-
返回Java虚拟机类加载系统相关属性
- getClassName(Object, boolean) - Static method in class cn.hutool.core.util.ClassUtil
-
获取类名
- getClassName(Class<?>, boolean) - Static method in class cn.hutool.core.util.ClassUtil
-
获取类名
类名并不包含“.class”这个扩展名
例如:ClassUtil这个类
- getClassPath() - Static method in class cn.hutool.core.util.ClassUtil
-
获得ClassPath,将编码后的中文路径解码为原字符
这个ClassPath路径会文件路径被标准化处理
- getClassPath(boolean) - Static method in class cn.hutool.core.util.ClassUtil
-
获得ClassPath,这个ClassPath路径会文件路径被标准化处理
- getClassPath() - Method in class cn.hutool.system.JavaRuntimeInfo
-
取得当前JRE的系统classpath(取自系统属性:java.class.path
)。
- getClassPathArray() - Method in class cn.hutool.system.JavaRuntimeInfo
-
取得当前JRE的系统classpath(取自系统属性:java.class.path
)。
- getClassPathResources() - Static method in class cn.hutool.core.util.ClassUtil
-
获得ClassPath,不解码路径中的特殊字符(例如空格和中文)
- getClassPathResources(boolean) - Static method in class cn.hutool.core.util.ClassUtil
-
获得ClassPath
- getClassPaths(String) - Static method in class cn.hutool.core.util.ClassUtil
-
获得ClassPath,不解码路径中的特殊字符(例如空格和中文)
- getClassPaths(String, boolean) - Static method in class cn.hutool.core.util.ClassUtil
-
获得ClassPath
- getClassPathTemplate(String, String) - Static method in class cn.hutool.extra.template.engine.beetl.BeetlUtil
-
Deprecated.
获得ClassPath模板
- getClassPathURL() - Static method in class cn.hutool.core.util.ClassUtil
-
获得ClassPath URL
- getClassVersion() - Method in class cn.hutool.system.JavaRuntimeInfo
-
取得当前JRE的class文件格式的版本(取自系统属性:java.class.version
)。
- getClient() - Method in class cn.hutool.extra.ftp.Ftp
-
获取FTPClient客户端对象
- getClient() - Method in class cn.hutool.extra.ssh.Sftp
-
获取SFTP通道客户端
- getClientInfo(String) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- getClientInfo() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- getClientIP(HttpServletRequest, String...) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
获取客户端IP
- getClientIP(String...) - Method in class cn.hutool.http.server.HttpServerRequest
-
获取客户端IP
- getClientIPByHeader(HttpServletRequest, String...) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
获取客户端IP
- getClientIPByHeader(String...) - Method in class cn.hutool.http.server.HttpServerRequest
-
获取客户端IP
- getClipboard() - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
-
获取系统剪贴板
- getClipher() - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
- getClob(String) - Method in class cn.hutool.db.Entity
-
获得Clob类型结果
- getCode() - Method in class cn.hutool.captcha.AbstractCaptcha
-
- getCode() - Method in interface cn.hutool.captcha.ICaptcha
-
获取验证码的文字内容
- getCollection(String, String) - Method in class cn.hutool.db.nosql.mongo.MongoDS
-
获得MongoDB中指定集合对象
- getColor(int) - Static method in class cn.hutool.core.img.ImgUtil
-
获取一个RGB值对应的颜色
- getColor(String) - Static method in class cn.hutool.core.img.ImgUtil
-
将颜色值转换成具体的颜色类型 汇集了常用的颜色集,支持以下几种形式:
- getColumn(String) - Method in class cn.hutool.db.meta.Table
-
获取某列信息
- getColumnCount() - Method in class cn.hutool.poi.excel.ExcelBase
-
获取第一行总列数,计算方法为:
- getColumnCount(int) - Method in class cn.hutool.poi.excel.ExcelBase
-
获取总列数,计算方法为:
- getColumnIndex() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- getColumnNames(ResultSet) - Static method in class cn.hutool.db.meta.MetaUtil
-
获得结果集的所有列名
- getColumnNames(DataSource, String) - Static method in class cn.hutool.db.meta.MetaUtil
-
获得表的所有列名
- getColumnNumber() - Method in exception cn.hutool.script.ScriptRuntimeException
-
Get the column number on which an error occurred.
- getColumns() - Method in class cn.hutool.db.meta.Table
-
获取所有字段元信息
- getComment() - Method in class cn.hutool.db.meta.Column
-
获取注释
- getComment() - Method in class cn.hutool.db.meta.Table
-
获取注释
- getCompilationMXBean() - Static method in class cn.hutool.system.SystemUtil
-
返回Java虚拟机编译系统相关属性
如果没有编译系统,则返回null
- getCompiler(ClassLoader) - Static method in class cn.hutool.core.compiler.CompilerUtil
-
- getComponentType(Object) - Static method in class cn.hutool.core.util.ArrayUtil
-
获取数组对象的元素类型
- getComponentType(Class<?>) - Static method in class cn.hutool.core.util.ArrayUtil
-
获取数组对象的元素类型
- getConfig() - Method in class cn.hutool.db.ds.pooled.PooledDataSource
-
- getConfig() - Method in class cn.hutool.json.JSONArray
-
- getConfig() - Method in interface cn.hutool.json.JSONGetter
-
获取JSON配置
- getConfig() - Method in class cn.hutool.json.JSONObject
-
- getConnection() - Method in class cn.hutool.db.AbstractDb
-
获得链接。根据实现不同,可以自定义获取连接的方式
- getConnection() - Method in class cn.hutool.db.Db
-
- getConnection() - Method in class cn.hutool.db.ds.DataSourceWrapper
-
- getConnection(String, String) - Method in class cn.hutool.db.ds.DataSourceWrapper
-
- getConnection() - Method in class cn.hutool.db.ds.pooled.PooledDataSource
-
从数据库连接池中获取数据库连接对象
- getConnection(String, String) - Method in class cn.hutool.db.ds.pooled.PooledDataSource
-
- getConnection(long) - Method in class cn.hutool.db.ds.pooled.PooledDataSource
-
获取连接对象
- getConnection() - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- getConnection(String, String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- getConnection() - Method in class cn.hutool.db.Session
-
- getConnection() - Method in class cn.hutool.db.sql.StatementWrapper
-
- getConnection() - Method in class cn.hutool.db.SqlRunner
-
Deprecated.
- getConnection() - Method in class cn.hutool.http.HttpRequest
-
- getConnectionTimeout() - Method in class cn.hutool.extra.ftp.FtpConfig
-
- getConnProps() - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- getConnProps() - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- getConstructor(Class<T>, Class<?>...) - Static method in class cn.hutool.core.util.ReflectUtil
-
查找类中的指定参数的构造方法,如果找到构造方法,会自动设置可访问为true
- getConstructors(Class<T>) - Static method in class cn.hutool.core.util.ReflectUtil
-
获得一个类中所有构造列表
- getConstructorsDirectly(Class<?>) - Static method in class cn.hutool.core.util.ReflectUtil
-
获得一个类中所有构造列表,直接反射获取,无缓存
- getContainsStr(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
查找指定字符串是否包含指定字符串列表中的任意一个字符串,如果包含返回找到的第一个字符串
- getContainsStrIgnoreCase(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
查找指定字符串是否包含指定字符串列表中的任意一个字符串,如果包含返回找到的第一个字符串
忽略大小写
- getContent(String, String, VelocityContext, String) - Static method in class cn.hutool.extra.template.engine.velocity.VelocityUtil
-
Deprecated.
获得指定模板填充后的内容
- getContent(VelocityEngine, String, VelocityContext) - Static method in class cn.hutool.extra.template.engine.velocity.VelocityUtil
-
Deprecated.
获得指定模板填充后的内容
- getContent(String, VelocityContext) - Static method in class cn.hutool.extra.template.engine.velocity.VelocityUtil
-
Deprecated.
获得指定模板填充后的内容,使用默认引擎
- getContentDisposition() - Method in class cn.hutool.core.net.multipart.UploadFileHeader
-
Returns content disposition.
- getContentLength(URL) - Static method in class cn.hutool.core.util.URLUtil
-
获取指定URL对应资源的内容长度,对于Http,其长度使用Content-Length头决定。
- getContentType() - Method in class cn.hutool.core.net.multipart.UploadFileHeader
-
Returns uploaded content type.
- getContentType() - Static method in class cn.hutool.http.body.MultipartBody
-
获取Multipart的Content-Type类型
- getContentType() - Method in class cn.hutool.http.server.HttpServerRequest
-
获取Content-Type头信息
- getContentTypeByRequestBody(String) - Static method in class cn.hutool.http.HttpUtil
-
从请求参数的body中判断请求的Content-Type类型,支持的类型有:
- getContext() - Method in class cn.hutool.script.FullSupportScriptEngine
-
- getContext() - Method in class cn.hutool.script.JavaScriptEngine
-
- getContextClassLoader() - Static method in class cn.hutool.core.util.ClassLoaderUtil
-
- getContextClassLoader() - Static method in class cn.hutool.core.util.ClassUtil
-
- getConverter(Type, boolean) - Method in class cn.hutool.core.convert.ConverterRegistry
-
获得转换器
- getCookie(HttpServletRequest, String) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
获得指定的Cookie
- getCookie(String) - Method in class cn.hutool.http.HttpResponse
-
获取Cookie
- getCookie(String) - Method in class cn.hutool.http.server.HttpServerRequest
-
获得指定Cookie名对应的HttpCookie对象
- getCookieManager() - Static method in class cn.hutool.http.cookie.GlobalCookieManager
-
- getCookieManager() - Static method in class cn.hutool.http.HttpGlobalConfig
-
获取Cookie管理器,用于自定义Cookie管理
- getCookieManager() - Static method in class cn.hutool.http.HttpRequest
-
获取Cookie管理器,用于自定义Cookie管理
- getCookieMap() - Method in class cn.hutool.http.server.HttpServerRequest
-
获得Cookie信息Map,键为Cookie名,值为HttpCookie对象
- getCookies(HttpConnection) - Static method in class cn.hutool.http.cookie.GlobalCookieManager
-
获取指定域名下所有Cookie信息
- getCookies() - Method in class cn.hutool.http.cookie.ThreadLocalCookieStore
-
- getCookies() - Method in class cn.hutool.http.HttpResponse
-
获取Cookie
- getCookies() - Method in class cn.hutool.http.server.HttpServerRequest
-
获得Cookie信息列表
- getCookiesStr() - Method in class cn.hutool.http.server.HttpServerRequest
-
获得Cookie信息字符串
- getCookieStore() - Method in class cn.hutool.http.cookie.ThreadLocalCookieStore
-
获取本线程下的CookieStore
- getCookieStr() - Method in class cn.hutool.http.HttpResponse
-
获取本次请求服务器返回的Cookie信息
- getCookieValue(String) - Method in class cn.hutool.http.HttpResponse
-
获取Cookie值
- getCopyFilter() - Method in class cn.hutool.core.lang.copier.SrcToDestCopier
-
获得过滤器
- getCountry() - Method in class cn.hutool.system.UserInfo
-
取得当前登录用户的国家或区域设置(取自系统属性:JDK1.4 user.country
或JDK1.2 user.region
)。
- getCpuInfo() - Static method in class cn.hutool.system.oshi.OshiUtil
-
获取系统CPU 系统使用率、用户使用率、利用率等等 相关信息
- getCpuInfo(long) - Static method in class cn.hutool.system.oshi.OshiUtil
-
获取系统CPU 系统使用率、用户使用率、利用率等等 相关信息
- getCpuModel() - Method in class cn.hutool.system.oshi.CpuInfo
-
- getCpuNum() - Method in class cn.hutool.system.oshi.CpuInfo
-
- getCronTask() - Method in class cn.hutool.cron.TaskExecutor
-
获得原始任务对象
- getCurrency() - Method in class cn.hutool.core.math.Money
-
获取本货币对象代表的币种。
- getCurrentDir() - Method in class cn.hutool.system.UserInfo
-
取得当前目录(取自系统属性:user.dir
)。
- getCurrentDSFactory(Setting) - Static method in class cn.hutool.db.ds.DSFactory
-
- getCurrentLogFactory() - Static method in class cn.hutool.log.LogFactory
-
- getCurrentPID() - Static method in class cn.hutool.system.SystemUtil
-
获取当前进程 PID
- getCurrentRow() - Method in class cn.hutool.poi.excel.ExcelWriter
-
获得当前行
- getCustomConverter(Type) - Method in class cn.hutool.core.convert.ConverterRegistry
-
获得自定义转换器
- getCustomEngine() - Method in class cn.hutool.extra.template.TemplateConfig
-
获取自定义引擎,null表示系统自动判断
- getCyclical() - Method in class cn.hutool.core.date.ChineseDate
-
获得年的天干地支
- getCyclicalYMD() - Method in class cn.hutool.core.date.ChineseDate
-
干支纪年信息
- getD() - Method in class cn.hutool.crypto.asymmetric.SM2
-
获得私钥D值(编码后的私钥)
- getDataCenterId(long) - Method in class cn.hutool.core.lang.Snowflake
-
根据Snowflake的ID,获取数据中心id
- getDataSource(String) - Method in class cn.hutool.db.ds.AbstractDSFactory
-
- getDataSource() - Method in class cn.hutool.db.ds.DSFactory
-
获得默认数据源
- getDataSource(String) - Method in class cn.hutool.db.ds.DSFactory
-
获得分组对应数据源
- getDataSource(String) - Static method in class cn.hutool.db.ds.pooled.PooledDataSource
-
获得一个数据源
- getDataSource() - Static method in class cn.hutool.db.ds.pooled.PooledDataSource
-
获得一个数据源,使用空分组
- getDataSource(String) - Static method in class cn.hutool.db.ds.simple.SimpleDataSource
-
获得一个数据源
- getDataSource() - Static method in class cn.hutool.db.ds.simple.SimpleDataSource
-
获得一个数据源,无分组
- getDataUri(String, String, String) - Static method in class cn.hutool.core.util.URLUtil
-
Data URI Scheme封装。data URI scheme 允许我们使用内联(inline-code)的方式在网页中包含数据,
目的是将一些小的数据,直接嵌入到网页中,从而不用再从外部文件载入。常用于将图片嵌入网页。
- getDataUri(String, Charset, String, String) - Static method in class cn.hutool.core.util.URLUtil
-
Data URI Scheme封装。data URI scheme 允许我们使用内联(inline-code)的方式在网页中包含数据,
目的是将一些小的数据,直接嵌入到网页中,从而不用再从外部文件载入。常用于将图片嵌入网页。
- getDataUriBase64(String, String) - Static method in class cn.hutool.core.util.URLUtil
-
Data URI Scheme封装,数据格式为Base64。data URI scheme 允许我们使用内联(inline-code)的方式在网页中包含数据,
目的是将一些小的数据,直接嵌入到网页中,从而不用再从外部文件载入。常用于将图片嵌入网页。
- getDataValue(CellDataType, String, SharedStringsTable, String) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
-
根据数据类型获取数据
- getDate(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
-
获取Date类型值
- getDate(K, Date) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
-
获取Date类型值
- getDate(K, Date) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getDate(K, Date) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getDate(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
-
获取Date型属性值
无值或获取错误返回null
- getDate(String) - Method in class cn.hutool.core.lang.Dict
-
- getDate(Map<?, ?>, Object) - Static method in class cn.hutool.core.map.MapUtil
-
- getDate(Map<?, ?>, Object, Date) - Static method in class cn.hutool.core.map.MapUtil
-
- getDate(String) - Method in class cn.hutool.db.Entity
-
- getDate(String, Date) - Method in class cn.hutool.setting.dialect.Props
-
- getDate(String) - Method in class cn.hutool.setting.dialect.Props
-
- getDateCellValue() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- getDateFormat() - Method in class cn.hutool.json.JSONConfig
-
日期格式,null表示默认的时间戳
- getDateInstance(int) - Static method in class cn.hutool.core.date.format.FastDateFormat
-
获得 FastDateFormat 实例
支持缓存
- getDateInstance(int, Locale) - Static method in class cn.hutool.core.date.format.FastDateFormat
-
获得 FastDateFormat 实例
支持缓存
- getDateInstance(int, TimeZone) - Static method in class cn.hutool.core.date.format.FastDateFormat
-
获得 FastDateFormat 实例
支持缓存
- getDateInstance(int, TimeZone, Locale) - Static method in class cn.hutool.core.date.format.FastDateFormat
-
获得 FastDateFormat 实例
支持缓存
- getDateTimeInstance(int, int) - Static method in class cn.hutool.core.date.format.FastDateFormat
-
获得 FastDateFormat 实例
支持缓存
- getDateTimeInstance(int, int, Locale) - Static method in class cn.hutool.core.date.format.FastDateFormat
-
获得 FastDateFormat 实例
支持缓存
- getDateTimeInstance(int, int, TimeZone) - Static method in class cn.hutool.core.date.format.FastDateFormat
-
获得 FastDateFormat 实例
支持缓存
- getDateTimeInstance(int, int, TimeZone, Locale) - Static method in class cn.hutool.core.date.format.FastDateFormat
-
获得 FastDateFormat 实例
支持缓存
- getDateValue(String) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
-
获取日期
- getDateValue(double) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
-
获取日期
- getDay() - Method in class cn.hutool.core.date.ChineseDate
-
获取农历的日,从1开始计数
- getDayByIdCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
根据身份编号获取生日天,只支持15或18位身份证号码
- getDb(String) - Method in class cn.hutool.db.nosql.mongo.MongoDS
-
获得DB
- getDbConfig(String) - Method in class cn.hutool.db.ds.pooled.DbSetting
-
获得数据库连接信息
- getDeclaredAnnotations() - Method in class cn.hutool.core.annotation.CombinationAnnotationElement
-
- getDeclaredField(Class<?>, String) - Static method in class cn.hutool.core.util.ClassUtil
-
查找指定类中的所有字段(包括非public字段), 字段不存在则返回null
- getDeclaredFields(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
查找指定类中的所有字段(包括非public字段)
- getDeclaredMethod(Class<?>, String, Class<?>...) - Static method in class cn.hutool.core.util.ClassUtil
-
查找指定类中的所有方法(包括非public方法),也包括父类和Object类的方法 找不到方法会返回null
- getDeclaredMethodNames(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
获得指定类中的Public方法名
去重重载的方法
- getDeclaredMethodOfObj(Object, String, Object...) - Static method in class cn.hutool.core.util.ClassUtil
-
查找指定对象中的所有方法(包括非public方法),也包括父对象和Object类的方法
- getDeclaredMethods(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
获得声明的所有方法,包括本类及其父类和接口的所有方法和Object类的方法
- getDecodedPath(URL) - Static method in class cn.hutool.core.util.URLUtil
-
从URL对象中获取不被编码的路径Path
对于本地路径,URL对象的getPath方法对于包含中文或空格时会被编码,导致本读路径读取错误。
此方法将URL转为URI后获取路径用于解决路径被编码的问题
- getDecryptBlockSize() - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
获取解密块大小
- getDeep() - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
获取递归深度
- getDefaultCharset() - Method in class cn.hutool.core.io.BOMInputStream
-
获取默认编码
- getDefaultCipherSuites() - Method in class cn.hutool.http.ssl.CustomProtocolsSSLFactory
-
- getDefaultConverter(Type) - Method in class cn.hutool.core.convert.ConverterRegistry
-
获得默认转换器
- getDefaultValue(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
获取指定类型分的默认值
默认值规则为:
- getDefaultValues(Class<?>...) - Static method in class cn.hutool.core.util.ClassUtil
-
获得默认值列表
- getDelay(int) - Method in class cn.hutool.core.img.gif.GifDecoder
-
Gets display duration for specified frame.
- getDeserializer(Type) - Static method in class cn.hutool.json.serialize.GlobalSerializeMapping
-
获取自定义的反序列化器,如果未定义返回null
- getDest() - Method in class cn.hutool.core.lang.copier.SrcToDestCopier
-
获得目标
- getDialect(DataSource) - Static method in class cn.hutool.db.dialect.DialectFactory
-
获取共享方言
- getDialect() - Method in class cn.hutool.db.DialectRunner
-
- getDigest() - Method in class cn.hutool.crypto.digest.Digester
-
- getDigestLength() - Method in class cn.hutool.crypto.digest.Digester
-
获取散列长度,0表示不支持此方法
- getDigit() - Method in class cn.hutool.db.meta.Column
-
获取小数位数
- getDimension(FontMetrics, String) - Static method in class cn.hutool.core.img.FontUtil
-
获得字体对应字符串的长宽信息
- getDirection() - Method in class cn.hutool.db.sql.Order
-
- getDiskStores() - Static method in class cn.hutool.system.oshi.OshiUtil
-
获取磁盘相关信息,可能有多个磁盘(包括可移动磁盘等)
- getDisposition(String, Charset) - Method in class cn.hutool.poi.excel.ExcelWriter
-
获取Content-Disposition头对应的值,可以通过调用以下方法快速设置下载Excel的头信息:
- getDoc() - Method in class cn.hutool.poi.word.Word07Writer
-
获取XWPFDocument
- getDouble(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
-
获取double型属性值
- getDouble(K, Double) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
-
获取double型属性值
若获得的值为不可见字符,使用默认值
- getDouble(K, Double) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getDouble(K, Double) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getDouble(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
-
获取double型属性值
无值或获取错误返回null
- getDouble(String) - Method in class cn.hutool.core.lang.Dict
-
- getDouble(Map<?, ?>, Object) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为Double
- getDouble(Map<?, ?>, Object, Double) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为Double
- getDouble(String, String) - Method in class cn.hutool.setting.AbsSetting
-
获取double类型属性值
- getDouble(String, String, Double) - Method in class cn.hutool.setting.AbsSetting
-
获取double类型属性值
- getDouble(String, Double) - Method in class cn.hutool.setting.dialect.Props
-
- getDouble(String) - Method in class cn.hutool.setting.dialect.Props
-
- getDoubleByGroup(String, String) - Method in interface cn.hutool.core.getter.GroupedTypeGetter
-
获取double型属性值
- getDoubleList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
-
获取Double型属性值列表
- getDoubles(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
-
获取Double型属性值数组
- getDoubles(String, Double[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
-
获取Double型属性值数组
- getDriver() - Method in class cn.hutool.db.ds.DataSourceWrapper
-
获取驱动名
- getDriver() - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- getDriver() - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- getDs() - Static method in class cn.hutool.db.DbUtil
-
获得默认数据源
- getDs(String) - Static method in class cn.hutool.db.DbUtil
-
获取指定分组的数据源
- getDS(String, int) - Static method in class cn.hutool.db.nosql.mongo.MongoFactory
-
获取MongoDB数据源
- getDS(String...) - Static method in class cn.hutool.db.nosql.mongo.MongoFactory
-
获取MongoDB数据源
多个分组名对应的连接组成集群
- getDS(Collection<String>) - Static method in class cn.hutool.db.nosql.mongo.MongoFactory
-
获取MongoDB数据源
- getDS(Setting, String...) - Static method in class cn.hutool.db.nosql.mongo.MongoFactory
-
获取MongoDB数据源
- getDS(Setting, Collection<String>) - Static method in class cn.hutool.db.nosql.mongo.MongoFactory
-
获取MongoDB数据源
- getDsktop() - Static method in class cn.hutool.core.swing.DesktopUtil
-
- getElement(Element, String) - Static method in class cn.hutool.core.util.XmlUtil
-
根据节点名获得第一个子节点
- getElementByXPath(String, Object) - Static method in class cn.hutool.core.util.XmlUtil
-
通过XPath方式读取XML节点等信息
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
- getElements(Element, String) - Static method in class cn.hutool.core.util.XmlUtil
-
根据节点名获得子节点列表
- getElementType(Iterable<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
- getElementType(Iterator<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
- getElementType(Iterable<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
获得
Iterable
对象的元素类型(通过第一个非空元素判断)
注意,此方法至少会调用多次next方法
- getElementType(Iterator<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
获得
Iterator
对象的元素类型(通过第一个非空元素判断)
注意,此方法至少会调用多次next方法
- getEnclosingClass(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
获得外围类
返回定义此类或匿名类所在的类,如果类本身是在包中定义的,返回null
- getEncryptBlockSize() - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
获取加密块大小
- getEnd(int, int) - Static method in class cn.hutool.core.util.PageUtil
-
将页数和每页条目数转换为结束位置
此方法用于不包括结束位置的分页方法
例如:
- getEndIndex() - Method in class cn.hutool.core.lang.DefaultSegment
-
- getEndIndex() - Method in interface cn.hutool.core.lang.Segment
-
获取结束位置
- getEndIndex() - Method in class cn.hutool.db.Page
-
- getEndIpStr(String, int) - Static method in class cn.hutool.core.net.Ipv4Util
-
根据 ip/掩码位 计算IP段的终止IP(字符串型)
- getEndOffset() - Method in class cn.hutool.extra.tokenizer.engine.analysis.AnalysisWord
-
- getEndOffset() - Method in class cn.hutool.extra.tokenizer.engine.ansj.AnsjWord
-
- getEndOffset() - Method in class cn.hutool.extra.tokenizer.engine.hanlp.HanLPWord
-
- getEndOffset() - Method in class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerWord
-
- getEndOffset() - Method in class cn.hutool.extra.tokenizer.engine.jcseg.JcsegWord
-
- getEndOffset() - Method in class cn.hutool.extra.tokenizer.engine.jieba.JiebaWord
-
- getEndOffset() - Method in class cn.hutool.extra.tokenizer.engine.mmseg.MmsegWord
-
- getEndOffset() - Method in class cn.hutool.extra.tokenizer.engine.mynlp.MynlpWord
-
- getEndOffset() - Method in class cn.hutool.extra.tokenizer.engine.word.WordWord
-
- getEndOffset() - Method in interface cn.hutool.extra.tokenizer.Word
-
获取本词的结束位置
- getEndorsedDirs() - Method in class cn.hutool.system.JavaRuntimeInfo
-
取得当前JRE的endorsed目录列表(取自系统属性:java.endorsed.dirs
)。
- getEndPosition() - Method in class cn.hutool.db.Page
-
- getEndValue(Calendar, DateField) - Static method in class cn.hutool.core.date.CalendarUtil
-
获取指定日期字段的最大值,例如分钟的最大值是59
- getEndValue(Calendar, int) - Static method in class cn.hutool.core.date.CalendarUtil
-
获取指定日期字段的最大值,例如分钟的最大值是59
- getEngine() - Method in class cn.hutool.extra.expression.engine.aviator.AviatorEngine
-
获取AviatorEvaluatorInstance
- getEngine() - Method in class cn.hutool.extra.expression.engine.jexl.JexlEngine
-
获取JexlEngine
- getEngine() - Static method in class cn.hutool.extra.expression.ExpressionUtil
-
获得全局单例的表达式引擎
- getEngine() - Static method in class cn.hutool.extra.pinyin.PinyinUtil
-
获得全局单例的拼音引擎
- getEngine() - Method in class cn.hutool.http.useragent.UserAgent
-
获取引擎类型
- getEngineVersion() - Method in class cn.hutool.http.useragent.UserAgent
-
获取引擎版本
- getEnum(Class<E>, K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
-
获得Enum类型的值
- getEnum(Class<E>, K, E) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
-
获得Enum类型的值
- getEnum(Class<E>, K, E) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getEnum(Class<E>, K, E) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getEnum(Class<E>, K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
-
获取Enum型属性值
无值或获取错误返回null
- getEnum(Class<E>, String) - Method in class cn.hutool.core.lang.Dict
-
- getEnum(Class<E>, String, E) - Method in class cn.hutool.setting.dialect.Props
-
- getEnum(Class<E>, String) - Method in class cn.hutool.setting.dialect.Props
-
- getEnumAt(Class<E>, int) - Static method in class cn.hutool.core.util.EnumUtil
-
- getEnumMap(Class<E>) - Static method in class cn.hutool.core.util.EnumUtil
-
获取枚举字符串值和枚举对象的Map对应,使用LinkedHashMap保证有序
结果中键为枚举名,值为枚举对象
- getErrorCellValue() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- getErrorCorrection() - Method in class cn.hutool.extra.qrcode.QrConfig
-
获取纠错级别
- getErrorMessages() - Method in class cn.hutool.extra.validation.BeanValidationResult
-
获取错误信息列表
- getErrorResult(Process) - Static method in class cn.hutool.core.util.RuntimeUtil
-
获取命令执行异常结果,使用系统默认编码,,获取后销毁进程
- getErrorResult(Process, Charset) - Static method in class cn.hutool.core.util.RuntimeUtil
-
获取命令执行异常结果,获取后销毁进程
- getErrorStream() - Method in class cn.hutool.http.HttpConnection
-
当返回错误代码时,获得错误内容流
- getExecutor() - Static method in class cn.hutool.core.thread.GlobalThreadPool
-
- getExecutors() - Method in class cn.hutool.cron.TaskExecutorManager
-
获取所有正在执行的任务调度执行器
- getExtDirs() - Method in class cn.hutool.system.JavaRuntimeInfo
-
取得当前JRE的扩展目录列表(取自系统属性:java.ext.dirs
)。
- getExtra() - Method in class cn.hutool.core.lang.tree.TreeNode
-
获取扩展字段
- getExtractor(Workbook) - Static method in class cn.hutool.poi.excel.ExcelExtractorUtil
-
获取 ExcelExtractor
对象
- getExtractor() - Method in class cn.hutool.poi.excel.ExcelReader
-
获取 ExcelExtractor
对象
- getFactory() - Method in class cn.hutool.script.FullSupportScriptEngine
-
- getFactory() - Method in class cn.hutool.script.JavaScriptEngine
-
- getFalsePositiveProbability() - Method in class cn.hutool.bloomfilter.BitSetBloomFilter
-
- getFestivals(int, int, int) - Static method in class cn.hutool.core.date.chinese.LunarFestival
-
获得节日列表
- getFestivals(int, int) - Static method in class cn.hutool.core.date.chinese.LunarFestival
-
获得节日列表,此方法无法判断月是否为大月或小月
- getFestivals() - Method in class cn.hutool.core.date.ChineseDate
-
获得节日
- getFetchDirection() - Method in class cn.hutool.db.sql.StatementWrapper
-
- getFetchSize() - Method in class cn.hutool.db.sql.StatementWrapper
-
- getField(String) - Method in class cn.hutool.core.bean.BeanDesc
-
获得字段名对应的字段对象,如果不存在返回null
- getField() - Method in class cn.hutool.core.bean.PropDesc
-
获取字段
- getField(DateField) - Method in class cn.hutool.core.date.DateTime
-
获得日期的某个部分
例如获得年的部分,则使用 getField(DatePart.YEAR)
- getField(int) - Method in class cn.hutool.core.date.DateTime
-
获得日期的某个部分
例如获得年的部分,则使用 getField(Calendar.YEAR)
- getField(Class<?>, String) - Static method in class cn.hutool.core.util.ReflectUtil
-
查找指定类中的指定name的字段(包括非public字段),也包括父类和Object类的字段, 字段不存在则返回null
- getField() - Method in class cn.hutool.db.sql.Condition
-
- getField() - Method in class cn.hutool.db.sql.Order
-
- getFieldArray() - Method in class cn.hutool.db.sql.SqlBuilder
-
获得插入或更新的数据库字段列表
- getFieldClass() - Method in class cn.hutool.core.bean.PropDesc
-
获得字段类型
先获取字段的类型,如果字段不存在,则获取Getter方法的返回类型,否则获取Setter的第一个参数类型
- getFieldCount() - Method in class cn.hutool.core.text.csv.CsvRow
-
获取字段格式
- getFieldMap() - Method in class cn.hutool.core.text.csv.CsvRow
-
获取标题与字段值对应的Map
- getFieldMap(Class<?>) - Static method in class cn.hutool.core.util.ReflectUtil
-
获取指定类中字段名和字段对应的有序Map,包括其父类中的字段
如果子类与父类中存在同名字段,则这两个字段同时存在,子类字段在前,父类字段在后。
- getFieldName() - Method in class cn.hutool.core.bean.PropDesc
-
获取字段名,如果存在Alias注解,读取注解的值作为名称
- getFieldName(Field) - Static method in class cn.hutool.core.util.ReflectUtil
-
获取字段名,如果存在
Alias
注解,读取注解的值作为名称
- getFieldNames(Class<? extends Enum<?>>) - Static method in class cn.hutool.core.util.EnumUtil
-
获得枚举类中所有的字段名
除用户自定义的字段名,也包括“name”字段,例如:
- getFieldNames() - Method in class cn.hutool.db.Entity
-
- getFields(Class<?>) - Static method in class cn.hutool.core.util.ReflectUtil
-
获得一个类中所有字段列表,包括其父类中的字段
如果子类与父类中存在同名字段,则这两个字段同时存在,子类字段在前,父类字段在后。
- getFields() - Method in class cn.hutool.db.sql.Query
-
获得查询的字段名列表
- getFields() - Method in class cn.hutool.db.sql.SqlBuilder
-
获得插入或更新的数据库字段列表
- getFieldsDirectly(Class<?>, boolean) - Static method in class cn.hutool.core.util.ReflectUtil
-
获得一个类中所有字段列表,直接反射获取,无缓存
如果子类与父类中存在同名字段,则这两个字段同时存在,子类字段在前,父类字段在后。
- getFieldsValue(Object) - Static method in class cn.hutool.core.util.ReflectUtil
-
获取所有字段的值
- getFieldType() - Method in class cn.hutool.core.bean.PropDesc
-
获得字段类型
先获取字段的类型,如果字段不存在,则获取Getter方法的返回类型,否则获取Setter的第一个参数类型
- getFieldType(Class<?>, String) - Static method in class cn.hutool.core.util.TypeUtil
-
获得字段的泛型类型
- getFieldValue(Object, String) - Static method in class cn.hutool.core.bean.BeanUtil
-
获得字段值,通过反射直接获得字段值,并不调用getXXX方法
对象同样支持Map类型,fieldNameOrIndex即为key
Map: fieldNameOrIndex需为key,获取对应value
Collection: fieldNameOrIndex当为数字,返回index对应值,非数字遍历集合返回子bean对应name值
Array: fieldNameOrIndex当为数字,返回index对应值,非数字遍历数组返回子bean对应name值
- getFieldValue(Object, String) - Static method in class cn.hutool.core.util.ReflectUtil
-
获取字段值
- getFieldValue(Object, Field) - Static method in class cn.hutool.core.util.ReflectUtil
-
获取字段值
- getFieldValues(Iterable<?>, String) - Static method in class cn.hutool.core.collection.CollUtil
-
获取给定Bean列表中指定字段名对应字段值的列表
列表元素支持Bean与Map
- getFieldValues(Iterable<?>, String, boolean) - Static method in class cn.hutool.core.collection.CollUtil
-
获取给定Bean列表中指定字段名对应字段值的列表
列表元素支持Bean与Map
- getFieldValues(Iterable<?>, String, Class<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
获取给定Bean列表中指定字段名对应字段值的列表
列表元素支持Bean与Map
- getFieldValues(Class<? extends Enum<?>>, String) - Static method in class cn.hutool.core.util.EnumUtil
-
获得枚举类中各枚举对象下指定字段的值
- getFile() - Method in class cn.hutool.core.io.file.FileWrapper
-
获得文件
- getFile() - Method in class cn.hutool.core.io.resource.FileResource
-
获取文件
- getFile() - Method in class cn.hutool.core.io.resource.UrlResource
-
获得File
- getFile(String) - Method in class cn.hutool.core.net.multipart.MultipartFormData
-
获取上传的文件
- getFileBytes(String) - Method in class cn.hutool.cache.file.AbstractFileCache
-
获得缓存过的文件bytes
- getFileBytes(File) - Method in class cn.hutool.cache.file.AbstractFileCache
-
获得缓存过的文件bytes
- getFileContent() - Method in class cn.hutool.core.net.multipart.UploadFile
-
- getFileExts() - Method in class cn.hutool.core.net.multipart.UploadSetting
-
- getFileInputStream() - Method in class cn.hutool.core.net.multipart.UploadFile
-
- getFileList(String) - Method in class cn.hutool.core.net.multipart.MultipartFormData
-
获得某个属性名的所有文件
当表单中两个文件使用同一个name的时候
- getFileListValueMap() - Method in class cn.hutool.core.net.multipart.MultipartFormData
-
获取文件映射
- getFileManager() - Static method in class cn.hutool.core.compiler.CompilerUtil
-
- getFileManager(DiagnosticListener<? super JavaFileObject>) - Static method in class cn.hutool.core.compiler.CompilerUtil
-
- getFileMap() - Method in class cn.hutool.core.net.multipart.MultipartFormData
-
获取文件映射
- getFileName() - Method in class cn.hutool.core.net.multipart.UploadFile
-
- getFileName() - Method in class cn.hutool.core.net.multipart.UploadFileHeader
-
获取文件名,不包括路径
- getFileName() - Method in exception cn.hutool.script.ScriptRuntimeException
-
Get the source of the script causing the error.
- getFileObject() - Method in class cn.hutool.core.io.resource.FileObjectResource
-
- getFileParamNames() - Method in class cn.hutool.core.net.multipart.MultipartFormData
-
获取上传的文件属性名集合
- getFiles(String) - Method in class cn.hutool.core.net.multipart.MultipartFormData
-
获得某个属性名的所有文件
当表单中两个文件使用同一个name的时候
- getFileSeparator() - Method in class cn.hutool.system.OsInfo
-
取得OS的文件路径的分隔符(取自系统属性:file.separator
)。
- getFileTemplate(String, String) - Static method in class cn.hutool.extra.template.engine.beetl.BeetlUtil
-
Deprecated.
获得本地文件模板
- getFindedAllSensitive(String) - Static method in class cn.hutool.dfa.SensitiveUtil
-
- getFindedAllSensitive(String, boolean, boolean) - Static method in class cn.hutool.dfa.SensitiveUtil
-
- getFindedAllSensitive(Object) - Static method in class cn.hutool.dfa.SensitiveUtil
-
- getFindedAllSensitive(Object, boolean, boolean) - Static method in class cn.hutool.dfa.SensitiveUtil
-
- getFindedFirstSensitive(String) - Static method in class cn.hutool.dfa.SensitiveUtil
-
- getFindedFirstSensitive(Object) - Static method in class cn.hutool.dfa.SensitiveUtil
-
- getFirst(Iterable<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
获取集合的第一个元素
- getFirst(Iterator<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
获取集合的第一个元素
- getFirst(Iterable<T>) - Static method in class cn.hutool.core.collection.IterUtil
-
获取集合的第一个元素
- getFirst(Iterator<T>) - Static method in class cn.hutool.core.collection.IterUtil
-
获取集合的第一个元素
- getFirstDayOfWeek() - Method in class cn.hutool.core.date.DateTime
-
获得一周的第一天,默认为周一
- getFirstFound(String...) - Static method in class cn.hutool.setting.dialect.PropsUtil
-
获取给定路径找到的第一个配置文件
* name可以为不包括扩展名的文件名(默认.properties为结尾),也可以是文件名全称
- getFirstFound(String...) - Static method in class cn.hutool.setting.SettingUtil
-
获取给定路径找到的第一个配置文件
* name可以为不包括扩展名的文件名(默认.setting为结尾),也可以是文件名全称
- getFirstLetter(char) - Method in interface cn.hutool.extra.pinyin.PinyinEngine
-
将输入字符串转为拼音首字母,其它字符原样返回
- getFirstLetter(String, String) - Method in interface cn.hutool.extra.pinyin.PinyinEngine
-
将输入字符串转为拼音首字母,其它字符原样返回
- getFirstLetter(char) - Static method in class cn.hutool.extra.pinyin.PinyinUtil
-
将输入字符串转为拼音首字母,其它字符原样返回
- getFirstLetter(String, String) - Static method in class cn.hutool.extra.pinyin.PinyinUtil
-
将输入字符串转为拼音首字母,其它字符原样返回
- getFirstNumber(CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
从字符串中获得第一个整数
- getFirstPageNo() - Static method in class cn.hutool.core.util.PageUtil
-
获得首页的页码,可以为0或者1
- getFirstParamClass(Method) - Static method in class cn.hutool.core.util.TypeUtil
-
获取方法的第一个参数类
- getFirstParamType(Method) - Static method in class cn.hutool.core.util.TypeUtil
-
获取方法的第一个参数类型
优先获取方法的GenericParameterTypes,如果获取不到,则获取ParameterTypes
- getFirstTableName() - Method in class cn.hutool.db.sql.Query
-
获得第一个表名
- getFloat(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
-
获取float型属性值
- getFloat(K, Float) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
-
获取float型属性值
若获得的值为不可见字符,使用默认值
- getFloat(K, Float) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getFloat(K, Float) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getFloat(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
-
获取float型属性值
无值或获取错误返回null
- getFloat(String) - Method in class cn.hutool.core.lang.Dict
-
- getFloat(Map<?, ?>, Object) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为Float
- getFloat(Map<?, ?>, Object, Float) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为Float
- getFloat(String) - Method in class cn.hutool.setting.dialect.Props
-
- getFloat(String, Float) - Method in class cn.hutool.setting.dialect.Props
-
- getForeColor() - Method in class cn.hutool.extra.qrcode.QrConfig
-
获取前景色
- getFormat() - Method in class cn.hutool.core.convert.impl.CalendarConverter
-
获取日期格式
- getFormat() - Method in class cn.hutool.core.convert.impl.DateConverter
-
获取日期格式
- getFormat() - Method in class cn.hutool.core.convert.impl.TemporalAccessorConverter
-
获取日期格式
- getFormat(Workbook, String) - Method in class cn.hutool.poi.excel.style.StyleUtil
-
创建数据格式并获取格式
- getFormFieldName() - Method in class cn.hutool.core.net.multipart.UploadFileHeader
-
返回表单字段名
- getFormFileName() - Method in class cn.hutool.core.net.multipart.UploadFileHeader
-
返回表单中的文件名,来自客户端传入
- getFoundAllSensitive(String) - Static method in class cn.hutool.dfa.SensitiveUtil
-
查找敏感词,返回找到的所有敏感词
- getFoundAllSensitive(String, boolean, boolean) - Static method in class cn.hutool.dfa.SensitiveUtil
-
查找敏感词,返回找到的所有敏感词
密集匹配原则:假如关键词有 ab,b,文本是abab,将匹配 [ab,b,ab]
贪婪匹配(最长匹配)原则:假如关键字a,ab,最长匹配将匹配[a, ab]
- getFoundAllSensitive(Object) - Static method in class cn.hutool.dfa.SensitiveUtil
-
查找敏感词,返回找到的所有敏感词
- getFoundAllSensitive(Object, boolean, boolean) - Static method in class cn.hutool.dfa.SensitiveUtil
-
查找敏感词,返回找到的所有敏感词
密集匹配原则:假如关键词有 ab,b,文本是abab,将匹配 [ab,b,ab]
贪婪匹配(最长匹配)原则:假如关键字a,ab,最长匹配将匹配[a, ab]
- getFoundFirstSensitive(String) - Static method in class cn.hutool.dfa.SensitiveUtil
-
查找敏感词,返回找到的第一个敏感词
- getFoundFirstSensitive(Object) - Static method in class cn.hutool.dfa.SensitiveUtil
-
查找敏感词,返回找到的第一个敏感词
- getFoundWord() - Method in class cn.hutool.dfa.FoundWord
-
获取单词匹配到的内容,即文中的单词
- getFragment() - Method in class cn.hutool.core.net.url.UrlBuilder
-
获取标识符,#后边的部分
- getFragmentEncoded() - Method in class cn.hutool.core.net.url.UrlBuilder
-
获取标识符,#后边的部分
- getFrame(int) - Method in class cn.hutool.core.img.gif.GifDecoder
-
Gets the image contents of frame n.
- getFrameCount() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Gets the number of frames read from file.
- getFrameSize() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Gets image size.
- getFree() - Method in class cn.hutool.system.oshi.CpuInfo
-
- getFreeMemory() - Static method in class cn.hutool.core.util.RuntimeUtil
-
获得JVM中剩余的内存数,单位byte
- getFreeMemory() - Method in class cn.hutool.system.RuntimeInfo
-
获得JVM已分配内存中的剩余空间
- getFreeMemory() - Static method in class cn.hutool.system.SystemUtil
-
获取JVM中内存剩余大小
- getFrom() - Method in class cn.hutool.extra.mail.MailAccount
-
获取发送方,遵循RFC-822标准
- getGanzhiOfDay(int, int, int) - Static method in class cn.hutool.core.date.chinese.GanZhi
-
获取干支日
- getGanzhiOfMonth(int, int, int) - Static method in class cn.hutool.core.date.chinese.GanZhi
-
获取干支月
- getGanzhiOfYear(int) - Static method in class cn.hutool.core.date.chinese.GanZhi
-
传入年传回干支
- getGarbageCollectorMXBeans() - Static method in class cn.hutool.system.SystemUtil
-
- getGender() - Method in class cn.hutool.core.util.IdcardUtil.Idcard
-
获取性别代号,性别(1 : 男 , 0 : 女)
- getGenderByIdCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
根据身份编号获取性别,只支持15或18位身份证号码
- getGeneralField(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
获得set或get或is方法对应的标准属性名
例如:setName 返回 name
- getGenerateDateTime(long) - Method in class cn.hutool.core.lang.Snowflake
-
根据Snowflake的ID,获取生成时间
- getGeneratedKeyOfLong(Statement) - Static method in class cn.hutool.db.StatementUtil
-
获得自增键的值
此方法对于Oracle无效(返回null)
- getGeneratedKeys() - Method in class cn.hutool.db.sql.StatementWrapper
-
- getGeneratedKeys(Statement) - Static method in class cn.hutool.db.StatementUtil
-
获得所有主键
- getGeneratedKeys(Statement, RsHandler<T>) - Static method in class cn.hutool.db.StatementUtil
-
- getGenerator() - Method in class cn.hutool.captcha.AbstractCaptcha
-
获取验证码生成器
- getGetter(String) - Method in class cn.hutool.core.bean.BeanDesc
-
获取Getter方法,如果不存在返回null
- getGetter() - Method in class cn.hutool.core.bean.PropDesc
-
获取Getter方法,可能为null
- getGroovyEngine() - Static method in class cn.hutool.script.ScriptUtil
-
获得单例的Groovy引擎
需要引入org.codehaus.groovy:groovy-all
- getGroup() - Method in class cn.hutool.extra.ssh.Connector
-
获得用户组名
- getGroup0(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
获得匹配的字符串,获得正则中分组0的内容
- getGroup0(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
获得匹配的字符串,,获得正则中分组0的内容
- getGroup1(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
获得匹配的字符串,获得正则中分组1的内容
- getGroup1(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
获得匹配的字符串,,获得正则中分组1的内容
- getGroupedMap() - Method in class cn.hutool.setting.Setting
-
获取GroupedMap
- getGroups() - Method in class cn.hutool.setting.GroupedSet
-
- getGroups() - Method in class cn.hutool.setting.Setting
-
获取所有分组
- getHardware() - Static method in class cn.hutool.system.oshi.OshiUtil
-
获取硬件相关信息,包括内存、硬盘、网络设备、显示器、USB、声卡等
- getHeadCellStyle() - Method in class cn.hutool.poi.excel.ExcelWriter
-
获取头部样式,获取样式后可自定义样式
- getHeadCellStyle() - Method in class cn.hutool.poi.excel.StyleSet
-
获取头部样式,获取后可以定义整体头部样式
- getHeader() - Method in class cn.hutool.core.net.multipart.UploadFile
-
- getHeader() - Method in class cn.hutool.core.text.csv.CsvData
-
获取头信息列表,如果无头信息为Null
,返回列表为只读列表
- getHeader() - Method in class cn.hutool.core.text.csv.CsvParser
-
获取头部字段列表,如果containsHeader设置为false则抛出异常
- getHeader(HttpServletRequest, String, String) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
获得请求header中的信息
- getHeader(HttpServletRequest, String, Charset) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
获得请求header中的信息
- getHeader(Header) - Method in class cn.hutool.http.server.HttpServerRequest
-
获得请求header中的信息
- getHeader(String) - Method in class cn.hutool.http.server.HttpServerRequest
-
获得请求header中的信息
- getHeader(String, Charset) - Method in class cn.hutool.http.server.HttpServerRequest
-
获得请求header中的信息
- getHeaderAlias() - Method in class cn.hutool.poi.excel.ExcelReader
-
获得标题行的别名Map
- getHeaderIgnoreCase(HttpServletRequest, String) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
忽略大小写获得请求header中的信息
- getHeaderMap(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
获取请求所有的头(header)信息
- getHeaders() - Method in class cn.hutool.http.server.HttpServerRequest
-
获得请求header中的信息
- getHeaders() - Method in class cn.hutool.http.server.HttpServerResponse
-
获得所有响应头,获取后可以添加新的响应头
- getHeight() - Static method in class cn.hutool.core.swing.ScreenUtil
-
获取屏幕高度
- getHeight() - Method in class cn.hutool.extra.qrcode.QrConfig
-
获取高度
- getHexValue() - Method in class cn.hutool.core.io.checksum.crc16.CRC16Checksum
-
获取16进制的CRC16值
- getHexValue(boolean) - Method in class cn.hutool.core.io.checksum.crc16.CRC16Checksum
-
获取16进制的CRC16值
- getHighValue() - Method in class cn.hutool.core.lang.hash.Number128
-
- getHitCount() - Method in class cn.hutool.cache.impl.AbstractCache
-
- getHoldability() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- getHomeDir() - Method in class cn.hutool.system.JavaRuntimeInfo
-
取得当前JRE的安装目录(取自系统属性:java.home
)。
- getHomeDir() - Method in class cn.hutool.system.UserInfo
-
取得当前登录用户的home目录(取自系统属性:user.home
)。
- getHost() - Method in class cn.hutool.core.net.url.UrlBuilder
-
获取 主机,例如127.0.0.1
- getHost(URL) - Static method in class cn.hutool.core.util.URLUtil
-
获取URL中域名部分,只保留URL中的协议(Protocol)、Host,其它为null。
- getHost() - Method in class cn.hutool.extra.ftp.FtpConfig
-
- getHost() - Method in class cn.hutool.extra.mail.MailAccount
-
获得SMTP服务器域名
- getHost() - Method in class cn.hutool.extra.ssh.Connector
-
获得主机名
- getHostInfo() - Static method in class cn.hutool.system.SystemUtil
-
取得Host的信息。
- getHttpContext() - Method in class cn.hutool.http.server.HttpServerBase
-
获取HttpContext
- getHttpExchange() - Method in class cn.hutool.http.server.HttpServerBase
-
获取HttpExchange
对象
- getHttpURLConnection() - Method in class cn.hutool.http.HttpConnection
-
获取HttpURLConnection对象
- getHyperlink() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- getId() - Method in class cn.hutool.core.date.StopWatch
-
获取StopWatch 的ID,用于多个秒表对象的区分
- getId() - Method in interface cn.hutool.core.lang.tree.Node
-
获取ID
- getId() - Method in class cn.hutool.core.lang.tree.Tree
-
- getId() - Method in class cn.hutool.core.lang.tree.TreeNode
-
- getId() - Method in class cn.hutool.cron.task.CronTask
-
获取作业ID
- getIdcardInfo(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
获取身份证信息,包括身份、城市代码、生日、性别等
- getIdKey() - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
获取ID对应的名称
- getIds() - Method in class cn.hutool.cron.TaskTable
-
获取所有ID,返回不可变列表,即列表不可修改
- getImage() - Method in class cn.hutool.captcha.AbstractCaptcha
-
获取验证码图
- getImage() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Gets the first (or only) image read.
- getImage(URL) - Static method in class cn.hutool.core.img.ImgUtil
-
从URL中获取或读取图片对象
- getImage() - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
-
从剪贴板获取图片
- getImage(Transferable) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
-
- getImageBase64() - Method in class cn.hutool.captcha.AbstractCaptcha
-
获得图片的Base64形式
- getImageBase64Data() - Method in class cn.hutool.captcha.AbstractCaptcha
-
获取图片带文件格式的 Base64
- getImageBytes() - Method in class cn.hutool.captcha.AbstractCaptcha
-
获取图形验证码图片bytes
- getImageInputStream(InputStream) - Static method in class cn.hutool.core.img.ImgUtil
-
- getImageOutputStream(OutputStream) - Static method in class cn.hutool.core.img.ImgUtil
-
- getImageOutputStream(File) - Static method in class cn.hutool.core.img.ImgUtil
-
- getImagePixels() - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Extracts image pixels into byte array "pixels"
- getImg() - Method in class cn.hutool.core.img.Img
-
获取处理过的图片
- getImg() - Method in class cn.hutool.extra.qrcode.QrConfig
-
获取二维码中的Logo
- getIn(String, InputStream) - Method in class cn.hutool.extra.compress.CompressUtil
-
获取压缩输入流,用于解压缩指定内容,支持的格式例如:
- getInfo() - Method in class cn.hutool.system.JvmInfo
-
取得当前JVM impl.的信息(取自系统属性:java.vm.info
)。
- getInitialSize() - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- getInputStream() - Method in class cn.hutool.core.io.file.FileReader
-
获得输入流
- getInputStream(Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
获得输入流
- getInputStream(File) - Static method in class cn.hutool.core.io.FileUtil
-
获得输入流
- getInputStream(String) - Static method in class cn.hutool.core.io.FileUtil
-
获得输入流
- getInputStream() - Method in class cn.hutool.http.HttpConnection
-
获得输入流对象
输入流对象用于读取数据
- getInstance() - Static method in class cn.hutool.core.convert.ConverterRegistry
-
获得单例的 ConverterRegistry
- getInstance() - Static method in class cn.hutool.core.date.format.FastDateFormat
-
获得 FastDateFormat实例,使用默认格式和地区
- getInstance(String) - Static method in class cn.hutool.core.date.format.FastDateFormat
-
获得 FastDateFormat 实例,使用默认地区
支持缓存
- getInstance(String, TimeZone) - Static method in class cn.hutool.core.date.format.FastDateFormat
-
获得 FastDateFormat 实例
支持缓存
- getInstance(String, Locale) - Static method in class cn.hutool.core.date.format.FastDateFormat
-
获得 FastDateFormat 实例
支持缓存
- getInstance(String, TimeZone, Locale) - Static method in class cn.hutool.core.date.format.FastDateFormat
-
获得 FastDateFormat 实例
支持缓存
- getInt(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
-
获取int型属性值
- getInt(K, Integer) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
-
获取int型属性值
若获得的值为不可见字符,使用默认值
- getInt(K, Integer) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getInt(K, Integer) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getInt(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
-
获取int型属性值
无值或获取错误返回null
- getInt(String) - Method in class cn.hutool.core.lang.Dict
-
- getInt(Map<?, ?>, Object) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为Integer
- getInt(Map<?, ?>, Object, Integer) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为Integer
- getInt(String, String) - Method in class cn.hutool.setting.AbsSetting
-
获取数字型型属性值
- getInt(String, String, Integer) - Method in class cn.hutool.setting.AbsSetting
-
获取数字型型属性值
- getInt(String, Integer) - Method in class cn.hutool.setting.dialect.Props
-
- getInt(String) - Method in class cn.hutool.setting.dialect.Props
-
- getInt(String, int) - Static method in class cn.hutool.system.SystemUtil
-
获得int类型值
- getIntByGroup(String, String) - Method in interface cn.hutool.core.getter.GroupedTypeGetter
-
获取int型属性值
- getInterface(Class<T>) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- getInterface(Object, Class<T>) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- getInterface(Class<T>) - Method in class cn.hutool.script.JavaScriptEngine
-
- getInterface(Object, Class<T>) - Method in class cn.hutool.script.JavaScriptEngine
-
- getInterval() - Method in class cn.hutool.core.thread.ConcurrencyTester
-
获取执行时间
- getIntList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
-
获取Integer型属性值列表
- getInts(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
-
获取Integer型属性值数组
- getInts(String, Integer[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
-
获取Integer型属性值数组
- getInverse() - Method in class cn.hutool.core.map.BiMap
-
获取反向Map
- getIoAction() - Method in class cn.hutool.socket.aio.AioClient
-
获取IO处理器
- getIoAction() - Method in class cn.hutool.socket.aio.AioServer
-
获取IO处理器
- getIoAction() - Method in class cn.hutool.socket.aio.AioSession
-
获取消息处理器
- getIpByHost(String) - Static method in class cn.hutool.core.net.NetUtil
-
通过域名得到IP
- getJarClassLoader(File) - Static method in class cn.hutool.core.util.ClassLoaderUtil
-
- getJarFile(URL) - Static method in class cn.hutool.core.util.URLUtil
-
从URL中获取JarFile
- getJavaClassPaths() - Static method in class cn.hutool.core.util.ClassUtil
-
- getJavaFileObjects(File) - Static method in class cn.hutool.core.compiler.JavaFileObjectUtil
-
- getJavaInfo() - Static method in class cn.hutool.system.SystemUtil
-
取得Java Implementation的信息。
- getJavaRuntimeInfo() - Static method in class cn.hutool.system.SystemUtil
-
取得当前运行的JRE的信息。
- getJavaScriptEngine() - Static method in class cn.hutool.script.ScriptUtil
-
- getJavaSpecInfo() - Static method in class cn.hutool.system.SystemUtil
-
取得Java Specification的信息。
- getJedis() - Method in class cn.hutool.db.nosql.redis.RedisDS
-
从资源池中获取Jedis
- getJndiDs(String) - Static method in class cn.hutool.db.DbUtil
-
获得JNDI数据源
- getJndiDsWithLog(String) - Static method in class cn.hutool.db.DbUtil
-
获得JNDI数据源
- getJsEngine() - Static method in class cn.hutool.script.ScriptUtil
-
获得单例的JavaScript引擎
- getJSONArray(K) - Method in interface cn.hutool.json.JSONGetter
-
获得JSONArray对象
如果值为其它类型对象,尝试转换为
JSONArray
返回,否则抛出异常
- getJSONObject(K) - Method in interface cn.hutool.json.JSONGetter
-
获得JSONObject对象
如果值为其它类型对象,尝试转换为
JSONObject
返回,否则抛出异常
- getJvmInfo() - Static method in class cn.hutool.system.SystemUtil
-
取得Java Virtual Machine Implementation的信息。
- getJvmSpecInfo() - Static method in class cn.hutool.system.SystemUtil
-
取得Java Virtual Machine Specification的信息。
- getKey() - Method in class cn.hutool.cache.impl.CacheObj
-
获取键
- getKey() - Method in class cn.hutool.core.lang.Pair
-
获取键
- getKey(V) - Method in class cn.hutool.core.map.BiMap
-
根据值获得键
- getKey(V) - Method in class cn.hutool.core.map.TableMap
-
根据value获得对应的key,只返回找到的第一个value对应的key值
- getKeyByType(KeyType) - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
根据密钥类型获得相应密钥
- getKeyFactory(String) - Static method in class cn.hutool.crypto.KeyUtil
-
- getKeyGenerator(String) - Static method in class cn.hutool.crypto.KeyUtil
-
- getKeyPair(String, InputStream, char[], String) - Static method in class cn.hutool.crypto.KeyUtil
-
从KeyStore中获取私钥公钥
- getKeyPair(KeyStore, char[], String) - Static method in class cn.hutool.crypto.KeyUtil
-
从KeyStore中获取私钥公钥
- getKeyPairGenerator(String) - Static method in class cn.hutool.crypto.KeyUtil
-
- getKeys(V) - Method in class cn.hutool.core.map.TableMap
-
获取指定value对应的所有key
- getLanguage() - Method in class cn.hutool.system.UserInfo
-
取得当前登录用户的语言设置(取自系统属性:user.language
)。
- getLast(Collection<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
获取集合的最后一个元素
- getLastDay(boolean) - Method in enum cn.hutool.core.date.Month
-
获取此月份最后一天的值,不支持的月份(例如UNDECIMBER)返回-1
- getLastDay(int, boolean) - Static method in enum cn.hutool.core.date.Month
-
获得指定月的最后一天
- getLastHeader() - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
- getLastModified(Object) - Method in class cn.hutool.extra.template.engine.freemarker.SimpleStringTemplateLoader
-
- getLastModified(Resource) - Method in class cn.hutool.extra.template.engine.velocity.SimpleStringResourceLoader
-
- getLastPathEle(Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
获取指定位置的最后一个子路径部分
- getLastTaskInfo() - Method in class cn.hutool.core.date.StopWatch
-
获取最后的任务对象
- getLastTaskName() - Method in class cn.hutool.core.date.StopWatch
-
获取最后的任务名
- getLastTaskTimeMillis() - Method in class cn.hutool.core.date.StopWatch
-
获取最后任务的花费时间(毫秒)
- getLastTaskTimeNanos() - Method in class cn.hutool.core.date.StopWatch
-
获取最后任务的花费时间(纳秒)
- getLeastSignificantBits() - Method in class cn.hutool.core.lang.UUID
-
返回此 UUID 的 128 位值中的最低有效 64 位。
- getLength() - Method in class cn.hutool.captcha.generator.AbstractGenerator
-
获取长度验证码
- getLength() - Method in class cn.hutool.captcha.generator.MathGenerator
-
获取验证码长度
- getLevel() - Method in class cn.hutool.core.date.BetweenFormatter
-
获得 格式化级别
- getLevel() - Method in enum cn.hutool.db.transaction.TransactionLevel
-
获取数据库事务级别int值
- getLibraryPath() - Method in class cn.hutool.system.JavaRuntimeInfo
-
取得当前JRE的library搜索路径(取自系统属性:java.library.path
)。
- getLibraryPathArray() - Method in class cn.hutool.system.JavaRuntimeInfo
-
取得当前JRE的library搜索路径(取自系统属性:java.library.path
)。
- getLineNumber() - Method in exception cn.hutool.script.ScriptRuntimeException
-
Get the line number on which an error occurred.
- getLineSeparator() - Static method in class cn.hutool.core.io.FileUtil
-
获取当前系统的换行分隔符
- getLineSeparator() - Method in class cn.hutool.system.OsInfo
-
取得OS的文本文件换行符(取自系统属性:line.separator
)。
- getLinkOperator() - Method in class cn.hutool.db.sql.Condition
-
获取与前一个Condition连接的逻辑运算符,可以是and或or
- getListenerFactory() - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
获取ListenerFactory
,用于设置端口、用户、SSL等信息
- getListParam(String) - Method in class cn.hutool.core.net.multipart.MultipartFormData
-
获得集合表单值
- getLocalDateTimeCellValue() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- getLocale() - Method in class cn.hutool.core.date.format.AbstractDateBasic
-
- getLocale() - Method in interface cn.hutool.core.date.format.DateBasic
-
获得 日期地理位置
- getLocale() - Method in class cn.hutool.core.date.format.FastDateFormat
-
- getLocalhost() - Static method in class cn.hutool.core.net.NetUtil
-
获取本机网卡IP地址,规则如下:
- getLocalHostName() - Static method in class cn.hutool.core.net.NetUtil
-
获取主机名称,一次获取会缓存名称
- getLocalhostStr() - Static method in class cn.hutool.core.net.NetUtil
-
- getLocalMacAddress() - Static method in class cn.hutool.core.net.NetUtil
-
获得本机MAC地址
- getLocation(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
获取class类路径URL, 不管是否在jar包中都会返回文件夹的路径
class在jar包中返回jar所在文件夹,class不在jar中返回文件夹目录
jdk中的类不能使用此方法
- getLocationPath(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
获取class类路径, 不管是否在jar包中都会返回文件夹的路径
class在jar包中返回jar所在文件夹,class不在jar中返回文件夹目录
jdk中的类不能使用此方法
- getLog(String) - Method in class cn.hutool.log.LogFactory
-
获得日志对象
- getLog(Class<?>) - Method in class cn.hutool.log.LogFactory
-
获得日志对象
- getLoginTimeout() - Method in class cn.hutool.db.ds.DataSourceWrapper
-
- getLoginTimeout() - Method in class cn.hutool.db.ds.simple.AbstractDataSource
-
- getLogWriter() - Method in class cn.hutool.db.ds.DataSourceWrapper
-
- getLogWriter() - Method in class cn.hutool.db.ds.simple.AbstractDataSource
-
- getLong(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
-
获取long型属性值
- getLong(K, Long) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
-
获取Long型属性值
若获得的值为不可见字符,使用默认值
- getLong(K, Long) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getLong(K, Long) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getLong(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
-
获取long型属性值
无值或获取错误返回null
- getLong(String) - Method in class cn.hutool.core.lang.Dict
-
- getLong(Map<?, ?>, Object) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为Long
- getLong(Map<?, ?>, Object, Long) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为Long
- getLong(String, String) - Method in class cn.hutool.setting.AbsSetting
-
获取long类型属性值
- getLong(String, String, Long) - Method in class cn.hutool.setting.AbsSetting
-
获取long类型属性值
- getLong(String, Long) - Method in class cn.hutool.setting.dialect.Props
-
- getLong(String) - Method in class cn.hutool.setting.dialect.Props
-
- getLong(String, long) - Static method in class cn.hutool.system.SystemUtil
-
获得long类型值
- getLongArray() - Method in class cn.hutool.core.lang.hash.Number128
-
- getLongByGroup(String, String) - Method in interface cn.hutool.core.getter.GroupedTypeGetter
-
获取Long型属性值
- getLongList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
-
获取BigDecimal型属性值列表
- getLongs(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
-
获取Long型属性值数组
- getLongs(String, Long[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
-
获取Long型属性值数组
- getLoopCount() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Gets the "Netscape" iteration count, if any.
- getLowValue() - Method in class cn.hutool.core.lang.hash.Number128
-
- getLuaEngine() - Static method in class cn.hutool.script.ScriptUtil
-
获得单例的Lua引擎
需要引入org.luaj:luaj-jse
- getMac() - Method in class cn.hutool.crypto.digest.mac.BCHMacEngine
-
获得 Mac
- getMac() - Method in class cn.hutool.crypto.digest.mac.DefaultHMacEngine
-
- getMacAddress(InetAddress) - Static method in class cn.hutool.core.net.NetUtil
-
获得指定地址信息中的MAC地址,使用分隔符“-”
- getMacAddress(InetAddress, String) - Static method in class cn.hutool.core.net.NetUtil
-
获得指定地址信息中的MAC地址
- getMacLength() - Method in class cn.hutool.crypto.digest.HMac
-
获取MAC算法块长度
- getMacLength() - Method in class cn.hutool.crypto.digest.mac.BCHMacEngine
-
- getMacLength() - Method in class cn.hutool.crypto.digest.mac.DefaultHMacEngine
-
- getMacLength() - Method in interface cn.hutool.crypto.digest.mac.MacEngine
-
获取MAC算法块大小
- getMainAlgorithm(String) - Static method in class cn.hutool.crypto.KeyUtil
-
获取主体算法名,例如RSA/ECB/PKCS1Padding的主体算法是RSA
- getMainColor(String) - Static method in class cn.hutool.core.img.BackgroundRemoval
-
获取图片大概的主题色
循环所有的像素点,取出出现次数最多的一个像素点的RGB值
- getMainColor(File) - Static method in class cn.hutool.core.img.BackgroundRemoval
-
获取图片大概的主题色
循环所有的像素点,取出出现次数最多的一个像素点的RGB值
- getMainColor(BufferedImage) - Static method in class cn.hutool.core.img.BackgroundRemoval
-
获取图片大概的主题色
循环所有的像素点,取出出现次数最多的一个像素点的RGB值
- getMainThread() - Static method in class cn.hutool.core.thread.ThreadUtil
-
获取进程的主线程
from Voovan
- getMap(String) - Method in class cn.hutool.setting.Setting
-
获得指定分组的所有键值对,此方法获取的是原始键值对,获取的键值对可以被修改
- getMappedFieldName(String, boolean) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
获得映射后的字段名
当非反向,则根据源字段名获取目标字段名,反之根据目标字段名获取源字段名。
- getMargin() - Method in class cn.hutool.extra.qrcode.QrConfig
-
获取边距
- getMaskBitByMask(String) - Static method in class cn.hutool.core.net.Ipv4Util
-
根据子网掩码转换为掩码位
- getMaskByIpRange(String, String) - Static method in class cn.hutool.core.net.Ipv4Util
-
根据开始IP与结束IP计算掩码
- getMaskByMaskBit(int) - Static method in class cn.hutool.core.net.Ipv4Util
-
根据掩码位获取掩码
- getMatrix() - Method in class cn.hutool.extra.qrcode.BufferedImageLuminanceSource
-
- getMax() - Method in class cn.hutool.cron.pattern.parser.SimpleValueParser
-
- getMax() - Method in interface cn.hutool.cron.pattern.parser.ValueParser
-
返回最大值
- getMaxActive() - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- getMaxFieldSize() - Method in class cn.hutool.db.sql.StatementWrapper
-
- getMaxFileSize() - Method in class cn.hutool.core.net.multipart.UploadSetting
-
- getMaxLengthEstimate() - Method in class cn.hutool.core.date.format.FastDateFormat
-
估算生成的日期字符串长度
实际生成的字符串长度小于或等于此值
- getMaxLengthEstimate() - Method in class cn.hutool.core.date.format.FastDatePrinter
-
估算生成的日期字符串长度
实际生成的字符串长度小于或等于此值
- getMaxMemory() - Static method in class cn.hutool.core.util.RuntimeUtil
-
获得JVM中可以从系统中获取的最大的内存数,单位byte,以-Xmx参数为准
- getMaxMemory() - Method in class cn.hutool.system.RuntimeInfo
-
获得JVM最大内存
- getMaxMemory() - Static method in class cn.hutool.system.SystemUtil
-
获取JVM可用的内存总大小
- getMaxRows() - Method in class cn.hutool.db.sql.StatementWrapper
-
- getMaxWait() - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- getMaxYear() - Static method in class cn.hutool.core.date.chinese.LunarInfo
-
- getMembers() - Method in class cn.hutool.core.lang.Tuple
-
获得所有元素
- getMemory() - Static method in class cn.hutool.system.oshi.OshiUtil
-
获取内存相关信息,比如总内存、可用内存等
- getMemoryManagerMXBeans() - Static method in class cn.hutool.system.SystemUtil
-
获取Java虚拟机中的
MemoryManagerMXBean
列表
The Java virtual machine can have one or more memory managers.
- getMemoryMXBean() - Static method in class cn.hutool.system.SystemUtil
-
返回Java虚拟机内存系统相关属性
- getMemoryPoolMXBeans() - Static method in class cn.hutool.system.SystemUtil
-
获取Java虚拟机中的
MemoryPoolMXBean
列表
The Java virtual machine can have one or more memory pools.
- getMemoryThreshold() - Method in class cn.hutool.core.net.multipart.UploadSetting
-
- getMergedRegionCell(Cell) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
获取合并单元格
传入的x,y坐标(列行数)可以是合并单元格范围内的任意一个单元格
- getMergedRegionCell(Sheet, int, int) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
获取合并单元格
传入的x,y坐标(列行数)可以是合并单元格范围内的任意一个单元格
- getMergedRegionValue(Sheet, String) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
获取合并单元格的值
传入的x,y坐标(列行数)可以是合并单元格范围内的任意一个单元格
- getMergedRegionValue(Sheet, int, int) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
获取合并单元格的值
传入的x,y坐标(列行数)可以是合并单元格范围内的任意一个单元格
- getMessage(Throwable) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
获得完整消息,包括异常名,消息格式为:{SimpleClassName}: {ThrowableMessage}
- getMessage() - Method in class cn.hutool.extra.validation.BeanValidationResult.ErrorMessage
-
- getMessage() - Method in class cn.hutool.http.webservice.SoapClient
-
- getMessage() - Method in exception cn.hutool.script.ScriptRuntimeException
-
Returns a message containing the String passed to a constructor as well as line and column numbers and filename if any of these are known.
- getMessages(DiagnosticCollector<?>) - Static method in class cn.hutool.core.compiler.DiagnosticUtil
-
- getMetaData() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- getMetaData() - Method in class cn.hutool.db.sql.StatementWrapper
-
- getMethod(Class<?>, String, Class<?>...) - Static method in class cn.hutool.core.util.ReflectUtil
-
查找指定方法 如果找不到对应的方法则返回null
- getMethod(Class<?>, boolean, String, Class<?>...) - Static method in class cn.hutool.core.util.ReflectUtil
-
查找指定方法 如果找不到对应的方法则返回null
- getMethod() - Method in class cn.hutool.http.HttpConnection
-
获取请求方法,GET/POST
- getMethod() - Method in class cn.hutool.http.HttpRequest
-
获取Http请求方法
- getMethod() - Method in class cn.hutool.http.server.HttpServerRequest
-
获得Http Method
- getMethodByName(Class<?>, String) - Static method in class cn.hutool.core.util.ReflectUtil
-
按照方法名查找指定方法名的方法,只返回匹配到的第一个方法,如果找不到对应的方法则返回null
- getMethodByName(Class<?>, boolean, String) - Static method in class cn.hutool.core.util.ReflectUtil
-
按照方法名查找指定方法名的方法,只返回匹配到的第一个方法,如果找不到对应的方法则返回null
- getMethodByNameIgnoreCase(Class<?>, String) - Static method in class cn.hutool.core.util.ReflectUtil
-
按照方法名查找指定方法名的方法,只返回匹配到的第一个方法,如果找不到对应的方法则返回null
- getMethodEle() - Method in class cn.hutool.http.webservice.SoapClient
-
获取方法节点
用于创建子节点等操作
- getMethodIgnoreCase(Class<?>, String, Class<?>...) - Static method in class cn.hutool.core.util.ReflectUtil
-
忽略大小写查找指定方法,如果找不到对应的方法则返回null
- getMethodNames(Class<?>) - Static method in class cn.hutool.core.util.ReflectUtil
-
获得指定类中的Public方法名
去重重载的方法
- getMethodOfObj(Object, String, Object...) - Static method in class cn.hutool.core.util.ReflectUtil
-
查找指定对象中的所有方法(包括非public方法),也包括父对象和Object类的方法
- getMethods(Class<?>, Filter<Method>) - Static method in class cn.hutool.core.util.ReflectUtil
-
获得指定类过滤后的Public方法列表
- getMethods(Class<?>) - Static method in class cn.hutool.core.util.ReflectUtil
-
获得一个类中所有方法列表,包括其父类中的方法
- getMethodsDirectly(Class<?>, boolean) - Static method in class cn.hutool.core.util.ReflectUtil
-
获得一个类中所有方法列表,直接反射获取,无缓存
- getMillis() - Method in enum cn.hutool.core.date.DateUnit
-
- getMimeSubtype() - Method in class cn.hutool.core.net.multipart.UploadFileHeader
-
Returns file sub type MIME.
- getMimeType(Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
获得文件的MimeType
- getMimeType(String) - Static method in class cn.hutool.core.io.FileUtil
-
根据文件扩展名获得MimeType
- getMimeType() - Method in class cn.hutool.core.net.multipart.UploadFileHeader
-
Returns file types MIME.
- getMimeType(String, String) - Static method in class cn.hutool.http.HttpUtil
-
根据文件扩展名获得MimeType
- getMimeType(String) - Static method in class cn.hutool.http.HttpUtil
-
根据文件扩展名获得MimeType
- getMin() - Method in class cn.hutool.cron.pattern.parser.SimpleValueParser
-
- getMin() - Method in interface cn.hutool.cron.pattern.parser.ValueParser
-
返回最小值
- getMinIdle() - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- getMissCount() - Method in class cn.hutool.cache.impl.AbstractCache
-
- getMongo() - Method in class cn.hutool.db.nosql.mongo.MongoDS
-
- getMonth() - Method in class cn.hutool.core.date.ChineseDate
-
获取农历的月,从1开始计数
- getMonthByIdCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
根据身份编号获取生日月,只支持15或18位身份证号码
- getMoreResults() - Method in class cn.hutool.db.sql.StatementWrapper
-
- getMoreResults(int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- getMostSignificantBits() - Method in class cn.hutool.core.lang.UUID
-
返回此 UUID 的 128 位值中的最高有效 64 位。
- getMsgStr(boolean) - Method in class cn.hutool.http.webservice.SoapClient
-
获取SOAP请求消息
- getMultipart(ServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
获得MultiPart表单内容,多用于获得上传的文件 在同一次请求中,此方法只能被执行一次!
- getMultipart(ServletRequest, UploadSetting) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
获得multipart/form-data 表单内容
包括文件和普通表单数据
在同一次请求中,此方法只能被执行一次!
- getMultipart() - Method in class cn.hutool.http.server.HttpServerRequest
-
获得MultiPart表单内容,多用于获得上传的文件
- getMultistageReverseProxyIp(String) - Static method in class cn.hutool.core.net.NetUtil
-
从多级反向代理中获得第一个非unknown IP地址
- getName() - Method in class cn.hutool.core.bean.BeanDesc
-
获取Bean的全类名
- getName() - Method in enum cn.hutool.core.date.BetweenFormatter.Level
-
获取级别名称
- getName(File) - Static method in class cn.hutool.core.io.file.FileNameUtil
-
返回文件名
- getName(String) - Static method in class cn.hutool.core.io.file.FileNameUtil
-
返回文件名
- getName(File) - Static method in class cn.hutool.core.io.FileUtil
-
返回文件名
- getName(String) - Static method in class cn.hutool.core.io.FileUtil
-
返回文件名
- getName() - Method in class cn.hutool.core.io.resource.BytesResource
-
- getName() - Method in class cn.hutool.core.io.resource.CharSequenceResource
-
- getName() - Method in class cn.hutool.core.io.resource.FileObjectResource
-
- getName() - Method in class cn.hutool.core.io.resource.FileResource
-
- getName() - Method in class cn.hutool.core.io.resource.InputStreamResource
-
- getName() - Method in class cn.hutool.core.io.resource.MultiResource
-
- getName() - Method in interface cn.hutool.core.io.resource.Resource
-
获取资源名,例如文件资源的资源名为文件名
- getName() - Method in class cn.hutool.core.io.resource.UrlResource
-
- getName() - Method in interface cn.hutool.core.lang.tree.Node
-
获取节点标签名称
- getName() - Method in class cn.hutool.core.lang.tree.Tree
-
- getName() - Method in class cn.hutool.core.lang.tree.TreeNode
-
- getName() - Method in class cn.hutool.db.meta.Column
-
获取列名
- getName() - Method in class cn.hutool.http.useragent.UserAgentInfo
-
获取信息名称
- getName() - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- getName() - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- getName() - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- getName() - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- getName() - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- getName() - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- getName() - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- getName() - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- getName() - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- getName() - Method in interface cn.hutool.log.Log
-
- getName() - Method in class cn.hutool.log.LogFactory
-
获取日志框架名,用于打印当前所用日志框架
- getName() - Method in enum cn.hutool.poi.excel.sax.CellDataType
-
获取对应类型的属性值
- getName() - Method in class cn.hutool.system.HostInfo
-
取得当前主机的名称。
- getName() - Method in class cn.hutool.system.JavaRuntimeInfo
-
取得当前JRE的名称(取自系统属性:java.runtime.name
)。
- getName() - Method in class cn.hutool.system.JavaSpecInfo
-
取得当前Java Spec.的名称(取自系统属性:java.specification.name
)。
- getName() - Method in class cn.hutool.system.JvmInfo
-
取得当前JVM impl.的名称(取自系统属性:java.vm.name
)。
- getName() - Method in class cn.hutool.system.JvmSpecInfo
-
取得当前JVM spec.的名称(取自系统属性:java.vm.specification.name
)。
- getName() - Method in class cn.hutool.system.OsInfo
-
取得当前OS的名称(取自系统属性:os.name
)。
- getName() - Method in class cn.hutool.system.UserInfo
-
取得当前登录用户的名字(取自系统属性:user.name
)。
- getNameFieldMap(Class<? extends Enum<?>>, String) - Static method in class cn.hutool.core.util.EnumUtil
-
获得枚举名对应指定字段值的Map
键为枚举名,值为字段值
- getNameKey() - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
获取节点名对应的名称
- getNames(Class<? extends Enum<?>>) - Static method in class cn.hutool.core.util.EnumUtil
-
枚举类中所有枚举对象的name列表
- getNamespaceURI(String) - Method in class cn.hutool.core.util.XmlUtil.UniversalNamespaceCache
-
This method is called by XPath.
- getNetworkIFs() - Static method in class cn.hutool.system.oshi.OshiUtil
-
获取网络相关信息,可能多块网卡
- getNetworkInterface(String) - Static method in class cn.hutool.core.net.NetUtil
-
获取指定名称的网卡信息
- getNetworkInterfaces() - Static method in class cn.hutool.core.net.NetUtil
-
获取本机所有网卡
- getNetworkTimeout() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- getNode(T) - Method in class cn.hutool.core.lang.tree.Tree
-
获取ID对应的节点,如果有多个ID相同的节点,只返回第一个。
此方法只查找此节点及子节点,采用广度优先遍历。
- getNode(Tree<T>, T) - Static method in class cn.hutool.core.lang.tree.TreeUtil
-
获取ID对应的节点,如果有多个ID相同的节点,只返回第一个。
此方法只查找此节点及子节点,采用递归深度优先遍历。
- getNodeByXPath(String, Object) - Static method in class cn.hutool.core.util.XmlUtil
-
通过XPath方式读取XML节点等信息
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
- getNodeListByXPath(String, Object) - Static method in class cn.hutool.core.util.XmlUtil
-
通过XPath方式读取XML的NodeList
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
- getNoLock() - Static method in class cn.hutool.core.thread.lock.LockUtil
-
获取单例的无锁对象
- getNumber(String) - Method in class cn.hutool.core.lang.Dict
-
- getNumberOrDateValue(CellValueRecordInterface, double, FormatTrackingHSSFListener) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
-
在Excel03 sax读取中获取日期或数字类型的结果值
- getNumericCellValue() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- getNumPerPage() - Method in class cn.hutool.db.Page
-
- getNumPerPage() - Method in class cn.hutool.db.PageResult
-
- getObj(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
-
获取Object属性值
- getObj(K, Object) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
-
获取Object属性值
- getObj(K, Object) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getObj(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
-
- getObj(String) - Method in class cn.hutool.core.lang.Dict
-
- getObj() - Method in class cn.hutool.core.lang.WeightRandom.WeightObj
-
获取对象
- getObj(Object, Object) - Method in class cn.hutool.core.map.MapProxy
-
- getObj(Integer, Object) - Method in class cn.hutool.json.JSONArray
-
- getObj(String, Object) - Method in class cn.hutool.json.JSONObject
-
- getObj(String, Object) - Method in class cn.hutool.setting.dialect.Props
-
- getObj(String) - Method in class cn.hutool.setting.dialect.Props
-
- getObjList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
-
获取Object型属性值列表
- getObjs(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
-
获取Object型属性值数组
- getObjs(String, Object[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
-
获取Object型属性值数组
- getOperatingSystemMXBean() - Static method in class cn.hutool.system.SystemUtil
-
返回Java虚拟机运行下的操作系统相关信息属性
- getOperator() - Method in class cn.hutool.db.sql.Condition
-
获得运算符
大于号,小于号,等于号 等
- getOrCreateCell(Row, int) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
获取已有单元格或创建新单元格
- getOrCreateCell(String) - Method in class cn.hutool.poi.excel.ExcelBase
-
获取或创建指定坐标单元格
- getOrCreateCell(int, int) - Method in class cn.hutool.poi.excel.ExcelBase
-
获取或创建指定坐标单元格
- getOrCreateCell(XWPFTableRow, int) - Static method in class cn.hutool.poi.word.TableUtil
-
获取或创建新单元格
存在则直接返回,不存在创建新的单元格
- getOrCreateCellStyle(String) - Method in class cn.hutool.poi.excel.ExcelBase
-
为指定单元格获取或者创建样式,返回样式后可以设置样式内容
- getOrCreateCellStyle(int, int) - Method in class cn.hutool.poi.excel.ExcelBase
-
为指定单元格获取或者创建样式,返回样式后可以设置样式内容
- getOrCreateColumnStyle(int) - Method in class cn.hutool.poi.excel.ExcelBase
-
获取或创建某一列的样式,返回样式后可以设置样式内容
需要注意,此方法返回行样式,设置背景色在单元格设置值后会被覆盖,需要单独设置其单元格的样式。
- getOrCreateRow(int) - Method in class cn.hutool.poi.excel.ExcelBase
-
获取或者创建行
- getOrCreateRow(Sheet, int) - Static method in class cn.hutool.poi.excel.RowUtil
-
获取已有行或创建新行
- getOrCreateRow(XWPFTable, int) - Static method in class cn.hutool.poi.word.TableUtil
-
获取或创建新行
存在则直接返回,不存在创建新的行
- getOrCreateRowStyle(int) - Method in class cn.hutool.poi.excel.ExcelBase
-
获取或创建某一行的样式,返回样式后可以设置样式内容
需要注意,此方法返回行样式,设置背景色在单元格设置值后会被覆盖,需要单独设置其单元格的样式。
- getOrCreateSheet(Workbook, String) - Static method in class cn.hutool.poi.excel.WorkbookUtil
-
获取或者创建sheet表
如果sheet表在Workbook中已经存在,则获取之,否则创建之
- getOrCreateSheet(Workbook, int) - Static method in class cn.hutool.poi.excel.WorkbookUtil
-
获取或者创建sheet表
自定义需要读取或写出的Sheet,如果给定的sheet不存在,创建之(命名为默认)
在读取中,此方法用于切换读取的sheet,在写出时,此方法用于新建或者切换sheet
- getOrDefault(Object, V) - Method in class cn.hutool.core.map.MapWrapper
-
- getOrders() - Method in class cn.hutool.db.Page
-
- getOriginalLineNumber() - Method in class cn.hutool.core.text.csv.CsvRow
-
获取原始行号,多行情况下为首行行号。
- getOs() - Method in class cn.hutool.http.useragent.UserAgent
-
获取系统类型
- getOs() - Static method in class cn.hutool.system.oshi.OshiUtil
-
获取操作系统相关信息,包括系统版本、文件系统、进程等
- getOsInfo() - Static method in class cn.hutool.system.SystemUtil
-
取得OS的信息。
- getOut(String, OutputStream) - Method in class cn.hutool.extra.compress.CompressUtil
-
获取压缩输出流,用于压缩指定内容,支持的格式例如:
- getOut() - Method in class cn.hutool.http.server.HttpServerResponse
-
获取响应数据流
- getOutputStream() - Method in class cn.hutool.core.io.file.FileWriter
-
获得一个输出流对象
- getOutputStream(Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
获得输出流
- getOutputStream(File) - Static method in class cn.hutool.core.io.FileUtil
-
获得一个输出流对象
- getOutputStream(String) - Static method in class cn.hutool.core.io.FileUtil
-
获得一个输出流对象
- getOutputStream() - Method in class cn.hutool.http.HttpConnection
-
获取输出流对象 输出流对象用于发送数据
- getOwnerDocument(Node) - Static method in class cn.hutool.core.util.XmlUtil
-
获取节点所在的Document
- getOwnerType() - Method in class cn.hutool.core.lang.ParameterizedTypeImpl
-
- getPackage(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
获得给定类所在包的名称
例如:
com.xiaoleilu.hutool.util.ClassUtil =》 com.xiaoleilu.hutool.util
- getPackagePath(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
获得给定类所在包的路径
例如:
com.xiaoleilu.hutool.util.ClassUtil =》 com/xiaoleilu/hutool/util
- getPage() - Method in class cn.hutool.db.PageResult
-
页码,0表示第一页
- getPage() - Method in class cn.hutool.db.sql.Query
-
获得分页对象,无分页返回null
- getPageNumber() - Method in class cn.hutool.db.Page
-
- getPageSize() - Method in class cn.hutool.db.Page
-
- getPageSize() - Method in class cn.hutool.db.PageResult
-
- getParam(String) - Method in class cn.hutool.core.net.multipart.MultipartFormData
-
返回单一参数值,如果有多个只返回第一个
- getParam(String) - Method in class cn.hutool.http.server.HttpServerRequest
-
获取指定名称的参数值,取第一个值
- getParamClass(Method, int) - Static method in class cn.hutool.core.util.TypeUtil
-
获取方法的参数类
- getParamClasses(Method) - Static method in class cn.hutool.core.util.TypeUtil
-
解析方法的参数类型列表
依赖jre\lib\rt.jar
- getParameterMetaData() - Method in class cn.hutool.db.sql.StatementWrapper
-
- getParamList() - Method in class cn.hutool.db.sql.NamedSql
-
获取参数列表,按照占位符顺序
- getParamListMap() - Method in class cn.hutool.core.net.multipart.MultipartFormData
-
获取所有属性的集合
- getParamMap() - Method in class cn.hutool.core.net.multipart.MultipartFormData
-
获取所有属性的集合
- getParamMap(ServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
获得所有请求参数
- getParamNames() - Method in class cn.hutool.core.net.multipart.MultipartFormData
-
- getParams() - Method in class cn.hutool.db.sql.NamedSql
-
获取参数列表,按照占位符顺序
- getParams(ServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
获得所有请求参数
- getParams(String) - Method in class cn.hutool.http.server.HttpServerRequest
-
获取指定名称的参数值
- getParams() - Method in class cn.hutool.http.server.HttpServerRequest
-
获取参数Map
- getParamType(Method, int) - Static method in class cn.hutool.core.util.TypeUtil
-
获取方法的参数类型
优先获取方法的GenericParameterTypes,如果获取不到,则获取ParameterTypes
- getParamTypes(Method) - Static method in class cn.hutool.core.util.TypeUtil
-
获取方法的参数类型列表
优先获取方法的GenericParameterTypes,如果获取不到,则获取ParameterTypes
- getParamValueArray() - Method in class cn.hutool.db.sql.SqlBuilder
-
获得占位符对应的值列表
- getParamValues() - Method in class cn.hutool.db.sql.ConditionBuilder
-
- getParamValues() - Method in class cn.hutool.db.sql.SqlBuilder
-
获得占位符对应的值列表
- getParent(String, int) - Static method in class cn.hutool.core.io.FileUtil
-
获取指定层级的父路径
- getParent(File, int) - Static method in class cn.hutool.core.io.FileUtil
-
获取指定层级的父路径
- getParent() - Method in class cn.hutool.core.lang.tree.Tree
-
获取父节点
- getParentId() - Method in interface cn.hutool.core.lang.tree.Node
-
获取父节点ID
- getParentId() - Method in class cn.hutool.core.lang.tree.Tree
-
- getParentId() - Method in class cn.hutool.core.lang.tree.TreeNode
-
- getParentIdKey() - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
获取父节点ID对应的名称
- getParentLogger() - Method in class cn.hutool.db.ds.DataSourceWrapper
-
- getParentLogger() - Method in class cn.hutool.db.ds.simple.AbstractDataSource
-
Support from JDK7
- getParentsName(T, boolean) - Method in class cn.hutool.core.lang.tree.Tree
-
获取所有父节点名称列表
- getParentsName(boolean) - Method in class cn.hutool.core.lang.tree.Tree
-
获取所有父节点名称列表
- getParentsName(Tree<T>, boolean) - Static method in class cn.hutool.core.lang.tree.TreeUtil
-
获取所有父节点名称列表
- getPass() - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- getPass() - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- getPass() - Method in class cn.hutool.extra.mail.MailAccount
-
获取密码
- getPassword() - Method in class cn.hutool.extra.ftp.FtpConfig
-
- getPassword() - Method in class cn.hutool.extra.ssh.Connector
-
获得密码
- getPasswordAuthentication() - Method in class cn.hutool.core.net.PassAuth
-
- getPasswordAuthentication() - Method in class cn.hutool.extra.mail.UserPassAuthenticator
-
- getPasswordLength() - Method in class cn.hutool.crypto.digest.otp.HOTP
-
获取密码长度,可以是6,7,8
- getPath() - Method in class cn.hutool.core.io.resource.ClassPathResource
-
获得Path
- getPath() - Method in class cn.hutool.core.net.url.UrlBuilder
-
获取路径,例如/aa/bb/cc
- getPath(String) - Static method in class cn.hutool.core.util.URLUtil
-
获得path部分
- getPath() - Method in class cn.hutool.extra.template.TemplateConfig
-
获取模板路径,如果ClassPath或者WebRoot模式,则表示相对路径
- getPath() - Method in class cn.hutool.http.server.HttpServerRequest
-
获得请求路径Path
- getPath() - Method in class cn.hutool.setting.GroupedSet
-
- getPathEle(Path, int) - Static method in class cn.hutool.core.io.file.PathUtil
-
获取指定位置的子路径部分,支持负数,例如index为-1表示从后数第一个节点位置
- getPathSeparator() - Method in class cn.hutool.system.OsInfo
-
取得OS的搜索路径分隔符(取自系统属性:path.separator
)。
- getPathStr() - Method in class cn.hutool.core.net.url.UrlBuilder
-
获得路径,例如/aa/bb/cc
- getPattern() - Method in class cn.hutool.core.date.format.AbstractDateBasic
-
- getPattern() - Method in interface cn.hutool.core.date.format.DateBasic
-
获得日期格式化或者转换的格式
- getPattern() - Method in class cn.hutool.core.date.format.FastDateFormat
-
- getPattern(String) - Method in class cn.hutool.cron.Scheduler
-
- getPattern() - Method in class cn.hutool.cron.task.CronTask
-
获取表达式
- getPattern(int) - Method in class cn.hutool.cron.TaskTable
-
- getPattern(String) - Method in class cn.hutool.cron.TaskTable
-
- getPattern() - Method in class cn.hutool.http.useragent.UserAgentInfo
-
获取匹配模式
- getPatterns() - Method in class cn.hutool.cron.TaskTable
-
获取所有定时任务表达式,返回不可变列表,即列表不可修改
- getPhysicalRowCount() - Method in class cn.hutool.poi.excel.ExcelBase
-
获取有记录的行数,计算方法为:
- getPicMap(Workbook, int) - Static method in class cn.hutool.poi.excel.ExcelPicUtil
-
获取工作簿指定sheet中图片列表
- getPinyin(char) - Method in class cn.hutool.extra.pinyin.engine.bopomofo4j.Bopomofo4jEngine
-
- getPinyin(String, String) - Method in class cn.hutool.extra.pinyin.engine.bopomofo4j.Bopomofo4jEngine
-
- getPinyin(char) - Method in class cn.hutool.extra.pinyin.engine.jpinyin.JPinyinEngine
-
- getPinyin(String, String) - Method in class cn.hutool.extra.pinyin.engine.jpinyin.JPinyinEngine
-
- getPinyin(char) - Method in class cn.hutool.extra.pinyin.engine.pinyin4j.Pinyin4jEngine
-
- getPinyin(String, String) - Method in class cn.hutool.extra.pinyin.engine.pinyin4j.Pinyin4jEngine
-
- getPinyin(char) - Method in class cn.hutool.extra.pinyin.engine.tinypinyin.TinyPinyinEngine
-
- getPinyin(String, String) - Method in class cn.hutool.extra.pinyin.engine.tinypinyin.TinyPinyinEngine
-
- getPinyin(char) - Method in interface cn.hutool.extra.pinyin.PinyinEngine
-
如果c为汉字,则返回大写拼音;如果c不是汉字,则返回String.valueOf(c)
- getPinyin(String, String) - Method in interface cn.hutool.extra.pinyin.PinyinEngine
-
获取字符串对应的完整拼音,非中文返回原字符
- getPinyin(char) - Static method in class cn.hutool.extra.pinyin.PinyinUtil
-
如果c为汉字,则返回大写拼音;如果c不是汉字,则返回String.valueOf(c)
- getPinyin(String) - Static method in class cn.hutool.extra.pinyin.PinyinUtil
-
将输入字符串转为拼音,每个字之间的拼音使用空格分隔
- getPinyin(String, String) - Static method in class cn.hutool.extra.pinyin.PinyinUtil
-
将输入字符串转为拼音,以字符为单位插入分隔符
- getPkNames() - Method in class cn.hutool.db.meta.Table
-
获取主键列表
- getPlatform() - Method in class cn.hutool.http.useragent.UserAgent
-
获取平台类型
- getPointBaseCentre(Rectangle, int, int) - Static method in class cn.hutool.core.img.ImgUtil
-
获得修正后的矩形坐标位置,变为以背景中心为基准坐标(即x,y == 0,0时,处于背景正中)
- getPort() - Method in class cn.hutool.core.net.url.UrlBuilder
-
获取端口,默认-1
- getPort() - Method in class cn.hutool.extra.ftp.FtpConfig
-
- getPort() - Method in class cn.hutool.extra.mail.MailAccount
-
获得SMTP服务端口
- getPort() - Method in class cn.hutool.extra.ssh.Connector
-
获得端口号
- getPrefix(File) - Static method in class cn.hutool.core.io.file.FileNameUtil
-
返回主文件名
- getPrefix(String) - Static method in class cn.hutool.core.io.file.FileNameUtil
-
返回主文件名
- getPrefix(File) - Static method in class cn.hutool.core.io.FileUtil
-
返回主文件名
- getPrefix(String) - Static method in class cn.hutool.core.io.FileUtil
-
返回主文件名
- getPrefix(String) - Method in class cn.hutool.core.util.XmlUtil.UniversalNamespaceCache
-
This method is not needed in this context, but can be implemented in a
similar way.
- getPrefixes(String) - Method in class cn.hutool.core.util.XmlUtil.UniversalNamespaceCache
-
- getPreWrapQuote() - Method in class cn.hutool.db.sql.Wrapper
-
- getPrintWriter(boolean) - Method in class cn.hutool.core.io.file.FileWriter
-
获得一个打印写入对象,可以有print
- getPrintWriter(String, String, boolean) - Static method in class cn.hutool.core.io.FileUtil
-
获得一个打印写入对象,可以有print
- getPrintWriter(String, Charset, boolean) - Static method in class cn.hutool.core.io.FileUtil
-
获得一个打印写入对象,可以有print
- getPrintWriter(File, String, boolean) - Static method in class cn.hutool.core.io.FileUtil
-
获得一个打印写入对象,可以有print
- getPrintWriter(File, Charset, boolean) - Static method in class cn.hutool.core.io.FileUtil
-
获得一个打印写入对象,可以有print
- getPrivateKey() - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
获得私钥
- getPrivateKeyBase64() - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
获得私钥
- getProcessor() - Static method in class cn.hutool.system.oshi.OshiUtil
-
获取CPU(处理器)相关信息,比如CPU负载等
- getProcessorCount() - Static method in class cn.hutool.core.util.RuntimeUtil
-
获得JVM可用的处理器数量(一般为CPU核心数)
- getProp(String) - Method in class cn.hutool.core.bean.BeanDesc
-
获取属性,如果不存在返回null
- getProp(String) - Static method in class cn.hutool.setting.dialect.Props
-
获得Classpath下的Properties文件
- getProp(String, String) - Static method in class cn.hutool.setting.dialect.Props
-
获得Classpath下的Properties文件
- getProp(String, Charset) - Static method in class cn.hutool.setting.dialect.Props
-
获得Classpath下的Properties文件
- getProperties(String) - Method in class cn.hutool.setting.Setting
-
- getProperty(Object, String) - Static method in class cn.hutool.core.bean.BeanUtil
-
解析Bean中的属性值
- getProperty(String) - Static method in class cn.hutool.extra.spring.SpringUtil
-
获取配置文件配置项的值
- getPropertyDescriptor(Class<?>, String) - Static method in class cn.hutool.core.bean.BeanUtil
-
获得Bean类属性描述,大小写敏感
- getPropertyDescriptor(Class<?>, String, boolean) - Static method in class cn.hutool.core.bean.BeanUtil
-
获得Bean类属性描述
- getPropertyDescriptorMap(Class<?>, boolean) - Method in enum cn.hutool.core.bean.BeanInfoCache
-
- getPropertyDescriptorMap(Class<?>, boolean, Func0<Map<String, PropertyDescriptor>>) - Method in enum cn.hutool.core.bean.BeanInfoCache
-
- getPropertyDescriptorMap(Class<?>, boolean) - Static method in class cn.hutool.core.bean.BeanUtil
-
- getPropertyDescriptors(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
-
获得Bean字段描述数组
- getPropertyName() - Method in class cn.hutool.extra.validation.BeanValidationResult.ErrorMessage
-
- getPropMap(boolean) - Method in class cn.hutool.core.bean.BeanDesc
-
获取字段名-字段属性Map
- getProps() - Method in class cn.hutool.core.bean.BeanDesc
-
获取字段属性列表
- getProps(String) - Method in class cn.hutool.setting.Setting
-
获取group分组下所有配置键值对,组成新的
Props
- getProtocolPackages() - Method in class cn.hutool.system.JavaRuntimeInfo
-
取得当前JRE的URL协议packages列表(取自系统属性:java.library.path
)。
- getProvider() - Method in enum cn.hutool.crypto.GlobalBouncyCastleProvider
-
- getProvince() - Method in class cn.hutool.core.util.IdcardUtil.Idcard
-
获取省份名称
- getProvinceByIdCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
根据身份编号获取户籍省份,只支持15或18位身份证号码
- getProvinceCode() - Method in class cn.hutool.core.util.IdcardUtil.Idcard
-
获取省份代码
- getProxy() - Method in class cn.hutool.http.HttpConnection
-
获得代理
- getPublicKey() - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
获得公钥
- getPublicKeyBase64() - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
获得公钥
- getPublicMethod(Class<?>, String, Class<?>...) - Static method in class cn.hutool.core.util.ClassUtil
-
查找指定Public方法 如果找不到对应的方法或方法不为public的则返回null
- getPublicMethod(Class<?>, String, Class<?>...) - Static method in class cn.hutool.core.util.ReflectUtil
-
查找指定Public方法 如果找不到对应的方法或方法不为public的则返回null
- getPublicMethodNames(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
获得指定类中的Public方法名
去重重载的方法
- getPublicMethodNames(Class<?>) - Static method in class cn.hutool.core.util.ReflectUtil
-
获得指定类本类及其父类中的Public方法名
去重重载的方法
- getPublicMethods(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
获得本类及其父类所有Public方法
- getPublicMethods(Class<?>, Filter<Method>) - Static method in class cn.hutool.core.util.ClassUtil
-
获得指定类过滤后的Public方法列表
- getPublicMethods(Class<?>, Method...) - Static method in class cn.hutool.core.util.ClassUtil
-
获得指定类过滤后的Public方法列表
- getPublicMethods(Class<?>, String...) - Static method in class cn.hutool.core.util.ClassUtil
-
获得指定类过滤后的Public方法列表
- getPublicMethods(Class<?>) - Static method in class cn.hutool.core.util.ReflectUtil
-
获得本类及其父类所有Public方法
- getPublicMethods(Class<?>, Filter<Method>) - Static method in class cn.hutool.core.util.ReflectUtil
-
获得指定类过滤后的Public方法列表
- getPublicMethods(Class<?>, Method...) - Static method in class cn.hutool.core.util.ReflectUtil
-
获得指定类过滤后的Public方法列表
- getPublicMethods(Class<?>, String...) - Static method in class cn.hutool.core.util.ReflectUtil
-
获得指定类过滤后的Public方法列表
- getPublicParams(ECPrivateKeyParameters) - Static method in class cn.hutool.crypto.ECKeyUtil
-
根据私钥参数获取公钥参数
- getPushBackReader(Reader, int) - Static method in class cn.hutool.core.io.IoUtil
-
- getPythonEngine() - Static method in class cn.hutool.script.ScriptUtil
-
获得单例的Python引擎
需要引入org.python:jython
- getQ(boolean) - Method in class cn.hutool.crypto.asymmetric.SM2
-
获得公钥Q值(编码后的公钥)
- getQrVersion() - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置二维码中的信息量,可设置0-40的整数,二维码图片也会根据qrVersion而变化,0表示根据传入信息自动变化
- getQuery() - Method in class cn.hutool.core.net.url.UrlBuilder
-
获取查询语句,例如a=1&b=2
- getQuery() - Method in class cn.hutool.http.server.HttpServerRequest
-
获取请求参数
- getQueryMap() - Method in class cn.hutool.core.net.url.UrlQuery
-
获得查询的Map
- getQueryStr() - Method in class cn.hutool.core.net.url.UrlBuilder
-
获取查询语句,例如a=1&b=2
- getQueryTimeout() - Method in class cn.hutool.db.sql.StatementWrapper
-
- getQuietly(Map<?, ?>, Object, Class<T>, T) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为指定类型,此方法在转换失败后不抛异常,返回null。
- getQuietly(Map<?, ?>, Object, TypeReference<T>, T) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为指定类型,转换失败后返回null,不抛异常
- getRandom() - Static method in class cn.hutool.core.util.RandomUtil
-
获取随机数生成器对象
ThreadLocalRandom是JDK 7之后提供并发产生随机数,能够解决多个线程发生的竞争争夺。
- getRandom(boolean) - Static method in class cn.hutool.core.util.RandomUtil
-
获取随机数产生器
- getRatio() - Method in class cn.hutool.extra.qrcode.QrConfig
-
获取二维码中的Logo缩放的比例系数,如5表示长宽最小值的1/5
- getRaw() - Method in class cn.hutool.core.map.MapWrapper
-
获取原始的Map
- getRaw() - Method in class cn.hutool.cron.task.CronTask
-
获取原始作业
- getRaw() - Method in class cn.hutool.db.ds.DataSourceWrapper
-
获取原始的数据源
- getRaw() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- getRawEngine() - Method in class cn.hutool.extra.template.engine.velocity.VelocityEngine
-
获取原始的引擎对象
- getRawFieldName() - Method in class cn.hutool.core.bean.PropDesc
-
获取字段名称
- getRawList() - Method in class cn.hutool.core.text.csv.CsvRow
-
获取本行所有字段值列表
- getRawServer() - Method in class cn.hutool.http.server.SimpleServer
-
获得原始HttpServer对象
- getRawType() - Method in class cn.hutool.core.lang.ParameterizedTypeImpl
-
- getReadBuffer() - Method in class cn.hutool.socket.aio.AioSession
-
获取读取Buffer
- getReadBufferSize() - Method in class cn.hutool.socket.SocketConfig
-
获取读取缓存大小
- getReader(String) - Static method in class cn.hutool.core.img.ImgUtil
-
- getReader() - Method in class cn.hutool.core.io.file.FileReader
-
获得一个文件读取器
- getReader(Path, Charset) - Static method in class cn.hutool.core.io.file.PathUtil
-
获得一个文件读取器
- getReader(File, String) - Static method in class cn.hutool.core.io.FileUtil
-
获得一个文件读取器
- getReader(File, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
获得一个文件读取器
- getReader(String, String) - Static method in class cn.hutool.core.io.FileUtil
-
获得一个文件读取器
- getReader(String, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
获得一个文件读取器
- getReader(InputStream, String) - Static method in class cn.hutool.core.io.IoUtil
-
获得一个文件读取器
- getReader(BOMInputStream) - Static method in class cn.hutool.core.io.IoUtil
-
- getReader(InputStream, Charset) - Static method in class cn.hutool.core.io.IoUtil
-
获得一个Reader
- getReader(Reader) - Static method in class cn.hutool.core.io.IoUtil
-
- getReader(Charset) - Method in class cn.hutool.core.io.resource.CharSequenceResource
-
- getReader(Charset) - Method in class cn.hutool.core.io.resource.FileObjectResource
-
- getReader(Charset) - Method in class cn.hutool.core.io.resource.MultiResource
-
- getReader(Charset) - Method in interface cn.hutool.core.io.resource.Resource
-
获得Reader
- getReader(String, Charset) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
- getReader(CsvReadConfig) - Static method in class cn.hutool.core.text.csv.CsvUtil
-
获取CSV读取器
- getReader() - Static method in class cn.hutool.core.text.csv.CsvUtil
-
获取CSV读取器
- getReader(CharSequence) - Static method in class cn.hutool.core.util.StrUtil
-
获得StringReader
- getReader(URL, Charset) - Static method in class cn.hutool.core.util.URLUtil
-
获得Reader
- getReader(Object, String) - Method in class cn.hutool.extra.template.engine.freemarker.SimpleStringTemplateLoader
-
- getReader(String) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
获取Excel读取器,通过调用
ExcelReader
的read或readXXX方法读取Excel内容
默认调用第一个sheet
- getReader(File) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
获取Excel读取器,通过调用
ExcelReader
的read或readXXX方法读取Excel内容
默认调用第一个sheet
- getReader(String, int) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getReader(File, int) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getReader(File, String) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getReader(InputStream) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
获取Excel读取器,通过调用
ExcelReader
的read或readXXX方法读取Excel内容
默认调用第一个sheet,读取结束自动关闭流
- getReader(InputStream, boolean) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
获取Excel读取器,通过调用
ExcelReader
的read或readXXX方法读取Excel内容
默认调用第一个sheet
- getReader(InputStream, int) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
获取Excel读取器,通过调用
ExcelReader
的read或readXXX方法读取Excel内容
读取结束自动关闭流
- getReader(InputStream, int, boolean) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getReader(InputStream, String) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
获取Excel读取器,通过调用
ExcelReader
的read或readXXX方法读取Excel内容
读取结束自动关闭流
- getReader(InputStream, String, boolean) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getReadTimeout() - Method in class cn.hutool.socket.SocketConfig
-
获取读取超时时长,小于等于0表示默认
- getRectangle(String, Font) - Static method in class cn.hutool.core.img.ImgUtil
-
获取font的样式应用在str上的整个矩形
- getRectangle() - Static method in class cn.hutool.core.swing.ScreenUtil
-
获取屏幕的矩形
- getRemoteAddress() - Method in class cn.hutool.socket.aio.AioSession
-
获取远程主机(客户端)地址和端口
- getRemoteAddress(AsynchronousSocketChannel) - Static method in class cn.hutool.socket.SocketUtil
-
获取远程端的地址信息,包括host和端口
null表示channel为null或者远程主机未连接
- getResource(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
获得资源的URL
路径用/分隔,例如:
- getResource(String, Class<?>) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
获得资源相对路径对应的URL
- getResourceIter(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
获取指定路径下的资源Iterator
路径格式必须为目录格式,用/分隔,例如:
- getResourceMode() - Method in class cn.hutool.extra.template.TemplateConfig
-
获取模板资源加载方式
- getResourceObj(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
- getResourceReader(String, String) - Method in class cn.hutool.extra.template.engine.velocity.SimpleStringResourceLoader
-
- getResources(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
获取指定路径下的资源列表
路径格式必须为目录格式,用/分隔,例如:
- getResources(String) - Static method in class cn.hutool.core.util.ClassUtil
-
获取指定路径下的资源列表
路径格式必须为目录格式,用/分隔,例如:
- getResourceStream(String) - Method in class cn.hutool.extra.template.engine.velocity.SimpleStringResourceLoader
-
获取资源流
- getResourceURL(String) - Static method in class cn.hutool.core.util.ClassUtil
-
获得资源的URL
路径用/分隔,例如:
- getResourceUrl(String, Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
获得资源相对路径对应的URL
- getResult(Process) - Static method in class cn.hutool.core.util.RuntimeUtil
-
获取命令执行结果,使用系统默认编码,,获取后销毁进程
- getResult(Process, Charset) - Static method in class cn.hutool.core.util.RuntimeUtil
-
获取命令执行结果,获取后销毁进程
- getResult() - Method in class cn.hutool.poi.excel.cell.FormulaCellValue
-
获取结果
- getResultLines(Process) - Static method in class cn.hutool.core.util.RuntimeUtil
-
获取命令执行结果,使用系统默认编码,获取后销毁进程
- getResultLines(Process, Charset) - Static method in class cn.hutool.core.util.RuntimeUtil
-
获取命令执行结果,使用系统默认编码,获取后销毁进程
- getResultSet() - Method in class cn.hutool.db.sql.StatementWrapper
-
- getResultSetConcurrency() - Method in class cn.hutool.db.sql.StatementWrapper
-
- getResultSetHoldability() - Method in class cn.hutool.db.sql.StatementWrapper
-
- getResultSetType() - Method in class cn.hutool.db.sql.StatementWrapper
-
- getRetentionPolicy(Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
获取注解类的保留时间,可选值 SOURCE(源码时),CLASS(编译时),RUNTIME(运行时),默认为 CLASS
- getReturnClass(Method) - Static method in class cn.hutool.core.util.TypeUtil
-
解析方法的返回类型类列表
- getReturnType(Method) - Static method in class cn.hutool.core.util.TypeUtil
-
获取方法的返回值类型
获取方法的GenericReturnType
- getRichStringCellValue() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- getRidByIndex(int) - Method in class cn.hutool.poi.excel.sax.SheetRidReader
-
通过sheet的序号获取rid
- getRidByIndexBase0(int) - Method in class cn.hutool.poi.excel.sax.SheetRidReader
-
通过sheet的序号获取rid
- getRidByName(String) - Method in class cn.hutool.poi.excel.sax.SheetRidReader
-
根据sheet name获取rid,从1开始
- getRidByNameBase0(String) - Method in class cn.hutool.poi.excel.sax.SheetRidReader
-
根据sheet name获取rid,从0开始
- getRidBySheetId(int) - Method in class cn.hutool.poi.excel.sax.SheetRidReader
-
根据sheetId获取rid,从1开始
- getRidBySheetIdBase0(int) - Method in class cn.hutool.poi.excel.sax.SheetRidReader
-
根据sheetId获取rid,从0开始
- getRootCause(Throwable) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
获取异常链中最尾端的异常,即异常最早发生的异常对象。
此方法通过调用
Throwable.getCause()
直到没有cause为止,如果异常本身没有cause,返回异常本身
传入null返回也为null
- getRootCauseMessage(Throwable) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
获取异常链中最尾端的异常的消息,消息格式为:{SimpleClassName}: {ThrowableMessage}
- getRootElement(Document) - Static method in class cn.hutool.core.util.XmlUtil
-
获得XML文档根节点
- getRootStackElement() - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
获取入口堆栈信息
- getRow(int) - Method in class cn.hutool.core.text.csv.CsvData
-
获取指定行,从0开始
- getRow(int, byte[]) - Method in class cn.hutool.extra.qrcode.BufferedImageLuminanceSource
-
- getRow() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- getRowCount() - Method in class cn.hutool.core.text.csv.CsvData
-
总行数
- getRowCount() - Method in class cn.hutool.poi.excel.ExcelBase
-
获取总行数,计算方法为:
- getRowEngine() - Method in class cn.hutool.extra.template.engine.velocity.VelocityEngine
-
- getRowId() - Method in class cn.hutool.db.Entity
-
获得rowid
- getRowId(String) - Method in class cn.hutool.db.Entity
-
获得rowid
- getRowIndex() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- getRows() - Method in class cn.hutool.core.text.csv.CsvData
-
获取所有行
- getRSAPublicKey(PrivateKey) - Static method in class cn.hutool.crypto.KeyUtil
-
通过RSA私钥生成RSA公钥
- getRSAPublicKey(String, String) - Static method in class cn.hutool.crypto.KeyUtil
-
获得RSA公钥对象
- getRSAPublicKey(BigInteger, BigInteger) - Static method in class cn.hutool.crypto.KeyUtil
-
获得RSA公钥对象
- getRunner() - Method in class cn.hutool.db.AbstractDb
-
- getRunner() - Method in class cn.hutool.db.Session
-
- getRuntime() - Method in class cn.hutool.system.RuntimeInfo
-
获得运行时对象
- getRuntimeInfo() - Static method in class cn.hutool.system.SystemUtil
-
取得Runtime的信息。
- getRuntimeMXBean() - Static method in class cn.hutool.system.SystemUtil
-
返回Java虚拟机运行时系统相关属性
- getScheduler() - Static method in class cn.hutool.cron.CronUtil
-
- getSchema() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- getSchema(Connection) - Static method in class cn.hutool.db.meta.MetaUtil
-
获取schema,获取失败返回null
- getSchema() - Method in class cn.hutool.db.meta.Table
-
获取 schema
- getScheme() - Method in class cn.hutool.core.net.url.UrlBuilder
-
获取协议,例如http
- getSchemeWithDefault() - Method in class cn.hutool.core.net.url.UrlBuilder
-
获取协议,例如http,如果用户未定义协议,使用默认的http协议
- getScript(String) - Static method in class cn.hutool.script.ScriptUtil
-
- getSecondValue() - Method in class cn.hutool.db.sql.Condition
-
获得between 类型中第二个值
- getSecretKey() - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
获得对称密钥
- getSecretKeyFactory(String) - Static method in class cn.hutool.crypto.KeyUtil
-
- getSecureRandom() - Static method in class cn.hutool.core.util.RandomUtil
-
获取SHA1PRNG的
SecureRandom
,类提供加密的强随机数生成器 (RNG)
注意:此方法获取的是伪随机序列发生器PRNG(pseudo-random number generator)
- getSecureRandom(byte[]) - Static method in class cn.hutool.core.util.RandomUtil
-
获取SHA1PRNG的
SecureRandom
,类提供加密的强随机数生成器 (RNG)
注意:此方法获取的是伪随机序列发生器PRNG(pseudo-random number generator)
- getSegment(int) - Method in class cn.hutool.core.net.url.UrlPath
-
获得指定节点
- getSegments() - Method in class cn.hutool.core.net.url.UrlPath
-
获取path的节点列表
- getSelector() - Method in class cn.hutool.socket.nio.NioServer
-
- getSemaphore() - Method in class cn.hutool.core.thread.SemaphoreRunnable
-
获得信号量
- getSensors() - Static method in class cn.hutool.system.oshi.OshiUtil
-
获取传感器相关信息,例如CPU温度、风扇转速等,传感器可能有多个
- getSerializer(Type) - Static method in class cn.hutool.json.serialize.GlobalSerializeMapping
-
获取自定义的序列化器,如果未定义返回null
- getServerFactory() - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
获取 FtpServerFactory
,用于设置FTP服务器相关信息
- getServerLanguageCode() - Method in class cn.hutool.extra.ftp.FtpConfig
-
- getSession(MailAccount, boolean) - Static method in class cn.hutool.extra.mail.MailUtil
-
根据配置文件,获取邮件客户端会话
- getSession(String, int, String, String) - Method in enum cn.hutool.extra.ssh.JschSessionPool
-
获得一个SSH跳板机会话,重用已经使用的会话
- getSession(String, int, String, String, byte[]) - Method in enum cn.hutool.extra.ssh.JschSessionPool
-
获得一个SSH跳板机会话,重用已经使用的会话
- getSession(String, int, String, String) - Static method in class cn.hutool.extra.ssh.JschUtil
-
获得一个SSH会话,重用已经使用的会话
- getSession(String, int, String, String, byte[]) - Static method in class cn.hutool.extra.ssh.JschUtil
-
获得一个SSH会话,重用已经使用的会话
- getSetter(String) - Method in class cn.hutool.core.bean.BeanDesc
-
获取Setter方法,如果不存在返回null
- getSetter() - Method in class cn.hutool.core.bean.PropDesc
-
获取Setter方法,可能为null
- getSetting() - Method in class cn.hutool.db.ds.AbstractDSFactory
-
获取配置,用于自定义添加配置项
- getSetting(String) - Static method in class cn.hutool.setting.profile.GlobalProfile
-
获得全局的当前环境下对应的配置文件
- getSetting(String) - Method in class cn.hutool.setting.profile.Profile
-
获取当前环境下的配置文件
- getSetting(String) - Method in class cn.hutool.setting.Setting
-
获取group分组下所有配置键值对,组成新的Setting
- getSettingPath() - Method in class cn.hutool.setting.Setting
-
获得设定文件的路径
- getSettingUrl() - Method in class cn.hutool.setting.Setting
-
获得设定文件的URL
- getSevenZOutputFile() - Method in class cn.hutool.extra.compress.archiver.SevenZArchiver
-
获取SevenZOutputFile
以便自定义相关设置
- getSHA1PRNGRandom(byte[]) - Static method in class cn.hutool.core.util.RandomUtil
-
获取SHA1PRNG的
SecureRandom
,类提供加密的强随机数生成器 (RNG)
注意:此方法获取的是伪随机序列发生器PRNG(pseudo-random number generator),在Linux下噪声生成时可能造成较长时间停顿。
see: http://ifeve.com/jvm-random-and-entropy-source/
- getSheet() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- getSheet() - Method in class cn.hutool.poi.excel.ExcelBase
-
获取当前Sheet
- getSheetCount() - Method in class cn.hutool.poi.excel.ExcelBase
-
返回工作簿表格数
- getSheetIndex() - Method in class cn.hutool.poi.excel.sax.Excel03SaxReader
-
获得Sheet序号,如果处理所有sheet,获得最大的Sheet序号,从0开始
- getSheetName() - Method in class cn.hutool.poi.excel.sax.Excel03SaxReader
-
获得Sheet名,如果处理所有sheet,获得后一个Sheet名,从0开始
- getSheetNames() - Method in class cn.hutool.poi.excel.ExcelBase
-
获取表名列表
- getSheets() - Method in class cn.hutool.poi.excel.ExcelBase
-
获取此工作簿所有Sheet表
- getShort(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
-
获取short型属性值
- getShort(K, Short) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
-
获取short型属性值
若获得的值为不可见字符,使用默认值
- getShort(K, Short) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getShort(K, Short) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getShort(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
-
获取short型属性值
无值或获取错误返回null
- getShort(String) - Method in class cn.hutool.core.lang.Dict
-
- getShort(Map<?, ?>, Object) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为Short
- getShort(Map<?, ?>, Object, Short) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为Short
- getShort(String, Short) - Method in class cn.hutool.setting.dialect.Props
-
- getShort(String) - Method in class cn.hutool.setting.dialect.Props
-
- getShortByGroup(String, String) - Method in interface cn.hutool.core.getter.GroupedTypeGetter
-
获取short型属性值
- getShortClassName(String) - Static method in class cn.hutool.core.util.ClassUtil
-
获取完整类名的短格式如:
cn.hutool.core.util.StrUtil -》c.h.c.u.StrUtil
- getShortList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
-
获取Short型属性值列表
- getShorts(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
-
获取Short型属性值数组
- getShorts(String, Short[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
-
获取Short型属性值数组
- getSignature() - Method in class cn.hutool.crypto.asymmetric.Sign
-
获得签名对象
- getSimpleMessage(Throwable) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
获得消息,调用异常类的getMessage方法
- getSimpleName() - Method in class cn.hutool.core.bean.BeanDesc
-
获取Bean的简单类名
- getSize() - Method in class cn.hutool.db.meta.Column
-
获取大小或数据长度
- getSmtpProps() - Method in class cn.hutool.extra.mail.MailAccount
-
获得SMTP相关信息
- getSnowflake(long, long) - Static method in class cn.hutool.core.util.IdUtil
-
获取单例的Twitter的Snowflake 算法生成器对象
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
- getSocketFactoryClass() - Method in class cn.hutool.extra.mail.MailAccount
-
获取指定实现javax.net.SocketFactory接口的类的名称,这个类将被用于创建SMTP的套接字
- getSocketFactoryPort() - Method in class cn.hutool.extra.mail.MailAccount
-
获取指定的端口连接到在使用指定的套接字工厂。如果没有设置,将使用默认端口
- getSoTimeout() - Method in class cn.hutool.extra.ftp.FtpConfig
-
- getSql() - Method in class cn.hutool.db.sql.NamedSql
-
获取SQL
- getSrc() - Method in class cn.hutool.core.lang.copier.SrcToDestCopier
-
获取源
- getSslProtocols() - Method in class cn.hutool.extra.mail.MailAccount
-
获取SSL协议,多个协议用空格分隔
- getStackElement(int) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
获取指定层的堆栈信息
- getStackElements() - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
获取当前栈信息
- getStackTrace() - Static method in class cn.hutool.core.thread.ThreadUtil
-
- getStackTraceElement(int) - Static method in class cn.hutool.core.thread.ThreadUtil
-
获得堆栈项
- getStart(int, int) - Static method in class cn.hutool.core.util.PageUtil
-
将页数和每页条目数转换为开始位置
此方法用于不包括结束位置的分页方法
例如:
- getStartEnd() - Method in class cn.hutool.db.Page
-
开始位置和结束位置
例如:
- getStartIndex() - Method in class cn.hutool.core.lang.DefaultSegment
-
- getStartIndex() - Method in interface cn.hutool.core.lang.Segment
-
获取起始位置
- getStartIndex() - Method in class cn.hutool.db.Page
-
- getStartOffset() - Method in class cn.hutool.extra.tokenizer.engine.analysis.AnalysisWord
-
- getStartOffset() - Method in class cn.hutool.extra.tokenizer.engine.ansj.AnsjWord
-
- getStartOffset() - Method in class cn.hutool.extra.tokenizer.engine.hanlp.HanLPWord
-
- getStartOffset() - Method in class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerWord
-
- getStartOffset() - Method in class cn.hutool.extra.tokenizer.engine.jcseg.JcsegWord
-
- getStartOffset() - Method in class cn.hutool.extra.tokenizer.engine.jieba.JiebaWord
-
- getStartOffset() - Method in class cn.hutool.extra.tokenizer.engine.mmseg.MmsegWord
-
- getStartOffset() - Method in class cn.hutool.extra.tokenizer.engine.mynlp.MynlpWord
-
- getStartOffset() - Method in class cn.hutool.extra.tokenizer.engine.word.WordWord
-
- getStartOffset() - Method in interface cn.hutool.extra.tokenizer.Word
-
获取本词的起始位置
- getStartPosition() - Method in class cn.hutool.db.Page
-
- getStaticFieldValue(Field) - Static method in class cn.hutool.core.util.ReflectUtil
-
获取静态字段值
- getStatus() - Method in exception cn.hutool.core.exceptions.StatefulException
-
- getStatus() - Method in class cn.hutool.http.HttpResponse
-
获取状态码
- getStr(K) - Method in interface cn.hutool.core.getter.BasicTypeGetter
-
获取字符串型属性值
- getStr(K, String) - Method in interface cn.hutool.core.getter.OptBasicTypeGetter
-
获取字符串型属性值
若获得的值为不可见字符,使用默认值
- getStr(K, String) - Method in interface cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getStr(K) - Method in interface cn.hutool.core.getter.OptNullBasicTypeGetter
-
获取字符串型属性值
无值或获取错误返回null
- getStr(String) - Method in class cn.hutool.core.lang.Dict
-
- getStr(Map<?, ?>, Object) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为字符串
- getStr(Map<?, ?>, Object, String) - Static method in class cn.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为字符串
- getStr() - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
-
从剪贴板获取文本
- getStr(Transferable) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
-
- getStr(String) - Method in class cn.hutool.db.Entity
-
- getStr(String, Charset) - Method in class cn.hutool.db.Entity
-
获得字符串值
支持Clob、Blob、RowId
- getStr(String) - Method in class cn.hutool.db.nosql.redis.RedisDS
-
从Redis中获取值
- getStr(String, String) - Method in class cn.hutool.setting.AbsSetting
-
- getStr(String, String, String) - Method in class cn.hutool.setting.AbsSetting
-
获得字符串类型值
- getStr(String, String) - Method in class cn.hutool.setting.dialect.Props
-
- getStr(String) - Method in class cn.hutool.setting.dialect.Props
-
- getStrByGroup(String, String) - Method in interface cn.hutool.core.getter.GroupedTypeGetter
-
获取字符串型属性值
- getStream() - Method in class cn.hutool.core.io.resource.BytesResource
-
- getStream() - Method in class cn.hutool.core.io.resource.CharSequenceResource
-
- getStream() - Method in class cn.hutool.core.io.resource.FileObjectResource
-
- getStream() - Method in class cn.hutool.core.io.resource.FileResource
-
- getStream() - Method in class cn.hutool.core.io.resource.InputStreamResource
-
- getStream() - Method in class cn.hutool.core.io.resource.MultiResource
-
- getStream() - Method in interface cn.hutool.core.io.resource.Resource
-
- getStream(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
- getStream() - Method in class cn.hutool.core.io.resource.UrlResource
-
- getStream(URL) - Static method in class cn.hutool.core.util.URLUtil
-
从URL中获取流
- getStream(ZipFile, ZipEntry) - Static method in class cn.hutool.core.util.ZipUtil
-
- getStreamSafe(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
- getStrEscaped(K) - Method in interface cn.hutool.json.JSONGetter
-
获取字符串类型值,并转义不可见字符,如'\n'换行符会被转义为字符串"\n"
- getStrEscaped(K, String) - Method in interface cn.hutool.json.JSONGetter
-
获取字符串类型值,并转义不可见字符,如'\n'换行符会被转义为字符串"\n"
- getString(InputStream, Charset, boolean) - Static method in class cn.hutool.http.HttpUtil
-
从流中读取内容
首先尝试使用charset编码读取内容(如果为空默认UTF-8),如果isGetCharsetFromContent为true,则通过正则在正文中获取编码信息,转换为指定编码;
- getString(byte[], Charset, boolean) - Static method in class cn.hutool.http.HttpUtil
-
从流中读取内容
首先尝试使用charset编码读取内容(如果为空默认UTF-8),如果isGetCharsetFromContent为true,则通过正则在正文中获取编码信息,转换为指定编码;
- getStringCellValue() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- getStrings(String) - Method in class cn.hutool.setting.AbsSetting
-
获得数组型
- getStrings(String, String) - Method in class cn.hutool.setting.AbsSetting
-
获得数组型
- getStrings(String, String, String) - Method in class cn.hutool.setting.AbsSetting
-
获得数组型
- getStringsWithDefault(String, String[]) - Method in class cn.hutool.setting.AbsSetting
-
获得数组型
- getStringURI(CharSequence) - Static method in class cn.hutool.core.util.URLUtil
-
获取string协议的URL,类似于string:///xxxxx
- getStrList(String) - Method in interface cn.hutool.core.getter.ListTypeGetter
-
获取String型属性值列表
- getStrNotEmpty(String, String, String) - Method in class cn.hutool.setting.AbsSetting
-
获得字符串类型值,如果字符串为null
或者""返回默认值
- getStrs(String) - Method in interface cn.hutool.core.getter.ArrayTypeGetter
-
获取String型属性值数组
- getStrs(String, String[]) - Method in interface cn.hutool.core.getter.OptArrayTypeGetter
-
获取String型属性值数组
- getStrTemplate(String) - Static method in class cn.hutool.extra.template.engine.beetl.BeetlUtil
-
Deprecated.
获得字符串模板
- getStyleSet() - Method in class cn.hutool.poi.excel.ExcelWriter
-
获取样式集,样式集可以自定义包括:
- getSuffix(File) - Static method in class cn.hutool.core.io.file.FileNameUtil
-
获取文件后缀名,扩展名不带“.”
- getSuffix(String) - Static method in class cn.hutool.core.io.file.FileNameUtil
-
获得文件后缀名,扩展名不带“.”
- getSuffix(File) - Static method in class cn.hutool.core.io.FileUtil
-
获取文件后缀名,扩展名不带“.”
- getSuffix(String) - Static method in class cn.hutool.core.io.FileUtil
-
获得文件后缀名,扩展名不带“.”
- getSufWrapQuote() - Method in class cn.hutool.db.sql.Wrapper
-
- getSunArchDataModel() - Method in class cn.hutool.system.JavaRuntimeInfo
-
JVM is 32M or
64M
- getSunBoothClassPath() - Method in class cn.hutool.system.JavaRuntimeInfo
-
- getSupportedCipherSuites() - Method in class cn.hutool.http.ssl.CustomProtocolsSSLFactory
-
- getSys() - Method in class cn.hutool.system.oshi.CpuInfo
-
- getSystem() - Static method in class cn.hutool.system.oshi.OshiUtil
-
获取BIOS中计算机相关信息,比如序列号、固件版本等
- getSystemKey() - Method in class cn.hutool.extra.ftp.FtpConfig
-
- getSystemProps() - Static method in class cn.hutool.setting.dialect.PropsUtil
-
获取系统参数,例如用户在执行java命令时定义的 -Duse=hutool
- getTableMeta(DataSource, String) - Static method in class cn.hutool.db.meta.MetaUtil
-
获得表的元信息
- getTableName() - Method in class cn.hutool.db.Entity
-
- getTableName() - Method in class cn.hutool.db.meta.Column
-
获取表名
- getTableName() - Method in class cn.hutool.db.meta.Table
-
获取表名
- getTableNames() - Method in class cn.hutool.db.sql.Query
-
获得表名数组
- getTables(DataSource) - Static method in class cn.hutool.db.meta.MetaUtil
-
获得所有表名
- getTables(DataSource, TableType...) - Static method in class cn.hutool.db.meta.MetaUtil
-
获得所有表名
- getTables(DataSource, String, TableType...) - Static method in class cn.hutool.db.meta.MetaUtil
-
获得所有表名
- getTables(DataSource, String, String, TableType...) - Static method in class cn.hutool.db.meta.MetaUtil
-
获得所有表名
- getTarget() - Method in class cn.hutool.aop.interceptor.CglibInterceptor
-
- getTarget() - Method in class cn.hutool.aop.interceptor.JdkInterceptor
-
- getTarget() - Method in class cn.hutool.aop.interceptor.SpringCglibInterceptor
-
获得目标对象
- getTargetType(Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
获取注解类可以用来修饰哪些程序元素,如 TYPE, METHOD, CONSTRUCTOR, FIELD, PARAMETER 等
- getTargetType() - Method in class cn.hutool.core.convert.AbstractConverter
-
获得此类实现类的泛型类型
- getTargetType() - Method in class cn.hutool.core.convert.impl.ArrayConverter
-
- getTargetType() - Method in class cn.hutool.core.convert.impl.BeanConverter
-
- getTargetType() - Method in class cn.hutool.core.convert.impl.CastConverter
-
- getTargetType() - Method in class cn.hutool.core.convert.impl.EnumConverter
-
- getTargetType() - Method in class cn.hutool.core.convert.impl.GenericEnumConverter
-
Deprecated.
- getTargetType() - Method in class cn.hutool.core.convert.impl.MapConverter
-
- getTargetType() - Method in class cn.hutool.core.convert.impl.NumberConverter
-
- getTargetType() - Method in class cn.hutool.core.convert.impl.PrimitiveConverter
-
- getTask(JavaFileManager, DiagnosticListener<? super JavaFileObject>, Iterable<String>, Iterable<? extends JavaFileObject>) - Static method in class cn.hutool.core.compiler.CompilerUtil
-
新建编译任务
- getTask(String) - Method in class cn.hutool.cron.Scheduler
-
- getTask() - Method in class cn.hutool.cron.TaskExecutor
-
获得原始任务对象
- getTask(int) - Method in class cn.hutool.cron.TaskTable
-
- getTask(String) - Method in class cn.hutool.cron.TaskTable
-
- getTaskCount() - Method in class cn.hutool.core.date.StopWatch
-
获取任务数
- getTaskInfo() - Method in class cn.hutool.core.date.StopWatch
-
获取任务列表
- getTaskName() - Method in class cn.hutool.core.date.StopWatch.TaskInfo
-
获取任务名
- getTasks() - Method in class cn.hutool.cron.TaskTable
-
获取所有定时任务,返回不可变列表,即列表不可修改
- getTaskTable() - Method in class cn.hutool.cron.Scheduler
-
获取定时任务表,注意此方法返回非复制对象,对返回对象的修改将影响已有定时任务
- getTempDir() - Method in class cn.hutool.system.UserInfo
-
取得临时目录(取自系统属性:java.io.tmpdir
)。
- getTemplate(String) - Method in class cn.hutool.extra.template.engine.beetl.BeetlEngine
-
- getTemplate(GroupTemplate, String) - Static method in class cn.hutool.extra.template.engine.beetl.BeetlUtil
-
Deprecated.
获得模板
- getTemplate(String) - Method in class cn.hutool.extra.template.engine.enjoy.EnjoyEngine
-
- getTemplate(String) - Method in class cn.hutool.extra.template.engine.freemarker.FreemarkerEngine
-
- getTemplate(String) - Method in class cn.hutool.extra.template.engine.rythm.RythmEngine
-
- getTemplate(String) - Method in class cn.hutool.extra.template.engine.thymeleaf.ThymeleafEngine
-
- getTemplate(String) - Method in class cn.hutool.extra.template.engine.velocity.VelocityEngine
-
- getTemplate(String) - Method in interface cn.hutool.extra.template.TemplateEngine
-
获取模板
- getter - Variable in class cn.hutool.core.bean.PropDesc
-
Getter方法
- getTerm(int, int) - Static method in class cn.hutool.core.date.chinese.SolarTerms
-
根据节气修正干支月
- getText() - Method in class cn.hutool.extra.tokenizer.engine.analysis.AnalysisWord
-
- getText() - Method in class cn.hutool.extra.tokenizer.engine.ansj.AnsjWord
-
- getText() - Method in class cn.hutool.extra.tokenizer.engine.hanlp.HanLPWord
-
- getText() - Method in class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerWord
-
- getText() - Method in class cn.hutool.extra.tokenizer.engine.jcseg.JcsegWord
-
- getText() - Method in class cn.hutool.extra.tokenizer.engine.jieba.JiebaWord
-
- getText() - Method in class cn.hutool.extra.tokenizer.engine.mmseg.MmsegWord
-
- getText() - Method in class cn.hutool.extra.tokenizer.engine.mynlp.MynlpWord
-
- getText() - Method in class cn.hutool.extra.tokenizer.engine.word.WordWord
-
- getText() - Method in interface cn.hutool.extra.tokenizer.Word
-
获取单词文本
- getThreadMXBean() - Static method in class cn.hutool.system.SystemUtil
-
返回Java虚拟机线程系统相关属性
- getThreadPoolSize() - Method in class cn.hutool.socket.SocketConfig
-
获取共享线程池大小,此线程池用于接收和处理用户连接
- getThreads() - Static method in class cn.hutool.core.thread.ThreadUtil
-
获取JVM中与当前线程同组的所有线程
- getThreads(ThreadGroup) - Static method in class cn.hutool.core.thread.ThreadUtil
-
获取JVM中与当前线程同组的所有线程
使用数组二次拷贝方式,防止在线程列表获取过程中线程终止
from Voovan
- getThrowableList(Throwable) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
获取异常链上所有异常的集合,如果
Throwable
对象没有cause,返回只有一个节点的List
如果传入null,返回空集合
- getTime(String) - Method in class cn.hutool.core.lang.Dict
-
- getTime(String) - Method in class cn.hutool.db.Entity
-
- getTimeInstance(int) - Static method in class cn.hutool.core.date.format.FastDateFormat
-
获得 FastDateFormat 实例
支持缓存
- getTimeInstance(int, Locale) - Static method in class cn.hutool.core.date.format.FastDateFormat
-
获得 FastDateFormat 实例
支持缓存
- getTimeInstance(int, TimeZone) - Static method in class cn.hutool.core.date.format.FastDateFormat
-
获得 FastDateFormat 实例
支持缓存
- getTimeInstance(int, TimeZone, Locale) - Static method in class cn.hutool.core.date.format.FastDateFormat
-
获得 FastDateFormat 实例
支持缓存
- getTimeMillis() - Method in class cn.hutool.core.date.StopWatch.TaskInfo
-
获取任务花费时间(单位:毫秒)
- getTimeNanos() - Method in class cn.hutool.core.date.StopWatch.TaskInfo
-
获取任务花费时间(单位:纳秒)
- getTimeout() - Static method in class cn.hutool.http.HttpGlobalConfig
-
获取全局默认的超时时长
- getTimeSeconds() - Method in class cn.hutool.core.date.StopWatch.TaskInfo
-
获取任务花费时间(单位:秒)
- getTimestamp(String) - Method in class cn.hutool.core.lang.Dict
-
- getTimestamp(String) - Method in class cn.hutool.db.Entity
-
- getTimeStep() - Method in class cn.hutool.crypto.digest.otp.TOTP
-
获取步进
- getTimeZone() - Method in class cn.hutool.core.date.DateTime
-
获取时区
- getTimeZone() - Method in class cn.hutool.core.date.format.AbstractDateBasic
-
- getTimeZone() - Method in interface cn.hutool.core.date.format.DateBasic
-
获得时区
- getTimeZone() - Method in class cn.hutool.core.date.format.FastDateFormat
-
- getTimeZone() - Method in class cn.hutool.cron.CronConfig
-
- getTimeZone() - Method in class cn.hutool.cron.Scheduler
-
- getTmpDir() - Static method in class cn.hutool.core.io.FileUtil
-
获取临时文件目录
- getTmpDirPath() - Static method in class cn.hutool.core.io.FileUtil
-
获取临时文件路径(绝对路径)
- getTmpUploadPath() - Method in class cn.hutool.core.net.multipart.UploadSetting
-
- getTotal() - Method in class cn.hutool.db.PageResult
-
- getToTal() - Method in class cn.hutool.system.oshi.CpuInfo
-
- getTotalMemory() - Static method in class cn.hutool.core.util.RuntimeUtil
-
获得JVM已经从系统中获取到的总共的内存数,单位byte
- getTotalMemory() - Method in class cn.hutool.system.RuntimeInfo
-
获得JVM已分配内存
- getTotalMemory() - Static method in class cn.hutool.system.SystemUtil
-
获取JVM中内存总大小
- getTotalPage() - Method in class cn.hutool.db.PageResult
-
- getTotalThreadCount() - Static method in class cn.hutool.system.SystemUtil
-
获取总线程数
- getTotalTimeMillis() - Method in class cn.hutool.core.date.StopWatch
-
获取所有任务的总花费时间(毫秒)
- getTotalTimeNanos() - Method in class cn.hutool.core.date.StopWatch
-
获取所有任务的总花费时间(纳秒)
- getTotalTimeSeconds() - Method in class cn.hutool.core.date.StopWatch
-
获取所有任务的总花费时间(秒)
- getTransactionIsolation() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- getTransferData(DataFlavor) - Method in class cn.hutool.core.swing.clipboard.ImageSelection
-
获取图片
- getTransferDataFlavors() - Method in class cn.hutool.core.swing.clipboard.ImageSelection
-
获取元数据类型信息
- getType(String) - Static method in class cn.hutool.core.io.FileTypeUtil
-
根据文件流的头部信息获得文件类型
- getType(InputStream) - Static method in class cn.hutool.core.io.FileTypeUtil
-
根据文件流的头部信息获得文件类型
- getType(File) - Static method in class cn.hutool.core.io.FileTypeUtil
-
根据文件流的头部信息获得文件类型
- getType(File) - Static method in class cn.hutool.core.io.FileUtil
-
根据文件流的头部信息获得文件类型
- getType() - Method in class cn.hutool.core.lang.TypeReference
-
获取用户定义的泛型参数
- getType(int) - Static method in class cn.hutool.core.util.CharUtil
-
获取字符类型
- getType(Field) - Static method in class cn.hutool.core.util.TypeUtil
-
获取字段对应的Type类型
方法优先获取GenericType,获取不到则获取Type
- getType() - Method in class cn.hutool.db.meta.Column
-
- getTypeArgument(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
获得给定类的第一个泛型参数
- getTypeArgument(Class<?>, int) - Static method in class cn.hutool.core.util.ClassUtil
-
获得给定类的泛型参数
- getTypeArgument(Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
获得给定类的第一个泛型参数
- getTypeArgument(Object, int) - Static method in class cn.hutool.core.util.ObjectUtil
-
获得给定类的第一个泛型参数
- getTypeArgument(Type) - Static method in class cn.hutool.core.util.TypeUtil
-
获得给定类的第一个泛型参数
- getTypeArgument(Type, int) - Static method in class cn.hutool.core.util.TypeUtil
-
获得给定类的泛型参数
- getTypeArguments(Type) - Static method in class cn.hutool.core.util.TypeUtil
-
获得指定类型中所有泛型参数类型,例如:
- getTypeByPath(String) - Static method in class cn.hutool.core.io.FileTypeUtil
-
通过路径获得文件类型
- getTypeEnum() - Method in class cn.hutool.db.meta.Column
-
获取字段类型的枚举
- getTypeMap(Class<?>) - Static method in class cn.hutool.core.util.TypeUtil
-
获取泛型变量和泛型实际类型的对应关系Map,例如:
- getTypeMap() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- getTypeName() - Method in class cn.hutool.db.meta.Column
-
获取类型名称
- getTypeOfNull(PreparedStatement, int) - Static method in class cn.hutool.db.StatementUtil
-
获取null字段对应位置的数据类型
有些数据库对于null字段必须指定类型,否则会插入报错,此方法用于获取其类型,如果获取失败,使用默认的
Types.VARCHAR
- getUpdateCount() - Method in class cn.hutool.db.sql.StatementWrapper
-
- getURI() - Method in class cn.hutool.http.server.HttpServerRequest
-
获得请求URI
- getURIs() - Method in class cn.hutool.http.cookie.ThreadLocalCookieStore
-
- getUrl() - Method in class cn.hutool.core.io.resource.BytesResource
-
- getUrl() - Method in class cn.hutool.core.io.resource.CharSequenceResource
-
- getUrl() - Method in class cn.hutool.core.io.resource.FileObjectResource
-
- getUrl() - Method in class cn.hutool.core.io.resource.FileResource
-
- getUrl() - Method in class cn.hutool.core.io.resource.InputStreamResource
-
- getUrl() - Method in class cn.hutool.core.io.resource.MultiResource
-
- getUrl() - Method in interface cn.hutool.core.io.resource.Resource
-
- getUrl() - Method in class cn.hutool.core.io.resource.UrlResource
-
- getURL(String) - Static method in class cn.hutool.core.util.URLUtil
-
获得URL
- getURL(String, Class<?>) - Static method in class cn.hutool.core.util.URLUtil
-
获得URL
- getURL(File) - Static method in class cn.hutool.core.util.URLUtil
-
获得URL,常用于使用绝对路径时的情况
- getUrl() - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- getUrl() - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- getUrl() - Method in class cn.hutool.http.HttpConnection
-
获取请求URL
- getUrl() - Method in class cn.hutool.http.HttpRequest
-
获取请求URL
- getURLs(File...) - Static method in class cn.hutool.core.util.URLUtil
-
获得URL,常用于使用绝对路径时的情况
- getUsableLocalPort() - Static method in class cn.hutool.core.net.NetUtil
-
查找1024~65535范围内的可用端口
此方法只检测给定范围内的随机一个端口,检测65535-1024次
来自org.springframework.util.SocketUtils
- getUsableLocalPort(int) - Static method in class cn.hutool.core.net.NetUtil
-
查找指定范围内的可用端口,最大值为65535
此方法只检测给定范围内的随机一个端口,检测65535-minPort次
来自org.springframework.util.SocketUtils
- getUsableLocalPort(int, int) - Static method in class cn.hutool.core.net.NetUtil
-
查找指定范围内的可用端口
此方法只检测给定范围内的随机一个端口,检测maxPort-minPort次
来自org.springframework.util.SocketUtils
- getUsableLocalPorts(int, int, int) - Static method in class cn.hutool.core.net.NetUtil
-
获取多个本地可用端口
来自org.springframework.util.SocketUtils
- getUsableMemory() - Static method in class cn.hutool.core.util.RuntimeUtil
-
获得JVM最大可用内存,计算方法为:
最大内存-总内存+剩余内存
- getUsableMemory() - Method in class cn.hutool.system.RuntimeInfo
-
获得JVM最大可用内存
- getUsed() - Method in class cn.hutool.system.oshi.CpuInfo
-
- getUsedSize() - Method in class cn.hutool.cache.file.AbstractFileCache
-
- getUser() - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- getUser() - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- getUser() - Method in class cn.hutool.extra.ftp.FtpConfig
-
- getUser() - Method in class cn.hutool.extra.mail.MailAccount
-
获取用户名
- getUser() - Method in class cn.hutool.extra.ssh.Connector
-
获得用户名
- getUserAgent() - Method in class cn.hutool.http.server.HttpServerRequest
-
获得User-Agent,未识别返回null
- getUserAgentStr() - Method in class cn.hutool.http.server.HttpServerRequest
-
获得User-Agent
- getUserHomeDir() - Static method in class cn.hutool.core.io.FileUtil
-
获取用户目录
- getUserHomePath() - Static method in class cn.hutool.core.io.FileUtil
-
获取用户路径(绝对路径)
- getUserInfo() - Static method in class cn.hutool.system.SystemUtil
-
取得User的信息。
- getUserManager() - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
获取用户管理器,用于新增、查找和删除用户信息
- getUtf8Reader(Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
获得一个文件读取器
- getUtf8Reader(File) - Static method in class cn.hutool.core.io.FileUtil
-
获得一个文件读取器
- getUtf8Reader(String) - Static method in class cn.hutool.core.io.FileUtil
-
获得一个文件读取器
- getUtf8Reader(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
获得一个文件读取器,默认使用UTF-8编码
- getUtf8Reader(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
- getUtf8Writer(OutputStream) - Static method in class cn.hutool.core.io.IoUtil
-
获得一个Writer,默认编码UTF-8
- getValidator() - Static method in class cn.hutool.extra.validation.ValidationUtil
-
获取原生Validator
对象
- getValue() - Method in class cn.hutool.cache.impl.CacheObj
-
获取值
- getValue(Object) - Method in class cn.hutool.core.bean.PropDesc
-
- getValue(Object, Type, boolean) - Method in class cn.hutool.core.bean.PropDesc
-
获取属性值,自动转换属性值类型
首先调用字段对应的Getter方法获取值,如果Getter方法不存在,则判断字段如果为public,则直接获取字段值
- getValue() - Method in enum cn.hutool.core.date.DateField
-
- getValue() - Method in enum cn.hutool.core.date.Month
-
- getValue() - Method in enum cn.hutool.core.date.Quarter
-
- getValue() - Method in enum cn.hutool.core.date.Week
-
- getValue() - Method in enum cn.hutool.core.img.ScaleType
-
- getValue() - Method in class cn.hutool.core.io.checksum.crc16.CRC16Checksum
-
- getValue() - Method in class cn.hutool.core.io.checksum.CRC16
-
- getValue() - Method in class cn.hutool.core.io.checksum.CRC8
-
- getValue() - Method in enum cn.hutool.core.io.file.LineSeparator
-
- getValue() - Method in enum cn.hutool.core.io.watch.WatchKind
-
获取枚举对应的事件类型
- getValue() - Method in class cn.hutool.core.lang.Pair
-
获取值
- getValue() - Method in enum cn.hutool.core.thread.RejectPolicy
-
获取RejectedExecutionHandler枚举值
- getValue() - Method in enum cn.hutool.core.util.ModifierUtil.ModifierType
-
- getValue() - Method in enum cn.hutool.crypto.asymmetric.AsymmetricAlgorithm
-
获取算法字符串表示,区分大小写
- getValue() - Method in enum cn.hutool.crypto.asymmetric.KeyType
-
获取枚举值对应的int表示
- getValue() - Method in enum cn.hutool.crypto.asymmetric.SignAlgorithm
-
获取算法字符串表示,区分大小写
- getValue() - Method in enum cn.hutool.crypto.CipherMode
-
获取枚举值对应的int表示
- getValue() - Method in enum cn.hutool.crypto.digest.DigestAlgorithm
-
获取算法字符串表示
- getValue() - Method in enum cn.hutool.crypto.digest.HmacAlgorithm
-
- getValue() - Method in enum cn.hutool.crypto.symmetric.SymmetricAlgorithm
-
获得算法的字符串表示形式
- getValue() - Method in class cn.hutool.db.sql.Condition
-
获得值
- getValue() - Method in enum cn.hutool.extra.ssh.ChannelType
-
获取值
- getValue() - Method in class cn.hutool.extra.validation.BeanValidationResult.ErrorMessage
-
- getValue() - Method in enum cn.hutool.http.ContentType
-
获取value值
- getValue() - Method in enum cn.hutool.http.Header
-
获取值
- getValue() - Method in enum cn.hutool.http.webservice.SoapProtocol
-
获取版本值信息
- getValue() - Method in interface cn.hutool.poi.excel.cell.CellValue
-
获取单元格值
- getValue() - Method in class cn.hutool.poi.excel.cell.FormulaCellValue
-
- getValue(Attributes) - Method in enum cn.hutool.poi.excel.sax.AttributeName
-
从属性里列表中获取对应属性值
- getValue() - Method in enum cn.hutool.poi.word.PicType
-
获取图片类型对应值
- getValue() - Method in enum cn.hutool.socket.nio.Operation
-
获取值
- getValues(K) - Method in class cn.hutool.core.map.TableMap
-
获取指定key对应的所有值
- getValues(String) - Method in class cn.hutool.setting.GroupedSet
-
获得对应分组的所有值
- getVendor() - Method in class cn.hutool.system.JavaInfo
-
取得当前Java impl.的厂商(取自系统属性:java.vendor
)。
- getVendor() - Method in class cn.hutool.system.JavaSpecInfo
-
取得当前Java Spec.的厂商(取自系统属性:java.specification.vendor
)。
- getVendor() - Method in class cn.hutool.system.JvmInfo
-
取得当前JVM impl.的厂商(取自系统属性:java.vm.vendor
)。
- getVendor() - Method in class cn.hutool.system.JvmSpecInfo
-
取得当前JVM spec.的厂商(取自系统属性:java.vm.specification.vendor
)。
- getVendorURL() - Method in class cn.hutool.system.JavaInfo
-
取得当前Java impl.的厂商网站的URL(取自系统属性:java.vendor.url
)。
- getVersion(String) - Method in class cn.hutool.http.useragent.Browser
-
获取浏览器版本
- getVersion() - Method in class cn.hutool.http.useragent.UserAgent
-
获取浏览器版本
- getVersion() - Method in class cn.hutool.system.JavaInfo
-
取得当前Java impl.的版本(取自系统属性:java.version
)。
- getVersion() - Method in class cn.hutool.system.JavaRuntimeInfo
-
取得当前JRE的版本(取自系统属性:java.runtime.version
)。
- getVersion() - Method in class cn.hutool.system.JavaSpecInfo
-
取得当前Java Spec.的版本(取自系统属性:java.specification.version
)。
- getVersion() - Method in class cn.hutool.system.JvmInfo
-
取得当前JVM impl.的版本(取自系统属性:java.vm.version
)。
- getVersion() - Method in class cn.hutool.system.JvmSpecInfo
-
取得当前JVM spec.的版本(取自系统属性:java.vm.specification.version
)。
- getVersion() - Method in class cn.hutool.system.OsInfo
-
取得当前OS的版本(取自系统属性:os.version
)。
- getVersionFloat() - Method in class cn.hutool.system.JavaInfo
-
取得当前Java impl.的版本(取自系统属性:java.version
)。
- getVersionInt() - Method in class cn.hutool.system.JavaInfo
-
取得当前Java impl.的版本(取自系统属性:java.version
),java10及其之后的版本返回值为4位。
- getWait() - Method in class cn.hutool.system.oshi.CpuInfo
-
- getWarnings() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- getWarnings() - Method in class cn.hutool.db.sql.StatementWrapper
-
- getWebRoot() - Static method in class cn.hutool.core.io.FileUtil
-
获取Web项目下的web root路径
原理是首先获取ClassPath路径,由于在web项目中ClassPath位于 WEB-INF/classes/下,故向上获取两级目录即可。
- getWeight() - Method in interface cn.hutool.core.lang.tree.Node
-
获取权重
- getWeight() - Method in class cn.hutool.core.lang.tree.Tree
-
- getWeight() - Method in class cn.hutool.core.lang.tree.TreeNode
-
- getWeight() - Method in class cn.hutool.core.lang.WeightRandom.WeightObj
-
获取权重
- getWeightKey() - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
获取权重对应的名称
- getWhere() - Method in class cn.hutool.db.sql.Query
-
获得条件语句
- getWidth() - Static method in class cn.hutool.core.swing.ScreenUtil
-
获取屏幕宽度
- getWidth() - Method in class cn.hutool.extra.qrcode.QrConfig
-
获取宽度
- getWithLog(String) - Method in class cn.hutool.setting.AbsSetting
-
带有日志提示的get,如果没有定义指定的KEY,则打印debug日志
- getWord() - Method in class cn.hutool.dfa.FoundWord
-
获取生效的单词,即单词树中的词
- getWorkbook() - Method in class cn.hutool.poi.excel.ExcelBase
-
获取Workbook
- getWorkerId(long) - Method in class cn.hutool.core.lang.Snowflake
-
根据Snowflake的ID,获取机器id
- getWrappedClass() - Method in class cn.hutool.core.bean.NullWrapperBean
-
获取null值对应的类型
- getWrapper() - Method in interface cn.hutool.db.dialect.Dialect
-
- getWrapper() - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- getWriteBuffer() - Method in class cn.hutool.socket.aio.AioSession
-
获取写Buffer
- getWriteBufferSize() - Method in class cn.hutool.socket.SocketConfig
-
获取写出缓存大小
- getWriter(Image, String) - Static method in class cn.hutool.core.img.ImgUtil
-
- getWriter(String) - Static method in class cn.hutool.core.img.ImgUtil
-
- getWriter(boolean) - Method in class cn.hutool.core.io.file.FileWriter
-
获得一个带缓存的写入对象
- getWriter(String, String, boolean) - Static method in class cn.hutool.core.io.FileUtil
-
获得一个带缓存的写入对象
- getWriter(String, Charset, boolean) - Static method in class cn.hutool.core.io.FileUtil
-
获得一个带缓存的写入对象
- getWriter(File, String, boolean) - Static method in class cn.hutool.core.io.FileUtil
-
获得一个带缓存的写入对象
- getWriter(File, Charset, boolean) - Static method in class cn.hutool.core.io.FileUtil
-
获得一个带缓存的写入对象
- getWriter(OutputStream, String) - Static method in class cn.hutool.core.io.IoUtil
-
获得一个Writer
- getWriter(OutputStream, Charset) - Static method in class cn.hutool.core.io.IoUtil
-
获得一个Writer
- getWriter(String, Charset) - Static method in class cn.hutool.core.text.csv.CsvUtil
-
获取CSV生成器(写出器),使用默认配置,覆盖已有文件(如果存在)
- getWriter(File, Charset) - Static method in class cn.hutool.core.text.csv.CsvUtil
-
获取CSV生成器(写出器),使用默认配置,覆盖已有文件(如果存在)
- getWriter(String, Charset, boolean) - Static method in class cn.hutool.core.text.csv.CsvUtil
-
获取CSV生成器(写出器),使用默认配置
- getWriter(File, Charset, boolean) - Static method in class cn.hutool.core.text.csv.CsvUtil
-
获取CSV生成器(写出器),使用默认配置
- getWriter(File, Charset, boolean, CsvWriteConfig) - Static method in class cn.hutool.core.text.csv.CsvUtil
-
获取CSV生成器(写出器)
- getWriter(Writer) - Static method in class cn.hutool.core.text.csv.CsvUtil
-
获取CSV生成器(写出器)
- getWriter(Writer, CsvWriteConfig) - Static method in class cn.hutool.core.text.csv.CsvUtil
-
获取CSV生成器(写出器)
- getWriter() - Static method in class cn.hutool.core.util.StrUtil
-
获得StringWriter
- getWriter(HttpServletResponse) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
获得PrintWriter
- getWriter() - Method in class cn.hutool.http.server.HttpServerResponse
-
获取响应数据流
- getWriter() - Method in class cn.hutool.poi.excel.ExcelReader
-
获取Excel写出器
在读取Excel并做一定编辑后,获取写出器写出
- getWriter() - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getWriter(boolean) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getWriter(String) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getWriter(File) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getWriter(String, String) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getWriter(File, String) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getWriter() - Static method in class cn.hutool.poi.word.WordUtil
-
创建Word 07格式的生成器
- getWriter(File) - Static method in class cn.hutool.poi.word.WordUtil
-
创建Word 07格式的生成器
- getWriterWithSheet(String) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- getWriteTimeout() - Method in class cn.hutool.socket.SocketConfig
-
获取写出超时时长,小于等于0表示默认
- getX() - Method in class cn.hutool.poi.excel.cell.CellLocation
-
- getY() - Method in class cn.hutool.poi.excel.cell.CellLocation
-
- getYearByIdCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
根据身份编号获取生日年,只支持15或18位身份证号码
- getZodiac(int, int) - Static method in class cn.hutool.core.date.DateUtil
-
通过生日计算星座
- getZodiac(Date) - Static method in class cn.hutool.core.date.Zodiac
-
通过生日计算星座
- getZodiac(Calendar) - Static method in class cn.hutool.core.date.Zodiac
-
通过生日计算星座
- getZodiac(Month, int) - Static method in class cn.hutool.core.date.Zodiac
-
通过生日计算星座
- getZodiac(int, int) - Static method in class cn.hutool.core.date.Zodiac
-
通过生日计算星座
- getZoneId() - Method in class cn.hutool.core.date.DateTime
-
获取时区ID
- GifCaptcha - Class in cn.hutool.captcha
-
Gif验证码类
- GifCaptcha(int, int) - Constructor for class cn.hutool.captcha.GifCaptcha
-
可以设置验证码宽度,高度的构造函数
- GifCaptcha(int, int, int) - Constructor for class cn.hutool.captcha.GifCaptcha
-
- GifDecoder - Class in cn.hutool.core.img.gif
-
GIF文件解析
Class GifDecoder - Decodes a GIF file into one or more frames.
- GifDecoder() - Constructor for class cn.hutool.core.img.gif.GifDecoder
-
- GlobalBouncyCastleProvider - Enum in cn.hutool.crypto
-
全局单例的 org.bouncycastle.jce.provider.BouncyCastleProvider 对象
- GlobalCookieManager - Class in cn.hutool.http.cookie
-
全局Cookie管理器,只针对Hutool请求有效
- GlobalCookieManager() - Constructor for class cn.hutool.http.cookie.GlobalCookieManager
-
- GlobalDbConfig - Class in cn.hutool.db
-
DB全局配置配置项
- GlobalDbConfig() - Constructor for class cn.hutool.db.GlobalDbConfig
-
- GlobalDSFactory - Class in cn.hutool.db.ds
-
全局的数据源工厂
一般情况下,一个应用默认只使用一种数据库连接池,因此维护一个全局的数据源工厂类减少判断连接池类型造成的性能浪费
- GlobalDSFactory() - Constructor for class cn.hutool.db.ds.GlobalDSFactory
-
- GlobalHeaders - Enum in cn.hutool.http
-
- GlobalLogFactory - Class in cn.hutool.log
-
全局日志工厂类
用于减少日志工厂创建,减少日志库探测
- GlobalLogFactory() - Constructor for class cn.hutool.log.GlobalLogFactory
-
- GlobalMailAccount - Enum in cn.hutool.extra.mail
-
- GlobalProfile - Class in cn.hutool.setting.profile
-
全局的Profile配置中心
- GlobalPruneTimer - Enum in cn.hutool.cache
-
全局缓存清理定时器池,用于在需要过期支持的缓存对象中超时任务池
- GlobalSerializeMapping - Class in cn.hutool.json.serialize
-
全局的序列化和反序列化器映射
在JSON和Java对象转换过程中,优先使用注册于此处的自定义转换
- GlobalSerializeMapping() - Constructor for class cn.hutool.json.serialize.GlobalSerializeMapping
-
- GlobalThreadPool - Class in cn.hutool.core.thread
-
全局公共线程池
此线程池是一个无限线程池,即加入的线程不等待任何线程,直接执行
- GOOGLE_TV - Static variable in class cn.hutool.http.useragent.Platform
-
android
- GraphicsUtil - Class in cn.hutool.core.img
-
- GraphicsUtil() - Constructor for class cn.hutool.core.img.GraphicsUtil
-
- gray() - Method in class cn.hutool.core.img.Img
-
彩色转为黑白
- gray(File, File) - Static method in class cn.hutool.core.img.ImgUtil
-
彩色转为黑白
- gray(InputStream, OutputStream) - Static method in class cn.hutool.core.img.ImgUtil
-
彩色转为黑白
此方法并不关闭流
- gray(ImageInputStream, ImageOutputStream) - Static method in class cn.hutool.core.img.ImgUtil
-
彩色转为黑白
此方法并不关闭流
- gray(Image, File) - Static method in class cn.hutool.core.img.ImgUtil
-
彩色转为黑白
- gray(Image, OutputStream) - Static method in class cn.hutool.core.img.ImgUtil
-
彩色转为黑白
此方法并不关闭流
- gray(Image, ImageOutputStream) - Static method in class cn.hutool.core.img.ImgUtil
-
彩色转为黑白
此方法并不关闭流
- gray(Image) - Static method in class cn.hutool.core.img.ImgUtil
-
彩色转为黑白
- greaterThan(Money) - Method in class cn.hutool.core.math.Money
-
货币比较。
- group(Collection<T>, Hash32<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
分组,按照
Hash32
接口定义的hash算法,集合中的元素放入hash值对应的子列表中
- group2Map(Collection<E>, Function<E, T>, Function<E, U>) - Static method in class cn.hutool.core.collection.CollStreamUtil
-
将collection按照两个规则(比如有相同的年级id,班级id)分类成双层map
Collection<E> ---> Map<T,Map<U,E>>
- GROUP_VAR - Static variable in class cn.hutool.core.lang.PatternPool
-
分组
- GROUP_VAR - Static variable in class cn.hutool.core.lang.Validator
-
分组
- groupBy(String...) - Method in class cn.hutool.db.sql.SqlBuilder
-
分组
- groupBy2Key(Collection<E>, Function<E, K>, Function<E, U>) - Static method in class cn.hutool.core.collection.CollStreamUtil
-
将collection按照两个规则(比如有相同的年级id,班级id)分类成双层map
Collection<E> ---> Map<T,Map<U,List<E>>>
- groupByField(Collection<T>, String) - Static method in class cn.hutool.core.collection.CollUtil
-
根据元素的指定字段名分组,非Bean都放在第一个分组中
- groupByKey(Collection<E>, Function<E, K>) - Static method in class cn.hutool.core.collection.CollStreamUtil
-
将collection按照规则(比如有相同的班级id)分类成map
Collection<E> -------> Map<T,List<E>>
- GroupedConnection() - Constructor for class cn.hutool.db.ThreadLocalConnection.GroupedConnection
-
- GroupedMap - Class in cn.hutool.setting
-
基于分组的Map
此对象方法线程安全
- GroupedMap() - Constructor for class cn.hutool.setting.GroupedMap
-
- GroupedSet - Class in cn.hutool.setting
-
分组化的Set集合类
在配置文件中可以用中括号分隔不同的分组,每个分组会放在独立的Set中,用group区别
无分组的集合和`[]`分组集合会合并成员,重名的分组也会合并成员
分组配置文件如下:
- GroupedSet(Charset) - Constructor for class cn.hutool.setting.GroupedSet
-
基本构造
需自定义初始化配置文件
- GroupedSet(String, Charset) - Constructor for class cn.hutool.setting.GroupedSet
-
构造,使用相对于Class文件根目录的相对路径
- GroupedSet(File, Charset) - Constructor for class cn.hutool.setting.GroupedSet
-
构造
- GroupedSet(String, Class<?>, Charset) - Constructor for class cn.hutool.setting.GroupedSet
-
构造,相对于classes读取文件
- GroupedSet(URL, Charset) - Constructor for class cn.hutool.setting.GroupedSet
-
构造
- GroupedSet(String) - Constructor for class cn.hutool.setting.GroupedSet
-
构造
- GroupedTypeGetter - Interface in cn.hutool.core.getter
-
基于分组的Get接口
- groupMap - Variable in class cn.hutool.core.date.GroupTimeInterval
-
- GroupTimeInterval - Class in cn.hutool.core.date
-
分组计时器
计算某几个过程花费的时间,精确到毫秒或纳秒
- GroupTimeInterval(boolean) - Constructor for class cn.hutool.core.date.GroupTimeInterval
-
构造
- GT - Static variable in class cn.hutool.core.util.XmlUtil
-
字符串常量:XML 大于号转义 ">" -> ">"
- GT - Static variable in class cn.hutool.http.HtmlUtil
-
- GT - Static variable in class cn.hutool.json.XML
-
The Character '>'.
- gzip(String, String) - Static method in class cn.hutool.core.util.ZipUtil
-
Gzip压缩处理
- gzip(byte[]) - Static method in class cn.hutool.core.util.ZipUtil
-
Gzip压缩处理
- gzip(File) - Static method in class cn.hutool.core.util.ZipUtil
-
Gzip压缩文件
- gzip(InputStream) - Static method in class cn.hutool.core.util.ZipUtil
-
Gzip压缩文件
- gzip(InputStream, int) - Static method in class cn.hutool.core.util.ZipUtil
-
Gzip压缩文件
- H2Dialect - Class in cn.hutool.db.dialect.impl
-
H2数据库方言
- H2Dialect() - Constructor for class cn.hutool.db.dialect.impl.H2Dialect
-
- handle(BufferedReader) - Method in interface cn.hutool.core.io.file.FileReader.ReaderHandler
-
- handle(String) - Method in class cn.hutool.core.io.file.Tailer.ConsoleLineHandler
-
- handle(String) - Method in interface cn.hutool.core.io.LineHandler
-
处理一行数据,可以编辑后存入指定地方
- handle(CsvRow) - Method in interface cn.hutool.core.text.csv.CsvRowHandler
-
处理行数据
- handle(ResultSet) - Method in class cn.hutool.db.handler.BeanHandler
-
- handle(ResultSet) - Method in class cn.hutool.db.handler.BeanListHandler
-
- handle(ResultSet) - Method in class cn.hutool.db.handler.EntityHandler
-
- handle(ResultSet) - Method in class cn.hutool.db.handler.EntityListHandler
-
- handle(ResultSet) - Method in class cn.hutool.db.handler.EntitySetHandler
-
- handle(ResultSet) - Method in class cn.hutool.db.handler.NumberHandler
-
- handle(ResultSet) - Method in class cn.hutool.db.handler.PageResultHandler
-
- handle(ResultSet) - Method in interface cn.hutool.db.handler.RsHandler
-
处理结果集
结果集处理后不需要关闭
- handle(ResultSet) - Method in class cn.hutool.db.handler.StringHandler
-
- handle(ResultSet) - Method in class cn.hutool.db.handler.ValueListHandler
-
- handle(HttpExchange) - Method in class cn.hutool.http.server.handler.ActionHandler
-
- handle(Cell, Object) - Method in interface cn.hutool.poi.excel.cell.CellHandler
-
处理
- handle(int, long, List<Object>) - Method in class cn.hutool.poi.excel.sax.handler.AbstractRowHandler
-
- handle(int, long, List<Object>) - Method in class cn.hutool.poi.excel.sax.handler.BeanRowHandler
-
- handle(int, long, List<Object>) - Method in class cn.hutool.poi.excel.sax.handler.MapRowHandler
-
- handle(int, long, List<Object>) - Method in interface cn.hutool.poi.excel.sax.handler.RowHandler
-
处理一行数据
- handle(SocketChannel) - Method in interface cn.hutool.socket.nio.ChannelHandler
-
处理NIO数据
- handleCell(int, long, int, Object, CellStyle) - Method in interface cn.hutool.poi.excel.sax.handler.RowHandler
-
处理一个单元格的数据
- handleData(int, long, T) - Method in class cn.hutool.poi.excel.sax.handler.AbstractRowHandler
-
处理转换后的数据
- HandleHelper - Class in cn.hutool.db.handler
-
数据结果集处理辅助类
- HandleHelper() - Constructor for class cn.hutool.db.handler.HandleHelper
-
- handleRow(int, ResultSetMetaData, ResultSet, T) - Static method in class cn.hutool.db.handler.HandleHelper
-
处理单条数据
- handleRow(int, ResultSetMetaData, ResultSet, Class<T>) - Static method in class cn.hutool.db.handler.HandleHelper
-
处理单条数据
- handleRow(int, ResultSetMetaData, ResultSet) - Static method in class cn.hutool.db.handler.HandleHelper
-
处理单条数据
- handleRow(int, ResultSetMetaData, ResultSet, boolean) - Static method in class cn.hutool.db.handler.HandleHelper
-
处理单条数据
- handleRow(T, int, ResultSetMetaData, ResultSet, boolean) - Static method in class cn.hutool.db.handler.HandleHelper
-
处理单条数据
- handleRow(ResultSet) - Static method in class cn.hutool.db.handler.HandleHelper
-
处理单条数据
- handleRowToList(ResultSet) - Static method in class cn.hutool.db.handler.HandleHelper
-
处理单行数据
- handleRs(ResultSet, T) - Static method in class cn.hutool.db.handler.HandleHelper
-
处理多条数据
- handleRs(ResultSet, T, boolean) - Static method in class cn.hutool.db.handler.HandleHelper
-
处理多条数据
- handleRsToBeanList(ResultSet, T, Class<E>) - Static method in class cn.hutool.db.handler.HandleHelper
-
处理多条数据并返回一个Bean列表
- HanLPEngine - Class in cn.hutool.extra.tokenizer.engine.hanlp
-
HanLP分词引擎实现
项目地址:https://github.com/hankcs/HanLP
- HanLPEngine() - Constructor for class cn.hutool.extra.tokenizer.engine.hanlp.HanLPEngine
-
构造
- HanLPEngine(Segment) - Constructor for class cn.hutool.extra.tokenizer.engine.hanlp.HanLPEngine
-
构造
- HanLPResult - Class in cn.hutool.extra.tokenizer.engine.hanlp
-
HanLP分词结果实现
项目地址:https://github.com/hankcs/HanLP
- HanLPResult(List<Term>) - Constructor for class cn.hutool.extra.tokenizer.engine.hanlp.HanLPResult
-
- HanLPWord - Class in cn.hutool.extra.tokenizer.engine.hanlp
-
HanLP分词中的一个单词包装
- HanLPWord(Term) - Constructor for class cn.hutool.extra.tokenizer.engine.hanlp.HanLPWord
-
构造
- hasAnnotation(AnnotatedElement, Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
检查是否包含指定注解指定注解
- hasBlank(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串数组中,是否包含空字符串。
- hasChinese(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否包含汉字
- hasContent() - Method in class cn.hutool.core.text.StrBuilder
-
是否有内容
- hasEmpty(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
是否包含空字符串。
- hasEmpty(Object...) - Static method in class cn.hutool.core.util.ArrayUtil
-
- hasEmpty(Object...) - Static method in class cn.hutool.core.util.ObjectUtil
-
- hasField(Class<?>, String) - Static method in class cn.hutool.core.util.ReflectUtil
-
查找指定类中是否包含指定名称对应的字段,包括所有字段(包括非public字段),也包括父类和Object类的字段
- hasGetter(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断是否为Bean对象
判定方法是是否存在只有一个参数的setXXX方法
- hash(String, int) - Static method in class cn.hutool.bloomfilter.BitSetBloomFilter
-
计算Hash值
- hash(String) - Method in class cn.hutool.bloomfilter.filter.AbstractFilter
-
自定义Hash方法
- hash(String) - Method in class cn.hutool.bloomfilter.filter.DefaultFilter
-
- hash(String) - Method in class cn.hutool.bloomfilter.filter.ELFFilter
-
- hash(String) - Method in class cn.hutool.bloomfilter.filter.FNVFilter
-
- hash(String) - Method in class cn.hutool.bloomfilter.filter.HfFilter
-
- hash(String) - Method in class cn.hutool.bloomfilter.filter.HfIpFilter
-
- hash(String) - Method in class cn.hutool.bloomfilter.filter.JSFilter
-
- hash(String) - Method in class cn.hutool.bloomfilter.filter.PJWFilter
-
- hash(String) - Method in class cn.hutool.bloomfilter.filter.RSFilter
-
- hash(String) - Method in class cn.hutool.bloomfilter.filter.SDBMFilter
-
- hash(String) - Method in class cn.hutool.bloomfilter.filter.TianlFilter
-
- hash(Collection<? extends CharSequence>) - Method in class cn.hutool.core.text.Simhash
-
指定文本计算simhash值
- hash128(byte[]) - Static method in class cn.hutool.core.lang.hash.CityHash
-
计算128位City Hash值
- hash128(byte[], Number128) - Static method in class cn.hutool.core.lang.hash.CityHash
-
计算128位City Hash值
- Hash128<T> - Interface in cn.hutool.core.lang.hash
-
Hash计算接口
- hash128(T) - Method in interface cn.hutool.core.lang.hash.Hash128
-
计算Hash值
- hash128(CharSequence) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 128-bit Hash值计算
- hash128(byte[]) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 128-bit 算法.
- hash128(byte[], int, int) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 128-bit variant.
- hash32(byte[]) - Static method in class cn.hutool.core.lang.hash.CityHash
-
计算32位City Hash值
- Hash32<T> - Interface in cn.hutool.core.lang.hash
-
Hash计算接口
- hash32(T) - Method in interface cn.hutool.core.lang.hash.Hash32
-
计算Hash值
- hash32(CharSequence) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 32-bit Hash值计算
- hash32(byte[]) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 32-bit Hash值计算
- hash32(byte[], int, int) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 32-bit Hash值计算
- hash64(byte[]) - Static method in class cn.hutool.core.lang.hash.CityHash
-
计算64位City Hash值
- hash64(byte[], long, long) - Static method in class cn.hutool.core.lang.hash.CityHash
-
计算64位City Hash值
- hash64(byte[], long) - Static method in class cn.hutool.core.lang.hash.CityHash
-
- Hash64<T> - Interface in cn.hutool.core.lang.hash
-
Hash计算接口
- hash64(T) - Method in interface cn.hutool.core.lang.hash.Hash64
-
计算Hash值
- hash64(CharSequence) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 64-bit Hash值计算
- hash64(byte[]) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 64-bit 算法
This is essentially MSB 8 bytes of Murmur3 128-bit variant.
- hash64(byte[], int, int) - Static method in class cn.hutool.core.lang.hash.MurmurHash
-
Murmur3 64-bit 算法
This is essentially MSB 8 bytes of Murmur3 128-bit variant.
- hashCode() - Method in class cn.hutool.core.bean.DynaBean
-
- hashCode() - Method in class cn.hutool.core.bean.OptionalBean
-
- hashCode() - Method in class cn.hutool.core.builder.HashCodeBuilder
-
The computed hashCode
from toHashCode() is returned due to the likelihood
of bugs in mis-calling toHashCode() and the unlikeliness of it mattering what the hashCode for
HashCodeBuilder itself is.
- hashCode() - Method in class cn.hutool.core.comparator.ComparableComparator
-
- hashCode() - Method in class cn.hutool.core.comparator.ComparatorChain
-
- hashCode() - Method in class cn.hutool.core.comparator.ReverseComparator
-
- hashCode() - Method in class cn.hutool.core.date.format.AbstractDateBasic
-
- hashCode() - Method in class cn.hutool.core.date.format.FastDateFormat
-
- hashCode() - Method in class cn.hutool.core.io.unit.DataSize
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableBool
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableByte
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableInt
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableLong
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableObj
-
- hashCode() - Method in class cn.hutool.core.lang.mutable.MutableShort
-
- hashCode() - Method in class cn.hutool.core.lang.Pair
-
- hashCode() - Method in class cn.hutool.core.lang.Tuple
-
- hashCode() - Method in class cn.hutool.core.lang.UUID
-
返回此 UUID 的哈希码。
- hashCode() - Method in class cn.hutool.core.lang.WeightRandom.WeightObj
-
- hashCode() - Method in class cn.hutool.core.map.MapWrapper
-
- hashCode() - Method in class cn.hutool.core.map.TolerantMap
-
- hashCode() - Method in class cn.hutool.core.math.Money
-
计算本货币对象的杂凑值。
- hashCode() - Method in class cn.hutool.db.ds.AbstractDSFactory
-
- hashCode() - Method in class cn.hutool.extra.template.TemplateConfig
-
- hashCode() - Method in class cn.hutool.http.useragent.UserAgentInfo
-
- hashCode() - Method in class cn.hutool.json.JSONArray
-
- hashCode() - Method in class cn.hutool.json.JSONObject
-
- hashCode() - Method in class cn.hutool.poi.excel.cell.CellLocation
-
- hashCode() - Method in class cn.hutool.setting.Setting
-
- HashCodeBuilder - Class in cn.hutool.core.builder
-
- HashCodeBuilder() - Constructor for class cn.hutool.core.builder.HashCodeBuilder
-
Uses two hard coded choices for the constants needed to build a hashCode
.
- HashCodeBuilder(int, int) - Constructor for class cn.hutool.core.builder.HashCodeBuilder
-
Two randomly chosen, odd numbers must be passed in.
- hashpw(String) - Static method in class cn.hutool.crypto.digest.BCrypt
-
生成密文,使用长度为10的加盐方式
- hashpw(String, String) - Static method in class cn.hutool.crypto.digest.BCrypt
-
生成密文
- HashUtil - Class in cn.hutool.core.util
-
Hash算法大全
推荐使用FNV1算法
- HashUtil() - Constructor for class cn.hutool.core.util.HashUtil
-
- hasModifier(Class<?>, ModifierUtil.ModifierType...) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
- hasModifier(Constructor<?>, ModifierUtil.ModifierType...) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
- hasModifier(Method, ModifierUtil.ModifierType...) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
- hasModifier(Field, ModifierUtil.ModifierType...) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
- hasMoreElements() - Method in class cn.hutool.core.collection.IteratorEnumeration
-
- hasNext() - Method in class cn.hutool.cache.impl.CacheObjIterator
-
- hasNext() - Method in class cn.hutool.cache.impl.CacheValuesIterator
-
- hasNext() - Method in class cn.hutool.core.collection.ArrayIter
-
- hasNext() - Method in class cn.hutool.core.collection.CopiedIter
-
- hasNext() - Method in class cn.hutool.core.collection.EnumerationIter
-
- hasNext() - Method in class cn.hutool.core.collection.LineIter
-
- hasNext() - Method in class cn.hutool.core.collection.TransIter
-
- hasNext() - Method in class cn.hutool.core.io.resource.MultiResource
-
- hasNext() - Method in class cn.hutool.core.lang.Range
-
- hasNext() - Method in class cn.hutool.extra.tokenizer.AbstractResult
-
- hasNext() - Method in class cn.hutool.extra.tokenizer.engine.ansj.AnsjResult
-
- hasNext() - Method in class cn.hutool.extra.tokenizer.engine.hanlp.HanLPResult
-
- hasNext() - Method in class cn.hutool.extra.tokenizer.engine.jcseg.JcsegResult
-
- hasNext() - Method in class cn.hutool.extra.tokenizer.engine.jieba.JiebaResult
-
- hasNext() - Method in class cn.hutool.extra.tokenizer.engine.mynlp.MynlpResult
-
- hasNext() - Method in class cn.hutool.extra.tokenizer.engine.word.WordResult
-
- hasNull(Iterable<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
是否包含null
元素
- hasNull(Iterable<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
是否包含null
元素
- hasNull(Iterator<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
是否包含null
元素
- hasNull(T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
是否包含null
元素
- hasNull(Object...) - Static method in class cn.hutool.core.util.ObjectUtil
-
- hasNullField(Object, String...) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断Bean是否包含值为null
的属性
对象本身为null
也返回true
- hasPublicField(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
-
指定类中是否有public类型字段(static字段除外)
- hasSetter(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断是否有Setter方法
判定方法是是否存在只有一个参数的setXXX方法
- hasTypeVariable(Type...) - Static method in class cn.hutool.core.util.TypeUtil
-
指定泛型数组中是否含有泛型变量
- hasTypeVeriable(Type...) - Static method in class cn.hutool.core.util.TypeUtil
-
- having(LogicalOperator, Condition...) - Method in class cn.hutool.db.sql.SqlBuilder
-
- having(Condition...) - Method in class cn.hutool.db.sql.SqlBuilder
-
- having(String) - Method in class cn.hutool.db.sql.SqlBuilder
-
添加Having语句
- head(String) - Static method in class cn.hutool.http.HttpRequest
-
HEAD请求
- headCellStyle - Variable in class cn.hutool.poi.excel.StyleSet
-
标题样式
- header(String) - Method in enum cn.hutool.http.GlobalHeaders
-
根据name获取头信息
- header(Header) - Method in enum cn.hutool.http.GlobalHeaders
-
根据name获取头信息
- header(String, String, boolean) - Method in enum cn.hutool.http.GlobalHeaders
-
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
- header(Header, String, boolean) - Method in enum cn.hutool.http.GlobalHeaders
-
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
- header(Header, String) - Method in enum cn.hutool.http.GlobalHeaders
-
设置一个header
覆盖模式,则替换之前的值
- header(String, String) - Method in enum cn.hutool.http.GlobalHeaders
-
设置一个header
覆盖模式,则替换之前的值
- header(Map<String, List<String>>) - Method in enum cn.hutool.http.GlobalHeaders
-
设置请求头
不覆盖原有请求头
- Header - Enum in cn.hutool.http
-
Http 头域
- header(String) - Method in class cn.hutool.http.HttpBase
-
根据name获取头信息
根据RFC2616规范,header的name不区分大小写
- header(Header) - Method in class cn.hutool.http.HttpBase
-
根据name获取头信息
- header(String, String, boolean) - Method in class cn.hutool.http.HttpBase
-
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
- header(Header, String, boolean) - Method in class cn.hutool.http.HttpBase
-
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
- header(Header, String) - Method in class cn.hutool.http.HttpBase
-
设置一个header
覆盖模式,则替换之前的值
- header(String, String) - Method in class cn.hutool.http.HttpBase
-
设置一个header
覆盖模式,则替换之前的值
- header(Map<String, List<String>>) - Method in class cn.hutool.http.HttpBase
-
设置请求头
不覆盖原有请求头
- header(Map<String, List<String>>, boolean) - Method in class cn.hutool.http.HttpBase
-
设置请求头
- header(String, String, boolean) - Method in class cn.hutool.http.HttpConnection
-
设置请求头
当请求头存在时,覆盖之
- header(Header, String, boolean) - Method in class cn.hutool.http.HttpConnection
-
设置请求头
当请求头存在时,覆盖之
- header(Map<String, List<String>>, boolean) - Method in class cn.hutool.http.HttpConnection
-
设置请求头
不覆盖原有请求头
- header(String) - Method in class cn.hutool.http.HttpConnection
-
获取Http请求头
- header(Header) - Method in class cn.hutool.http.HttpConnection
-
获取Http请求头
- headerList(String) - Method in enum cn.hutool.http.GlobalHeaders
-
根据name获取头信息列表
- headerList(String) - Method in class cn.hutool.http.HttpBase
-
根据name获取头信息列表
- headerMap(Map<String, String>, boolean) - Method in class cn.hutool.http.HttpBase
-
设置请求头
- headers - Variable in enum cn.hutool.http.GlobalHeaders
-
存储头信息
- headers() - Method in enum cn.hutool.http.GlobalHeaders
-
获取headers
- headers - Variable in class cn.hutool.http.HttpBase
-
存储头信息
- headers() - Method in class cn.hutool.http.HttpBase
-
获取headers
- headers() - Method in class cn.hutool.http.HttpConnection
-
获取所有Http请求头
- height - Variable in class cn.hutool.captcha.AbstractCaptcha
-
图片的高度
- height - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- height - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- height - Variable in class cn.hutool.extra.qrcode.QrConfig
-
长
- HEX - Static variable in class cn.hutool.core.lang.PatternPool
-
16进制字符串
- hexStrToStr(String, Charset) - Static method in class cn.hutool.core.convert.Convert
-
- hexToBytes(String) - Static method in class cn.hutool.core.convert.Convert
-
Hex字符串转换为Byte值
- hexToColor(String) - Static method in class cn.hutool.core.img.ImgUtil
-
16进制的颜色值转换为Color对象,例如#fcf6d6
- hexToRgb(String) - Static method in class cn.hutool.core.img.BackgroundRemoval
-
十六进制颜色码转RGB颜色值
- hexToStr(String, Charset) - Static method in class cn.hutool.core.convert.Convert
-
十六进制转换字符串
- HexUtil - Class in cn.hutool.core.util
-
十六进制(简写为hex或下标16)在数学中是一种逢16进1的进位制,一般用数字0到9和字母A到F表示(其中:A~F即10~15)。
例如十进制数57,在二进制写作111001,在16进制写作39。
像java,c这样的语言为了区分十六进制和十进制数值,会在十六进制数的前面加上 0x,比如0x20是十进制的32,而不是十进制的20
- HexUtil() - Constructor for class cn.hutool.core.util.HexUtil
-
- HfFilter - Class in cn.hutool.bloomfilter.filter
-
- HfFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.HfFilter
-
- HfFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.HfFilter
-
- HfIpFilter - Class in cn.hutool.bloomfilter.filter
-
- HfIpFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.HfIpFilter
-
- HfIpFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.HfIpFilter
-
- hide(CharSequence, int, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换指定字符串的指定区间内字符为"*"
- hide(String, int, int) - Static method in class cn.hutool.core.util.IdcardUtil
-
隐藏指定位置的几个身份证号数字为“*”
- hideAfter(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
隐藏手机号最后4位 替换字符为"*"
- hideBefore(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
隐藏手机号前7位 替换字符为"*"
栗子
- hideBetween(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
隐藏手机号中间4位 替换字符为"*"
- hideIpPart(String) - Static method in class cn.hutool.core.net.NetUtil
-
隐藏掉IP地址的最后一部分为 * 代替
- hideIpPart(long) - Static method in class cn.hutool.core.net.NetUtil
-
隐藏掉IP地址的最后一部分为 * 代替
- HikariDSFactory - Class in cn.hutool.db.ds.hikari
-
HikariCP数据源工厂类
- HikariDSFactory() - Constructor for class cn.hutool.db.ds.hikari.HikariDSFactory
-
- HikariDSFactory(Setting) - Constructor for class cn.hutool.db.ds.hikari.HikariDSFactory
-
- hitCount - Variable in class cn.hutool.cache.impl.AbstractCache
-
命中数,即命中缓存计数
- hmac(HmacAlgorithm, byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
创建HMac对象,调用digest方法可获得hmac值
- hmac(HmacAlgorithm, SecretKey) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
创建HMac对象,调用digest方法可获得hmac值
- HMac - Class in cn.hutool.crypto.digest
-
HMAC摘要算法
HMAC,全称为“Hash Message Authentication Code”,中文名“散列消息鉴别码”
主要是利用哈希算法,以一个密钥和一个消息为输入,生成一个消息摘要作为输出。
一般的,消息鉴别码用于验证传输于两个共 同享有一个密钥的单位之间的消息。
HMAC 可以与任何迭代散列函数捆绑使用。MD5 和 SHA-1 就是这种散列函数。HMAC 还可以使用一个用于计算和确认消息鉴别值的密钥。
注意:此对象实例化后为非线程安全!
- HMac(HmacAlgorithm) - Constructor for class cn.hutool.crypto.digest.HMac
-
构造,自动生成密钥
- HMac(HmacAlgorithm, byte[]) - Constructor for class cn.hutool.crypto.digest.HMac
-
构造
- HMac(HmacAlgorithm, Key) - Constructor for class cn.hutool.crypto.digest.HMac
-
构造
- HMac(String, byte[]) - Constructor for class cn.hutool.crypto.digest.HMac
-
构造
- HMac(String, Key) - Constructor for class cn.hutool.crypto.digest.HMac
-
构造
- HMac(MacEngine) - Constructor for class cn.hutool.crypto.digest.HMac
-
构造
- hmac(HmacAlgorithm, String) - Static method in class cn.hutool.crypto.SecureUtil
-
创建HMac对象,调用digest方法可获得hmac值
- hmac(HmacAlgorithm, byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
创建HMac对象,调用digest方法可获得hmac值
- hmac(HmacAlgorithm, SecretKey) - Static method in class cn.hutool.crypto.SecureUtil
-
创建HMac对象,调用digest方法可获得hmac值
- HmacAlgorithm - Enum in cn.hutool.crypto.digest
-
HMAC算法类型
see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#Mac
- hmacMd5(String) - Static method in class cn.hutool.crypto.SecureUtil
-
HmacMD5加密器
例:
HmacMD5加密:hmacMd5(key).digest(data)
HmacMD5加密并转为16进制字符串:hmacMd5(key).digestHex(data)
- hmacMd5(byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
HmacMD5加密器
例:
HmacMD5加密:hmacMd5(key).digest(data)
HmacMD5加密并转为16进制字符串:hmacMd5(key).digestHex(data)
- hmacMd5() - Static method in class cn.hutool.crypto.SecureUtil
-
HmacMD5加密器,生成随机KEY
例:
HmacMD5加密:hmacMd5().digest(data)
HmacMD5加密并转为16进制字符串:hmacMd5().digestHex(data)
- hmacSha1(String) - Static method in class cn.hutool.crypto.SecureUtil
-
HmacSHA1加密器
例:
HmacSHA1加密:hmacSha1(key).digest(data)
HmacSHA1加密并转为16进制字符串:hmacSha1(key).digestHex(data)
- hmacSha1(byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
HmacSHA1加密器
例:
HmacSHA1加密:hmacSha1(key).digest(data)
HmacSHA1加密并转为16进制字符串:hmacSha1(key).digestHex(data)
- hmacSha1() - Static method in class cn.hutool.crypto.SecureUtil
-
HmacSHA1加密器,生成随机KEY
例:
HmacSHA1加密:hmacSha1().digest(data)
HmacSHA1加密并转为16进制字符串:hmacSha1().digestHex(data)
- hmacSm3(byte[]) - Static method in class cn.hutool.crypto.SmUtil
-
HmacSM3算法实现
- Holder<T> - Class in cn.hutool.core.lang
-
为不可变的对象引用提供一个可变的包装,在java中支持引用传递。
- Holder() - Constructor for class cn.hutool.core.lang.Holder
-
构造
- Holder(T) - Constructor for class cn.hutool.core.lang.Holder
-
构造
- home() - Method in class cn.hutool.extra.ssh.Sftp
-
获取HOME路径
- HOME - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 安装目录
- HOME - Static variable in class cn.hutool.system.SystemUtil
-
Java 安装目录的KEY
- HostInfo - Class in cn.hutool.system
-
代表当前主机的信息。
- HostInfo() - Constructor for class cn.hutool.system.HostInfo
-
- HOTP - Class in cn.hutool.crypto.digest.otp
-
HMAC-based one-time passwords (HOTP) 一次性密码生成器,
规范见:
RFC 4226.
- HOTP(byte[]) - Constructor for class cn.hutool.crypto.digest.otp.HOTP
-
构造,使用默认密码长度和默认HMAC算法(HmacSHA1)
- HOTP(int, byte[]) - Constructor for class cn.hutool.crypto.digest.otp.HOTP
-
构造,使用默认HMAC算法(HmacSHA1)
- HOTP(int, HmacAlgorithm, byte[]) - Constructor for class cn.hutool.crypto.digest.otp.HOTP
-
构造
- HOTP_HMAC_ALGORITHM - Static variable in class cn.hutool.crypto.digest.otp.HOTP
-
默认HMAC算法.
- hour(boolean) - Method in class cn.hutool.core.date.DateTime
-
获得指定日期的小时数部分
- hour(Date, boolean) - Static method in class cn.hutool.core.date.DateUtil
-
获得指定日期的小时数部分
- HourValueParser - Class in cn.hutool.cron.pattern.parser
-
小时值处理
- HourValueParser() - Constructor for class cn.hutool.cron.pattern.parser.HourValueParser
-
- HTML40_EXTENDED_ESCAPE - Static variable in class cn.hutool.core.text.escape.Html4Escape
-
- HTML40_EXTENDED_UNESCAPE - Static variable in class cn.hutool.core.text.escape.Html4Unescape
-
- Html4Escape - Class in cn.hutool.core.text.escape
-
HTML4的ESCAPE
参考:Commons Lang3
- Html4Escape() - Constructor for class cn.hutool.core.text.escape.Html4Escape
-
- Html4Unescape - Class in cn.hutool.core.text.escape
-
HTML4的UNESCAPE
- Html4Unescape() - Constructor for class cn.hutool.core.text.escape.Html4Unescape
-
- HTML_AMP - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:HTML And 符转义 "&" -> "&"
- HTML_APOS - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:HTML 单引号转义 "&apos" -> "'"
- HTML_GT - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:HTML 大于号转义 ">" -> ">"
- HTML_LT - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:HTML 小于号转义 "<" -> "<"
- HTML_NBSP - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:HTML 空格转义 " " -> " "
- HTML_QUOTE - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:HTML 双引号转义 """ -> "\""
- HTMLFilter - Class in cn.hutool.http
-
HTML过滤器,用于去除XSS(Cross Site Scripting) 漏洞隐患。
- HTMLFilter() - Constructor for class cn.hutool.http.HTMLFilter
-
Default constructor.
- HTMLFilter(boolean) - Constructor for class cn.hutool.http.HTMLFilter
-
Set debug flag to true.
- HTMLFilter(Map<String, Object>) - Constructor for class cn.hutool.http.HTMLFilter
-
Map-parameter configurable constructor.
- htmlSpecialChars(String) - Static method in class cn.hutool.http.HTMLFilter
-
- HtmlUtil - Class in cn.hutool.http
-
HTML工具类
- HtmlUtil() - Constructor for class cn.hutool.http.HtmlUtil
-
- HTTP_1_0 - Static variable in class cn.hutool.http.HttpBase
-
HTTP/1.0
- HTTP_1_1 - Static variable in class cn.hutool.http.HttpBase
-
HTTP/1.1
- HTTP_ACCEPTED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 202: Accepted.
- HTTP_BAD_GATEWAY - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 502: Bad Gateway.
- HTTP_BAD_METHOD - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 405: Method Not Allowed.
- HTTP_BAD_REQUEST - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 400: Bad Request.
- HTTP_CLIENT_TIMEOUT - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 408: Request Time-Out.
- HTTP_CONFLICT - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 409: Conflict.
- HTTP_CREATED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 201: Created.
- HTTP_DATETIME_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
-
- HTTP_DATETIME_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
-
HTTP头中日期时间格式:EEE, dd MMM yyyy HH:mm:ss z
- HTTP_ENTITY_TOO_LARGE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 413: Request Entity Too Large.
- HTTP_FORBIDDEN - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 403: Forbidden.
- HTTP_GATEWAY_TIMEOUT - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 504: Gateway Timeout.
- HTTP_GONE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 410: Gone.
- HTTP_INTERNAL_ERROR - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 500: Internal Server Error.
- HTTP_LENGTH_REQUIRED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 411: Length Required.
- HTTP_MOVED_PERM - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 301: Moved Permanently.
- HTTP_MOVED_TEMP - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 302: Temporary Redirect.
- HTTP_MULT_CHOICE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 300: Multiple Choices.
- HTTP_NO_CONTENT - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 204: No Content.
- HTTP_NOT_ACCEPTABLE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 406: Not Acceptable.
- HTTP_NOT_AUTHORITATIVE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 203: Non-Authoritative Information.
- HTTP_NOT_FOUND - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 404: Not Found.
- HTTP_NOT_IMPLEMENTED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 501: Not Implemented.
- HTTP_NOT_MODIFIED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 304: Not Modified.
- HTTP_OK - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 200: OK.
- HTTP_PARTIAL - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 206: Partial Content.
- HTTP_PAYMENT_REQUIRED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 402: Payment Required.
- HTTP_PRECON_FAILED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 412: Precondition Failed.
- HTTP_PROXY_AUTH - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 407: Proxy Authentication Required.
- HTTP_REQ_TOO_LONG - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 414: Request-URI Too Large.
- HTTP_RESET - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 205: Reset Content.
- HTTP_SEE_OTHER - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 303: See Other.
- HTTP_UNAUTHORIZED - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 401: Unauthorized.
- HTTP_UNAVAILABLE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 503: Service Unavailable.
- HTTP_UNSUPPORTED_TYPE - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 415: Unsupported Media Type.
- HTTP_USE_PROXY - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 305: Use Proxy.
- HTTP_VERSION - Static variable in class cn.hutool.http.HttpStatus
-
HTTP Status-Code 505: HTTP Version Not Supported.
- HttpBase<T> - Class in cn.hutool.http
-
http基类
- HttpBase() - Constructor for class cn.hutool.http.HttpBase
-
- HttpConnection - Class in cn.hutool.http
-
http连接对象,对HttpURLConnection的包装
- HttpConnection(URL, Proxy) - Constructor for class cn.hutool.http.HttpConnection
-
构造HttpConnection
- httpConnection - Variable in class cn.hutool.http.HttpResponse
-
持有连接对象
- HttpException - Exception in cn.hutool.http
-
HTTP异常
- HttpException(Throwable) - Constructor for exception cn.hutool.http.HttpException
-
- HttpException(String) - Constructor for exception cn.hutool.http.HttpException
-
- HttpException(String, Object...) - Constructor for exception cn.hutool.http.HttpException
-
- HttpException(String, Throwable) - Constructor for exception cn.hutool.http.HttpException
-
- HttpException(Throwable, String, Object...) - Constructor for exception cn.hutool.http.HttpException
-
- HttpFilter - Interface in cn.hutool.http.server.filter
-
过滤器接口,用于简化Filter
使用
- HttpGlobalConfig - Class in cn.hutool.http
-
HTTP 全局参数配置
- HttpGlobalConfig() - Constructor for class cn.hutool.http.HttpGlobalConfig
-
- HttpInputStream - Class in cn.hutool.http
-
HTTP输入流,此流用于包装Http请求响应内容的流,用于解析各种压缩、分段的响应流内容
- HttpInputStream(HttpResponse) - Constructor for class cn.hutool.http.HttpInputStream
-
构造
- HttpRequest - Class in cn.hutool.http
-
http请求类
Http请求类用于构建Http请求并同步获取结果,此类通过CookieManager持有域名对应的Cookie值,再次请求时会自动附带Cookie信息
- HttpRequest(String) - Constructor for class cn.hutool.http.HttpRequest
-
构造,URL编码默认使用UTF-8
- HttpRequest(UrlBuilder) - Constructor for class cn.hutool.http.HttpRequest
-
构造
- HttpResponse - Class in cn.hutool.http
-
Http响应类
非线程安全对象
- HttpResponse(HttpConnection, Charset, boolean, boolean) - Constructor for class cn.hutool.http.HttpResponse
-
构造
- HttpServerBase - Class in cn.hutool.http.server
-
HttpServer公用对象,提供HttpExchange包装和公用方法
- HttpServerBase(HttpExchange) - Constructor for class cn.hutool.http.server.HttpServerBase
-
构造
- HttpServerRequest - Class in cn.hutool.http.server
-
Http请求对象,对HttpExchange
封装
- HttpServerRequest(HttpExchange) - Constructor for class cn.hutool.http.server.HttpServerRequest
-
构造
- HttpServerResponse - Class in cn.hutool.http.server
-
Http响应对象,用于写出数据到客户端
- HttpServerResponse(HttpExchange) - Constructor for class cn.hutool.http.server.HttpServerResponse
-
构造
- HttpStatus - Class in cn.hutool.http
-
HTTP状态码
- HttpStatus() - Constructor for class cn.hutool.http.HttpStatus
-
- HttpUtil - Class in cn.hutool.http
-
Http请求工具类
- HttpUtil() - Constructor for class cn.hutool.http.HttpUtil
-
- httpVersion - Variable in class cn.hutool.http.HttpBase
-
http版本
- httpVersion() - Method in class cn.hutool.http.HttpBase
-
返回http版本
- httpVersion(String) - Method in class cn.hutool.http.HttpBase
-
设置http版本
- Hutool - Class in cn.hutool
-
Hutool是一个小而全的Java工具类库,通过静态方法封装,降低相关API的学习成本,提高工作效率,使Java拥有函数式语言般的优雅,让Java语言也可以“甜甜的”。
- ICaptcha - Interface in cn.hutool.captcha
-
验证码接口,提供验证码对象接口定义
- ID_SM2_PUBLIC_KEY_PARAM - Static variable in class cn.hutool.crypto.SmUtil
-
SM2国密算法公钥参数的Oid标识
- Idcard(String) - Constructor for class cn.hutool.core.util.IdcardUtil.Idcard
-
构造
- IdcardUtil - Class in cn.hutool.core.util
-
身份证相关工具类
see https://www.oschina.net/code/snippet_1611_2881
- IdcardUtil() - Constructor for class cn.hutool.core.util.IdcardUtil
-
- IdcardUtil.Idcard - Class in cn.hutool.core.util
-
身份证信息,包括身份、城市代码、生日、性别等
- identifyDriver(String) - Static method in class cn.hutool.db.dialect.DialectFactory
-
通过JDBC URL等信息识别JDBC驱动名
- identifyDriver(String) - Static method in class cn.hutool.db.dialect.DriverUtil
-
通过JDBC URL等信息识别JDBC驱动名
- identifyDriver(DataSource) - Static method in class cn.hutool.db.dialect.DriverUtil
-
识别JDBC驱动名
- identifyDriver(Connection) - Static method in class cn.hutool.db.dialect.DriverUtil
-
识别JDBC驱动名
- identityHashCode(Object) - Static method in class cn.hutool.core.util.HashUtil
-
根据对象的内存地址生成相应的Hash值
- idnToASCII(String) - Static method in class cn.hutool.core.net.NetUtil
-
Unicode域名转puny code
- IdUtil - Class in cn.hutool.core.util
-
ID生成器工具类,此工具类中主要封装:
- IdUtil() - Constructor for class cn.hutool.core.util.IdUtil
-
- ifPresent(Consumer<? super T>) - Method in class cn.hutool.core.bean.OptionalBean
-
如果值非空,则使用指定函数处理值
- ignoreCase - Variable in class cn.hutool.core.bean.copier.CopyOptions
-
是否忽略字段大小写
- ignoreCase() - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置忽略字段的大小写
- ignoreEmptyRow - Variable in class cn.hutool.poi.excel.reader.AbstractSheetReader
-
是否忽略空行
- ignoreError - Variable in class cn.hutool.core.bean.copier.CopyOptions
-
是否忽略字段注入错误
- ignoreError() - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置忽略字段的注入错误
- ignoreNullValue - Variable in class cn.hutool.core.bean.copier.CopyOptions
-
是否忽略空值,当源对象的值为null时,true: 忽略而不注入此值,false: 注入null
- ignoreNullValue() - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置忽略空值,当源对象的值为null时,忽略而不注入此值
- ignoreProperties - Variable in class cn.hutool.core.bean.copier.CopyOptions
-
忽略的目标对象中属性列表,设置一个属性列表,不拷贝这些属性值
- IgnoreWatcher - Class in cn.hutool.core.io.watch.watchers
-
跳过所有事件处理Watcher
用户继承此类后实现需要监听的方法
- IgnoreWatcher() - Constructor for class cn.hutool.core.io.watch.watchers.IgnoreWatcher
-
- ih - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- IKAnalyzerEngine - Class in cn.hutool.extra.tokenizer.engine.ikanalyzer
-
IKAnalyzer分词引擎实现
项目地址:https://github.com/yozhao/IKAnalyzer
- IKAnalyzerEngine() - Constructor for class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerEngine
-
构造
- IKAnalyzerEngine(IKSegmenter) - Constructor for class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerEngine
-
构造
- IKAnalyzerResult - Class in cn.hutool.extra.tokenizer.engine.ikanalyzer
-
IKAnalyzer分词结果实现
项目地址:https://github.com/yozhao/IKAnalyzer
- IKAnalyzerResult(IKSegmenter) - Constructor for class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerResult
-
构造
- IKAnalyzerWord - Class in cn.hutool.extra.tokenizer.engine.ikanalyzer
-
IKAnalyzer分词中的一个单词包装
- IKAnalyzerWord(Lexeme) - Constructor for class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerWord
-
构造
- image - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- image - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- IMAGE_TYPE_BMP - Static variable in class cn.hutool.core.img.ImgUtil
-
- IMAGE_TYPE_GIF - Static variable in class cn.hutool.core.img.ImgUtil
-
- IMAGE_TYPE_JPEG - Static variable in class cn.hutool.core.img.ImgUtil
-
- IMAGE_TYPE_JPG - Static variable in class cn.hutool.core.img.ImgUtil
-
- IMAGE_TYPE_PNG - Static variable in class cn.hutool.core.img.ImgUtil
-
- IMAGE_TYPE_PSD - Static variable in class cn.hutool.core.img.ImgUtil
-
- imageBytes - Variable in class cn.hutool.captcha.AbstractCaptcha
-
验证码图片
- IMAGES_TYPE - Static variable in class cn.hutool.core.img.BackgroundRemoval
-
目前暂时支持的图片类型数组
其他格式的不保证结果
- ImageSelection - Class in cn.hutool.core.swing.clipboard
-
- ImageSelection(Image) - Constructor for class cn.hutool.core.swing.clipboard.ImageSelection
-
构造
- Img - Class in cn.hutool.core.img
-
图像编辑器
- Img(BufferedImage) - Constructor for class cn.hutool.core.img.Img
-
构造,目标图片类型取决于来源图片类型
- Img(BufferedImage, String) - Constructor for class cn.hutool.core.img.Img
-
构造
- img - Variable in class cn.hutool.extra.qrcode.QrConfig
-
二维码中的Logo
- ImgUtil - Class in cn.hutool.core.img
-
图片处理工具类:
功能:缩放图像、切割图像、旋转、图像类型转换、彩色转黑白、文字水印、图片水印等
参考:http://blog.csdn.net/zhangzhikaixinya/article/details/8459400
- ImgUtil() - Constructor for class cn.hutool.core.img.ImgUtil
-
- in - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- in(String, T...) - Method in class cn.hutool.db.sql.SqlBuilder
-
多值选择
- in - Variable in class cn.hutool.http.HttpResponse
-
Http请求原始流
- increment() - Method in class cn.hutool.core.lang.mutable.MutableByte
-
值+1
- increment() - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
值+1
- increment() - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
值+1
- increment() - Method in class cn.hutool.core.lang.mutable.MutableInt
-
值+1
- increment() - Method in class cn.hutool.core.lang.mutable.MutableLong
-
值+1
- increment() - Method in class cn.hutool.core.lang.mutable.MutableShort
-
值+1
- increment(String) - Method in class cn.hutool.json.JSONObject
-
对值加一,如果值不存在,赋值1,如果为数字类型,做加一操作
- INDENT_DEFAULT - Static variable in class cn.hutool.core.util.XmlUtil
-
XML格式化输出默认缩进量
- index() - Method in class cn.hutool.core.io.FastByteBuffer
-
当前缓冲位于缓冲区的索引位
- index - Variable in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
- INDEX_NOT_FOUND - Static variable in class cn.hutool.core.text.CharSequenceUtil
-
- INDEX_NOT_FOUND - Static variable in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组中元素未找到的下标,值为-1
- IndexedComparator<T> - Class in cn.hutool.core.comparator
-
按照数组的顺序正序排列,数组的元素位置决定了对象的排序先后
默认的,如果参与排序的元素并不在数组中,则排序在前(可以通过atEndIfMiss设置)
- IndexedComparator(T...) - Constructor for class cn.hutool.core.comparator.IndexedComparator
-
构造
- IndexedComparator(boolean, T...) - Constructor for class cn.hutool.core.comparator.IndexedComparator
-
构造
- indexedFormat(CharSequence, Object...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
有序的格式化文本,使用{number}做为占位符
通常使用:format("this is {0} for {1}", "a", "b") =》 this is a for b
- indexedPixels - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- indexOf(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定范围内查找指定字符
- indexOf(CharSequence, char, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定范围内查找指定字符
- indexOf(CharSequence, char, int, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定范围内查找指定字符
- indexOf(CharSequence, CharSequence, int, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定范围内查找字符串
- indexOf(Object) - Method in class cn.hutool.core.text.csv.CsvRow
-
- indexOf(T[], Object) - Static method in class cn.hutool.core.util.ArrayUtil
-
- indexOf(long[], long) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(int[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(short[], short) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(char[], char) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(byte[], byte) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(double[], double) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(float[], float) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(boolean[], boolean) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
- indexOf(Object) - Method in class cn.hutool.json.JSONArray
-
- indexOfAll(Collection<T>, Matcher<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
获取匹配规则定义中匹配到元素的所有位置
此方法对于某些无序集合的位置信息,以转换为数组后的位置为准。
- indexOfAll(List<T>, Matcher<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
获取匹配规则定义中匹配到元素的所有位置
- indexOfIgnoreCase(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定范围内查找字符串,忽略大小写
- indexOfIgnoreCase(CharSequence, CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定范围内查找字符串
- indexOfIgnoreCase(CharSequence[], CharSequence) - Static method in class cn.hutool.core.util.ArrayUtil
-
- indexOfSub(T[], T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
查找子数组的位置
- indexToColName(int) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
将Sheet列号变为列名
- info(Throwable) - Method in class cn.hutool.log.AbstractLog
-
- info(String, Object...) - Method in class cn.hutool.log.AbstractLog
-
- info(Throwable, String, Object...) - Method in class cn.hutool.log.AbstractLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- info(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- info(Throwable) - Method in interface cn.hutool.log.level.InfoLog
-
打印 INFO 等级的日志
- info(String, Object...) - Method in interface cn.hutool.log.level.InfoLog
-
打印 INFO 等级的日志
- info(Throwable, String, Object...) - Method in interface cn.hutool.log.level.InfoLog
-
打印 INFO 等级的日志
- info(String, Throwable, String, Object...) - Method in interface cn.hutool.log.level.InfoLog
-
打印 INFO 等级的日志
- info(String, Object...) - Static method in class cn.hutool.log.StaticLog
-
Info等级日志,小于Warn
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
- info(Log, String, Object...) - Static method in class cn.hutool.log.StaticLog
-
Info等级日志,小于Warn
- InfoLog - Interface in cn.hutool.log.level
-
INFO级别日志接口
- init(String, String) - Method in class cn.hutool.bloomfilter.BitSetBloomFilter
-
通过文件初始化过滤器.
- init(long, int) - Method in class cn.hutool.bloomfilter.filter.AbstractFilter
-
初始化
- init() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Initializes or re-initializes reader
- init() - Method in class cn.hutool.core.io.BOMInputStream
-
Read-ahead four bytes and check for BOM marks.
- init() - Method in class cn.hutool.core.io.watch.WatchMonitor
-
初始化
初始化包括:
- init() - Method in class cn.hutool.core.io.watch.WatchServer
-
初始化
初始化包括:
- init() - Method in class cn.hutool.core.lang.loader.AtomicLoader
-
初始化被加载的对象
如果对象从未被加载过,调用此方法初始化加载对象,此方法只被调用一次
- init() - Method in class cn.hutool.core.lang.loader.LazyLoader
-
初始化被加载的对象
如果对象从未被加载过,调用此方法初始化加载对象,此方法只被调用一次
- init() - Static method in class cn.hutool.core.thread.GlobalThreadPool
-
初始化全局线程池
- init(String, PrivateKey, PublicKey) - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
- init(String, PrivateKey, PublicKey) - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
初始化
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密(签名)或者解密(校验)
- init(String, PrivateKey, PublicKey) - Method in class cn.hutool.crypto.asymmetric.Sign
-
初始化
- init() - Method in class cn.hutool.crypto.asymmetric.SM2
-
初始化
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密(签名)或者解密(校验)
- init(String, Provider) - Method in class cn.hutool.crypto.digest.Digester
-
初始化
- init(Digest, CipherParameters) - Method in class cn.hutool.crypto.digest.mac.BCHMacEngine
-
初始化
- init(String, byte[]) - Method in class cn.hutool.crypto.digest.mac.DefaultHMacEngine
-
初始化
- init(String, Key) - Method in class cn.hutool.crypto.digest.mac.DefaultHMacEngine
-
初始化
- init(String, SecretKey) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
初始化
- init(String, String, String) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
初始化
- init(String, String, String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
初始化
- init(String, String, String, String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
初始化
- init(String, ResultSet) - Method in class cn.hutool.db.meta.Column
-
- init(Table, ResultSet) - Method in class cn.hutool.db.meta.Column
-
初始化
- init() - Method in class cn.hutool.db.nosql.mongo.MongoDS
-
初始化,当给定分组数大于一个时使用
- init(String) - Method in class cn.hutool.db.nosql.redis.RedisDS
-
初始化Jedis客户端
- init(boolean, boolean, boolean, Level) - Method in enum cn.hutool.db.sql.SqlLog
-
设置全局配置:是否通过debug日志显示SQL
- init(Collection<String>, boolean) - Static method in class cn.hutool.dfa.SensitiveUtil
-
初始化敏感词树
- init(Collection<String>) - Static method in class cn.hutool.dfa.SensitiveUtil
-
初始化敏感词树
- init(String, char, boolean) - Static method in class cn.hutool.dfa.SensitiveUtil
-
初始化敏感词树
- init(String, boolean) - Static method in class cn.hutool.dfa.SensitiveUtil
-
初始化敏感词树,使用逗号分隔每个单词
- init() - Method in class cn.hutool.extra.ftp.Ftp
-
初始化连接
- init(String, int, String, String) - Method in class cn.hutool.extra.ftp.Ftp
-
初始化连接
- init(String, int, String, String, FtpMode) - Method in class cn.hutool.extra.ftp.Ftp
-
初始化连接
- init(FtpConfig, FtpMode) - Method in class cn.hutool.extra.ftp.Ftp
-
初始化连接
- init(PinyinFormat) - Method in class cn.hutool.extra.pinyin.engine.jpinyin.JPinyinEngine
-
- init(HanyuPinyinOutputFormat) - Method in class cn.hutool.extra.pinyin.engine.pinyin4j.Pinyin4jEngine
-
初始化
- init(String, int, String, String, Charset) - Method in class cn.hutool.extra.ssh.Sftp
-
构造
- init() - Method in class cn.hutool.extra.ssh.Sftp
-
初始化
- init(FtpConfig) - Method in class cn.hutool.extra.ssh.Sftp
-
初始化
- init(Session, Charset) - Method in class cn.hutool.extra.ssh.Sftp
-
初始化
- init(ChannelSftp, Charset) - Method in class cn.hutool.extra.ssh.Sftp
-
初始化
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.beetl.BeetlEngine
-
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.enjoy.EnjoyEngine
-
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.freemarker.FreemarkerEngine
-
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.rythm.RythmEngine
-
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.thymeleaf.ThymeleafEngine
-
- init(ExtProperties) - Method in class cn.hutool.extra.template.engine.velocity.SimpleStringResourceLoader
-
- init(TemplateConfig) - Method in class cn.hutool.extra.template.engine.velocity.VelocityEngine
-
- init(String, String) - Static method in class cn.hutool.extra.template.engine.velocity.VelocityUtil
-
Deprecated.
初始化Velocity全局属性
- init(String, String, Map<String, Object>) - Static method in class cn.hutool.extra.template.engine.velocity.VelocityUtil
-
Deprecated.
初始化全局属性
- init(TemplateConfig) - Method in interface cn.hutool.extra.template.TemplateEngine
-
使用指定配置文件初始化模板引擎
- init(SoapProtocol) - Method in class cn.hutool.http.webservice.SoapClient
-
初始化
- init(URL, Charset) - Method in class cn.hutool.setting.GroupedSet
-
初始化设定文件
- init(Resource, Charset, boolean) - Method in class cn.hutool.setting.Setting
-
初始化设定文件
- init(InetSocketAddress) - Method in class cn.hutool.socket.aio.AioServer
-
初始化
- init(InetSocketAddress) - Method in class cn.hutool.socket.nio.NioClient
-
初始化
- init(InetSocketAddress) - Method in class cn.hutool.socket.nio.NioServer
-
初始化
- INITALPHA - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- initCache() - Method in class cn.hutool.cache.file.AbstractFileCache
-
初始化实现文件缓存的缓存对象
- initCache() - Method in class cn.hutool.cache.file.LFUFileCache
-
- initCache() - Method in class cn.hutool.cache.file.LRUFileCache
-
- initCipher() - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
- initCipher() - Method in class cn.hutool.crypto.asymmetric.RSA
-
- initCloud() - Method in class cn.hutool.db.nosql.mongo.MongoDS
-
初始化集群
集群的其它客户端设定参数使用全局设定
集群中每一个实例成员用一个group表示,例如:
- initConn() - Method in class cn.hutool.http.HttpConnection
-
初始化连接相关信息
- initKeys() - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
生成公钥和私钥
- initKeys() - Method in class cn.hutool.crypto.asymmetric.SM2
-
- INITRAD - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- INITRADIUS - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- initSingle() - Method in class cn.hutool.db.nosql.mongo.MongoDS
-
初始化
设定文件中的host和端口有三种形式:
- input() - Static method in class cn.hutool.core.lang.Console
-
读取用户输入的内容(在控制台敲回车前的内容)
- InputStreamResource - Class in cn.hutool.core.io.resource
-
- InputStreamResource(InputStream) - Constructor for class cn.hutool.core.io.resource.InputStreamResource
-
构造
- InputStreamResource(InputStream, String) - Constructor for class cn.hutool.core.io.resource.InputStreamResource
-
构造
- insert(int, Object) - Method in class cn.hutool.core.text.StrBuilder
-
追加对象,对象会被转换为字符串
- insert(int, char) - Method in class cn.hutool.core.text.StrBuilder
-
插入指定字符
- insert(int, char[]) - Method in class cn.hutool.core.text.StrBuilder
-
指定位置插入数据
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
- insert(int, char[], int, int) - Method in class cn.hutool.core.text.StrBuilder
-
指定位置插入数据
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
- insert(int, CharSequence) - Method in class cn.hutool.core.text.StrBuilder
-
指定位置插入字符串的某个部分
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
- insert(int, CharSequence, int, int) - Method in class cn.hutool.core.text.StrBuilder
-
指定位置插入字符串的某个部分
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
- insert(T[], int, T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
将新元素插入到到已有数组中的某个位置
添加新元素会生成一个新的数组,不影响原数组
如果插入位置为为负数,从原数组从后向前计数,若大于原数组长度,则空白处用null填充
- insert(Object, int, T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
将新元素插入到到已有数组中的某个位置
添加新元素会生成一个新的数组,不影响原数组
如果插入位置为为负数,从原数组从后向前计数,若大于原数组长度,则空白处用null填充
- insert(Entity) - Method in class cn.hutool.db.AbstractDb
-
插入数据
- insert(Collection<Entity>) - Method in class cn.hutool.db.AbstractDb
-
批量插入数据
需要注意的是,批量插入每一条数据结构必须一致。批量插入数据时会获取第一条数据的字段结构,之后的数据会按照这个格式插入。
也就是说假如第一条数据只有2个字段,后边数据多于这两个字段的部分将被抛弃。
- insert(Connection, Entity...) - Method in class cn.hutool.db.DialectRunner
-
批量插入数据
批量插入必须严格保持Entity的结构一致,不一致会导致插入数据出现不可预知的结果
此方法不会关闭Connection
- insert(Connection, Entity, RsHandler<T>) - Method in class cn.hutool.db.DialectRunner
-
插入数据
此方法不会关闭Connection
- insert(Entity) - Method in class cn.hutool.db.sql.SqlBuilder
-
插入,使用默认的ANSI方言
- insert(Entity, DialectName) - Method in class cn.hutool.db.sql.SqlBuilder
-
插入
插入会忽略空的字段名及其对应值,但是对于有字段名对应值为null
的情况不忽略
- insert(Entity, String) - Method in class cn.hutool.db.sql.SqlBuilder
-
插入
插入会忽略空的字段名及其对应值,但是对于有字段名对应值为null
的情况不忽略
- insert(Connection, Collection<Entity>) - Method in class cn.hutool.db.SqlConnRunner
-
批量插入数据
需要注意的是,批量插入每一条数据结构必须一致。批量插入数据时会获取第一条数据的字段结构,之后的数据会按照这个格式插入。
也就是说假如第一条数据只有2个字段,后边数据多于这两个字段的部分将被抛弃。
此方法不会关闭Connection
- insert(Connection, Entity) - Method in class cn.hutool.db.SqlConnRunner
-
插入数据
此方法不会关闭Connection
- insertForGeneratedKey(Entity) - Method in class cn.hutool.db.AbstractDb
-
插入数据
- insertForGeneratedKey(Connection, Entity) - Method in class cn.hutool.db.SqlConnRunner
-
插入数据
此方法不会关闭Connection
- insertForGeneratedKeys(Entity) - Method in class cn.hutool.db.AbstractDb
-
插入数据
- insertForGeneratedKeys(Connection, Entity) - Method in class cn.hutool.db.SqlConnRunner
-
插入数据
此方法不会关闭Connection
- insertOrUpdate(Entity, String...) - Method in class cn.hutool.db.AbstractDb
-
插入或更新数据
根据给定的字段名查询数据,如果存在则更新这些数据,否则执行插入
- insertOrUpdate(Connection, Entity, String...) - Method in class cn.hutool.db.SqlConnRunner
-
插入或更新数据
此方法不会关闭Connection
- insertPreFragment(Object) - Method in class cn.hutool.db.sql.SqlBuilder
-
在SQL的开头补充SQL片段
- insertRow(Sheet, int, int) - Static method in class cn.hutool.poi.excel.RowUtil
-
插入行
- INSTANCE - Static variable in class cn.hutool.core.comparator.ComparableComparator
-
单例
- INSTANCE - Static variable in class cn.hutool.core.comparator.VersionComparator
-
单例
- INSTANCE - Static variable in class cn.hutool.core.io.file.visitor.DelVisitor
-
- instance() - Static method in class cn.hutool.script.JavaScriptEngine
-
引擎实例
- InstanceComparator<T> - Class in cn.hutool.core.comparator
-
按照指定类型顺序排序,对象顺序取决于对象对应的类在数组中的位置。
- InstanceComparator(Class<?>...) - Constructor for class cn.hutool.core.comparator.InstanceComparator
-
构造
- InstanceComparator(boolean, Class<?>...) - Constructor for class cn.hutool.core.comparator.InstanceComparator
-
构造
- INTBIAS - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- INTBIASSHIFT - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- intercept(Object, Method, Object[], MethodProxy) - Method in class cn.hutool.aop.interceptor.CglibInterceptor
-
- intercept(Object, Method, Object[], MethodProxy) - Method in class cn.hutool.aop.interceptor.SpringCglibInterceptor
-
- interfereCount - Variable in class cn.hutool.captcha.AbstractCaptcha
-
验证码干扰元素个数
- interlace - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- intern(T) - Method in interface cn.hutool.core.lang.intern.Interner
-
返回指定对象对应的规范化对象,sample对象可能有多个,但是这些对象如果都equals,则返回的是同一个对象
- intern(String) - Method in class cn.hutool.core.lang.intern.JdkStringInterner
-
- intern(T) - Method in class cn.hutool.core.lang.intern.WeakInterner
-
- InternalMailUtil - Class in cn.hutool.extra.mail
-
邮件内部工具类
- InternalMailUtil() - Constructor for class cn.hutool.extra.mail.InternalMailUtil
-
- Interner<T> - Interface in cn.hutool.core.lang.intern
-
- InternUtil - Class in cn.hutool.core.lang.intern
-
规范化对象生成工具
- InternUtil() - Constructor for class cn.hutool.core.lang.intern.InternUtil
-
- interrupt(Thread, boolean) - Static method in class cn.hutool.core.thread.ThreadUtil
-
- intersection(Collection<T>, Collection<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
两个集合的交集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最少的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c],此结果中只保留了两个c
- intersection(Collection<T>, Collection<T>, Collection<T>...) - Static method in class cn.hutool.core.collection.CollUtil
-
多个集合的交集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最少的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c],此结果中只保留了两个c
- intersectionDistinct(Collection<T>, Collection<T>, Collection<T>...) - Static method in class cn.hutool.core.collection.CollUtil
-
多个集合的交集
针对一个集合中存在多个相同元素的情况,只保留一个
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c],此结果中只保留了一个c
- interval(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔时间(毫秒数)
如果使用纳秒计时,返回纳秒差,否则返回毫秒差
如果分组下没有开始时间,返回null
- interval(String, DateUnit) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔时间
- interval() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔时间(毫秒数)
如果使用纳秒计时,返回纳秒差,否则返回毫秒差
- intervalDay(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔天数,取绝对值
- intervalDay() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔天数,取绝对值
- intervalHour(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔小时数,取绝对值
- intervalHour() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔小时数,取绝对值
- intervalMinute(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔分钟数,取绝对值
- intervalMinute() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔分钟数,取绝对值
- intervalMs(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔时间(毫秒数)
- intervalMs() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔时间(毫秒数)
- intervalPretty(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔时间(毫秒数),返回XX天XX小时XX分XX秒XX毫秒
- intervalPretty() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔时间(毫秒数),返回XX天XX小时XX分XX秒XX毫秒
- intervalRestart(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
重新计时并返回从开始到当前的持续时间秒
如果此分组下没有记录,则返回0;
- intervalRestart() - Method in class cn.hutool.core.date.TimeInterval
-
- intervalSecond(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔秒数,取绝对值
- intervalSecond() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔秒数,取绝对值
- intervalWeek(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
从开始到当前的间隔周数,取绝对值
- intervalWeek() - Method in class cn.hutool.core.date.TimeInterval
-
从开始到当前的间隔周数,取绝对值
- intHash(int) - Static method in class cn.hutool.core.util.HashUtil
-
Thomas Wang的算法,整数hash
- IntMap - Class in cn.hutool.bloomfilter.bitMap
-
过滤器BitMap在32位机器上.这个类能发生更好的效果.一般情况下建议使用此类
- IntMap() - Constructor for class cn.hutool.bloomfilter.bitMap.IntMap
-
构造
- IntMap(int) - Constructor for class cn.hutool.bloomfilter.bitMap.IntMap
-
构造
- intToByte(int) - Static method in class cn.hutool.core.convert.Convert
-
int转byte
- intToBytes(int) - Static method in class cn.hutool.core.convert.Convert
-
int转byte数组
- intVal() - Method in interface cn.hutool.core.lang.EnumItem
-
- intValue() - Method in class cn.hutool.core.lang.mutable.MutableByte
-
- intValue() - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
- intValue() - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
- intValue() - Method in class cn.hutool.core.lang.mutable.MutableInt
-
- intValue() - Method in class cn.hutool.core.lang.mutable.MutableLong
-
- intValue() - Method in class cn.hutool.core.lang.mutable.MutableShort
-
- INVALID_REGEX - Static variable in class cn.hutool.core.util.XmlUtil
-
在XML中无效的字符 正则
- inverse(Map<K, V>) - Static method in class cn.hutool.core.map.MapUtil
-
Map的键和值互换
互换键值对不检查值是否有重复,如果有则后加入的元素替换先加入的元素
值的顺序在HashMap中不确定,所以谁覆盖谁也不确定,在有序的Map中按照先后顺序覆盖,保留最后的值
- invoke(Object, Method, Object[]) - Method in class cn.hutool.aop.interceptor.JdkInterceptor
-
- invoke(String, Object...) - Method in class cn.hutool.core.bean.DynaBean
-
执行原始Bean中的方法
- invoke(Object, Method, Object[]) - Method in class cn.hutool.core.map.MapProxy
-
- invoke(String, Object[]) - Static method in class cn.hutool.core.util.ClassUtil
-
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
非单例模式,如果是非静态方法,每次创建一个新对象
- invoke(String, boolean, Object...) - Static method in class cn.hutool.core.util.ClassUtil
-
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
- invoke(String, String, Object[]) - Static method in class cn.hutool.core.util.ClassUtil
-
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
非单例模式,如果是非静态方法,每次创建一个新对象
- invoke(String, String, boolean, Object...) - Static method in class cn.hutool.core.util.ClassUtil
-
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
- invoke(Object, Method, Object...) - Static method in class cn.hutool.core.util.ReflectUtil
-
执行方法
- invoke(Object, String, Object...) - Static method in class cn.hutool.core.util.ReflectUtil
-
执行对象中指定方法
如果需要传递的参数为null,请使用NullWrapperBean来传递,不然会丢失类型信息
- invoke(String, String, Object...) - Static method in class cn.hutool.script.ScriptUtil
-
执行JS脚本中的指定方法
- invokeAll(Collection<? extends Callable<T>>) - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- invokeAny(Collection<? extends Callable<T>>) - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- invokeFunction(String, Object...) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- invokeFunction(String, Object...) - Method in class cn.hutool.script.JavaScriptEngine
-
- invokeMethod(Object, String, Object...) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- invokeMethod(Object, String, Object...) - Method in class cn.hutool.script.JavaScriptEngine
-
- invokeStatic(Method, Object...) - Static method in class cn.hutool.core.util.ReflectUtil
-
执行静态方法
- InvokeTask - Class in cn.hutool.cron.task
-
反射执行任务
通过传入类名#方法名,通过反射执行相应的方法
如果是静态方法直接执行,如果是对象方法,需要类有默认的构造方法。
- InvokeTask(String) - Constructor for class cn.hutool.cron.task.InvokeTask
-
构造
- invokeWithCheck(Object, Method, Object...) - Static method in class cn.hutool.core.util.ReflectUtil
-
执行方法
执行前要检查给定参数:
- inxbuild() - Method in class cn.hutool.core.img.gif.NeuQuant
-
- ioAction - Variable in class cn.hutool.socket.aio.AioServer
-
- IoAction<T> - Interface in cn.hutool.socket.aio
-
Socket流处理接口
实现此接口用于处理接收到的消息,发送指定消息
- IORuntimeException - Exception in cn.hutool.core.io
-
IO运行时异常,常用于对IOException的包装
- IORuntimeException(Throwable) - Constructor for exception cn.hutool.core.io.IORuntimeException
-
- IORuntimeException(String) - Constructor for exception cn.hutool.core.io.IORuntimeException
-
- IORuntimeException(String, Object...) - Constructor for exception cn.hutool.core.io.IORuntimeException
-
- IORuntimeException(String, Throwable) - Constructor for exception cn.hutool.core.io.IORuntimeException
-
- IORuntimeException(Throwable, String, Object...) - Constructor for exception cn.hutool.core.io.IORuntimeException
-
- IoUtil - Class in cn.hutool.core.io
-
IO工具类
IO工具类只是辅助流的读写,并不负责关闭流。原因是流可能被多次读写,读写关闭后容易造成问题。
- IoUtil() - Constructor for class cn.hutool.core.io.IoUtil
-
- IP_MASK_MAX - Static variable in class cn.hutool.core.net.Ipv4Util
-
最大掩码位
- IP_MASK_SPLIT_MARK - Static variable in class cn.hutool.core.net.Ipv4Util
-
IP与掩码的分割符
- IP_SPLIT_MARK - Static variable in class cn.hutool.core.net.Ipv4Util
-
IP段的分割符
- IPAD - Static variable in class cn.hutool.http.useragent.Platform
-
ipad
- IPHONE - Static variable in class cn.hutool.http.useragent.Platform
-
Iphone
- IPOD - Static variable in class cn.hutool.http.useragent.Platform
-
ipod
- IPV4 - Static variable in class cn.hutool.core.lang.PatternPool
-
IP v4
- IPV4 - Static variable in class cn.hutool.core.lang.Validator
-
IP v4
- ipv4ToLong(String) - Static method in class cn.hutool.core.net.Ipv4Util
-
根据ip地址(xxx.xxx.xxx.xxx)计算出long型的数据
- ipv4ToLong(String) - Static method in class cn.hutool.core.net.NetUtil
-
根据ip地址计算出long型的数据
- Ipv4Util - Class in cn.hutool.core.net
-
IPV4地址工具类
- Ipv4Util() - Constructor for class cn.hutool.core.net.Ipv4Util
-
- IPV6 - Static variable in class cn.hutool.core.lang.PatternPool
-
IP v6
- IPV6 - Static variable in class cn.hutool.core.lang.Validator
-
IP v6
- ipv6ToBitInteger(String) - Static method in class cn.hutool.core.net.NetUtil
-
将IPv6地址字符串转为大整数
- isAbsolutePath(String) - Static method in class cn.hutool.core.io.FileUtil
-
- isAbstract(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为抽象类
- isAfter(Date) - Method in class cn.hutool.core.date.DateTime
-
是否在给定日期之后
- isAfterOrEquals(Date) - Method in class cn.hutool.core.date.DateTime
-
是否在给定日期之后或与给定日期相等
- isAix() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isAllAssignableFrom(Class<?>[], Class<?>[]) - Static method in class cn.hutool.core.util.ClassUtil
-
比较判断types1和types2两组类,如果types1中所有的类都与types2对应位置的类相同,或者是其父类或接口,则返回true
- isAllBlank(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串数组中的元素,是否全部为空字符串。
- isAllCharMatch(CharSequence, Matcher<Character>) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
字符串的每一个字符是否都与定义的匹配器匹配
- isAllEmpty(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串数组中的元素,是否全部为空字符串。
- isAllEmpty(Object...) - Static method in class cn.hutool.core.util.ArrayUtil
-
- isAllEmpty(Object...) - Static method in class cn.hutool.core.util.ObjectUtil
-
- isAllNotBlank(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
- isAllNotEmpty(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串数组中的元素,是否都不为空字符串。
- isAllNotEmpty(Object...) - Static method in class cn.hutool.core.util.ArrayUtil
-
- isAllNotEmpty(Object...) - Static method in class cn.hutool.core.util.ObjectUtil
-
- isAllNotNull(T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
多个字段是否全部不为null
- isAllNull(Iterable<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
是否全部元素为null
- isAllNull(Iterator<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
是否全部元素为null
- isAllNull(T...) - Static method in class cn.hutool.core.util.ArrayUtil
-
多个字段是否全为null
- isAllowFileExts - Variable in class cn.hutool.core.net.multipart.UploadSetting
-
扩展名是允许列表还是禁止列表
- isAllowFileExts() - Method in class cn.hutool.core.net.multipart.UploadSetting
-
是否允许文件扩展名
- isAlwaysMakeTags() - Method in class cn.hutool.http.HTMLFilter
-
- isAM(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
是否为上午
- isAM() - Method in class cn.hutool.core.date.DateTime
-
是否为上午
- isAM(Date) - Static method in class cn.hutool.core.date.DateUtil
-
是否为上午
- isAndroid() - Method in class cn.hutool.http.useragent.Platform
-
是否为Android平台,包括Android和Google TV
- isAnnotationPresent(Class<? extends Annotation>) - Method in class cn.hutool.core.annotation.CombinationAnnotationElement
-
- isArray(Object) - Static method in class cn.hutool.core.util.ArrayUtil
-
对象是否为数组对象
- isAscii(char) - Static method in class cn.hutool.core.util.CharUtil
-
是否为ASCII字符,ASCII字符位于0~127之间
- isAsciiControl(char) - Static method in class cn.hutool.core.util.CharUtil
-
是否为ASCII控制符(不可见字符),控制符位于0~31和127
- isAsciiPrintable(char) - Static method in class cn.hutool.core.util.CharUtil
-
是否为可见ASCII字符,可见字符位于32~126之间
- isAssignable(Class<?>, Class<?>) - Static method in class cn.hutool.core.lang.Assert
-
断言 superType.isAssignableFrom(subType)
是否为 true
.
- isAssignable(Class<?>, Class<?>, String, Object...) - Static method in class cn.hutool.core.lang.Assert
-
断言 superType.isAssignableFrom(subType)
是否为 true
.
- isAssignable(Class<?>, Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
检查目标类是否可以从原类转化
转化包括:
1、原类是对象,目标类型是原类型实现的接口
2、目标类型是原类型的父类
3、两者是原始类型或者包装类型(相互转换)
- isAuth() - Method in class cn.hutool.extra.mail.MailAccount
-
是否需要用户名密码验证
- isAutoIncrement() - Method in class cn.hutool.db.meta.Column
-
是否自增
- isBasicType(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为基本类型(包括包装类和原始类)
- isBasicType(Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
是否为基本类型,包括包装类型和非包装类型
- isBean(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断是否为Bean对象,判定方法是:
- isBefore(Date) - Method in class cn.hutool.core.date.DateTime
-
是否在给定日期之前
- isBeforeOrEquals(Date) - Method in class cn.hutool.core.date.DateTime
-
是否在给定日期之前或与给定日期相等
- isBeside(long, long) - Static method in class cn.hutool.core.util.NumberUtil
-
判断两个数字是否相邻,例如1和2相邻,1和3不相邻
判断方法为做差取绝对值判断是否为1
- isBeside(int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
判断两个数字是否相邻,例如1和2相邻,1和3不相邻
判断方法为做差取绝对值判断是否为1
- isBetween(Number, Number, Number) - Static method in class cn.hutool.core.lang.Validator
-
检查给定的数字是否在指定范围内
- isBirthday(int, int, int) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为生日
- isBirthday(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为生日
只支持以下几种格式:
yyyyMMdd
yyyy-MM-dd
yyyy/MM/dd
yyyy.MM.dd
yyyy年MM月dd日
- isBlank(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
字符串是否为空白,空白的定义如下:
- isBlankChar(char) - Static method in class cn.hutool.core.util.CharUtil
-
是否空白符
空白符包括空格、制表符、全角空格和不间断空格
- isBlankChar(int) - Static method in class cn.hutool.core.util.CharUtil
-
是否空白符
空白符包括空格、制表符、全角空格和不间断空格
- isBlankChar(char) - Static method in class cn.hutool.core.util.NumberUtil
-
- isBlankChar(int) - Static method in class cn.hutool.core.util.NumberUtil
-
- isBlankIfStr(Object) - Static method in class cn.hutool.core.util.StrUtil
-
如果对象是字符串是否为空白,空白的定义如下:
- isBlankOrUndefined(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
检查字符串是否为null、空白串、“null”、“undefined”
- isBoolean(Class<?>) - Static method in class cn.hutool.core.util.BooleanUtil
-
给定类是否为Boolean或者boolean
- isBoundary(byte) - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
- isCalledBy(Class<?>) - Method in interface cn.hutool.core.lang.caller.Caller
-
是否被指定类调用
- isCalledBy(Class<?>) - Static method in class cn.hutool.core.lang.caller.CallerUtil
-
是否被指定类调用
- isCalledBy(Class<?>) - Method in class cn.hutool.core.lang.caller.SecurityManagerCaller
-
- isCalledBy(Class<?>) - Method in class cn.hutool.core.lang.caller.StackTraceCaller
-
- isCausedBy(Throwable, Class<? extends Exception>...) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
判断是否由指定异常类引起
- isChar(Object) - Static method in class cn.hutool.core.util.CharUtil
-
给定对象对应的类是否为字符类,字符类包括:
- isCharClass(Class<?>) - Static method in class cn.hutool.core.util.CharUtil
-
给定类名是否为字符类,字符类包括:
- isChinese(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否都为汉字
- isChinese(char) - Static method in class cn.hutool.extra.pinyin.PinyinUtil
-
是否为中文字符
- isChunked() - Method in class cn.hutool.http.HttpResponse
-
是否为Transfer-Encoding:Chunked的内容
- isCitizenId(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为身份证号码(支持18位、15位和港澳台的10位)
- isClosed - Variable in class cn.hutool.core.io.watch.WatchServer
-
监听是否已经关闭
- isClosed() - Method in class cn.hutool.db.ds.pooled.PooledConnection
-
连接是否关闭,关闭条件:
1、被归还到池中
2、实际连接已关闭
- isClosed() - Method in class cn.hutool.db.sql.StatementWrapper
-
- isClosed - Variable in class cn.hutool.poi.excel.ExcelBase
-
是否被关闭
- isClosed - Variable in class cn.hutool.poi.word.Word07Writer
-
是否被关闭
- isCloseOnCompletion() - Method in class cn.hutool.db.sql.StatementWrapper
-
- isConnected(AsynchronousSocketChannel) - Static method in class cn.hutool.socket.SocketUtil
-
远程主机是否处于连接状态
通过判断远程地址获取成功与否判断
- isCopyAttributes() - Method in class cn.hutool.core.io.file.FileCopier
-
是否拷贝所有属性
- isCopyContentIfDir() - Method in class cn.hutool.core.io.file.FileCopier
-
当拷贝来源是目录时是否只拷贝目录下的内容
- isCreditCode(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
是否是有效的统一社会信用代码
- isCreditCode(CharSequence) - Static method in class cn.hutool.core.util.CreditCodeUtil
-
是否是有效的统一社会信用代码
- isCreditCodeSimple(CharSequence) - Static method in class cn.hutool.core.util.CreditCodeUtil
-
正则校验统一社会信用代码(18位)
- isCropSupported() - Method in class cn.hutool.extra.qrcode.BufferedImageLuminanceSource
-
- isDaemon() - Method in class cn.hutool.cron.Scheduler
-
是否为守护线程
- isDataFlavorSupported(DataFlavor) - Method in class cn.hutool.core.swing.clipboard.ImageSelection
-
是否支持指定元数据类型
- isDateFormat(Cell) - Static method in class cn.hutool.poi.excel.ExcelDateUtil
-
- isDateFormat(Cell, ConditionalFormattingEvaluator) - Static method in class cn.hutool.poi.excel.ExcelDateUtil
-
判断是否日期格式
- isDateFormat(ExcelNumberFormat) - Static method in class cn.hutool.poi.excel.ExcelDateUtil
-
判断是否日期格式
- isDateFormat(int, String) - Static method in class cn.hutool.poi.excel.ExcelDateUtil
-
判断日期格式
- isDateFormat(CellValueRecordInterface, FormatTrackingHSSFListener) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
-
判断数字Record中是否为日期格式
- isDateFormat(int, String) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
-
判断日期格式
- isDebug() - Method in class cn.hutool.extra.mail.MailAccount
-
是否打开调试模式,调试模式会显示与邮件服务器通信过程,默认不开启
- isDebugEnabled() - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- isDebugEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- isDebugEnabled() - Method in interface cn.hutool.log.level.DebugLog
-
- isDefault(String) - Static method in enum cn.hutool.http.ContentType
-
是否为默认Content-Type,默认包括null
和application/x-www-form-urlencoded
- isDeflate() - Method in class cn.hutool.http.HttpResponse
-
是否为zlib(Defalte)压缩过的内容
- isDirectory(Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
判断是否为目录,如果file为null,则返回false
此方法不会追踪到软链对应的真实地址,即软链被当作文件
- isDirectory(Path, boolean) - Static method in class cn.hutool.core.io.file.PathUtil
-
判断是否为目录,如果file为null,则返回false
- isDirectory(String) - Static method in class cn.hutool.core.io.FileUtil
-
判断是否为目录,如果path为null,则返回false
- isDirectory(File) - Static method in class cn.hutool.core.io.FileUtil
-
判断是否为目录,如果file为null,则返回false
- isDirEmpty(Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
目录是否为空
- isDirEmpty(File) - Static method in class cn.hutool.core.io.FileUtil
-
目录是否为空
- isDocumented(Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
是否会保存到 Javadoc 文档中
- isDouble(String) - Static method in class cn.hutool.core.util.NumberUtil
-
判断字符串是否是浮点数
- isElement(Node) - Static method in class cn.hutool.core.util.XmlUtil
-
- isEmail(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为可用邮箱地址
- isEmoji(char) - Static method in class cn.hutool.core.util.CharUtil
-
判断是否为emoji表情符
- isEmoji(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
-
是否为Emoji表情的Unicode符
- isEmpty() - Method in interface cn.hutool.cache.Cache
-
缓存是否为空
- isEmpty() - Method in class cn.hutool.cache.impl.AbstractCache
-
- isEmpty() - Method in class cn.hutool.cache.impl.NoCache
-
- isEmpty(Object, String...) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断Bean是否为空对象,空对象表示本身为null
或者所有属性都为null
此方法不判断static属性
- isEmpty(Collection<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
集合是否为空
- isEmpty(Map<?, ?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Map是否为空
- isEmpty(Iterable<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Iterable是否为空
- isEmpty(Iterator<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Iterator是否为空
- isEmpty(Enumeration<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Enumeration是否为空
- isEmpty() - Method in class cn.hutool.core.collection.ConcurrentHashSet
-
- isEmpty(Iterable<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
Iterable是否为空
- isEmpty(Iterator<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
Iterator是否为空
- isEmpty() - Method in class cn.hutool.core.collection.TransCollection
-
- isEmpty() - Method in class cn.hutool.core.io.FastByteBuffer
-
- isEmpty(File) - Static method in class cn.hutool.core.io.FileUtil
-
文件是否为空
目录:里面没有文件时为空 文件:文件大小为0时为空
- isEmpty(Object) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为空
对于String类型判定是否为empty(null 或 "")
- isEmpty() - Method in class cn.hutool.core.map.MapProxy
-
- isEmpty(Map<?, ?>) - Static method in class cn.hutool.core.map.MapUtil
-
Map是否为空
- isEmpty() - Method in class cn.hutool.core.map.MapWrapper
-
- isEmpty() - Method in class cn.hutool.core.map.TableMap
-
- isEmpty(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
字符串是否为空,空的定义如下:
- isEmpty() - Method in class cn.hutool.core.text.csv.CsvRow
-
- isEmpty() - Method in class cn.hutool.core.text.StrBuilder
-
是否为空
- isEmpty(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
数组是否为空
- isEmpty(Object) - Static method in class cn.hutool.core.util.ArrayUtil
-
数组是否为空
此方法会匹配单一对象,如果此对象为null
则返回true
如果此对象为非数组,理解为此对象为数组的第一个元素,则返回false
如果此对象为数组对象,数组长度大于0情况下返回false,否则返回true
- isEmpty(Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
判断指定对象是否为空,支持:
- isEmpty(long[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty(int[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty(short[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty(char[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty(byte[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty(double[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty(float[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty(boolean[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为空
- isEmpty() - Method in class cn.hutool.cron.Scheduler
-
是否无任务
- isEmpty() - Method in class cn.hutool.cron.TaskTable
-
任务表是否为空
- isEmpty() - Method in class cn.hutool.db.ThreadLocalConnection.GroupedConnection
-
持有的连接是否为空
- isEmpty() - Method in class cn.hutool.json.JSONArray
-
- isEmpty() - Method in class cn.hutool.json.JSONObject
-
- isEmpty(Sheet) - Static method in class cn.hutool.poi.excel.WorkbookUtil
-
sheet是否为空
- isEmpty(String) - Method in class cn.hutool.setting.GroupedMap
-
某个分组对应的键值对是否为空
- isEmpty() - Method in class cn.hutool.setting.GroupedMap
-
是否为空,如果多个分组同时为空,也按照空处理
- isEmpty(String) - Method in class cn.hutool.setting.Setting
-
某个分组对应的键值对是否为空
- isEmpty() - Method in class cn.hutool.setting.Setting
-
- isEmptyIfStr(Object) - Static method in class cn.hutool.core.util.StrUtil
-
如果对象是字符串是否为空串,空的定义如下:
- isEmptyOrUndefined(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
检查字符串是否为null、“”、“null”、“undefined”
- isEmptyParam(Method) - Static method in class cn.hutool.core.util.ReflectUtil
-
是否为无参数方法
- isEnabled(Level) - Method in class cn.hutool.log.AbstractLog
-
- isEnabled(Level) - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- isEnabled(Level) - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- isEnabled(Level) - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- isEnabled(Level) - Method in interface cn.hutool.log.Log
-
是否开启指定日志
- isEnum(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
判断类是否为枚举类型
- isEnum(Class<?>) - Static method in class cn.hutool.core.util.EnumUtil
-
指定类是否为Enum类
- isEnum(Object) - Static method in class cn.hutool.core.util.EnumUtil
-
指定类是否为Enum类
- isEquals() - Method in class cn.hutool.core.builder.EqualsBuilder
-
Returns true
if the fields that have been checked
are all equal.
- isEqualsMethod(Method) - Static method in class cn.hutool.core.util.ReflectUtil
-
是否为equals方法
- isErrorEnabled() - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- isErrorEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- isErrorEnabled() - Method in interface cn.hutool.log.level.ErrorLog
-
- isExpired(Date, DateField, int, Date) - Static method in class cn.hutool.core.date.DateUtil
-
- isExpired(Date, Date, Date) - Static method in class cn.hutool.core.date.DateUtil
-
- isFalse(boolean, Supplier<X>) - Static method in class cn.hutool.core.lang.Assert
-
断言是否为假,如果为
true
抛出指定类型异常
并使用指定的函数获取错误信息返回
Assert.isFalse(i > 0, ()->{
// to query relation message
return new IllegalArgumentException("relation message to return");
});
- isFalse(boolean, String, Object...) - Static method in class cn.hutool.core.lang.Assert
-
断言是否为假,如果为
true
抛出
IllegalArgumentException
异常
Assert.isFalse(i < 0, "The value must be greater than zero");
- isFalse(boolean) - Static method in class cn.hutool.core.lang.Assert
-
断言是否为假,如果为
true
抛出
IllegalArgumentException
异常
Assert.isFalse(i < 0);
- isFalse(boolean) - Static method in class cn.hutool.core.lang.Validator
-
给定值是否不为false
- isFalse(Boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
检查 Boolean
值是否为 false
- isFile(Path, boolean) - Static method in class cn.hutool.core.io.file.PathUtil
-
判断是否为文件,如果file为null,则返回false
- isFile(String) - Static method in class cn.hutool.core.io.FileUtil
-
判断是否为文件,如果path为null,则返回false
- isFile(File) - Static method in class cn.hutool.core.io.FileUtil
-
判断是否为文件,如果file为null,则返回false
- isFile() - Method in class cn.hutool.core.net.multipart.UploadFileHeader
-
Returns true
if uploaded data are correctly marked as a file.
This is true if header contains string 'filename'.
- isFileSeparator(char) - Static method in class cn.hutool.core.util.CharUtil
-
是否为Windows或者Linux(Unix)文件分隔符
Windows平台下分隔符为\,Linux(Unix)为/
- isFileURL(URL) - Static method in class cn.hutool.core.util.URLUtil
-
提供的URL是否为文件
文件协议包括"file", "vfsfile" 或 "vfs".
- isFirst() - Method in class cn.hutool.db.PageResult
-
- isFormUrlEncode(String) - Static method in enum cn.hutool.http.ContentType
-
是否为application/x-www-form-urlencoded
- isFromOrSuppressedThrowable(Throwable, Class<? extends Throwable>) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
判断指定异常是否来自或者包含指定异常
- isFromOrSuppressedThrowable(Throwable, Class<? extends Throwable>, boolean) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
判断指定异常是否来自或者包含指定异常
- isFull() - Method in interface cn.hutool.cache.Cache
-
缓存是否已满,仅用于有空间限制的缓存对象
- isFull() - Method in class cn.hutool.cache.impl.AbstractCache
-
- isFull() - Method in class cn.hutool.cache.impl.NoCache
-
- isGeneral(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为英文字母 、数字和下划线
- isGeneral(CharSequence, int, int) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为给定长度范围的英文字母 、数字和下划线
- isGeneral(CharSequence, int) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为给定最小长度的英文字母 、数字和下划线
- isGeneralWithChinese(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为中文字、英文字母、数字和下划线
- isGetMethod(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
是否为GET请求
- isGetMethod() - Method in class cn.hutool.http.server.HttpServerRequest
-
是否为GET请求
- isGreater(BigDecimal, BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
-
比较大小,参数1 > 参数2 返回true
- isGreaterOrEqual(BigDecimal, BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
-
比较大小,参数1 >= 参数2 返回true
- isGzip() - Method in class cn.hutool.http.HttpResponse
-
是否为gzip压缩过的内容
- isHashCodeMethod(Method) - Static method in class cn.hutool.core.util.ReflectUtil
-
是否为hashCode方法
- isHex(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为Hex(16进制)字符串
- isHexChar(char) - Static method in class cn.hutool.core.util.CharUtil
-
是否为16进制规范的字符,判断是否为如下字符
- isHexNumber(String) - Static method in class cn.hutool.core.util.HexUtil
-
判断给定字符串是否为16进制数
如果是,需要使用对应数字类型对象的decode
方法解码
例如:Integer.decode
方法解码int类型的16进制数字
- isHpUx() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isHttp(String) - Static method in class cn.hutool.http.HttpUtil
-
检测是否http
- isHttps(String) - Static method in class cn.hutool.http.HttpUtil
-
检测是否https
- isIE(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
客户浏览器是否为IE
- isIgnoreCase() - Method in class cn.hutool.json.JSONConfig
-
是否忽略键的大小写
- isIgnoreEmptyRow() - Method in class cn.hutool.poi.excel.ExcelReader
-
是否忽略空行
- isIgnoreError() - Method in class cn.hutool.json.JSONConfig
-
是否忽略转换过程中的异常
- isIgnoreNullValue() - Method in class cn.hutool.json.JSONConfig
-
是否忽略null值
- isIgnoreTransient() - Method in class cn.hutool.json.JSONConfig
-
- isIn(Date, Date) - Method in class cn.hutool.core.date.DateTime
-
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
- isIn(Date, Date, Date) - Static method in class cn.hutool.core.date.DateUtil
-
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
- isInfoEnabled() - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- isInfoEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- isInfoEnabled() - Method in interface cn.hutool.log.level.InfoLog
-
- isInherited(Class<? extends Annotation>) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
是否可以被继承,默认为 false
- isInited() - Static method in class cn.hutool.dfa.SensitiveUtil
-
- isInMemory() - Method in class cn.hutool.core.net.multipart.UploadFile
-
- isInnerIP(String) - Static method in class cn.hutool.core.net.NetUtil
-
判定是否为内网IP
私有IP:A类 10.0.0.0-10.255.255.255 B类 172.16.0.0-172.31.255.255 C类 192.168.0.0-192.168.255.255 当然,还有127这个网段是环回地址
- isInRange(String, String) - Static method in class cn.hutool.core.net.NetUtil
-
是否在CIDR规则配置范围内
方法来自:【成都】小邓
- isInstanceOf(Class<?>, T) - Static method in class cn.hutool.core.lang.Assert
-
断言给定对象是否是给定类的实例
Assert.instanceOf(Foo.class, foo);
- isInstanceOf(Class<?>, T, String, Object...) - Static method in class cn.hutool.core.lang.Assert
-
断言给定对象是否是给定类的实例
Assert.instanceOf(Foo.class, foo);
- isInteger(String) - Static method in class cn.hutool.core.util.NumberUtil
-
判断String是否是整数
支持10进制
- isIos() - Method in class cn.hutool.http.useragent.Platform
-
是否为IOS平台,包括IPhone、IPod、IPad
- isIPad() - Method in class cn.hutool.http.useragent.Platform
-
是否为Iphone或者iPod设备
- isIPhoneOrIPod() - Method in class cn.hutool.http.useragent.Platform
-
是否为Iphone或者iPod设备
- isIpv4(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为IPV4地址
- isIpv6(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为IPV6地址
- isIrix() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isJarFileURL(URL) - Static method in class cn.hutool.core.util.URLUtil
-
提供的URL是否为Jar文件URL 判断依据为file协议且扩展名为.jar
- isJarOrZipFile(String) - Static method in class cn.hutool.core.compiler.JavaFileObjectUtil
-
是否是jar 或 zip 文件
- isJarURL(URL) - Static method in class cn.hutool.core.util.URLUtil
-
提供的URL是否为jar包URL 协议包括: "jar", "zip", "vfszip" 或 "wsjar".
- isJava10() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava11() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava12() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava1_1() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava1_2() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava1_3() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava1_4() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava1_5() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava1_6() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava1_7() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava1_8() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJava9() - Method in class cn.hutool.system.JavaInfo
-
判断当前Java的版本。
- isJavaFile(String) - Static method in class cn.hutool.core.compiler.JavaFileObjectUtil
-
是否是java文件
- isJavaVersionAtLeast(float) - Method in class cn.hutool.system.JavaInfo
-
判定当前Java的版本是否大于等于指定的版本号。
- isJavaVersionAtLeast(int) - Method in class cn.hutool.system.JavaInfo
-
判定当前Java的版本是否大于等于指定的版本号。
- isJdkClass(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为JDK中定义的类或接口,判断依据:
- isJson(String) - Static method in class cn.hutool.json.JSONUtil
-
是否为JSON字符串,首尾都为大括号或中括号判定为JSON字符串
- isJsonArray(String) - Static method in class cn.hutool.json.JSONUtil
-
是否为JSONArray字符串,首尾都为中括号判定为JSONArray字符串
- isJsonObj(String) - Static method in class cn.hutool.json.JSONUtil
-
是否为JSONObject字符串,首尾都为大括号判定为JSONObject字符串
- isKeepAlive() - Method in class cn.hutool.http.HttpRequest
-
- isLast() - Method in class cn.hutool.db.PageResult
-
- isLeapMonth(int, int) - Static method in class cn.hutool.core.date.chinese.ChineseMonth
-
当前农历月份是否为闰月
- isLeapMonth() - Method in class cn.hutool.core.date.ChineseDate
-
当前农历月份是否为闰月
- isLeapYear() - Method in class cn.hutool.core.date.DateTime
-
是否闰年
- isLeapYear(int) - Static method in class cn.hutool.core.date.DateUtil
-
是否闰年
- isLess(BigDecimal, BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
-
比较大小,参数1 < 参数2 返回true
- isLessOrEqual(BigDecimal, BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
-
比较大小,参数1<=参数2 返回true
- isLetter(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
判断字符串是否全部为字母组成,包括大写和小写字母和汉字
- isLetter(char) - Static method in class cn.hutool.core.util.CharUtil
-
判断是否为字母(包括大写字母和小写字母)
字母包括A~Z和a~z
- isLetterLower(char) - Static method in class cn.hutool.core.util.CharUtil
-
检查字符是否为小写字母,小写字母指a~z
- isLetterOrNumber(char) - Static method in class cn.hutool.core.util.CharUtil
-
是否为字母或数字,包括A~Z、a~z、0~9
- isLetterUpper(char) - Static method in class cn.hutool.core.util.CharUtil
-
判断是否为大写字母,大写字母包括A~Z
- isLinux() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isLoaded() - Method in class cn.hutool.core.net.multipart.MultipartFormData
-
是否已被解析
- isLocked() - Method in class cn.hutool.core.comparator.ComparatorChain
-
是否已经被锁定。当开始比较时(调用compare方法)此值为true
- isLong(String) - Static method in class cn.hutool.core.util.NumberUtil
-
判断字符串是否是Long类型
支持10进制
- isLowerCase(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
判断字符串是否全部为小写字母
- isLowerCase(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串中的字母是否全部为小写,判断依据如下:
- isMac(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为MAC地址
- isMac() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isMacOsX() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isMactchRegex(Pattern, CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
- isMactchRegex(String, CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
- isMatch(String, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
给定内容是否匹配正则
- isMatch(Pattern, CharSequence) - Static method in class cn.hutool.core.util.ReUtil
-
给定内容是否匹配正则
- isMatch(String) - Method in class cn.hutool.dfa.WordTree
-
指定文本是否包含树中的词
- isMatch(String) - Method in class cn.hutool.http.useragent.UserAgentInfo
-
指定内容中是否包含匹配此信息的内容
- isMatchName(Object, String, boolean) - Static method in class cn.hutool.core.bean.BeanUtil
-
给定的Bean的类名是否匹配指定类名字符串
如果isSimple为false
,则只匹配类名而忽略包名,例如:cn.hutool.TestEntity只匹配TestEntity
如果isSimple为true
,则匹配包括包名的全类名,例如:cn.hutool.TestEntity匹配cn.hutool.TestEntity
- isMatchRegex(Pattern, CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
通过正则表达式验证
- isMatchRegex(String, CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
通过正则表达式验证
- isMatchSecond() - Method in class cn.hutool.cron.CronConfig
-
是否支持秒匹配
- isMatchSecond() - Method in class cn.hutool.cron.Scheduler
-
是否支持秒匹配
- isMergedRegion(Sheet, String) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
判断指定的单元格是否是合并单元格
- isMergedRegion(Cell) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
判断指定的单元格是否是合并单元格
- isMergedRegion(Sheet, int, int) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
判断指定的单元格是否是合并单元格
- isMobile(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为手机号码(中国)
- isMobile(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
验证是否为手机号码(中国)
- isMobile() - Method in class cn.hutool.http.useragent.Browser
-
是否移动浏览器
- isMobile() - Method in class cn.hutool.http.useragent.Platform
-
是否为移动平台
- isMobile() - Method in class cn.hutool.http.useragent.UserAgent
-
是否为移动平台
- isModifed(File, long) - Static method in class cn.hutool.core.io.FileUtil
-
判断文件是否被改动
如果文件对象为 null 或者文件不存在,被视为改动
- isMoney(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为货币
- isMultipart(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
是否为Multipart类型表单,此类型表单用于文件上传
- isMultipart() - Method in class cn.hutool.http.server.HttpServerRequest
-
是否为Multipart类型表单,此类型表单用于文件上传
- isMutable() - Method in class cn.hutool.core.date.DateTime
-
- isNegative() - Method in class cn.hutool.core.io.unit.DataSize
-
是否为负数,不包括0
- isNormalClass(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为标准的类
这个类必须:
- isNotBlank(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
字符串是否为非空白,非空白的定义如下:
- isNotEmpty(Object, String...) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断Bean是否为非空对象,非空对象表示本身不为null
或者含有非null
属性的对象
- isNotEmpty(Collection<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
集合是否为非空
- isNotEmpty(Map<?, ?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Map是否为非空
- isNotEmpty(Iterable<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Iterable是否为空
- isNotEmpty(Iterator<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Iterator是否为空
- isNotEmpty(Enumeration<?>) - Static method in class cn.hutool.core.collection.CollUtil
-
Enumeration是否为空
- isNotEmpty(Iterable<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
Iterable是否为空
- isNotEmpty(Iterator<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
Iterator是否为空
- isNotEmpty(File) - Static method in class cn.hutool.core.io.FileUtil
-
目录是否为空
- isNotEmpty(Object) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为非空
对于String类型判定是否为empty(null 或 "")
- isNotEmpty(Map<?, ?>) - Static method in class cn.hutool.core.map.MapUtil
-
Map是否为非空
- isNotEmpty(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
字符串是否为非空白,非空白的定义如下:
- isNotEmpty(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
数组是否为非空
- isNotEmpty(Object) - Static method in class cn.hutool.core.util.ArrayUtil
-
数组是否为非空
此方法会匹配单一对象,如果此对象为null
则返回false
如果此对象为非数组,理解为此对象为数组的第一个元素,则返回true
如果此对象为数组对象,数组长度大于0情况下返回true,否则返回false
- isNotEmpty(Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
判断指定对象是否为非空,支持:
- isNotEmpty(long[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotEmpty(int[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotEmpty(short[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotEmpty(char[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotEmpty(byte[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotEmpty(double[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotEmpty(float[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotEmpty(boolean[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
数组是否为非空
- isNotNull(Object) - Static method in class cn.hutool.core.lang.Validator
-
给定值是否不为null
- isNotNull(Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
检查对象是否不为null
- isNotPublic(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
指定类是否为非public
- isNotPublic(Method) - Static method in class cn.hutool.core.util.ClassUtil
-
指定方法是否为非public
- isNotStopChar(char) - Static method in class cn.hutool.dfa.StopChar
-
是否为合法字符(待处理字符)
- isNull(Object, Supplier<X>) - Static method in class cn.hutool.core.lang.Assert
-
断言对象是否为
null
,如果不为
null
抛出指定类型异常
并使用指定的函数获取错误信息返回
Assert.isNull(value, ()->{
// to query relation message
return new IllegalArgumentException("relation message to return");
});
- isNull(Object, String, Object...) - Static method in class cn.hutool.core.lang.Assert
-
- isNull(Object) - Static method in class cn.hutool.core.lang.Assert
-
- isNull(Object) - Static method in class cn.hutool.core.lang.Validator
-
给定值是否为null
- isNull(Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
检查对象是否为null
判断标准为:
- isNull(K) - Method in interface cn.hutool.json.JSONGetter
-
key对应值是否为null
或无此key
- isNull(Object) - Static method in class cn.hutool.json.JSONUtil
-
是否为null对象,null的情况包括:
- isNullable() - Method in class cn.hutool.db.meta.Column
-
是否为可空
- isNullOrDefaultStyle(Workbook, CellStyle) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
给定样式是否为null(无样式)或默认样式,默认样式为workbook.getCellStyleAt(0)
- isNullOrUndefined(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
检查字符串是否为null、“null”、“undefined”
- isNumber(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证该字符串是否是数字
- isNumber(char) - Static method in class cn.hutool.core.util.CharUtil
-
检查是否为数字字符,数字字符指0~9
- isNumber(CharSequence) - Static method in class cn.hutool.core.util.NumberUtil
-
是否为数字,支持包括:
- ISO8601_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
-
- ISO8601_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
-
ISO8601日期时间格式,精确到毫秒:yyyy-MM-dd HH:mm:ss,SSS
- ISO8859_1_ESCAPE - Static variable in class cn.hutool.core.text.escape.Html4Escape
-
- ISO8859_1_UNESCAPE - Static variable in class cn.hutool.core.text.escape.Html4Unescape
-
- ISO_8859_1 - Static variable in class cn.hutool.core.util.CharsetUtil
-
ISO-8859-1
- isOk() - Method in class cn.hutool.http.HttpResponse
-
请求是否成功,判断依据为:状态码范围在200~299内。
- isOnlyCopyFile() - Method in class cn.hutool.core.io.file.FileCopier
-
当拷贝来源是目录时是否只拷贝文件而忽略子目录
- isOpen(InetSocketAddress, int) - Static method in class cn.hutool.core.net.NetUtil
-
检查远程端口是否开启
- isOpen() - Method in class cn.hutool.socket.aio.AioServer
-
服务是否开启状态
- isOpen() - Method in class cn.hutool.socket.aio.AioSession
-
会话是否打开状态
当Socket保持连接时会话始终打开
- isOperatorBetween() - Method in class cn.hutool.db.sql.Condition
-
是否 between x and y 类型
- isOperatorIn() - Method in class cn.hutool.db.sql.Condition
-
是否IN条件
- isOperatorIs() - Method in class cn.hutool.db.sql.Condition
-
是否IS条件
- isOrder() - Method in class cn.hutool.json.JSONConfig
-
是否有序,顺序按照加入顺序排序
- isOs2() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isOverride() - Method in class cn.hutool.core.io.file.FileCopier
-
是否覆盖目标文件
- isPartOfArrayFormulaGroup() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- isPhone(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
验证是否为座机号码+手机号码(中国)
- isPk() - Method in class cn.hutool.db.meta.Column
-
是否主键
- isPk(String) - Method in class cn.hutool.db.meta.Table
-
给定列名是否为主键
- isPlaceHolder() - Method in class cn.hutool.db.sql.Condition
-
是否使用条件占位符
- isPlateNumber(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为中国车牌号
- isPM(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
是否为下午
- isPM() - Method in class cn.hutool.core.date.DateTime
-
是否为下午
- isPM(Date) - Static method in class cn.hutool.core.date.DateUtil
-
是否为下午
- isPoolable() - Method in class cn.hutool.db.sql.StatementWrapper
-
- isPostMethod(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
是否为POST请求
- isPostMethod() - Method in class cn.hutool.http.server.HttpServerRequest
-
是否为POST请求
- isPowerOfTwo(long) - Static method in class cn.hutool.core.util.NumberUtil
-
判断一个整数是否是2的幂
- isPresent() - Method in class cn.hutool.core.bean.OptionalBean
-
检查值是否为空
- isPresent(String) - Static method in class cn.hutool.core.util.ClassLoaderUtil
-
- isPresent(String, ClassLoader) - Static method in class cn.hutool.core.util.ClassLoaderUtil
-
- isPrimes(int) - Static method in class cn.hutool.core.util.NumberUtil
-
是否是质数(素数)
质数表的质数又称素数。指整数在一个大于1的自然数中,除了1和此整数自身外,没法被其他自然数整除的数。
- isPrimitiveWrapper(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为包装类型
- isPruneExpiredActive() - Method in class cn.hutool.cache.impl.AbstractCache
-
只有设置公共缓存失效时长或每个对象单独的失效时长时清理可用
- isPublic(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
指定类是否为Public
- isPublic(Method) - Static method in class cn.hutool.core.util.ClassUtil
-
指定方法是否为Public
- isPublic(Field) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是Public字段
- isPublic(Method) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是Public方法
- isPublic(Class<?>) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是Public类
- isPublic(Constructor<?>) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是Public构造
- isReadable(boolean) - Method in class cn.hutool.core.bean.PropDesc
-
- isReadableBean(Class<?>) - Static method in class cn.hutool.core.bean.BeanUtil
-
判断是否为可读的Bean对象,判定方法是:
- isReadOnly() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- isRotateSupported() - Method in class cn.hutool.extra.qrcode.BufferedImageLuminanceSource
-
- isRunning() - Method in class cn.hutool.core.date.StopWatch
-
检查是否有正在运行的任务
- isSame(String) - Method in enum cn.hutool.db.sql.LogicalOperator
-
给定字符串逻辑运算符是否与当前逻辑运算符一致,不区分大小写,自动去除两边空白符
- isSameDay(Calendar, Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
比较两个日期是否为同一天
- isSameDay(Date, Date) - Static method in class cn.hutool.core.date.DateUtil
-
比较两个日期是否为同一天
- isSameInstant(Calendar, Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
检查两个Calendar时间戳是否相同。
- isSameMonth(Calendar, Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
比较两个日期是否为同一月
- isSameMonth(Date, Date) - Static method in class cn.hutool.core.date.DateUtil
-
比较两个日期是否为同一月
- isSameTime(Date, Date) - Static method in class cn.hutool.core.date.DateUtil
-
是否为相同时间
此方法比较两个日期的时间戳是否相同
- isShutdown() - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- isSimpleTypeOrArray(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否简单值类型或简单值类型的数组
包括:原始类型,、String、other CharSequence, a Number, a Date, a URI, a URL, a Locale or a Class及其数组
- isSimpleValueType(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为简单值类型
包括:
- isSocketFactoryFallback() - Method in class cn.hutool.extra.mail.MailAccount
-
如果设置为true,未能创建一个套接字使用指定的套接字工厂类将导致使用java.net.Socket创建的套接字类, 默认值为true
- isSolaris() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isSorted(T[], Comparator<? super T>) - Static method in class cn.hutool.core.util.ArrayUtil
-
检查数组是否有序,即comparator.compare(array[i], array[i + 1]) <= 0,若传入空数组或空比较器,则返回false
- isSorted(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
检查数组是否升序,即array[i].compareTo(array[i + 1]) <= 0,若传入空数组,则返回false
- isSorted(byte[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSorted(short[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSorted(char[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSorted(int[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSorted(long[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSorted(double[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSorted(float[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedASC(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
检查数组是否升序,即array[i].compareTo(array[i + 1]) <= 0,若传入空数组,则返回false
- isSortedASC(byte[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedASC(short[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedASC(char[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedASC(int[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedASC(long[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedASC(double[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedASC(float[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
- isSortedDESC(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
检查数组是否降序,即array[i].compareTo(array[i + 1]) >= 0,若传入空数组,则返回false
- isSortedDESC(byte[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
- isSortedDESC(short[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
- isSortedDESC(char[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
- isSortedDESC(int[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
- isSortedDESC(long[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
- isSortedDESC(double[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
- isSortedDESC(float[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
- isSourceModified(Resource) - Method in class cn.hutool.extra.template.engine.velocity.SimpleStringResourceLoader
-
- isSplitlongparameters() - Method in class cn.hutool.extra.mail.MailAccount
-
对于超长参数是否切分为多份,默认为false(国内邮箱附件不支持切分的附件名)
- isSslEnable() - Method in class cn.hutool.extra.mail.MailAccount
-
是否使用 SSL安全连接
- isStarted() - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- isStarted() - Method in class cn.hutool.cron.Scheduler
-
- isStarttlsEnable() - Method in class cn.hutool.extra.mail.MailAccount
-
是否使用 STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。它将纯文本连接升级为加密连接(TLS或SSL), 而不是使用一个单独的加密通信端口。
- isStatic(Method) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为静态方法
- isStatic(Field) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是static字段
- isStatic(Method) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是static方法
- isStatic(Class<?>) - Static method in class cn.hutool.core.util.ModifierUtil
-
是否是static类
- isStopChar(char) - Static method in class cn.hutool.dfa.StopChar
-
判断指定的词是否是不处理的词。 如果参数为空,则返回true,因为空也属于不处理的字符。
- isStripComments() - Method in class cn.hutool.http.HTMLFilter
-
- isSub(Path, Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
判断给定的目录是否为给定文件或文件夹的子目录
- isSub(File, File) - Static method in class cn.hutool.core.io.FileUtil
-
判断给定的目录是否为给定文件或文件夹的子目录
- isSub(T[], T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
查找子数组的位置
- isSubEquals(CharSequence, int, CharSequence, int, int, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取两个字符串的不同部分(长度一致),判断截取的子串是否相同
任意一个字符串为null返回false
- isSuccess() - Method in class cn.hutool.extra.validation.BeanValidationResult
-
是否验证通过
- isSunOS() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isSupportTransaction - Variable in class cn.hutool.db.AbstractDb
-
是否支持事务
- isSurround(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串是否被字符包围
- isSurround(CharSequence, char, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串是否被字符包围
- isSymlink(Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
判断是否为符号链接文件
- isSymlink(File) - Static method in class cn.hutool.core.io.FileUtil
-
判断是否为符号链接文件
- isTel(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
验证是否为座机号码(中国)
- isTerminated() - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- isTopLevelClass(Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
是否为顶层类,即定义在包中的类,而非定义在类中的内部类
- isToStringMethod(Method) - Static method in class cn.hutool.core.util.ReflectUtil
-
是否为toString方法
- isTraceEnabled() - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- isTraceEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- isTraceEnabled() - Method in interface cn.hutool.log.level.TraceLog
-
- isTransientSupport() - Method in class cn.hutool.core.bean.copier.CopyOptions
-
是否支持transient关键字修饰和@Transient注解,如果支持,被修饰的字段或方法对应的字段将被忽略。
- isTransientSupport() - Method in class cn.hutool.json.JSONConfig
-
是否支持transient关键字修饰和@Transient注解,如果支持,被修饰的字段或方法对应的字段将被忽略。
- isTrue(boolean, Supplier<? extends X>) - Static method in class cn.hutool.core.lang.Assert
-
断言是否为真,如果为
false
抛出给定的异常
Assert.isTrue(i > 0, IllegalArgumentException::new);
- isTrue(boolean, String, Object...) - Static method in class cn.hutool.core.lang.Assert
-
断言是否为真,如果为
false
抛出
IllegalArgumentException
异常
Assert.isTrue(i > 0, "The value must be greater than zero");
- isTrue(boolean) - Static method in class cn.hutool.core.lang.Assert
-
断言是否为真,如果为
false
抛出
IllegalArgumentException
异常
Assert.isTrue(i > 0, "The value must be greater than zero");
- isTrue(boolean) - Static method in class cn.hutool.core.lang.Validator
-
给定值是否为true
- isTrue(Boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
检查 Boolean
值是否为 true
- isType(String, String...) - Static method in class cn.hutool.core.io.file.FileNameUtil
-
根据文件名检查文件类型,忽略大小写
- isUnknow(String) - Static method in class cn.hutool.core.net.NetUtil
-
- isUnknown(String) - Static method in class cn.hutool.core.net.NetUtil
-
检测给定字符串是否为未知,多用于检测HTTP请求相关
- isUnknown(Type) - Static method in class cn.hutool.core.util.TypeUtil
-
- isUnknown() - Method in class cn.hutool.http.useragent.UserAgentInfo
-
是否为Unknown
- isUploaded() - Method in class cn.hutool.core.net.multipart.UploadFile
-
- isUpperCase(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
判断字符串是否全部为大写字母
- isUpperCase(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串中的字母是否全部为大写,判断依据如下:
- isUrl(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为URL
- isUsableLocalPort(int) - Static method in class cn.hutool.core.net.NetUtil
-
检测本地端口可用性
来自org.springframework.util.SocketUtils
- isUseVariable - Variable in class cn.hutool.setting.Setting
-
是否使用变量
- isUUID(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为UUID
包括带横线标准格式和不带横线的简单模式
- isValid(String) - Static method in class cn.hutool.core.lang.ObjectId
-
给定的字符串是否为有效的ObjectId
- isValid(int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- isValidCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
是否有效身份证号,忽略X的大小写
- isValidCard10(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
验证10位身份编码是否合法
- isValidCard15(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
验证15位身份编码是否合法
- isValidCard18(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
判断18位身份证的合法性
- isValidCard18(String, boolean) - Static method in class cn.hutool.core.util.IdcardUtil
-
判断18位身份证的合法性
- isValidHKCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
验证香港身份证号码(存在Bug,部份特殊身份证无法检查)
- isValidIfNumber(Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
检查是否为有效的数字
检查Double和Float是否为无限大,或者Not a Number
非数字类型和Null将返回true
- isValidLine(String) - Method in class cn.hutool.core.collection.LineIter
-
重写此方法来判断是否每一行都被返回,默认全部为true
- isValidNumber(Number) - Static method in class cn.hutool.core.util.NumberUtil
-
检查是否为有效的数字
检查Double和Float是否为无限大,或者Not a Number
非数字类型和Null将返回true
- isValidPort(int) - Static method in class cn.hutool.core.net.NetUtil
-
是否为有效的端口
此方法并不检查端口是否被占用
- isValidTWCard(String) - Static method in class cn.hutool.core.util.IdcardUtil
-
验证台湾身份证号码
- isWarnEnabled() - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- isWarnEnabled() - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- isWarnEnabled() - Method in interface cn.hutool.log.level.WarnLog
-
- isWeekend() - Method in class cn.hutool.core.date.DateTime
-
是否为周末,周末指周六或者周日
- isWindoows8() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindows() - Static method in class cn.hutool.core.io.FileUtil
-
是否为Windows环境
- isWindows() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindows10() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindows2000() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindows7() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindows8_1() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindows95() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindows98() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindowsME() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindowsNT() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWindowsXP() - Method in class cn.hutool.system.OsInfo
-
判断当前OS的类型。
- isWord(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证该字符串是否是字母(包括大写和小写字母)
- isWrap(CharSequence, String, String) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串是否被包装
- isWrap(CharSequence, String) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串是否被同一字符包装(前后都有这些字符串)
- isWrap(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串是否被同一字符包装(前后都有这些字符串)
- isWrap(CharSequence, char, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
指定字符串是否被包装
- isWrapperFor(Class<?>) - Method in class cn.hutool.db.ds.DataSourceWrapper
-
- isWrapperFor(Class<?>) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- isWrapperFor(Class<?>) - Method in class cn.hutool.db.ds.simple.AbstractDataSource
-
- isWrapperFor(Class<?>) - Method in class cn.hutool.db.sql.StatementWrapper
-
- isWritable(boolean) - Method in class cn.hutool.core.bean.PropDesc
-
- isXls(InputStream) - Static method in class cn.hutool.poi.excel.ExcelFileUtil
-
是否为XLS格式的Excel文件(HSSF)
XLS文件主要用于Excel 97~2003创建
- isXlsx() - Method in class cn.hutool.poi.excel.ExcelBase
-
判断是否为xlsx格式的Excel表(Excel07格式)
- isXlsx(InputStream) - Static method in class cn.hutool.poi.excel.ExcelFileUtil
-
是否为XLSX格式的Excel文件(XSSF)
XLSX文件主要用于Excel 2007+创建
- isXlsx(File) - Static method in class cn.hutool.poi.excel.ExcelFileUtil
-
是否为XLSX格式的Excel文件(XSSF)
XLSX文件主要用于Excel 2007+创建
- isZipCode(CharSequence) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为邮政编码(中国)
- items() - Method in interface cn.hutool.core.lang.EnumItem
-
获取所有枚举对象
- iterator() - Method in class cn.hutool.cache.impl.AbstractCache
-
- iterator() - Method in class cn.hutool.cache.impl.NoCache
-
- iterator() - Method in class cn.hutool.core.collection.ArrayIter
-
- iterator() - Method in class cn.hutool.core.collection.BoundedPriorityQueue
-
- iterator() - Method in class cn.hutool.core.collection.ConcurrentHashSet
-
- iterator() - Method in class cn.hutool.core.collection.CopiedIter
-
- iterator() - Method in class cn.hutool.core.collection.EnumerationIter
-
- iterator() - Method in class cn.hutool.core.collection.LineIter
-
- iterator() - Method in class cn.hutool.core.collection.TransCollection
-
- iterator() - Method in class cn.hutool.core.comparator.ComparatorChain
-
- iterator() - Method in class cn.hutool.core.io.resource.MultiResource
-
- iterator() - Method in class cn.hutool.core.io.watch.watchers.WatcherChain
-
- iterator() - Method in class cn.hutool.core.lang.Range
-
- iterator() - Method in class cn.hutool.core.lang.SimpleCache
-
- iterator() - Method in class cn.hutool.core.lang.Tuple
-
- iterator() - Method in class cn.hutool.core.map.MapWrapper
-
- iterator() - Method in class cn.hutool.core.map.TableMap
-
- iterator() - Method in class cn.hutool.core.text.csv.CsvData
-
- iterator() - Method in class cn.hutool.core.text.csv.CsvRow
-
- iterator() - Method in class cn.hutool.core.text.replacer.ReplacerChain
-
- iterator() - Method in class cn.hutool.extra.tokenizer.AbstractResult
-
- iterator() - Method in class cn.hutool.extra.tokenizer.engine.ansj.AnsjResult
-
- iterator() - Method in class cn.hutool.extra.tokenizer.engine.hanlp.HanLPResult
-
- iterator() - Method in class cn.hutool.extra.tokenizer.engine.jcseg.JcsegResult
-
- iterator() - Method in class cn.hutool.extra.tokenizer.engine.jieba.JiebaResult
-
- iterator() - Method in class cn.hutool.extra.tokenizer.engine.mynlp.MynlpResult
-
- iterator() - Method in class cn.hutool.extra.tokenizer.engine.word.WordResult
-
- iterator() - Method in class cn.hutool.json.JSONArray
-
- iterator() - Method in class cn.hutool.json.JSONObjectIter
-
- IteratorEnumeration<E> - Class in cn.hutool.core.collection
-
- IteratorEnumeration(Iterator<E>) - Constructor for class cn.hutool.core.collection.IteratorEnumeration
-
构造
- IterUtil - Class in cn.hutool.core.collection
-
- IterUtil() - Constructor for class cn.hutool.core.collection.IterUtil
-
- iw - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- ix - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- iy - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- padAfter(CharSequence, int, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
补充字符串以满足最小长度,如果提供的字符串大于指定长度,截断之
- padAfter(CharSequence, int, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
补充字符串以满足最小长度
- Padding - Enum in cn.hutool.crypto
-
补码方式
- padLeft(List<T>, int, T) - Static method in class cn.hutool.core.collection.CollUtil
-
填充List,以达到最小长度
- padPre(CharSequence, int, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
补充字符串以满足指定长度,如果提供的字符串大于指定长度,截断之
- padPre(CharSequence, int, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
补充字符串以满足最小长度,如果提供的字符串大于指定长度,截断之
- padRight(Collection<T>, int, T) - Static method in class cn.hutool.core.collection.CollUtil
-
填充List,以达到最小长度
- page(int, int, List<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
对指定List分页取值
- page(int, int, List<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
对指定List分页取值
- page(Collection<String>, Entity, int, int, RsHandler<T>) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(Entity, int, int, RsHandler<T>) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(Entity, Page, RsHandler<T>) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(Collection<String>, Entity, Page, RsHandler<T>) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(CharSequence, Page, RsHandler<T>) - Method in class cn.hutool.db.AbstractDb
-
分页查询
- page(CharSequence, Page) - Method in class cn.hutool.db.AbstractDb
-
分页查询
- page(Collection<String>, Entity, int, int) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(Collection<String>, Entity, Page) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(Entity, int, int) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(Entity, Page) - Method in class cn.hutool.db.AbstractDb
-
分页查询
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- page(Entity, Page, String...) - Method in class cn.hutool.db.DaoTemplate
-
分页
- page(Entity, Page) - Method in class cn.hutool.db.DaoTemplate
-
分页
- page(Connection, Query, RsHandler<T>) - Method in class cn.hutool.db.DialectRunner
-
分页查询
此方法不会关闭Connection
- page(Connection, SqlBuilder, Page, RsHandler<T>) - Method in class cn.hutool.db.DialectRunner
-
分页查询
此方法不会关闭Connection
- Page - Class in cn.hutool.db
-
分页对象
- Page() - Constructor for class cn.hutool.db.Page
-
- Page(int, int) - Constructor for class cn.hutool.db.Page
-
构造
- Page(int, int, Order) - Constructor for class cn.hutool.db.Page
-
构造
- page(Connection, Collection<String>, Entity, int, int, RsHandler<T>) - Method in class cn.hutool.db.SqlConnRunner
-
分页查询
此方法不会关闭Connection
- page(Connection, SqlBuilder, Page) - Method in class cn.hutool.db.SqlConnRunner
-
分页查询
此方法不会关闭Connection
- page(Connection, Collection<String>, Entity, int, int) - Method in class cn.hutool.db.SqlConnRunner
-
分页查询
此方法不会关闭Connection
- page(Connection, Entity, Page) - Method in class cn.hutool.db.SqlConnRunner
-
分页全字段查询
此方法不会关闭Connection
- page(Connection, Collection<String>, Entity, Page) - Method in class cn.hutool.db.SqlConnRunner
-
分页查询
此方法不会关闭Connection
- page(Connection, Collection<String>, Entity, Page, RsHandler<T>) - Method in class cn.hutool.db.SqlConnRunner
-
分页查询
此方法不会关闭Connection
- pageForEntityList(Entity, int, int) - Method in class cn.hutool.db.AbstractDb
-
分页查询,结果为Entity列表,不计算总数
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- pageForEntityList(Entity, Page) - Method in class cn.hutool.db.AbstractDb
-
分页查询,结果为Entity列表,不计算总数
查询条件为多个key value对表示,默认key = value,如果使用其它条件可以使用:where.put("key", " > 1"),value也可以传Condition对象,key被忽略
- PageResult<T> - Class in cn.hutool.db
-
分页数据结果集
- PageResult() - Constructor for class cn.hutool.db.PageResult
-
构造
- PageResult(int, int) - Constructor for class cn.hutool.db.PageResult
-
构造
- PageResult(int, int, int) - Constructor for class cn.hutool.db.PageResult
-
构造
- PageResultHandler - Class in cn.hutool.db.handler
-
分页结果集处理类 ,处理出的结果为PageResult
- PageResultHandler(PageResult<Entity>) - Constructor for class cn.hutool.db.handler.PageResultHandler
-
构造
结果集根据给定的分页对象查询数据库,填充结果
- PageResultHandler(PageResult<Entity>, boolean) - Constructor for class cn.hutool.db.handler.PageResultHandler
-
构造
结果集根据给定的分页对象查询数据库,填充结果
- PageUtil - Class in cn.hutool.core.util
-
分页工具类
- PageUtil() - Constructor for class cn.hutool.core.util.PageUtil
-
- Pair<K,V> - Class in cn.hutool.core.lang
-
键值对对象,只能在构造时传入键值
- Pair(K, V) - Constructor for class cn.hutool.core.lang.Pair
-
构造
- palSize - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- ParameterizedTypeImpl - Class in cn.hutool.core.lang
-
- ParameterizedTypeImpl(Type[], Type, Type) - Constructor for class cn.hutool.core.lang.ParameterizedTypeImpl
-
构造
- parse(CharSequence, DateFormat) - Static method in class cn.hutool.core.date.DateUtil
-
构建DateTime对象
- parse(CharSequence, DateParser) - Static method in class cn.hutool.core.date.DateUtil
-
构建DateTime对象
- parse(CharSequence, DateTimeFormatter) - Static method in class cn.hutool.core.date.DateUtil
-
构建DateTime对象
- parse(CharSequence, String) - Static method in class cn.hutool.core.date.DateUtil
-
将特定格式的日期转换为Date对象
- parse(CharSequence, String, Locale) - Static method in class cn.hutool.core.date.DateUtil
-
将特定格式的日期转换为Date对象
- parse(String, String...) - Static method in class cn.hutool.core.date.DateUtil
-
- parse(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
将日期字符串转换为
DateTime
对象,格式:
yyyy-MM-dd HH:mm:ss
yyyy/MM/dd HH:mm:ss
yyyy.MM.dd HH:mm:ss
yyyy年MM月dd日 HH时mm分ss秒
yyyy-MM-dd
yyyy/MM/dd
yyyy.MM.dd
HH:mm:ss
HH时mm分ss秒
yyyy-MM-dd HH:mm
yyyy-MM-dd HH:mm:ss.SSS
yyyyMMddHHmmss
yyyyMMddHHmmssSSS
yyyyMMdd
EEE, dd MMM yyyy HH:mm:ss z
EEE MMM dd HH:mm:ss zzz yyyy
yyyy-MM-dd'T'HH:mm:ss'Z'
yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
yyyy-MM-dd'T'HH:mm:ssZ
yyyy-MM-dd'T'HH:mm:ss.SSSZ
- parse(String) - Method in interface cn.hutool.core.date.format.DateParser
-
- parse(String, ParsePosition) - Method in interface cn.hutool.core.date.format.DateParser
-
- parse(String, ParsePosition, Calendar) - Method in interface cn.hutool.core.date.format.DateParser
-
根据给定格式转换日期字符串
Updates the Calendar with parsed fields.
- parse(String) - Method in class cn.hutool.core.date.format.FastDateFormat
-
- parse(String, ParsePosition) - Method in class cn.hutool.core.date.format.FastDateFormat
-
- parse(String, ParsePosition, Calendar) - Method in class cn.hutool.core.date.format.FastDateFormat
-
- parse(String) - Method in class cn.hutool.core.date.format.FastDateParser
-
- parse(String, ParsePosition) - Method in class cn.hutool.core.date.format.FastDateParser
-
- parse(String, ParsePosition, Calendar) - Method in class cn.hutool.core.date.format.FastDateParser
-
- parse(CharSequence) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
解析日期时间字符串为
LocalDateTime
,仅支持yyyy-MM-dd'T'HH:mm:ss格式,例如:2007-12-03T10:15:30
- parse(CharSequence, DateTimeFormatter) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- parse(CharSequence, String) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- parse(CharSequence) - Static method in class cn.hutool.core.io.unit.DataSize
-
- parse(CharSequence, DataUnit) - Static method in class cn.hutool.core.io.unit.DataSize
-
Obtain a DataSize from a text string such as
12MB
using
the specified default
DataUnit
if no unit is specified.
- parse(String) - Static method in class cn.hutool.core.io.unit.DataSizeUtil
-
解析数据大小字符串,转换为bytes大小
- parse(T) - Static method in class cn.hutool.core.lang.Dict
-
将PO对象转为Dict
- parse(TreeNode<T>, Tree<T>) - Method in class cn.hutool.core.lang.tree.parser.DefaultNodeParser
-
- parse(T, Tree<E>) - Method in interface cn.hutool.core.lang.tree.parser.NodeParser
-
- parse(String, Charset) - Method in class cn.hutool.core.net.url.UrlPath
-
解析path
- parse(String, Charset) - Method in class cn.hutool.core.net.url.UrlQuery
-
解析URL中的查询字符串
- parse(String, Charset, boolean) - Method in class cn.hutool.core.net.url.UrlQuery
-
解析URL中的查询字符串
- parse(String) - Static method in class cn.hutool.core.util.CharsetUtil
-
解析字符串编码为Charset对象,解析失败返回系统默认编码
- parse(String, Charset) - Static method in class cn.hutool.core.util.CharsetUtil
-
解析字符串编码为Charset对象,解析失败返回默认编码
- parse(String) - Method in class cn.hutool.cron.pattern.parser.DayOfMonthValueParser
-
- parse(String) - Method in class cn.hutool.cron.pattern.parser.DayOfWeekValueParser
-
对于星期提供转换
1表示星期一,2表示星期二,依次类推,0和7都可以表示星期日
- parse(String) - Method in class cn.hutool.cron.pattern.parser.MonthValueParser
-
- parse(String) - Method in class cn.hutool.cron.pattern.parser.SimpleValueParser
-
- parse(String) - Method in interface cn.hutool.cron.pattern.parser.ValueParser
-
处理String值并转为int
转换包括:
数字字符串转为数字
别名转为对应的数字(如月份和星期)
- parse(T) - Static method in class cn.hutool.db.ActiveEntity
-
将PO对象转为Entity
- parse(T, boolean, boolean) - Static method in class cn.hutool.db.ActiveEntity
-
将PO对象转为ActiveEntity
- parse(T) - Static method in class cn.hutool.db.Entity
-
将PO对象转为Entity
- parse(T, boolean, boolean) - Static method in class cn.hutool.db.Entity
-
将PO对象转为Entity
- parse(String, Object) - Static method in class cn.hutool.db.sql.Condition
-
解析为Condition
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.analysis.AnalysisEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.ansj.AnsjEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.hanlp.HanLPEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.jcseg.JcsegEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.jieba.JiebaEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.mmseg.MmsegEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.mynlp.MynlpEngine
-
- parse(CharSequence) - Method in class cn.hutool.extra.tokenizer.engine.word.WordEngine
-
- parse(CharSequence) - Method in interface cn.hutool.extra.tokenizer.TokenizerEngine
-
文本分词处理接口,通过实现此接口完成分词,产生分词结果
- parse(String) - Static method in class cn.hutool.http.useragent.UserAgentParser
-
解析User-Agent
- parse(String) - Static method in class cn.hutool.http.useragent.UserAgentUtil
-
解析User-Agent
- parse(String) - Method in class cn.hutool.json.JSONSupport
-
JSON String转Bean
- parse(Object) - Static method in class cn.hutool.json.JSONUtil
-
转换对象为JSON
支持的对象:
String: 转换为相应的对象
Array Collection:转换为JSONArray
Bean对象:转为JSONObject
- parse(Object, JSONConfig) - Static method in class cn.hutool.json.JSONUtil
-
转换对象为JSON
支持的对象:
String: 转换为相应的对象
Array、Iterable、Iterator:转换为JSONArray
Bean对象:转为JSONObject
- parseAddress(String, Charset) - Static method in class cn.hutool.extra.mail.InternalMailUtil
-
将一个地址字符串解析为多个地址
地址间使用" "、","、";"分隔
- parseAddressFromStrs(String[], Charset) - Static method in class cn.hutool.extra.mail.InternalMailUtil
-
将多个字符串邮件地址转为InternetAddress
列表
单个字符串地址可以是多个地址合并的字符串
- parseArray(String) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONArray
- parseArray(Object) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONArray
- parseArray(Object, JSONConfig) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONArray
- parseArray(Object, boolean) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONArray
- parseBean(T) - Method in class cn.hutool.core.lang.Dict
-
将值对象转换为Dict
类名会被当作表名,小写第一个字母
- parseBean(T, boolean, boolean) - Method in class cn.hutool.core.lang.Dict
-
将值对象转换为Dict
类名会被当作表名,小写第一个字母
- parseBean(T) - Method in class cn.hutool.db.ActiveEntity
-
- parseBean(T, boolean, boolean) - Method in class cn.hutool.db.ActiveEntity
-
- parseBean(T) - Method in class cn.hutool.db.Entity
-
将值对象转换为Entity
类名会被当作表名,小写第一个字母
- parseBean(T, boolean, boolean) - Method in class cn.hutool.db.Entity
-
将值对象转换为Entity
类名会被当作表名,小写第一个字母
- parseByPatterns(String, String...) - Static method in class cn.hutool.core.date.CalendarUtil
-
- parseByPatterns(String, Locale, String...) - Static method in class cn.hutool.core.date.CalendarUtil
-
- parseByPatterns(String, Locale, boolean, String...) - Static method in class cn.hutool.core.date.CalendarUtil
-
- parseCookies(String) - Static method in class cn.hutool.core.net.NetUtil
-
解析Cookie信息
- parseCST(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
解析CST时间,格式:
EEE MMM dd HH:mm:ss z yyyy(例如:Wed Aug 01 00:00:00 CST 2012)
- parseDate(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
解析日期字符串,忽略时分秒,支持的格式包括:
- parseDate(CharSequence) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
解析日期时间字符串为
LocalDate
,仅支持yyyy-MM-dd'T'HH:mm:ss格式,例如:2007-12-03T10:15:30
- parseDate(CharSequence, DateTimeFormatter) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- parseDate(CharSequence, String) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- parseDateTime(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
解析日期时间字符串,格式支持:
- parseDouble(String) - Static method in class cn.hutool.core.util.NumberUtil
-
解析转换数字字符串为long型数字,规则如下:
- parseFirstAddress(String, Charset) - Static method in class cn.hutool.extra.mail.InternalMailUtil
-
解析第一个地址
- parseFloat(String) - Static method in class cn.hutool.core.util.NumberUtil
-
解析转换数字字符串为long型数字,规则如下:
- parseFromMap(Map<?, ?>) - Static method in class cn.hutool.json.JSONUtil
-
- parseFromResourceBundle(ResourceBundle) - Static method in class cn.hutool.json.JSONUtil
-
- parseFromXml(String) - Static method in class cn.hutool.json.JSONUtil
-
XML字符串转为JSONObject
- parseInt(String) - Static method in class cn.hutool.core.util.NumberUtil
-
解析转换数字字符串为int型数字,规则如下:
- parseLocalDateTime(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
构建LocalDateTime对象
格式:yyyy-MM-dd HH:mm:ss
- parseLocalDateTime(CharSequence, String) - Static method in class cn.hutool.core.date.DateUtil
-
构建LocalDateTime对象
- parseLong(String) - Static method in class cn.hutool.core.util.NumberUtil
-
解析转换数字字符串为long型数字,规则如下:
- parseMultipart(UploadSetting) - Method in class cn.hutool.http.server.HttpServerRequest
-
获得multipart/form-data 表单内容
包括文件和普通表单数据
在同一次请求中,此方法只能被执行一次!
- parseNumber(String) - Static method in class cn.hutool.core.util.NumberUtil
-
- parseObj(String) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONObject对象
- parseObj(Object) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONObject对象
此方法会忽略空值,但是对JSON字符串不影响
- parseObj(Object, JSONConfig) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONObject对象
此方法会忽略空值,但是对JSON字符串不影响
- parseObj(Object, boolean) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONObject对象
- parseObj(Object, boolean, boolean) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转JSONObject对象
- parseObject(String) - Method in interface cn.hutool.core.date.format.DateParser
-
- parseObject(String, ParsePosition) - Method in interface cn.hutool.core.date.format.DateParser
-
- parseObject(String, ParsePosition) - Method in class cn.hutool.core.date.format.FastDateFormat
-
- parseObject(String) - Method in class cn.hutool.core.date.format.FastDateParser
-
- parseObject(String, ParsePosition) - Method in class cn.hutool.core.date.format.FastDateParser
-
- parsePattern() - Method in class cn.hutool.core.date.format.FastDatePrinter
-
Returns a list of Rules given a pattern.
- parseRequest(VelocityContext, HttpServletRequest) - Static method in class cn.hutool.extra.template.engine.velocity.VelocityUtil
-
Deprecated.
将Request中的数据转换为模板引擎
取值包括Session和Request
- parseRequestStream(InputStream, Charset) - Method in class cn.hutool.core.net.multipart.MultipartFormData
-
提取上传的文件和表单数据
- parseSession(VelocityContext, HttpSession) - Static method in class cn.hutool.extra.template.engine.velocity.VelocityUtil
-
Deprecated.
将Session中的值放入模板上下文
- parseTime(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
解析时间,格式HH:mm:ss,日期部分默认为1970-01-01
- parseTimeToday(CharSequence) - Static method in class cn.hutool.core.date.DateUtil
-
解析时间,格式HH:mm 或 HH:mm:ss,日期默认为今天
- parseToken(String, int[]) - Method in class cn.hutool.core.date.format.FastDatePrinter
-
Performs the parsing of tokens.
- parseUTC(String) - Static method in class cn.hutool.core.date.DateUtil
-
解析UTC时间,格式:
yyyy-MM-dd'T'HH:mm:ss'Z'
yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
yyyy-MM-dd'T'HH:mm:ssZ
yyyy-MM-dd'T'HH:mm:ss.SSSZ
- parseWithUnderlineCase(T) - Static method in class cn.hutool.db.ActiveEntity
-
将PO对象转为ActiveEntity,并采用下划线法转换字段
- parseWithUnderlineCase(T) - Static method in class cn.hutool.db.Entity
-
将PO对象转为Entity,并采用下划线法转换字段
- parseXml(String) - Static method in class cn.hutool.core.util.XmlUtil
-
将String类型的XML转换为XML文档
- partValue(int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
把给定的总数平均分成N份,返回每份的个数
当除以分数有余数时每份+1
- partValue(int, int, boolean) - Static method in class cn.hutool.core.util.NumberUtil
-
把给定的总数平均分成N份,返回每份的个数
如果isPlusOneWhenHasRem为true,则当除以分数有余数时每份+1,否则丢弃余数部分
- PassAuth - Class in cn.hutool.core.net
-
- PassAuth(String, char[]) - Constructor for class cn.hutool.core.net.PassAuth
-
构造
- passCurrentRow() - Method in class cn.hutool.poi.excel.ExcelWriter
-
跳过当前行
- passRows(int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
跳过指定行数
- patch(String) - Static method in class cn.hutool.http.HttpRequest
-
PATCH请求
- PATH_FILE_PRE - Static variable in class cn.hutool.core.io.FileUtil
-
当Path为文件形式时, path会加入一个表示文件的前缀
- PATH_SEPARATOR - Static variable in interface cn.hutool.system.SystemPropsKeys
-
路径分隔符(在 UNIX 系统中是“:”)
- PATH_SEPARATOR - Static variable in class cn.hutool.system.SystemUtil
-
路径分隔符(在 UNIX 系统中是“:”)的KEY
- PathConverter - Class in cn.hutool.core.convert.impl
-
字符串转换器
- PathConverter() - Constructor for class cn.hutool.core.convert.impl.PathConverter
-
- pathEndsWith(File, String) - Static method in class cn.hutool.core.io.FileUtil
-
判断文件路径是否有指定后缀,忽略大小写
常用语判断扩展名
- pathEquals(File, File) - Static method in class cn.hutool.core.io.FileUtil
-
文件路径是否相同
取两个文件的绝对路径比较,在Windows下忽略大小写,在Linux下不忽略。
- PathUtil - Class in cn.hutool.core.io.file
-
NIO中Path对象操作封装
- PathUtil() - Constructor for class cn.hutool.core.io.file.PathUtil
-
- pattern - Variable in class cn.hutool.core.date.format.AbstractDateBasic
-
The pattern
- patternParts - Variable in class cn.hutool.core.bean.BeanPath
-
- PatternPool - Class in cn.hutool.core.lang
-
常用正则表达式集合,更多正则见:https://any86.github.io/any-rule/
- PatternPool() - Constructor for class cn.hutool.core.lang.PatternPool
-
- PemUtil - Class in cn.hutool.crypto
-
PEM(Privacy Enhanced Mail)格式相关工具类。(基于Bouncy Castle)
- PemUtil() - Constructor for class cn.hutool.crypto.PemUtil
-
- PeriodConverter - Class in cn.hutool.core.convert.impl
-
- PeriodConverter() - Constructor for class cn.hutool.core.convert.impl.PeriodConverter
-
- PhoneUtil - Class in cn.hutool.core.util
-
手机号工具类
- PhoneUtil() - Constructor for class cn.hutool.core.util.PhoneUtil
-
- PicType - Enum in cn.hutool.poi.word
-
Word中的图片类型
- ping(String) - Static method in class cn.hutool.core.net.NetUtil
-
检测IP地址是否能ping通
- ping(String, int) - Static method in class cn.hutool.core.net.NetUtil
-
检测IP地址是否能ping通
- Pinyin4jEngine - Class in cn.hutool.extra.pinyin.engine.pinyin4j
-
封装了Pinyin4j的引擎。
- Pinyin4jEngine() - Constructor for class cn.hutool.extra.pinyin.engine.pinyin4j.Pinyin4jEngine
-
构造
- Pinyin4jEngine(HanyuPinyinOutputFormat) - Constructor for class cn.hutool.extra.pinyin.engine.pinyin4j.Pinyin4jEngine
-
构造
- PinyinComparator - Class in cn.hutool.core.comparator
-
按照GBK拼音顺序对给定的汉字字符串排序
- PinyinComparator() - Constructor for class cn.hutool.core.comparator.PinyinComparator
-
构造
- PinyinEngine - Interface in cn.hutool.extra.pinyin
-
拼音引擎接口,具体的拼音实现通过实现此接口,完成具体实现功能
- PinyinException - Exception in cn.hutool.extra.pinyin
-
模板异常
- PinyinException(Throwable) - Constructor for exception cn.hutool.extra.pinyin.PinyinException
-
- PinyinException(String) - Constructor for exception cn.hutool.extra.pinyin.PinyinException
-
- PinyinException(String, Object...) - Constructor for exception cn.hutool.extra.pinyin.PinyinException
-
- PinyinException(String, Throwable) - Constructor for exception cn.hutool.extra.pinyin.PinyinException
-
- PinyinException(Throwable, String, Object...) - Constructor for exception cn.hutool.extra.pinyin.PinyinException
-
- PinyinFactory - Class in cn.hutool.extra.pinyin.engine
-
简单拼音引擎工厂,用于根据用户引入的拼音库jar,自动创建对应的拼音引擎对象
- PinyinFactory() - Constructor for class cn.hutool.extra.pinyin.engine.PinyinFactory
-
- PinyinUtil - Class in cn.hutool.extra.pinyin
-
拼音工具类,封装了TinyPinyin、JPinyin、Pinyin4j,通过SPI自动识别。
- PinyinUtil() - Constructor for class cn.hutool.extra.pinyin.PinyinUtil
-
- pixelAspect - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- pixels - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- pixels - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- pixelStack - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- PJWFilter - Class in cn.hutool.bloomfilter.filter
-
- PJWFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.PJWFilter
-
- PJWFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.PJWFilter
-
- pjwHash(String) - Static method in class cn.hutool.core.util.HashUtil
-
PJW算法
- PLATE_NUMBER - Static variable in class cn.hutool.core.lang.PatternPool
-
中国车牌号码(兼容新能源车牌)
- PLATE_NUMBER - Static variable in class cn.hutool.core.lang.Validator
-
中国车牌号码
- Platform - Class in cn.hutool.http.useragent
-
平台对象
- Platform(String, String) - Constructor for class cn.hutool.http.useragent.Platform
-
构造
- platforms - Static variable in class cn.hutool.http.useragent.Platform
-
支持的平台类型
- PoiChecker - Class in cn.hutool.poi
-
POI引入检查器
- PoiChecker() - Constructor for class cn.hutool.poi.PoiChecker
-
- POIException - Exception in cn.hutool.poi.exceptions
-
POI异常
- POIException(Throwable) - Constructor for exception cn.hutool.poi.exceptions.POIException
-
- POIException(String) - Constructor for exception cn.hutool.poi.exceptions.POIException
-
- POIException(String, Object...) - Constructor for exception cn.hutool.poi.exceptions.POIException
-
- POIException(String, Throwable) - Constructor for exception cn.hutool.poi.exceptions.POIException
-
- POIException(Throwable, String, Object...) - Constructor for exception cn.hutool.poi.exceptions.POIException
-
- PooledConnection - Class in cn.hutool.db.ds.pooled
-
池化
- PooledConnection(PooledDataSource) - Constructor for class cn.hutool.db.ds.pooled.PooledConnection
-
构造
- PooledConnection(PooledDataSource, Connection) - Constructor for class cn.hutool.db.ds.pooled.PooledConnection
-
- PooledDataSource - Class in cn.hutool.db.ds.pooled
-
池化数据源
- PooledDataSource() - Constructor for class cn.hutool.db.ds.pooled.PooledDataSource
-
构造,读取默认的配置文件和默认分组
- PooledDataSource(String) - Constructor for class cn.hutool.db.ds.pooled.PooledDataSource
-
构造,读取默认的配置文件
- PooledDataSource(DbSetting, String) - Constructor for class cn.hutool.db.ds.pooled.PooledDataSource
-
构造
- PooledDataSource(DbConfig) - Constructor for class cn.hutool.db.ds.pooled.PooledDataSource
-
构造
- PooledDSFactory - Class in cn.hutool.db.ds.pooled
-
Hutool自身实现的池化数据源工厂类
- PooledDSFactory() - Constructor for class cn.hutool.db.ds.pooled.PooledDSFactory
-
- PooledDSFactory(Setting) - Constructor for class cn.hutool.db.ds.pooled.PooledDSFactory
-
- popPart(Stack<T>, int) - Static method in class cn.hutool.core.collection.CollUtil
-
切取部分数据
切取后的栈将减少这些元素
- popPart(Deque<T>, int) - Static method in class cn.hutool.core.collection.CollUtil
-
切取部分数据
切取后的栈将减少这些元素
- PORT_RANGE_MAX - Static variable in class cn.hutool.core.net.NetUtil
-
默认最大端口,65535
- PORT_RANGE_MIN - Static variable in class cn.hutool.core.net.NetUtil
-
默认最小端口,1024
- post(String) - Static method in class cn.hutool.http.HttpRequest
-
POST请求
- post(String, Map<String, Object>) - Static method in class cn.hutool.http.HttpUtil
-
发送post请求
- post(String, Map<String, Object>, int) - Static method in class cn.hutool.http.HttpUtil
-
发送post请求
- post(String, String) - Static method in class cn.hutool.http.HttpUtil
-
发送post请求
请求体body参数支持两种类型:
- post(String, String, int) - Static method in class cn.hutool.http.HttpUtil
-
发送post请求
请求体body参数支持两种类型:
- PostgresqlDialect - Class in cn.hutool.db.dialect.impl
-
Postgree方言
- PostgresqlDialect() - Constructor for class cn.hutool.db.dialect.impl.PostgresqlDialect
-
- postVisitDirectory(Path, IOException) - Method in class cn.hutool.core.io.file.visitor.DelVisitor
-
- pow(Number, int) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的幂运算
- pow(BigDecimal, int) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的幂运算
- prefix - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- prepareCall(String) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareCall(String, int, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareCall(String, int, int, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareCall(Connection, String, Object...) - Static method in class cn.hutool.db.StatementUtil
-
- prepareStatement(String) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareStatement(String, int, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareStatement(String, int, int, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareStatement(String, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareStatement(String, int[]) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareStatement(String, String[]) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- prepareStatement(Connection, SqlBuilder) - Static method in class cn.hutool.db.StatementUtil
-
- prepareStatement(Connection, String, Collection<Object>) - Static method in class cn.hutool.db.StatementUtil
-
- prepareStatement(Connection, String, Object...) - Static method in class cn.hutool.db.StatementUtil
-
- prepareStatementForBatch(Connection, String, Object[]...) - Static method in class cn.hutool.db.StatementUtil
-
- prepareStatementForBatch(Connection, String, Iterable<Object[]>) - Static method in class cn.hutool.db.StatementUtil
-
- prepareStatementForBatch(Connection, String, List<String>, Entity...) - Static method in class cn.hutool.db.StatementUtil
-
- prependIfMissing(CharSequence, CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
如果给定字符串不是以给定的一个或多个字符串为开头,则在首部添加起始字符串
不忽略大小写
- prependIfMissing(CharSequence, CharSequence, boolean, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
如果给定字符串不是以给定的一个或多个字符串为开头,则在首部添加起始字符串
- prependIfMissingIgnoreCase(CharSequence, CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
如果给定字符串不是以给定的一个或多个字符串为开头,则在首部添加起始字符串
忽略大小写
- pressImage(Image, int, int, float) - Method in class cn.hutool.core.img.Img
-
给图片添加图片水印
- pressImage(Image, Rectangle, float) - Method in class cn.hutool.core.img.Img
-
给图片添加图片水印
- pressImage(File, File, Image, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
- pressImage(InputStream, OutputStream, Image, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(ImageInputStream, ImageOutputStream, Image, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(Image, File, Image, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(Image, OutputStream, Image, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(Image, ImageOutputStream, Image, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(Image, Image, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(Image, Image, Rectangle, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressText(String, Color, Font, int, int, float) - Method in class cn.hutool.core.img.Img
-
给图片添加文字水印
此方法并不关闭流
- pressText(File, File, String, Color, Font, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加文字水印
- pressText(InputStream, OutputStream, String, Color, Font, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressText(ImageInputStream, ImageOutputStream, String, Color, Font, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressText(Image, File, String, Color, Font, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressText(Image, OutputStream, String, Color, Font, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressText(Image, ImageOutputStream, String, Color, Font, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressText(Image, String, Color, Font, int, int, float) - Static method in class cn.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- prettyPrint() - Method in class cn.hutool.core.date.StopWatch
-
生成所有任务的一个任务花费时间表
- preVisitDirectory(Path, BasicFileAttributes) - Method in class cn.hutool.core.io.file.visitor.CopyVisitor
-
- primaryKeyField - Variable in class cn.hutool.db.DaoTemplate
-
本表的主键字段,请在子类中覆盖或构造方法中指定,默认为id
- PRIME1 - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- PRIME2 - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- PRIME3 - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- PRIME4 - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- PRIMITIVE_WRAPPER_MAP - Static variable in enum cn.hutool.core.convert.BasicType
-
原始类型为Key,包装类型为Value,例如: int.class =》 Integer.class.
- PrimitiveArrayUtil - Class in cn.hutool.core.util
-
原始类型数组工具类
- PrimitiveArrayUtil() - Constructor for class cn.hutool.core.util.PrimitiveArrayUtil
-
- PrimitiveConverter - Class in cn.hutool.core.convert.impl
-
原始类型转换器
支持类型为:
byte
short
int
long
float
double
char
boolean
- PrimitiveConverter(Class<?>) - Constructor for class cn.hutool.core.convert.impl.PrimitiveConverter
-
构造
- print(Object) - Static method in class cn.hutool.core.lang.Console
-
同 System.out.print()方法,打印控制台日志
- print(Object, Object...) - Static method in class cn.hutool.core.lang.Console
-
同 System.out.println()方法,打印控制台日志
如果传入打印对象为
Throwable
对象,那么同时打印堆栈
- print(String, Object...) - Static method in class cn.hutool.core.lang.Console
-
同 System.out.print()方法,打印控制台日志
- print() - Method in class cn.hutool.core.lang.ConsoleTable
-
打印到控制台
- print(File) - Static method in class cn.hutool.core.swing.DesktopUtil
-
使用关联应用程序的打印命令, 用本机桌面打印设备来打印文件
- printAllUtils() - Static method in class cn.hutool.Hutool
-
控制台打印所有工具类
- printProgress(char, int) - Static method in class cn.hutool.core.lang.Console
-
打印进度条
- printProgress(char, int, double) - Static method in class cn.hutool.core.lang.Console
-
打印进度条
- privateKey - Variable in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
私钥
- process() - Method in class cn.hutool.core.img.gif.NeuQuant
-
- process(FoundWord) - Method in interface cn.hutool.dfa.SensitiveProcessor
-
敏感词过滤处理
- processMultiple(int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
可以用于计算双色球、大乐透注数的方法
比如大乐透35选5可以这样调用processMultiple(7,5); 就是数学中的:C75=7*6/2*1
- processRecord(Record) - Method in class cn.hutool.poi.excel.sax.Excel03SaxReader
-
HSSFListener 监听方法,处理 Record
- processStream(MultipartRequestInputStream) - Method in class cn.hutool.core.net.multipart.UploadFile
-
处理上传表单流,提取出文件
- Profile - Class in cn.hutool.setting.profile
-
Profile可以让我们定义一系列的配置信息,然后指定其激活条件。
此类中我们规范一套规则如下:
默认的,我们读取${classpath}/default下的配置文件(*.setting文件),当调用setProfile方法时,指定一个profile,即可读取其目录下的配置文件。
比如我们定义几个profile:test,develop,production,分别代表测试环境、开发环境和线上环境,我希望读取数据库配置文件db.setting,那么:
test =》 ${classpath}/test/db.setting
develop =》 ${classpath}/develop/db.setting
production =》 ${classpath}/production/db.setting
- Profile() - Constructor for class cn.hutool.setting.profile.Profile
-
默认构造,环境使用默认的:default,编码UTF-8,不使用变量
- Profile(String) - Constructor for class cn.hutool.setting.profile.Profile
-
构造,编码UTF-8,不使用变量
- Profile(String, Charset, boolean) - Constructor for class cn.hutool.setting.profile.Profile
-
构造
- progress(long) - Method in interface cn.hutool.core.io.StreamProgress
-
进行中
- PropDesc - Class in cn.hutool.core.bean
-
属性描述,包括了字段、getter、setter和相应的方法执行
- PropDesc(Field, Method, Method) - Constructor for class cn.hutool.core.bean.PropDesc
-
构造
Getter和Setter方法设置为默认可访问
- PropertyComparator<T> - Class in cn.hutool.core.comparator
-
Bean属性排序器
支持读取Bean多层次下的属性
- PropertyComparator(String) - Constructor for class cn.hutool.core.comparator.PropertyComparator
-
构造
- PropertyComparator(String, boolean) - Constructor for class cn.hutool.core.comparator.PropertyComparator
-
构造
- PropIgnore - Annotation Type in cn.hutool.core.annotation
-
属性忽略注解,使用此注解的字段等会被忽略,主要用于Bean拷贝、Bean转Map等
此注解应用于字段时,忽略读取和设置属性值,应用于setXXX方法忽略设置值,应用于getXXX忽略读取值
- Props - Class in cn.hutool.setting.dialect
-
Properties文件读取封装类
- Props() - Constructor for class cn.hutool.setting.dialect.Props
-
构造
- Props(String) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,使用相对于Class文件根目录的相对路径
- Props(String, String) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,使用相对于Class文件根目录的相对路径
- Props(String, Charset) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,使用相对于Class文件根目录的相对路径
- Props(File) - Constructor for class cn.hutool.setting.dialect.Props
-
构造
- Props(File, String) - Constructor for class cn.hutool.setting.dialect.Props
-
构造
- Props(File, Charset) - Constructor for class cn.hutool.setting.dialect.Props
-
构造
- Props(String, Class<?>) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,相对于classes读取文件
- Props(String, Class<?>, String) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,相对于classes读取文件
- Props(String, Class<?>, Charset) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,相对于classes读取文件
- Props(URL) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,使用URL读取
- Props(URL, String) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,使用URL读取
- Props(URL, Charset) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,使用URL读取
- Props(Properties) - Constructor for class cn.hutool.setting.dialect.Props
-
构造,使用URL读取
- props() - Static method in class cn.hutool.system.SystemUtil
-
- PropsUtil - Class in cn.hutool.setting.dialect
-
Props工具类
提供静态方法获取配置文件
- PropsUtil() - Constructor for class cn.hutool.setting.dialect.PropsUtil
-
- Protocol<T> - Interface in cn.hutool.socket.protocol
-
协议接口
通过实现此接口完成消息的编码和解码
- ProviderFactory - Class in cn.hutool.crypto
-
Provider对象生产法工厂类
- ProviderFactory() - Constructor for class cn.hutool.crypto.ProviderFactory
-
- proxy(T, Aspect) - Method in class cn.hutool.aop.proxy.CglibProxyFactory
-
- proxy(T, Aspect) - Method in class cn.hutool.aop.proxy.JdkProxyFactory
-
- proxy(T, Class<? extends Aspect>) - Method in class cn.hutool.aop.proxy.ProxyFactory
-
创建代理
- proxy(T, Aspect) - Method in class cn.hutool.aop.proxy.ProxyFactory
-
创建代理
- proxy(T, Aspect) - Method in class cn.hutool.aop.proxy.SpringCglibProxyFactory
-
- proxy(T, Class<? extends Aspect>) - Static method in class cn.hutool.aop.ProxyUtil
-
使用切面代理对象
- proxy(T, Aspect) - Static method in class cn.hutool.aop.ProxyUtil
-
使用切面代理对象
- proxyAuth(String) - Method in class cn.hutool.http.HttpRequest
-
验证,简单插入Authorization头
- ProxyFactory - Class in cn.hutool.aop.proxy
-
代理工厂
根据用户引入代理库的不同,产生不同的代理对象
- ProxyFactory() - Constructor for class cn.hutool.aop.proxy.ProxyFactory
-
- ProxyUtil - Class in cn.hutool.aop
-
代理工具类
- ProxyUtil() - Constructor for class cn.hutool.aop.ProxyUtil
-
- prune() - Method in interface cn.hutool.cache.Cache
-
从缓存中清理过期对象,清理策略取决于具体实现
- prune() - Method in class cn.hutool.cache.impl.AbstractCache
-
- prune() - Method in class cn.hutool.cache.impl.NoCache
-
- pruneCache() - Method in class cn.hutool.cache.impl.AbstractCache
-
清理实现
子类实现此方法时无需加锁
- pruneCache() - Method in class cn.hutool.cache.impl.FIFOCache
-
先进先出的清理策略
先遍历缓存清理过期的缓存对象,如果清理后还是满的,则删除第一个缓存对象
- pruneCache() - Method in class cn.hutool.cache.impl.LFUCache
-
清理过期对象。
清理后依旧满的情况下清除最少访问(访问计数最小)的对象并将其他对象的访问数减去这个最小访问数,以便新对象进入后可以公平计数。
- pruneCache() - Method in class cn.hutool.cache.impl.LRUCache
-
只清理超时对象,LRU的实现会交给LinkedHashMap
- pruneCache() - Method in class cn.hutool.cache.impl.TimedCache
-
清理过期对象
- psForCount(Connection, Query) - Method in interface cn.hutool.db.dialect.Dialect
-
构建用于查询行数的PreparedStatement
- psForDelete(Connection, Query) - Method in interface cn.hutool.db.dialect.Dialect
-
构建用于删除的PreparedStatement
- psForDelete(Connection, Query) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- psForFind(Connection, Query) - Method in interface cn.hutool.db.dialect.Dialect
-
构建用于获取多条记录的PreparedStatement
- psForFind(Connection, Query) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- psForInsert(Connection, Entity) - Method in interface cn.hutool.db.dialect.Dialect
-
构建用于插入的PreparedStatement
- psForInsert(Connection, Entity) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- psForInsertBatch(Connection, Entity...) - Method in interface cn.hutool.db.dialect.Dialect
-
构建用于批量插入的PreparedStatement
- psForInsertBatch(Connection, Entity...) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- psForPage(Connection, Query) - Method in interface cn.hutool.db.dialect.Dialect
-
构建用于分页查询的PreparedStatement
- psForPage(Connection, SqlBuilder, Page) - Method in interface cn.hutool.db.dialect.Dialect
-
- psForPage(Connection, Query) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- psForPage(Connection, SqlBuilder, Page) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- psForUpdate(Connection, Entity, Query) - Method in interface cn.hutool.db.dialect.Dialect
-
构建用于更新的PreparedStatement
- psForUpdate(Connection, Entity, Query) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- publicKey - Variable in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
公钥
- PUNY_CODE_PREFIX - Static variable in class cn.hutool.core.codec.PunyCode
-
- PunyCode - Class in cn.hutool.core.codec
-
Punycode是一个根据RFC 3492标准而制定的编码系统,主要用于把域名从地方语言所采用的Unicode编码转换成为可用于DNS系统的编码
- PunyCode() - Constructor for class cn.hutool.core.codec.PunyCode
-
- PURE_DATE_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
-
- PURE_DATE_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
-
标准日期格式:yyyyMMdd
- PURE_DATETIME_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
-
- PURE_DATETIME_MS_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
-
- PURE_DATETIME_MS_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
-
标准日期格式:yyyyMMddHHmmssSSS
- PURE_DATETIME_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
-
标准日期格式:yyyyMMddHHmmss
- PURE_TIME_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
-
- PURE_TIME_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
-
标准日期格式:HHmmss
- put(K, V) - Method in interface cn.hutool.cache.Cache
-
将对象加入到缓存,使用默认失效时长
- put(K, V, long) - Method in interface cn.hutool.cache.Cache
-
- put(K, V) - Method in class cn.hutool.cache.impl.AbstractCache
-
- put(K, V, long) - Method in class cn.hutool.cache.impl.AbstractCache
-
- put(K, V) - Method in class cn.hutool.cache.impl.NoCache
-
- put(K, V, long) - Method in class cn.hutool.cache.impl.NoCache
-
- put(String, Object) - Method in class cn.hutool.core.lang.Dict
-
- put(K, V) - Method in class cn.hutool.core.lang.SimpleCache
-
放入缓存
- put(Object) - Static method in class cn.hutool.core.lang.Singleton
-
将已有对象放入单例中,其Class做为键
- put(String, Object) - Static method in class cn.hutool.core.lang.Singleton
-
将已有对象放入单例中,其Class做为键
- put(K, V) - Method in class cn.hutool.core.map.BiMap
-
- put(K, V) - Method in class cn.hutool.core.map.CustomKeyMap
-
- put(K, V) - Method in class cn.hutool.core.map.MapBuilder
-
链式Map创建
- put(Object, Object) - Method in class cn.hutool.core.map.MapProxy
-
- put(K, V) - Method in class cn.hutool.core.map.MapWrapper
-
- put(K, V) - Method in class cn.hutool.core.map.TableMap
-
- put(String, Session) - Method in enum cn.hutool.extra.ssh.JschSessionPool
-
加入Session
- put(String, String) - Method in class cn.hutool.extra.ssh.Sftp
-
将本地文件上传到目标服务器,目标文件名为destPath,若destPath为目录,则目标文件名将与srcFilePath文件名相同。覆盖模式
- put(String, String, Sftp.Mode) - Method in class cn.hutool.extra.ssh.Sftp
-
将本地文件上传到目标服务器,目标文件名为destPath,若destPath为目录,则目标文件名将与srcFilePath文件名相同。
- put(String, String, SftpProgressMonitor, Sftp.Mode) - Method in class cn.hutool.extra.ssh.Sftp
-
将本地文件上传到目标服务器,目标文件名为destPath,若destPath为目录,则目标文件名将与srcFilePath文件名相同。
- put(String) - Static method in class cn.hutool.http.HttpRequest
-
PUT请求
- put(Object) - Method in class cn.hutool.json.JSONArray
-
Append an object value.
- put(int, Object) - Method in class cn.hutool.json.JSONArray
-
加入或者替换JSONArray中指定Index的值,如果index大于JSONArray的长度,将在指定index设置值,之前的位置填充JSONNull.Null
- put(String, Object) - Method in class cn.hutool.json.JSONObject
-
- put(Type, JSONArraySerializer<?>) - Static method in class cn.hutool.json.serialize.GlobalSerializeMapping
-
加入自定义的序列化器
- put(Type, JSONObjectSerializer<?>) - Static method in class cn.hutool.json.serialize.GlobalSerializeMapping
-
加入自定义的序列化器
- put(Type, JSONDeserializer<?>) - Static method in class cn.hutool.json.serialize.GlobalSerializeMapping
-
加入自定义的反序列化器
- put(String, Object) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- put(String, Object) - Method in class cn.hutool.script.JavaScriptEngine
-
- put(String, String, String) - Method in class cn.hutool.setting.GroupedMap
-
将键值对加入到对应分组中
- put(String, String, String) - Method in class cn.hutool.setting.Setting
-
- put(String, String) - Method in class cn.hutool.setting.Setting
-
将指定键值对加入到默认分组(空分组)中
- putAll(Map<? extends String, ?>) - Method in class cn.hutool.core.lang.Dict
-
- putAll(Map<? extends K, ? extends V>) - Method in class cn.hutool.core.map.BiMap
-
- putAll(Map<? extends K, ? extends V>) - Method in class cn.hutool.core.map.CustomKeyMap
-
- putAll(Map<K, V>) - Method in class cn.hutool.core.map.MapBuilder
-
链式Map创建
- putAll(Map<?, ?>) - Method in class cn.hutool.core.map.MapProxy
-
- putAll(Map<? extends K, ? extends V>) - Method in class cn.hutool.core.map.MapWrapper
-
- putAll(Map<? extends K, ? extends V>) - Method in class cn.hutool.core.map.TableMap
-
- putAll(Map<? extends String, ?>) - Method in class cn.hutool.json.JSONObject
-
- putAll(String, Map<? extends String, ? extends String>) - Method in class cn.hutool.setting.GroupedMap
-
加入多个键值对到某个分组下
- putAll(String, Map<? extends String, ? extends String>) - Method in class cn.hutool.setting.Setting
-
加入多个键值对到某个分组下
- putAll(Map<? extends String, ? extends String>) - Method in class cn.hutool.setting.Setting
-
将键值对Map加入默认分组(空分组)中
- putByGroup(String, String, String) - Method in class cn.hutool.setting.Setting
-
将键值对加入到对应分组中
- putByPath(String, Object) - Method in interface cn.hutool.json.JSON
-
设置表达式指定位置(或filed对应)的值
若表达式指向一个JSONArray则设置其坐标对应位置的值,若指向JSONObject则put对应key的值
注意:如果为JSONArray,设置值下标小于其长度,将替换原有值,否则追加新值
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
- putByPath(String, Object) - Method in class cn.hutool.json.JSONArray
-
- putByPath(String, Object) - Method in class cn.hutool.json.JSONObject
-
- putByPath(JSON, String, Object) - Static method in class cn.hutool.json.JSONUtil
-
设置表达式指定位置(或filed对应)的值
若表达式指向一个JSONArray则设置其坐标对应位置的值,若指向JSONObject则put对应key的值
注意:如果为JSONArray,则设置值得下标不能大于已有JSONArray的长度
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
- putCustom(Type, Class<? extends Converter<?>>) - Method in class cn.hutool.core.convert.ConverterRegistry
-
登记自定义转换器
- putCustom(Type, Converter<?>) - Method in class cn.hutool.core.convert.ConverterRegistry
-
登记自定义转换器
- putDefault(boolean) - Method in enum cn.hutool.http.GlobalHeaders
-
加入默认的头部信息
- putDeserializer(Type, JSONDeserializer<?>) - Static method in class cn.hutool.json.JSONUtil
-
加入自定义的反序列化器
- putExtra(String, Object) - Method in class cn.hutool.core.lang.tree.Tree
-
扩展属性
- putFileType(String, String) - Static method in class cn.hutool.core.io.FileTypeUtil
-
增加文件类型映射
如果已经存在将覆盖之前的映射
- putGlobalContext(String, Object) - Method in class cn.hutool.extra.template.engine.velocity.VelocityUtil
-
Deprecated.
设置Velocity全局上下文
当设定值时,对于每个模板都有效
- putIfAbsent(K, V) - Method in class cn.hutool.core.map.MapWrapper
-
- putOnce(String, Object) - Method in class cn.hutool.json.JSONObject
-
一次性Put 键值对,如果key已经存在抛出异常,如果键值中有null值,忽略
- putOpt(String, Object) - Method in class cn.hutool.json.JSONObject
-
在键和值都为非空的情况下put到JSONObject中
- putPropertyDescriptorMap(Class<?>, Map<String, PropertyDescriptor>, boolean) - Method in enum cn.hutool.core.bean.BeanInfoCache
-
加入缓存
- putSerializer(Type, JSONArraySerializer<?>) - Static method in class cn.hutool.json.JSONUtil
-
加入自定义的序列化器
- putSerializer(Type, JSONObjectSerializer<?>) - Static method in class cn.hutool.json.JSONUtil
-
加入自定义的序列化器
- putValue(K, V) - Method in class cn.hutool.core.map.multi.CollectionValueMap
-
放入Value
如果键对应值列表有值,加入,否则创建一个新列表后加入
- pwd() - Method in class cn.hutool.extra.ftp.AbstractFtp
-
远程当前目录(工作目录)
- pwd() - Method in class cn.hutool.extra.ftp.Ftp
-
远程当前目录
- pwd() - Method in class cn.hutool.extra.ssh.Sftp
-
远程当前目录
- RADBIAS - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- RADBIASSHIFT - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- RADIUSBIAS - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- RADIUSBIASSHIFT - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- RADIUSDEC - Static variable in class cn.hutool.core.img.gif.NeuQuant
-
- RADIXS_34 - Static variable in class cn.hutool.core.util.RadixUtil
-
34进制字符串,不包含 IO 字符
对于需要补齐的,自己可以随机填充IO字符
26个字母:abcdefghijklmnopqrstuvwxyz
- RADIXS_59 - Static variable in class cn.hutool.core.util.RadixUtil
-
59进制字符串,不包含 IOl 字符
- RADIXS_SHUFFLE_34 - Static variable in class cn.hutool.core.util.RadixUtil
-
打乱后的34进制
- RADIXS_SHUFFLE_59 - Static variable in class cn.hutool.core.util.RadixUtil
-
打乱后的59进制
- RadixUtil - Class in cn.hutool.core.util
-
把一个十进制整数根据自己定义的进制规则进行转换
from:https://gitee.com/loolly/hutool/pulls/260
- RadixUtil() - Constructor for class cn.hutool.core.util.RadixUtil
-
- radpower - Variable in class cn.hutool.core.img.gif.NeuQuant
-
- rainbow(int, int, int) - Static method in class cn.hutool.core.util.PageUtil
-
分页彩虹算法
来自:https://github.com/iceroot/iceroot/blob/master/src/main/java/com/icexxx/util/IceUtil.java
通过传入的信息,生成一个分页列表显示
- rainbow(int, int) - Static method in class cn.hutool.core.util.PageUtil
-
分页彩虹算法(默认展示10页)
来自:https://github.com/iceroot/iceroot/blob/master/src/main/java/com/icexxx/util/IceUtil.java
- randomBigDecimal() - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数[0, 1)
- randomBigDecimal(BigDecimal) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数 [0,limit)
- randomBigDecimal(BigDecimal, BigDecimal) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomBoolean() - Static method in class cn.hutool.core.util.RandomUtil
-
获得随机Boolean值
- randomBytes(int) - Static method in class cn.hutool.core.util.RandomUtil
-
随机bytes
- randomChar() - Static method in class cn.hutool.core.util.RandomUtil
-
随机字母或数字,小写
- randomChar(String) - Static method in class cn.hutool.core.util.RandomUtil
-
随机字符
- randomColor() - Static method in class cn.hutool.core.img.ImgUtil
-
生成随机颜色
- randomColor(Random) - Static method in class cn.hutool.core.img.ImgUtil
-
生成随机颜色
- randomColor() - Static method in class cn.hutool.core.util.RandomUtil
-
- randomCreditCode() - Static method in class cn.hutool.core.util.CreditCodeUtil
-
获取一个随机的统一社会信用代码
- randomDate(Date, DateField, int, int) - Static method in class cn.hutool.core.util.RandomUtil
-
以给定日期为基准,随机产生一个日期
- randomDay(int, int) - Static method in class cn.hutool.core.util.RandomUtil
-
以当天为基准,随机产生一个日期
- randomDouble(double, double) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomDouble(double, double, int, RoundingMode) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomDouble() - Static method in class cn.hutool.core.util.RandomUtil
-
获得随机数[0, 1)
- randomDouble(int, RoundingMode) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomDouble(double) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数 [0,limit)
- randomDouble(double, int, RoundingMode) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomEle(List<T>) - Static method in class cn.hutool.core.util.RandomUtil
-
随机获得列表中的元素
- randomEle(List<T>, int) - Static method in class cn.hutool.core.util.RandomUtil
-
随机获得列表中的元素
- randomEle(T[]) - Static method in class cn.hutool.core.util.RandomUtil
-
随机获得数组中的元素
- randomEle(T[], int) - Static method in class cn.hutool.core.util.RandomUtil
-
随机获得数组中的元素
- randomEleList(List<T>, int) - Static method in class cn.hutool.core.util.RandomUtil
-
- randomEles(List<T>, int) - Static method in class cn.hutool.core.util.RandomUtil
-
随机获得列表中的一定量元素
- randomEleSet(Collection<T>, int) - Static method in class cn.hutool.core.util.RandomUtil
-
随机获得列表中的一定量的不重复元素,返回Set
- RandomGenerator - Class in cn.hutool.captcha.generator
-
随机字符验证码生成器
可以通过传入的基础集合和长度随机生成验证码字符
- RandomGenerator(int) - Constructor for class cn.hutool.captcha.generator.RandomGenerator
-
构造,使用字母+数字做为基础
- RandomGenerator(String, int) - Constructor for class cn.hutool.captcha.generator.RandomGenerator
-
构造
- randomInt(int, int) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomInt() - Static method in class cn.hutool.core.util.RandomUtil
-
获得随机数int值
- randomInt(int) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数 [0,limit)
- randomInts(int) - Static method in class cn.hutool.core.util.RandomUtil
-
创建指定长度的随机索引
- randomLong(long, long) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数[min, max)
- randomLong() - Static method in class cn.hutool.core.util.RandomUtil
-
获得随机数
- randomLong(long) - Static method in class cn.hutool.core.util.RandomUtil
-
获得指定范围内的随机数 [0,limit)
- randomNumber() - Static method in class cn.hutool.core.util.RandomUtil
-
随机数字,数字为0~9单个数字
- randomNumbers(int) - Static method in class cn.hutool.core.util.RandomUtil
-
获得一个只包含数字的字符串
- randomString(int) - Static method in class cn.hutool.core.util.RandomUtil
-
获得一个随机的字符串(只包含数字和字符)
- randomString(String, int) - Static method in class cn.hutool.core.util.RandomUtil
-
获得一个随机的字符串
- randomStringUpper(int) - Static method in class cn.hutool.core.util.RandomUtil
-
获得一个随机的字符串(只包含数字和大写字符)
- randomStringWithoutStr(int, String) - Static method in class cn.hutool.core.util.RandomUtil
-
获得一个随机的字符串(只包含数字和字符) 并排除指定字符串
- RandomUtil - Class in cn.hutool.core.util
-
随机工具类
- RandomUtil() - Constructor for class cn.hutool.core.util.RandomUtil
-
- randomUUID() - Static method in class cn.hutool.core.lang.UUID
-
获取类型 4(伪随机生成的)UUID 的静态工厂。 使用加密的强伪随机数生成器生成该 UUID。
- randomUUID(boolean) - Static method in class cn.hutool.core.lang.UUID
-
获取类型 4(伪随机生成的)UUID 的静态工厂。 使用加密的强伪随机数生成器生成该 UUID。
- randomUUID() - Static method in class cn.hutool.core.util.IdUtil
-
获取随机UUID
- randomUUID() - Static method in class cn.hutool.core.util.RandomUtil
-
- range(Date, Date, DateField) - Static method in class cn.hutool.core.date.DateUtil
-
创建日期范围生成器
- Range<T> - Class in cn.hutool.core.lang
-
范围生成器。根据给定的初始值、结束值和步进生成一个步进列表生成器
由于用户自行实现
Range.Steper
来定义步进,因此Range本身无法判定边界(是否达到end),需在step实现边界判定逻辑。
- Range(T, Range.Steper<T>) - Constructor for class cn.hutool.core.lang.Range
-
构造
- Range(T, T, Range.Steper<T>) - Constructor for class cn.hutool.core.lang.Range
-
构造
- Range(T, T, Range.Steper<T>, boolean, boolean) - Constructor for class cn.hutool.core.lang.Range
-
构造
- range(int) - Static method in class cn.hutool.core.util.NumberUtil
-
从0开始给定范围内的整数列表,步进为1
- range(int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
给定范围内的整数列表,步进为1
- range(int, int, int) - Static method in class cn.hutool.core.util.NumberUtil
-
给定范围内的整数列表
- range(int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
生成一个从0开始的数字列表
- range(int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
生成一个数字列表
自动判定正序反序
- range(int, int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
生成一个数字列表
自动判定正序反序
- Range.Steper<T> - Interface in cn.hutool.core.lang
-
步进接口,此接口用于实现如何对一个对象按照指定步进增加步进
步进接口可以定义以下逻辑:
- rangeToList(Date, Date, DateField) - Static method in class cn.hutool.core.date.DateUtil
-
创建日期范围生成器
- ratio - Variable in class cn.hutool.extra.qrcode.QrConfig
-
二维码中的Logo缩放的比例系数,如5表示长宽最小值的1/5
- raw - Variable in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- rc4(String) - Static method in class cn.hutool.crypto.SecureUtil
-
RC4算法
- RC4 - Class in cn.hutool.crypto.symmetric
-
RC4加密解密算法实现
来自:https://github.com/xSAVIKx/RC4-cipher/blob/master/src/main/java/com/github/xsavikx/rc4/RC4.java
- RC4(String) - Constructor for class cn.hutool.crypto.symmetric.RC4
-
构造
- RE_CHINESE - Static variable in class cn.hutool.core.util.ReUtil
-
正则表达式匹配中文汉字
- RE_CHINESES - Static variable in class cn.hutool.core.util.ReUtil
-
正则表达式匹配中文字符串
- RE_HTML_MARK - Static variable in class cn.hutool.http.HtmlUtil
-
- RE_KEYS - Static variable in class cn.hutool.core.util.ReUtil
-
正则中需要被转义的关键字
- RE_SCRIPT - Static variable in class cn.hutool.http.HtmlUtil
-
- read(BufferedInputStream) - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads GIF image from stream
- read(InputStream) - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads GIF image from stream
- read(String) - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads GIF file from specified file/URL source
(URL assumed if name contains ":/" or "file:")
- read() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads a single byte from the input stream.
- read(String) - Static method in class cn.hutool.core.img.ImgUtil
-
从文件中读取图片,请使用绝对路径,使用相对路径会相对于ClassPath
- read(File) - Static method in class cn.hutool.core.img.ImgUtil
-
从文件中读取图片
- read(Resource) - Static method in class cn.hutool.core.img.ImgUtil
-
- read(InputStream) - Static method in class cn.hutool.core.img.ImgUtil
-
从流中读取图片
- read(ImageInputStream) - Static method in class cn.hutool.core.img.ImgUtil
-
从图片流中读取图片
- read(URL) - Static method in class cn.hutool.core.img.ImgUtil
-
从URL中读取图片
- read() - Method in class cn.hutool.core.io.BOMInputStream
-
- read(FileReader.ReaderHandler<T>) - Method in class cn.hutool.core.io.file.FileReader
-
按照给定的readerHandler读取文件中的数据
- read(InputStream, String) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取内容,读取完成后关闭流
- read(InputStream, Charset) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取内容,读取完毕后并不关闭流
- read(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取内容,读到输出流中,读取完毕后并不关闭流
- read(InputStream, boolean) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取内容,读到输出流中,读取完毕后并不关闭流
- read(Reader) - Static method in class cn.hutool.core.io.IoUtil
-
从Reader中读取String,读取完毕后关闭Reader
- read(Reader, boolean) - Static method in class cn.hutool.core.io.IoUtil
-
- read(ReadableByteChannel, Charset) - Static method in class cn.hutool.core.io.NioUtil
-
从流中读取内容,读取完毕后并不关闭流
- read(ReadableByteChannel) - Static method in class cn.hutool.core.io.NioUtil
-
从流中读取内容,读到输出流中
- read(FileChannel, String) - Static method in class cn.hutool.core.io.NioUtil
-
从FileChannel中读取内容,读取完毕后并不关闭Channel
- read(FileChannel, Charset) - Static method in class cn.hutool.core.io.NioUtil
-
从FileChannel中读取内容
- read(File) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
读取CSV文件,默认UTF-8编码
- read(File, Charset) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
读取CSV文件
- read(Path) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
读取CSV文件,默认UTF-8编码
- read(Path, Charset) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
读取CSV文件
- read(Reader) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从Reader中读取CSV数据,读取后关闭Reader
- read(Reader, Class<T>) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从Reader中读取CSV数据并转换为Bean列表,读取后关闭Reader。
此方法默认识别首行为标题行。
- read(Reader, CsvRowHandler) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从Reader中读取CSV数据,读取后关闭Reader
- read() - Method in class cn.hutool.core.text.csv.CsvReader
-
读取CSV文件,此方法只能调用一次
调用此方法的前提是构造中传入文件路径或Reader
- read(CsvRowHandler) - Method in class cn.hutool.core.text.csv.CsvReader
-
读取CSV数据,此方法只能调用一次
调用此方法的前提是构造中传入文件路径或Reader
- read(ZipFile, Consumer<ZipEntry>) - Static method in class cn.hutool.core.util.ZipUtil
-
- read(ZipInputStream, Consumer<ZipEntry>) - Static method in class cn.hutool.core.util.ZipUtil
-
- read() - Method in class cn.hutool.extra.compress.extractor.Seven7EntryInputStream
-
- read() - Method in class cn.hutool.http.HttpInputStream
-
- read(byte[], int, int) - Method in class cn.hutool.http.HttpInputStream
-
- read() - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet的所有行列数据
- read(int) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet
- read(int, int) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet,此方法会把第一行作为标题行,替换标题别名
- read(int, int, boolean) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet
- read(CellHandler) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet,此方法为类流处理方式,当读到指定单元格时,会调用CellEditor接口
用户通过实现此接口,可以更加灵活的处理每个单元格的数据。
- read(int, int, CellHandler) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取工作簿中指定的Sheet,此方法为类流处理方式,当读到指定单元格时,会调用CellEditor接口
用户通过实现此接口,可以更加灵活的处理每个单元格的数据。
- read(int, int, int) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取Excel为Map的列表
Map表示一行,标题为key,单元格内容为value
- read(int, int, Class<T>) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取Excel为Bean的列表
- read(int, int, int, Class<T>) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取Excel为Bean的列表
- read(SheetReader<T>) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取数据为指定类型
- read(Sheet) - Method in class cn.hutool.poi.excel.reader.BeanSheetReader
-
- read(Sheet) - Method in class cn.hutool.poi.excel.reader.ListSheetReader
-
- read(Sheet) - Method in class cn.hutool.poi.excel.reader.MapSheetReader
-
- read(Sheet) - Method in interface cn.hutool.poi.excel.reader.SheetReader
-
读取数据
- read(File, String) - Method in class cn.hutool.poi.excel.sax.Excel03SaxReader
-
- read(InputStream, String) - Method in class cn.hutool.poi.excel.sax.Excel03SaxReader
-
- read(POIFSFileSystem, String) - Method in class cn.hutool.poi.excel.sax.Excel03SaxReader
-
读取
- read(File, int) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
- read(File, String) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
- read(InputStream, int) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
- read(InputStream, String) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
- read(OPCPackage, int) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
开始读取Excel,Sheet编号从0开始计数
- read(OPCPackage, String) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
开始读取Excel,Sheet编号从0开始计数
- read(XSSFReader, String) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
开始读取Excel,Sheet编号从0开始计数
- read(File, String) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel
- read(InputStream, String) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel,读取结束后并不关闭流
- read(String) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel,读取所有sheet
- read(File) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel,读取所有sheet
- read(InputStream) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel,读取所有sheet,读取结束后并不关闭流
- read(String, int) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel
- read(String, String) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel
- read(File, int) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel
- read(InputStream, int) - Method in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
开始读取Excel,读取结束后并不关闭流
- read(XSSFReader) - Method in class cn.hutool.poi.excel.sax.SheetRidReader
-
读取Wordkbook的XML中sheet标签中sheetId和rid的对应关系
- read() - Method in class cn.hutool.socket.aio.AioClient
-
从服务端读取数据
- read() - Method in class cn.hutool.socket.aio.AioSession
-
读取数据到Buffer
- read(CompletionHandler<Integer, AioSession>) - Method in class cn.hutool.socket.aio.AioSession
-
读取数据到Buffer
- read03BySax(InputStream, int, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- read03BySax(File, int, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- read03BySax(String, int, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- read07BySax(InputStream, int, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- read07BySax(File, int, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- read07BySax(String, int, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
- readableFileSize() - Method in class cn.hutool.core.io.file.FileWrapper
-
可读的文件大小
- readableFileSize(File) - Static method in class cn.hutool.core.io.FileUtil
-
可读的文件大小
- readableFileSize(long) - Static method in class cn.hutool.core.io.FileUtil
-
可读的文件大小
参考 http://stackoverflow.com/questions/3263892/format-file-size-as-mb-gb-etc
- readAll() - Method in class cn.hutool.poi.excel.ExcelReader
-
读取Excel为Map的列表,读取所有行,默认第一行做为标题,数据从第二行开始
Map表示一行,标题为key,单元格内容为value
- readAll(Class<T>) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取Excel为Bean的列表,读取所有行,默认第一行做为标题,数据从第二行开始
- readAsText(Workbook, boolean) - Static method in class cn.hutool.poi.excel.ExcelExtractorUtil
-
读取为文本格式
使用ExcelExtractor
提取Excel内容
- readAsText(boolean) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取为文本格式
使用ExcelExtractor
提取Excel内容
- readBlock() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads next variable length block from input.
- readBoundary() - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
输入流中读取边界
- readBySax(File, ContentHandler) - Static method in class cn.hutool.core.util.XmlUtil
-
- readBySax(Reader, ContentHandler) - Static method in class cn.hutool.core.util.XmlUtil
-
- readBySax(InputStream, ContentHandler) - Static method in class cn.hutool.core.util.XmlUtil
-
- readBySax(InputSource, ContentHandler) - Static method in class cn.hutool.core.util.XmlUtil
-
- readBySax(String, int, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
通过Sax方式读取Excel,同时支持03和07格式
- readBySax(String, String, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
通过Sax方式读取Excel,同时支持03和07格式
- readBySax(File, int, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
通过Sax方式读取Excel,同时支持03和07格式
- readBySax(File, String, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
通过Sax方式读取Excel,同时支持03和07格式
- readBySax(InputStream, int, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
通过Sax方式读取Excel,同时支持03和07格式
- readBySax(InputStream, String, RowHandler) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
通过Sax方式读取Excel,同时支持03和07格式
- readByte() - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
读取byte字节流,在末尾抛出异常
- readBytes(ByteBuffer) - Static method in class cn.hutool.core.io.BufferUtil
-
读取剩余部分bytes
- readBytes(ByteBuffer, int) - Static method in class cn.hutool.core.io.BufferUtil
-
读取指定长度的bytes
如果长度不足,则读取剩余部分,此时buffer必须为读模式
- readBytes(ByteBuffer, int, int) - Static method in class cn.hutool.core.io.BufferUtil
-
读取指定区间的数据
- readBytes() - Method in class cn.hutool.core.io.file.FileReader
-
- readBytes(Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
读取文件的所有内容为byte数组
- readBytes(File) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件所有数据
文件的长度不能超过Integer.MAX_VALUE
- readBytes(String) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件所有数据
文件的长度不能超过Integer.MAX_VALUE
- readBytes(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取bytes,读取完毕后关闭流
- readBytes(InputStream, boolean) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取bytes
- readBytes(InputStream, int) - Static method in class cn.hutool.core.io.IoUtil
-
读取指定长度的byte数组,不关闭流
- readBytes() - Method in class cn.hutool.core.io.resource.BytesResource
-
- readBytes() - Method in class cn.hutool.core.io.resource.CharSequenceResource
-
- readBytes() - Method in class cn.hutool.core.io.resource.MultiResource
-
- readBytes() - Method in interface cn.hutool.core.io.resource.Resource
-
读取资源内容,读取完毕后会关闭流
关闭流并不影响下一次读取
- readBytes(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
读取Classpath下的资源为byte[]
- readCellValue(int, int) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取某个单元格的值
- readCertificate(String, InputStream, char[], String) - Static method in class cn.hutool.crypto.KeyUtil
-
读取Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readCertificate(String, InputStream) - Static method in class cn.hutool.crypto.KeyUtil
-
读取Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readCertificate(String, InputStream, char[], String) - Static method in class cn.hutool.crypto.SecureUtil
-
读取Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readCertificate(String, InputStream) - Static method in class cn.hutool.crypto.SecureUtil
-
读取Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readColorTable(int) - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads color table as 256 RGB integer values
- readContents() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Main file parser.
- readCookieMap(HttpServletRequest) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
将cookie封装到Map里面
- readDataHeader(Charset) - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
从流中读取文件头部信息, 如果达到末尾则返回null
- readDataHeaderString(Charset) - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
读取数据头信息字符串
- readFrom(InputStream, ContentHandler) - Static method in class cn.hutool.poi.excel.sax.ExcelSaxUtil
-
- readGraphicControlExt() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads Graphics Control Extension values
- ReadHandler - Class in cn.hutool.socket.aio
-
数据读取完成回调,调用Session中相应方法处理消息,单例使用
- ReadHandler() - Constructor for class cn.hutool.socket.aio.ReadHandler
-
- readHeader() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads GIF file header information.
- readHex(InputStream, int, boolean) - Static method in class cn.hutool.core.io.IoUtil
-
读取16进制字符串
- readHex28Lower(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取前28个byte并转换为16进制,字母部分使用小写
- readHex28Upper(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取前28个byte并转换为16进制,字母部分使用大写
- readImage() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads next frame image
- readJKSKeyStore(File, char[]) - Static method in class cn.hutool.crypto.KeyUtil
-
读取密钥库(Java Key Store,JKS) KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readJKSKeyStore(InputStream, char[]) - Static method in class cn.hutool.crypto.KeyUtil
-
读取密钥库(Java Key Store,JKS) KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readJKSKeyStore(InputStream, char[]) - Static method in class cn.hutool.crypto.SecureUtil
-
读取密钥库(Java Key Store,JKS) KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readJSON(File, Charset) - Static method in class cn.hutool.json.JSONUtil
-
读取JSON
- readJSONArray(File, Charset) - Static method in class cn.hutool.json.JSONUtil
-
读取JSONArray
- readJSONObject(File, Charset) - Static method in class cn.hutool.json.JSONUtil
-
读取JSONObject
- readKeyStore(String, File, char[]) - Static method in class cn.hutool.crypto.KeyUtil
-
读取KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readKeyStore(String, InputStream, char[]) - Static method in class cn.hutool.crypto.KeyUtil
-
读取KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readKeyStore(String, InputStream, char[]) - Static method in class cn.hutool.crypto.SecureUtil
-
读取KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readLine(ByteBuffer, Charset) - Static method in class cn.hutool.core.io.BufferUtil
-
读取一行,如果buffer中最后一部分并非完整一行,则返回null
支持的换行符如下:
- readLine(RandomAccessFile, Charset, LineHandler) - Static method in class cn.hutool.core.io.FileUtil
-
单行处理文件内容
- readLine(RandomAccessFile, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
单行处理文件内容
- readLines(T) - Method in class cn.hutool.core.io.file.FileReader
-
从文件中读取每一行数据
- readLines(LineHandler) - Method in class cn.hutool.core.io.file.FileReader
-
按照行处理文件内容
- readLines() - Method in class cn.hutool.core.io.file.FileReader
-
从文件中读取每一行数据
- readLines(String, String, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(String, Charset, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, String, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, Charset, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(URL, String, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(URL, Charset, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(URL, String) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(URL, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(String, String) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(String, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, String) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, Charset, LineHandler) - Static method in class cn.hutool.core.io.FileUtil
-
按行处理文件内容
- readLines(RandomAccessFile, Charset, LineHandler) - Static method in class cn.hutool.core.io.FileUtil
-
按行处理文件内容
- readLines(InputStream, String, T) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取内容
- readLines(InputStream, Charset, T) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取内容
- readLines(Reader, T) - Static method in class cn.hutool.core.io.IoUtil
-
从Reader中读取内容
- readLines(InputStream, Charset, LineHandler) - Static method in class cn.hutool.core.io.IoUtil
-
按行读取数据,针对每行的数据做处理
- readLines(Reader, LineHandler) - Static method in class cn.hutool.core.io.IoUtil
-
按行读取数据,针对每行的数据做处理
Reader
自带编码定义,因此读取数据的编码跟随其编码。
- readLSD() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads Logical Screen Descriptor
- readMapList(Reader) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
从Reader中读取CSV数据,结果为Map,读取后关闭Reader。
此方法默认识别首行为标题行。
- readNetscapeExt() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads Netscape extenstion to obtain iteration count
- readObj(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取对象,即对象的反序列化
- readObj(InputStream, Class<T>) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取对象,即对象的反序列化,读取后不关闭流
- readObj(ValidateObjectInputStream, Class<T>) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取对象,即对象的反序列化,读取后不关闭流
- readObjectFromXml(File) - Static method in class cn.hutool.core.util.XmlUtil
-
从XML中读取对象 Reads serialized object from the XML file.
- readObjectFromXml(String) - Static method in class cn.hutool.core.util.XmlUtil
-
从XML中读取对象 Reads serialized object from the XML file.
- readObjectFromXml(InputSource) - Static method in class cn.hutool.core.util.XmlUtil
-
从XML中读取对象 Reads serialized object from the XML file.
- readPem(InputStream) - Static method in class cn.hutool.crypto.PemUtil
-
从pem流中读取公钥或私钥
- readPemKey(InputStream) - Static method in class cn.hutool.crypto.PemUtil
-
- readPemObject(InputStream) - Static method in class cn.hutool.crypto.PemUtil
-
读取pem文件中的信息,包括类型、头信息和密钥内容
- readPemObject(Reader) - Static method in class cn.hutool.crypto.PemUtil
-
读取pem文件中的信息,包括类型、头信息和密钥内容
- readPemPrivateKey(InputStream) - Static method in class cn.hutool.crypto.BCUtil
-
读取PEM格式的私钥
- readPemPrivateKey(InputStream) - Static method in class cn.hutool.crypto.PemUtil
-
读取PEM格式的私钥
- readPemPublicKey(InputStream) - Static method in class cn.hutool.crypto.BCUtil
-
读取PEM格式的公钥
- readPemPublicKey(InputStream) - Static method in class cn.hutool.crypto.PemUtil
-
读取PEM格式的公钥
- readPKCS12KeyStore(File, char[]) - Static method in class cn.hutool.crypto.KeyUtil
-
读取PKCS12 KeyStore文件
KeyStore文件用于数字证书的密钥对保存
- readPKCS12KeyStore(InputStream, char[]) - Static method in class cn.hutool.crypto.KeyUtil
-
读取PKCS12 KeyStore文件
KeyStore文件用于数字证书的密钥对保存
- readPublicKeyFromCert(InputStream) - Static method in class cn.hutool.crypto.KeyUtil
-
读取X.509 Certification文件中的公钥
Certification为证书文件
see: https://www.cnblogs.com/yinliang/p/10115519.html
- readRow(int) - Method in class cn.hutool.poi.excel.ExcelReader
-
读取某一行数据
- readRow(Sheet, int) - Method in class cn.hutool.poi.excel.reader.AbstractSheetReader
-
读取某一行数据
- readRow(Row, CellEditor) - Static method in class cn.hutool.poi.excel.RowUtil
-
读取一行
- readRow(Row, int, int, CellEditor) - Static method in class cn.hutool.poi.excel.RowUtil
-
读取一行
- readShort() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Reads next 16-bit value, LSB first
- readSm2PemPrivateKey(InputStream) - Static method in class cn.hutool.crypto.PemUtil
-
读取OpenSSL生成的ANS1格式的Pem私钥文件,必须为PKCS#1格式
- readStr(ByteBuffer, Charset) - Static method in class cn.hutool.core.io.BufferUtil
-
读取剩余部分并转为字符串
- readStr(Charset) - Method in class cn.hutool.core.io.resource.BytesResource
-
- readStr(Charset) - Method in class cn.hutool.core.io.resource.CharSequenceResource
-
- readStr(Charset) - Method in class cn.hutool.core.io.resource.MultiResource
-
- readStr(Charset) - Method in interface cn.hutool.core.io.resource.Resource
-
读取资源内容,读取完毕后会关闭流
关闭流并不影响下一次读取
- readStr(String, Charset) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
读取Classpath下的资源为字符串
- readString() - Method in class cn.hutool.core.io.file.FileReader
-
读取文件内容
- readString(File, String) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件内容
- readString(File, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件内容
- readString(String, String) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件内容
- readString(String, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件内容
- readString(URL, String) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件内容
- readString(Charset) - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
读取字节流,直到下一个boundary
- readUtf8(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取UTF8编码的内容
- readUtf8(FileChannel) - Static method in class cn.hutool.core.io.NioUtil
-
从FileChannel中读取UTF-8编码内容
- readUtf8Lines(String, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行的UTF-8编码数据
- readUtf8Lines(File, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据,数据编码为UTF-8
- readUtf8Lines(URL, T) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据,编码为UTF-8
- readUtf8Lines(URL) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readUtf8Lines(String) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据,编码为UTF-8
- readUtf8Lines(File) - Static method in class cn.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readUtf8Lines(File, LineHandler) - Static method in class cn.hutool.core.io.FileUtil
-
按行处理文件内容,编码为UTF-8
- readUtf8Lines(InputStream, T) - Static method in class cn.hutool.core.io.IoUtil
-
从流中读取内容,使用UTF-8编码
- readUtf8Lines(InputStream, LineHandler) - Static method in class cn.hutool.core.io.IoUtil
-
按行读取UTF-8编码数据,针对每行的数据做处理
- readUtf8Str(ByteBuffer) - Static method in class cn.hutool.core.io.BufferUtil
-
读取剩余部分并转为UTF-8编码字符串
- readUtf8Str() - Method in class cn.hutool.core.io.resource.MultiResource
-
- readUtf8Str() - Method in interface cn.hutool.core.io.resource.Resource
-
读取资源内容,读取完毕后会关闭流
关闭流并不影响下一次读取
- readUtf8Str(String) - Static method in class cn.hutool.core.io.resource.ResourceUtil
-
读取Classpath下的资源为字符串,使用UTF-8编码
- readUtf8String(File) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件内容
- readUtf8String(String) - Static method in class cn.hutool.core.io.FileUtil
-
读取文件内容
- readX509Certificate(InputStream, char[], String) - Static method in class cn.hutool.crypto.KeyUtil
-
读取X.509 Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readX509Certificate(InputStream) - Static method in class cn.hutool.crypto.KeyUtil
-
读取X.509 Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readX509Certificate(InputStream, char[], String) - Static method in class cn.hutool.crypto.SecureUtil
-
读取X.509 Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readX509Certificate(InputStream) - Static method in class cn.hutool.crypto.SecureUtil
-
读取X.509 Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readXML(File) - Static method in class cn.hutool.core.util.XmlUtil
-
读取解析XML文件
- readXML(String) - Static method in class cn.hutool.core.util.XmlUtil
-
读取解析XML文件
如果给定内容以“<”开头,表示这是一个XML内容,直接读取,否则按照路径处理
路径可以为相对路径,也可以是绝对路径,相对路径相对于ClassPath
- readXML(InputStream) - Static method in class cn.hutool.core.util.XmlUtil
-
读取解析XML文件
编码在XML中定义
- readXML(Reader) - Static method in class cn.hutool.core.util.XmlUtil
-
读取解析XML文件
- readXML(InputSource) - Static method in class cn.hutool.core.util.XmlUtil
-
读取解析XML文件
编码在XML中定义
- reconnectIfTimeout() - Method in class cn.hutool.extra.ftp.AbstractFtp
-
如果连接超时的话,重新进行连接
- reconnectIfTimeout() - Method in class cn.hutool.extra.ftp.Ftp
-
如果连接超时的话,重新进行连接 经测试,当连接超时时,client.isConnected()仍然返回ture,无法判断是否连接超时 因此,通过发送pwd命令的方式,检查连接是否超时
- reconnectIfTimeout() - Method in class cn.hutool.extra.ssh.Sftp
-
- recursiveDownloadFolder(String, File) - Method in class cn.hutool.extra.ftp.AbstractFtp
-
递归下载FTP服务器上文件到本地(文件目录和服务器同步), 服务器上有新文件会覆盖本地文件
- recursiveDownloadFolder(String, File) - Method in class cn.hutool.extra.ftp.Ftp
-
递归下载FTP服务器上文件到本地(文件目录和服务器同步)
- recursiveDownloadFolder(String, File) - Method in class cn.hutool.extra.ssh.Sftp
-
递归下载FTP服务器上文件到本地(文件目录和服务器同步)
- REDIS_CONFIG_PATH - Static variable in class cn.hutool.db.nosql.redis.RedisDS
-
默认配置文件
- RedisDS - Class in cn.hutool.db.nosql.redis
-
Jedis数据源
- RedisDS() - Constructor for class cn.hutool.db.nosql.redis.RedisDS
-
构造,使用默认配置文件,默认分组
- RedisDS(String) - Constructor for class cn.hutool.db.nosql.redis.RedisDS
-
构造,使用默认配置文件
- RedisDS(Setting, String) - Constructor for class cn.hutool.db.nosql.redis.RedisDS
-
构造
- ReferenceConverter - Class in cn.hutool.core.convert.impl
-
- ReferenceConverter(Class<? extends Reference>) - Constructor for class cn.hutool.core.convert.impl.ReferenceConverter
-
构造
- ReferenceUtil - Class in cn.hutool.core.util
-
- ReferenceUtil() - Constructor for class cn.hutool.core.util.ReferenceUtil
-
- ReferenceUtil.ReferenceType - Enum in cn.hutool.core.util
-
引用类型
- reflectionCompare(Object, Object) - Static method in class cn.hutool.core.builder.CompareToBuilder
-
通过反射比较两个Bean对象,对象字段可以为private。比较规则如下:
static字段不比较
Transient字段不参与比较
父类字段参与比较
- reflectionCompare(Object, Object, boolean) - Static method in class cn.hutool.core.builder.CompareToBuilder
-
Compares two Object
s via reflection.
- reflectionCompare(Object, Object, Collection<String>) - Static method in class cn.hutool.core.builder.CompareToBuilder
-
Compares two Object
s via reflection.
- reflectionCompare(Object, Object, String...) - Static method in class cn.hutool.core.builder.CompareToBuilder
-
Compares two Object
s via reflection.
- reflectionCompare(Object, Object, boolean, Class<?>, String...) - Static method in class cn.hutool.core.builder.CompareToBuilder
-
Compares two Object
s via reflection.
- reflectionEquals(Object, Object, Collection<String>) - Static method in class cn.hutool.core.builder.EqualsBuilder
-
反射检查两个对象是否equals,此方法检查对象及其父对象的属性(包括私有属性)是否equals
- reflectionEquals(Object, Object, String...) - Static method in class cn.hutool.core.builder.EqualsBuilder
-
反射检查两个对象是否equals,此方法检查对象及其父对象的属性(包括私有属性)是否equals
- reflectionEquals(Object, Object, boolean) - Static method in class cn.hutool.core.builder.EqualsBuilder
-
This method uses reflection to determine if the two Object
s
are equal.
- reflectionEquals(Object, Object, boolean, Class<?>, String...) - Static method in class cn.hutool.core.builder.EqualsBuilder
-
This method uses reflection to determine if the two Object
s
are equal.
- reflectionHashCode(int, int, Object) - Static method in class cn.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object
.
- reflectionHashCode(int, int, Object, boolean) - Static method in class cn.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object
.
- reflectionHashCode(int, int, T, boolean, Class<? super T>, String...) - Static method in class cn.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object
.
- reflectionHashCode(Object, boolean) - Static method in class cn.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object
.
- reflectionHashCode(Object, Collection<String>) - Static method in class cn.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object
.
- reflectionHashCode(Object, String...) - Static method in class cn.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object
.
- ReflectUtil - Class in cn.hutool.core.util
-
反射工具类
- ReflectUtil() - Constructor for class cn.hutool.core.util.ReflectUtil
-
- refuse(Class<?>...) - Method in class cn.hutool.core.io.ValidateObjectInputStream
-
禁止反序列化的类,用于反序列化验证
- REGEX_NORM - Static variable in class cn.hutool.core.date.DatePattern
-
标准日期时间正则,每个字段支持单个数字或2个数字,包括:
- register(Watchable, WatchService, WatchEvent.Kind<?>...) - Static method in class cn.hutool.core.io.watch.WatchUtil
-
注册Watchable对象到WatchService服务
- registerBean(String, T) - Static method in class cn.hutool.extra.spring.SpringUtil
-
动态向Spring注册Bean
- registerChannel(Selector, SelectableChannel, Operation) - Static method in class cn.hutool.socket.nio.NioUtil
-
注册通道的指定操作到指定Selector上
- registerPath(Path, int) - Method in class cn.hutool.core.io.watch.WatchServer
-
将指定路径加入到监听中
- RejectPolicy - Enum in cn.hutool.core.thread
-
线程拒绝策略枚举
- release() - Method in class cn.hutool.db.ds.pooled.PooledConnection
-
释放连接
- releaseSavepoint(Savepoint) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- reload() - Method in class cn.hutool.setting.GroupedSet
-
重新加载配置文件
- remove(long) - Method in interface cn.hutool.bloomfilter.bitMap.BitMap
-
移除值
- remove(long) - Method in class cn.hutool.bloomfilter.bitMap.IntMap
-
- remove(long) - Method in class cn.hutool.bloomfilter.bitMap.LongMap
-
- remove(K) - Method in interface cn.hutool.cache.Cache
-
从缓存中移除对象
- remove(K) - Method in class cn.hutool.cache.impl.AbstractCache
-
- remove() - Method in class cn.hutool.cache.impl.CacheObjIterator
-
从缓存中移除没有过期的当前值,此方法不支持
- remove() - Method in class cn.hutool.cache.impl.CacheValuesIterator
-
从缓存中移除没有过期的当前值,不支持此方法
- remove(K) - Method in class cn.hutool.cache.impl.NoCache
-
- remove() - Method in class cn.hutool.core.collection.ArrayIter
-
不允许操作数组元素
- remove(Object) - Method in class cn.hutool.core.collection.ConcurrentHashSet
-
- remove() - Method in class cn.hutool.core.collection.CopiedIter
-
此对象不支持移除元素
- remove() - Method in class cn.hutool.core.collection.EnumerationIter
-
- remove() - Method in class cn.hutool.core.collection.LineIter
-
不支持移除
- remove() - Method in class cn.hutool.core.collection.TransIter
-
- remove() - Method in class cn.hutool.core.io.resource.MultiResource
-
- remove(T) - Method in class cn.hutool.core.lang.ConsistentHash
-
移除节点的同时移除相应的虚拟节点
- remove(String, int) - Static method in class cn.hutool.core.lang.PatternPool
-
移除缓存
- remove() - Method in class cn.hutool.core.lang.Range
-
- remove(K) - Method in class cn.hutool.core.lang.SimpleCache
-
移除缓存
- remove(Class<?>) - Static method in class cn.hutool.core.lang.Singleton
-
移除指定Singleton对象
- remove(String) - Static method in class cn.hutool.core.lang.Singleton
-
移除指定Singleton对象
- remove(Object) - Method in class cn.hutool.core.map.CustomKeyMap
-
- remove(Object, Object) - Method in class cn.hutool.core.map.CustomKeyMap
-
- remove(Object) - Method in class cn.hutool.core.map.MapProxy
-
- remove(Object) - Method in class cn.hutool.core.map.MapWrapper
-
- remove(Object, Object) - Method in class cn.hutool.core.map.MapWrapper
-
- remove(Object) - Method in class cn.hutool.core.map.TableMap
-
- remove(Object) - Method in class cn.hutool.core.text.csv.CsvRow
-
- remove(int) - Method in class cn.hutool.core.text.csv.CsvRow
-
- remove(T[], int) - Static method in class cn.hutool.core.util.ArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(long[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(int[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(short[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(char[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(byte[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(double[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(float[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(boolean[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(Object, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(String) - Static method in class cn.hutool.cron.CronUtil
-
移除任务
- remove(String) - Method in class cn.hutool.cron.TaskTable
-
移除Task
- remove(Session) - Method in enum cn.hutool.extra.ssh.JschSessionPool
-
移除指定Session
- remove() - Method in class cn.hutool.extra.tokenizer.AbstractResult
-
- remove() - Method in class cn.hutool.extra.tokenizer.engine.ansj.AnsjResult
-
- remove() - Method in class cn.hutool.extra.tokenizer.engine.hanlp.HanLPResult
-
- remove() - Method in class cn.hutool.extra.tokenizer.engine.jcseg.JcsegResult
-
- remove() - Method in class cn.hutool.extra.tokenizer.engine.jieba.JiebaResult
-
- remove() - Method in class cn.hutool.extra.tokenizer.engine.mynlp.MynlpResult
-
- remove() - Method in class cn.hutool.extra.tokenizer.engine.word.WordResult
-
- remove(URI, HttpCookie) - Method in class cn.hutool.http.cookie.ThreadLocalCookieStore
-
- remove(int) - Method in class cn.hutool.json.JSONArray
-
- remove(Object) - Method in class cn.hutool.json.JSONArray
-
- remove(Object) - Method in class cn.hutool.json.JSONObject
-
- remove(String, String) - Method in class cn.hutool.setting.GroupedMap
-
从指定分组中删除指定值
- remove(String, Object) - Method in class cn.hutool.setting.Setting
-
从指定分组中删除指定值
- remove(Object) - Method in class cn.hutool.setting.Setting
-
移除默认分组(空分组)中指定值
- removeAll(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
移除字符串中所有给定字符串
例:removeAll("aa-bb-cc-dd", "-") =》 aabbccdd
- removeAll(CharSequence, char...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去除字符串中指定的多个字符,如有多个则全部去除
- removeAll(Collection<?>) - Method in class cn.hutool.core.text.csv.CsvRow
-
- removeAll() - Method in class cn.hutool.http.cookie.ThreadLocalCookieStore
-
- removeAll(Collection<?>) - Method in class cn.hutool.json.JSONArray
-
- removeAllEmojis(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
-
去除字符串中所有的Emoji Unicode字符
- removeAllHtmlAttr(String, String...) - Static method in class cn.hutool.http.HtmlUtil
-
去除指定标签的所有属性
- removeAllLineBreaks(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去除所有换行符,包括:
- removeAny(T, E...) - Static method in class cn.hutool.core.collection.CollUtil
-
去掉集合中的多个元素,此方法直接修改原集合
- removeAny(Map<K, V>, K...) - Static method in class cn.hutool.core.map.MapUtil
-
去掉Map中指定key的键值对,修改原Map
- removeAny(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
移除字符串中所有给定字符串,当某个字符串出现多次,则全部移除
例:removeAny("aa-bb-cc-dd", "a", "b") =》 --cc-dd
- removeBlank(T) - Static method in class cn.hutool.core.collection.CollUtil
-
去除null
或者""或者空白字符串 元素,此方法直接修改原集合
- removeBlank(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
去除null
或者""或者空白字符串 元素
- removeCellComment() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- removeCurrent() - Method in class cn.hutool.http.cookie.ThreadLocalCookieStore
-
移除当前线程的Cookie
- removeEldestEntry(Map.Entry<K, V>) - Method in class cn.hutool.core.map.FixedLinkedHashMap
-
- removeEle(T[], T) - Static method in class cn.hutool.core.util.ArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(long[], long) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(int[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(short[], short) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(char[], char) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(byte[], byte) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(double[], double) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(float[], float) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(boolean[], boolean) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEmpty(T) - Static method in class cn.hutool.core.collection.CollUtil
-
去除null
或者"" 元素,此方法直接修改原集合
- removeEmpty(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
去除null
或者"" 元素
- removeEqual(T, String...) - Method in class cn.hutool.core.lang.Dict
-
与给定实体对比并去除相同的部分
此方法用于在更新操作时避免所有字段被更新,跳过不需要更新的字段 version from 2.0.0
- removeFileType(String) - Static method in class cn.hutool.core.io.FileTypeUtil
-
移除文件类型映射
- removeFormula() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- removeHeader(String) - Method in enum cn.hutool.http.GlobalHeaders
-
移除一个头信息
- removeHeader(Header) - Method in enum cn.hutool.http.GlobalHeaders
-
移除一个头信息
- removeHeader(String) - Method in class cn.hutool.http.HttpBase
-
移除一个头信息
- removeHeader(Header) - Method in class cn.hutool.http.HttpBase
-
移除一个头信息
- removeHeaderAlias(String) - Method in class cn.hutool.poi.excel.ExcelReader
-
去除标题别名
- removeHtmlAttr(String, String...) - Static method in class cn.hutool.http.HtmlUtil
-
去除HTML标签中的属性,如果多个标签有相同属性,都去除
- removeHtmlTag(String, String...) - Static method in class cn.hutool.http.HtmlUtil
-
清除指定HTML标签和被标签包围的内容
不区分大小写
- removeHtmlTag(String, boolean, String...) - Static method in class cn.hutool.http.HtmlUtil
-
清除指定HTML标签
不区分大小写
- removeHyperlink() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- removeIf(Predicate<? super T>) - Method in class cn.hutool.core.collection.TransCollection
-
- removeListener(ClipboardListener) - Method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
去除指定监听
- removeListener(TaskListener) - Method in class cn.hutool.cron.listener.TaskListenerManager
-
移除监听器
- removeListener(TaskListener) - Method in class cn.hutool.cron.Scheduler
-
移除监听器
- removeNull(T) - Static method in class cn.hutool.core.collection.CollUtil
-
去除null
元素,此方法直接修改原集合
- removeNull(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
去除null
元素
- removeNullValue(Map<K, V>) - Static method in class cn.hutool.core.map.MapUtil
-
去除Map中值为null
的键值对
注意:此方法在传入的Map上直接修改。
- removePreAndLowerFirst(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去掉首部指定长度的字符串并将剩余字符串首字母小写
例如:str=setName, preLength=3 =》 return name
- removePreAndLowerFirst(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去掉首部指定长度的字符串并将剩余字符串首字母小写
例如:str=setName, prefix=set =》 return name
- removePrefix(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去掉指定前缀
- removePrefixIgnoreCase(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
忽略大小写去掉指定前缀
- removeRow(Row) - Static method in class cn.hutool.poi.excel.RowUtil
-
从工作表中删除指定的行,此方法修复sheet.shiftRows删除行时会拆分合并的单元格的问题
- removeSafeCharacter(char) - Method in class cn.hutool.core.net.URLEncoder
-
移除安全字符
安全字符不被编码
- removeSufAndLowerFirst(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去掉指定后缀,并小写首字母
- removeSuffix(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去掉指定后缀
- removeSuffixIgnoreCase(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
忽略大小写去掉指定后缀
- rename(Path, String, boolean) - Static method in class cn.hutool.core.io.file.PathUtil
-
修改文件或目录的文件名,不变更路径,只是简单修改文件名
- rename(File, String, boolean) - Static method in class cn.hutool.core.io.FileUtil
-
修改文件或目录的文件名,不变更路径,只是简单修改文件名,不保留扩展名。
- rename(File, String, boolean, boolean) - Static method in class cn.hutool.core.io.FileUtil
-
修改文件或目录的文件名,不变更路径,只是简单修改文件名
重命名有两种模式:
1、isRetainExt为true时,保留原扩展名:
- renameKey(Map<K, V>, K, K) - Static method in class cn.hutool.core.map.MapUtil
-
- renameSheet(String) - Method in class cn.hutool.poi.excel.ExcelWriter
-
重命名当前sheet
- renameSheet(int, String) - Method in class cn.hutool.poi.excel.ExcelWriter
-
重命名sheet
- render(Map<?, ?>, File) - Method in class cn.hutool.extra.template.AbstractTemplate
-
- render(Map<?, ?>) - Method in class cn.hutool.extra.template.AbstractTemplate
-
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.beetl.BeetlTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.beetl.BeetlTemplate
-
- render(Template, Map<String, Object>) - Static method in class cn.hutool.extra.template.engine.beetl.BeetlUtil
-
Deprecated.
渲染模板
- render(String, String, Map<String, Object>) - Static method in class cn.hutool.extra.template.engine.beetl.BeetlUtil
-
Deprecated.
渲染模板,如果为相对路径,则渲染ClassPath模板,否则渲染本地文件模板
- render(Template, Map<String, Object>, Writer) - Static method in class cn.hutool.extra.template.engine.beetl.BeetlUtil
-
Deprecated.
渲染模板
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.enjoy.EnjoyTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.enjoy.EnjoyTemplate
-
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.freemarker.FreemarkerTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.freemarker.FreemarkerTemplate
-
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.rythm.RythmTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.rythm.RythmTemplate
-
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.thymeleaf.ThymeleafTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.thymeleaf.ThymeleafTemplate
-
- render(Map<?, ?>, Writer) - Method in class cn.hutool.extra.template.engine.velocity.VelocityTemplate
-
- render(Map<?, ?>, OutputStream) - Method in class cn.hutool.extra.template.engine.velocity.VelocityTemplate
-
- render(Map<?, ?>, Writer) - Method in interface cn.hutool.extra.template.Template
-
将模板与绑定参数融合后输出到Writer
- render(Map<?, ?>, OutputStream) - Method in interface cn.hutool.extra.template.Template
-
将模板与绑定参数融合后输出到流
- render(Map<?, ?>, File) - Method in interface cn.hutool.extra.template.Template
-
写出到文件
- render(Map<?, ?>) - Method in interface cn.hutool.extra.template.Template
-
将模板与绑定参数融合后返回为字符串
- renderFromStr(String, Map<String, Object>) - Static method in class cn.hutool.extra.template.engine.beetl.BeetlUtil
-
Deprecated.
渲染模板
- renderFromStr(String, Map<String, Object>, Writer) - Static method in class cn.hutool.extra.template.engine.beetl.BeetlUtil
-
Deprecated.
渲染模板
- repeat - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- repeat(char, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
重复某个字符
- repeat(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
重复某个字符串
- repeatAndJoin(CharSequence, int, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
重复某个字符串并通过分界符连接
- repeatByLength(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
重复某个字符串到指定长度
- replace(T) - Method in interface cn.hutool.core.lang.Replacer
-
替换指定类型为目标类型
- replace(K, V, V) - Method in class cn.hutool.core.map.CustomKeyMap
-
- replace(K, V) - Method in class cn.hutool.core.map.CustomKeyMap
-
- replace(K, V, V) - Method in class cn.hutool.core.map.MapWrapper
-
- replace(K, V) - Method in class cn.hutool.core.map.MapWrapper
-
- replace(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符串中的指定字符串
- replace(CharSequence, CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符串中的指定字符串
- replace(CharSequence, int, CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符串中的指定字符串
- replace(CharSequence, int, int, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换指定字符串的指定区间内字符为固定字符
- replace(CharSequence, Pattern, Func1<Matcher, String>) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换所有正则匹配的文本,并使用自定义函数决定如何替换
- replace(CharSequence, String, Func1<Matcher, String>) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换所有正则匹配的文本,并使用自定义函数决定如何替换
- replace(CharSequence, int, StrBuilder) - Method in class cn.hutool.core.text.escape.NumericEntityUnescaper
-
- replace(CharSequence, int, StrBuilder) - Method in class cn.hutool.core.text.replacer.LookupReplacer
-
- replace(CharSequence, int, StrBuilder) - Method in class cn.hutool.core.text.replacer.ReplacerChain
-
- replace(CharSequence, int, StrBuilder) - Method in class cn.hutool.core.text.replacer.StrReplacer
-
抽象的字符串替换方法,通过传入原字符串和当前位置,执行替换逻辑,返回处理或替换的字符串长度部分。
- replace(CharSequence) - Method in class cn.hutool.core.text.replacer.StrReplacer
-
- replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in class cn.hutool.core.map.MapWrapper
-
- replaceAll(CharSequence, String, String) - Static method in class cn.hutool.core.util.ReUtil
-
正则替换指定值
通过正则查找到字符串,然后把匹配到的字符串加入到replacementTemplate中,$1表示分组1的字符串
- replaceAll(CharSequence, Pattern, String) - Static method in class cn.hutool.core.util.ReUtil
-
正则替换指定值
通过正则查找到字符串,然后把匹配到的字符串加入到replacementTemplate中,$1表示分组1的字符串
- replaceAll(CharSequence, String, Func1<Matcher, String>) - Static method in class cn.hutool.core.util.ReUtil
-
替换所有正则匹配的文本,并使用自定义函数决定如何替换
- replaceAll(CharSequence, Pattern, Func1<Matcher, String>) - Static method in class cn.hutool.core.util.ReUtil
-
替换所有正则匹配的文本,并使用自定义函数决定如何替换
- replaceChars(CharSequence, String, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符字符数组中所有的字符为replacedStr
提供的chars为所有需要被替换的字符,例如:"\r\n",则"\r"和"\n"都会被替换,哪怕他们单独存在
- replaceChars(CharSequence, char[], CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符字符数组中所有的字符为replacedStr
- replaceIgnoreCase(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
替换字符串中的指定字符串,忽略大小写
- Replacer<T> - Interface in cn.hutool.core.lang
-
替换器
通过实现此接口完成指定类型对象的替换操作,替换后的目标类型依旧为指定类型
- ReplacerChain - Class in cn.hutool.core.text.replacer
-
字符串替换链,用于组合多个字符串替换逻辑
- ReplacerChain(StrReplacer...) - Constructor for class cn.hutool.core.text.replacer.ReplacerChain
-
构造
- RequestBody - Interface in cn.hutool.http.body
-
定义请求体接口
- reset() - Method in class cn.hutool.core.builder.EqualsBuilder
-
Reset the EqualsBuilder so you can use the same object again
- reset() - Method in class cn.hutool.core.collection.ArrayIter
-
重置数组位置
- reset() - Method in class cn.hutool.core.io.checksum.crc16.CRC16Ansi
-
- reset() - Method in class cn.hutool.core.io.checksum.crc16.CRC16CCITTFalse
-
- reset() - Method in class cn.hutool.core.io.checksum.crc16.CRC16Checksum
-
- reset() - Method in class cn.hutool.core.io.checksum.crc16.CRC16Modbus
-
- reset() - Method in class cn.hutool.core.io.checksum.crc16.CRC16USB
-
- reset() - Method in class cn.hutool.core.io.checksum.crc16.CRC16X25
-
- reset() - Method in class cn.hutool.core.io.checksum.CRC16
-
- reset() - Method in class cn.hutool.core.io.checksum.CRC8
-
- reset() - Method in class cn.hutool.core.io.FastByteArrayOutputStream
-
- reset() - Method in class cn.hutool.core.io.FastByteBuffer
-
- reset() - Method in class cn.hutool.core.io.resource.MultiResource
-
重置游标
- reset() - Method in class cn.hutool.core.lang.Range
-
- reset() - Method in class cn.hutool.core.text.StrBuilder
-
删除全部字符,位置归零
- reset() - Method in class cn.hutool.crypto.digest.Digester
-
- reset() - Method in class cn.hutool.http.HttpInputStream
-
- reset() - Method in class cn.hutool.http.webservice.SoapClient
-
重置SOAP客户端,用于客户端复用
- reset() - Method in class cn.hutool.poi.excel.ExcelWriter
-
重置Writer,包括:
- resetFrame() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Resets frame state for reading next image.
- resetRow() - Method in class cn.hutool.poi.excel.ExcelWriter
-
重置当前行为0
- resize(T[], int, Class<?>) - Static method in class cn.hutool.core.util.ArrayUtil
-
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。扩大则占位前N个位置,缩小则截断
- resize(Object, int) - Static method in class cn.hutool.core.util.ArrayUtil
-
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。扩大则占位前N个位置,其它位置补充0,缩小则截断
- resize(T[], int) - Static method in class cn.hutool.core.util.ArrayUtil
-
生成一个新的重新设置大小的数组
新数组的类型为原数组的类型,调整大小后拷贝原数组到新数组下。扩大则占位前N个位置,缩小则截断
- resize(byte[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。扩大则占位前N个位置,其它位置补充0,缩小则截断
- resolveClass(ObjectStreamClass) - Method in class cn.hutool.core.io.ValidateObjectInputStream
-
只允许反序列化SerialObject class
- Resource - Interface in cn.hutool.core.io.resource
-
资源接口定义
- ResourceClassLoader<T extends Resource> - Class in cn.hutool.core.lang
-
资源类加载器,可以加载任意类型的资源类
- ResourceClassLoader(ClassLoader, Map<String, T>) - Constructor for class cn.hutool.core.lang.ResourceClassLoader
-
构造
- resourceLoaderBuilder() - Static method in class cn.hutool.extra.template.engine.beetl.BeetlUtil
-
Deprecated.
- ResourceLoaderBuilder() - Constructor for class cn.hutool.extra.template.engine.beetl.BeetlUtil.ResourceLoaderBuilder
-
Deprecated.
- ResourceUtil - Class in cn.hutool.core.io.resource
-
Resource资源工具类
- ResourceUtil() - Constructor for class cn.hutool.core.io.resource.ResourceUtil
-
- responseCode() - Method in class cn.hutool.http.HttpConnection
-
获取响应码
- restart() - Method in class cn.hutool.core.date.TimeInterval
-
重新开始计算时间(重置开始时间)
- restart() - Static method in class cn.hutool.cron.CronUtil
-
重新启动定时任务
此方法会清除动态加载的任务,重新启动后,守护线程与否与之前保持一致
- Result - Interface in cn.hutool.extra.tokenizer
-
分词结果接口定义
实现此接口包装分词器的分词结果,通过实现Iterator相应方法获取分词中的单词
- retainAll(Collection<?>) - Method in class cn.hutool.core.text.csv.CsvRow
-
- retainAll(Collection<?>) - Method in class cn.hutool.json.JSONArray
-
- returnGeneratedKey - Static variable in class cn.hutool.db.GlobalDbConfig
-
是否INSERT语句中默认返回主键(默认返回主键)
- ReUtil - Class in cn.hutool.core.util
-
- ReUtil() - Constructor for class cn.hutool.core.util.ReUtil
-
- reverse(List<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
反序给定List,会在原List基础上直接修改
- reverse(List<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
反序给定List,会在原List基础上直接修改
- reverse(Map<T, T>) - Static method in class cn.hutool.core.map.MapUtil
-
Map的键和值互换
互换键值对不检查值是否有重复,如果有则后加入的元素替换先加入的元素
值的顺序在HashMap中不确定,所以谁覆盖谁也不确定,在有序的Map中按照先后顺序覆盖,保留最后的值
- reverse(T[], int, int) - Static method in class cn.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(long[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(long[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(int[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(int[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(short[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(short[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(char[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(char[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(byte[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(byte[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(double[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(double[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(float[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(float[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(boolean[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(boolean[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
反转数组,会变更原数组
- reverse(String) - Static method in class cn.hutool.core.util.StrUtil
-
反转字符串
例如:abcd =》dcba
- ReverseComparator<E> - Class in cn.hutool.core.comparator
-
反转比较器
- ReverseComparator(Comparator<? super E>) - Constructor for class cn.hutool.core.comparator.ReverseComparator
-
- reverseNew(List<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
反序给定List,会创建一个新的List,原List数据不变
- reverseNew(List<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
反序给定List,会创建一个新的List,原List数据不变
- RhinoEngine - Class in cn.hutool.extra.expression.engine.rhino
-
rhino引擎封装
见:https://github.com/mozilla/rhino
- RhinoEngine() - Constructor for class cn.hutool.extra.expression.engine.rhino.RhinoEngine
-
- RID_PREFIX - Static variable in interface cn.hutool.poi.excel.sax.ExcelSaxReader
-
- rightClick() - Static method in class cn.hutool.core.swing.RobotUtil
-
模拟右键单击
鼠标单击包括鼠标右键的按下和释放
- RobotUtil - Class in cn.hutool.core.swing
-
- RobotUtil() - Constructor for class cn.hutool.core.swing.RobotUtil
-
- rollback() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- rollback(Savepoint) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- rollback() - Method in class cn.hutool.db.Session
-
回滚事务
- rollback(Savepoint) - Method in class cn.hutool.db.Session
-
回滚到某个保存点,保存点的设置请使用setSavepoint方法
- RootAction - Class in cn.hutool.http.server.action
-
默认的处理器,通过解析用户传入的path,找到网页根目录下对应文件后返回
- RootAction(String) - Constructor for class cn.hutool.http.server.action.RootAction
-
构造
- RootAction(File) - Constructor for class cn.hutool.http.server.action.RootAction
-
构造
- RootAction(String, String...) - Constructor for class cn.hutool.http.server.action.RootAction
-
构造
- RootAction(File, String...) - Constructor for class cn.hutool.http.server.action.RootAction
-
构造
- Rot - Class in cn.hutool.core.codec
-
RotN(rotate by N places),回转N位密码,是一种简易的替换式密码,也是过去在古罗马开发的凯撒加密的一种变体。
代码来自:https://github.com/orclight/jencrypt
- Rot() - Constructor for class cn.hutool.core.codec.Rot
-
- rotate(int) - Method in class cn.hutool.core.img.Img
-
旋转图片为指定角度
来自:http://blog.51cto.com/cping1982/130066
- rotate(File, int, File) - Static method in class cn.hutool.core.img.ImgUtil
-
旋转图片为指定角度
此方法不会关闭输出流
- rotate(Image, int, File) - Static method in class cn.hutool.core.img.ImgUtil
-
旋转图片为指定角度
此方法不会关闭输出流
- rotate(Image, int, OutputStream) - Static method in class cn.hutool.core.img.ImgUtil
-
旋转图片为指定角度
此方法不会关闭输出流
- rotate(Image, int, ImageOutputStream) - Static method in class cn.hutool.core.img.ImgUtil
-
旋转图片为指定角度
此方法不会关闭输出流,输出格式为JPG
- rotate(Image, int) - Static method in class cn.hutool.core.img.ImgUtil
-
旋转图片为指定角度
来自:http://blog.51cto.com/cping1982/130066
- rotateCounterClockwise() - Method in class cn.hutool.extra.qrcode.BufferedImageLuminanceSource
-
- rotatingHash(String, int) - Static method in class cn.hutool.core.util.HashUtil
-
旋转hash
- round(Calendar, DateField) - Static method in class cn.hutool.core.date.CalendarUtil
-
修改日期为某个时间字段四舍五入时间
- round(Date, DateField) - Static method in class cn.hutool.core.date.DateUtil
-
修改日期为某个时间字段四舍五入时间
- round(double) - Method in class cn.hutool.core.img.Img
-
图片圆角处理
- round(double, int) - Static method in class cn.hutool.core.util.NumberUtil
-
- round(String, int) - Static method in class cn.hutool.core.util.NumberUtil
-
- round(BigDecimal, int) - Static method in class cn.hutool.core.util.NumberUtil
-
- round(double, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- round(String, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- round(BigDecimal, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- roundDown(Number, int) - Static method in class cn.hutool.core.util.NumberUtil
-
保留固定小数位数,舍去多余位数
- roundDown(BigDecimal, int) - Static method in class cn.hutool.core.util.NumberUtil
-
保留固定小数位数,舍去多余位数
- roundHalfEven(Number, int) - Static method in class cn.hutool.core.util.NumberUtil
-
四舍六入五成双计算法
- roundHalfEven(BigDecimal, int) - Static method in class cn.hutool.core.util.NumberUtil
-
四舍六入五成双计算法
- rounding(BigDecimal, RoundingMode) - Method in class cn.hutool.core.math.Money
-
对BigDecimal型的值按指定取整方式取整。
- roundStr(double, int) - Static method in class cn.hutool.core.util.NumberUtil
-
- roundStr(String, int) - Static method in class cn.hutool.core.util.NumberUtil
-
- roundStr(double, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- roundStr(String, int, RoundingMode) - Static method in class cn.hutool.core.util.NumberUtil
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- RowHandler - Interface in cn.hutool.poi.excel.sax.handler
-
Sax方式读取Excel行处理器
- rowHandler - Variable in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
行处理器
- rowIdToString(RowId) - Static method in class cn.hutool.db.sql.SqlUtil
-
将RowId转为字符串
- RowUtil - Class in cn.hutool.poi.excel
-
Excel中的行Row
封装工具类
- RowUtil() - Constructor for class cn.hutool.poi.excel.RowUtil
-
- RSA - Class in cn.hutool.crypto.asymmetric
-
RSA公钥/私钥/签名加密解密
- RSA() - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造,生成新的私钥公钥对
- RSA(String) - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造,生成新的私钥公钥对
- RSA(String, String) - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- RSA(String, String, String) - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- RSA(byte[], byte[]) - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- RSA(BigInteger, BigInteger, BigInteger) - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- RSA(PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- RSA(String, PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- rsa() - Static method in class cn.hutool.crypto.SecureUtil
-
创建RSA算法对象
生成新的私钥公钥对
- rsa(String, String) - Static method in class cn.hutool.crypto.SecureUtil
-
创建RSA算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- rsa(byte[], byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
创建RSA算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- rsAsn1ToPlain(byte[]) - Static method in class cn.hutool.crypto.SmUtil
-
BC的SM3withSM2签名得到的结果的rs是asn1格式的,这个方法转化成直接拼接r||s
- RSFilter - Class in cn.hutool.bloomfilter.filter
-
- RSFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.RSFilter
-
- RSFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.RSFilter
-
- RsHandler<T> - Interface in cn.hutool.db.handler
-
结果集处理接口
此接口用于实现
ResultSet
转换或映射为用户指定的pojo对象
默认实现有:
- rsHash(String) - Static method in class cn.hutool.core.util.HashUtil
-
RS算法hash
- rsPlainToAsn1(byte[]) - Static method in class cn.hutool.crypto.SmUtil
-
BC的SM3withSM2验签需要的rs是asn1格式的,这个方法将直接拼接r||s的字节数组转化成asn1格式
- run() - Method in class cn.hutool.core.io.file.LineReadWatcher
-
- run() - Method in class cn.hutool.core.io.watch.WatchMonitor
-
- run() - Method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
- run() - Method in class cn.hutool.core.thread.SemaphoreRunnable
-
- run() - Method in class cn.hutool.core.thread.SyncFinisher.Worker
-
- run() - Method in class cn.hutool.cron.CronTimer
-
- run() - Method in class cn.hutool.cron.TaskExecutor
-
- run() - Method in class cn.hutool.cron.TaskLauncher
-
- RunnableTask - Class in cn.hutool.cron.task
-
- RunnableTask(Runnable) - Constructor for class cn.hutool.cron.task.RunnableTask
-
- runner - Variable in class cn.hutool.db.AbstractDb
-
- RuntimeInfo - Class in cn.hutool.system
-
运行时信息,包括内存总大小、已用大小、可用大小等
- RuntimeInfo() - Constructor for class cn.hutool.system.RuntimeInfo
-
- RuntimeUtil - Class in cn.hutool.core.util
-
系统运行时工具类,用于执行系统命令的工具
- RuntimeUtil() - Constructor for class cn.hutool.core.util.RuntimeUtil
-
- RythmEngine - Class in cn.hutool.extra.template.engine.rythm
-
Rythm模板引擎
文档:http://rythmengine.org/doc/index
- RythmEngine() - Constructor for class cn.hutool.extra.template.engine.rythm.RythmEngine
-
默认构造
- RythmEngine(TemplateConfig) - Constructor for class cn.hutool.extra.template.engine.rythm.RythmEngine
-
构造
- RythmEngine(RythmEngine) - Constructor for class cn.hutool.extra.template.engine.rythm.RythmEngine
-
构造
- RythmTemplate - Class in cn.hutool.extra.template.engine.rythm
-
Rythm模板包装
- RythmTemplate(ITemplate) - Constructor for class cn.hutool.extra.template.engine.rythm.RythmTemplate
-
构造
- safeGet(String) - Method in class cn.hutool.core.bean.DynaBean
-
获得字段对应值,获取异常返回null
- safeSleep(Number) - Static method in class cn.hutool.core.thread.ThreadUtil
-
- safeSleep(long) - Static method in class cn.hutool.core.thread.ThreadUtil
-
- safeUnescape(String) - Static method in class cn.hutool.core.util.EscapeUtil
-
安全的unescape文本,当文本不是被escape的时候,返回原文。
- salt - Variable in class cn.hutool.crypto.digest.Digester
-
盐值
- saltPosition - Variable in class cn.hutool.crypto.digest.Digester
-
加盐位置,即将盐值字符串放置在数据的index数,默认0
- sample - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- samplefac - Variable in class cn.hutool.core.img.gif.NeuQuant
-
- scale(float) - Method in class cn.hutool.core.img.Img
-
缩放图像(按比例缩放)
- scale(int, int) - Method in class cn.hutool.core.img.Img
-
缩放图像(按长宽缩放)
注意:目标长宽与原图不成比例会变形
- scale(int, int, Color) - Method in class cn.hutool.core.img.Img
-
等比缩放图像,此方法按照按照给定的长宽等比缩放图片,按照长宽缩放比最多的一边等比缩放,空白部分填充背景色
缩放后默认为jpeg格式
- scale(File, File, float) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放),目标文件的扩展名决定目标文件类型
- scale(InputStream, OutputStream, float) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(ImageInputStream, ImageOutputStream, float) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, File, float) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, OutputStream, float) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, ImageOutputStream, float) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, float) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
- scale(Image, int, int) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按长宽缩放)
注意:目标长宽与原图不成比例会变形
- scale(File, File, int, int, Color) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按高度和宽度缩放)
缩放后默认格式与源图片相同,无法识别原图片默认JPG
- scale(InputStream, OutputStream, int, int, Color) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按高度和宽度缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(ImageInputStream, ImageOutputStream, int, int, Color) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按高度和宽度缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, ImageOutputStream, int, int, Color) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按高度和宽度缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, int, int, Color) - Static method in class cn.hutool.core.img.ImgUtil
-
缩放图像(按高度和宽度缩放)
缩放后默认为jpeg格式
- ScaleType - Enum in cn.hutool.core.img
-
图片缩略算法类型
- scan() - Method in class cn.hutool.core.lang.ClassScanner
-
扫描包路径下满足class过滤器条件的所有class文件
- scanner() - Static method in class cn.hutool.core.lang.Console
-
- scanPackage() - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描该包路径下所有class文件
- scanPackage(String) - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描该包路径下所有class文件
- scanPackage(String, Filter<Class<?>>) - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描包路径下满足class过滤器条件的所有class文件,
如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException
因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理
- scanPackage() - Static method in class cn.hutool.core.util.ClassUtil
-
扫面该包路径下所有class文件
- scanPackage(String) - Static method in class cn.hutool.core.util.ClassUtil
-
扫面该包路径下所有class文件
- scanPackage(String, Filter<Class<?>>) - Static method in class cn.hutool.core.util.ClassUtil
-
扫面包路径下满足class过滤器条件的所有class文件,
如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException
因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理,有可能是一个不完善的地方,以后需要进行修改
- scanPackageByAnnotation(String, Class<? extends Annotation>) - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描指定包路径下所有包含指定注解的类
- scanPackageByAnnotation(String, Class<? extends Annotation>) - Static method in class cn.hutool.core.util.ClassUtil
-
扫描指定包路径下所有包含指定注解的类
- scanPackageBySuper(String, Class<?>) - Static method in class cn.hutool.core.lang.ClassScanner
-
扫描指定包路径下所有指定类或接口的子类或实现类,不包括指定父类本身
- scanPackageBySuper(String, Class<?>) - Static method in class cn.hutool.core.util.ClassUtil
-
扫描指定包路径下所有指定类或接口的子类或实现类
- schedule(Runnable, long) - Method in enum cn.hutool.cache.GlobalPruneTimer
-
启动定时任务
- schedule(ScheduledThreadPoolExecutor, Runnable, long, long, boolean) - Static method in class cn.hutool.core.thread.ThreadUtil
-
开始执行一个定时任务,执行方式分fixedRate模式和fixedDelay模式。
fixedRate 模式:下一次任务等待上一次任务执行完毕后再启动。
fixedDelay模式:下一次任务不等待上一次任务,到周期自动执行。
- schedule(String, Task) - Static method in class cn.hutool.cron.CronUtil
-
加入定时任务
- schedule(String, String, Task) - Static method in class cn.hutool.cron.CronUtil
-
加入定时任务
- schedule(String, Runnable) - Static method in class cn.hutool.cron.CronUtil
-
加入定时任务
- schedule(Setting) - Static method in class cn.hutool.cron.CronUtil
-
批量加入配置文件中的定时任务
- schedule(Setting) - Method in class cn.hutool.cron.Scheduler
-
批量加入配置文件中的定时任务
配置文件格式为: xxx.xxx.xxx.Class.method = * * * * *
- schedule(String, Runnable) - Method in class cn.hutool.cron.Scheduler
-
新增Task,使用随机UUID
- schedule(String, Task) - Method in class cn.hutool.cron.Scheduler
-
新增Task,使用随机UUID
- schedule(String, String, Runnable) - Method in class cn.hutool.cron.Scheduler
-
新增Task,如果任务ID已经存在,抛出异常
- schedule(String, String, Task) - Method in class cn.hutool.cron.Scheduler
-
新增Task,如果任务ID已经存在,抛出异常
- schedule(String, CronPattern, Task) - Method in class cn.hutool.cron.Scheduler
-
新增Task,如果任务ID已经存在,抛出异常
- schedulePrune(long) - Method in class cn.hutool.cache.impl.TimedCache
-
定时清理
- Scheduler - Class in cn.hutool.cron
-
任务调度器
调度器启动流程:
- Scheduler() - Constructor for class cn.hutool.cron.Scheduler
-
- scheduler - Variable in class cn.hutool.cron.TaskExecutorManager
-
- scheduler - Variable in class cn.hutool.cron.TaskLauncherManager
-
- ScreenUtil - Class in cn.hutool.core.swing
-
屏幕相关(当前显示设置)工具类
- ScreenUtil() - Constructor for class cn.hutool.core.swing.ScreenUtil
-
- ScriptRuntimeException - Exception in cn.hutool.script
-
脚本运行时异常
- ScriptRuntimeException(Throwable) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
- ScriptRuntimeException(String) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
- ScriptRuntimeException(String, Object...) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
- ScriptRuntimeException(String, Throwable) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
- ScriptRuntimeException(Throwable, String, Object...) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
- ScriptRuntimeException(String, String, int) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
Creates a ScriptException
with message, filename and linenumber to be used in error messages.
- ScriptRuntimeException(String, String, int, int) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
ScriptException
constructor specifying message, filename, line number and column number.
- ScriptRuntimeException(ScriptException) - Constructor for exception cn.hutool.script.ScriptRuntimeException
-
- ScriptUtil - Class in cn.hutool.script
-
脚本工具类
- ScriptUtil() - Constructor for class cn.hutool.script.ScriptUtil
-
- SDBMFilter - Class in cn.hutool.bloomfilter.filter
-
- SDBMFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.SDBMFilter
-
- SDBMFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.SDBMFilter
-
- sdbmHash(String) - Static method in class cn.hutool.core.util.HashUtil
-
SDBM算法
- second() - Method in class cn.hutool.core.date.DateTime
-
获得指定日期的秒数部分
- second(Date) - Static method in class cn.hutool.core.date.DateUtil
-
获得指定日期的秒数部分
- secondToTime(int) - Static method in class cn.hutool.core.date.DateUtil
-
秒数转为时间格式(HH:mm:ss)
参考:https://github.com/iceroot
- SecondValueParser - Class in cn.hutool.cron.pattern.parser
-
秒值处理
- SecondValueParser() - Constructor for class cn.hutool.cron.pattern.parser.SecondValueParser
-
- SecureUtil - Class in cn.hutool.crypto
-
安全相关工具类
加密分为三种:
1、对称加密(symmetric),例如:AES、DES等
2、非对称加密(asymmetric),例如:RSA、DSA等
3、摘要加密(digest),例如:MD5、SHA-1、SHA-256、HMAC等
- SecureUtil() - Constructor for class cn.hutool.crypto.SecureUtil
-
- SecurityManagerCaller - Class in cn.hutool.core.lang.caller
-
- SecurityManagerCaller() - Constructor for class cn.hutool.core.lang.caller.SecurityManagerCaller
-
- Segment<T extends Number> - Interface in cn.hutool.core.lang
-
片段表示,用于表示文本、集合等数据结构的一个区间。
- select() - Method in class cn.hutool.core.math.Arrangement
-
全排列选择(列表全部参与排列)
- select(int) - Method in class cn.hutool.core.math.Arrangement
-
排列选择(从列表中选择m个排列)
- select(int) - Method in class cn.hutool.core.math.Combination
-
组合选择(从列表中选择m个组合)
- select(boolean, String...) - Method in class cn.hutool.db.sql.SqlBuilder
-
查询
- select(boolean, Collection<String>) - Method in class cn.hutool.db.sql.SqlBuilder
-
查询
- select(String...) - Method in class cn.hutool.db.sql.SqlBuilder
-
查询(非Distinct)
- select(Collection<String>) - Method in class cn.hutool.db.sql.SqlBuilder
-
查询(非Distinct)
- selectAll() - Method in class cn.hutool.core.math.Arrangement
-
排列所有组合,即A(n, 1) + A(n, 2) + A(n, 3)...
- selectAll() - Method in class cn.hutool.core.math.Combination
-
全组合
- selectNumberRule(int, int) - Method in class cn.hutool.core.date.format.FastDatePrinter
-
Gets an appropriate rule for the padding required.
- SemaphoreRunnable - Class in cn.hutool.core.thread
-
- SemaphoreRunnable(Runnable, Semaphore) - Constructor for class cn.hutool.core.thread.SemaphoreRunnable
-
构造
- send() - Method in class cn.hutool.extra.mail.Mail
-
发送
- send(String, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(String, String, String, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人、抄送人、密送人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(Collection<String>, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(Collection<String>, Collection<String>, Collection<String>, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(MailAccount, String, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
发送邮件给多人
- send(MailAccount, Collection<String>, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
发送邮件给多人
- send(MailAccount, Collection<String>, Collection<String>, Collection<String>, String, String, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
发送邮件给多人
- send(String, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(String, String, String, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送单个或多个收件人
多个收件人、抄送人、密送人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- send(Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(Collection<String>, Collection<String>, Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送邮件,发送给多人
- send(MailAccount, String, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
发送邮件给多人
- send(MailAccount, Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
发送邮件给多人
- send(MailAccount, Collection<String>, Collection<String>, Collection<String>, String, String, Map<String, InputStream>, boolean, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
发送邮件给多人
- send(int) - Method in class cn.hutool.http.server.HttpServerResponse
-
发送HTTP状态码,Content-Length为0不定长度,会输出Transfer-encoding: chunked
- send(int, long) - Method in class cn.hutool.http.server.HttpServerResponse
-
发送HTTP状态码
- send() - Method in class cn.hutool.http.webservice.SoapClient
-
执行Webservice请求,即发送SOAP内容
- send(boolean) - Method in class cn.hutool.http.webservice.SoapClient
-
执行Webservice请求,即发送SOAP内容
- send404(String) - Method in class cn.hutool.http.server.HttpServerResponse
-
发送404错误页
- sendError(int, String) - Method in class cn.hutool.http.server.HttpServerResponse
-
发送错误页
- sendForMessage() - Method in class cn.hutool.http.webservice.SoapClient
-
执行Webservice请求,即发送SOAP内容
- sendHtml(String, String, String, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送HTML邮件,发送给单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- sendHtml(Collection<String>, String, String, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送HTML邮件,发送给多人
- sendHtml(String, String, String, Map<String, InputStream>, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送HTML邮件,发送给单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- sendHtml(Collection<String>, String, String, Map<String, InputStream>, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送HTML邮件,发送给多人
- sendOk() - Method in class cn.hutool.http.server.HttpServerResponse
-
发送成功状态码
- sendOk(int) - Method in class cn.hutool.http.server.HttpServerResponse
-
发送成功状态码
- sendText(String, String, String, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送文本邮件,发送给单个或多个收件人
多个收件人可以使用逗号“,”分隔,也可以通过分号“;”分隔
- sendText(Collection<String>, String, String, File...) - Static method in class cn.hutool.extra.mail.MailUtil
-
使用配置文件中设置的账户发送文本邮件,发送给多人
- sensitiveFilter(T, boolean, SensitiveProcessor) - Static method in class cn.hutool.dfa.SensitiveUtil
-
敏感词过滤
- sensitiveFilter(String, boolean, SensitiveProcessor) - Static method in class cn.hutool.dfa.SensitiveUtil
-
处理过滤文本中的敏感词,默认替换成*
- SensitiveProcessor - Interface in cn.hutool.dfa
-
- SensitiveUtil - Class in cn.hutool.dfa
-
敏感词工具类
- SensitiveUtil() - Constructor for class cn.hutool.dfa.SensitiveUtil
-
- SenvenZExtractor - Class in cn.hutool.extra.compress.extractor
-
7z格式数据解压器,即将归档打包的数据释放
- SenvenZExtractor(File) - Constructor for class cn.hutool.extra.compress.extractor.SenvenZExtractor
-
构造
- SenvenZExtractor(File, char[]) - Constructor for class cn.hutool.extra.compress.extractor.SenvenZExtractor
-
构造
- SenvenZExtractor(InputStream) - Constructor for class cn.hutool.extra.compress.extractor.SenvenZExtractor
-
构造
- SenvenZExtractor(InputStream, char[]) - Constructor for class cn.hutool.extra.compress.extractor.SenvenZExtractor
-
构造
- SenvenZExtractor(SeekableByteChannel) - Constructor for class cn.hutool.extra.compress.extractor.SenvenZExtractor
-
构造
- SenvenZExtractor(SeekableByteChannel, char[]) - Constructor for class cn.hutool.extra.compress.extractor.SenvenZExtractor
-
构造
- serialize(T) - Static method in class cn.hutool.core.util.ObjectUtil
-
序列化
对象必须实现Serializable接口
- serialize(T, V) - Method in interface cn.hutool.json.serialize.JSONSerializer
-
序列化实现,通过实现此方法,将指定类型的对象转换为
JSON
对象
转换后的对象可以为JSONObject也可以为JSONArray,首先new一个空的JSON,然后将需要的数据字段put到JSON对象中去即可。
- ServiceLoaderUtil - Class in cn.hutool.core.util
-
SPI机制中的服务加载工具类,流程如下
- ServiceLoaderUtil() - Constructor for class cn.hutool.core.util.ServiceLoaderUtil
-
- ServletUtil - Class in cn.hutool.extra.servlet
-
Servlet相关工具类封装
- ServletUtil() - Constructor for class cn.hutool.extra.servlet.ServletUtil
-
- Session - Class in cn.hutool.db
-
数据库SQL执行会话
会话通过共用Connection而可以实现JDBC事务
一个会话只维护一个连接,推荐在执行完后关闭Session,避免重用
本对象并不是线程安全的,多个线程共用一个Session将会导致不可预知的问题
- Session(DataSource) - Constructor for class cn.hutool.db.Session
-
构造,从DataSource中识别方言
- Session(DataSource, String) - Constructor for class cn.hutool.db.Session
-
构造
- Session(DataSource, Dialect) - Constructor for class cn.hutool.db.Session
-
构造
- set(Object, Object) - Method in class cn.hutool.core.bean.BeanPath
-
设置表达式指定位置(或filed对应)的值
若表达式指向一个List则设置其坐标对应位置的值,若指向Map则put对应key的值,Bean则设置字段的值
注意:
- set(String, Object) - Method in class cn.hutool.core.bean.DynaBean
-
设置字段值
- set(boolean, T...) - Static method in class cn.hutool.core.collection.CollUtil
-
新建一个HashSet
- set(String, Object) - Method in class cn.hutool.core.lang.Dict
-
设置列
- set(T) - Method in interface cn.hutool.core.lang.mutable.Mutable
-
设置值
- set(boolean) - Method in class cn.hutool.core.lang.mutable.MutableBool
-
设置值
- set(Boolean) - Method in class cn.hutool.core.lang.mutable.MutableBool
-
- set(byte) - Method in class cn.hutool.core.lang.mutable.MutableByte
-
设置值
- set(Number) - Method in class cn.hutool.core.lang.mutable.MutableByte
-
- set(double) - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
设置值
- set(Number) - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
- set(float) - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
设置值
- set(Number) - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
- set(int) - Method in class cn.hutool.core.lang.mutable.MutableInt
-
设置值
- set(Number) - Method in class cn.hutool.core.lang.mutable.MutableInt
-
- set(long) - Method in class cn.hutool.core.lang.mutable.MutableLong
-
设置值
- set(Number) - Method in class cn.hutool.core.lang.mutable.MutableLong
-
- set(T) - Method in class cn.hutool.core.lang.mutable.MutableObj
-
- set(short) - Method in class cn.hutool.core.lang.mutable.MutableShort
-
设置值
- set(Number) - Method in class cn.hutool.core.lang.mutable.MutableShort
-
- set(Transferable) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
-
设置内容到剪贴板
- set(Transferable, ClipboardOwner) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
-
设置内容到剪贴板
- set(int, String) - Method in class cn.hutool.core.text.csv.CsvRow
-
- set(String, Object) - Method in class cn.hutool.db.ActiveEntity
-
- set(DSFactory) - Static method in class cn.hutool.db.ds.GlobalDSFactory
-
设置全局的数据源工厂
在项目中存在多个连接池库的情况下,我们希望使用低优先级的库时使用此方法自定义之
重新定义全局的数据源工厂此方法可在以下两种情况下调用:
- set(String, Object) - Method in class cn.hutool.db.Entity
-
- set(Object) - Method in class cn.hutool.json.JSONArray
-
Append an object value.
- set(int, Object) - Method in class cn.hutool.json.JSONArray
-
- set(String, Object) - Method in class cn.hutool.json.JSONObject
-
设置键值对到JSONObject中,在忽略null模式下,如果值为null
,将此键移除
- set(Class<? extends LogFactory>) - Static method in class cn.hutool.log.GlobalLogFactory
-
自定义日志实现
- set(LogFactory) - Static method in class cn.hutool.log.GlobalLogFactory
-
自定义日志实现
- set(String, String) - Method in class cn.hutool.setting.Setting
-
设置值
- set(String, String, String) - Method in class cn.hutool.setting.Setting
-
- setAccessible(Method) - Static method in class cn.hutool.core.util.ClassUtil
-
设置方法为可访问
- setAccessible(T) - Static method in class cn.hutool.core.util.ReflectUtil
-
设置方法为可访问(私有方法可以被外部调用)
- setAlgorithmParameterSpec(AlgorithmParameterSpec) - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
- setAlign(CellStyle, HorizontalAlignment, VerticalAlignment) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
设置cell文本对齐样式
- setAlign(HorizontalAlignment, VerticalAlignment) - Method in class cn.hutool.poi.excel.StyleSet
-
设置cell文本对齐样式
- setAllowCoreThreadTimeOut(boolean) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置线程执行超时后是否回收线程
- setAllowFileExts(boolean) - Method in class cn.hutool.core.net.multipart.UploadSetting
-
设定是否允许扩展名
- setAlpha(Graphics2D, float) - Static method in class cn.hutool.core.img.GraphicsUtil
-
设置画笔透明度
- setAlwaysDelimitText(boolean) - Method in class cn.hutool.core.text.csv.CsvWriteConfig
-
设置是否始终使用文本分隔符,文本包装符,默认false,按需添加
- setAlwaysDelimitText(boolean) - Method in class cn.hutool.core.text.csv.CsvWriter
-
设置是否始终使用文本分隔符,文本包装符,默认false,按需添加
- setAmount(BigDecimal) - Method in class cn.hutool.core.math.Money
-
设置本货币对象代表的金额数。
- setApplicationContext(ApplicationContext) - Method in class cn.hutool.extra.spring.SpringUtil
-
- setArray(int, Array) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setAsActiveCell() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setAsciiStream(int, InputStream, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setAsciiStream(int, InputStream, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setAsciiStream(int, InputStream) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setAssignFlag(char) - Method in class cn.hutool.setting.SettingLoader
-
赋值分隔符(用于分隔键值对)
- setAttachments(DataSource...) - Method in class cn.hutool.extra.mail.Mail
-
- setAttr(String, Object) - Method in class cn.hutool.http.server.HttpServerResponse
-
设置属性
- setAuth(boolean) - Method in class cn.hutool.extra.mail.MailAccount
-
设置是否需要用户名密码验证
- setAutoCommit(boolean) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setAutoIncrement(boolean) - Method in class cn.hutool.db.meta.Column
-
设置是否自增
- setBackColor(int) - Method in class cn.hutool.extra.qrcode.QrConfig
-
- setBackColor(Color) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置背景色,例如:Color.BLUE
- setBackground(Color) - Method in class cn.hutool.captcha.AbstractCaptcha
-
设置背景色
- setBackground(Color) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets the background color for the last added frame
and any subsequent frames.
- setBackgroundColor(IndexedColors, boolean) - Method in class cn.hutool.poi.excel.StyleSet
-
设置单元格背景样式
- setBackToPwd(boolean) - Method in class cn.hutool.extra.ftp.Ftp
-
设置执行完操作是否返回当前目录
- setBccs(String...) - Method in class cn.hutool.extra.mail.Mail
-
设置多个密送人(blind carbon copy)
- setBeginAtSameTime(boolean) - Method in class cn.hutool.core.thread.SyncFinisher
-
设置是否所有worker线程同时开始
- setBetweenMs(long) - Method in class cn.hutool.core.date.BetweenFormatter
-
设置 时长毫秒数
- setBigDecimal(int, BigDecimal) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBinaryStream(int, InputStream, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBinaryStream(int, InputStream, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBinaryStream(int, InputStream) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBindings(Bindings, int) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- setBindings(Bindings, int) - Method in class cn.hutool.script.JavaScriptEngine
-
- setBlank() - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setBlob(int, Blob) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBlob(int, InputStream, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBlob(int, InputStream) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBoolean(int, boolean) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBorder(CellStyle, BorderStyle, IndexedColors) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
设置cell的四个边框粗细和颜色
- setBorder(BorderStyle, IndexedColors) - Method in class cn.hutool.poi.excel.StyleSet
-
定义所有单元格的边框类型
- setBrowser(Browser) - Method in class cn.hutool.http.useragent.UserAgent
-
设置浏览器类型
- setByGroup(String, String, String) - Method in class cn.hutool.setting.Setting
-
将键值对加入到对应分组中
此方法用于与getXXX统一参数顺序
- setByte(int, byte) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setBytes(int, byte[]) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setCacheHash(boolean) - Method in class cn.hutool.core.lang.Tuple
-
缓存Hash值,当为true时,此对象的hash值只被计算一次,常用于Tuple中的值不变时使用。
注意:当为true时,member变更对象后,hash值不会变更。
- setCapacity(int) - Method in class cn.hutool.core.map.FixedLinkedHashMap
-
设置容量
- setCaseInsensitive(boolean) - Method in class cn.hutool.db.AbstractDb
-
设置是否在结果中忽略大小写
如果忽略,则在Entity中调用getXXX时,字段值忽略大小写,默认忽略
- setCaseInsensitive(boolean) - Method in class cn.hutool.db.DialectRunner
-
设置是否在结果中忽略大小写
如果忽略,则在Entity中调用getXXX时,字段值忽略大小写,默认忽略
- setCaseInsensitive(boolean) - Static method in class cn.hutool.db.GlobalDbConfig
-
设置全局是否在结果中忽略大小写
如果忽略,则在Entity中调用getXXX时,字段值忽略大小写,默认忽略
- setCaseInsensitiveGlobal(boolean) - Static method in class cn.hutool.db.DbUtil
-
设置全局是否在结果中忽略大小写
如果忽略,则在Entity中调用getXXX时,字段值忽略大小写,默认忽略
- setCatalog(String) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setCatalog(String) - Method in class cn.hutool.db.meta.Table
-
设置catalog
- setCcs(String...) - Method in class cn.hutool.extra.mail.Mail
-
设置多个抄送人(carbon copy)
- setCellComment(Comment) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellEditor(CellEditor) - Method in class cn.hutool.poi.excel.ExcelReader
-
设置单元格值处理逻辑
当Excel中的值并不能满足我们的读取要求时,通过传入一个编辑接口,可以对单元格值自定义,例如对数字和日期类型值转换为字符串等
- setCellEditor(CellEditor) - Method in class cn.hutool.poi.excel.reader.AbstractSheetReader
-
设置单元格值处理逻辑
当Excel中的值并不能满足我们的读取要求时,通过传入一个编辑接口,可以对单元格值自定义,例如对数字和日期类型值转换为字符串等
- setCellEditor(CellEditor) - Method in class cn.hutool.poi.excel.reader.BeanSheetReader
-
设置单元格值处理逻辑
当Excel中的值并不能满足我们的读取要求时,通过传入一个编辑接口,可以对单元格值自定义,例如对数字和日期类型值转换为字符串等
- setCellErrorValue(byte) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellFormula(String) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellStyle(CellStyle) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellType(CellType) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellValue(Cell, Object, StyleSet, boolean) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
设置单元格值
根据传入的styleSet自动匹配样式
当为头部样式时默认赋值头部样式,但是头部中如果有数字、日期等类型,将按照数字、日期样式设置
- setCellValue(Cell, Object, CellStyle) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
设置单元格值
根据传入的styleSet自动匹配样式
当为头部样式时默认赋值头部样式,但是头部中如果有数字、日期等类型,将按照数字、日期样式设置
- setCellValue(double) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellValue(Date) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellValue(LocalDateTime) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellValue(Calendar) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellValue(RichTextString) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellValue(String) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCellValue(boolean) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setCent(long) - Method in class cn.hutool.core.math.Money
-
设置货币的分值。
- setCertificate(Certificate) - Method in class cn.hutool.crypto.asymmetric.Sign
-
设置
Certificate
为PublicKey
如果Certificate是X509Certificate,我们需要检查是否有密钥扩展
- setChannelHandler(ChannelHandler) - Method in class cn.hutool.socket.nio.NioClient
-
设置NIO数据处理器
- setChannelHandler(ChannelHandler) - Method in class cn.hutool.socket.nio.NioServer
-
设置NIO数据处理器
- setCharacterStream(int, Reader, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setCharacterStream(int, Reader, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setCharacterStream(int, Reader) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setCharFilter(Filter<Character>) - Static method in class cn.hutool.dfa.SensitiveUtil
-
设置字符过滤规则,通过定义字符串过滤规则,过滤不需要的字符
当accept为false时,此字符不参与匹配
- setCharFilter(Filter<Character>) - Method in class cn.hutool.dfa.WordTree
-
设置字符过滤规则,通过定义字符串过滤规则,过滤不需要的字符
当accept为false时,此字符不参与匹配
- setCharset(Charset) - Method in class cn.hutool.core.io.file.FileWrapper
-
设置字符集编码
- setCharset(Charset) - Method in class cn.hutool.core.net.url.UrlBuilder
-
设置编码,用于URLEncode和URLDecode
- setCharset(Charset) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setCharset(Charset) - Method in class cn.hutool.extra.mail.Mail
-
设置字符集编码
- setCharset(Charset) - Method in class cn.hutool.extra.mail.MailAccount
-
设置字符集编码
- setCharset(Charset) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置编码
- setCharset(Charset) - Method in class cn.hutool.extra.template.TemplateConfig
-
设置编码
- setCharset(Charset) - Method in class cn.hutool.http.server.HttpServerResponse
-
设置响应的编码
- setCharset(Charset) - Method in class cn.hutool.http.webservice.SoapClient
-
设置编码
- setCharset(Charset) - Method in class cn.hutool.setting.profile.Profile
-
设置编码
- setCharset(Charset) - Method in class cn.hutool.setting.Setting
-
自定义字符编码
- setChildren(List<Tree<T>>) - Method in class cn.hutool.core.lang.tree.Tree
-
- setChildrenKey(String) - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
设置子点对应的名称
- setChunkedStreamingMode(int) - Method in class cn.hutool.http.HttpConnection
-
采用流方式上传数据,无需本地缓存数据。
HttpUrlConnection默认是将所有数据读到本地缓存,然后再发送给服务器,这样上传大文件时就会导致内存溢出。
- setChunkedStreamingMode(int) - Method in class cn.hutool.http.HttpRequest
-
采用流方式上传数据,无需本地缓存数据。
HttpUrlConnection默认是将所有数据读到本地缓存,然后再发送给服务器,这样上传大文件时就会导致内存溢出。
- setClassLoader(ClassLoader) - Method in class cn.hutool.core.lang.ClassScanner
-
设置自定义的类加载器
- setClientInfo(String, String) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setClientInfo(Properties) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setClob(int, Clob) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setClob(int, Reader, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setClob(int, Reader) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setColor(CellStyle, IndexedColors, FillPatternType) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
给cell设置颜色
- setColor(CellStyle, short, FillPatternType) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
给cell设置颜色
- setColumn(Column) - Method in class cn.hutool.db.meta.Table
-
设置列对象
- setColumnWidth(int, int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置列宽(单位为一个字符的宽度,例如传入width为10,表示10个字符的宽度)
- setComment(String) - Method in class cn.hutool.db.meta.Column
-
设置注释
- setComment(String) - Method in class cn.hutool.db.meta.Table
-
设置注释
- setComment(Cell, String, String, ClientAnchor) - Static method in class cn.hutool.poi.excel.cell.CellUtil
-
为特定单元格添加批注
- setCommentCharacter(char) - Method in class cn.hutool.core.text.csv.CsvConfig
-
设置 注释符号,用于区分注释行
- setComparator(int, Comparator<E>) - Method in class cn.hutool.core.comparator.ComparatorChain
-
替换指定位置的比较器,保持原排序方式
- setComparator(int, Comparator<E>, boolean) - Method in class cn.hutool.core.comparator.ComparatorChain
-
替换指定位置的比较器,替换指定排序方式
- setConnectionAndReadTimeout(int) - Method in class cn.hutool.http.HttpConnection
-
设置连接和读取的超时时间
- setConnectionConfig(ConnectionConfig) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
设置连接相关配置,使用ConnectionConfigFactory创建ConnectionConfig
对象
- setConnectionTimeout(long) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setConnectionTimeout(long) - Method in class cn.hutool.extra.mail.MailAccount
-
设置Socket连接超时值,单位毫秒,缺省值不超时
- setConnectionTimeout(int) - Method in class cn.hutool.http.HttpRequest
-
设置连接超时,单位:毫秒
- setConnectionTimeout(int) - Method in class cn.hutool.http.webservice.SoapClient
-
设置连接超时,单位:毫秒
- setConnectTimeout(int) - Method in class cn.hutool.http.HttpConnection
-
设置连接超时
- setConnProps(Properties) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setConnProps(Properties) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- setContainsHeader(boolean) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
设置是否首行做为标题行,默认false
- setContainsHeader(boolean) - Method in class cn.hutool.core.text.csv.CsvReadConfig
-
设置是否首行做为标题行,默认false
- setContent(String) - Method in class cn.hutool.extra.mail.Mail
-
- setContent(String, boolean) - Method in class cn.hutool.extra.mail.Mail
-
设置正文
- setContentLength(long) - Method in class cn.hutool.http.server.HttpServerResponse
-
设置Content-Length头
- setContentType(String) - Method in class cn.hutool.http.server.HttpServerResponse
-
- setContext(ScriptContext) - Method in class cn.hutool.script.FullSupportScriptEngine
-
- setContext(ScriptContext) - Method in class cn.hutool.script.JavaScriptEngine
-
- setCookie(String) - Method in class cn.hutool.http.HttpConnection
-
设置Cookie
- setCookieManager(CookieManager) - Static method in class cn.hutool.http.cookie.GlobalCookieManager
-
- setCookieManager(CookieManager) - Static method in class cn.hutool.http.HttpGlobalConfig
-
- setCookieManager(CookieManager) - Static method in class cn.hutool.http.HttpRequest
-
- setCopyAttributes(boolean) - Method in class cn.hutool.core.io.file.FileCopier
-
设置是否拷贝所有属性
- setCopyContentIfDir(boolean) - Method in class cn.hutool.core.io.file.FileCopier
-
当拷贝来源是目录时是否只拷贝目录下的内容
- setCopyFilter(Filter<T>) - Method in class cn.hutool.core.lang.copier.SrcToDestCopier
-
设置过滤器
- setCorePoolSize(int) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置初始池大小,默认0
- setCpuModel(String) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setCpuNum(Integer) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setCronSetting(Setting) - Static method in class cn.hutool.cron.CronUtil
-
自定义定时任务配置文件
- setCronSetting(String) - Static method in class cn.hutool.cron.CronUtil
-
自定义定时任务配置文件路径
- setCurrentDSFactory(DSFactory) - Static method in class cn.hutool.db.ds.DSFactory
-
设置全局的数据源工厂
在项目中存在多个连接池库的情况下,我们希望使用低优先级的库时使用此方法自定义之
重新定义全局的数据源工厂此方法可在以下两种情况下调用:
- setCurrentLogFactory(Class<? extends LogFactory>) - Static method in class cn.hutool.log.LogFactory
-
自定义日志实现
- setCurrentLogFactory(LogFactory) - Static method in class cn.hutool.log.LogFactory
-
自定义日志实现
- setCurrentRow(int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置当前所在行
- setCurrentRowToEnd() - Method in class cn.hutool.poi.excel.ExcelWriter
-
定位到最后一行的后边,用于追加数据
- setCursorName(String) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setCustomEngine(Class<? extends TemplateEngine>) - Method in class cn.hutool.extra.template.TemplateConfig
-
设置自定义引擎,null表示系统自动判断
- setDaemon(boolean) - Method in class cn.hutool.core.thread.ThreadFactoryBuilder
-
设置是否守护线程
- setDaemon(boolean) - Method in class cn.hutool.cron.Scheduler
-
- setDate(int, Date) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setDate(int, Date, Calendar) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setDateFormat(String) - Method in class cn.hutool.json.JSONArray
-
设置转为字符串时的日期格式,默认为时间戳(null值)
- setDateFormat(String) - Method in class cn.hutool.json.JSONConfig
-
设置日期格式,null表示默认的时间戳
此方法设置的日期格式仅对转换为JSON字符串有效,对解析JSON为bean无效。
- setDateFormat(String) - Method in class cn.hutool.json.JSONObject
-
设置转为字符串时的日期格式,默认为时间戳(null值)
此方法设置的日期格式仅对转换为JSON字符串有效,对解析JSON为bean无效。
- setDebug(boolean) - Method in class cn.hutool.extra.mail.MailAccount
-
设置是否打开调试模式,调试模式会显示与邮件服务器通信过程,默认不开启
- setDebugOutput(PrintStream) - Method in class cn.hutool.extra.mail.Mail
-
设置debug输出位置,可以自定义debug日志
- setDecryptBlockSize(int) - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
设置解密块大小
- setDeep(Integer) - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
设置递归深度
- setDefaultRowHeight(int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置默认行高,值为一个点的高度
- setDelay(int) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
设置每一帧的间隔时间
Sets the delay time between each frame, or changes it
for subsequent frames (applies to last frame added).
- setDelay(long) - Method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
设置重试等待
- setDelay(int) - Static method in class cn.hutool.core.swing.RobotUtil
-
设置默认的延迟时间
当按键执行完后的等待时间,也可以用ThreadUtil.sleep方法代替
- setDest(T) - Method in class cn.hutool.core.lang.copier.SrcToDestCopier
-
设置目标
- setDestFile(File) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置写出的目标文件
- setDestFile(File) - Method in class cn.hutool.poi.word.Word07Writer
-
设置写出的目标文件
- setDialect(Dialect) - Method in class cn.hutool.db.DialectRunner
-
设置SQL方言
- setDigest(Digest) - Method in class cn.hutool.crypto.asymmetric.SM2
-
设置Hash算法
- setDigestCount(int) - Method in class cn.hutool.crypto.digest.Digester
-
设置重复计算摘要值次数
- setDigit(int) - Method in class cn.hutool.db.meta.Column
-
设置小数位数
- setDirection(Direction) - Method in class cn.hutool.db.sql.Order
-
设置排序方向
- setDispose(int) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets the GIF frame disposal code for the last added frame
and any subsequent frames.
- setDouble(int, double) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setDriver(String) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setDriver(String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- setEditable(Class<?>) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置限制的类或接口,必须为目标对象的实现接口或父类,用于限制拷贝的属性
- setEncodeSpaceAsPlus(boolean) - Method in class cn.hutool.core.net.URLEncoder
-
是否将空格编码为+
- setEncodeUrlParams(boolean) - Method in class cn.hutool.http.HttpRequest
-
- setEncoding(DSAEncoding) - Method in class cn.hutool.crypto.asymmetric.SM2
-
设置DSA signatures的编码
- setEncryptBlockSize(int) - Method in class cn.hutool.crypto.asymmetric.AsymmetricCrypto
-
设置加密块大小
- setEngine(Engine) - Method in class cn.hutool.http.useragent.UserAgent
-
设置引擎类型
- setEngineVersion(String) - Method in class cn.hutool.http.useragent.UserAgent
-
设置引擎版本
- setEquals(boolean) - Method in class cn.hutool.core.builder.EqualsBuilder
-
Sets the isEquals
value.
- setErrorCorrection(ErrorCorrectionLevel) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置纠错级别
- setErrorMessages(List<BeanValidationResult.ErrorMessage>) - Method in class cn.hutool.extra.validation.BeanValidationResult
-
设置错误信息列表
- setErrorOnDifferentFieldCount(boolean) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
设置每行字段个数不同时是否抛出异常,默认false
- setErrorOnDifferentFieldCount(boolean) - Method in class cn.hutool.core.text.csv.CsvReadConfig
-
设置每行字段个数不同时是否抛出异常,默认false
- setEscapeProcessing(boolean) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setExecutor(Executor) - Method in class cn.hutool.http.server.SimpleServer
-
设置自定义线程池
- setExtra(Map<String, Object>) - Method in class cn.hutool.core.lang.tree.TreeNode
-
设置扩展字段
- setFetchDirection(int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setFetchSize(int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setField(DateField, int) - Method in class cn.hutool.core.date.DateTime
-
- setField(int, int) - Method in class cn.hutool.core.date.DateTime
-
- setField(String) - Method in class cn.hutool.db.sql.Condition
-
设置字段名
- setField(String) - Method in class cn.hutool.db.sql.Order
-
设置排序字段
- setFieldMapping(Map<String, String>) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置拷贝属性的字段映射,用于不同的属性之前拷贝做对应表用
- setFieldNameEditor(Editor<String>) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置字段属性编辑器,用于自定义属性转换规则,例如驼峰转下划线等
此转换器只针对源端的字段做转换,请确认转换后与目标端字段一致
当转换后的字段名为null时忽略这个字段
- setFieldNames(Collection<String>) - Method in class cn.hutool.db.ActiveEntity
-
- setFieldNames(String...) - Method in class cn.hutool.db.ActiveEntity
-
- setFieldNames(Collection<String>) - Method in class cn.hutool.db.Entity
-
设置字段列表,用于限制加入的字段的值
- setFieldNames(String...) - Method in class cn.hutool.db.Entity
-
设置字段列表,用于限制加入的字段的值
- setFields(Collection<String>) - Method in class cn.hutool.db.sql.Query
-
设置查询的字段名列表
- setFields(String...) - Method in class cn.hutool.db.sql.Query
-
设置查询的字段名列表
- setFieldSeparator(char) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
设置字段分隔符,默认逗号','
- setFieldSeparator(char) - Method in class cn.hutool.core.text.csv.CsvConfig
-
设置字段分隔符,默认逗号','
- setFieldValue(Object, String, Object) - Static method in class cn.hutool.core.bean.BeanUtil
-
设置字段值,,通过反射设置字段值,并不调用setXXX方法
对象同样支持Map类型,fieldNameOrIndex即为key
- setFieldValue(Object, String, Object) - Static method in class cn.hutool.core.util.ReflectUtil
-
设置字段值
- setFieldValue(Object, Field, Object) - Static method in class cn.hutool.core.util.ReflectUtil
-
设置字段值
- setFile(File) - Method in class cn.hutool.core.io.file.FileWrapper
-
设置文件
- setFileExts(String[]) - Method in class cn.hutool.core.net.multipart.UploadSetting
-
设定文件扩展名限定里列表
禁止列表还是允许列表取决于isAllowFileExts
- setFiles(File...) - Method in class cn.hutool.extra.mail.Mail
-
设置文件类型附件,文件可以是图片文件,此时自动设置cid(正文中引用图片),默认cid为文件名
- setFirstDayOfWeek(Week) - Method in class cn.hutool.core.date.DateTime
-
- setFirstPageNo(int) - Static method in class cn.hutool.core.util.PageUtil
-
设置首页页码,可以为0或者1
- setFloat(int, float) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setFollowRedirects(boolean) - Method in class cn.hutool.http.HttpRequest
-
- setFont(Font) - Method in class cn.hutool.captcha.AbstractCaptcha
-
自定义字体
- setFont(short, short, String, boolean) - Method in class cn.hutool.poi.excel.StyleSet
-
设置全局字体
- setFont(Font, boolean) - Method in class cn.hutool.poi.excel.StyleSet
-
设置全局字体
- setFontStyle(Font, short, short, String) - Static method in class cn.hutool.poi.excel.style.StyleUtil
-
设置字体样式
- setForeColor(int) - Method in class cn.hutool.extra.qrcode.QrConfig
-
- setForeColor(Color) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置前景色,例如:Color.BLUE.getRGB()
- setFormat(String) - Method in class cn.hutool.core.convert.impl.CalendarConverter
-
设置日期格式
- setFormat(String) - Method in class cn.hutool.core.convert.impl.DateConverter
-
设置日期格式
- setFormat(String) - Method in class cn.hutool.core.convert.impl.TemporalAccessorConverter
-
设置日期格式
- setForwardSort(int) - Method in class cn.hutool.core.comparator.ComparatorChain
-
更改指定位置的排序方式为正序
- setFragment(String) - Method in class cn.hutool.core.net.url.UrlBuilder
-
设置标识符,例如#后边的部分
- setFrameRate(float) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets frame rate in frames per second.
- setFree(double) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setFreezePane(int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置窗口冻结,之前冻结的窗口会被覆盖,如果rowSplit为0表示取消冻结
- setFreezePane(int, int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置窗口冻结,之前冻结的窗口会被覆盖,如果colSplit和rowSplit为0表示取消冻结
- setFrom(String) - Method in class cn.hutool.extra.mail.MailAccount
-
设置发送方,遵循RFC-822标准
发件人可以是以下形式:
- setGenerator(CodeGenerator) - Method in class cn.hutool.captcha.AbstractCaptcha
-
设置验证码生成器
- setGlobalTimeout(int) - Static method in class cn.hutool.http.HttpRequest
-
设置全局默认的连接和读取超时时长
- setGroup(String) - Method in class cn.hutool.extra.ssh.Connector
-
设定用户组名
- setHandler(RejectedExecutionHandler) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置当线程阻塞(block)时的异常处理器,所谓线程阻塞即线程池和等待队列已满,无法处理线程时采取的策略
- setHeader(HttpServletResponse, String, Object) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
设置响应的Header
- setHeader(Header, String) - Method in class cn.hutool.http.server.HttpServerResponse
-
设置响应头,如果已经存在,则覆盖
- setHeader(String, String) - Method in class cn.hutool.http.server.HttpServerResponse
-
设置响应头,如果已经存在,则覆盖
- setHeader(String, List<String>) - Method in class cn.hutool.http.server.HttpServerResponse
-
设置响应头,如果已经存在,则覆盖
- setHeader(QName) - Method in class cn.hutool.http.webservice.SoapClient
-
- setHeader(QName, String, String, Boolean, Boolean) - Method in class cn.hutool.http.webservice.SoapClient
-
- setHeaderAlias(Map<String, String>) - Method in class cn.hutool.poi.excel.ExcelReader
-
设置标题行的别名Map
- setHeaderAlias(Map<String, String>) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置标题别名,key为Map中的key,value为别名
- setHeaderAlias(Map<String, String>) - Method in class cn.hutool.poi.excel.reader.AbstractSheetReader
-
设置标题行的别名Map
- setHeaderAlias(Map<String, String>) - Method in class cn.hutool.poi.excel.reader.BeanSheetReader
-
设置标题行的别名Map
- setHeaderOrFooter(String, Align, boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置Excel页眉或页脚
- setHeaders(Map<String, List<String>>) - Method in class cn.hutool.http.server.HttpServerResponse
-
设置所有响应头,如果已经存在,则覆盖
- setHeight(int) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置高度
- setHighValue(long) - Method in class cn.hutool.core.lang.hash.Number128
-
- setHoldability(int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setHost(String) - Method in class cn.hutool.core.net.url.UrlBuilder
-
设置主机,例如127.0.0.1
- setHost(String) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setHost(String) - Method in class cn.hutool.extra.mail.MailAccount
-
设置SMTP服务器域名
- setHost(String) - Method in class cn.hutool.extra.ssh.Connector
-
设定主机名
- setHostnameVerifier(HostnameVerifier) - Method in class cn.hutool.http.HttpRequest
-
设置域名验证器
只针对HTTPS请求,如果不设置,不做验证,所有域名被信任
- setHtml(boolean) - Method in class cn.hutool.extra.mail.Mail
-
设置是否是HTML
- setHttpProxy(String, int) - Method in class cn.hutool.http.HttpRequest
-
设置Http代理
- setHttpsInfo(HostnameVerifier, SSLSocketFactory) - Method in class cn.hutool.http.HttpConnection
-
设置https请求参数
有些时候htts请求会出现com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl的实现,此为sun内部api,按照普通http请求处理
- setHyperlink(Hyperlink) - Method in class cn.hutool.poi.excel.cell.NullCell
-
- setId(T) - Method in interface cn.hutool.core.lang.tree.Node
-
设置ID
- setId(T) - Method in class cn.hutool.core.lang.tree.Tree
-
- setId(T) - Method in class cn.hutool.core.lang.tree.TreeNode
-
- setIdKey(String) - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
设置ID对应的名称
- setIgnoreCase(boolean) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置是否忽略字段的大小写
- setIgnoreCase(boolean) - Method in class cn.hutool.json.JSONConfig
-
设置是否忽略键的大小写
- setIgnoreElementError(boolean) - Method in class cn.hutool.core.convert.impl.ArrayConverter
-
设置是否忽略元素转换错误
- setIgnoreEmptyRow(boolean) - Method in class cn.hutool.poi.excel.ExcelReader
-
设置是否忽略空行
- setIgnoreEmptyRow(boolean) - Method in class cn.hutool.poi.excel.reader.AbstractSheetReader
-
设置是否忽略空行
- setIgnoreEmptyRow(boolean) - Method in class cn.hutool.poi.excel.reader.BeanSheetReader
-
设置是否忽略空行
- setIgnoreError(boolean) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置是否忽略字段的注入错误
- setIgnoreError(boolean) - Method in class cn.hutool.json.JSONConfig
-
设置是否忽略转换过程中的异常
- setIgnoreNull(String, Object) - Method in class cn.hutool.core.lang.Dict
-
设置列,当键或值为null时忽略
- setIgnoreNull(String, Object) - Method in class cn.hutool.db.ActiveEntity
-
- setIgnoreNull(String, Object) - Method in class cn.hutool.db.Entity
-
- setIgnoreNullValue(boolean) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置是否忽略空值,当源对象的值为null时,true: 忽略而不注入此值,false: 注入null
- setIgnoreNullValue(boolean) - Method in class cn.hutool.json.JSONConfig
-
设置是否忽略null值
- setIgnoreProperties(String...) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置忽略的目标对象中属性列表,设置一个属性列表,不拷贝这些属性值
- setIgnoreTransient(boolean) - Method in class cn.hutool.json.JSONConfig
-
- setImage(Image) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
-
设置图片到剪贴板
- setImg(String) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置二维码中的Logo文件
- setImg(File) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置二维码中的Logo文件
- setImg(Image) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置二维码中的Logo
- setInitialize(boolean) - Method in class cn.hutool.core.lang.ClassScanner
-
设置是否在扫描到类时初始化类
- setInitialSize(int) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setInstanceFollowRedirects(boolean) - Method in class cn.hutool.http.HttpConnection
-
设置自动HTTP 30X跳转
- setInt(int, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setIoAction(IoAction<ByteBuffer>) - Method in class cn.hutool.socket.aio.AioServer
-
设置IO处理器,单例存在
- setIv(IvParameterSpec) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
设置偏移向量
- setIv(byte[]) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
设置偏移向量
- setKeepAliveTime(long, TimeUnit) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置线程存活时间,即当池中线程多于初始大小时,多出的线程保留的时长
- setKeepAliveTime(long) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置线程存活时间,即当池中线程多于初始大小时,多出的线程保留的时长,单位纳秒
- setKeepTaskList(boolean) - Method in class cn.hutool.core.date.StopWatch
-
设置是否在停止后保留任务,false
表示停止运行后不保留任务
- setKey(Key) - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
- setKey(String) - Method in class cn.hutool.crypto.symmetric.RC4
-
设置密钥
- setKeyManagers(KeyManager...) - Method in class cn.hutool.core.net.SSLContextBuilder
-
设置 JSSE key managers
- setKeyManagers(KeyManager...) - Method in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
设置 JSSE key managers
- setLevel(BetweenFormatter.Level) - Method in class cn.hutool.core.date.BetweenFormatter
-
设置格式化级别
- setLevel(Level) - Static method in class cn.hutool.log.dialect.console.ConsoleLog
-
设置自定义的日志显示级别
- setLineDelimiter(char[]) - Method in class cn.hutool.core.text.csv.CsvWriteConfig
-
设置换行符
- setLineDelimiter(char[]) - Method in class cn.hutool.core.text.csv.CsvWriter
-
设置换行符
- setLinkOperator(LogicalOperator) - Method in class cn.hutool.db.sql.Condition
-
设置与前一个Condition连接的逻辑运算符,可以是and或or
- setListener(CacheListener<K, V>) - Method in interface cn.hutool.cache.Cache
-
设置监听
- setListener(CacheListener<K, V>) - Method in class cn.hutool.cache.impl.AbstractCache
-
设置监听
- setLoginTimeout(int) - Method in class cn.hutool.db.ds.DataSourceWrapper
-
- setLoginTimeout(int) - Method in class cn.hutool.db.ds.simple.AbstractDataSource
-
- setLogWriter(PrintWriter) - Method in class cn.hutool.db.ds.DataSourceWrapper
-
- setLogWriter(PrintWriter) - Method in class cn.hutool.db.ds.simple.AbstractDataSource
-
- setLong(int, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setLowValue(long) - Method in class cn.hutool.core.lang.hash.Number128
-
- setMargin(Integer) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置边距
- setMatchSecond(boolean) - Method in class cn.hutool.cron.CronConfig
-
设置是否支持秒匹配,默认不使用
- setMatchSecond(boolean) - Static method in class cn.hutool.cron.CronUtil
-
设置是否支持秒匹配
此方法用于定义是否使用秒匹配模式,如果为true,则定时任务表达式中的第一位为秒,否则为分,默认是分
- setMatchSecond(boolean) - Method in class cn.hutool.cron.Scheduler
-
设置是否支持秒匹配,默认不使用
- setMaxActive(int) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setMaxColor(int) - Method in class cn.hutool.captcha.GifCaptcha
-
设置验证码字符颜色
- setMaxDepth(int) - Method in class cn.hutool.core.io.watch.WatchMonitor
-
当监听目录时,监听目录的最大深度
当设置值为1(或小于1)时,表示不递归监听子目录
例如设置:
- setMaxFieldSize(int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setMaxFileSize(long) - Method in class cn.hutool.core.net.multipart.UploadSetting
-
设定最大文件大小,-1表示无限制
- setMaxPoolSize(int) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置最大池大小(允许同时执行的最大线程数)
- setMaxRedirectCount(int) - Method in class cn.hutool.http.HttpRequest
-
设置最大重定向次数
如果次数小于1则表示不重定向,大于等于1表示打开重定向
- setMaxRows(int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setMaxWait(long) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setMemoryThreshold(int) - Method in class cn.hutool.core.net.multipart.UploadSetting
-
设定文件保存到内存的边界
如果文件大小小于这个边界,将保存于内存中,否则保存至临时目录中
- setMessage(String) - Method in class cn.hutool.extra.validation.BeanValidationResult.ErrorMessage
-
- setMethod(Method) - Method in class cn.hutool.http.HttpConnection
-
设置请求方法
- setMethod(Method) - Method in class cn.hutool.http.HttpRequest
-
设置请求方法
- setMethod(Name, Map<String, Object>, boolean) - Method in class cn.hutool.http.webservice.SoapClient
-
设置请求方法
- setMethod(QName, Map<String, Object>, boolean) - Method in class cn.hutool.http.webservice.SoapClient
-
设置请求方法
- setMethod(String) - Method in class cn.hutool.http.webservice.SoapClient
-
设置请求方法
方法名自动识别前缀,前缀和方法名使用“:”分隔
当识别到前缀后,自动添加xmlns属性,关联到默认的namespaceURI
- setMethod(String, String) - Method in class cn.hutool.http.webservice.SoapClient
-
设置请求方法
方法名自动识别前缀,前缀和方法名使用“:”分隔
当识别到前缀后,自动添加xmlns属性,关联到传入的namespaceURI
- setMethod(QName) - Method in class cn.hutool.http.webservice.SoapClient
-
设置请求方法
- setMinColor(int) - Method in class cn.hutool.captcha.GifCaptcha
-
设置验证码字符颜色
- setMinIdle(int) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setMobile(boolean) - Method in class cn.hutool.http.useragent.UserAgent
-
设置是否为移动平台
- setMode(SM2Engine.Mode) - Method in class cn.hutool.crypto.asymmetric.SM2
-
设置SM2模式,旧版是C1C2C3,新版本是C1C3C2
- setMode(FtpMode) - Method in class cn.hutool.extra.ftp.Ftp
-
设置FTP连接模式,可选主动和被动模式
- setModifiers(WatchEvent.Modifier[]) - Method in class cn.hutool.core.io.watch.WatchServer
-
设置监听选项,例如监听频率等,可设置项包括:
- setMutable(boolean) - Method in class cn.hutool.core.date.DateTime
-
- setName(CharSequence) - Method in interface cn.hutool.core.lang.tree.Node
-
设置节点标签名称
- setName(CharSequence) - Method in class cn.hutool.core.lang.tree.Tree
-
- setName(CharSequence) - Method in class cn.hutool.core.lang.tree.TreeNode
-
- setName(String) - Method in class cn.hutool.db.meta.Column
-
设置列名
- setNameKey(String) - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
设置节点名对应的名称
- setNamePrefix(String) - Method in class cn.hutool.core.thread.ThreadFactoryBuilder
-
设置线程名前缀,例如设置前缀为hutool-thread-,则线程名为hutool-thread-1之类。
- setNamespaceAware(boolean) - Static method in class cn.hutool.core.util.XmlUtil
-
设置是否打开命名空间支持,默认打开
- setNCharacterStream(int, Reader, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNCharacterStream(int, Reader) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNClob(int, NClob) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNClob(int, Reader, long) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNClob(int, Reader) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNetworkTimeout(Executor, int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setNString(int, String) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNull(int, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNull(int, int, String) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setNullable(boolean) - Method in class cn.hutool.db.meta.Column
-
设置是否为可空
- setNumPerPage(int) - Method in class cn.hutool.db.Page
-
- setNumPerPage(int) - Method in class cn.hutool.db.PageResult
-
- setObj(T) - Method in class cn.hutool.core.lang.WeightRandom.WeightObj
-
设置对象
- setObject(int, Object, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setObject(int, Object) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setObject(int, Object, int, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setOneAsFirstPageNo() - Static method in class cn.hutool.core.util.PageUtil
-
设置首页页码为1
- setOnlyAlias(boolean) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置是否只保留别名中的字段值,如果为true,则不设置alias的字段将不被输出,false表示原样输出
- setOnlyCopyFile(boolean) - Method in class cn.hutool.core.io.file.FileCopier
-
设置当拷贝来源是目录时是否只拷贝文件而忽略子目录
- setOperator(String) - Method in class cn.hutool.db.sql.Condition
-
设置运算符
大于号,小于号,等于号 等
- setOption(SocketOption<T>, T) - Method in class cn.hutool.socket.aio.AioClient
-
- setOption(SocketOption<T>, T) - Method in class cn.hutool.socket.aio.AioServer
-
- setOrAppend(List<T>, int, T) - Static method in class cn.hutool.core.collection.CollUtil
-
设置或增加元素。当index小于List的长度时,替换指定位置的值,否则在尾部追加
- setOrAppend(List<T>, int, T) - Static method in class cn.hutool.core.collection.ListUtil
-
设置或增加元素。当index小于List的长度时,替换指定位置的值,否则在尾部追加
- setOrAppend(T[], int, T) - Static method in class cn.hutool.core.util.ArrayUtil
-
将元素值设置为数组的某个位置,当给定的index大于数组长度,则追加
- setOrAppend(Object, int, Object) - Static method in class cn.hutool.core.util.ArrayUtil
-
将元素值设置为数组的某个位置,当给定的index大于数组长度,则追加
- setOrder(Order...) - Method in class cn.hutool.db.Page
-
设置排序
- setOrder(boolean) - Method in class cn.hutool.json.JSONConfig
-
设置是否有序,顺序按照加入顺序排序
- setOs(OS) - Method in class cn.hutool.http.useragent.UserAgent
-
设置系统类型
- setOverride(boolean) - Method in class cn.hutool.core.io.file.FileCopier
-
设置是否覆盖目标文件
- setPage(int) - Method in class cn.hutool.db.PageResult
-
设置页码,0表示第一页
- setPage(Page) - Method in class cn.hutool.db.sql.Query
-
设置分页对象
- setPageNumber(int) - Method in class cn.hutool.db.Page
-
设置页码,0表示第一页
- setPageSize(int) - Method in class cn.hutool.db.Page
-
设置每页结果数
- setPageSize(int) - Method in class cn.hutool.db.PageResult
-
设置每页结果数
- setParam(PreparedStatement, int, Object) - Static method in class cn.hutool.db.StatementUtil
-
- setParam(String, Object) - Method in class cn.hutool.http.webservice.SoapClient
-
设置方法参数,使用方法的前缀
- setParam(String, Object, boolean) - Method in class cn.hutool.http.webservice.SoapClient
-
设置方法参数
- setParameter(AlgorithmParameterSpec) - Method in class cn.hutool.crypto.asymmetric.Sign
-
设置签名的参数
- setParams(AlgorithmParameterSpec) - Method in class cn.hutool.crypto.symmetric.SymmetricCrypto
-
- setParams(Map<String, Object>) - Method in class cn.hutool.http.webservice.SoapClient
-
批量设置参数,使用方法的前缀
- setParams(Map<String, Object>, boolean) - Method in class cn.hutool.http.webservice.SoapClient
-
批量设置参数
- setParent(Tree<T>) - Method in class cn.hutool.core.lang.tree.Tree
-
设置父节点
- setParentId(T) - Method in interface cn.hutool.core.lang.tree.Node
-
设置父节点ID
- setParentId(T) - Method in class cn.hutool.core.lang.tree.Tree
-
- setParentId(T) - Method in class cn.hutool.core.lang.tree.TreeNode
-
- setParentIdKey(String) - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
设置父点对应的名称
- setPass(String) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setPass(String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- setPass(String) - Method in class cn.hutool.extra.mail.MailAccount
-
设置密码
- setPassword(String) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setPassword(String) - Method in class cn.hutool.extra.ssh.Connector
-
设定密码
- setPath(UrlPath) - Method in class cn.hutool.core.net.url.UrlBuilder
-
设置路径,例如/aa/bb/cc,将覆盖之前所有的path相关设置
- setPath(String) - Method in class cn.hutool.extra.template.TemplateConfig
-
设置模板路径,如果ClassPath或者WebRoot模式,则表示相对路径
- setPattern(CronPattern) - Method in class cn.hutool.cron.task.CronTask
-
设置新的定时表达式
- setPixels() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Creates new frame image from current data (and previous
frames as specified by their disposition codes).
- setPk(boolean) - Method in class cn.hutool.db.meta.Column
-
设置是否主键
- setPkNames(Set<String>) - Method in class cn.hutool.db.meta.Table
-
设置主键列表
- setPlaceHolder(boolean) - Method in class cn.hutool.db.sql.Condition
-
设置是否使用条件占位符
- setPlatform(Platform) - Method in class cn.hutool.http.useragent.UserAgent
-
设置平台类型
- setPoolable(boolean) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setPort(int) - Method in class cn.hutool.core.net.url.UrlBuilder
-
设置端口,默认-1
- setPort(int) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setPort(int) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
自定义默认端口,如果不设置,使用默认端口:21
- setPort(Integer) - Method in class cn.hutool.extra.mail.MailAccount
-
设置SMTP服务端口
- setPort(int) - Method in class cn.hutool.extra.ssh.Connector
-
设定端口号
- setPositionBaseCentre(boolean) - Method in class cn.hutool.core.img.Img
-
计算x,y坐标的时候是否从中心做为原始坐标开始计算
- setPreWrapQuote(Character) - Method in class cn.hutool.db.sql.Wrapper
-
设置前置包装的符号
- setPriority(int) - Method in class cn.hutool.core.thread.ThreadFactoryBuilder
-
设置线程优先级
- setPrivateKey(PrivateKey) - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
设置私钥
- setPrivateKey(PrivateKey) - Method in class cn.hutool.crypto.asymmetric.SM2
-
- setPrivateKeyParams(ECPrivateKeyParameters) - Method in class cn.hutool.crypto.asymmetric.SM2
-
设置私钥参数
- setProfile(String) - Static method in class cn.hutool.setting.profile.GlobalProfile
-
设置全局环境
- setProfile(String) - Method in class cn.hutool.setting.profile.Profile
-
设置环境
- setProperty(Object, String, Object) - Static method in class cn.hutool.core.bean.BeanUtil
-
解析Bean中的属性值
- setProperty(String, Object) - Method in class cn.hutool.setting.dialect.Props
-
设置值,无给定键创建之。设置后未持久化
- setPropertyName(String) - Method in class cn.hutool.extra.validation.BeanValidationResult.ErrorMessage
-
- setProtocol(String) - Method in class cn.hutool.core.net.SSLContextBuilder
-
设置协议。例如TLS等
- setProtocol(String) - Method in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
设置协议
- setProxy(Proxy) - Method in class cn.hutool.http.HttpRequest
-
设置代理
- setPublicKey(PublicKey) - Method in class cn.hutool.crypto.asymmetric.BaseAsymmetric
-
设置公钥
- setPublicKey(PublicKey) - Method in class cn.hutool.crypto.asymmetric.SM2
-
- setPublicKeyParams(ECPublicKeyParameters) - Method in class cn.hutool.crypto.asymmetric.SM2
-
设置公钥参数
- setQrVersion(Integer) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置二维码中的信息量,可设置0-40的整数,二维码图片也会根据qrVersion而变化,0表示根据传入信息自动变化
- setQuality(int) - Method in class cn.hutool.captcha.GifCaptcha
-
设置图像的颜色量化(转换质量 由GIF规范允许的最大256种颜色)。
低的值(最小值= 1)产生更好的颜色,但处理显著缓慢。
10是默认,并产生良好的颜色而且有以合理的速度。
值更大(大于20)不产生显著的改善速度
- setQuality(int) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets quality of color quantization (conversion of images
to the maximum 256 colors allowed by the GIF specification).
- setQuality(double) - Method in class cn.hutool.core.img.Img
-
设置图片输出质量,数字为0~1(不包括0和1)表示质量压缩比,除此数字外设置表示不压缩
- setQuality(float) - Method in class cn.hutool.core.img.Img
-
设置图片输出质量,数字为0~1(不包括0和1)表示质量压缩比,除此数字外设置表示不压缩
- setQuery(UrlQuery) - Method in class cn.hutool.core.net.url.UrlBuilder
-
设置查询语句,例如a=1&b=2,将覆盖之前所有的query相关设置
- setQueryTimeout(int) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setRatio(int) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置二维码中的Logo缩放的比例系数,如5表示长宽最小值的1/5
- setReadBufferSize(int) - Method in class cn.hutool.socket.SocketConfig
-
设置读取缓存大小
- setReadOnly(boolean) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setReadTimeout(int) - Method in class cn.hutool.http.HttpConnection
-
设置读取超时
- setReadTimeout(int) - Method in class cn.hutool.http.HttpRequest
-
设置连接超时,单位:毫秒
- setReadTimeout(int) - Method in class cn.hutool.http.webservice.SoapClient
-
设置连接超时,单位:毫秒
- setReadTimeout(long) - Method in class cn.hutool.socket.SocketConfig
-
设置读取超时时长,小于等于0表示默认
- setRef(int, Ref) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setRepeat(int) - Method in class cn.hutool.captcha.GifCaptcha
-
设置GIF帧应该播放的次数。
默认是 0; 0意味着无限循环。
必须在添加的第一个图像之前被调用。
- setRepeat(int) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets the number of times the set of GIF frames
should be played.
- setReply(String...) - Method in class cn.hutool.extra.mail.Mail
-
设置多个回复地址(reply-to)
- setResourceMode(TemplateConfig.ResourceMode) - Method in class cn.hutool.extra.template.TemplateConfig
-
设置模板资源加载方式
- setRest(boolean) - Method in class cn.hutool.http.HttpRequest
-
设置是否rest模式
rest模式下get请求不会把参数附加到URL之后
- setReturnGeneratedKey(boolean) - Static method in class cn.hutool.db.GlobalDbConfig
-
设置全局是否INSERT语句中默认返回主键(默认返回主键)
如果false,则在Insert操作后,返回影响行数
主要用于某些数据库不支持返回主键的情况
- setReturnGeneratedKeyGlobal(boolean) - Static method in class cn.hutool.db.DbUtil
-
设置全局是否INSERT语句中默认返回主键(默认返回主键)
如果false,则在Insert操作后,返回影响行数
主要用于某些数据库不支持返回主键的情况
- setReverseSort(int) - Method in class cn.hutool.core.comparator.ComparatorChain
-
更改指定位置的排序方式为反序
- setRoot(String) - Method in class cn.hutool.http.server.SimpleServer
-
设置根目录,默认的页面从root目录中读取解析返回
- setRoot(File) - Method in class cn.hutool.http.server.SimpleServer
-
设置根目录,默认的页面从root目录中读取解析返回
- setRowHandler(RowHandler) - Method in class cn.hutool.poi.excel.sax.Excel07SaxReader
-
设置行处理器
- setRowHandler(RowHandler) - Method in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
设置行处理器
- setRowHeight(int, int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置行高,值为一个点的高度
- setRowId(int, RowId) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setRowStyle(int, CellStyle) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置行样式
- setRunner(SqlConnRunner) - Method in class cn.hutool.db.AbstractDb
-
- setSalt(byte[]) - Method in class cn.hutool.crypto.digest.Digester
-
设置加盐内容
- setSaltPosition(int) - Method in class cn.hutool.crypto.digest.Digester
-
设置加盐的位置,只有盐值存在时有效
加盐的位置指盐位于数据byte数组中的位置,例如:
- setSavepoint() - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setSavepoint(String) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setSavepoint() - Method in class cn.hutool.db.Session
-
设置保存点
- setSavepoint(String) - Method in class cn.hutool.db.Session
-
设置保存点
- setSchema(String) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setSchema(String) - Method in class cn.hutool.db.meta.Table
-
设置schema
- setScheme(String) - Method in class cn.hutool.core.net.url.UrlBuilder
-
设置协议,例如http
- setSecondValue(Object) - Method in class cn.hutool.db.sql.Condition
-
设置between 类型中第二个值
- setSecureRandom(SecureRandom) - Method in class cn.hutool.core.net.SSLContextBuilder
-
设置 SecureRandom
- setSecureRandom(SecureRandom) - Method in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
设置 SecureRandom
- setServerLanguageCode(String) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setSetting(Setting) - Method in class cn.hutool.db.nosql.mongo.MongoDS
-
设定MongoDB配置文件
- setSheet(String) - Method in class cn.hutool.poi.excel.ExcelBase
-
自定义需要读取或写出的Sheet,如果给定的sheet不存在,创建之。
在读取中,此方法用于切换读取的sheet,在写出时,此方法用于新建或者切换sheet。
- setSheet(int) - Method in class cn.hutool.poi.excel.ExcelBase
-
自定义需要读取或写出的Sheet,如果给定的sheet不存在,创建之(命名为默认)
在读取中,此方法用于切换读取的sheet,在写出时,此方法用于新建或者切换sheet
- setSheet(Sheet) - Method in class cn.hutool.poi.excel.ExcelBase
-
设置自定义Sheet
- setSheet(int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- setSheet(String) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- setShort(int, short) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setShowSql(boolean, boolean, boolean, Level) - Static method in class cn.hutool.db.GlobalDbConfig
-
设置全局配置:是否通过debug日志显示SQL
- setShowSqlGlobal(Setting) - Static method in class cn.hutool.db.DbUtil
-
从配置文件中读取SQL打印选项
- setShowSqlGlobal(boolean, boolean, boolean, Level) - Static method in class cn.hutool.db.DbUtil
-
设置全局配置:是否通过debug日志显示SQL
- setSignature(Signature) - Method in class cn.hutool.crypto.asymmetric.Sign
-
设置签名
- setSize(int, int) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets the GIF frame size.
- setSize(int) - Method in class cn.hutool.db.meta.Column
-
设置大小或数据长度
- setSkipEmptyRows(boolean) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
设置是否跳过空白行,默认true
- setSkipEmptyRows(boolean) - Method in class cn.hutool.core.text.csv.CsvReadConfig
-
设置是否跳过空白行,默认true
- setSOAPHeader(QName) - Method in class cn.hutool.http.webservice.SoapClient
-
- setSOAPHeader(QName, String, String, Boolean, Boolean) - Method in class cn.hutool.http.webservice.SoapClient
-
- setSocketFactoryClass(String) - Method in class cn.hutool.extra.mail.MailAccount
-
设置指定实现javax.net.SocketFactory接口的类的名称,这个类将被用于创建SMTP的套接字
- setSocketFactoryFallback(boolean) - Method in class cn.hutool.extra.mail.MailAccount
-
如果设置为true,未能创建一个套接字使用指定的套接字工厂类将导致使用java.net.Socket创建的套接字类, 默认值为true
- setSocketFactoryPort(int) - Method in class cn.hutool.extra.mail.MailAccount
-
指定的端口连接到在使用指定的套接字工厂。如果没有设置,将使用默认端口
- setSoTimeout(long) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setSplitlongparameters(boolean) - Method in class cn.hutool.extra.mail.MailAccount
-
设置对于超长参数是否切分为多份,默认为false(国内邮箱附件不支持切分的附件名)
- setSQLXML(int, SQLXML) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setSrc(T) - Method in class cn.hutool.core.lang.copier.SrcToDestCopier
-
设置源
- setSsl(SslConfiguration) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
使用SSL安全连接,可以使用SslConfigurationFactory创建SslConfiguration
- setSsl(File, String) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
使用SSL安全连接
- setSslEnable(Boolean) - Method in class cn.hutool.extra.mail.MailAccount
-
设置是否使用SSL安全连接
- setSSLProtocol(String) - Method in class cn.hutool.http.HttpRequest
-
- setSslProtocols(String) - Method in class cn.hutool.extra.mail.MailAccount
-
设置SSL协议,多个协议用空格分隔
- setSSLSocketFactory(SSLSocketFactory) - Method in class cn.hutool.http.HttpRequest
-
设置SSLSocketFactory
只针对HTTPS请求,如果不设置,使用默认的SSLSocketFactory
默认SSLSocketFactory为:SSLSocketFactoryBuilder.create().build();
- setStarttlsEnable(boolean) - Method in class cn.hutool.extra.mail.MailAccount
-
设置是否使用STARTTLS安全连接,STARTTLS是对纯文本通信协议的扩展。它将纯文本连接升级为加密连接(TLS或SSL), 而不是使用一个单独的加密通信端口。
- setStr(String) - Static method in class cn.hutool.core.swing.clipboard.ClipboardUtil
-
设置字符串文本到剪贴板
- setStr(String, String) - Method in class cn.hutool.db.nosql.redis.RedisDS
-
从Redis中获取值
- setString(int, String) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setStyle(CellStyle, String) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- setStyle(CellStyle, int, int) - Method in class cn.hutool.poi.excel.ExcelWriter
-
- setStyleSet(StyleSet) - Method in class cn.hutool.poi.excel.ExcelWriter
-
设置样式集,如果不使用样式,传入null
- setSuccess(boolean) - Method in class cn.hutool.extra.validation.BeanValidationResult
-
设置是否通过
- setSufWrapQuote(Character) - Method in class cn.hutool.db.sql.Wrapper
-
设置后置包装的符号
- setSys(double) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setSystemKey(String) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setTableName(String) - Method in class cn.hutool.db.ActiveEntity
-
- setTableName(String) - Method in class cn.hutool.db.Entity
-
设置表名
- setTableName(String) - Method in class cn.hutool.db.meta.Column
-
设置表名
- setTableName(String) - Method in class cn.hutool.db.meta.Table
-
设置表名
- setTableNames(String...) - Method in class cn.hutool.db.sql.Query
-
设置表名
- setTargetImageType(String) - Method in class cn.hutool.core.img.Img
-
设置目标图片文件格式,用于写出
- setter - Variable in class cn.hutool.core.bean.PropDesc
-
Setter方法
- setTextAlpha(float) - Method in class cn.hutool.captcha.AbstractCaptcha
-
设置文字透明度
- setTextDelimiter(char) - Method in class cn.hutool.core.text.csv.CsvBaseReader
-
设置 文本分隔符,文本包装符,默认双引号'"'
- setTextDelimiter(char) - Method in class cn.hutool.core.text.csv.CsvConfig
-
设置 文本分隔符,文本包装符,默认双引号'"'
- setThreadFactory(ThreadFactory) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置线程工厂,用于自定义线程创建
- setThreadFactory(ThreadFactory) - Method in class cn.hutool.core.thread.ThreadFactoryBuilder
-
设置用于创建基础线程的线程工厂
- setThreadPoolSize(int) - Method in class cn.hutool.socket.SocketConfig
-
设置共享线程池大小,此线程池用于接收和处理用户连接
- setTime(long) - Method in class cn.hutool.core.date.DateTime
-
- setTime(int, Time) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setTime(int, Time, Calendar) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setTimeout(long) - Method in class cn.hutool.extra.mail.MailAccount
-
设置SMTP超时时长,单位毫秒,缺省值不超时
- setTimeout(int) - Static method in class cn.hutool.http.HttpGlobalConfig
-
设置默认的连接和读取超时时长
- setTimestamp(int, Timestamp) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setTimestamp(int, Timestamp, Calendar) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setTimeZone(TimeZone) - Method in class cn.hutool.core.date.DateTime
-
设置时区
- setTimeZone(TimeZone) - Method in class cn.hutool.cron.CronConfig
-
设置时区
- setTimeZone(TimeZone) - Method in class cn.hutool.cron.Scheduler
-
设置时区
- Setting - Class in cn.hutool.setting
-
设置工具类。 用于支持设置(配置)文件
BasicSetting用于替换Properties类,提供功能更加强大的配置文件,同时对Properties文件向下兼容
- Setting() - Constructor for class cn.hutool.setting.Setting
-
空构造
- Setting(String) - Constructor for class cn.hutool.setting.Setting
-
构造
- Setting(String, boolean) - Constructor for class cn.hutool.setting.Setting
-
构造
- Setting(String, Charset, boolean) - Constructor for class cn.hutool.setting.Setting
-
构造,使用相对于Class文件根目录的相对路径
- Setting(File, Charset, boolean) - Constructor for class cn.hutool.setting.Setting
-
构造
- Setting(String, Class<?>, Charset, boolean) - Constructor for class cn.hutool.setting.Setting
-
构造,相对于classes读取文件
- Setting(URL, Charset, boolean) - Constructor for class cn.hutool.setting.Setting
-
构造
- Setting(Resource, Charset, boolean) - Constructor for class cn.hutool.setting.Setting
-
构造
- SettingLoader - Class in cn.hutool.setting
-
Setting文件加载器
- SettingLoader(GroupedMap) - Constructor for class cn.hutool.setting.SettingLoader
-
构造
- SettingLoader(GroupedMap, Charset, boolean) - Constructor for class cn.hutool.setting.SettingLoader
-
构造
- SettingRuntimeException - Exception in cn.hutool.setting
-
设置异常
- SettingRuntimeException(Throwable) - Constructor for exception cn.hutool.setting.SettingRuntimeException
-
- SettingRuntimeException(String) - Constructor for exception cn.hutool.setting.SettingRuntimeException
-
- SettingRuntimeException(String, Object...) - Constructor for exception cn.hutool.setting.SettingRuntimeException
-
- SettingRuntimeException(String, Throwable) - Constructor for exception cn.hutool.setting.SettingRuntimeException
-
- SettingRuntimeException(Throwable, String, Object...) - Constructor for exception cn.hutool.setting.SettingRuntimeException
-
- settingUrl - Variable in class cn.hutool.setting.Setting
-
设定文件的URL
- SettingUtil - Class in cn.hutool.setting
-
Setting工具类
提供静态方法获取配置文件
- SettingUtil() - Constructor for class cn.hutool.setting.SettingUtil
-
- setTitle(String) - Method in class cn.hutool.extra.mail.Mail
-
设置标题
- setTmpUploadPath(String) - Method in class cn.hutool.core.net.multipart.UploadSetting
-
设定上传文件的临时目录,null表示使用系统临时目录
- setTos(String...) - Method in class cn.hutool.extra.mail.Mail
-
设置多个收件人
- setTotal(int) - Method in class cn.hutool.db.PageResult
-
设置总数
- setToTal(double) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setTotalPage(int) - Method in class cn.hutool.db.PageResult
-
设置总页数
- setTransactionIsolation(int) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setTransactionIsolation(int) - Method in class cn.hutool.db.Session
-
设置事务的隔离级别
Connection.TRANSACTION_NONE 驱动不支持事务
Connection.TRANSACTION_READ_UNCOMMITTED 允许脏读、不可重复读和幻读
Connection.TRANSACTION_READ_COMMITTED 禁止脏读,但允许不可重复读和幻读
Connection.TRANSACTION_REPEATABLE_READ 禁止脏读和不可重复读,单运行幻读
Connection.TRANSACTION_SERIALIZABLE 禁止脏读、不可重复读和幻读
- setTransientSupport(boolean) - Method in class cn.hutool.core.bean.copier.CopyOptions
-
设置是否支持transient关键字修饰和@Transient注解,如果支持,被修饰的字段或方法对应的字段将被忽略。
- setTransientSupport(boolean) - Method in class cn.hutool.json.JSONConfig
-
设置是否支持transient关键字修饰和@Transient注解,如果支持,被修饰的字段或方法对应的字段将被忽略。
- setTransparent(Color) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets the transparent color for the last added frame
and any subsequent frames.
- setTransparent(Color, boolean) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Sets the transparent color for the last added frame
and any subsequent frames.
- setTrustManagers(TrustManager...) - Method in class cn.hutool.core.net.SSLContextBuilder
-
设置信任信息
- setTrustManagers(TrustManager...) - Method in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
设置信任信息
- setTryCount(int) - Method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
设置重试次数
- setType(int) - Method in class cn.hutool.db.meta.Column
-
设置类型,对应java.sql.Types中的类型
- setTypeMap(Map<String, Class<?>>) - Method in class cn.hutool.db.ds.pooled.ConnectionWraper
-
- setTypeName(String) - Method in class cn.hutool.db.meta.Column
-
设置类型名称
- setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class cn.hutool.core.thread.ThreadFactoryBuilder
-
设置未捕获异常的处理方式
- setUnicodeStream(int, InputStream, int) - Method in class cn.hutool.db.sql.StatementWrapper
-
Deprecated.
- setUrl(String) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setUrl(String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- setURL(int, URL) - Method in class cn.hutool.db.sql.StatementWrapper
-
- setUrl(String) - Method in class cn.hutool.http.HttpRequest
-
设置URL
- setUrl(UrlBuilder) - Method in class cn.hutool.http.HttpRequest
-
设置URL
- setUrl(String) - Method in class cn.hutool.http.webservice.SoapClient
-
设置Webservice请求地址
- setUrlHandler(URLStreamHandler) - Method in class cn.hutool.http.HttpRequest
-
- setUseBouncyCastle(boolean) - Static method in enum cn.hutool.crypto.GlobalBouncyCastleProvider
-
设置是否使用Bouncy Castle库
如果设置为false,表示强制关闭Bouncy Castle而使用JDK
- setUsed(double) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setUseGlobalSession(boolean) - Method in class cn.hutool.extra.mail.Mail
-
设置是否使用全局会话,默认为true
- setUser(String) - Method in class cn.hutool.db.ds.pooled.DbConfig
-
- setUser(String) - Method in class cn.hutool.db.ds.simple.SimpleDataSource
-
- setUser(String) - Method in class cn.hutool.extra.ftp.FtpConfig
-
- setUser(String) - Method in class cn.hutool.extra.mail.MailAccount
-
设置用户名
- setUser(String) - Method in class cn.hutool.extra.ssh.Connector
-
设定用户名
- setUserManager(UserManager) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
自定义用户管理器,一般用于使用配置文件配置用户信息
- setUsersConfig(File) - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
自定义用户信息配置文件,此方法会重置用户管理器
- setUseVar(boolean) - Method in class cn.hutool.setting.profile.Profile
-
设置是否使用变量
- setValue(Annotation, String, Object) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
设置新的注解的属性(字段)值
- setValue(Object, Object) - Method in class cn.hutool.core.bean.PropDesc
-
- setValue(Object, Object, boolean, boolean) - Method in class cn.hutool.core.bean.PropDesc
-
设置属性值,可以自动转换字段类型为目标类型
- setValue(Object) - Method in class cn.hutool.db.sql.Condition
-
设置值,不解析表达式
- setValue(Object, boolean) - Method in class cn.hutool.db.sql.Condition
-
设置值
- setValue(Object) - Method in class cn.hutool.extra.validation.BeanValidationResult.ErrorMessage
-
- SetValueMap<K,V> - Class in cn.hutool.core.map.multi
-
值作为集合Set(LinkedHashSet)的Map实现,通过调用putValue可以在相同key时加入多个值,多个值用集合表示
- SetValueMap() - Constructor for class cn.hutool.core.map.multi.SetValueMap
-
构造
- SetValueMap(int) - Constructor for class cn.hutool.core.map.multi.SetValueMap
-
构造
- SetValueMap(Map<? extends K, ? extends Collection<V>>) - Constructor for class cn.hutool.core.map.multi.SetValueMap
-
构造
- SetValueMap(float, Map<? extends K, ? extends Collection<V>>) - Constructor for class cn.hutool.core.map.multi.SetValueMap
-
构造
- SetValueMap(int, float) - Constructor for class cn.hutool.core.map.multi.SetValueMap
-
构造
- setVarRegex(String) - Method in class cn.hutool.setting.Setting
-
设置变量的正则
正则只能有一个group表示变量本身,剩余为字符 例如 \$\{(name)\}表示${name}变量名为name的一个变量表示
- setVarRegex(String) - Method in class cn.hutool.setting.SettingLoader
-
设置变量的正则
正则只能有一个group表示变量本身,剩余为字符 例如 \$\{(name)\}表示${name}变量名为name的一个变量表示
- setVersion(String) - Method in class cn.hutool.http.useragent.UserAgent
-
设置浏览器版本
- setWait(double) - Method in class cn.hutool.system.oshi.CpuInfo
-
- setWatcher(Watcher) - Method in class cn.hutool.core.io.watch.WatchMonitor
-
- setWeight(Comparable<?>) - Method in interface cn.hutool.core.lang.tree.Node
-
设置权重
- setWeight(Comparable<?>) - Method in class cn.hutool.core.lang.tree.Tree
-
- setWeight(Comparable<?>) - Method in class cn.hutool.core.lang.tree.TreeNode
-
- setWeightKey(String) - Method in class cn.hutool.core.lang.tree.TreeNodeConfig
-
设置权重对应的名称
- setWhere(Condition...) - Method in class cn.hutool.db.sql.Query
-
设置条件语句
- setWidth(int) - Method in class cn.hutool.extra.qrcode.QrConfig
-
设置宽度
- setWithEndTag(boolean) - Method in class cn.hutool.core.net.url.UrlPath
-
是否path的末尾加 /
- setWorkQueue(BlockingQueue<Runnable>) - Method in class cn.hutool.core.thread.ExecutorBuilder
-
设置队列,用于存在未执行的线程
可选队列有:
- setWrapper(Character) - Method in class cn.hutool.db.AbstractDb
-
设置包装器,包装器用于对表名、字段名进行符号包装(例如双引号),防止关键字与这些表名或字段冲突
- setWrapper(Wrapper) - Method in class cn.hutool.db.AbstractDb
-
设置包装器,包装器用于对表名、字段名进行符号包装(例如双引号),防止关键字与这些表名或字段冲突
- setWrapper(Character) - Method in class cn.hutool.db.Db
-
- setWrapper(Wrapper) - Method in class cn.hutool.db.Db
-
- setWrapper(Wrapper) - Method in interface cn.hutool.db.dialect.Dialect
-
设置包装器
- setWrapper(Wrapper) - Method in class cn.hutool.db.dialect.impl.AnsiSqlDialect
-
- setWrapper(Character) - Method in class cn.hutool.db.DialectRunner
-
设置包装器,包装器用于对表名、字段名进行符号包装(例如双引号),防止关键字与这些表名或字段冲突
- setWrapper(Wrapper) - Method in class cn.hutool.db.DialectRunner
-
设置包装器,包装器用于对表名、字段名进行符号包装(例如双引号),防止关键字与这些表名或字段冲突
- setWrapper(Character) - Method in class cn.hutool.db.Session
-
- setWrapper(Wrapper) - Method in class cn.hutool.db.Session
-
- setWrapper(Character) - Method in class cn.hutool.db.SqlRunner
-
Deprecated.
- setWrapper(Wrapper) - Method in class cn.hutool.db.SqlRunner
-
Deprecated.
- setWrapText() - Method in class cn.hutool.poi.excel.StyleSet
-
设置单元格文本自动换行
- setWriteBufferSize(int) - Method in class cn.hutool.socket.SocketConfig
-
设置写出缓存大小
- setWriteTimeout(long) - Method in class cn.hutool.socket.SocketConfig
-
设置写出超时时长,小于等于0表示默认
- setX(int) - Method in class cn.hutool.poi.excel.cell.CellLocation
-
- setY(int) - Method in class cn.hutool.poi.excel.cell.CellLocation
-
- Seven7EntryInputStream - Class in cn.hutool.extra.compress.extractor
-
7z解压中文件流读取的封装
- Seven7EntryInputStream(SevenZFile, SevenZArchiveEntry) - Constructor for class cn.hutool.extra.compress.extractor.Seven7EntryInputStream
-
构造
- SevenZArchiver - Class in cn.hutool.extra.compress.archiver
-
7zip格式的归档封装
- SevenZArchiver(File) - Constructor for class cn.hutool.extra.compress.archiver.SevenZArchiver
-
构造
- SevenZArchiver(OutputStream) - Constructor for class cn.hutool.extra.compress.archiver.SevenZArchiver
-
构造
- SevenZArchiver(SeekableByteChannel) - Constructor for class cn.hutool.extra.compress.archiver.SevenZArchiver
-
构造
- Sftp - Class in cn.hutool.extra.ssh
-
SFTP是Secure File Transfer Protocol的缩写,安全文件传送协议。可以为传输文件提供一种安全的加密方法。
SFTP 为 SSH的一部份,是一种传输文件到服务器的安全方式。SFTP是使用加密传输认证信息和传输的数据,所以,使用SFTP是非常安全的。
但是,由于这种传输方式使用了加密/解密技术,所以传输效率比普通的FTP要低得多,如果您对网络安全性要求更高时,可以使用SFTP代替FTP。
- Sftp(String, int, String, String) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp(String, int, String, String, Charset) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp(FtpConfig) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp(Session) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp(Session, Charset) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp(ChannelSftp, Charset) - Constructor for class cn.hutool.extra.ssh.Sftp
-
构造
- Sftp.Mode - Enum in cn.hutool.extra.ssh
-
JSch支持的三种文件传输模式
- sha1(byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值
- sha1(String, String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值
- sha1(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算sha1摘要值,使用UTF-8编码
- sha1(InputStream) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值
- sha1(File) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值
- sha1() - Static method in class cn.hutool.crypto.SecureUtil
-
SHA1加密
例:
SHA1加密:sha1().digest(data)
SHA1加密并转为16进制字符串:sha1().digestHex(data)
- sha1(String) - Static method in class cn.hutool.crypto.SecureUtil
-
SHA1加密,生成16进制SHA1字符串
- sha1(InputStream) - Static method in class cn.hutool.crypto.SecureUtil
-
SHA1加密,生成16进制SHA1字符串
- sha1(File) - Static method in class cn.hutool.crypto.SecureUtil
-
SHA1加密文件,生成16进制SHA1字符串
- sha1Hex(byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha1Hex(String, String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha1Hex(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha1Hex(InputStream) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha1Hex(File) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha256(byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值
- sha256(String, String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值
- sha256(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算sha256摘要值,使用UTF-8编码
- sha256(InputStream) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值
- sha256(File) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值
- sha256() - Static method in class cn.hutool.crypto.SecureUtil
-
SHA256加密
例:
SHA256加密:sha256().digest(data)
SHA256加密并转为16进制字符串:sha256().digestHex(data)
- sha256(String) - Static method in class cn.hutool.crypto.SecureUtil
-
SHA256加密,生成16进制SHA256字符串
- sha256(InputStream) - Static method in class cn.hutool.crypto.SecureUtil
-
SHA256加密,生成16进制SHA256字符串
- sha256(File) - Static method in class cn.hutool.crypto.SecureUtil
-
SHA256加密文件,生成16进制SHA256字符串
- sha256Hex(byte[]) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha256Hex(String, String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值,并转为16进制字符串
- sha256Hex(String) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值,并转为16进制字符串
- sha256Hex(InputStream) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值,并转为16进制字符串
- sha256Hex(File) - Static method in class cn.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值,并转为16进制字符串
- sharedStringsTable - Variable in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
- ShearCaptcha - Class in cn.hutool.captcha
-
扭曲干扰验证码
- ShearCaptcha(int, int) - Constructor for class cn.hutool.captcha.ShearCaptcha
-
构造
- ShearCaptcha(int, int, int) - Constructor for class cn.hutool.captcha.ShearCaptcha
-
构造
- ShearCaptcha(int, int, int, int) - Constructor for class cn.hutool.captcha.ShearCaptcha
-
构造
- sheet - Variable in class cn.hutool.poi.excel.ExcelBase
-
Excel中对应的Sheet
- SheetDataSaxHandler - Class in cn.hutool.poi.excel.sax
-
sheetData标签内容读取处理器
- SheetDataSaxHandler(RowHandler) - Constructor for class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
- sheetIndex - Variable in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
- SheetReader<T> - Interface in cn.hutool.poi.excel.reader
-
Excel Sheet
读取接口,通过实现此接口,将Sheet
中的数据读取为不同类型。
- SheetRidReader - Class in cn.hutool.poi.excel.sax
-
在Sax方式读取Excel时,读取sheet标签中sheetId和rid的对应关系,类似于:
- SheetRidReader() - Constructor for class cn.hutool.poi.excel.sax.SheetRidReader
-
- SHORT - Static variable in class cn.hutool.core.date.format.FastDateFormat
-
SHORT locale dependent date or time style.
- shortSummary() - Method in class cn.hutool.core.date.StopWatch
-
获取任务信息
- shortToBytes(short) - Static method in class cn.hutool.core.convert.Convert
-
short转byte数组
- shortValue() - Method in class cn.hutool.core.lang.mutable.MutableShort
-
- shuffle(T[]) - Static method in class cn.hutool.core.util.ArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(T[], Random) - Static method in class cn.hutool.core.util.ArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(int[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(int[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(long[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(long[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(double[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(double[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(float[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(float[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(boolean[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(boolean[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(byte[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(byte[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(char[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(char[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(short[]) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shuffle(short[], Random) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
打乱数组顺序,会变更原数组
- shutdown() - Method in enum cn.hutool.cache.GlobalPruneTimer
-
销毁全局定时器
- shutdown() - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- shutdown(boolean) - Static method in class cn.hutool.core.thread.GlobalThreadPool
-
关闭公共线程池
- shutdownNow() - Method in enum cn.hutool.cache.GlobalPruneTimer
-
销毁全局定时器
- shutdownNow() - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- Sign - Class in cn.hutool.crypto.asymmetric
-
- Sign(SignAlgorithm) - Constructor for class cn.hutool.crypto.asymmetric.Sign
-
构造,创建新的私钥公钥对
- Sign(String) - Constructor for class cn.hutool.crypto.asymmetric.Sign
-
构造,创建新的私钥公钥对
- Sign(SignAlgorithm, String, String) - Constructor for class cn.hutool.crypto.asymmetric.Sign
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- Sign(SignAlgorithm, byte[], byte[]) - Constructor for class cn.hutool.crypto.asymmetric.Sign
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- Sign(SignAlgorithm, KeyPair) - Constructor for class cn.hutool.crypto.asymmetric.Sign
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- Sign(SignAlgorithm, PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.Sign
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- Sign(String, String, String) - Constructor for class cn.hutool.crypto.asymmetric.Sign
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- Sign(String, byte[], byte[]) - Constructor for class cn.hutool.crypto.asymmetric.Sign
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- Sign(String, KeyPair) - Constructor for class cn.hutool.crypto.asymmetric.Sign
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- Sign(String, PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.Sign
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- sign(byte[]) - Method in class cn.hutool.crypto.asymmetric.Sign
-
用私钥对信息生成数字签名
- sign(byte[]) - Method in class cn.hutool.crypto.asymmetric.SM2
-
- sign(byte[], byte[]) - Method in class cn.hutool.crypto.asymmetric.SM2
-
- sign(SignAlgorithm) - Static method in class cn.hutool.crypto.SecureUtil
-
创建签名算法对象
生成新的私钥公钥对
- sign(SignAlgorithm, String, String) - Static method in class cn.hutool.crypto.SecureUtil
-
创建签名算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- sign(SignAlgorithm, byte[], byte[]) - Static method in class cn.hutool.crypto.SecureUtil
-
创建Sign算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- SignAlgorithm - Enum in cn.hutool.crypto.asymmetric
-
签名算法类型
see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#Signature
- signature - Variable in class cn.hutool.crypto.asymmetric.Sign
-
签名,用于签名和验证
- signer - Variable in class cn.hutool.crypto.asymmetric.SM2
-
- signHex(String) - Method in class cn.hutool.crypto.asymmetric.SM2
-
用私钥对信息生成数字签名
- signHex(String, String) - Method in class cn.hutool.crypto.asymmetric.SM2
-
用私钥对信息生成数字签名
- signParams(SymmetricCrypto, Map<?, ?>, String...) - Static method in class cn.hutool.crypto.SecureUtil
-
对参数做签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
拼接后的字符串键值对之间无符号,键值对之间无符号,忽略null值
- signParams(SymmetricCrypto, Map<?, ?>, String, String, boolean, String...) - Static method in class cn.hutool.crypto.SecureUtil
-
对参数做签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
- signParams(DigestAlgorithm, Map<?, ?>, String...) - Static method in class cn.hutool.crypto.SecureUtil
-
对参数做签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
拼接后的字符串键值对之间无符号,键值对之间无符号,忽略null值
- signParams(DigestAlgorithm, Map<?, ?>, String, String, boolean, String...) - Static method in class cn.hutool.crypto.SecureUtil
-
对参数做签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
- signParamsMd5(Map<?, ?>, String...) - Static method in class cn.hutool.crypto.SecureUtil
-
对参数做md5签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
拼接后的字符串键值对之间无符号,键值对之间无符号,忽略null值
- signParamsSha1(Map<?, ?>, String...) - Static method in class cn.hutool.crypto.SecureUtil
-
对参数做Sha1签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
拼接后的字符串键值对之间无符号,键值对之间无符号,忽略null值
- signParamsSha256(Map<?, ?>, String...) - Static method in class cn.hutool.crypto.SecureUtil
-
对参数做Sha256签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
拼接后的字符串键值对之间无符号,键值对之间无符号,忽略null值
- Simhash - Class in cn.hutool.core.text
-
Simhash是一种局部敏感hash,用于海量文本去重。
算法实现来自:https://github.com/xlturing/Simhash4J
- Simhash() - Constructor for class cn.hutool.core.text.Simhash
-
构造
- Simhash(int, int) - Constructor for class cn.hutool.core.text.Simhash
-
构造
- similar(String, String) - Static method in class cn.hutool.core.text.TextSimilarity
-
计算相似度,两个都是空串相似度为1,被认为是相同的串
- similar(String, String, int) - Static method in class cn.hutool.core.text.TextSimilarity
-
计算相似度百分比
- similar(String, String) - Static method in class cn.hutool.core.util.StrUtil
-
计算两个字符串的相似度
- similar(String, String, int) - Static method in class cn.hutool.core.util.StrUtil
-
计算两个字符串的相似度百分比
- SIMPLE_MONTH_FORMAT - Static variable in class cn.hutool.core.date.DatePattern
-
- SIMPLE_MONTH_FORMATTER - Static variable in class cn.hutool.core.date.DatePattern
-
- SIMPLE_MONTH_PATTERN - Static variable in class cn.hutool.core.date.DatePattern
-
简单年月格式:yyyyMM
- SimpleAspect - Class in cn.hutool.aop.aspects
-
简单切面类,不做任何操作
可以继承此类实现自己需要的方法即可
- SimpleAspect() - Constructor for class cn.hutool.aop.aspects.SimpleAspect
-
- SimpleCache<K,V> - Class in cn.hutool.core.lang
-
- SimpleCache() - Constructor for class cn.hutool.core.lang.SimpleCache
-
- SimpleCache(Map<K, V>) - Constructor for class cn.hutool.core.lang.SimpleCache
-
构造
- SimpleDataSource - Class in cn.hutool.db.ds.simple
-
简易数据源,没有使用连接池,仅供测试或打开关闭连接非常少的场合使用!
- SimpleDataSource() - Constructor for class cn.hutool.db.ds.simple.SimpleDataSource
-
构造
- SimpleDataSource(String) - Constructor for class cn.hutool.db.ds.simple.SimpleDataSource
-
构造
- SimpleDataSource(Setting, String) - Constructor for class cn.hutool.db.ds.simple.SimpleDataSource
-
构造
- SimpleDataSource(String, String, String) - Constructor for class cn.hutool.db.ds.simple.SimpleDataSource
-
构造
- SimpleDataSource(String, String, String, String) - Constructor for class cn.hutool.db.ds.simple.SimpleDataSource
-
构造
- SimpleDSFactory - Class in cn.hutool.db.ds.simple
-
简单数据源工厂类
- SimpleDSFactory() - Constructor for class cn.hutool.db.ds.simple.SimpleDSFactory
-
- SimpleDSFactory(Setting) - Constructor for class cn.hutool.db.ds.simple.SimpleDSFactory
-
- SimpleFilter - Class in cn.hutool.http.server.filter
-
匿名简单过滤器,跳过了描述
- SimpleFilter() - Constructor for class cn.hutool.http.server.filter.SimpleFilter
-
- SimpleFtpServer - Class in cn.hutool.extra.ftp
-
基于 Apache FtpServer(http://mina.apache.org/ftpserver-project/)的FTP服务端简单封装。
- SimpleFtpServer() - Constructor for class cn.hutool.extra.ftp.SimpleFtpServer
-
构造
- SimpleIoAction - Class in cn.hutool.socket.aio
-
简易IO信息处理类
简单实现了accept和failed事件
- SimpleIoAction() - Constructor for class cn.hutool.socket.aio.SimpleIoAction
-
- SimpleServer - Class in cn.hutool.http.server
-
简易Http服务器,基于HttpServer
- SimpleServer(int) - Constructor for class cn.hutool.http.server.SimpleServer
-
构造
- SimpleServer(String, int) - Constructor for class cn.hutool.http.server.SimpleServer
-
构造
- SimpleServer(InetSocketAddress) - Constructor for class cn.hutool.http.server.SimpleServer
-
构造
- SimpleServer(InetSocketAddress, HttpsConfigurator) - Constructor for class cn.hutool.http.server.SimpleServer
-
构造
- SimpleStringResourceLoader - Class in cn.hutool.extra.template.engine.velocity
-
ResourceLoader
的字符串实现形式
用于直接获取字符串模板
- SimpleStringResourceLoader() - Constructor for class cn.hutool.extra.template.engine.velocity.SimpleStringResourceLoader
-
- SimpleStringTemplateLoader - Class in cn.hutool.extra.template.engine.freemarker
-
TemplateLoader
字符串实现形式
用于直接获取字符串模板
- SimpleStringTemplateLoader() - Constructor for class cn.hutool.extra.template.engine.freemarker.SimpleStringTemplateLoader
-
- SimpleTaskListener - Class in cn.hutool.cron.listener
-
简单监听实现,不做任何操作
继承此监听后实现需要的方法即可
- SimpleTaskListener() - Constructor for class cn.hutool.cron.listener.SimpleTaskListener
-
- simpleUUID() - Static method in class cn.hutool.core.util.IdUtil
-
简化的UUID,去掉了横线
- simpleUUID() - Static method in class cn.hutool.core.util.RandomUtil
-
- simpleUUID() - Static method in class cn.hutool.crypto.SecureUtil
-
- SimpleValueParser - Class in cn.hutool.cron.pattern.parser
-
简易值转换器。将给定String值转为int
- SimpleValueParser(int, int) - Constructor for class cn.hutool.cron.pattern.parser.SimpleValueParser
-
构造
- SimpleWatcher - Class in cn.hutool.core.io.watch
-
空白WatchListener
用户继承此类后实现需要监听的方法
- SimpleWatcher() - Constructor for class cn.hutool.core.io.watch.SimpleWatcher
-
- SINGLE_QUOTE - Static variable in class cn.hutool.core.util.CharUtil
-
字符常量:单引号 '\''
- Singleton - Class in cn.hutool.core.lang
-
单例类
提供单例对象的统一管理,当调用get方法时,如果对象池中存在此对象,返回此对象,否则创建新对象返回
- size - Variable in class cn.hutool.bloomfilter.filter.AbstractFilter
-
- size() - Method in interface cn.hutool.cache.Cache
-
缓存的对象数量
- size() - Method in class cn.hutool.cache.impl.AbstractCache
-
- size() - Method in class cn.hutool.cache.impl.NoCache
-
- size(Object) - Static method in class cn.hutool.core.collection.CollUtil
-
获取Collection或者iterator的大小,此方法可以处理的对象类型如下:
Collection - the collection size
Map - the map size
Array - the array size
Iterator - the number of elements remaining in the iterator
Enumeration - the number of elements remaining in the enumeration
- size() - Method in class cn.hutool.core.collection.ConcurrentHashSet
-
- size(Iterable<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
返回 Iterable 对象的元素数量
- size(Iterator<?>) - Static method in class cn.hutool.core.collection.IterUtil
-
返回 Iterator 对象的元素数量
- size() - Method in class cn.hutool.core.collection.TransCollection
-
- size() - Method in class cn.hutool.core.comparator.ComparatorChain
-
比较器链中比较器个数
- size() - Method in class cn.hutool.core.io.FastByteArrayOutputStream
-
- size() - Method in class cn.hutool.core.io.FastByteBuffer
-
- size(File) - Static method in class cn.hutool.core.io.FileUtil
-
计算目录或文件的总大小
当给定对象为文件时,直接调用
File.length()
当给定对象为目录时,遍历目录下的所有文件和目录,递归计算其大小,求和返回
- size() - Method in class cn.hutool.core.map.MapProxy
-
- size() - Method in class cn.hutool.core.map.MapWrapper
-
- size() - Method in class cn.hutool.core.map.TableMap
-
- size() - Method in class cn.hutool.core.net.multipart.UploadFile
-
- size() - Method in class cn.hutool.core.text.csv.CsvRow
-
- size() - Method in class cn.hutool.cron.Scheduler
-
当前任务数
- size() - Method in class cn.hutool.cron.TaskTable
-
任务表大小,加入的任务数
- size() - Method in class cn.hutool.json.JSONArray
-
- size() - Method in class cn.hutool.json.JSONObject
-
- size() - Method in class cn.hutool.setting.GroupedMap
-
总的键值对数
- size() - Method in class cn.hutool.setting.Setting
-
键值总数
- sizeSet - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- skip() - Method in class cn.hutool.core.img.gif.GifDecoder
-
Skips variable length blocks up to and including
next zero length block.
- skip(long) - Method in class cn.hutool.http.HttpInputStream
-
- skipBytes(int) - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
跳过指定位数的 bytes.
- skipEmptyRows - Variable in class cn.hutool.core.text.csv.CsvReadConfig
-
是否跳过空白行,默认true
- skipPast(String) - Method in class cn.hutool.json.XMLTokener
-
Skip characters until past the requested string.
- skipTo(char) - Method in class cn.hutool.json.JSONTokener
-
Skip characters until the next character is the requested character.
- skipToBoundary() - Method in class cn.hutool.core.net.multipart.MultipartRequestInputStream
-
跳过边界表示
- SLASH - Static variable in class cn.hutool.core.util.CharUtil
-
字符常量:斜杠 '/'
- SLASH - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:斜杠 "/"
- SLASH - Static variable in class cn.hutool.json.XML
-
The Character '/'.
- sleep(Number, TimeUnit) - Static method in class cn.hutool.core.thread.ThreadUtil
-
挂起当前线程
- sleep(Number) - Static method in class cn.hutool.core.thread.ThreadUtil
-
挂起当前线程
- sleep(long) - Static method in class cn.hutool.core.thread.ThreadUtil
-
挂起当前线程
- Slf4jLog - Class in cn.hutool.log.dialect.slf4j
-
- Slf4jLog(Logger) - Constructor for class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- Slf4jLog(Class<?>) - Constructor for class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- Slf4jLog(String) - Constructor for class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- Slf4jLogFactory - Class in cn.hutool.log.dialect.slf4j
-
- Slf4jLogFactory() - Constructor for class cn.hutool.log.dialect.slf4j.Slf4jLogFactory
-
- Slf4jLogFactory(boolean) - Constructor for class cn.hutool.log.dialect.slf4j.Slf4jLogFactory
-
构造
- slice(File, File, int, int) - Static method in class cn.hutool.core.img.ImgUtil
-
图像切片(指定切片的宽度和高度)
- slice(Image, File, int, int) - Static method in class cn.hutool.core.img.ImgUtil
-
图像切片(指定切片的宽度和高度)
- sliceByRowsAndCols(File, File, int, int) - Static method in class cn.hutool.core.img.ImgUtil
-
图像切割(指定切片的行数和列数)
- sliceByRowsAndCols(Image, File, int, int) - Static method in class cn.hutool.core.img.ImgUtil
-
图像切割(指定切片的行数和列数)
- SM2 - Class in cn.hutool.crypto.asymmetric
-
国密SM2算法实现,基于BC库
SM2算法只支持公钥加密,私钥解密
参考:https://blog.csdn.net/pridas/article/details/86118774
- SM2() - Constructor for class cn.hutool.crypto.asymmetric.SM2
-
构造,生成新的私钥公钥对
- SM2(String, String) - Constructor for class cn.hutool.crypto.asymmetric.SM2
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- SM2(byte[], byte[]) - Constructor for class cn.hutool.crypto.asymmetric.SM2
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- SM2(PrivateKey, PublicKey) - Constructor for class cn.hutool.crypto.asymmetric.SM2
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- SM2(String, String, String) - Constructor for class cn.hutool.crypto.asymmetric.SM2
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- SM2(byte[], byte[], byte[]) - Constructor for class cn.hutool.crypto.asymmetric.SM2
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- SM2(ECPrivateKeyParameters, ECPublicKeyParameters) - Constructor for class cn.hutool.crypto.asymmetric.SM2
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- sm2() - Static method in class cn.hutool.crypto.SmUtil
-
创建SM2算法对象
生成新的私钥公钥对
- sm2(String, String) - Static method in class cn.hutool.crypto.SmUtil
-
创建SM2算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- sm2(byte[], byte[]) - Static method in class cn.hutool.crypto.SmUtil
-
创建SM2算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- sm2(PrivateKey, PublicKey) - Static method in class cn.hutool.crypto.SmUtil
-
创建SM2算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- sm2(ECPrivateKeyParameters, ECPublicKeyParameters) - Static method in class cn.hutool.crypto.SmUtil
-
创建SM2算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- SM2_CURVE_NAME - Static variable in class cn.hutool.crypto.SmUtil
-
SM2默认曲线
- SM2_DEFAULT_CURVE - Static variable in class cn.hutool.crypto.KeyUtil
-
SM2默认曲线
- SM2_DOMAIN_PARAMS - Static variable in class cn.hutool.crypto.SmUtil
-
SM2推荐曲线参数(来自https://github.com/ZZMarquis/gmhelper)
- SM3 - Class in cn.hutool.crypto.digest
-
SM3杂凑算法
- SM3() - Constructor for class cn.hutool.crypto.digest.SM3
-
构造
- SM3(byte[]) - Constructor for class cn.hutool.crypto.digest.SM3
-
构造
- SM3(byte[], int) - Constructor for class cn.hutool.crypto.digest.SM3
-
构造
- SM3(byte[], int, int) - Constructor for class cn.hutool.crypto.digest.SM3
-
构造
- sm3() - Static method in class cn.hutool.crypto.SmUtil
-
SM3加密
例:
SM3加密:sm3().digest(data)
SM3加密并转为16进制字符串:sm3().digestHex(data)
- sm3(String) - Static method in class cn.hutool.crypto.SmUtil
-
SM3加密,生成16进制SM3字符串
- sm3(InputStream) - Static method in class cn.hutool.crypto.SmUtil
-
SM3加密,生成16进制SM3字符串
- sm3(File) - Static method in class cn.hutool.crypto.SmUtil
-
SM3加密文件,生成16进制SM3字符串
- sm4() - Static method in class cn.hutool.crypto.SmUtil
-
- sm4(byte[]) - Static method in class cn.hutool.crypto.SmUtil
-
SM4加密
例:
- SM4 - Class in cn.hutool.crypto.symmetric
-
SM4实现
- SM4() - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造,使用随机密钥
- SM4(byte[]) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- SM4(Mode, Padding) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造,使用随机密钥
- SM4(Mode, Padding, byte[]) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- SM4(Mode, Padding, byte[], byte[]) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- SM4(Mode, Padding, SecretKey) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- SM4(Mode, Padding, SecretKey, byte[]) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- SM4(Mode, Padding, SecretKey, IvParameterSpec) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- SM4(String, String) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- SM4(String, String, byte[]) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- SM4(String, String, byte[], byte[]) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- SM4(String, String, SecretKey) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- SM4(String, String, SecretKey, IvParameterSpec) - Constructor for class cn.hutool.crypto.symmetric.SM4
-
构造
- SmartcnEngine - Class in cn.hutool.extra.tokenizer.engine.analysis
-
Lucene-smartcn分词引擎实现
项目地址:https://github.com/apache/lucene-solr/tree/master/lucene/analysis/smartcn
- SmartcnEngine() - Constructor for class cn.hutool.extra.tokenizer.engine.analysis.SmartcnEngine
-
构造
- SmUtil - Class in cn.hutool.crypto
-
SM国密算法工具类
此工具类依赖org.bouncycastle:bcprov-jdk15to18
- SmUtil() - Constructor for class cn.hutool.crypto.SmUtil
-
- Snowflake - Class in cn.hutool.core.lang
-
Twitter的Snowflake 算法
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
- Snowflake(long, long) - Constructor for class cn.hutool.core.lang.Snowflake
-
构造
- Snowflake(long, long, boolean) - Constructor for class cn.hutool.core.lang.Snowflake
-
构造
- Snowflake(Date, long, long, boolean) - Constructor for class cn.hutool.core.lang.Snowflake
-
- SnowflakeGenerator - Class in cn.hutool.core.lang.generator
-
Snowflake生成器
注意,默认此生成器必须单例使用,否则会有重复
默认构造的终端ID和数据中心ID都为0,不适用于分布式环境。
- SnowflakeGenerator() - Constructor for class cn.hutool.core.lang.generator.SnowflakeGenerator
-
构造
- SnowflakeGenerator(long, long) - Constructor for class cn.hutool.core.lang.generator.SnowflakeGenerator
-
构造
- SoapClient - Class in cn.hutool.http.webservice
-
SOAP客户端
- SoapClient(String) - Constructor for class cn.hutool.http.webservice.SoapClient
-
构造,默认使用soap1.1版本协议
- SoapClient(String, SoapProtocol) - Constructor for class cn.hutool.http.webservice.SoapClient
-
构造
- SoapClient(String, SoapProtocol, String) - Constructor for class cn.hutool.http.webservice.SoapClient
-
构造
- SoapProtocol - Enum in cn.hutool.http.webservice
-
SOAP协议版本枚举
- SoapRuntimeException - Exception in cn.hutool.http.webservice
-
SOAP异常
- SoapRuntimeException(Throwable) - Constructor for exception cn.hutool.http.webservice.SoapRuntimeException
-
- SoapRuntimeException(String) - Constructor for exception cn.hutool.http.webservice.SoapRuntimeException
-
- SoapRuntimeException(String, Object...) - Constructor for exception cn.hutool.http.webservice.SoapRuntimeException
-
- SoapRuntimeException(String, Throwable) - Constructor for exception cn.hutool.http.webservice.SoapRuntimeException
-
- SoapRuntimeException(Throwable, String, Object...) - Constructor for exception cn.hutool.http.webservice.SoapRuntimeException
-
- SoapUtil - Class in cn.hutool.http.webservice
-
SOAP相关工具类
- SoapUtil() - Constructor for class cn.hutool.http.webservice.SoapUtil
-
- SocketConfig - Class in cn.hutool.socket
-
Socket通讯配置
- SocketConfig() - Constructor for class cn.hutool.socket.SocketConfig
-
- SocketRuntimeException - Exception in cn.hutool.socket
-
Socket异常
- SocketRuntimeException(Throwable) - Constructor for exception cn.hutool.socket.SocketRuntimeException
-
- SocketRuntimeException(String) - Constructor for exception cn.hutool.socket.SocketRuntimeException
-
- SocketRuntimeException(String, Object...) - Constructor for exception cn.hutool.socket.SocketRuntimeException
-
- SocketRuntimeException(String, Throwable) - Constructor for exception cn.hutool.socket.SocketRuntimeException
-
- SocketRuntimeException(Throwable, String, Object...) - Constructor for exception cn.hutool.socket.SocketRuntimeException
-
- SocketUtil - Class in cn.hutool.socket
-
Socket相关工具类
- SocketUtil() - Constructor for class cn.hutool.socket.SocketUtil
-
- SolarTerms - Class in cn.hutool.core.date.chinese
-
24节气相关信息
- SolarTerms() - Constructor for class cn.hutool.core.date.chinese.SolarTerms
-
- sort(Collection<T>, Comparator<? super T>) - Static method in class cn.hutool.core.collection.CollUtil
-
排序集合,排序不会修改原集合
- sort(List<T>, Comparator<? super T>) - Static method in class cn.hutool.core.collection.CollUtil
-
针对List排序,排序会修改原List
- sort(Map<K, V>, Comparator<? super K>) - Static method in class cn.hutool.core.collection.CollUtil
-
排序Map
- sort(List<T>, Comparator<? super T>) - Static method in class cn.hutool.core.collection.ListUtil
-
针对List排序,排序会修改原List
- sort(Map<K, V>) - Static method in class cn.hutool.core.map.MapUtil
-
排序已有Map,Key有序的Map,使用默认Key排序方式(字母顺序)
- sort(Map<K, V>, Comparator<? super K>) - Static method in class cn.hutool.core.map.MapUtil
-
排序已有Map,Key有序的Map
- sortByEntry(Map<K, V>, Comparator<Map.Entry<K, V>>) - Static method in class cn.hutool.core.collection.CollUtil
-
通过Entry排序,可以按照键排序,也可以按照值排序,亦或者两者综合排序
- sortByPinyin(Collection<String>) - Static method in class cn.hutool.core.collection.CollUtil
-
根据汉字的拼音顺序排序
- sortByPinyin(List<String>) - Static method in class cn.hutool.core.collection.CollUtil
-
根据汉字的拼音顺序排序
- sortByPinyin(List<String>) - Static method in class cn.hutool.core.collection.ListUtil
-
根据汉字的拼音顺序排序
- sortByProperty(Collection<T>, String) - Static method in class cn.hutool.core.collection.CollUtil
-
根据Bean的属性排序
- sortByProperty(List<T>, String) - Static method in class cn.hutool.core.collection.CollUtil
-
根据Bean的属性排序
- sortByProperty(List<T>, String) - Static method in class cn.hutool.core.collection.ListUtil
-
根据Bean的属性排序
- sortByValue(Map<K, V>, boolean) - Static method in class cn.hutool.core.map.MapUtil
-
按照值排序,可选是否倒序
- sortEntryToList(Collection<Map.Entry<K, V>>) - Static method in class cn.hutool.core.collection.CollUtil
-
将Set排序(根据Entry的值)
- sortJoin(Map<?, ?>, String, String, boolean, String...) - Static method in class cn.hutool.core.map.MapUtil
-
根据参数排序后拼接为字符串,常用于签名
- sortPageAll(int, int, Comparator<T>, Collection<T>...) - Static method in class cn.hutool.core.collection.CollUtil
-
- sortToMap(Collection<Map.Entry<K, V>>, Comparator<Map.Entry<K, V>>) - Static method in class cn.hutool.core.collection.CollUtil
-
通过Entry排序,可以按照键排序,也可以按照值排序,亦或者两者综合排序
- SPACE - Static variable in class cn.hutool.core.text.CharSequenceUtil
-
字符串常量:空格符 " "
- SPACE - Static variable in class cn.hutool.core.util.CharUtil
-
字符常量:空格符 ' '
- spawnExecutor(CronTask) - Method in class cn.hutool.cron.TaskExecutorManager
-
启动 执行器TaskExecutor,即启动作业
- spawnLauncher(long) - Method in class cn.hutool.cron.TaskLauncherManager
-
启动 TaskLauncher
- SPECIFICATION_NAME - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 运行时环境规范名称
- SPECIFICATION_NAME - Static variable in class cn.hutool.system.SystemUtil
-
Java 运行时环境规范名称的KEY
- SPECIFICATION_VENDOR - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 运行时环境规范供应商
- SPECIFICATION_VENDOR - Static variable in class cn.hutool.system.SystemUtil
-
Java 运行时环境规范供应商的KEY
- SPECIFICATION_VERSION - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 运行时环境规范版本
- SPECIFICATION_VERSION - Static variable in class cn.hutool.system.SystemUtil
-
Java 运行时环境规范版本的KEY
- SpELEngine - Class in cn.hutool.extra.expression.engine.spel
-
Spring-Expression引擎封装
见:https://github.com/spring-projects/spring-framework/tree/master/spring-expression
- SpELEngine() - Constructor for class cn.hutool.extra.expression.engine.spel.SpELEngine
-
构造
- spendMs(long) - Static method in class cn.hutool.core.date.DateUtil
-
计时,常用于记录某段代码的执行时间,单位:毫秒
- spendNt(long) - Static method in class cn.hutool.core.date.DateUtil
-
计时,常用于记录某段代码的执行时间,单位:纳秒
- split(Collection<T>, int) - Static method in class cn.hutool.core.collection.CollUtil
-
对集合按照指定长度分段,每一个段为单独的集合,返回这个集合的列表
- split(List<T>, int) - Static method in class cn.hutool.core.collection.ListUtil
-
对集合按照指定长度分段,每一个段为单独的集合,返回这个集合的列表
- split(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串
a#b#c =》 [a,b,c]
a##b#c =》 [a,"",b,c]
- split(CharSequence, char, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串,不去除切分后每个元素两边的空白符,不去除空白项
- split(CharSequence, char, boolean, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串,不限制分片数量
- split(CharSequence, char, int, boolean, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串
- split(CharSequence, CharSequence, int, boolean, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串
- split(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串,如果分隔符不存在则返回原字符串
- split(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
根据给定长度,将给定字符串截取为多个部分
- split(String, char, boolean, boolean) - Static method in class cn.hutool.core.text.StrSpliter
-
切分字符串
- split(String, char, int, boolean, boolean) - Static method in class cn.hutool.core.text.StrSpliter
-
切分字符串,大小写敏感
- split(String, char, int, boolean, boolean, boolean) - Static method in class cn.hutool.core.text.StrSpliter
-
切分字符串
- split(String, String, boolean, boolean) - Static method in class cn.hutool.core.text.StrSpliter
-
切分字符串,不忽略大小写
- split(String, String, int, boolean, boolean) - Static method in class cn.hutool.core.text.StrSpliter
-
切分字符串,不忽略大小写
- split(String, String, int, boolean, boolean, boolean) - Static method in class cn.hutool.core.text.StrSpliter
-
切分字符串
- split(String, int) - Static method in class cn.hutool.core.text.StrSpliter
-
使用空白符切分字符串
切分后的字符串两边不包含空白符,空串或空白符串并不做为元素之一
- split(String, Pattern, int, boolean, boolean) - Static method in class cn.hutool.core.text.StrSpliter
-
通过正则切分字符串
- split(byte[], int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
拆分byte数组为几个等份(最后一份可能小于len)
- splitByLength(String, int) - Static method in class cn.hutool.core.text.StrSpliter
-
根据给定长度,将给定字符串截取为多个部分
- splitByRegex(String, String, int, boolean, boolean) - Static method in class cn.hutool.core.text.StrSpliter
-
通过正则切分字符串
- spliterator() - Method in class cn.hutool.core.collection.TransCollection
-
- SpliteratorUtil - Class in cn.hutool.core.collection
-
- SpliteratorUtil() - Constructor for class cn.hutool.core.collection.SpliteratorUtil
-
- splitIgnoreCase(String, char, int, boolean, boolean) - Static method in class cn.hutool.core.text.StrSpliter
-
切分字符串,忽略大小写
- splitIgnoreCase(String, String, int, boolean, boolean) - Static method in class cn.hutool.core.text.StrSpliter
-
切分字符串,忽略大小写
- splitList(List<T>, int) - Static method in class cn.hutool.core.collection.CollUtil
-
对集合按照指定长度分段,每一个段为单独的集合,返回这个集合的列表
- splitPath(String) - Static method in class cn.hutool.core.text.StrSpliter
-
切分字符串路径,仅支持Unix分界符:/
- splitPath(String, int) - Static method in class cn.hutool.core.text.StrSpliter
-
切分字符串路径,仅支持Unix分界符:/
- splitPathToArray(String) - Static method in class cn.hutool.core.text.StrSpliter
-
切分字符串路径,仅支持Unix分界符:/
- splitPathToArray(String, int) - Static method in class cn.hutool.core.text.StrSpliter
-
切分字符串路径,仅支持Unix分界符:/
- splitToArray(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串
- splitToArray(CharSequence, char, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串
- splitToArray(String, char, int, boolean, boolean) - Static method in class cn.hutool.core.text.StrSpliter
-
切分字符串为字符串数组
- splitToArray(String, String, int, boolean, boolean) - Static method in class cn.hutool.core.text.StrSpliter
-
切分字符串为字符串数组
- splitToArray(String, int) - Static method in class cn.hutool.core.text.StrSpliter
-
切分字符串为字符串数组
- splitToArray(String, Pattern, int, boolean, boolean) - Static method in class cn.hutool.core.text.StrSpliter
-
通过正则切分字符串为字符串数组
- splitToInt(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串为int数组
- splitToInt(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串为int数组
- splitToLong(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串为long数组
- splitToLong(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串为long数组
- splitTrim(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串,去除切分后每个元素两边的空白符,去除空白项
- splitTrim(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串,去除切分后每个元素两边的空白符,去除空白项
- splitTrim(CharSequence, char, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串,去除切分后每个元素两边的空白符,去除空白项
- splitTrim(CharSequence, CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切分字符串,去除切分后每个元素两边的空白符,去除空白项
- splitTrim(String, char, boolean) - Static method in class cn.hutool.core.text.StrSpliter
-
切分字符串
- splitTrim(String, char, int, boolean) - Static method in class cn.hutool.core.text.StrSpliter
-
切分字符串,大小写敏感,去除每个元素两边空白符
- splitTrim(String, String, boolean) - Static method in class cn.hutool.core.text.StrSpliter
-
切分字符串,去除每个元素两边空格,忽略大小写
- splitTrim(String, String, int, boolean) - Static method in class cn.hutool.core.text.StrSpliter
-
切分字符串,去除每个元素两边空格,忽略大小写
- splitTrimIgnoreCase(String, String, int, boolean) - Static method in class cn.hutool.core.text.StrSpliter
-
切分字符串,去除每个元素两边空格,忽略大小写
- SpringCglibInterceptor - Class in cn.hutool.aop.interceptor
-
Spring-cglib实现的动态代理切面
- SpringCglibInterceptor(Object, Aspect) - Constructor for class cn.hutool.aop.interceptor.SpringCglibInterceptor
-
构造
- SpringCglibProxyFactory - Class in cn.hutool.aop.proxy
-
基于Spring-cglib的切面代理工厂
- SpringCglibProxyFactory() - Constructor for class cn.hutool.aop.proxy.SpringCglibProxyFactory
-
- SpringUtil - Class in cn.hutool.extra.spring
-
Spring(Spring boot)工具封装,包括:
- SpringUtil() - Constructor for class cn.hutool.extra.spring.SpringUtil
-
- SqlBuilder - Class in cn.hutool.db.sql
-
SQL构建器
首先拼接SQL语句,值使用 ? 占位
调用getParamValues()方法获得占位符对应的值
- SqlBuilder() - Constructor for class cn.hutool.db.sql.SqlBuilder
-
- SqlBuilder(Wrapper) - Constructor for class cn.hutool.db.sql.SqlBuilder
-
- SqlBuilder.Join - Enum in cn.hutool.db.sql
-
SQL中多表关联用的关键字
- SqlConnRunner - Class in cn.hutool.db
-
SQL执行类
此执行类只接受方言参数,不需要数据源,只有在执行方法时需要数据库连接对象
此对象存在的意义在于,可以由使用者自定义数据库连接对象,并执行多个方法,方便事务的统一控制或减少连接对象的创建关闭
- SqlConnRunner(Dialect) - Constructor for class cn.hutool.db.SqlConnRunner
-
构造
- SqlConnRunner(String) - Constructor for class cn.hutool.db.SqlConnRunner
-
构造
- SqlExecutor - Class in cn.hutool.db.sql
-
SQL执行器,全部为静态方法,执行查询或非查询的SQL语句
此方法为JDBC的简单封装,与数据库类型无关
- SqlExecutor() - Constructor for class cn.hutool.db.sql.SqlExecutor
-
- SqlFormatter - Class in cn.hutool.db.sql
-
SQL格式化器 from Hibernate
- SqlFormatter() - Constructor for class cn.hutool.db.sql.SqlFormatter
-
- Sqlite3Dialect - Class in cn.hutool.db.dialect.impl
-
SqlLite3方言
- Sqlite3Dialect() - Constructor for class cn.hutool.db.dialect.impl.Sqlite3Dialect
-
- SqlLog - Enum in cn.hutool.db.sql
-
SQL在日志中打印配置
- SqlRunner - Class in cn.hutool.db
-
- SqlRunner(DataSource) - Constructor for class cn.hutool.db.SqlRunner
-
Deprecated.
构造,从DataSource中识别方言
- SqlRunner(DataSource, String) - Constructor for class cn.hutool.db.SqlRunner
-
Deprecated.
构造
- SqlRunner(DataSource, Dialect) - Constructor for class cn.hutool.db.SqlRunner
-
Deprecated.
构造
- SqlServer2012Dialect - Class in cn.hutool.db.dialect.impl
-
SQLServer2012 方言
- SqlServer2012Dialect() - Constructor for class cn.hutool.db.dialect.impl.SqlServer2012Dialect
-
- SqlUtil - Class in cn.hutool.db.sql
-
SQL相关工具类,包括相关SQL语句拼接等
- SqlUtil() - Constructor for class cn.hutool.db.sql.SqlUtil
-
- sqrt(long) - Static method in class cn.hutool.core.util.NumberUtil
-
- src - Variable in class cn.hutool.core.lang.copier.SrcToDestCopier
-
源
- SrcToDestCopier<T,C extends SrcToDestCopier<T,C>> - Class in cn.hutool.core.lang.copier
-
- SrcToDestCopier() - Constructor for class cn.hutool.core.lang.copier.SrcToDestCopier
-
- SSH_NONE - Static variable in class cn.hutool.extra.ssh.JschUtil
-
不使用SSH的值
- SSL - Static variable in class cn.hutool.core.net.SSLContextBuilder
-
Supports some version of SSL; may support other versions
- SSL - Static variable in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
Supports some version of SSL; may support other versions
- SSLContextBuilder - Class in cn.hutool.core.net
-
- SSLContextBuilder() - Constructor for class cn.hutool.core.net.SSLContextBuilder
-
- SSLSocketFactoryBuilder - Class in cn.hutool.http.ssl
-
SSLSocketFactory构建器
- SSLSocketFactoryBuilder() - Constructor for class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
构造
- SSLUtil - Class in cn.hutool.core.net
-
SSL(Secure Sockets Layer 安全套接字协议)相关工具封装
- SSLUtil() - Constructor for class cn.hutool.core.net.SSLUtil
-
- SSLv2 - Static variable in class cn.hutool.core.net.SSLContextBuilder
-
Supports SSL version 2 or later; may support other versions
- SSLv2 - Static variable in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
Supports SSL version 2 or later; may support other versions
- SSLv3 - Static variable in class cn.hutool.core.net.SSLContextBuilder
-
Supports SSL version 3; may support other versions
- SSLv3 - Static variable in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
Supports SSL version 3; may support other versions
- StackTraceCaller - Class in cn.hutool.core.lang.caller
-
通过StackTrace方式获取调用者。此方式效率最低,不推荐使用
- StackTraceCaller() - Constructor for class cn.hutool.core.lang.caller.StackTraceCaller
-
- StackTraceElementConverter - Class in cn.hutool.core.convert.impl
-
- StackTraceElementConverter() - Constructor for class cn.hutool.core.convert.impl.StackTraceElementConverter
-
- stacktraceToOneLineString(Throwable) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
堆栈转为单行完整字符串
- stacktraceToOneLineString(Throwable, int) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
堆栈转为单行完整字符串
- stacktraceToString(Throwable) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
堆栈转为完整字符串
- stacktraceToString(Throwable, int) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
堆栈转为完整字符串
- stacktraceToString(Throwable, int, Map<Character, String>) - Static method in class cn.hutool.core.exceptions.ExceptionUtil
-
堆栈转为完整字符串
- start(String) - Method in class cn.hutool.core.date.GroupTimeInterval
-
开始计时并返回当前时间
- start() - Method in class cn.hutool.core.date.StopWatch
-
开始默认的新任务
- start(String) - Method in class cn.hutool.core.date.StopWatch
-
开始指定名称的新任务
- start() - Method in class cn.hutool.core.date.TimeInterval
-
- start(OutputStream) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Initiates GIF file creation on the given stream.
- start(String) - Method in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
Initiates writing of a GIF file with the specified name.
- start() - Method in class cn.hutool.core.io.file.Tailer
-
开始监听
- start(boolean) - Method in class cn.hutool.core.io.file.Tailer
-
开始监听
- start() - Method in interface cn.hutool.core.io.StreamProgress
-
开始
- start() - Method in class cn.hutool.core.thread.SyncFinisher
-
开始工作
- start(boolean) - Method in class cn.hutool.core.thread.SyncFinisher
-
开始工作
- start() - Static method in class cn.hutool.cron.CronUtil
-
开始,非守护线程模式
- start(boolean) - Static method in class cn.hutool.cron.CronUtil
-
开始
- start(boolean) - Method in class cn.hutool.cron.Scheduler
-
启动
- start() - Method in class cn.hutool.cron.Scheduler
-
启动
- start() - Method in class cn.hutool.extra.ftp.SimpleFtpServer
-
启动FTP服务,阻塞当前线程
- start() - Method in class cn.hutool.http.server.SimpleServer
-
启动Http服务器,启动后会阻塞当前线程
- start(boolean) - Method in class cn.hutool.socket.aio.AioServer
-
开始监听
- start() - Method in class cn.hutool.socket.nio.NioServer
-
启动NIO服务端,即开始监听
- started - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- startElement(String, String, String, Attributes) - Method in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
读到一个xml开始标签时的回调处理方法
- startElement(String, String, String, Attributes) - Method in class cn.hutool.poi.excel.sax.SheetRidReader
-
- startIndex - Variable in class cn.hutool.core.lang.DefaultSegment
-
- startRowIndex - Variable in class cn.hutool.poi.excel.reader.AbstractSheetReader
-
读取起始行(包含,从0开始计数)
- startRowIndex - Variable in class cn.hutool.poi.excel.sax.handler.AbstractRowHandler
-
读取起始行(包含,从0开始计数)
- startWith(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
字符串是否以给定字符开始
- startWith(CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
是否以指定字符串开头
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
- startWith(CharSequence, CharSequence, boolean, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
是否以指定字符串开头
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
- startWith(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
是否以指定字符串开头
- startWithAny(CharSequence, CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串是否以任何一个字符串开始
给定字符串和数组为空都返回false
- startWithIgnoreCase(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
是否以指定字符串开头,忽略大小写
- startWithIgnoreEquals(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
是否以指定字符串开头,忽略相等字符串的情况
- stat(String) - Method in class cn.hutool.extra.ftp.Ftp
-
获取服务端目录状态。
- state(boolean, Supplier<String>) - Static method in class cn.hutool.core.lang.Assert
-
检查boolean表达式,当检查结果为false时抛出
IllegalStateException
。
并使用指定的函数获取错误信息返回
Assert.state(id == null, ()->{
// to query relation message
return "relation message to return ";
});
- state(boolean, String, Object...) - Static method in class cn.hutool.core.lang.Assert
-
检查boolean表达式,当检查结果为false时抛出
IllegalStateException
。
Assert.state(id == null, "The id property must not already be initialized");
- state(boolean) - Static method in class cn.hutool.core.lang.Assert
-
检查boolean表达式,当检查结果为false时抛出
IllegalStateException
。
Assert.state(id == null);
- StatefulException - Exception in cn.hutool.core.exceptions
-
带有状态码的异常
- StatefulException() - Constructor for exception cn.hutool.core.exceptions.StatefulException
-
- StatefulException(String) - Constructor for exception cn.hutool.core.exceptions.StatefulException
-
- StatefulException(String, Object...) - Constructor for exception cn.hutool.core.exceptions.StatefulException
-
- StatefulException(Throwable) - Constructor for exception cn.hutool.core.exceptions.StatefulException
-
- StatefulException(String, Throwable) - Constructor for exception cn.hutool.core.exceptions.StatefulException
-
- StatefulException(int, String) - Constructor for exception cn.hutool.core.exceptions.StatefulException
-
- StatefulException(int, Throwable) - Constructor for exception cn.hutool.core.exceptions.StatefulException
-
- StatefulException(int, String, Throwable) - Constructor for exception cn.hutool.core.exceptions.StatefulException
-
- StatementUtil - Class in cn.hutool.db
-
Statement和PreparedStatement工具类
- StatementUtil() - Constructor for class cn.hutool.db.StatementUtil
-
- StatementWrapper - Class in cn.hutool.db.sql
-
- StatementWrapper() - Constructor for class cn.hutool.db.sql.StatementWrapper
-
- StaticLog - Class in cn.hutool.log
-
静态日志类,用于在不引入日志对象的情况下打印日志
- status - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- status - Variable in class cn.hutool.http.HttpResponse
-
响应状态码
- STATUS_FORMAT_ERROR - Static variable in class cn.hutool.core.img.gif.GifDecoder
-
File read status: Error decoding file (may be partially decoded)
- STATUS_OK - Static variable in class cn.hutool.core.img.gif.GifDecoder
-
File read status: No errors.
- STATUS_OPEN_ERROR - Static variable in class cn.hutool.core.img.gif.GifDecoder
-
File read status: Unable to open source.
- step(T, T, int) - Method in interface cn.hutool.core.lang.Range.Steper
-
增加步进
增加步进后的返回值如果为null
则表示步进结束
用户需根据end参数自行定义边界,当达到边界时返回null表示结束,否则Range中边界对象无效,会导致无限循环
- stop() - Method in class cn.hutool.core.date.StopWatch
-
停止当前任务
- stop() - Static method in class cn.hutool.cron.CronUtil
-
停止
- stop() - Method in class cn.hutool.cron.Scheduler
-
- stop(boolean) - Method in class cn.hutool.cron.Scheduler
-
停止定时任务
此方法调用后会将定时器进程立即结束,如果为守护线程模式,则正在执行的作业也会自动结束,否则作业线程将在执行完成后结束。
- STOP_WORD - Static variable in class cn.hutool.dfa.StopChar
-
不需要处理的词,如标点符号、空格等
- StopChar - Class in cn.hutool.dfa
-
过滤词及一些简单处理
- StopChar() - Constructor for class cn.hutool.dfa.StopChar
-
- stopTimer() - Method in class cn.hutool.cron.CronTimer
-
关闭定时器
- StopWatch - Class in cn.hutool.core.date
-
秒表封装
此工具用于存储一组任务的耗时时间,并一次性打印对比。
比如:我们可以记录多段代码耗时时间,然后一次性打印(StopWatch提供了一个prettyString()函数用于按照指定格式打印出耗时)
- StopWatch() - Constructor for class cn.hutool.core.date.StopWatch
-
构造,不启动任何任务
- StopWatch(String) - Constructor for class cn.hutool.core.date.StopWatch
-
构造,不启动任何任务
- StopWatch(String, boolean) - Constructor for class cn.hutool.core.date.StopWatch
-
构造,不启动任何任务
- StopWatch.TaskInfo - Class in cn.hutool.core.date
-
存放任务名称和花费时间对象
- store(Long) - Method in class cn.hutool.core.text.Simhash
-
按照(frac, 《simhash, content》)索引进行存储
- store(HttpConnection) - Static method in class cn.hutool.http.cookie.GlobalCookieManager
-
存储响应的Cookie信息到本地
- store(String) - Method in class cn.hutool.setting.dialect.Props
-
持久化当前设置,会覆盖掉之前的设置
- store(String, Class<?>) - Method in class cn.hutool.setting.dialect.Props
-
存储当前设置,会覆盖掉以前的设置
- store() - Method in class cn.hutool.setting.Setting
-
持久化当前设置,会覆盖掉之前的设置
持久化不会保留之前的分组,注意如果配置文件在jar内部或者在exe中,此方法会报错。
- store(String) - Method in class cn.hutool.setting.Setting
-
持久化当前设置,会覆盖掉之前的设置
持久化不会保留之前的分组
- store(File) - Method in class cn.hutool.setting.Setting
-
持久化当前设置,会覆盖掉之前的设置
持久化不会保留之前的分组
- store(String) - Method in class cn.hutool.setting.SettingLoader
-
持久化当前设置,会覆盖掉之前的设置
持久化会不会保留之前的分组
- store(File) - Method in class cn.hutool.setting.SettingLoader
-
持久化当前设置,会覆盖掉之前的设置
持久化会不会保留之前的分组
- str(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
- str(Object, String) - Static method in class cn.hutool.core.util.StrUtil
-
将对象转为字符串
- str(Object, Charset) - Static method in class cn.hutool.core.util.StrUtil
-
将对象转为字符串
- str(byte[], String) - Static method in class cn.hutool.core.util.StrUtil
-
将byte数组转为字符串
- str(byte[], Charset) - Static method in class cn.hutool.core.util.StrUtil
-
解码字节码
- str(Byte[], String) - Static method in class cn.hutool.core.util.StrUtil
-
将Byte数组转为字符串
- str(Byte[], Charset) - Static method in class cn.hutool.core.util.StrUtil
-
解码字节码
- str(ByteBuffer, String) - Static method in class cn.hutool.core.util.StrUtil
-
将编码的byteBuffer数据转换为字符串
- str(ByteBuffer, Charset) - Static method in class cn.hutool.core.util.StrUtil
-
将编码的byteBuffer数据转换为字符串
- strBuilder(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
创建StrBuilder对象
- StrBuilder - Class in cn.hutool.core.text
-
可复用的字符串生成器,非线程安全
- StrBuilder() - Constructor for class cn.hutool.core.text.StrBuilder
-
构造
- StrBuilder(int) - Constructor for class cn.hutool.core.text.StrBuilder
-
构造
- StrBuilder(CharSequence...) - Constructor for class cn.hutool.core.text.StrBuilder
-
构造
- strBuilder() - Static method in class cn.hutool.core.util.StrUtil
-
创建StrBuilder对象
- strBuilder(int) - Static method in class cn.hutool.core.util.StrUtil
-
创建StrBuilder对象
- StrClipboardListener - Class in cn.hutool.core.swing.clipboard
-
剪贴板字符串内容监听
- StrClipboardListener() - Constructor for class cn.hutool.core.swing.clipboard.StrClipboardListener
-
- StreamArchiver - Class in cn.hutool.extra.compress.archiver
-
数据归档封装,归档即将几个文件或目录打成一个压缩包
支持的归档文件格式为:
ArchiveStreamFactory.AR
ArchiveStreamFactory.CPIO
ArchiveStreamFactory.JAR
ArchiveStreamFactory.TAR
ArchiveStreamFactory.ZIP
- StreamArchiver(Charset, String, File) - Constructor for class cn.hutool.extra.compress.archiver.StreamArchiver
-
构造
- StreamArchiver(Charset, String, OutputStream) - Constructor for class cn.hutool.extra.compress.archiver.StreamArchiver
-
构造
- StreamExtractor - Class in cn.hutool.extra.compress.extractor
-
数据解压器,即将归档打包的数据释放
- StreamExtractor(Charset, File) - Constructor for class cn.hutool.extra.compress.extractor.StreamExtractor
-
构造
- StreamExtractor(Charset, String, File) - Constructor for class cn.hutool.extra.compress.extractor.StreamExtractor
-
构造
- StreamExtractor(Charset, InputStream) - Constructor for class cn.hutool.extra.compress.extractor.StreamExtractor
-
构造
- StreamExtractor(Charset, String, InputStream) - Constructor for class cn.hutool.extra.compress.extractor.StreamExtractor
-
构造
- StreamProgress - Interface in cn.hutool.core.io
-
Stream进度条
- StrFormatter - Class in cn.hutool.core.text
-
字符串格式化工具
- StrFormatter() - Constructor for class cn.hutool.core.text.StrFormatter
-
- StringConverter - Class in cn.hutool.core.convert.impl
-
字符串转换器,提供各种对象转换为字符串的逻辑封装
- StringConverter() - Constructor for class cn.hutool.core.convert.impl.StringConverter
-
- StringHandler - Class in cn.hutool.db.handler
-
处理为字符串结果,当查询结果为单个字符串时使用此处理器
- StringHandler() - Constructor for class cn.hutool.db.handler.StringHandler
-
- StringResource - Class in cn.hutool.core.io.resource
-
字符串资源,字符串做为资源
- StringResource(String) - Constructor for class cn.hutool.core.io.resource.StringResource
-
构造,使用UTF8编码
- StringResource(String, String) - Constructor for class cn.hutool.core.io.resource.StringResource
-
构造,使用UTF8编码
- StringResource(String, String, Charset) - Constructor for class cn.hutool.core.io.resource.StringResource
-
构造
- strip(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去除两边的指定字符串
- strip(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去除两边的指定字符串
- stripIgnoreCase(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去除两边的指定字符串,忽略大小写
- stripIgnoreCase(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
去除两边的指定字符串,忽略大小写
- stroke(Color, float) - Method in class cn.hutool.core.img.Img
-
描边,此方法为向内描边,会覆盖图片相应的位置
- stroke(Color, Stroke) - Method in class cn.hutool.core.img.Img
-
描边,此方法为向内描边,会覆盖图片相应的位置
- StrReplacer - Class in cn.hutool.core.text.replacer
-
抽象字符串替换类
通过实现replace方法实现局部替换逻辑
- StrReplacer() - Constructor for class cn.hutool.core.text.replacer.StrReplacer
-
- StrSpliter - Class in cn.hutool.core.text
-
字符串切分器
- StrSpliter() - Constructor for class cn.hutool.core.text.StrSpliter
-
- strToBcd(String) - Static method in class cn.hutool.core.codec.BCD
-
字符串转BCD码
- strToUnicode(String) - Static method in class cn.hutool.core.convert.Convert
-
String的字符串转换成unicode的String
- StrUtil - Class in cn.hutool.core.util
-
字符串工具类
- StrUtil() - Constructor for class cn.hutool.core.util.StrUtil
-
- StyleSet - Class in cn.hutool.poi.excel
-
样式集合,此样式集合汇集了整个工作簿的样式,用于减少样式的创建和冗余
- StyleSet(Workbook) - Constructor for class cn.hutool.poi.excel.StyleSet
-
构造
- stylesTable - Variable in class cn.hutool.poi.excel.sax.SheetDataSaxHandler
-
- StyleUtil - Class in cn.hutool.poi.excel.style
-
Excel样式工具类
- StyleUtil() - Constructor for class cn.hutool.poi.excel.style.StyleUtil
-
- sub(List<T>, int, int) - Static method in class cn.hutool.core.collection.CollUtil
-
截取集合的部分
- sub(List<T>, int, int, int) - Static method in class cn.hutool.core.collection.CollUtil
-
截取集合的部分
- sub(Collection<T>, int, int) - Static method in class cn.hutool.core.collection.CollUtil
-
截取集合的部分
- sub(Collection<T>, int, int, int) - Static method in class cn.hutool.core.collection.CollUtil
-
截取集合的部分
- sub(List<T>, int, int) - Static method in class cn.hutool.core.collection.ListUtil
-
截取集合的部分
- sub(List<T>, int, int, int) - Static method in class cn.hutool.core.collection.ListUtil
-
- sub(CharSequence, int, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
改进JDK subString
index从0开始计算,最后一个字符为-1
如果from和to位置一样,返回 ""
如果from或to为负数,则按照length从后向前数位置,如果绝对值大于字符串长度,则from归到0,to归到length
如果经过修正的index中from大于to,则互换from和to example:
abcdefgh 2 3 =》 c
abcdefgh 2 -3 =》 cde
- sub(T[], int, int) - Static method in class cn.hutool.core.util.ArrayUtil
-
获取子数组
- sub(Object, int, int) - Static method in class cn.hutool.core.util.ArrayUtil
-
获取子数组
- sub(Object, int, int, int) - Static method in class cn.hutool.core.util.ArrayUtil
-
获取子数组
- sub(float, float) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的减法运算
- sub(float, double) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的减法运算
- sub(double, float) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的减法运算
- sub(double, double) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的减法运算
- sub(Double, Double) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的减法运算
- sub(Number, Number) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的减法运算
如果传入多个值为null或者空,则返回0
- sub(Number...) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的减法运算
如果传入多个值为null或者空,则返回0
- sub(String...) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的减法运算
如果传入多个值为null或者空,则返回0
- sub(BigDecimal...) - Static method in class cn.hutool.core.util.NumberUtil
-
提供精确的减法运算
如果传入多个值为null或者空,则返回0
- sub(byte[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
获取子数组
- sub(int[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
获取子数组
- sub(long[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
获取子数组
- sub(short[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
获取子数组
- sub(char[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
获取子数组
- sub(double[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
获取子数组
- sub(float[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
获取子数组
- sub(boolean[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
获取子数组
- subAfter(CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取分隔字符串之后的字符串,不包括分隔字符串
如果给定的字符串为空串(null或""),返回原字符串
如果分隔字符串为空串(null或""),则返回空串,如果分隔字符串未找到,返回空串,举例如下:
- subAfter(CharSequence, char, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取分隔字符串之后的字符串,不包括分隔字符串
如果给定的字符串为空串(null或""),返回原字符串
如果分隔字符串为空串(null或""),则返回空串,如果分隔字符串未找到,返回空串,举例如下:
- subAfter(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
获取手机号后4位
- subBefore(CharSequence, CharSequence, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取分隔字符串之前的字符串,不包括分隔字符串
如果给定的字符串为空串(null或"")或者分隔字符串为null,返回原字符串
如果分隔字符串为空串"",则返回空串,如果分隔字符串未找到,返回原字符串,举例如下:
- subBefore(CharSequence, char, boolean) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取分隔字符串之前的字符串,不包括分隔字符串
如果给定的字符串为空串(null或"")或者分隔字符串为null,返回原字符串
如果分隔字符串未找到,返回原字符串,举例如下:
- subBefore(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
获取手机号前3位
- subBetween(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取指定字符串中间部分,不包括标识字符串
- subBetween(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取指定字符串中间部分,不包括标识字符串
- subBetween(CharSequence) - Static method in class cn.hutool.core.util.PhoneUtil
-
获取手机号中间4位
- subBetweenAll(CharSequence, CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取指定字符串多段中间部分,不包括标识字符串
- subBetweenAll(CharSequence, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取指定字符串多段中间部分,不包括标识字符串
- subByCodePoint(CharSequence, int, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
通过CodePoint截取字符串,可以截断Emoji
- subList(int, int) - Method in class cn.hutool.core.text.csv.CsvRow
-
- subList(int, int) - Method in class cn.hutool.json.JSONArray
-
- submit(Runnable) - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- submit(Callable<T>) - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- submit(Runnable, T) - Method in class cn.hutool.core.thread.DelegatedExecutorService
-
- submit(Callable<T>) - Static method in class cn.hutool.core.thread.GlobalThreadPool
-
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
- submit(Runnable) - Static method in class cn.hutool.core.thread.GlobalThreadPool
-
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
- subPath(Path, int, int) - Static method in class cn.hutool.core.io.file.PathUtil
-
获取指定位置的子路径部分,支持负数,例如起始为-1表示从后数第一个节点位置
- subPath(String, File) - Static method in class cn.hutool.core.io.FileUtil
-
获得相对子路径
- subPath(String, String) - Static method in class cn.hutool.core.io.FileUtil
-
获得相对子路径,忽略大小写
- subPre(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切割指定位置之前部分的字符串
- subPreGbk(CharSequence, int, CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取部分字符串,这里一个汉字的长度认为是2
- subSequence(int, int) - Method in class cn.hutool.core.text.StrBuilder
-
- subString(int) - Method in class cn.hutool.core.text.StrBuilder
-
返回自定段的字符串
- subString(int, int) - Method in class cn.hutool.core.text.StrBuilder
-
返回自定段的字符串
- subSuf(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切割指定位置之后部分的字符串
- subSufByLength(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切割指定长度的后部分的字符串
- subtract(Collection<T>, Collection<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
计算集合的单差集,即只返回【集合1】中有,但是【集合2】中没有的元素,例如:
- subtract(byte) - Method in class cn.hutool.core.lang.mutable.MutableByte
-
减去值
- subtract(Number) - Method in class cn.hutool.core.lang.mutable.MutableByte
-
减去值
- subtract(double) - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
减去值
- subtract(Number) - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
减去值
- subtract(float) - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
减去值
- subtract(Number) - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
减去值
- subtract(int) - Method in class cn.hutool.core.lang.mutable.MutableInt
-
减去值
- subtract(Number) - Method in class cn.hutool.core.lang.mutable.MutableInt
-
减去值
- subtract(long) - Method in class cn.hutool.core.lang.mutable.MutableLong
-
减去值
- subtract(Number) - Method in class cn.hutool.core.lang.mutable.MutableLong
-
减去值
- subtract(short) - Method in class cn.hutool.core.lang.mutable.MutableShort
-
减去值
- subtract(Number) - Method in class cn.hutool.core.lang.mutable.MutableShort
-
减去值
- subtract(Money) - Method in class cn.hutool.core.math.Money
-
货币减法。
- subtractFrom(Money) - Method in class cn.hutool.core.math.Money
-
货币累减。
- subtractToList(Collection<T>, Collection<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
计算集合的单差集,即只返回【集合1】中有,但是【集合2】中没有的元素,例如:
- subWithLength(String, int, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
截取字符串,从指定位置开始,截取指定长度的字符串
author weibaohui
- suffix - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- swap(T[], int, int) - Static method in class cn.hutool.core.util.ArrayUtil
-
交换数组中两个位置的值
- swap(Object, int, int) - Static method in class cn.hutool.core.util.ArrayUtil
-
交换数组中两个位置的值
- swap(int[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
交换数组中两个位置的值
- swap(long[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
交换数组中两个位置的值
- swap(double[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
交换数组中两个位置的值
- swap(float[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
交换数组中两个位置的值
- swap(boolean[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
交换数组中两个位置的值
- swap(byte[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
交换数组中两个位置的值
- swap(char[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
交换数组中两个位置的值
- swap(short[], int, int) - Static method in class cn.hutool.core.util.PrimitiveArrayUtil
-
交换数组中两个位置的值
- swapCase(String) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
切换给定字符串中的大小写。大写转小写,小写转大写。
- SymmetricAlgorithm - Enum in cn.hutool.crypto.symmetric
-
对称算法类型
see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyGenerator
- SymmetricCrypto - Class in cn.hutool.crypto.symmetric
-
对称加密算法
在对称加密算法中,数据发信方将明文(原始数据)和加密密钥一起经过特殊加密算法处理后,使其变成复杂的加密密文发送出去。
收信方收到密文后,若想解读原文,则需要使用加密用过的密钥及相同算法的逆算法对密文进行解密,才能使其恢复成可读明文。
在对称加密算法中,使用的密钥只有一个,发收信双方都使用这个密钥对数据进行加密和解密,这就要求解密方事先必须知道加密密钥。
- SymmetricCrypto(SymmetricAlgorithm) - Constructor for class cn.hutool.crypto.symmetric.SymmetricCrypto
-
构造,使用随机密钥
- SymmetricCrypto(String) - Constructor for class cn.hutool.crypto.symmetric.SymmetricCrypto
-
构造,使用随机密钥
- SymmetricCrypto(SymmetricAlgorithm, byte[]) - Constructor for class cn.hutool.crypto.symmetric.SymmetricCrypto
-
构造
- SymmetricCrypto(SymmetricAlgorithm, SecretKey) - Constructor for class cn.hutool.crypto.symmetric.SymmetricCrypto
-
构造
- SymmetricCrypto(String, byte[]) - Constructor for class cn.hutool.crypto.symmetric.SymmetricCrypto
-
构造
- SymmetricCrypto(String, SecretKey) - Constructor for class cn.hutool.crypto.symmetric.SymmetricCrypto
-
构造
- SymmetricCrypto(String, SecretKey, AlgorithmParameterSpec) - Constructor for class cn.hutool.crypto.symmetric.SymmetricCrypto
-
构造
- sync(Object) - Static method in class cn.hutool.core.thread.ThreadUtil
-
阻塞当前线程,保证在main方法中执行不被退出
- sync() - Method in class cn.hutool.http.HttpResponse
-
同步
如果为异步状态,则暂时不读取服务器中响应的内容,而是持有Http链接的
InputStream
。
当调用此方法时,异步状态转为同步状态,此时从Http链接流中读取body内容并暂存在内容中。如果已经是同步状态,则不进行任何操作。
- SyncFinisher - Class in cn.hutool.core.thread
-
线程同步结束器
在完成一组正在其他线程中执行的操作之前,它允许一个或多个线程一直等待。
- SyncFinisher(int) - Constructor for class cn.hutool.core.thread.SyncFinisher
-
构造
- SyncFinisher.Worker - Class in cn.hutool.core.thread
-
工作者,为一个线程
- syntaxError(String) - Method in class cn.hutool.json.JSONTokener
-
Make a JSONException to signal a syntax error.
- SYSTEM_COMPILER - Static variable in class cn.hutool.core.compiler.CompilerUtil
-
java 编译器
- systemCharset() - Static method in class cn.hutool.core.util.CharsetUtil
-
- systemCharsetName() - Static method in class cn.hutool.core.util.CharsetUtil
-
- SystemClock - Class in cn.hutool.core.date
-
系统时钟
高并发场景下System.currentTimeMillis()的性能问题的优化
System.currentTimeMillis()的调用比new一个普通对象要耗时的多(具体耗时高出多少我还没测试过,有人说是100倍左右)
System.currentTimeMillis()之所以慢是因为去跟系统打了一次交道
后台定时更新时钟,JVM退出时,线程自动回收
see: http://git.oschina.net/yu120/sequence
- SystemClock(long) - Constructor for class cn.hutool.core.date.SystemClock
-
构造
- SystemPropsKeys - Interface in cn.hutool.system
-
系统属性名称常量池
- SystemUtil - Class in cn.hutool.system
-
Java的System类封装工具类。
参考:http://blog.csdn.net/zhongweijian/article/details/7619383
- SystemUtil() - Constructor for class cn.hutool.system.SystemUtil
-
- TAB - Static variable in class cn.hutool.core.util.CharUtil
-
字符常量:制表符 '\t'
- TAB - Static variable in class cn.hutool.core.util.StrUtil
-
字符串常量:制表符 "\t"
- TABLE - Static variable in class cn.hutool.core.codec.Caesar
-
- table(ConsoleTable) - Static method in class cn.hutool.core.lang.Console
-
打印表格到控制台
- Table - Class in cn.hutool.db.meta
-
数据库表信息
- Table(String) - Constructor for class cn.hutool.db.meta.Table
-
构造
- TableMap<K,V> - Class in cn.hutool.core.map
-
可重复键和值的Map
通过键值单独建立List方式,使键值对一一对应,实现正向和反向两种查找
无论是正向还是反向,都是遍历列表查找过程,相比标准的HashMap要慢,数据越多越慢
- TableMap(int) - Constructor for class cn.hutool.core.map.TableMap
-
构造
- TableMap(K[], V[]) - Constructor for class cn.hutool.core.map.TableMap
-
构造
- tableName - Variable in class cn.hutool.db.DaoTemplate
-
表名
- TableType - Enum in cn.hutool.db.meta
-
元信息中表的类型
- TableUtil - Class in cn.hutool.poi.word
-
Word中表格相关工具
- TableUtil() - Constructor for class cn.hutool.poi.word.TableUtil
-
- tail(File, LineHandler) - Static method in class cn.hutool.core.io.FileUtil
-
文件内容跟随器,实现类似Linux下"tail -f"命令功能
此方法会阻塞当前线程
- tail(File, Charset, LineHandler) - Static method in class cn.hutool.core.io.FileUtil
-
文件内容跟随器,实现类似Linux下"tail -f"命令功能
此方法会阻塞当前线程
- tail(File, Charset) - Static method in class cn.hutool.core.io.FileUtil
-
文件内容跟随器,实现类似Linux下"tail -f"命令功能
此方法会阻塞当前线程
- Tailer - Class in cn.hutool.core.io.file
-
文件内容跟随器,实现类似Linux下"tail -f"命令功能
- Tailer(File, LineHandler) - Constructor for class cn.hutool.core.io.file.Tailer
-
构造,默认UTF-8编码
- Tailer(File, LineHandler, int) - Constructor for class cn.hutool.core.io.file.Tailer
-
构造,默认UTF-8编码
- Tailer(File, Charset, LineHandler) - Constructor for class cn.hutool.core.io.file.Tailer
-
构造
- Tailer(File, Charset, LineHandler, int, long) - Constructor for class cn.hutool.core.io.file.Tailer
-
构造
- Tailer.ConsoleLineHandler - Class in cn.hutool.core.io.file
-
命令行打印的行处理器
- Task - Interface in cn.hutool.cron.task
-
定时作业接口,通过实现execute方法执行具体的任务
- TaskExecutor - Class in cn.hutool.cron
-
作业执行器
执行具体的作业,执行完毕销毁
作业执行器唯一关联一个作业,负责管理作业的运行的生命周期。
- TaskExecutor(Scheduler, CronTask) - Constructor for class cn.hutool.cron.TaskExecutor
-
构造
- taskExecutorManager - Variable in class cn.hutool.cron.Scheduler
-
执行器管理器
- TaskExecutorManager - Class in cn.hutool.cron
-
作业执行管理器
负责管理作业的启动、停止等
- TaskExecutorManager(Scheduler) - Constructor for class cn.hutool.cron.TaskExecutorManager
-
- TaskLauncher - Class in cn.hutool.cron
-
作业启动器
负责检查TaskTable是否有匹配到此时运行的Task
检查完毕后启动器结束
- TaskLauncher(Scheduler, long) - Constructor for class cn.hutool.cron.TaskLauncher
-
构造
- taskLauncherManager - Variable in class cn.hutool.cron.Scheduler
-
启动器管理器
- TaskLauncherManager - Class in cn.hutool.cron
-
作业启动管理器
- TaskLauncherManager(Scheduler) - Constructor for class cn.hutool.cron.TaskLauncherManager
-
- TaskListener - Interface in cn.hutool.cron.listener
-
定时任务监听接口
通过实现此接口,实现对定时任务的各个环节做监听
- TaskListenerManager - Class in cn.hutool.cron.listener
-
监听调度器,统一管理监听
- TaskListenerManager() - Constructor for class cn.hutool.cron.listener.TaskListenerManager
-
- taskTable - Variable in class cn.hutool.cron.Scheduler
-
定时任务表
- TaskTable - Class in cn.hutool.cron
-
定时任务表
任务表将ID、表达式、任务一一对应,定时任务执行过程中,会周期性检查定时任务表中的所有任务表达式匹配情况,从而执行其对应的任务
任务的添加、移除使用读写锁保证线程安全性
- TaskTable() - Constructor for class cn.hutool.cron.TaskTable
-
构造
- TaskTable(int) - Constructor for class cn.hutool.cron.TaskTable
-
构造
- TEL - Static variable in class cn.hutool.core.lang.PatternPool
-
座机号码
- Template - Interface in cn.hutool.extra.template
-
抽象模板接口
- TemplateConfig - Class in cn.hutool.extra.template
-
模板配置
- TemplateConfig() - Constructor for class cn.hutool.extra.template.TemplateConfig
-
默认构造,使用UTF8编码,默认从ClassPath获取模板
- TemplateConfig(String) - Constructor for class cn.hutool.extra.template.TemplateConfig
-
构造,默认UTF-8编码
- TemplateConfig(String, TemplateConfig.ResourceMode) - Constructor for class cn.hutool.extra.template.TemplateConfig
-
构造,默认UTF-8编码
- TemplateConfig(Charset, String, TemplateConfig.ResourceMode) - Constructor for class cn.hutool.extra.template.TemplateConfig
-
构造
- TemplateConfig.ResourceMode - Enum in cn.hutool.extra.template
-
资源加载方式枚举
- TemplateEngine - Interface in cn.hutool.extra.template
-
引擎接口,通过实现此接口从而使用对应的模板引擎
- TemplateException - Exception in cn.hutool.extra.template
-
模板异常
- TemplateException(Throwable) - Constructor for exception cn.hutool.extra.template.TemplateException
-
- TemplateException(String) - Constructor for exception cn.hutool.extra.template.TemplateException
-
- TemplateException(String, Object...) - Constructor for exception cn.hutool.extra.template.TemplateException
-
- TemplateException(String, Throwable) - Constructor for exception cn.hutool.extra.template.TemplateException
-
- TemplateException(Throwable, String, Object...) - Constructor for exception cn.hutool.extra.template.TemplateException
-
- TemplateFactory - Class in cn.hutool.extra.template.engine
-
简单模板工厂,用于根据用户引入的模板引擎jar,自动创建对应的模板引擎对象
- TemplateFactory() - Constructor for class cn.hutool.extra.template.engine.TemplateFactory
-
- TemplateUtil - Class in cn.hutool.extra.template
-
模板工具类
- TemplateUtil() - Constructor for class cn.hutool.extra.template.TemplateUtil
-
- TemporalAccessorConverter - Class in cn.hutool.core.convert.impl
-
JDK8中新加入的java.time包对象解析转换器
支持的对象包括:
- TemporalAccessorConverter(Class<?>) - Constructor for class cn.hutool.core.convert.impl.TemporalAccessorConverter
-
构造
- TemporalAccessorConverter(Class<?>, String) - Constructor for class cn.hutool.core.convert.impl.TemporalAccessorConverter
-
构造
- TemporalAccessorUtil - Class in cn.hutool.core.date
-
- TemporalAccessorUtil() - Constructor for class cn.hutool.core.date.TemporalAccessorUtil
-
- TemporalUtil - Class in cn.hutool.core.date
-
- TemporalUtil() - Constructor for class cn.hutool.core.date.TemporalUtil
-
- test(Runnable) - Method in class cn.hutool.core.thread.ConcurrencyTester
-
执行测试
- text() - Method in interface cn.hutool.core.lang.EnumItem
-
在中文语境下,多数时间枚举会配合一个中文说明
- textAlpha - Variable in class cn.hutool.captcha.AbstractCaptcha
-
文字透明度
- textDelimiter - Variable in class cn.hutool.core.text.csv.CsvConfig
-
文本包装符,默认双引号'"'
- TextSimilarity - Class in cn.hutool.core.text
-
文本相似度计算
工具类提供者:【杭州】fineliving
- TextSimilarity() - Constructor for class cn.hutool.core.text.TextSimilarity
-
- thepicture - Variable in class cn.hutool.core.img.gif.NeuQuant
-
- thisDayOfMonth() - Static method in class cn.hutool.core.date.DateUtil
-
- thisDayOfWeek() - Static method in class cn.hutool.core.date.DateUtil
-
- thisDayOfWeekEnum() - Static method in class cn.hutool.core.date.DateUtil
-
- thisHour(boolean) - Static method in class cn.hutool.core.date.DateUtil
-
- thisMillisecond() - Static method in class cn.hutool.core.date.DateUtil
-
- thisMillsecond() - Static method in class cn.hutool.core.date.DateUtil
-
- thisMinute() - Static method in class cn.hutool.core.date.DateUtil
-
- thisMonth() - Static method in class cn.hutool.core.date.DateUtil
-
- thisMonthEnum() - Static method in class cn.hutool.core.date.DateUtil
-
- thisSecond() - Static method in class cn.hutool.core.date.DateUtil
-
- thisWeekOfMonth() - Static method in class cn.hutool.core.date.DateUtil
-
- thisWeekOfYear() - Static method in class cn.hutool.core.date.DateUtil
-
- thisYear() - Static method in class cn.hutool.core.date.DateUtil
-
- threadExecutor - Variable in class cn.hutool.cron.Scheduler
-
线程池,用于执行TaskLauncher和TaskExecutor
- ThreadFactoryBuilder - Class in cn.hutool.core.thread
-
ThreadFactory创建器
参考:Guava的ThreadFactoryBuilder
- ThreadFactoryBuilder() - Constructor for class cn.hutool.core.thread.ThreadFactoryBuilder
-
- ThreadLocalConnection - Enum in cn.hutool.db
-
线程相关的数据库连接持有器
此对象为单例类,用于存储线程相关的Connection对象。
在多数据源情况下,由于数据源的不同,连接对象也不同,因此获取连接时需要DataSource关联获取
- ThreadLocalConnection.GroupedConnection - Class in cn.hutool.db
-
分组连接,根据不同的分组获取对应的连接,用于多数据源情况
- ThreadLocalCookieStore - Class in cn.hutool.http.cookie
-
线程隔离的Cookie存储。多线程环境下Cookie隔离使用,防止Cookie覆盖
见:https://stackoverflow.com/questions/16305486/cookiemanager-for-multiple-threads
- ThreadLocalCookieStore() - Constructor for class cn.hutool.http.cookie.ThreadLocalCookieStore
-
- ThreadUtil - Class in cn.hutool.core.thread
-
线程池工具
- ThreadUtil() - Constructor for class cn.hutool.core.thread.ThreadUtil
-
- ThymeleafEngine - Class in cn.hutool.extra.template.engine.thymeleaf
-
Thymeleaf模板引擎实现
- ThymeleafEngine() - Constructor for class cn.hutool.extra.template.engine.thymeleaf.ThymeleafEngine
-
默认构造
- ThymeleafEngine(TemplateConfig) - Constructor for class cn.hutool.extra.template.engine.thymeleaf.ThymeleafEngine
-
构造
- ThymeleafEngine(TemplateEngine) - Constructor for class cn.hutool.extra.template.engine.thymeleaf.ThymeleafEngine
-
构造
- ThymeleafTemplate - Class in cn.hutool.extra.template.engine.thymeleaf
-
Thymeleaf模板实现
- ThymeleafTemplate(TemplateEngine, String, Charset) - Constructor for class cn.hutool.extra.template.engine.thymeleaf.ThymeleafTemplate
-
构造
- TianlFilter - Class in cn.hutool.bloomfilter.filter
-
- TianlFilter(long, int) - Constructor for class cn.hutool.bloomfilter.filter.TianlFilter
-
- TianlFilter(long) - Constructor for class cn.hutool.bloomfilter.filter.TianlFilter
-
- tianlHash(String) - Static method in class cn.hutool.core.util.HashUtil
-
TianL Hash算法
- TIME - Static variable in class cn.hutool.core.lang.PatternPool
-
时间正则
- TimedCache<K,V> - Class in cn.hutool.cache.impl
-
定时缓存
此缓存没有容量限制,对象只有在过期后才会被移除
- TimedCache(long) - Constructor for class cn.hutool.cache.impl.TimedCache
-
构造
- TimedCache(long, Map<K, CacheObj<K, V>>) - Constructor for class cn.hutool.cache.impl.TimedCache
-
构造
- TimeInterval - Class in cn.hutool.core.date
-
计时器
计算某个过程花费的时间,精确到毫秒或纳秒
- TimeInterval() - Constructor for class cn.hutool.core.date.TimeInterval
-
构造,默认使用毫秒计数
- TimeInterval(boolean) - Constructor for class cn.hutool.core.date.TimeInterval
-
构造
- TimeIntervalAspect - Class in cn.hutool.aop.aspects
-
通过日志打印方法的执行时间的切面
- TimeIntervalAspect() - Constructor for class cn.hutool.aop.aspects.TimeIntervalAspect
-
- timeout() - Method in interface cn.hutool.cache.Cache
-
缓存失效时长, 0
表示没有设置,单位毫秒
- timeout - Variable in class cn.hutool.cache.file.AbstractFileCache
-
默认超时时间,0表示无默认超时
- timeout() - Method in class cn.hutool.cache.file.AbstractFileCache
-
- timeout - Variable in class cn.hutool.cache.impl.AbstractCache
-
缓存失效时长, 0
表示无限制,单位毫秒
- timeout() - Method in class cn.hutool.cache.impl.AbstractCache
-
- timeout() - Method in class cn.hutool.cache.impl.NoCache
-
- timeout - Static variable in class cn.hutool.http.HttpGlobalConfig
-
- timeout(int) - Method in class cn.hutool.http.HttpRequest
-
设置超时,单位:毫秒
超时包括:
- timeout(int) - Method in class cn.hutool.http.webservice.SoapClient
-
设置超时,单位:毫秒
超时包括:
- timer() - Static method in class cn.hutool.core.date.DateUtil
-
计时器
计算某个过程花费的时间,精确到毫秒
- timer(boolean) - Static method in class cn.hutool.core.date.DateUtil
-
计时器
计算某个过程花费的时间,精确到毫秒
- timestamp() - Method in class cn.hutool.core.lang.UUID
-
与此 UUID 相关联的时间戳值。
- timeToSecond(String) - Static method in class cn.hutool.core.date.DateUtil
-
HH:mm:ss 时间格式字符串转为秒数
参考:https://github.com/iceroot
- timeZone - Variable in class cn.hutool.core.date.format.AbstractDateBasic
-
The time zone.
- timezone - Variable in class cn.hutool.cron.CronConfig
-
时区
- TimeZoneConverter - Class in cn.hutool.core.convert.impl
-
TimeZone转换器
- TimeZoneConverter() - Constructor for class cn.hutool.core.convert.impl.TimeZoneConverter
-
- TinyLog - Class in cn.hutool.log.dialect.tinylog
-
- TinyLog(Class<?>) - Constructor for class cn.hutool.log.dialect.tinylog.TinyLog
-
- TinyLog(String) - Constructor for class cn.hutool.log.dialect.tinylog.TinyLog
-
- TinyLog2 - Class in cn.hutool.log.dialect.tinylog
-
- TinyLog2(Class<?>) - Constructor for class cn.hutool.log.dialect.tinylog.TinyLog2
-
- TinyLog2(String) - Constructor for class cn.hutool.log.dialect.tinylog.TinyLog2
-
- TinyLog2Factory - Class in cn.hutool.log.dialect.tinylog
-
- TinyLog2Factory() - Constructor for class cn.hutool.log.dialect.tinylog.TinyLog2Factory
-
构造
- TinyLogFactory - Class in cn.hutool.log.dialect.tinylog
-
- TinyLogFactory() - Constructor for class cn.hutool.log.dialect.tinylog.TinyLogFactory
-
构造
- TinyPinyinEngine - Class in cn.hutool.extra.pinyin.engine.tinypinyin
-
封装了TinyPinyin的引擎。
- TinyPinyinEngine() - Constructor for class cn.hutool.extra.pinyin.engine.tinypinyin.TinyPinyinEngine
-
构造
- TinyPinyinEngine(Pinyin.Config) - Constructor for class cn.hutool.extra.pinyin.engine.tinypinyin.TinyPinyinEngine
-
构造
- TLS - Static variable in class cn.hutool.core.net.SSLContextBuilder
-
Supports some version of TLS; may support other versions
- TLS - Static variable in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
Supports some version of TLS; may support other versions
- TLSv1 - Static variable in class cn.hutool.core.net.SSLContextBuilder
-
Supports RFC 2246: TLS version 1.0 ; may support other versions
- TLSv1 - Static variable in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
Supports RFC 2246: TLS version 1.0 ; may support other versions
- TLSv11 - Static variable in class cn.hutool.core.net.SSLContextBuilder
-
Supports RFC 4346: TLS version 1.1 ; may support other versions
- TLSv11 - Static variable in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
Supports RFC 4346: TLS version 1.1 ; may support other versions
- TLSv12 - Static variable in class cn.hutool.core.net.SSLContextBuilder
-
Supports RFC 5246: TLS version 1.2 ; may support other versions
- TLSv12 - Static variable in class cn.hutool.http.ssl.SSLSocketFactoryBuilder
-
Supports RFC 5246: TLS version 1.2 ; may support other versions
- TMPDIR - Static variable in interface cn.hutool.system.SystemPropsKeys
-
默认的临时文件路径
- TMPDIR - Static variable in class cn.hutool.system.SystemUtil
-
默认的临时文件路径的KEY
- tmpUploadPath - Variable in class cn.hutool.core.net.multipart.UploadSetting
-
临时文件目录
- to(String...) - Method in class cn.hutool.extra.mail.Mail
-
设置收件人
- toAbsNormal(Path) - Static method in class cn.hutool.core.io.file.PathUtil
-
将Path路径转换为标准的绝对路径
- toAbsoluteUrl(String, String) - Static method in class cn.hutool.core.net.NetUtil
-
相对URL转换为绝对URL
- toAlias(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
-
将字符串中的Unicode Emoji字符转换为别名表现形式(两个":"包围的格式)
- toAlias(String, EmojiParser.FitzpatrickAction) - Static method in class cn.hutool.extra.emoji.EmojiUtil
-
将字符串中的Unicode Emoji字符转换为别名表现形式(两个":"包围的格式),别名后会增加"|"并追加fitzpatrick类型
- toArray() - Method in class cn.hutool.core.io.FastByteBuffer
-
返回快速缓冲中的数据
- toArray(int, int) - Method in class cn.hutool.core.io.FastByteBuffer
-
返回快速缓冲中的数据
- toArray() - Method in class cn.hutool.core.text.csv.CsvRow
-
- toArray(T[]) - Method in class cn.hutool.core.text.csv.CsvRow
-
- toArray(ByteBuffer) - Static method in class cn.hutool.core.util.ArrayUtil
-
- toArray(Iterator<T>, Class<T>) - Static method in class cn.hutool.core.util.ArrayUtil
-
将集合转为数组
- toArray(Iterable<T>, Class<T>) - Static method in class cn.hutool.core.util.ArrayUtil
-
将集合转为数组
- toArray(Collection<T>, Class<T>) - Static method in class cn.hutool.core.util.ArrayUtil
-
将集合转为数组
- toArray() - Method in class cn.hutool.json.JSONArray
-
- toArray(T[]) - Method in class cn.hutool.json.JSONArray
-
- toArray(Class<?>) - Method in class cn.hutool.json.JSONArray
-
转为Bean数组
- toArray(JSONArray, Class<?>) - Static method in class cn.hutool.json.JSONConverter
-
JSONArray转数组
- toAvailableStream(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
- toBase64(Image, String) - Static method in class cn.hutool.core.img.ImgUtil
-
将图片对象转换为Base64形式
- toBase64DataUri(Image, String) - Static method in class cn.hutool.core.img.ImgUtil
-
将图片对象转换为Base64的Data URI形式,格式为:data:image/[imageType];base64,[data]
- toBean(Object, Class<T>) - Static method in class cn.hutool.core.bean.BeanUtil
-
对象或Map转Bean
- toBean(Object, Class<T>, CopyOptions) - Static method in class cn.hutool.core.bean.BeanUtil
-
对象或Map转Bean
- toBean(Class<T>, ValueProvider<String>, CopyOptions) - Static method in class cn.hutool.core.bean.BeanUtil
-
ServletRequest 参数转Bean
- toBean(T) - Method in class cn.hutool.core.lang.Dict
-
转换为Bean对象
- toBean(T, boolean) - Method in class cn.hutool.core.lang.Dict
-
转换为Bean对象
- toBean(Class<T>) - Method in class cn.hutool.core.lang.Dict
-
填充Value Object对象
- toBean(Class<T>) - Method in class cn.hutool.core.text.csv.CsvRow
-
一行数据转换为Bean对象
- toBean(ServletRequest, Class<T>, boolean) - Static method in class cn.hutool.extra.servlet.ServletUtil
-
ServletRequest 参数转Bean
- toBean(Class<T>) - Method in interface cn.hutool.json.JSON
-
转为实体类对象,转换异常将被抛出
- toBean(TypeReference<T>) - Method in interface cn.hutool.json.JSON
-
转为实体类对象,转换异常将被抛出
- toBean(Type) - Method in interface cn.hutool.json.JSON
-
转为实体类对象
- toBean(Type, boolean) - Method in interface cn.hutool.json.JSON
-
转为实体类对象
- toBean(String, Class<T>) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转为实体类对象,转换异常将被抛出
- toBean(JSONObject, Class<T>) - Static method in class cn.hutool.json.JSONUtil
-
转为实体类对象,转换异常将被抛出
- toBean(String, TypeReference<T>, boolean) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转为实体类对象,转换异常将被抛出
- toBean(String, Type, boolean) - Static method in class cn.hutool.json.JSONUtil
-
JSON字符串转为实体类对象,转换异常将被抛出
- toBean(JSON, TypeReference<T>, boolean) - Static method in class cn.hutool.json.JSONUtil
-
转为实体类对象
- toBean(JSON, Type, boolean) - Static method in class cn.hutool.json.JSONUtil
-
转为实体类对象
- toBean(String, T) - Method in class cn.hutool.setting.AbsSetting
-
将setting中的键值关系映射到对象中,原理是调用对象对应的set方法
只支持基本类型的转换
- toBean(String, Class<T>) - Method in class cn.hutool.setting.AbsSetting
-
将setting中的键值关系映射到对象中,原理是调用对象对应的set方法
只支持基本类型的转换
- toBean(T) - Method in class cn.hutool.setting.AbsSetting
-
将setting中的键值关系映射到对象中,原理是调用对象对应的set方法
只支持基本类型的转换
- toBean(Class<T>) - Method in class cn.hutool.setting.AbsSetting
-
将setting中的键值关系映射到对象中,原理是调用对象对应的set方法
只支持基本类型的转换
- toBean(Class<T>) - Method in class cn.hutool.setting.dialect.Props
-
将配置文件转换为Bean,支持嵌套Bean
支持的表达式:
- toBean(Class<T>, String) - Method in class cn.hutool.setting.dialect.Props
-
将配置文件转换为Bean,支持嵌套Bean
支持的表达式:
- toBeanIgnoreCase(Object, Class<T>, boolean) - Static method in class cn.hutool.core.bean.BeanUtil
-
对象或Map转Bean,忽略字段转换时发生的异常
- toBeanIgnoreCase(T) - Method in class cn.hutool.core.lang.Dict
-
转换为Bean对象
- toBeanIgnoreCase(Class<T>) - Method in class cn.hutool.core.lang.Dict
-
填充Value Object对象,忽略大小写
- toBeanIgnoreError(Object, Class<T>) - Static method in class cn.hutool.core.bean.BeanUtil
-
对象或Map转Bean,忽略字段转换时发生的异常
- toBeanWithCamelCase(T) - Method in class cn.hutool.core.lang.Dict
-
转换为Bean对象,并使用驼峰法模式转换
- toBigDecimal(Object, BigDecimal) - Static method in class cn.hutool.core.convert.Convert
-
转换为BigDecimal
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toBigDecimal(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为BigDecimal
如果给定的值为空,或者转换失败,返回null
转换失败不会报错
- toBigDecimal(Number) - Static method in class cn.hutool.core.util.NumberUtil
-
数字转
BigDecimal
Float、Double等有精度问题,转换为字符串后再转换
null转换为0
- toBigDecimal(String) - Static method in class cn.hutool.core.util.NumberUtil
-
- toBigInteger(Object, BigInteger) - Static method in class cn.hutool.core.convert.Convert
-
转换为BigInteger
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toBigInteger(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为BigInteger
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
- toBigInteger(String) - Static method in class cn.hutool.core.util.HexUtil
-
Hex(16进制)字符串转为BigInteger
- toBigInteger(Number) - Static method in class cn.hutool.core.util.NumberUtil
-
- toBigInteger(String) - Static method in class cn.hutool.core.util.NumberUtil
-
- toBool(Object, Boolean) - Static method in class cn.hutool.core.convert.Convert
-
转换为boolean
String支持的值为:true、false、yes、ok、no,1,0 如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toBool(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为boolean
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
- toBoolean(String) - Static method in class cn.hutool.core.util.BooleanUtil
-
转换字符串为boolean值
- toBooleanArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Boolean数组
- toBuffered(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
- toBuffered(OutputStream) - Static method in class cn.hutool.core.io.IoUtil
-
- toBufferedImage(Image) - Static method in class cn.hutool.core.img.ImgUtil
-
- toBufferedImage(Image, String) - Static method in class cn.hutool.core.img.ImgUtil
-
- toBufferedImage(Image, int) - Static method in class cn.hutool.core.img.ImgUtil
-
- toByte(Object, Byte) - Static method in class cn.hutool.core.convert.Convert
-
转换为byte
如果给定的值为null
,或者转换失败,返回默认值
转换失败不会报错
- toByte(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为byte
如果给定的值为null
,或者转换失败,返回默认值null
转换失败不会报错
- toByte(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为byte
- toByteArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Byte数组
- toByteArray() - Method in class cn.hutool.core.io.FastByteArrayOutputStream
-
转为Byte数组
- toByteObj(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为Byte
- toBytes(Image, String) - Static method in class cn.hutool.core.img.ImgUtil
-
将图片对象转换为bytes形式
- toBytes() - Method in class cn.hutool.core.io.unit.DataSize
-
返回bytes大小
- toBytes(int) - Static method in class cn.hutool.core.util.NumberUtil
-
int值转byte数组,使用大端字节序(高位字节在前,低位字节在后)
见:http://www.ruanyifeng.com/blog/2016/11/byte-order.html
- toCalendar() - Method in class cn.hutool.core.date.DateTime
-
- toCalendar(Locale) - Method in class cn.hutool.core.date.DateTime
-
转换为Calendar
- toCalendar(TimeZone) - Method in class cn.hutool.core.date.DateTime
-
转换为Calendar
- toCalendar(TimeZone, Locale) - Method in class cn.hutool.core.date.DateTime
-
转换为Calendar
- toCamelCase(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
将下划线方式命名的字符串转换为驼峰式。如果转换前的下划线大写方式命名的字符串为空,则返回空字符串。
例如:hello_world=》helloWorld
- toCamelCaseMap(Map<K, V>) - Static method in class cn.hutool.core.map.MapUtil
-
将已知Map转换为key为驼峰风格的Map
如果KEY为非String类型,保留原值
- toChar(Object, Character) - Static method in class cn.hutool.core.convert.Convert
-
转换为字符
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
- toChar(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为字符
如果给定的值为null
,或者转换失败,返回默认值null
转换失败不会报错
- toChar(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为char
- toCharacter(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为Character
- toCharArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Character数组
- toChinese() - Method in enum cn.hutool.core.date.Week
-
转换为中文名
- toChinese(String) - Method in enum cn.hutool.core.date.Week
-
转换为中文名
- toChronoUnit() - Method in enum cn.hutool.core.date.DateUnit
-
- toChronoUnit(DateUnit) - Static method in enum cn.hutool.core.date.DateUnit
-
- toCollection(Iterable<E>) - Static method in class cn.hutool.core.collection.CollUtil
-
- toCollection(Class<?>, Class<?>, Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为集合类
- toCombination(AnnotatedElement) - Static method in class cn.hutool.core.annotation.AnnotationUtil
-
将指定的被注解的元素转换为组合注解元素
- toComparison() - Method in class cn.hutool.core.builder.CompareToBuilder
-
Returns a negative integer, a positive integer, or zero as
the builder
has judged the "left-hand" side
as less than, greater than, or equal to the "right-hand"
side.
- toCopyOnWriteArrayList(Collection<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
新建一个CopyOnWriteArrayList
- toDate(Object, Date) - Static method in class cn.hutool.core.convert.Convert
-
转换为Date
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toDate(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Date
如果给定的值为空,或者转换失败,返回null
转换失败不会报错
- toDateStr() - Method in class cn.hutool.core.date.DateTime
-
转为"yyyy-MM-dd" 格式字符串
- today() - Static method in class cn.hutool.core.date.DateUtil
-
当前日期,格式 yyyy-MM-dd
- toDBC(String) - Static method in class cn.hutool.core.convert.Convert
-
全角转半角
- toDBC(String, Set<Character>) - Static method in class cn.hutool.core.convert.Convert
-
替换全角为半角
- toDomainParams(ECParameterSpec) - Static method in class cn.hutool.crypto.BCUtil
-
构建ECDomainParameters对象
- toDomainParams(String) - Static method in class cn.hutool.crypto.BCUtil
-
构建ECDomainParameters对象
- toDomainParams(X9ECParameters) - Static method in class cn.hutool.crypto.BCUtil
-
构建ECDomainParameters对象
- toDouble(Object, Double) - Static method in class cn.hutool.core.convert.Convert
-
转换为double
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toDouble(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为double
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
- toDouble(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为double
- toDoubleArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Double数组
- toDoubleObj(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为double
- toEnum(Class<E>, Object, E) - Static method in class cn.hutool.core.convert.Convert
-
转换为Enum对象
如果给定的值为空,或者转换失败,返回默认值
- toEnum(Class<E>, Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Enum对象
如果给定的值为空,或者转换失败,返回默认值null
- toEpochMilli(TemporalAccessor) - Static method in class cn.hutool.core.date.LocalDateTimeUtil
-
- toEpochMilli(TemporalAccessor) - Static method in class cn.hutool.core.date.TemporalAccessorUtil
-
- toFile(Document, String) - Static method in class cn.hutool.core.util.XmlUtil
-
将XML文档写入到文件
使用Document中的编码
- toFile(Document, String, String) - Static method in class cn.hutool.core.util.XmlUtil
-
将XML文档写入到文件
- toFile(VelocityEngine, String, VelocityContext, String) - Static method in class cn.hutool.extra.template.engine.velocity.VelocityUtil
-
Deprecated.
生成文件
- toFile(String, VelocityContext, String) - Static method in class cn.hutool.extra.template.engine.velocity.VelocityUtil
-
Deprecated.
生成文件,使用默认引擎
- toFile(Template, VelocityContext, String) - Static method in class cn.hutool.extra.template.engine.velocity.VelocityUtil
-
Deprecated.
生成文件
- toFloat(Object, Float) - Static method in class cn.hutool.core.convert.Convert
-
转换为Float
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toFloat(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Float
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
- toFloat(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为float
- toFloatArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Float数组
- toFloatObj(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为Float
- toGigabytes() - Method in class cn.hutool.core.io.unit.DataSize
-
返回GB大小
- toHashCode() - Method in class cn.hutool.core.builder.HashCodeBuilder
-
Return the computed hashCode
.
- toHex(String, Charset) - Static method in class cn.hutool.core.convert.Convert
-
字符串转换成十六进制字符串,结果为小写
- toHex(byte[]) - Static method in class cn.hutool.core.convert.Convert
-
byte数组转16进制串
- toHex(Color) - Static method in class cn.hutool.core.img.ImgUtil
-
Color对象转16进制表示,例如#fcf6d6
- toHex(int, int, int) - Static method in class cn.hutool.core.img.ImgUtil
-
RGB颜色值转换成十六进制颜色码
- toHex(int) - Static method in class cn.hutool.core.util.HexUtil
-
转为16进制字符串
- toHex(long) - Static method in class cn.hutool.core.util.HexUtil
-
转为16进制字符串
- toHints() - Method in class cn.hutool.extra.qrcode.QrConfig
-
转换为Zxing的二维码配置
- toHtml(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
-
将字符串中的Unicode Emoji字符转换为HTML表现形式
- toHtmlHex(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
-
将字符串中的Unicode Emoji字符转换为HTML 16进制表现形式
- toIdentityMap(Collection<V>, Function<V, K>) - Static method in class cn.hutool.core.collection.CollStreamUtil
-
将collection转化为类型不变的map
Collection<E> ----> Map<T,E>
- toImage(String) - Static method in class cn.hutool.core.img.ImgUtil
-
- toImage(byte[]) - Static method in class cn.hutool.core.img.ImgUtil
-
- toImage(BitMatrix, int, Integer) - Static method in class cn.hutool.extra.qrcode.QrCodeUtil
-
BitMatrix转BufferedImage
- toInstant(Object, Date) - Static method in class cn.hutool.core.convert.Convert
-
Instant
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toInstant(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
- toInstant(Date) - Static method in class cn.hutool.core.date.DateUtil
-
- toInstant(TemporalAccessor) - Static method in class cn.hutool.core.date.DateUtil
-
- toInstant(TemporalAccessor) - Static method in class cn.hutool.core.date.TemporalAccessorUtil
-
- toInt(Object, Integer) - Static method in class cn.hutool.core.convert.Convert
-
转换为int
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toInt(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为int
如果给定的值为null
,或者转换失败,返回默认值null
转换失败不会报错
- toInt(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为int
- toInt(byte[]) - Static method in class cn.hutool.core.util.NumberUtil
-
byte数组转int,使用大端字节序(高位字节在前,低位字节在后)
见:http://www.ruanyifeng.com/blog/2016/11/byte-order.html
- toIntArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Integer数组
- toInteger(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为Integer
- toIntSecond(Date) - Static method in class cn.hutool.core.date.DateUtil
-
格式化成yyMMddHHmm后转换为int型
- toIpList(Set<InetAddress>) - Static method in class cn.hutool.core.net.NetUtil
-
地址列表转换为IP地址列表
- toJdkDate() - Method in class cn.hutool.core.date.DateTime
-
转换为
Date
考虑到很多框架(例如Hibernate)的兼容性,提供此方法返回JDK原生的Date对象
- toJSON() - Method in class cn.hutool.json.JSONSupport
-
- toJSONArray(Collection<String>) - Method in class cn.hutool.json.JSONObject
-
将指定KEY列表的值组成新的JSONArray
- toJSONArray() - Method in class cn.hutool.json.JSONTokener
-
- toJSONObject(JSONArray) - Method in class cn.hutool.json.JSONArray
-
根据给定名列表,与其位置对应的值组成JSONObject
- toJSONObject(String) - Static method in class cn.hutool.json.XML
-
转换XML为JSONObject
转换过程中一些信息可能会丢失,JSON中无法区分节点和属性,相同的节点将被处理为JSONArray。
Content text may be placed in a "content" member.
- toJSONObject(String, boolean) - Static method in class cn.hutool.json.XML
-
转换XML为JSONObject
转换过程中一些信息可能会丢失,JSON中无法区分节点和属性,相同的节点将被处理为JSONArray。
Content text may be placed in a "content" member.
- toJSONObject(JSONObject, String, boolean) - Static method in class cn.hutool.json.XML
-
转换XML为JSONObject
转换过程中一些信息可能会丢失,JSON中无法区分节点和属性,相同的节点将被处理为JSONArray。
- toJsonPrettyStr(JSON) - Static method in class cn.hutool.json.JSONUtil
-
转为JSON字符串
- toJsonPrettyStr(Object) - Static method in class cn.hutool.json.JSONUtil
-
转换为格式化后的JSON字符串
- toJsonStr(JSON, int) - Static method in class cn.hutool.json.JSONUtil
-
转为JSON字符串
- toJsonStr(JSON) - Static method in class cn.hutool.json.JSONUtil
-
转为JSON字符串
- toJsonStr(JSON, Writer) - Static method in class cn.hutool.json.JSONUtil
-
转为JSON字符串,并写出到write
- toJsonStr(Object) - Static method in class cn.hutool.json.JSONUtil
-
转换为JSON字符串
- toJsonStr(Object, Writer) - Static method in class cn.hutool.json.JSONUtil
-
转换为JSON字符串并写出到writer
- toJSONString(int) - Method in interface cn.hutool.json.JSON
-
格式化输出JSON字符串
- toJSONString() - Method in interface cn.hutool.json.JSONString
-
自定义转JSON字符串的方法
- toJSONString() - Method in class cn.hutool.json.JSONSupport
-
- TokenizerEngine - Interface in cn.hutool.extra.tokenizer
-
分词引擎接口定义,用户通过实现此接口完成特定分词引擎的适配
- TokenizerException - Exception in cn.hutool.extra.tokenizer
-
分词异常
- TokenizerException(Throwable) - Constructor for exception cn.hutool.extra.tokenizer.TokenizerException
-
- TokenizerException(String) - Constructor for exception cn.hutool.extra.tokenizer.TokenizerException
-
- TokenizerException(String, Object...) - Constructor for exception cn.hutool.extra.tokenizer.TokenizerException
-
- TokenizerException(String, Throwable) - Constructor for exception cn.hutool.extra.tokenizer.TokenizerException
-
- TokenizerException(Throwable, String, Object...) - Constructor for exception cn.hutool.extra.tokenizer.TokenizerException
-
- TokenizerFactory - Class in cn.hutool.extra.tokenizer.engine
-
简单分词引擎工厂,用于根据用户引入的分词引擎jar,自动创建对应的引擎
- TokenizerFactory() - Constructor for class cn.hutool.extra.tokenizer.engine.TokenizerFactory
-
- TokenizerUtil - Class in cn.hutool.extra.tokenizer
-
分词工具类
- TokenizerUtil() - Constructor for class cn.hutool.extra.tokenizer.TokenizerUtil
-
- toKilobytes() - Method in class cn.hutool.core.io.unit.DataSize
-
返回KB大小
- TolerantMap<K,V> - Class in cn.hutool.core.map
-
一个可以提供默认值的Map
- TolerantMap(V) - Constructor for class cn.hutool.core.map.TolerantMap
-
构造
- TolerantMap(int, float, V) - Constructor for class cn.hutool.core.map.TolerantMap
-
构造
- TolerantMap(int, V) - Constructor for class cn.hutool.core.map.TolerantMap
-
构造
- TolerantMap(Map<K, V>, V) - Constructor for class cn.hutool.core.map.TolerantMap
-
构造
- toLinkedList(T...) - Static method in class cn.hutool.core.collection.ListUtil
-
新建LinkedList
- toList() - Method in class cn.hutool.core.collection.BoundedPriorityQueue
-
- toList(Collection<E>, Function<E, T>) - Static method in class cn.hutool.core.collection.CollStreamUtil
-
将collection转化为List集合,但是两者的泛型不同
Collection<E> ------> List<T>
- toList(T...) - Static method in class cn.hutool.core.collection.CollUtil
-
数组转为ArrayList
- toList(Iterable<E>) - Static method in class cn.hutool.core.collection.IterUtil
-
Iterator转List
不判断,直接生成新的List
- toList(Iterator<E>) - Static method in class cn.hutool.core.collection.IterUtil
-
Iterator转List
不判断,直接生成新的List
- toList(T...) - Static method in class cn.hutool.core.collection.ListUtil
-
新建一个ArrayList
- toList(Collection<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
新建一个ArrayList
- toList(Iterable<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
- toList(Iterator<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
- toList(Enumeration<T>) - Static method in class cn.hutool.core.collection.ListUtil
-
- toList(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为ArrayList,元素类型默认Object
- toList(Class<T>, Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为ArrayList
- toList(Class<T>) - Method in class cn.hutool.json.JSONArray
-
- toList(JSONArray, Class<T>) - Static method in class cn.hutool.json.JSONConverter
-
将JSONArray转换为指定类型的对量列表
- toList(String, Class<T>) - Static method in class cn.hutool.json.JSONUtil
-
将JSONArray字符串转换为Bean的List,默认为ArrayList
- toList(JSONArray, Class<T>) - Static method in class cn.hutool.json.JSONUtil
-
将JSONArray转换为Bean的List,默认为ArrayList
- toListMap(Iterable<? extends Map<K, V>>) - Static method in class cn.hutool.core.collection.CollUtil
-
- toListMap(Iterable<V>, Function<V, K>) - Static method in class cn.hutool.core.collection.IterUtil
-
将列表转成值为List的HashMap
- toListMap(Iterable<T>, Function<T, K>, Function<T, V>) - Static method in class cn.hutool.core.collection.IterUtil
-
将列表转成值为List的HashMap
- toListMap(Map<K, List<V>>, Iterable<T>, Function<T, K>, Function<T, V>) - Static method in class cn.hutool.core.collection.IterUtil
-
将列表转成值为List的HashMap
- toListMap(Iterable<? extends Map<K, V>>) - Static method in class cn.hutool.core.map.MapUtil
-
- toLocalDateTime(Object, LocalDateTime) - Static method in class cn.hutool.core.convert.Convert
-
LocalDateTime
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toLocalDateTime(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为LocalDateTime
如果给定的值为空,或者转换失败,返回null
转换失败不会报错
- toLocalDateTime(Calendar) - Static method in class cn.hutool.core.date.CalendarUtil
-
- toLocalDateTime(Instant) - Static method in class cn.hutool.core.date.DateUtil
-
- toLocalDateTime(Date) - Static method in class cn.hutool.core.date.DateUtil
-
- toLocation(String) - Static method in class cn.hutool.poi.excel.ExcelUtil
-
将Excel中地址标识符(例如A11,B5)等转换为行列表示
例如:A11 -》 x:0,y:10,B5-》x:1,y:4
- toLong(Object, Long) - Static method in class cn.hutool.core.convert.Convert
-
转换为long
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toLong(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为long
如果给定的值为null
,或者转换失败,返回默认值null
转换失败不会报错
- toLong(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为long
- toLongArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Long数组
- toLongObj(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为Long
- toMap(Collection<E>, Function<E, K>, Function<E, V>) - Static method in class cn.hutool.core.collection.CollStreamUtil
-
将Collection转化为map(value类型与collection的泛型不同)
Collection<E> -----> Map<T,U>
- toMap(Iterable<Map.Entry<K, V>>) - Static method in class cn.hutool.core.collection.CollUtil
-
将Entry集合转换为HashMap
- toMap(Object[]) - Static method in class cn.hutool.core.collection.CollUtil
-
将数组转换为Map(HashMap),支持数组元素类型为:
- toMap(Iterable<V>, Map<K, V>, Func1<V, K>) - Static method in class cn.hutool.core.collection.CollUtil
-
集合转换为Map,转换规则为:
按照keyFunc函数规则根据元素对象生成Key,元素作为值
- toMap(Iterable<E>, Map<K, V>, Func1<E, K>, Func1<E, V>) - Static method in class cn.hutool.core.collection.CollUtil
-
集合转换为Map,转换规则为:
按照keyFunc函数规则根据元素对象生成Key,按照valueFunc函数规则根据元素对象生成value组成新的Map
- toMap(Iterable<Map.Entry<K, V>>) - Static method in class cn.hutool.core.collection.IterUtil
-
将Entry集合转换为HashMap
- toMap(Iterable<K>, Iterable<V>) - Static method in class cn.hutool.core.collection.IterUtil
-
将键列表和值列表转换为Map
以键为准,值与键位置需对应。如果键元素数多于值元素,多余部分值用null代替。
如果值多于键,忽略多余的值。
- toMap(Iterable<K>, Iterable<V>, boolean) - Static method in class cn.hutool.core.collection.IterUtil
-
将键列表和值列表转换为Map
以键为准,值与键位置需对应。如果键元素数多于值元素,多余部分值用null代替。
如果值多于键,忽略多余的值。
- toMap(Iterator<K>, Iterator<V>) - Static method in class cn.hutool.core.collection.IterUtil
-
将键列表和值列表转换为Map
以键为准,值与键位置需对应。如果键元素数多于值元素,多余部分值用null代替。
如果值多于键,忽略多余的值。
- toMap(Iterator<K>, Iterator<V>, boolean) - Static method in class cn.hutool.core.collection.IterUtil
-
将键列表和值列表转换为Map
以键为准,值与键位置需对应。如果键元素数多于值元素,多余部分值用null代替。
如果值多于键,忽略多余的值。
- toMap(Iterable<V>, Function<V, K>) - Static method in class cn.hutool.core.collection.IterUtil
-
将列表转成HashMap
- toMap(Iterable<T>, Function<T, K>, Function<T, V>) - Static method in class cn.hutool.core.collection.IterUtil
-
将列表转成HashMap
- toMap(Map<K, V>, Iterable<T>, Function<T, K>, Function<T, V>) - Static method in class cn.hutool.core.collection.IterUtil
-
将列表转成Map
- toMap(Iterator<V>, Map<K, V>, Func1<V, K>) - Static method in class cn.hutool.core.collection.IterUtil
-
Iterator转换为Map,转换规则为:
按照keyFunc函数规则根据元素对象生成Key,元素作为值
- toMap(Iterator<E>, Map<K, V>, Func1<E, K>, Func1<E, V>) - Static method in class cn.hutool.core.collection.IterUtil
-
集合转换为Map,转换规则为:
按照keyFunc函数规则根据元素对象生成Key,按照valueFunc函数规则根据元素对象生成value组成新的Map
- toMap(Class<K>, Class<V>, Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Map
- toMap(Object) - Static method in class cn.hutool.extra.cglib.CglibUtil
-
将Bean转换为Map
- toMapList(Map<K, ? extends Iterable<V>>) - Static method in class cn.hutool.core.collection.CollUtil
-
- toMapList(Map<K, ? extends Iterable<V>>) - Static method in class cn.hutool.core.map.MapUtil
-
- toMarkSupportStream(InputStream) - Static method in class cn.hutool.core.io.IoUtil
-
- TomcatDSFactory - Class in cn.hutool.db.ds.tomcat
-
Tomcat-Jdbc-Pool数据源工厂类
- TomcatDSFactory() - Constructor for class cn.hutool.db.ds.tomcat.TomcatDSFactory
-
构造
- TomcatDSFactory(Setting) - Constructor for class cn.hutool.db.ds.tomcat.TomcatDSFactory
-
构造
- toMegabytes() - Method in class cn.hutool.core.io.unit.DataSize
-
返回MB大小
- tomorrow() - Static method in class cn.hutool.core.date.DateUtil
-
明天
- toMsStr() - Method in class cn.hutool.core.date.DateTime
-
- toNumber(Object, Number) - Static method in class cn.hutool.core.convert.Convert
-
转换为Number
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toNumber(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Number
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
- toNumberArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Number数组
- toObjectArray(Map<?, ?>) - Static method in class cn.hutool.core.map.MapUtil
-
将键值对转换为二维数组,第一维是key,第二纬是value
- toParameterizedType(Type) - Static method in class cn.hutool.core.util.TypeUtil
-
- toParams(Key) - Static method in class cn.hutool.crypto.BCUtil
-
密钥转换为AsymmetricKeyParameter
- toParams(String, ECDomainParameters) - Static method in class cn.hutool.crypto.BCUtil
-
转换为 ECPrivateKeyParameters
- toParams(byte[], ECDomainParameters) - Static method in class cn.hutool.crypto.BCUtil
-
转换为 ECPrivateKeyParameters
- toParams(BigInteger, ECDomainParameters) - Static method in class cn.hutool.crypto.BCUtil
-
转换为 ECPrivateKeyParameters
- toParams(BigInteger, BigInteger, ECDomainParameters) - Static method in class cn.hutool.crypto.BCUtil
-
转换为ECPublicKeyParameters
- toParams(String, String, ECDomainParameters) - Static method in class cn.hutool.crypto.BCUtil
-
转换为ECPublicKeyParameters
- toParams(byte[], byte[], ECDomainParameters) - Static method in class cn.hutool.crypto.BCUtil
-
转换为ECPublicKeyParameters
- toParams(PublicKey) - Static method in class cn.hutool.crypto.BCUtil
-
公钥转换为 ECPublicKeyParameters
- toParams(PrivateKey) - Static method in class cn.hutool.crypto.BCUtil
-
私钥转换为 ECPrivateKeyParameters
- toParams(Key) - Static method in class cn.hutool.crypto.ECKeyUtil
-
密钥转换为AsymmetricKeyParameter
- toParams(Map<String, ?>) - Static method in class cn.hutool.http.HttpUtil
-
将Map形式的Form表单数据转换为Url参数形式,会自动url编码键和值
- toParams(Map<String, Object>, String) - Static method in class cn.hutool.http.HttpUtil
-
将Map形式的Form表单数据转换为Url参数形式
编码键和值对
- toParams(Map<String, ?>, Charset) - Static method in class cn.hutool.http.HttpUtil
-
将Map形式的Form表单数据转换为Url参数形式
paramMap中如果key为空(null和"")会被忽略,如果value为null,会被做为空白符("")
会自动url编码键和值
- toParent() - Method in class cn.hutool.extra.ftp.AbstractFtp
-
打开上级目录
- toPem(String, byte[]) - Static method in class cn.hutool.crypto.PemUtil
-
将私钥或公钥转换为PEM格式的字符串
- toPkcs1(PrivateKey) - Static method in class cn.hutool.crypto.BCUtil
-
Java中的PKCS#8格式私钥转换为OpenSSL支持的PKCS#1格式
- toPkcs1(PublicKey) - Static method in class cn.hutool.crypto.BCUtil
-
Java中的X.509格式公钥转换为OpenSSL支持的PKCS#1格式
- toPrettyString() - Method in class cn.hutool.json.JSONSupport
-
美化的JSON(使用回车缩进显示JSON),用于打印输出debug
- toPrimitiveByteArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Byte数组
- toPrivateParams(String, ECDomainParameters) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为 ECPrivateKeyParameters
- toPrivateParams(byte[], ECDomainParameters) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为 ECPrivateKeyParameters
- toPrivateParams(BigInteger, ECDomainParameters) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为 ECPrivateKeyParameters
- toPrivateParams(PrivateKey) - Static method in class cn.hutool.crypto.ECKeyUtil
-
私钥转换为 ECPrivateKeyParameters
- toProperties() - Method in class cn.hutool.setting.Setting
-
转换为Properties对象,原分组变为前缀
- toProxyBean(Class<T>) - Method in class cn.hutool.core.map.MapProxy
-
将Map代理为指定接口的动态代理对象
- toPublicParams(String, String, ECDomainParameters) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为ECPublicKeyParameters
- toPublicParams(byte[], byte[], ECDomainParameters) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为ECPublicKeyParameters
- toPublicParams(BigInteger, BigInteger, ECDomainParameters) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为ECPublicKeyParameters
- toPublicParams(String, ECDomainParameters) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为ECPublicKeyParameters
- toPublicParams(byte[], ECDomainParameters) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为ECPublicKeyParameters
- toPublicParams(ECPoint, ECDomainParameters) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为ECPublicKeyParameters
- toPublicParams(PublicKey) - Static method in class cn.hutool.crypto.ECKeyUtil
-
公钥转换为 ECPublicKeyParameters
- toPushbackStream(InputStream, int) - Static method in class cn.hutool.core.io.IoUtil
-
- toRenderedImage(Image) - Static method in class cn.hutool.core.img.ImgUtil
-
- toSBC(String) - Static method in class cn.hutool.core.convert.Convert
-
半角转全角
- toSBC(String, Set<Character>) - Static method in class cn.hutool.core.convert.Convert
-
半角转全角
- toSegment(int, int) - Static method in class cn.hutool.core.util.PageUtil
-
将页数和每页条目数转换为开始位置和结束位置
此方法用于包括结束位置的分页方法
例如:
- toSet(Collection<E>, Function<E, T>) - Static method in class cn.hutool.core.collection.CollStreamUtil
-
将collection转化为Set集合,但是两者的泛型不同
Collection<E> ------> Set<T>
- toShort(Object, Short) - Static method in class cn.hutool.core.convert.Convert
-
转换为Short
如果给定的值为null
,或者转换失败,返回默认值
转换失败不会报错
- toShort(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Short
如果给定的值为null
,或者转换失败,返回默认值null
转换失败不会报错
- toShort(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为short
- toShortArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为Short数组
- toShortObj(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
boolean值转为Short
- toSm2Params(String) - Static method in class cn.hutool.crypto.BCUtil
-
转换为 ECPrivateKeyParameters
- toSm2Params(byte[]) - Static method in class cn.hutool.crypto.BCUtil
-
转换为 ECPrivateKeyParameters
- toSm2Params(BigInteger) - Static method in class cn.hutool.crypto.BCUtil
-
转换为 ECPrivateKeyParameters
- toSm2Params(String, String) - Static method in class cn.hutool.crypto.BCUtil
-
转换为SM2的ECPublicKeyParameters
- toSm2Params(byte[], byte[]) - Static method in class cn.hutool.crypto.BCUtil
-
转换为SM2的ECPublicKeyParameters
- toSm2PrivateKey(ECPrivateKey) - Static method in class cn.hutool.crypto.ECKeyUtil
-
- toSm2PrivateParams(String) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为 ECPrivateKeyParameters
- toSm2PrivateParams(byte[]) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为 ECPrivateKeyParameters
- toSm2PrivateParams(BigInteger) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为 ECPrivateKeyParameters
- toSm2PublicParams(byte[]) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为 ECPublicKeyParameters
- toSm2PublicParams(String) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为 ECPublicKeyParameters
- toSm2PublicParams(String, String) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为SM2的ECPublicKeyParameters
- toSm2PublicParams(byte[], byte[]) - Static method in class cn.hutool.crypto.ECKeyUtil
-
转换为SM2的ECPublicKeyParameters
- toSqlDate() - Method in class cn.hutool.core.date.DateTime
-
- toSqlDate(Date) - Static method in class cn.hutool.db.sql.SqlUtil
-
- toSqlTimestamp(Date) - Static method in class cn.hutool.db.sql.SqlUtil
-
- toStr(Object, String) - Static method in class cn.hutool.core.convert.Convert
-
转换为字符串
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
- toStr(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为字符串
如果给定的值为null
,或者转换失败,返回默认值null
转换失败不会报错
- toStr(Number, String) - Static method in class cn.hutool.core.util.NumberUtil
-
- toStr(Number) - Static method in class cn.hutool.core.util.NumberUtil
-
- toStr(Number, boolean) - Static method in class cn.hutool.core.util.NumberUtil
-
- toStr(BigDecimal) - Static method in class cn.hutool.core.util.NumberUtil
-
- toStr(BigDecimal, boolean) - Static method in class cn.hutool.core.util.NumberUtil
-
- toStr(Node) - Static method in class cn.hutool.core.util.XmlUtil
-
- toStr(Document) - Static method in class cn.hutool.core.util.XmlUtil
-
- toStr(Node, boolean) - Static method in class cn.hutool.core.util.XmlUtil
-
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
- toStr(Document, boolean) - Static method in class cn.hutool.core.util.XmlUtil
-
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
- toStr(Node, String, boolean) - Static method in class cn.hutool.core.util.XmlUtil
-
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
- toStr(Document, String, boolean) - Static method in class cn.hutool.core.util.XmlUtil
-
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
- toStr(Node, String, boolean, boolean) - Static method in class cn.hutool.core.util.XmlUtil
-
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
- toStrArray(Object) - Static method in class cn.hutool.core.convert.Convert
-
转换为String数组
- toStream(Image, String) - Static method in class cn.hutool.core.img.ImgUtil
-
将图片对象转换为InputStream形式
- toStream(String, String) - Static method in class cn.hutool.core.io.IoUtil
-
String 转为流
- toStream(String, Charset) - Static method in class cn.hutool.core.io.IoUtil
-
String 转为流
- toStream(File) - Static method in class cn.hutool.core.io.IoUtil
-
文件转为流
- toStream(byte[]) - Static method in class cn.hutool.core.io.IoUtil
-
String 转为流
- toString() - Method in class cn.hutool.cache.impl.AbstractCache
-
- toString() - Method in class cn.hutool.cache.impl.CacheObj
-
- toString() - Method in class cn.hutool.core.bean.DynaBean
-
- toString() - Method in class cn.hutool.core.date.BetweenFormatter
-
- toString() - Method in class cn.hutool.core.date.ChineseDate
-
- toString(BetweenFormatter.Level) - Method in class cn.hutool.core.date.DateBetween
-
格式化输出时间差
- toString() - Method in class cn.hutool.core.date.DateBetween
-
- toString() - Method in class cn.hutool.core.date.DateTime
-
转为"yyyy-MM-dd HH:mm:ss" 格式字符串
如果时区被设置,会转换为其时区对应的时间,否则转换为当前地点对应的时区
- toString(TimeZone) - Method in class cn.hutool.core.date.DateTime
-
转为"yyyy-MM-dd HH:mm:ss" 格式字符串
如果时区不为null
,会转换为其时区对应的时间,否则转换为当前时间对应的时区
- toString(String) - Method in class cn.hutool.core.date.DateTime
-
转为字符串
- toString(DatePrinter) - Method in class cn.hutool.core.date.DateTime
-
转为字符串
- toString(DateFormat) - Method in class cn.hutool.core.date.DateTime
-
转为字符串
- toString() - Method in class cn.hutool.core.date.format.AbstractDateBasic
-
- toString() - Method in class cn.hutool.core.date.format.FastDateFormat
-
- toString() - Method in class cn.hutool.core.date.StopWatch
-
- toString() - Method in class cn.hutool.core.io.FastByteArrayOutputStream
-
- toString(String) - Method in class cn.hutool.core.io.FastByteArrayOutputStream
-
转为字符串
- toString(Charset) - Method in class cn.hutool.core.io.FastByteArrayOutputStream
-
转为字符串
- toString() - Method in class cn.hutool.core.io.FastStringWriter
-
- toString() - Method in class cn.hutool.core.io.resource.ClassPathResource
-
- toString() - Method in class cn.hutool.core.io.resource.FileResource
-
返回路径
- toString() - Method in class cn.hutool.core.io.resource.UrlResource
-
返回路径
- toString() - Method in class cn.hutool.core.io.unit.DataSize
-
- toString() - Method in class cn.hutool.core.lang.ConsoleTable
-
获取表格字符串
- toString() - Method in class cn.hutool.core.lang.mutable.MutableBool
-
- toString() - Method in class cn.hutool.core.lang.mutable.MutableByte
-
- toString() - Method in class cn.hutool.core.lang.mutable.MutableDouble
-
- toString() - Method in class cn.hutool.core.lang.mutable.MutableFloat
-
- toString() - Method in class cn.hutool.core.lang.mutable.MutableInt
-
- toString() - Method in class cn.hutool.core.lang.mutable.MutableLong
-
- toString() - Method in class cn.hutool.core.lang.mutable.MutableObj
-
- toString() - Method in class cn.hutool.core.lang.mutable.MutableShort
-
- toString() - Method in class cn.hutool.core.lang.Pair
-
- toString() - Method in class cn.hutool.core.lang.ParameterizedTypeImpl
-
- toString() - Method in class cn.hutool.core.lang.Tuple
-
- toString() - Method in class cn.hutool.core.lang.TypeReference
-
- toString() - Method in class cn.hutool.core.lang.UUID
-
返回此UUID
的字符串表现形式。
- toString(boolean) - Method in class cn.hutool.core.lang.UUID
-
返回此UUID
的字符串表现形式。
- toString() - Method in class cn.hutool.core.map.MapWrapper
-
- toString() - Method in class cn.hutool.core.map.TableMap
-
- toString() - Method in class cn.hutool.core.map.TolerantMap
-
- toString() - Method in class cn.hutool.core.math.Money
-
生成本对象的缺省字符串表示
- toString() - Method in class cn.hutool.core.net.url.UrlBuilder
-
- toString() - Method in class cn.hutool.core.net.url.UrlPath
-
- toString() - Method in class cn.hutool.core.net.url.UrlQuery
-
- toString(char) - Static method in class cn.hutool.core.text.ASCIIStrCache
-
字符转为字符串
如果为ASCII字符,使用缓存
- toString() - Method in class cn.hutool.core.text.csv.CsvRow
-
- toString(boolean) - Method in class cn.hutool.core.text.StrBuilder
-
生成字符串
- toString() - Method in class cn.hutool.core.text.StrBuilder
-
生成字符串
- toString(String) - Static method in class cn.hutool.core.text.UnicodeUtil
-
Unicode字符串转为普通字符串
Unicode字符串的表现方式为:\\uXXXX
- toString() - Method in class cn.hutool.core.thread.threadlocal.NamedInheritableThreadLocal
-
- toString() - Method in class cn.hutool.core.thread.threadlocal.NamedThreadLocal
-
- toString(Object) - Static method in class cn.hutool.core.util.ArrayUtil
-
数组或集合转String
- toString(boolean, String, String) - Static method in class cn.hutool.core.util.BooleanUtil
-
将boolean转换为字符串
- toString(char) - Static method in class cn.hutool.core.util.CharUtil
-
字符转为字符串
如果为ASCII字符,使用缓存
- toString(Enum<?>) - Static method in class cn.hutool.core.util.EnumUtil
-
- toString(Object) - Static method in class cn.hutool.core.util.ObjectUtil
-
将Object转为String
策略为:
- toString(Object) - Static method in class cn.hutool.core.util.StrUtil
-
调用对象的toString方法,null会返回“null”
- toString() - Method in class cn.hutool.cron.pattern.CronPattern
-
- toString() - Method in class cn.hutool.cron.pattern.matcher.AlwaysTrueValueMatcher
-
- toString() - Method in class cn.hutool.cron.pattern.matcher.BoolArrayValueMatcher
-
- toString() - Method in class cn.hutool.db.Entity
-
- toString() - Method in class cn.hutool.db.meta.Column
-
- toString() - Method in enum cn.hutool.db.meta.TableType
-
- toString() - Method in class cn.hutool.db.Page
-
- toString() - Method in class cn.hutool.db.sql.Condition
-
- toString(List<Object>) - Method in class cn.hutool.db.sql.Condition
-
转换为条件字符串,并回填占位符对应的参数值
- toString() - Method in class cn.hutool.db.sql.ConditionBuilder
-
构建组合条件
例如:name = ? AND type IN (?, ?) AND other LIKE ?
- toString() - Method in class cn.hutool.db.sql.Order
-
- toString() - Method in class cn.hutool.db.sql.SqlBuilder
-
- toString() - Method in class cn.hutool.dfa.FoundWord
-
默认的,只输出匹配到的关键字
- toString() - Method in class cn.hutool.extra.mail.MailAccount
-
- toString() - Method in class cn.hutool.extra.ssh.Connector
-
toString方法仅用于测试显示
- toString() - Method in class cn.hutool.extra.ssh.Sftp
-
- toString() - Method in class cn.hutool.extra.tokenizer.engine.analysis.AnalysisWord
-
- toString() - Method in class cn.hutool.extra.tokenizer.engine.ansj.AnsjWord
-
- toString() - Method in class cn.hutool.extra.tokenizer.engine.hanlp.HanLPWord
-
- toString() - Method in class cn.hutool.extra.tokenizer.engine.ikanalyzer.IKAnalyzerWord
-
- toString() - Method in class cn.hutool.extra.tokenizer.engine.jcseg.JcsegWord
-
- toString() - Method in class cn.hutool.extra.tokenizer.engine.jieba.JiebaWord
-
- toString() - Method in class cn.hutool.extra.tokenizer.engine.mmseg.MmsegWord
-
- toString() - Method in class cn.hutool.extra.tokenizer.engine.mynlp.MynlpWord
-
- toString() - Method in class cn.hutool.extra.tokenizer.engine.word.WordWord
-
- toString() - Method in class cn.hutool.extra.validation.BeanValidationResult.ErrorMessage
-
- toString() - Method in enum cn.hutool.http.ContentType
-
- toString(Charset) - Method in enum cn.hutool.http.ContentType
-
输出Content-Type字符串,附带编码信息
- toString() - Method in enum cn.hutool.http.Header
-
- toString() - Method in class cn.hutool.http.HttpBase
-
- toString() - Method in class cn.hutool.http.HttpConnection
-
- toString() - Method in class cn.hutool.http.HttpRequest
-
- toString() - Method in class cn.hutool.http.HttpResponse
-
- toString() - Method in class cn.hutool.http.useragent.UserAgentInfo
-
- toString(SOAPMessage, boolean) - Static method in class cn.hutool.http.webservice.SoapUtil
-
- toString(SOAPMessage, boolean, Charset) - Static method in class cn.hutool.http.webservice.SoapUtil
-
- toString() - Method in class cn.hutool.json.JSONArray
-
转为JSON字符串,无缩进
- toString() - Method in class cn.hutool.json.JSONNull
-
Get the "null" string value.
- toString() - Method in class cn.hutool.json.JSONObject
-
返回JSON字符串
如果解析错误,返回null
- toString() - Method in class cn.hutool.json.JSONSupport
-
- toString() - Method in class cn.hutool.json.JSONTokener
-
Make a printable string of this JSONTokener.
- toString() - Method in class cn.hutool.poi.excel.cell.CellLocation
-
- toString() - Method in class cn.hutool.poi.excel.cell.FormulaCellValue
-
- toString() - Method in class cn.hutool.setting.GroupedMap
-
- toString() - Method in class cn.hutool.setting.Setting
-
- toString() - Method in class cn.hutool.system.HostInfo
-
将当前主机的信息转换成字符串。
- toString() - Method in class cn.hutool.system.JavaInfo
-
将Java Implementation的信息转换成字符串。
- toString() - Method in class cn.hutool.system.JavaRuntimeInfo
-
将当前运行的JRE信息转换成字符串。
- toString() - Method in class cn.hutool.system.JavaSpecInfo
-
将Java Specification的信息转换成字符串。
- toString() - Method in class cn.hutool.system.JvmInfo
-
将Java Virutal Machine Implementation的信息转换成字符串。
- toString() - Method in class cn.hutool.system.JvmSpecInfo
-
将Java Virutal Machine Specification的信息转换成字符串。
- toString() - Method in class cn.hutool.system.oshi.CpuInfo
-
- toString() - Method in class cn.hutool.system.OsInfo
-
将OS的信息转换成字符串。
- toString() - Method in class cn.hutool.system.RuntimeInfo
-
- toString() - Method in class cn.hutool.system.UserInfo
-
将当前用户的信息转换成字符串。
- toStringAndReset() - Method in class cn.hutool.core.text.StrBuilder
-
重置并返回生成的字符串
- toStringDefaultTimeZone() - Method in class cn.hutool.core.date.DateTime
-
转为"yyyy-MM-dd HH:mm:ss" 格式字符串
时区使用当前地区的默认时区
- toStringNormal() - Method in class cn.hutool.core.date.ChineseDate
-
转换为标准的日期格式来表示农历日期,例如2020-01-13
- toStringOnOff(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
将boolean转换为字符串 'on'
或者 'off'
.
- toStringPretty() - Method in interface cn.hutool.json.JSON
-
格式化打印JSON,缩进为4个空格
- toStringTrueFalse(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
将boolean转换为字符串 'true'
或者 'false'
.
- toStringYesNo(boolean) - Static method in class cn.hutool.core.util.BooleanUtil
-
将boolean转换为字符串 'yes'
或者 'no'
.
- toSymbolCase(CharSequence, char) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
将驼峰式命名的字符串转换为使用符号连接方式。如果转换前的驼峰式命名的字符串为空,则返回空字符串。
- totalLength(CharSequence...) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
给定字符串数组的总长度
null字符长度定义为0
- totalPage(int, int) - Static method in class cn.hutool.core.util.PageUtil
-
根据总数计算总页数
- toTerabytes() - Method in class cn.hutool.core.io.unit.DataSize
-
返回TB大小
- toTimestamp() - Method in class cn.hutool.core.date.DateTime
-
- toTimeStr() - Method in class cn.hutool.core.date.DateTime
-
转为"HH:mm:ss" 格式字符串
- TOTP - Class in cn.hutool.crypto.digest.otp
-
time-based one-time passwords (TOTP) 一次性密码生成器,
规范见:
RFC 6238.
- TOTP(byte[]) - Constructor for class cn.hutool.crypto.digest.otp.TOTP
-
构造,使用默认HMAC算法(HmacSHA1)
- TOTP(Duration, byte[]) - Constructor for class cn.hutool.crypto.digest.otp.TOTP
-
构造,使用默认HMAC算法(HmacSHA1)
- TOTP(Duration, int, byte[]) - Constructor for class cn.hutool.crypto.digest.otp.TOTP
-
构造,使用默认HMAC算法(HmacSHA1)
- TOTP(Duration, int, HmacAlgorithm, byte[]) - Constructor for class cn.hutool.crypto.digest.otp.TOTP
-
构造
- toTreeSet(Collection<T>, Comparator<T>) - Static method in class cn.hutool.core.collection.CollUtil
-
将集合转换为排序后的TreeSet
- touch(String) - Static method in class cn.hutool.core.io.FileUtil
-
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
- touch(File) - Static method in class cn.hutool.core.io.FileUtil
-
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
- touch(File, String) - Static method in class cn.hutool.core.io.FileUtil
-
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
- touch(String, String) - Static method in class cn.hutool.core.io.FileUtil
-
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
- toUnderlineCase(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
将驼峰式命名的字符串转换为下划线方式。如果转换前的驼峰式命名的字符串为空,则返回空字符串。
例如:
- toUnicode(String) - Static method in class cn.hutool.core.text.UnicodeUtil
-
字符串编码为Unicode形式
- toUnicode(String, boolean) - Static method in class cn.hutool.core.text.UnicodeUtil
-
字符串编码为Unicode形式
- toUnicode(String) - Static method in class cn.hutool.extra.emoji.EmojiUtil
-
将子串中的Emoji别名(两个":"包围的格式)和其HTML表示形式替换为为Unicode Emoji符号
- toUnicodeHex(int) - Static method in class cn.hutool.core.util.HexUtil
-
将指定int值转换为Unicode字符串形式,常用于特殊字符(例如汉字)转Unicode形式
转换的字符串如果u后不足4位,则前面用0填充,例如:
- toUnicodeHex(char) - Static method in class cn.hutool.core.util.HexUtil
-
将指定char值转换为Unicode字符串形式,常用于特殊字符(例如汉字)转Unicode形式
转换的字符串如果u后不足4位,则前面用0填充,例如:
- toUnsignedByteArray(BigInteger) - Static method in class cn.hutool.core.util.NumberUtil
-
以无符号字节数组的形式返回传入值。
- toUnsignedByteArray(int, BigInteger) - Static method in class cn.hutool.core.util.NumberUtil
-
以无符号字节数组的形式返回传入值。
- toURI() - Method in class cn.hutool.core.net.url.UrlBuilder
-
转换为URI
- toURI(URL) - Static method in class cn.hutool.core.util.URLUtil
-
转URL为URI
- toURI(URL, boolean) - Static method in class cn.hutool.core.util.URLUtil
-
转URL为URI
- toURI(String) - Static method in class cn.hutool.core.util.URLUtil
-
转字符串为URI
- toURI(String, boolean) - Static method in class cn.hutool.core.util.URLUtil
-
转字符串为URI
- toURL() - Method in class cn.hutool.core.net.url.UrlBuilder
-
- toURL(URLStreamHandler) - Method in class cn.hutool.core.net.url.UrlBuilder
-
- toUrlForHttp(String) - Static method in class cn.hutool.core.util.URLUtil
-
将URL字符串转换为URL对象,并做必要验证
- toUrlForHttp(String, URLStreamHandler) - Static method in class cn.hutool.core.util.URLUtil
-
将URL字符串转换为URL对象,并做必要验证
- toUtf8Stream(String) - Static method in class cn.hutool.core.io.IoUtil
-
String 转为UTF-8编码的字节流流
- toWriter(VelocityEngine, String, VelocityContext, Writer) - Static method in class cn.hutool.extra.template.engine.velocity.VelocityUtil
-
Deprecated.
生成内容写入流
会自动关闭Writer
- toWriter(String, VelocityContext, Writer) - Static method in class cn.hutool.extra.template.engine.velocity.VelocityUtil
-
Deprecated.
生成内容写入流
会自动关闭Writer
- toWriter(String, HttpServletRequest, HttpServletResponse) - Static method in class cn.hutool.extra.template.engine.velocity.VelocityUtil
-
Deprecated.
生成内容写到响应内容中
模板的变量来自于Request的Attribute对象
- toXml(Object) - Static method in class cn.hutool.json.XML
-
转换JSONObject为XML
Convert a JSONObject into a well-formed, element-normal XML string.
- toXml(Object, String) - Static method in class cn.hutool.json.XML
-
转换JSONObject为XML
Convert a JSONObject into a well-formed, element-normal XML string.
- toXmlStr(JSON) - Static method in class cn.hutool.json.JSONUtil
-
转换为XML字符串
- toZipFile(File, Charset) - Static method in class cn.hutool.core.util.ZipUtil
-
- trace(String) - Static method in class cn.hutool.http.HttpRequest
-
TRACE请求
- trace(Throwable) - Method in class cn.hutool.log.AbstractLog
-
- trace(String, Object...) - Method in class cn.hutool.log.AbstractLog
-
- trace(Throwable, String, Object...) - Method in class cn.hutool.log.AbstractLog
-
- trace(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.commons.ApacheCommonsLog
-
- trace(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.console.ConsoleLog
-
- trace(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jboss.JbossLog
-
- trace(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.jdk.JdkLog
-
- trace(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j.Log4jLog
-
- trace(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.log4j2.Log4j2Log
-
- trace(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.slf4j.Slf4jLog
-
- trace(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog
-
- trace(String, Throwable, String, Object...) - Method in class cn.hutool.log.dialect.tinylog.TinyLog2
-
- trace(Throwable) - Method in interface cn.hutool.log.level.TraceLog
-
打印 TRACE 等级的日志
- trace(String, Object...) - Method in interface cn.hutool.log.level.TraceLog
-
打印 TRACE 等级的日志
- trace(Throwable, String, Object...) - Method in interface cn.hutool.log.level.TraceLog
-
打印 TRACE 等级的日志
- trace(String, Throwable, String, Object...) - Method in interface cn.hutool.log.level.TraceLog
-
打印 TRACE 等级的日志
- trace(String, Object...) - Static method in class cn.hutool.log.StaticLog
-
Trace等级日志,小于debug
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
- trace(Log, String, Object...) - Static method in class cn.hutool.log.StaticLog
-
Trace等级日志,小于Debug
- TraceLog - Interface in cn.hutool.log.level
-
TRACE级别日志接口
- trans(Collection<F>, Function<? super F, ? extends T>) - Static method in class cn.hutool.core.collection.CollUtil
-
使用给定的转换函数,转换源集合为新类型的集合
- trans(Iterator<F>, Function<? super F, ? extends T>) - Static method in class cn.hutool.core.collection.IterUtil
-
- trans(Spliterator<F>, Function<? super F, ? extends T>) - Static method in class cn.hutool.core.collection.SpliteratorUtil
-
- trans(VoidFunc1<Session>) - Method in class cn.hutool.db.Session
-
- TransactionLevel - Enum in cn.hutool.db.transaction
-
事务级别枚举
- TransCollection<F,T> - Class in cn.hutool.core.collection
-
使用给定的转换函数,转换源集合为新类型的集合
- TransCollection(Collection<F>, Function<? super F, ? extends T>) - Constructor for class cn.hutool.core.collection.TransCollection
-
构造
- transElements(NodeList) - Static method in class cn.hutool.core.util.XmlUtil
-
将NodeList转换为Element列表
- transElements(Element, NodeList) - Static method in class cn.hutool.core.util.XmlUtil
-
将NodeList转换为Element列表
非Element节点将被忽略
- transform(Source, Result, String, int) - Static method in class cn.hutool.core.util.XmlUtil
-
将XML文档写出
格式化输出逻辑参考:https://stackoverflow.com/questions/139076/how-to-pretty-print-xml-from-java
- transform(Source, Result, String, int, boolean) - Static method in class cn.hutool.core.util.XmlUtil
-
将XML文档写出
格式化输出逻辑参考:https://stackoverflow.com/questions/139076/how-to-pretty-print-xml-from-java
- transIndex - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- transIndex - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- TransIter<F,T> - Class in cn.hutool.core.collection
-
- TransIter(Iterator<? extends F>, Function<? super F, ? extends T>) - Constructor for class cn.hutool.core.collection.TransIter
-
构造
- transparency - Variable in class cn.hutool.core.img.gif.GifDecoder
-
- transparent - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- transparentExactMatch - Variable in class cn.hutool.core.img.gif.AnimatedGifEncoder
-
- TransSpliterator<F,T> - Class in cn.hutool.core.collection
-
- TransSpliterator(Spliterator<F>, Function<? super F, ? extends T>) - Constructor for class cn.hutool.core.collection.TransSpliterator
-
- transToStartEnd(int, int) - Static method in class cn.hutool.core.util.PageUtil
-
将页数和每页条目数转换为开始位置和结束位置
此方法用于包括结束位置的分页方法
例如:
- Tree<T> - Class in cn.hutool.core.lang.tree
-
通过转换器将你的实体转化为TreeNodeMap节点实体 属性都存在此处,属性有序,可支持排序
- Tree() - Constructor for class cn.hutool.core.lang.tree.Tree
-
- Tree(TreeNodeConfig) - Constructor for class cn.hutool.core.lang.tree.Tree
-
构造
- TreeNode<T> - Class in cn.hutool.core.lang.tree
-
树节点 每个属性都可以在
TreeNodeConfig
中被重命名
在你的项目里它可以是部门实体、地区实体等任意类树节点实体
类树节点实体: 包含key,父Key.不限于这些属性的可以构造成一颗树的实体对象
- TreeNode() - Constructor for class cn.hutool.core.lang.tree.TreeNode
-
空构造
- TreeNode(T, T, String, Comparable<?>) - Constructor for class cn.hutool.core.lang.tree.TreeNode
-
构造
- TreeNodeConfig - Class in cn.hutool.core.lang.tree
-
树配置属性相关
- TreeNodeConfig() - Constructor for class cn.hutool.core.lang.tree.TreeNodeConfig
-
- TreeUtil - Class in cn.hutool.core.lang.tree
-
树工具类
- TreeUtil() - Constructor for class cn.hutool.core.lang.tree.TreeUtil
-
- trim(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
除去字符串头尾部的空白,如果字符串是null
,依然返回null
。
- trim(CharSequence, int) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
除去字符串头尾部的空白符,如果字符串是null
,依然返回null
。
- trim(String[]) - Static method in class cn.hutool.core.util.StrUtil
-
给定字符串数组全部做去首尾空格
- TrimEditor - Class in cn.hutool.poi.excel.editors
-
去除String类型的单元格值两边的空格
- TrimEditor() - Constructor for class cn.hutool.poi.excel.editors.TrimEditor
-
- trimEnd(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
除去字符串尾部的空白,如果字符串是null
,则返回null
。
- trimStart(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
除去字符串头部的空白,如果字符串是null
,则返回null
。
- trimStrFields(T, String...) - Static method in class cn.hutool.core.bean.BeanUtil
-
把Bean里面的String属性做trim操作。此方法直接对传入的Bean做修改。
- trimToEmpty(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
除去字符串头尾部的空白,如果字符串是null
,返回""
。
- trimToNull(CharSequence) - Static method in class cn.hutool.core.text.CharSequenceUtil
-
除去字符串头尾部的空白,如果字符串是null
或者"",返回null
。
- truncate(Calendar, DateField) - Static method in class cn.hutool.core.date.CalendarUtil
-
修改日期为某个时间字段起始时间
- truncate(Date, DateField) - Static method in class cn.hutool.core.date.DateUtil
-
修改日期为某个时间字段起始时间
- TRUST_ANY_HOSTNAME_VERIFIER - Static variable in class cn.hutool.http.ssl.DefaultSSLInfo
-
默认信任全部的域名校验器
- TrustAnyHostnameVerifier - Class in cn.hutool.http.ssl
-
https 域名校验
- TrustAnyHostnameVerifier() - Constructor for class cn.hutool.http.ssl.TrustAnyHostnameVerifier
-
- tryAdvance(Consumer<? super T>) - Method in class cn.hutool.core.collection.TransSpliterator
-
- tryConvertEnum(Object, Class) - Static method in class cn.hutool.core.convert.impl.EnumConverter
-
尝试找到类似转换的静态方法调用实现转换且优先使用
约定枚举类应该提供 valueOf(String) 和 valueOf(Integer)用于转换
oriInt /name 转换托底
- tryLock() - Method in class cn.hutool.core.thread.lock.NoLock
-
- tryLock(long, TimeUnit) - Method in class cn.hutool.core.thread.lock.NoLock
-
- trySplit() - Method in class cn.hutool.core.collection.TransSpliterator
-
- Tuple - Class in cn.hutool.core.lang
-
不可变数组类型,用于多值返回
多值可以支持每个元素值类型不同
- Tuple(Object...) - Constructor for class cn.hutool.core.lang.Tuple
-
构造
- tx(VoidFunc1<Db>) - Method in class cn.hutool.db.Db
-
执行事务,使用默认的事务级别
在同一事务中,所有对数据库操作都是原子的,同时提交或者同时回滚
- tx(TransactionLevel, VoidFunc1<Db>) - Method in class cn.hutool.db.Db
-
执行事务
在同一事务中,所有对数据库操作都是原子的,同时提交或者同时回滚
- tx(VoidFunc1<Session>) - Method in class cn.hutool.db.Session
-
在事务中执行操作,通过实现
VoidFunc1
接口的call方法执行多条SQL语句从而完成事务
- typeCode - Variable in enum cn.hutool.db.meta.JdbcType
-
- TypeReference<T> - Class in cn.hutool.core.lang
-
Type类型参考
通过构建一个类型参考子类,可以获取其泛型参数中的Type类型。例如:
- TypeReference() - Constructor for class cn.hutool.core.lang.TypeReference
-
构造
- TypeUtil - Class in cn.hutool.core.util
-
- TypeUtil() - Constructor for class cn.hutool.core.util.TypeUtil
-
- validate(T, Class<?>...) - Static method in class cn.hutool.extra.validation.ValidationUtil
-
校验对象
- validateBetween(Number, Number, Number, String) - Static method in class cn.hutool.core.lang.Validator
-
检查给定的数字是否在指定范围内
- validateBirthday(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证验证是否为生日
- validateChinese(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为汉字
- validateCitizenIdNumber(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为身份证号码(支持18位、15位和港澳台的10位)
- validateEmail(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为可用邮箱地址
- validateEmpty(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为空,非空时抛出异常
对于String类型判定是否为empty(null 或 "")
- validateEqual(Object, Object, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否相等,不相等抛出异常
- ValidateException - Exception in cn.hutool.core.exceptions
-
验证异常
- ValidateException() - Constructor for exception cn.hutool.core.exceptions.ValidateException
-
- ValidateException(String) - Constructor for exception cn.hutool.core.exceptions.ValidateException
-
- ValidateException(String, Object...) - Constructor for exception cn.hutool.core.exceptions.ValidateException
-
- ValidateException(Throwable) - Constructor for exception cn.hutool.core.exceptions.ValidateException
-
- ValidateException(String, Throwable) - Constructor for exception cn.hutool.core.exceptions.ValidateException
-
- ValidateException(int, String) - Constructor for exception cn.hutool.core.exceptions.ValidateException
-
- ValidateException(int, Throwable) - Constructor for exception cn.hutool.core.exceptions.ValidateException
-
- ValidateException(int, String, Throwable) - Constructor for exception cn.hutool.core.exceptions.ValidateException
-
- validateFalse(boolean, String, Object...) - Static method in class cn.hutool.core.lang.Validator
-
检查指定值是否为false
- validateGeneral(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为英文字母 、数字和下划线
- validateGeneral(T, int, int, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为给定长度范围的英文字母 、数字和下划线
- validateGeneral(T, int, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为给定最小长度的英文字母 、数字和下划线
- validateGeneralWithChinese(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为中文字、英文字母、数字和下划线
- validateHex(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为Hex(16进制)字符串
- validateIpv4(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为IPV4地址
- validateIpv6(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为IPV6地址
- validateLetter(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否全部为字母组成,包括大写和小写字母和汉字
- validateLowerCase(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证字符串是否全部为小写字母
- validateMac(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为MAC地址
- validateMatchRegex(String, T, String) - Static method in class cn.hutool.core.lang.Validator
-
- validateMobile(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为手机号码(中国)
- validateMoney(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为货币
- validateNotEmpty(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为非空,为空时抛出异常
对于String类型判定是否为empty(null 或 "")
- validateNotEmptyAndEqual(Object, Object, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否非空且与指定值相等
当数据为空时抛出验证异常
当两值不等时抛出异常
- validateNotEmptyAndNotEqual(Object, Object, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否非空且与指定值相等
当数据为空时抛出验证异常
当两值相等时抛出异常
- validateNotEqual(Object, Object, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否不等,相等抛出异常
- validateNotNull(T, String, Object...) - Static method in class cn.hutool.core.lang.Validator
-
检查指定值是否非null
- validateNull(T, String, Object...) - Static method in class cn.hutool.core.lang.Validator
-
检查指定值是否为null
- validateNumber(String, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为数字
- ValidateObjectInputStream - Class in cn.hutool.core.io
-
带有类验证的对象流,用于避免反序列化漏洞
详细见:https://xz.aliyun.com/t/41/
- ValidateObjectInputStream(InputStream, Class<?>...) - Constructor for class cn.hutool.core.io.ValidateObjectInputStream
-
构造
- validatePlateNumber(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为中国车牌号
- validateProperty(T, String, Class<?>...) - Static method in class cn.hutool.extra.validation.ValidationUtil
-
校验bean的某一个属性
- validateTrue(boolean, String, Object...) - Static method in class cn.hutool.core.lang.Validator
-
检查指定值是否为true
- validateUpperCase(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证字符串是否全部为大写字母
- validateUrl(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为URL
- validateUUID(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为UUID
包括带横线标准格式和不带横线的简单模式
- validateWord(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为字母(包括大写和小写字母)
- validateZipCode(T, String) - Static method in class cn.hutool.core.lang.Validator
-
验证是否为邮政编码(中国)
- ValidationUtil - Class in cn.hutool.extra.validation
-
java bean 校验工具类,此工具类基于validation-api(jakarta.validation-api)封装
- ValidationUtil() - Constructor for class cn.hutool.extra.validation.ValidationUtil
-
- Validator - Class in cn.hutool.core.lang
-
字段验证器
- Validator() - Constructor for class cn.hutool.core.lang.Validator
-
- value(String, Type) - Method in class cn.hutool.core.bean.copier.provider.BeanValueProvider
-
- value(String, Type) - Method in class cn.hutool.core.bean.copier.provider.DynaBeanValueProvider
-
- value(String, Type) - Method in class cn.hutool.core.bean.copier.provider.MapValueProvider
-
- value(T, Type) - Method in interface cn.hutool.core.bean.copier.ValueProvider
-
获取值
返回值一般需要匹配被注入类型,如果不匹配会调用默认转换 Convert#convert(Type, Object)实现转换
- value() - Method in enum cn.hutool.db.meta.TableType
-
获取值
- ValueListHandler - Class in cn.hutool.db.handler
-
结果集处理类 ,处理出的结果为List列表
- ValueListHandler() - Constructor for class cn.hutool.db.handler.ValueListHandler
-
- ValueMatcher - Interface in cn.hutool.cron.pattern.matcher
-
值匹配器
用于匹配日期位中对应数字是否匹配
- ValueMatcherBuilder - Class in cn.hutool.cron.pattern.matcher
-
- ValueMatcherBuilder() - Constructor for class cn.hutool.cron.pattern.matcher.ValueMatcherBuilder
-
- valueOf(String) - Static method in enum cn.hutool.cache.GlobalPruneTimer
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.bean.BeanDescCache
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.bean.BeanInfoCache
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.convert.BasicType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.date.BetweenFormatter.Level
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.date.DateField
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.date.DateModifier.ModifyType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.date.DateUnit
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.date.Month
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.date.Quarter
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.date.Week
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.img.ScaleType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.io.file.FileMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.io.file.LineSeparator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.io.unit.DataUnit
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.io.watch.WatchKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.thread.RejectPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.util.ModifierUtil.ModifierType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.core.util.ReferenceUtil.ReferenceType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.asymmetric.AsymmetricAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.asymmetric.KeyType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.asymmetric.SignAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.CipherMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.digest.DigestAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.digest.HmacAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.GlobalBouncyCastleProvider
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.Padding
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.crypto.symmetric.SymmetricAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.db.dialect.DialectName
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.db.meta.JdbcType
-
Returns the enum constant of this type with the specified name.
- valueOf(int) - Static method in enum cn.hutool.db.meta.JdbcType
-
- valueOf(String) - Static method in enum cn.hutool.db.meta.TableType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.db.sql.Condition.LikeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.db.sql.Direction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.db.sql.LogicalOperator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.db.sql.SqlBuilder.Join
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.db.sql.SqlLog
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.db.ThreadLocalConnection
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.db.transaction.TransactionLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.extra.cglib.BeanCopierCache
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.extra.ftp.FtpMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.extra.mail.GlobalMailAccount
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.extra.ssh.ChannelType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.extra.ssh.JschSessionPool
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.extra.ssh.Sftp.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.extra.template.TemplateConfig.ResourceMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.http.ContentType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.http.GlobalHeaders
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.http.Header
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.http.Method
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.http.webservice.SoapProtocol
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.log.level.Level
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.poi.excel.sax.AttributeName
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.poi.excel.sax.CellDataType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.poi.excel.sax.ElementName
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.poi.excel.style.Align
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.poi.word.PicType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum cn.hutool.socket.nio.Operation
-
Returns the enum constant of this type with the specified name.
- ValueParser - Interface in cn.hutool.cron.pattern.parser
-
值处理接口
值处理用于限定表达式中相应位置的值范围,并转换表达式值为int值
- ValueProvider<T> - Interface in cn.hutool.core.bean.copier
-
值提供者,用于提供Bean注入时参数对应值得抽象接口
继承或匿名实例化此接口
在Bean注入过程中,Bean获得字段名,通过外部方式根据这个字段名查找相应的字段值,然后注入Bean
- values() - Static method in enum cn.hutool.cache.GlobalPruneTimer
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.bean.BeanDescCache
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.bean.BeanInfoCache
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values(Collection<Map<?, V>>) - Static method in class cn.hutool.core.collection.CollUtil
-
获取指定Map列表中所有的Value
- values() - Static method in enum cn.hutool.core.convert.BasicType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.date.BetweenFormatter.Level
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.date.DateField
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.date.DateModifier.ModifyType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.date.DateUnit
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.date.Month
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.date.Quarter
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.date.Week
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.img.ScaleType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.io.file.FileMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.io.file.LineSeparator
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.io.unit.DataUnit
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.io.watch.WatchKind
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in class cn.hutool.core.map.MapProxy
-
- values() - Method in class cn.hutool.core.map.MapWrapper
-
- values() - Method in class cn.hutool.core.map.TableMap
-
- values() - Static method in enum cn.hutool.core.swing.clipboard.ClipboardMonitor
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.thread.RejectPolicy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.util.ModifierUtil.ModifierType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.core.util.ReferenceUtil.ReferenceType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.asymmetric.AsymmetricAlgorithm
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.asymmetric.KeyType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.asymmetric.SignAlgorithm
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.CipherMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.digest.DigestAlgorithm
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.digest.HmacAlgorithm
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.GlobalBouncyCastleProvider
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.Mode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.Padding
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.crypto.symmetric.SymmetricAlgorithm
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.db.dialect.DialectName
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.db.meta.JdbcType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.db.meta.TableType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.db.sql.Condition.LikeType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.db.sql.Direction
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.db.sql.LogicalOperator
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.db.sql.SqlBuilder.Join
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.db.sql.SqlLog
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.db.ThreadLocalConnection
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.db.transaction.TransactionLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.extra.cglib.BeanCopierCache
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.extra.ftp.FtpMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.extra.mail.GlobalMailAccount
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.extra.ssh.ChannelType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.extra.ssh.JschSessionPool
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.extra.ssh.Sftp.Mode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.extra.template.TemplateConfig.ResourceMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.http.ContentType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.http.GlobalHeaders
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.http.Header
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.http.Method
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.http.webservice.SoapProtocol
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in class cn.hutool.json.JSONObject
-
- values() - Static method in enum cn.hutool.log.level.Level
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.poi.excel.sax.AttributeName
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.poi.excel.sax.CellDataType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.poi.excel.sax.ElementName
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.poi.excel.style.Align
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum cn.hutool.poi.word.PicType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values(String) - Method in class cn.hutool.setting.GroupedMap
-
指定分组下所有值
- values(String) - Method in class cn.hutool.setting.Setting
-
指定分组下所有值
- values() - Method in class cn.hutool.setting.Setting
-
获取默认分组(空分组)中的所有值列表
- values() - Static method in enum cn.hutool.socket.nio.Operation
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- valuesOfKeys(Map<K, V>, K...) - Static method in class cn.hutool.core.collection.CollUtil
-
从Map中获取指定键列表对应的值列表
如果key在map中不存在或key对应值为null,则返回值列表对应位置的值也为null
- valuesOfKeys(Map<K, V>, Iterable<K>) - Static method in class cn.hutool.core.collection.CollUtil
-
从Map中获取指定键列表对应的值列表
如果key在map中不存在或key对应值为null,则返回值列表对应位置的值也为null
- valuesOfKeys(Map<K, V>, Iterator<K>) - Static method in class cn.hutool.core.collection.CollUtil
-
从Map中获取指定键列表对应的值列表
如果key在map中不存在或key对应值为null,则返回值列表对应位置的值也为null
- variant() - Method in class cn.hutool.core.lang.UUID
-
与此 UUID
相关联的变体号。变体号描述 UUID
的布局。
- VelocityEngine - Class in cn.hutool.extra.template.engine.velocity
-
Velocity模板引擎
见:http://velocity.apache.org/
- VelocityEngine() - Constructor for class cn.hutool.extra.template.engine.velocity.VelocityEngine
-
默认构造
- VelocityEngine(TemplateConfig) - Constructor for class cn.hutool.extra.template.engine.velocity.VelocityEngine
-
构造
- VelocityEngine(VelocityEngine) - Constructor for class cn.hutool.extra.template.engine.velocity.VelocityEngine
-
构造
- VelocityTemplate - Class in cn.hutool.extra.template.engine.velocity
-
Velocity模板包装
- VelocityTemplate(Template) - Constructor for class cn.hutool.extra.template.engine.velocity.VelocityTemplate
-
构造
- VelocityUtil - Class in cn.hutool.extra.template.engine.velocity
-
- VelocityUtil() - Constructor for class cn.hutool.extra.template.engine.velocity.VelocityUtil
-
Deprecated.
- VENDOR - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 运行时环境供应商
- VENDOR - Static variable in class cn.hutool.system.SystemUtil
-
Java 运行时环境供应商的KEY
- VENDOR_URL - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 供应商的 URL
- VENDOR_URL - Static variable in class cn.hutool.system.SystemUtil
-
Java 供应商的 URL的KEY
- verify(String) - Method in class cn.hutool.captcha.AbstractCaptcha
-
- verify(String, String) - Method in interface cn.hutool.captcha.generator.CodeGenerator
-
验证用户输入的字符串是否与生成的验证码匹配
用户通过实现此方法定义验证码匹配方式
- verify(String, String) - Method in class cn.hutool.captcha.generator.MathGenerator
-
- verify(String, String) - Method in class cn.hutool.captcha.generator.RandomGenerator
-
- verify(String) - Method in interface cn.hutool.captcha.ICaptcha
-
验证验证码是否正确,建议忽略大小写
- verify(byte[], byte[]) - Method in class cn.hutool.crypto.asymmetric.Sign
-
用公钥检验数字签名的合法性
- verify(byte[], byte[]) - Method in class cn.hutool.crypto.asymmetric.SM2
-
用公钥检验数字签名的合法性
- verify(byte[], byte[], byte[]) - Method in class cn.hutool.crypto.asymmetric.SM2
-
用公钥检验数字签名的合法性
- verify(String, SSLSession) - Method in class cn.hutool.http.ssl.TrustAnyHostnameVerifier
-
- verifyHex(String, String) - Method in class cn.hutool.crypto.asymmetric.SM2
-
用公钥检验数字签名的合法性
- verifyHex(String, String, String) - Method in class cn.hutool.crypto.asymmetric.SM2
-
用公钥检验数字签名的合法性
- version() - Method in class cn.hutool.core.lang.UUID
-
与此 UUID
相关联的版本号.
- VERSION - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 运行时环境版本
- VERSION - Static variable in class cn.hutool.system.SystemUtil
-
Java 运行时环境版本的KEY
- VersionComparator - Class in cn.hutool.core.comparator
-
版本比较器
比较两个版本的大小
排序时版本从小到大排序,即比较时小版本在前,大版本在后
支持如:1.3.20.8,6.82.20160101,8.5a/8.5c等版本形式
参考:https://www.cnblogs.com/shihaiming/p/6286575.html
- VersionComparator() - Constructor for class cn.hutool.core.comparator.VersionComparator
-
默认构造
- Vigenere - Class in cn.hutool.crypto.symmetric
-
维吉尼亚密码实现。
人们在恺撒移位密码的基础上扩展出多表密码,称为维吉尼亚密码。
算法实现来自:https://github.com/zhaorenjie110/SymmetricEncryptionAndDecryption
- Vigenere() - Constructor for class cn.hutool.crypto.symmetric.Vigenere
-
- visitFile(Path, BasicFileAttributes) - Method in class cn.hutool.core.io.file.visitor.CopyVisitor
-
- visitFile(Path, BasicFileAttributes) - Method in class cn.hutool.core.io.file.visitor.DelVisitor
-
- VM_NAME - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 虚拟机实现名称
- VM_NAME - Static variable in class cn.hutool.system.SystemUtil
-
Java 虚拟机实现名称的KEY
- VM_SPECIFICATION_NAME - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 虚拟机规范名称
- VM_SPECIFICATION_NAME - Static variable in class cn.hutool.system.SystemUtil
-
Java 虚拟机规范名称的KEY
- VM_SPECIFICATION_VENDOR - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 虚拟机规范供应商
- VM_SPECIFICATION_VENDOR - Static variable in class cn.hutool.system.SystemUtil
-
Java 虚拟机规范供应商的KEY
- VM_SPECIFICATION_VERSION - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 虚拟机规范版本
- VM_SPECIFICATION_VERSION - Static variable in class cn.hutool.system.SystemUtil
-
Java 虚拟机规范版本的KEY
- VM_VENDOR - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 虚拟机实现供应商
- VM_VENDOR - Static variable in class cn.hutool.system.SystemUtil
-
Java 虚拟机实现供应商的KEY
- VM_VERSION - Static variable in interface cn.hutool.system.SystemPropsKeys
-
Java 虚拟机实现版本
- VM_VERSION - Static variable in class cn.hutool.system.SystemUtil
-
Java 虚拟机实现版本的KEY
- VoidFunc<P> - Interface in cn.hutool.core.lang.func
-
函数对象
接口灵感来自于
ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
- VoidFunc0 - Interface in cn.hutool.core.lang.func
-
函数对象
接口灵感来自于
ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
- VoidFunc1<P> - Interface in cn.hutool.core.lang.func
-
函数对象
接口灵感来自于
ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象