- AbstractAsymmetricCrypto<T extends AbstractAsymmetricCrypto<T>> - com.dahuatech.hutool.crypto.asymmetric中的类
-
抽象的非对称加密对象,包装了加密和解密为Hex和Base64的封装
- AbstractAsymmetricCrypto(String, PrivateKey, PublicKey) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- AbstractCache<K,V> - com.dahuatech.hutool.cache.impl中的类
-
超时和限制大小的缓存的默认实现
继承此抽象缓存需要:
创建一个新的Map
实现 prune 策略
- AbstractCache() - 类 的构造器com.dahuatech.hutool.cache.impl.AbstractCache
-
- AbstractConverter<T> - com.dahuatech.hutool.core.convert中的类
-
抽象转换器,提供通用的转换逻辑,同时通过convertInternal实现对应类型的专属逻辑
转换器不会抛出转换异常,转换失败时会返回null
- AbstractConverter() - 类 的构造器com.dahuatech.hutool.core.convert.AbstractConverter
-
- AbstractDateBasic - com.dahuatech.hutool.core.date.format中的类
-
- AbstractDateBasic(String, TimeZone, Locale) - 类 的构造器com.dahuatech.hutool.core.date.format.AbstractDateBasic
-
构造,内部使用
- AbstractFileCache - com.dahuatech.hutool.cache.file中的类
-
文件缓存,以解决频繁读取文件引起的性能问题
- AbstractFileCache(int, int, long) - 类 的构造器com.dahuatech.hutool.cache.file.AbstractFileCache
-
构造
- AbstractLog - com.dahuatech.hutool.log中的类
-
抽象日志类
实现了一些通用的接口
- AbstractLog() - 类 的构造器com.dahuatech.hutool.log.AbstractLog
-
- accept(T, int) - 接口 中的方法com.dahuatech.hutool.core.collection.CollUtil.Consumer
-
接受并处理一个参数
- accept(K, V, int) - 接口 中的方法com.dahuatech.hutool.core.collection.CollUtil.KVConsumer
-
接受并处理一对参数
- accept(T) - 接口 中的方法com.dahuatech.hutool.core.lang.Filter
-
是否接受对象
- accessCount - 类 中的变量com.dahuatech.hutool.cache.impl.CacheObj
-
访问次数
- accumulate(String, Object) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
积累值。
- add(E) - 类 中的方法com.dahuatech.hutool.core.collection.ConcurrentHashSet
-
- add(File...) - 类 中的方法com.dahuatech.hutool.core.io.resource.MultiFileResource
-
增加文件资源
- add(Collection<File>) - 类 中的方法com.dahuatech.hutool.core.io.resource.MultiFileResource
-
增加文件资源
- add(Resource) - 类 中的方法com.dahuatech.hutool.core.io.resource.MultiFileResource
-
- add(Resource) - 类 中的方法com.dahuatech.hutool.core.io.resource.MultiResource
-
增加资源
- add(T) - 类 中的方法com.dahuatech.hutool.core.lang.ConsistentHash
-
增加节点
每增加一个节点,就会在闭环上增加给定复制节点数
例如复制节点数是2,则每调用此方法一次,增加两个虚拟节点,这两个节点指向同一Node 由于hash算法会调用node的toString方法,故按照toString去重
- add(byte) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableByte
-
增加值
- add(Number) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableByte
-
增加值
- add(double) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableDouble
-
增加值
- add(Number) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableDouble
-
增加值
- add(float) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableFloat
-
增加值
- add(Number) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableFloat
-
增加值
- add(int) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableInt
-
增加值
- add(Number) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableInt
-
增加值
- add(long) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableLong
-
增加值
- add(Number) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableLong
-
增加值
- add(short) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableShort
-
增加值
- add(Number) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableShort
-
增加值
- add(T, double) - 类 中的方法com.dahuatech.hutool.core.lang.WeightRandom
-
增加对象
- add(WeightRandom.WeightObj<T>) - 类 中的方法com.dahuatech.hutool.core.lang.WeightRandom
-
增加对象权重
- add(String) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
- add(int, String) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
- add(float, float) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供精确的加法运算
- add(float, double) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供精确的加法运算
- add(double, float) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供精确的加法运算
- add(double, double) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供精确的加法运算
- add(Double, Double) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供精确的加法运算
- add(Number, Number) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供精确的加法运算
如果传入多个值为null或者空,则返回0
- add(Number...) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供精确的加法运算
如果传入多个值为null或者空,则返回0
- add(String...) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供精确的加法运算
如果传入多个值为null或者空,则返回0
- add(BigDecimal...) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供精确的加法运算
如果传入多个值为null或者空,则返回0
- add(HttpConnection) - 类 中的静态方法com.dahuatech.hutool.http.cookie.GlobalCookieManager
-
将本地存储的Cookie信息附带到Http请求中,不覆盖用户定义好的Cookie
- add(URI, HttpCookie) - 类 中的方法com.dahuatech.hutool.http.cookie.ThreadLocalCookieStore
-
- add(Object) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- add(int, Object) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- addAll(E[]) - 类 中的方法com.dahuatech.hutool.core.collection.BoundedPriorityQueue
-
- addAll(Collection<T>, Object) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
将指定对象全部加入到集合中
提供的对象如果为集合类型,会自动转换为目标元素类型
- addAll(Collection<T>, Object, Type) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
将指定对象全部加入到集合中
提供的对象如果为集合类型,会自动转换为目标元素类型
- addAll(Collection<T>, Iterator<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
加入全部
- addAll(Collection<T>, Iterable<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
加入全部
- addAll(Collection<T>, Enumeration<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
加入全部
- addAll(Collection<T>, T[]) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
加入全部
- addAll(Collection<? extends String>) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
- addAll(int, Collection<? extends String>) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
- addAll(T[]...) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
将多个数组合并在一起
忽略null的数组
- addAll(byte[]...) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
将多个数组合并在一起
忽略null的数组
- addAll(Collection<?>) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- addAll(int, Collection<?>) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- addAllIfNotContains(List<T>, List<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
将另一个列表中的元素加入到列表中,如果列表中已经存在此元素则忽略之
- addChain(Comparator<E>) - 类 中的方法com.dahuatech.hutool.core.comparator.ComparatorChain
-
- addChain(Watcher) - 类 中的方法com.dahuatech.hutool.core.io.watch.watchers.WatcherChain
-
- addChain(E) - 接口 中的方法com.dahuatech.hutool.core.lang.Chain
-
加入责任链
- addChain(StrReplacer) - 类 中的方法com.dahuatech.hutool.core.text.replacer.ReplacerChain
-
- addComparator(Comparator<E>) - 类 中的方法com.dahuatech.hutool.core.comparator.ComparatorChain
-
在链的尾部添加比较器,使用正向排序
- addComparator(Comparator<E>, boolean) - 类 中的方法com.dahuatech.hutool.core.comparator.ComparatorChain
-
在链的尾部添加比较器,使用给定排序方式
- addHeaders(Map<String, String>) - 类 中的方法com.dahuatech.hutool.http.HttpBase
-
新增请求头
不覆盖原有请求头
- additiveHash(String, int) - 类 中的静态方法com.dahuatech.hutool.core.util.HashUtil
-
加法hash
- addJar(File) - 类 中的方法com.dahuatech.hutool.core.lang.JarClassLoader
-
加载Jar文件,或者加载目录
- addListener(ClipboardListener) - 枚举 中的方法com.dahuatech.hutool.core.swing.clipboard.ClipboardMonitor
-
设置 监听事件处理
- addPrefixIfNot(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
如果给定字符串不是以prefix开头的,在开头补充 prefix
- addProvider(Provider) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
增加加密解密的算法提供者,默认优先使用,例如:
addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
- addRepeatWorker(Runnable) - 类 中的方法com.dahuatech.hutool.core.thread.SyncFinisher
-
增加定义的线程数同等数量的worker
- addSafeCharacter(char) - 类 中的方法com.dahuatech.hutool.core.net.URLEncoder
-
增加安全字符
安全字符不被编码
- addShutdownHook(Runnable) - 类 中的静态方法com.dahuatech.hutool.core.util.RuntimeUtil
-
增加一个JVM关闭后的钩子,用于在JVM关闭时执行某些操作
- addSuffixIfNot(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
如果给定字符串不是以suffix结尾的,在尾部补充 suffix
- addURL(URL) - 类 中的方法com.dahuatech.hutool.core.lang.JarClassLoader
-
- addURL(File) - 类 中的方法com.dahuatech.hutool.core.lang.JarClassLoader
-
增加class所在目录或文件
如果为目录,此目录用于搜索class文件,如果为文件,需为jar文件
- addWorker(Runnable) - 类 中的方法com.dahuatech.hutool.core.thread.SyncFinisher
-
增加工作线程
- addWorker(SyncFinisher.Worker) - 类 中的方法com.dahuatech.hutool.core.thread.SyncFinisher
-
增加工作线程
- aes() - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
AES加密,生成随机KEY。
- aes(byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
AES加密
例:
AES加密:aes(key).encrypt(data)
AES解密:aes(key).decrypt(data)
- AES - com.dahuatech.hutool.crypto.symmetric中的类
-
AES加密算法实现
高级加密标准(英语:Advanced Encryption Standard,缩写:AES),在密码学中又称Rijndael加密法
对于Java中AES的默认模式是:AES/ECB/PKCS5Padding,如果使用CryptoJS,请调整为:padding: CryptoJS.pad.Pkcs7
相关概念说明:
mode: 加密算法模式,是用来描述加密算法(此处特指分组密码,不包括流密码,)在加密时对明文分组的模式,它代表了不同的分组方式
padding: 补码方式是在分组密码中,当明文长度不是分组长度的整数倍时,需要在最后一个分组中填充一些数据使其凑满一个分组的长度。
- AES() - 类 的构造器com.dahuatech.hutool.crypto.symmetric.AES
-
构造,默认AES/ECB/PKCS5Padding,使用随机密钥
- AES(byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.AES
-
构造,使用默认的AES/ECB/PKCS5Padding
- AES(Mode, Padding) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.AES
-
构造,使用随机密钥
- AES(Mode, Padding, byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.AES
-
构造
- AES(Mode, Padding, byte[], byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.AES
-
构造
- AES(Mode, Padding, SecretKey) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.AES
-
构造
- AES(Mode, Padding, SecretKey, byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.AES
-
构造
- AES(Mode, Padding, SecretKey, IvParameterSpec) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.AES
-
构造
- AES(String, String) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.AES
-
构造
- AES(String, String, byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.AES
-
构造
- AES(String, String, byte[], byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.AES
-
构造
- AES(String, String, SecretKey) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.AES
-
构造
- AES(String, String, SecretKey, IvParameterSpec) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.AES
-
构造
- age(Date, Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
计算相对于dateToCompare的年龄,长用于计算指定生日在某年的年龄
- ageOfNow(String) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
生日转为年龄,计算法定年龄
- ageOfNow(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
生日转为年龄,计算法定年龄
- algorithm - 类 中的变量com.dahuatech.hutool.crypto.asymmetric.BaseAsymmetric
-
算法
- ALGORITHM_NAME - 类 中的静态变量com.dahuatech.hutool.crypto.digest.SM3
-
- ALGORITHM_NAME - 类 中的静态变量com.dahuatech.hutool.crypto.symmetric.SM4
-
- alwaysDelimitText - 类 中的变量com.dahuatech.hutool.core.text.csv.CsvWriteConfig
-
是否始终使用文本分隔符,文本包装符,默认false,按需添加
- AMP - 类 中的静态变量com.dahuatech.hutool.core.util.CharUtil
-
- AMP - 类 中的静态变量com.dahuatech.hutool.http.HtmlUtil
-
- AMP - 类 中的静态变量com.dahuatech.hutool.json.XML
-
The Character '&'.
- AMP - 类 中的静态变量com.dahuatech.icc.util.CharUtil
-
字符常量:与 '&'
- and(boolean...) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
对Boolean数组取与
BooleanUtil.and(true, true) = true
BooleanUtil.and(false, false) = false
BooleanUtil.and(true, false) = false
BooleanUtil.and(true, true, false) = false
BooleanUtil.and(true, true, true) = true
- and(Boolean...) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
对Boolean数组取与
BooleanUtil.and(Boolean.TRUE, Boolean.TRUE) = Boolean.TRUE
BooleanUtil.and(Boolean.FALSE, Boolean.FALSE) = Boolean.FALSE
BooleanUtil.and(Boolean.TRUE, Boolean.FALSE) = Boolean.FALSE
BooleanUtil.and(Boolean.TRUE, Boolean.TRUE, Boolean.TRUE) = Boolean.TRUE
BooleanUtil.and(Boolean.FALSE, Boolean.FALSE, Boolean.TRUE) = Boolean.FALSE
BooleanUtil.and(Boolean.TRUE, Boolean.FALSE, Boolean.TRUE) = Boolean.FALSE
- AndroidSupportSSLFactory - com.dahuatech.hutool.http.ssl中的类
-
兼容android低版本SSL连接 咱在测试HttpUrlConnection的时候 发现一部分手机无法连接[GithubPage]
最后发现原来是某些SSL协议没有开启
- AndroidSupportSSLFactory() - 类 的构造器com.dahuatech.hutool.http.ssl.AndroidSupportSSLFactory
-
- AnnotationUtil - com.dahuatech.hutool.core.annotation中的类
-
注解工具类
快速获取注解对象、注解值等工具封装
- AnnotationUtil() - 类 的构造器com.dahuatech.hutool.core.annotation.AnnotationUtil
-
- ApacheCommonsLog - com.dahuatech.hutool.log.dialect.commons中的类
-
Apache Commons Logging
- ApacheCommonsLog(Log, String) - 类 的构造器com.dahuatech.hutool.log.dialect.commons.ApacheCommonsLog
-
- ApacheCommonsLog(Class<?>) - 类 的构造器com.dahuatech.hutool.log.dialect.commons.ApacheCommonsLog
-
- ApacheCommonsLog(String) - 类 的构造器com.dahuatech.hutool.log.dialect.commons.ApacheCommonsLog
-
- ApacheCommonsLog4JLog - com.dahuatech.hutool.log.dialect.commons中的类
-
Apache Commons Logging for Log4j
- ApacheCommonsLog4JLog(Log) - 类 的构造器com.dahuatech.hutool.log.dialect.commons.ApacheCommonsLog4JLog
-
- ApacheCommonsLog4JLog(Class<?>) - 类 的构造器com.dahuatech.hutool.log.dialect.commons.ApacheCommonsLog4JLog
-
- ApacheCommonsLog4JLog(String) - 类 的构造器com.dahuatech.hutool.log.dialect.commons.ApacheCommonsLog4JLog
-
- ApacheCommonsLogFactory - com.dahuatech.hutool.log.dialect.commons中的类
-
Apache Commons Logging
- ApacheCommonsLogFactory() - 类 的构造器com.dahuatech.hutool.log.dialect.commons.ApacheCommonsLogFactory
-
- apHash(String) - 类 中的静态方法com.dahuatech.hutool.core.util.HashUtil
-
AP算法
- APOS - 类 中的静态变量com.dahuatech.hutool.http.HtmlUtil
-
- APOS - 类 中的静态变量com.dahuatech.hutool.json.XML
-
The Character '''.
- append(Object, Object) - 类 中的方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Appends to the builder the comparison of two Objects.
- append(Object, Object, Comparator<?>) - 类 中的方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Appends to the builder the comparison of two Objects.
- append(long, long) - 类 中的方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Appends to the builder the comparison of two longs.
- append(int, int) - 类 中的方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Appends to the builder the comparison of two ints.
- append(short, short) - 类 中的方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Appends to the builder the comparison of two shorts.
- append(char, char) - 类 中的方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Appends to the builder the comparison of two chars.
- append(byte, byte) - 类 中的方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Appends to the builder the comparison of two bytes.
- append(double, double) - 类 中的方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Appends to the builder the comparison of two doubles.
- append(float, float) - 类 中的方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Appends to the builder the comparison of two floats.
- append(boolean, boolean) - 类 中的方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Appends to the builder the comparison of two booleanss.
- append(Object[], Object[]) - 类 中的方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Appends to the builder the deep comparison of two Object arrays.
- append(Object[], Object[], Comparator<?>) - 类 中的方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Appends to the builder the deep comparison of two Object arrays.
- append(long[], long[]) - 类 中的方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Appends to the builder the deep comparison of two long arrays.
- append(int[], int[]) - 类 中的方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Appends to the builder the deep comparison of two int arrays.
- append(short[], short[]) - 类 中的方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Appends to the builder the deep comparison of two short arrays.
- append(char[], char[]) - 类 中的方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Appends to the builder the deep comparison of two char arrays.
- append(byte[], byte[]) - 类 中的方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Appends to the builder the deep comparison of two byte arrays.
- append(double[], double[]) - 类 中的方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Appends to the builder the deep comparison of two double arrays.
- append(float[], float[]) - 类 中的方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Appends to the builder the deep comparison of two float arrays.
- append(boolean[], boolean[]) - 类 中的方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Appends to the builder the deep comparison of two boolean arrays.
- append(Object, Object) - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Test if two Objects are equal using their equals method.
- append(long, long) - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Test if two long s are equal.
- append(int, int) - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Test if two ints are equal.
- append(short, short) - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Test if two shorts are equal.
- append(char, char) - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Test if two chars are equal.
- append(byte, byte) - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Test if two bytes are equal.
- append(double, double) - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Test if two doubles are equal by testing that the pattern of bits returned by
doubleToLong are equal.
- append(float, float) - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Test if two floats are equal byt testing that the pattern of bits returned by
doubleToLong are equal.
- append(boolean, boolean) - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Test if two booleanss are equal.
- append(Object[], Object[]) - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Performs a deep comparison of two Object arrays.
- append(long[], long[]) - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Deep comparison of array of long.
- append(int[], int[]) - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Deep comparison of array of int.
- append(short[], short[]) - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Deep comparison of array of short.
- append(char[], char[]) - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Deep comparison of array of char.
- append(byte[], byte[]) - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Deep comparison of array of byte.
- append(double[], double[]) - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Deep comparison of array of double.
- append(float[], float[]) - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Deep comparison of array of float.
- append(boolean[], boolean[]) - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Deep comparison of array of boolean.
- append(boolean) - 类 中的方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Append a hashCode for a boolean.
- append(boolean[]) - 类 中的方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Append a hashCode for a boolean array.
- append(byte) - 类 中的方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Append a hashCode for a byte.
- append(byte[]) - 类 中的方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Append a hashCode for a byte array.
- append(char) - 类 中的方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Append a hashCode for a char.
- append(char[]) - 类 中的方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Append a hashCode for a char array.
- append(double) - 类 中的方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Append a hashCode for a double.
- append(double[]) - 类 中的方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Append a hashCode for a double array.
- append(float) - 类 中的方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Append a hashCode for a float.
- append(float[]) - 类 中的方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Append a hashCode for a float array.
- append(int) - 类 中的方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Append a hashCode for an int.
- append(int[]) - 类 中的方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Append a hashCode for an int array.
- append(long) - 类 中的方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Append a hashCode for a long.
- append(long[]) - 类 中的方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Append a hashCode for a long array.
- append(Object) - 类 中的方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Append a hashCode for an Object.
- append(Object[]) - 类 中的方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Append a hashCode for an Object array.
- append(short) - 类 中的方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Append a hashCode for a short.
- append(short[]) - 类 中的方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Append a hashCode for a short array.
- append(byte[], int, int) - 类 中的方法com.dahuatech.hutool.core.io.FastByteBuffer
-
向快速缓冲加入数据
- append(byte[]) - 类 中的方法com.dahuatech.hutool.core.io.FastByteBuffer
-
向快速缓冲加入数据
- append(byte) - 类 中的方法com.dahuatech.hutool.core.io.FastByteBuffer
-
向快速缓冲加入一个字节
- append(FastByteBuffer) - 类 中的方法com.dahuatech.hutool.core.io.FastByteBuffer
-
将另一个快速缓冲加入到自身
- append(String) - 类 中的方法com.dahuatech.hutool.core.io.file.FileAppender
-
追加
- append(String) - 类 中的方法com.dahuatech.hutool.core.io.file.FileWriter
-
将String写入文件,追加模式
- append(byte[], int, int) - 类 中的方法com.dahuatech.hutool.core.io.file.FileWriter
-
追加数据到文件
- append(Object) - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
追加对象,对象会被转换为字符串
- append(char) - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
追加一个字符
- append(char[]) - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
追加一个字符数组
- append(char[], int, int) - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
追加一个字符数组
- append(CharSequence) - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
- append(CharSequence, int, int) - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
- append(T[], T...) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
将新元素添加到已有数组中
添加新元素会生成一个新的数组,不影响原数组
- append(Object, T...) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
将新元素添加到已有数组中
添加新元素会生成一个新的数组,不影响原数组
- append(String, Object) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
追加值,如果key无对应值,就添加一个JSONArray,其元素只有value,如果值已经是一个JSONArray,则添加到值JSONArray中。
- appendChild(Node, String) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
在已有节点上创建子节点
- appendChild(Node, String, String) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
在已有节点上创建子节点
- appendHex(StringBuilder, byte, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.HexUtil
-
- appendIfMissing(CharSequence, CharSequence, CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
如果给定字符串不是以给定的一个或多个字符串为结尾,则在尾部添加结尾字符串
不忽略大小写
- appendIfMissing(CharSequence, CharSequence, boolean, CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
如果给定字符串不是以给定的一个或多个字符串为结尾,则在尾部添加结尾字符串
- appendIfMissingIgnoreCase(CharSequence, CharSequence, CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
如果给定字符串不是以给定的一个或多个字符串为结尾,则在尾部添加结尾字符串
忽略大小写
- appendLines(Collection<T>) - 类 中的方法com.dahuatech.hutool.core.io.file.FileWriter
-
将列表写入文件,追加模式
- appendLines(Collection<T>, String, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
将列表写入文件,追加模式
- appendLines(Collection<T>, File, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
将列表写入文件,追加模式
- appendLines(Collection<T>, String, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
将列表写入文件,追加模式
- appendLines(Collection<T>, File, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
将列表写入文件,追加模式
- appendRange(int, int, Collection<Integer>) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
将给定范围内的整数添加到已有集合中,步进为1
- appendRange(int, int, int, Collection<Integer>) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
将给定范围内的整数添加到已有集合中
- appendString(String, String, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
将String写入文件,追加模式
- appendString(String, String, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
将String写入文件,追加模式
- appendString(String, File, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
将String写入文件,追加模式
- appendString(String, File, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
将String写入文件,追加模式
- appendSuper(int) - 类 中的方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Appends to the builder the compareTo(Object) result of the
superclass.
- appendSuper(boolean) - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Adds the result of super.equals() to this builder.
- appendSuper(int) - 类 中的方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Adds the result of super.hashCode() to this builder.
- appendUtf8Lines(Collection<T>, File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
将列表写入文件,追加模式
- appendUtf8Lines(Collection<T>, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
将列表写入文件,追加模式
- appendUtf8String(String, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
将String写入文件,UTF-8编码追加模式
- appendUtf8String(String, File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
将String写入文件,UTF-8编码追加模式
- Arrangement - com.dahuatech.hutool.core.math中的类
-
排列A(n, m)
排列组合相关类 参考:http://cgs1999.iteye.com/blog/2327664
- Arrangement(String[]) - 类 的构造器com.dahuatech.hutool.core.math.Arrangement
-
构造
- arrangementCount(int, int) - 类 中的静态方法com.dahuatech.hutool.core.math.MathUtil
-
计算排列数,即A(n, m) = n!
- arrangementCount(int) - 类 中的静态方法com.dahuatech.hutool.core.math.MathUtil
-
计算排列数,即A(n, n) = n!
- arrangementSelect(String[], int) - 类 中的静态方法com.dahuatech.hutool.core.math.MathUtil
-
排列选择(从列表中选择n个排列)
- arrangementSelect(String[]) - 类 中的静态方法com.dahuatech.hutool.core.math.MathUtil
-
全排列选择(列表全部参与排列)
- array(int) - 类 中的方法com.dahuatech.hutool.core.io.FastByteBuffer
-
根据索引位返回缓冲集中的缓冲
- ArrayConverter - com.dahuatech.hutool.core.convert.impl中的类
-
数组转换器,包括原始类型数组
- ArrayConverter(Class<?>) - 类 的构造器com.dahuatech.hutool.core.convert.impl.ArrayConverter
-
构造
- ArrayIter<E> - com.dahuatech.hutool.core.collection中的类
-
数组Iterator对象
- ArrayIter(Object) - 类 的构造器com.dahuatech.hutool.core.collection.ArrayIter
-
构造
- ArrayIter(Object, int) - 类 的构造器com.dahuatech.hutool.core.collection.ArrayIter
-
构造
- ArrayIter(Object, int, int) - 类 的构造器com.dahuatech.hutool.core.collection.ArrayIter
-
构造
- ArrayTypeGetter - com.dahuatech.hutool.core.getter中的接口
-
数组类型的Get接口
- ArrayUtil - com.dahuatech.hutool.core.util中的类
-
数组工具类
- ArrayUtil() - 类 的构造器com.dahuatech.hutool.core.util.ArrayUtil
-
- ASCIIStrCache - com.dahuatech.hutool.core.text中的类
-
ASCII字符对应的字符串缓存
- ASCIIStrCache() - 类 的构造器com.dahuatech.hutool.core.text.ASCIIStrCache
-
- ASCIIStrCache() - 类 的构造器com.dahuatech.icc.util.CharUtil.ASCIIStrCache
-
- ascToBcd(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.codec.BCD
-
ASCII转BCD
- ascToBcd(byte[], int) - 类 中的静态方法com.dahuatech.hutool.core.codec.BCD
-
ASCII转BCD
- asEnumeration(Iterator<E>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
Iterator转换为Enumeration
Adapt the specified Iterator to the Enumeration interface.
- asIterable(Iterator<E>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
- asIterable(Iterator<E>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
- asIterator(Enumeration<E>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
Enumeration转换为Iterator
Adapt the specified Enumeration to the Iterator interface
- asIterator(Enumeration<E>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
Enumeration转换为Iterator
Adapt the specified Enumeration to the Iterator interface
- Assert - com.dahuatech.hutool.core.lang中的类
-
断言
断言某些对象或值是否符合规定,否则抛出异常。
- Assert() - 类 的构造器com.dahuatech.hutool.core.lang.Assert
-
- AsymmetricAlgorithm - com.dahuatech.hutool.crypto.asymmetric中的枚举
-
非对称算法类型
see:
https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- AsymmetricCrypto - com.dahuatech.hutool.crypto.asymmetric中的类
-
非对称加密算法
1、签名:使用私钥加密,公钥解密。
- AsymmetricCrypto(AsymmetricAlgorithm) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.AsymmetricCrypto
-
构造,创建新的私钥公钥对
- AsymmetricCrypto(String) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.AsymmetricCrypto
-
构造,创建新的私钥公钥对
- AsymmetricCrypto(AsymmetricAlgorithm, String, String) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.AsymmetricCrypto
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- AsymmetricCrypto(AsymmetricAlgorithm, byte[], byte[]) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.AsymmetricCrypto
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- AsymmetricCrypto(AsymmetricAlgorithm, PrivateKey, PublicKey) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.AsymmetricCrypto
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- AsymmetricCrypto(String, String, String) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.AsymmetricCrypto
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- AsymmetricCrypto(String, byte[], byte[]) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.AsymmetricCrypto
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- AsymmetricCrypto(String, PrivateKey, PublicKey) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.AsymmetricCrypto
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- AT - 类 中的静态变量com.dahuatech.icc.util.CharUtil
-
字符常量:艾特 '@'
- AtomicBooleanConverter - com.dahuatech.hutool.core.convert.impl中的类
-
- AtomicBooleanConverter() - 类 的构造器com.dahuatech.hutool.core.convert.impl.AtomicBooleanConverter
-
- AtomicLoader<T> - com.dahuatech.hutool.core.lang.loader中的类
-
- AtomicLoader() - 类 的构造器com.dahuatech.hutool.core.lang.loader.AtomicLoader
-
- AtomicReferenceConverter - com.dahuatech.hutool.core.convert.impl中的类
-
- AtomicReferenceConverter() - 类 的构造器com.dahuatech.hutool.core.convert.impl.AtomicReferenceConverter
-
- available() - 类 中的方法com.dahuatech.hutool.http.HttpInputStream
-
- await() - 类 中的方法com.dahuatech.hutool.core.thread.SyncFinisher
-
- C_BACKSLASH - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- C_BRACKET_END - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- C_BRACKET_START - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- C_COLON - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- C_COMMA - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- C_CR - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- C_DELIM_END - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- C_DELIM_START - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- C_DOT - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- C_LF - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- C_SLASH - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- C_SPACE - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- C_TAB - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- C_UNDERLINE - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- Cache<K,V> - com.dahuatech.hutool.cache中的接口
-
缓存接口
- cache - 类 中的变量com.dahuatech.hutool.cache.file.AbstractFileCache
-
缓存实现
- cacheMap - 类 中的变量com.dahuatech.hutool.cache.impl.AbstractCache
-
- CacheObj<K,V> - com.dahuatech.hutool.cache.impl中的类
-
缓存对象
- CacheObj(K, V, long) - 类 的构造器com.dahuatech.hutool.cache.impl.CacheObj
-
构造
- cacheObjIterator() - 接口 中的方法com.dahuatech.hutool.cache.Cache
-
返回包含键和值得迭代器
- cacheObjIterator() - 类 中的方法com.dahuatech.hutool.cache.impl.AbstractCache
-
- CacheObjIterator<K,V> - com.dahuatech.hutool.cache.impl中的类
-
- cacheObjIterator() - 类 中的方法com.dahuatech.hutool.cache.impl.NoCache
-
- CacheUtil - com.dahuatech.hutool.cache中的类
-
缓存工具类
- CacheUtil() - 类 的构造器com.dahuatech.hutool.cache.CacheUtil
-
- CacheValuesIterator<V> - com.dahuatech.hutool.cache.impl中的类
-
- Caesar - com.dahuatech.hutool.core.codec中的类
-
凯撒密码实现
算法来自:https://github.com/zhaorenjie110/SymmetricEncryptionAndDecryption
- Caesar() - 类 的构造器com.dahuatech.hutool.core.codec.Caesar
-
- calendar() - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
创建Calendar对象,时间为默认时区的当前时间
- calendar(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
转换为Calendar对象
- calendar(long) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
转换为Calendar对象
- CalendarConverter - com.dahuatech.hutool.core.convert.impl中的类
-
日期转换器
- CalendarConverter() - 类 的构造器com.dahuatech.hutool.core.convert.impl.CalendarConverter
-
- call(P...) - 接口 中的方法com.dahuatech.hutool.core.lang.func.Func
-
执行函数
- call() - 接口 中的方法com.dahuatech.hutool.core.lang.func.Func0
-
执行函数
- call(P) - 接口 中的方法com.dahuatech.hutool.core.lang.func.Func1
-
执行函数
- call(P...) - 接口 中的方法com.dahuatech.hutool.core.lang.func.VoidFunc
-
执行函数
- call() - 接口 中的方法com.dahuatech.hutool.core.lang.func.VoidFunc0
-
执行函数
- call(P) - 接口 中的方法com.dahuatech.hutool.core.lang.func.VoidFunc1
-
执行函数
- Caller - com.dahuatech.hutool.core.lang.caller中的接口
-
调用者接口
可以通过此接口的实现类方法获取调用者、多级调用者以及判断是否被调用
- CallerUtil - com.dahuatech.hutool.core.lang.caller中的类
-
调用者。
- CallerUtil() - 类 的构造器com.dahuatech.hutool.core.lang.caller.CallerUtil
-
- CamelCaseLinkedMap<K,V> - com.dahuatech.hutool.core.map中的类
-
驼峰Key风格的LinkedHashMap
对KEY转换为驼峰,get("int_value")和get("intValue")获得的值相同,put进入的值也会被覆盖
- CamelCaseLinkedMap() - 类 的构造器com.dahuatech.hutool.core.map.CamelCaseLinkedMap
-
构造
- CamelCaseLinkedMap(int) - 类 的构造器com.dahuatech.hutool.core.map.CamelCaseLinkedMap
-
构造
- CamelCaseLinkedMap(Map<? extends K, ? extends V>) - 类 的构造器com.dahuatech.hutool.core.map.CamelCaseLinkedMap
-
构造
- CamelCaseLinkedMap(float, Map<? extends K, ? extends V>) - 类 的构造器com.dahuatech.hutool.core.map.CamelCaseLinkedMap
-
构造
- CamelCaseLinkedMap(int, float) - 类 的构造器com.dahuatech.hutool.core.map.CamelCaseLinkedMap
-
构造
- CamelCaseMap<K,V> - com.dahuatech.hutool.core.map中的类
-
驼峰Key风格的Map
对KEY转换为驼峰,get("int_value")和get("intValue")获得的值相同,put进入的值也会被覆盖
- CamelCaseMap() - 类 的构造器com.dahuatech.hutool.core.map.CamelCaseMap
-
构造
- CamelCaseMap(int) - 类 的构造器com.dahuatech.hutool.core.map.CamelCaseMap
-
构造
- CamelCaseMap(Map<? extends K, ? extends V>) - 类 的构造器com.dahuatech.hutool.core.map.CamelCaseMap
-
构造
- CamelCaseMap(float, Map<? extends K, ? extends V>) - 类 的构造器com.dahuatech.hutool.core.map.CamelCaseMap
-
构造
- CamelCaseMap(int, float) - 类 的构造器com.dahuatech.hutool.core.map.CamelCaseMap
-
构造
- cancelPruneSchedule() - 类 中的方法com.dahuatech.hutool.cache.impl.TimedCache
-
取消定时清理
- capacity() - 接口 中的方法com.dahuatech.hutool.cache.Cache
-
返回缓存容量,0表示无大小限制
- capacity - 类 中的变量com.dahuatech.hutool.cache.file.AbstractFileCache
-
容量
- capacity() - 类 中的方法com.dahuatech.hutool.cache.file.AbstractFileCache
-
- capacity - 类 中的变量com.dahuatech.hutool.cache.impl.AbstractCache
-
返回缓存容量,0表示无大小限制
- capacity() - 类 中的方法com.dahuatech.hutool.cache.impl.AbstractCache
-
- capacity() - 类 中的方法com.dahuatech.hutool.cache.impl.NoCache
-
- captureScreen() - 类 中的静态方法com.dahuatech.hutool.core.swing.RobotUtil
-
截取全屏
- captureScreen(File) - 类 中的静态方法com.dahuatech.hutool.core.swing.RobotUtil
-
截取全屏到文件
- captureScreen(Rectangle) - 类 中的静态方法com.dahuatech.hutool.core.swing.RobotUtil
-
截屏
- captureScreen(Rectangle, File) - 类 中的静态方法com.dahuatech.hutool.core.swing.RobotUtil
-
截屏
- captureScreen() - 类 中的静态方法com.dahuatech.hutool.core.swing.ScreenUtil
-
截取全屏
- captureScreen(File) - 类 中的静态方法com.dahuatech.hutool.core.swing.ScreenUtil
-
截取全屏到文件
- captureScreen(Rectangle) - 类 中的静态方法com.dahuatech.hutool.core.swing.ScreenUtil
-
截屏
- captureScreen(Rectangle, File) - 类 中的静态方法com.dahuatech.hutool.core.swing.ScreenUtil
-
截屏
- CaseInsensitiveLinkedMap<K,V> - com.dahuatech.hutool.core.map中的类
-
忽略大小写的LinkedHashMap
对KEY忽略大小写,get("Value")和get("value")获得的值相同,put进入的值也会被覆盖
- CaseInsensitiveLinkedMap() - 类 的构造器com.dahuatech.hutool.core.map.CaseInsensitiveLinkedMap
-
构造
- CaseInsensitiveLinkedMap(int) - 类 的构造器com.dahuatech.hutool.core.map.CaseInsensitiveLinkedMap
-
构造
- CaseInsensitiveLinkedMap(Map<? extends K, ? extends V>) - 类 的构造器com.dahuatech.hutool.core.map.CaseInsensitiveLinkedMap
-
构造
- CaseInsensitiveLinkedMap(float, Map<? extends K, ? extends V>) - 类 的构造器com.dahuatech.hutool.core.map.CaseInsensitiveLinkedMap
-
构造
- CaseInsensitiveLinkedMap(int, float) - 类 的构造器com.dahuatech.hutool.core.map.CaseInsensitiveLinkedMap
-
构造
- CaseInsensitiveMap<K,V> - com.dahuatech.hutool.core.map中的类
-
忽略大小写的Map
对KEY忽略大小写,get("Value")和get("value")获得的值相同,put进入的值也会被覆盖
- CaseInsensitiveMap() - 类 的构造器com.dahuatech.hutool.core.map.CaseInsensitiveMap
-
构造
- CaseInsensitiveMap(int) - 类 的构造器com.dahuatech.hutool.core.map.CaseInsensitiveMap
-
构造
- CaseInsensitiveMap(Map<? extends K, ? extends V>) - 类 的构造器com.dahuatech.hutool.core.map.CaseInsensitiveMap
-
构造
- CaseInsensitiveMap(float, Map<? extends K, ? extends V>) - 类 的构造器com.dahuatech.hutool.core.map.CaseInsensitiveMap
-
构造
- CaseInsensitiveMap(int, float) - 类 的构造器com.dahuatech.hutool.core.map.CaseInsensitiveMap
-
构造
- cast(Class<?>, Object) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
强转数组类型
强制转换的前提是数组元素类型可被强制转换
强制转换后会生成一个新数组
- CastConverter<T> - com.dahuatech.hutool.core.convert.impl中的类
-
强转转换器
- CastConverter() - 类 的构造器com.dahuatech.hutool.core.convert.impl.CastConverter
-
- causeInstanceOf(Class<? extends Throwable>) - 异常错误 中的方法com.dahuatech.hutool.core.io.IORuntimeException
-
导致这个异常的异常是否是指定类型的异常
- causeInstanceOf(Class<? extends Throwable>) - 异常错误 中的方法com.dahuatech.hutool.core.io.resource.NoResourceException
-
导致这个异常的异常是否是指定类型的异常
- ceiling(Date, DateField) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
修改日期为某个时间字段结束时间
- ceiling(Calendar, DateField) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
修改日期为某个时间字段结束时间
- center(CharSequence, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
居中字符串,两边补充指定字符串,如果指定长度小于字符串,则返回原字符串
StrUtil.center(null, *) = null
StrUtil.center("", 4) = " "
StrUtil.center("ab", -1) = "ab"
StrUtil.center("ab", 4) = " ab "
StrUtil.center("abcd", 2) = "abcd"
StrUtil.center("a", 4) = " a "
- center(CharSequence, int, char) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
居中字符串,两边补充指定字符串,如果指定长度小于字符串,则返回原字符串
StrUtil.center(null, *, *) = null
StrUtil.center("", 4, ' ') = " "
StrUtil.center("ab", -1, ' ') = "ab"
StrUtil.center("ab", 4, ' ') = " ab "
StrUtil.center("abcd", 2, ' ') = "abcd"
StrUtil.center("a", 4, ' ') = " a "
StrUtil.center("a", 4, 'y') = "yayy"
StrUtil.center("abc", 7, ' ') = " abc "
- center(CharSequence, int, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
居中字符串,两边补充指定字符串,如果指定长度小于字符串,则返回原字符串
StrUtil.center(null, *, *) = null
StrUtil.center("", 4, " ") = " "
StrUtil.center("ab", -1, " ") = "ab"
StrUtil.center("ab", 4, " ") = " ab "
StrUtil.center("abcd", 2, " ") = "abcd"
StrUtil.center("a", 4, " ") = " a "
StrUtil.center("a", 4, "yz") = "yayz"
StrUtil.center("abc", 7, null) = " abc "
StrUtil.center("abc", 7, "") = " abc "
- CERT_TYPE_X509 - 类 中的静态变量com.dahuatech.hutool.crypto.KeyUtil
-
Certification类型:X.509
- Chain<E,T> - com.dahuatech.hutool.core.lang中的接口
-
责任链接口
- changeC1C2C3ToC1C3C2(byte[], ECDomainParameters) - 类 中的静态方法com.dahuatech.hutool.crypto.SmUtil
-
bc加解密使用旧标c1||c2||c3,此方法在加密后调用,将结果转化为c1||c3||c2
- changeC1C3C2ToC1C2C3(byte[], ECDomainParameters) - 类 中的静态方法com.dahuatech.hutool.crypto.SmUtil
-
bc加解密使用旧标c1||c3||c2,此方法在解密前调用,将密文转化为c1||c2||c3再去解密
- CharacterConverter - com.dahuatech.hutool.core.convert.impl中的类
-
字符转换器
- CharacterConverter() - 类 的构造器com.dahuatech.hutool.core.convert.impl.CharacterConverter
-
- charAt(int) - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
- charset - 类 中的变量com.dahuatech.hutool.core.io.file.FileWrapper
-
- charset(String) - 类 中的静态方法com.dahuatech.hutool.core.util.CharsetUtil
-
转换为Charset对象
- charset - 类 中的变量com.dahuatech.hutool.http.HttpBase
-
编码
- charset() - 类 中的方法com.dahuatech.hutool.http.HttpBase
-
返回字符集
- charset(String) - 类 中的方法com.dahuatech.hutool.http.HttpBase
-
设置字符集
- charset(Charset) - 类 中的方法com.dahuatech.hutool.http.HttpBase
-
设置字符集
- CHARSET_GBK - 类 中的静态变量com.dahuatech.hutool.core.util.CharsetUtil
-
GBK
- CHARSET_ISO_8859_1 - 类 中的静态变量com.dahuatech.hutool.core.util.CharsetUtil
-
ISO-8859-1
- CHARSET_PATTERN - 类 中的静态变量com.dahuatech.hutool.http.HttpUtil
-
正则:Content-Type中的编码信息
- CHARSET_UTF_8 - 类 中的静态变量com.dahuatech.hutool.core.util.CharsetUtil
-
UTF-8
- CharsetConverter - com.dahuatech.hutool.core.convert.impl中的类
-
编码对象转换器
- CharsetConverter() - 类 的构造器com.dahuatech.hutool.core.convert.impl.CharsetConverter
-
- CharsetUtil - com.dahuatech.hutool.core.util中的类
-
字符集工具类
- CharsetUtil() - 类 的构造器com.dahuatech.hutool.core.util.CharsetUtil
-
- CharUtil - com.dahuatech.hutool.core.util中的类
-
字符工具类
部分工具来自于Apache Commons系列
- CharUtil() - 类 的构造器com.dahuatech.hutool.core.util.CharUtil
-
- CharUtil - com.dahuatech.icc.util中的类
-
字符工具类
部分工具来自于Apache Commons系列
- CharUtil() - 类 的构造器com.dahuatech.icc.util.CharUtil
-
- CharUtil.ASCIIStrCache - com.dahuatech.icc.util中的类
-
- checkBetween(int, int, int) - 类 中的静态方法com.dahuatech.hutool.core.lang.Assert
-
检查值是否在指定范围内
- checkBetween(long, long, long) - 类 中的静态方法com.dahuatech.hutool.core.lang.Assert
-
检查值是否在指定范围内
- checkBetween(double, double, double) - 类 中的静态方法com.dahuatech.hutool.core.lang.Assert
-
检查值是否在指定范围内
- checkBetween(Number, Number, Number) - 类 中的静态方法com.dahuatech.hutool.core.lang.Assert
-
检查值是否在指定范围内
- checkClientTrusted(X509Certificate[], String) - 类 中的方法com.dahuatech.hutool.http.ssl.DefaultTrustManager
-
- checkIndex(int, int) - 类 中的静态方法com.dahuatech.hutool.core.lang.Assert
-
检查下标(数组、集合、字符串)是否符合要求,下标必须满足:
0 ≤ index < size
- checkIndex(int, int, String, Object...) - 类 中的静态方法com.dahuatech.hutool.core.lang.Assert
-
检查下标(数组、集合、字符串)是否符合要求,下标必须满足:
0 ≤ index < size
- checkLogExist(Class<?>) - 类 中的方法com.dahuatech.hutool.log.dialect.commons.ApacheCommonsLogFactory
-
- checkLogExist(Class<?>) - 类 中的方法com.dahuatech.hutool.log.LogFactory
-
检查日志实现是否存在
此方法仅用于检查所提供的日志相关类是否存在,当传入的日志类类不存在时抛出ClassNotFoundException
此方法的作用是在detectLogFactory方法自动检测所用日志时,如果实现类不存在,调用此方法会自动抛出异常,从而切换到下一种日志的检测。
- checkpw(String, String) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.BCrypt
-
检查明文密码文本是否匹配加密后的文本
- checkServerTrusted(X509Certificate[], String) - 类 中的方法com.dahuatech.hutool.http.ssl.DefaultTrustManager
-
- checkSlip(File, File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
检查父完整路径是否为自路径的前半部分,如果不是说明不是子路径,可能存在slip注入。
- checksum(File, Checksum) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
计算文件校验码
- checksum(InputStream, Checksum) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
计算流的校验码,计算后关闭流
- checksumCRC32(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
计算文件CRC32校验码
- checksumCRC32(InputStream) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
计算流CRC32校验码,计算后关闭流
- CHINESE - 类 中的静态变量com.dahuatech.hutool.core.lang.PatternPool
-
单个中文汉字
- CHINESE_DATE_FORMAT - 类 中的静态变量com.dahuatech.hutool.core.date.DatePattern
-
- CHINESE_DATE_PATTERN - 类 中的静态变量com.dahuatech.hutool.core.date.DatePattern
-
标准日期格式:yyyy年MM月dd日
- CHINESES - 类 中的静态变量com.dahuatech.hutool.core.lang.PatternPool
-
中文汉字
- chr(int) - 类 中的静态方法com.dahuatech.hutool.http.HTMLFilter
-
- cipher - 类 中的变量com.dahuatech.hutool.crypto.asymmetric.AsymmetricCrypto
-
Cipher负责完成加密或解密工作
- CITIZEN_ID - 类 中的静态变量com.dahuatech.hutool.core.lang.PatternPool
-
18位身份证号码
- CITIZEN_ID - 类 中的静态变量com.dahuatech.hutool.core.lang.Validator
-
身份证号码
- CLASS_EXT - 类 中的静态变量com.dahuatech.hutool.core.io.FileUtil
-
Class文件扩展名
- ClassConverter - com.dahuatech.hutool.core.convert.impl中的类
-
类转换器
将类名转换为类
- ClassConverter() - 类 的构造器com.dahuatech.hutool.core.convert.impl.ClassConverter
-
- ClassLoaderUtil - com.dahuatech.hutool.core.util中的类
-
- ClassLoaderUtil() - 类 的构造器com.dahuatech.hutool.core.util.ClassLoaderUtil
-
- CLASSPATH_URL_PREFIX - 类 中的静态变量com.dahuatech.hutool.core.util.URLUtil
-
针对ClassPath路径的伪协议前缀(兼容Spring): "classpath:"
- ClassPathResource - com.dahuatech.hutool.core.io.resource中的类
-
ClassPath单一资源访问类
传入路径path必须为相对路径,如果传入绝对路径,Linux路径会去掉开头的“/”,而Windows路径会直接报错。
- ClassPathResource(String) - 类 的构造器com.dahuatech.hutool.core.io.resource.ClassPathResource
-
构造
- ClassPathResource(String, ClassLoader) - 类 的构造器com.dahuatech.hutool.core.io.resource.ClassPathResource
-
构造
- ClassPathResource(String, Class<?>) - 类 的构造器com.dahuatech.hutool.core.io.resource.ClassPathResource
-
构造
- ClassPathResource(String, ClassLoader, Class<?>) - 类 的构造器com.dahuatech.hutool.core.io.resource.ClassPathResource
-
构造
- ClassScanner - com.dahuatech.hutool.core.lang中的类
-
类扫描器
- ClassScanner() - 类 的构造器com.dahuatech.hutool.core.lang.ClassScanner
-
构造,默认UTF-8编码
- ClassScanner(String) - 类 的构造器com.dahuatech.hutool.core.lang.ClassScanner
-
构造,默认UTF-8编码
- ClassScanner(String, Filter<Class<?>>) - 类 的构造器com.dahuatech.hutool.core.lang.ClassScanner
-
构造,默认UTF-8编码
- ClassScanner(String, Filter<Class<?>>, Charset) - 类 的构造器com.dahuatech.hutool.core.lang.ClassScanner
-
构造
- ClassUtil - com.dahuatech.hutool.core.util中的类
-
类工具类
- ClassUtil() - 类 的构造器com.dahuatech.hutool.core.util.ClassUtil
-
- clean(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
清空文件夹
注意:清空文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
- clean(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
清空文件夹
注意:清空文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
- cleanBlank(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
清理空白字符
- cleanEmpty(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
清理空文件夹
此方法用于递归删除空的文件夹,不删除文件
如果传入的文件夹本身就是空的,删除这个文件夹
- cleanHtmlTag(String) - 类 中的静态方法com.dahuatech.hutool.http.HtmlUtil
-
清除所有HTML标签,但是不删除标签内的内容
- cleanInvalid(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
清除文件名中的在Windows下不支持的非法字符,包括: \ / : * ?
- cleanInvalid(String) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
去除XML文本中的无效字符
- clear() - 接口 中的方法com.dahuatech.hutool.cache.Cache
-
清空缓存
- clear() - 类 中的方法com.dahuatech.hutool.cache.file.AbstractFileCache
-
清空缓存
- clear() - 类 中的方法com.dahuatech.hutool.cache.impl.AbstractCache
-
- clear() - 类 中的方法com.dahuatech.hutool.cache.impl.NoCache
-
- clear() - 类 中的方法com.dahuatech.hutool.core.collection.ConcurrentHashSet
-
- clear() - 类 中的静态方法com.dahuatech.hutool.core.lang.PatternPool
-
清空缓存池
- clear() - 类 中的方法com.dahuatech.hutool.core.lang.SimpleCache
-
清空缓存池
- clear() - 类 中的方法com.dahuatech.hutool.core.lang.WeightRandom
-
清空权重表
- clear() - 类 中的方法com.dahuatech.hutool.core.map.MapProxy
-
- clear() - 类 中的方法com.dahuatech.hutool.core.map.MapWrapper
-
- clear() - 类 中的方法com.dahuatech.hutool.core.map.TableMap
-
- clear() - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
- clear() - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
删除全部字符,位置归零
- clear() - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- clear() - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
- clearListener() - 枚举 中的方法com.dahuatech.hutool.core.swing.clipboard.ClipboardMonitor
-
清空监听
- clearWorker() - 类 中的方法com.dahuatech.hutool.core.thread.SyncFinisher
-
清空工作线程对象
- click() - 类 中的静态方法com.dahuatech.hutool.core.swing.RobotUtil
-
模拟单击
鼠标单击包括鼠标左键的按下和释放
- ClientException - com.dahuatech.icc.exception中的异常错误
-
- ClientException(String, String, String, String) - 异常错误 的构造器com.dahuatech.icc.exception.ClientException
-
- ClientException(String, String, String) - 异常错误 的构造器com.dahuatech.icc.exception.ClientException
-
- ClientException(String, String, Throwable) - 异常错误 的构造器com.dahuatech.icc.exception.ClientException
-
- ClientException(String, String) - 异常错误 的构造器com.dahuatech.icc.exception.ClientException
-
- ClientException(String) - 异常错误 的构造器com.dahuatech.icc.exception.ClientException
-
- ClientException(Throwable) - 异常错误 的构造器com.dahuatech.icc.exception.ClientException
-
- ClipboardListener - com.dahuatech.hutool.core.swing.clipboard中的接口
-
剪贴板监听事件处理接口
用户通过实现此接口,实现监听剪贴板内容变化
- ClipboardMonitor - com.dahuatech.hutool.core.swing.clipboard中的枚举
-
剪贴板监听
- ClipboardUtil - com.dahuatech.hutool.core.swing.clipboard中的类
-
系统剪贴板工具类
- ClipboardUtil() - 类 的构造器com.dahuatech.hutool.core.swing.clipboard.ClipboardUtil
-
- clockSequence() - 类 中的方法com.dahuatech.hutool.core.lang.UUID
-
与此 UUID 相关联的时钟序列值。
- clone() - 接口 中的方法com.dahuatech.hutool.core.clone.Cloneable
-
克隆当前对象,浅复制
- clone() - 类 中的方法com.dahuatech.hutool.core.clone.CloneSupport
-
- clone() - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
- clone(T[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
克隆数组
- clone(T) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
克隆数组,如果非数组返回null
- clone(T) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
克隆对象
如果对象实现Cloneable接口,调用其clone方法
如果实现Serializable接口,执行深度克隆
否则返回null
- clone() - 类 中的方法com.dahuatech.hutool.json.JSONNull
-
There is only intended to be a single instance of the NULL object, so the clone method returns
itself.
- Cloneable<T> - com.dahuatech.hutool.core.clone中的接口
-
克隆支持接口
- cloneByStream(T) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
序列化后拷贝流的方式克隆
对象必须实现Serializable接口
- cloneIfPossible(T) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
返回克隆后的对象,如果克隆失败,返回原对象
- CloneRuntimeException - com.dahuatech.hutool.core.clone中的异常错误
-
克隆异常
- CloneRuntimeException(Throwable) - 异常错误 的构造器com.dahuatech.hutool.core.clone.CloneRuntimeException
-
- CloneRuntimeException(String) - 异常错误 的构造器com.dahuatech.hutool.core.clone.CloneRuntimeException
-
- CloneRuntimeException(String, Object...) - 异常错误 的构造器com.dahuatech.hutool.core.clone.CloneRuntimeException
-
- CloneRuntimeException(String, Throwable) - 异常错误 的构造器com.dahuatech.hutool.core.clone.CloneRuntimeException
-
- CloneRuntimeException(Throwable, String, Object...) - 异常错误 的构造器com.dahuatech.hutool.core.clone.CloneRuntimeException
-
- CloneSupport<T> - com.dahuatech.hutool.core.clone中的类
-
克隆支持类,提供默认的克隆方法
- CloneSupport() - 类 的构造器com.dahuatech.hutool.core.clone.CloneSupport
-
- close() - 类 中的方法com.dahuatech.hutool.core.collection.LineIter
-
关闭Reader
- close() - 类 中的方法com.dahuatech.hutool.core.io.BOMInputStream
-
- close() - 类 中的方法com.dahuatech.hutool.core.io.FastByteArrayOutputStream
-
此方法无任何效果,当流被关闭后不会抛出IOException
- close(Closeable) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
关闭
关闭失败不会抛出异常
- close(AutoCloseable) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
关闭
关闭失败不会抛出异常
- close() - 类 中的方法com.dahuatech.hutool.core.io.watch.WatchMonitor
-
关闭监听
- close() - 枚举 中的方法com.dahuatech.hutool.core.swing.clipboard.ClipboardMonitor
-
关闭(停止)监听
- close() - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvParser
-
- close() - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvWriter
-
- close() - 类 中的方法com.dahuatech.hutool.http.HttpInputStream
-
- close() - 类 中的方法com.dahuatech.hutool.http.HttpResponse
-
- closeCookie() - 类 中的静态方法com.dahuatech.hutool.http.HttpGlobalConfig
-
关闭Cookie
- closeCookie() - 类 中的静态方法com.dahuatech.hutool.http.HttpRequest
-
关闭Cookie
- closeIfPosible(Object) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
- CollectionConverter - com.dahuatech.hutool.core.convert.impl中的类
-
各种集合类转换器
- CollectionConverter() - 类 的构造器com.dahuatech.hutool.core.convert.impl.CollectionConverter
-
- CollectionConverter(Type) - 类 的构造器com.dahuatech.hutool.core.convert.impl.CollectionConverter
-
构造
- CollectionConverter(Class<?>) - 类 的构造器com.dahuatech.hutool.core.convert.impl.CollectionConverter
-
构造
- CollectionConverter(Type, Type) - 类 的构造器com.dahuatech.hutool.core.convert.impl.CollectionConverter
-
构造
- CollectionUtil - com.dahuatech.hutool.core.collection中的类
-
- CollectionUtil() - 类 的构造器com.dahuatech.hutool.core.collection.CollectionUtil
-
- CollectionUtil - com.dahuatech.icc.util中的类
-
集合相关工具类
- CollectionUtil() - 类 的构造器com.dahuatech.icc.util.CollectionUtil
-
- CollectionValueMap<K,V> - com.dahuatech.hutool.core.map.multi中的类
-
值作为集合的Map实现,通过调用putValue可以在相同key时加入多个值,多个值用集合表示
- CollectionValueMap() - 类 的构造器com.dahuatech.hutool.core.map.multi.CollectionValueMap
-
构造
- CollectionValueMap(int) - 类 的构造器com.dahuatech.hutool.core.map.multi.CollectionValueMap
-
构造
- CollectionValueMap(Map<? extends K, ? extends Collection<V>>) - 类 的构造器com.dahuatech.hutool.core.map.multi.CollectionValueMap
-
构造
- CollectionValueMap(float, Map<? extends K, ? extends Collection<V>>) - 类 的构造器com.dahuatech.hutool.core.map.multi.CollectionValueMap
-
构造
- CollectionValueMap(int, float) - 类 的构造器com.dahuatech.hutool.core.map.multi.CollectionValueMap
-
构造
- CollUtil - com.dahuatech.hutool.core.collection中的类
-
- CollUtil() - 类 的构造器com.dahuatech.hutool.core.collection.CollUtil
-
- CollUtil.Consumer<T> - com.dahuatech.hutool.core.collection中的接口
-
针对一个参数做相应的操作
- CollUtil.Hash<T> - com.dahuatech.hutool.core.collection中的接口
-
Hash计算接口
- CollUtil.KVConsumer<K,V> - com.dahuatech.hutool.core.collection中的接口
-
针对两个参数做相应的操作,例如Map中的KEY和VALUE
- COLON - 类 中的静态变量com.dahuatech.hutool.core.util.CharUtil
-
- COLON - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- COLON - 类 中的静态变量com.dahuatech.icc.util.CharUtil
-
字符常量:冒号 ':'
- com.dahuatech.hutool.cache - 程序包 com.dahuatech.hutool.cache
-
提供简易的缓存实现,此模块参考了jodd工具中的Cache模块
- com.dahuatech.hutool.cache.file - 程序包 com.dahuatech.hutool.cache.file
-
提供针对文件的缓存实现
- com.dahuatech.hutool.cache.impl - 程序包 com.dahuatech.hutool.cache.impl
-
提供各种缓存实现
- com.dahuatech.hutool.core.annotation - 程序包 com.dahuatech.hutool.core.annotation
-
注解包,提供增强型注解和注解工具类
- com.dahuatech.hutool.core.bean - 程序包 com.dahuatech.hutool.core.bean
-
Bean相关操作,包括Bean信息描述,Bean路径表达式、动态Bean、Bean工具等
- com.dahuatech.hutool.core.bean.copier - 程序包 com.dahuatech.hutool.core.bean.copier
-
Bean拷贝实现,包括拷贝选项等
- com.dahuatech.hutool.core.bean.copier.provider - 程序包 com.dahuatech.hutool.core.bean.copier.provider
-
Bean值提供者方式封装
- com.dahuatech.hutool.core.builder - 程序包 com.dahuatech.hutool.core.builder
-
建造者工具
用于建造特定对象或结果
- com.dahuatech.hutool.core.clone - 程序包 com.dahuatech.hutool.core.clone
-
克隆封装
- com.dahuatech.hutool.core.codec - 程序包 com.dahuatech.hutool.core.codec
-
BaseN以及BCD编码封装
- com.dahuatech.hutool.core.collection - 程序包 com.dahuatech.hutool.core.collection
-
集合以及Iterator封装,包括集合工具CollUtil,Iterator和Iterable工具IterUtil
- com.dahuatech.hutool.core.comparator - 程序包 com.dahuatech.hutool.core.comparator
-
各种比较器(Comparator)实现和封装
- com.dahuatech.hutool.core.convert - 程序包 com.dahuatech.hutool.core.convert
-
万能类型转换器以及各种类型转换的实现类,其中Convert为转换器入口,提供各种toXXX方法和convert方法
- com.dahuatech.hutool.core.convert.impl - 程序包 com.dahuatech.hutool.core.convert.impl
-
各种类型转换的实现类,其都为Converter接口的实现,用于将未知的Object类型转换为指定类型
- com.dahuatech.hutool.core.date - 程序包 com.dahuatech.hutool.core.date
-
日期封装,日期的核心为DateTime类,DateUtil提供日期操作的入口
- com.dahuatech.hutool.core.date.format - 程序包 com.dahuatech.hutool.core.date.format
-
提供线程安全的日期格式的格式化和解析实现
- com.dahuatech.hutool.core.exceptions - 程序包 com.dahuatech.hutool.core.exceptions
-
特殊异常封装,同时提供异常工具ExceptionUtil
- com.dahuatech.hutool.core.getter - 程序包 com.dahuatech.hutool.core.getter
-
getXXX方法的接口和抽象实现
- com.dahuatech.hutool.core.img - 程序包 com.dahuatech.hutool.core.img
-
图像处理相关工具类封装
- com.dahuatech.hutool.core.io - 程序包 com.dahuatech.hutool.core.io
-
IO相关封装和工具类,包括Inputstream和OutputStream实现类,工具包括流工具IoUtil、文件工具FileUtil和Buffer工具BufferUtil
- com.dahuatech.hutool.core.io.checksum - 程序包 com.dahuatech.hutool.core.io.checksum
-
IO校验相关库和工具
- com.dahuatech.hutool.core.io.file - 程序包 com.dahuatech.hutool.core.io.file
-
对文件读写的封装,包括文件拷贝、文件读取、文件写出、行处理等
- com.dahuatech.hutool.core.io.resource - 程序包 com.dahuatech.hutool.core.io.resource
-
针对ClassPath和文件中资源读取的封装,主要入口为工具类ResourceUtil
- com.dahuatech.hutool.core.io.watch - 程序包 com.dahuatech.hutool.core.io.watch
-
基于JDK7+ WatchService的文件和目录监听封装,支持多级目录
- com.dahuatech.hutool.core.io.watch.watchers - 程序包 com.dahuatech.hutool.core.io.watch.watchers
-
文件监听中的观察者实现类,包括延迟处理、处理链等
- com.dahuatech.hutool.core.lang - 程序包 com.dahuatech.hutool.core.lang
-
语言特性包,包括大量便捷的数据结构,例如验证器Validator,分布式ID生成器Snowflake等
- com.dahuatech.hutool.core.lang.caller - 程序包 com.dahuatech.hutool.core.lang.caller
-
调用者接口及实现。
- com.dahuatech.hutool.core.lang.copier - 程序包 com.dahuatech.hutool.core.lang.copier
-
拷贝抽象实现,通过抽象拷贝,可以实现文件、流、Buffer之间的拷贝实现
- com.dahuatech.hutool.core.lang.func - 程序包 com.dahuatech.hutool.core.lang.func
-
函数封装
接口灵感来自于
ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
- com.dahuatech.hutool.core.lang.loader - 程序包 com.dahuatech.hutool.core.lang.loader
-
加载器的抽象接口和实现,包括懒加载的实现等
- com.dahuatech.hutool.core.lang.mutable - 程序包 com.dahuatech.hutool.core.lang.mutable
-
提供可变值对象的封装,用于封装int、long等不可变值,使其可变
- com.dahuatech.hutool.core.map - 程序包 com.dahuatech.hutool.core.map
-
Map相关封装,提供特殊Map实现以及Map工具MapUtil
- com.dahuatech.hutool.core.map.multi - 程序包 com.dahuatech.hutool.core.map.multi
-
列表类型值的Map实现
- com.dahuatech.hutool.core.math - 程序包 com.dahuatech.hutool.core.math
-
提供数学计算相关封装,包括排列组合等,入口为MathUtil
- com.dahuatech.hutool.core.net - 程序包 com.dahuatech.hutool.core.net
-
网络相关工具
- com.dahuatech.hutool.core.swing - 程序包 com.dahuatech.hutool.core.swing
-
Swing和awt相关封装
- com.dahuatech.hutool.core.swing.clipboard - 程序包 com.dahuatech.hutool.core.swing.clipboard
-
剪贴板相关的工具,包括剪贴板监听等
- com.dahuatech.hutool.core.text - 程序包 com.dahuatech.hutool.core.text
-
提供文本相关操作的封装,还包括Unicode工具UnicodeUtil
- com.dahuatech.hutool.core.text.csv - 程序包 com.dahuatech.hutool.core.text.csv
-
提供CSV文件读写的封装,入口为CsvUtil
- com.dahuatech.hutool.core.text.escape - 程序包 com.dahuatech.hutool.core.text.escape
-
提供各种转义和反转义实现
- com.dahuatech.hutool.core.text.replacer - 程序包 com.dahuatech.hutool.core.text.replacer
-
文本替换类抽象及实现
- com.dahuatech.hutool.core.thread - 程序包 com.dahuatech.hutool.core.thread
-
提供线程及高并发封装,入口为ThreadUtil
- com.dahuatech.hutool.core.thread.lock - 程序包 com.dahuatech.hutool.core.thread.lock
-
锁的实现
- com.dahuatech.hutool.core.thread.threadlocal - 程序包 com.dahuatech.hutool.core.thread.threadlocal
-
ThreadLocal相关封装
- com.dahuatech.hutool.core.util - 程序包 com.dahuatech.hutool.core.util
-
提供各种工具方法,按照归类入口为XXXUtil,如字符串工具StrUtil等
- com.dahuatech.hutool.crypto - 程序包 com.dahuatech.hutool.crypto
-
加密解密模块,实现了对JDK中加密解密算法的封装,入口为SecureUtil,实现了:
1.
- com.dahuatech.hutool.crypto.asymmetric - 程序包 com.dahuatech.hutool.crypto.asymmetric
-
非对称加密的实现,包括RSA等
- com.dahuatech.hutool.crypto.digest - 程序包 com.dahuatech.hutool.crypto.digest
-
摘要加密算法实现,入口为DigestUtil
- com.dahuatech.hutool.crypto.digest.mac - 程序包 com.dahuatech.hutool.crypto.digest.mac
-
HMAC,全称为“Hash Message Authentication Code”,中文名“散列消息鉴别码”
主要是利用哈希算法,以一个密钥和一个消息为输入,生成一个消息摘要作为输出。
- com.dahuatech.hutool.crypto.symmetric - 程序包 com.dahuatech.hutool.crypto.symmetric
-
对称加密算法实现,包括AES、DES、DESede等
- com.dahuatech.hutool.http - 程序包 com.dahuatech.hutool.http
-
ICC-http针对JDK的HttpUrlConnection做一层封装,简化了HTTPS请求、文件上传、Cookie记忆等操作,使Http请求变得无比简单。
- com.dahuatech.hutool.http.cookie - 程序包 com.dahuatech.hutool.http.cookie
-
自定义Cookie
- com.dahuatech.hutool.http.ssl - 程序包 com.dahuatech.hutool.http.ssl
-
SSL封装
- com.dahuatech.hutool.http.useragent - 程序包 com.dahuatech.hutool.http.useragent
-
User-Agent解析
- com.dahuatech.hutool.http.webservice - 程序包 com.dahuatech.hutool.http.webservice
-
Webservice客户端封装实现
- com.dahuatech.hutool.json - 程序包 com.dahuatech.hutool.json
-
JSON封装,基于json.org官方库改造
- com.dahuatech.hutool.json.serialize - 程序包 com.dahuatech.hutool.json.serialize
-
JSON自定义序列化和反序列化接口和默认实现
- com.dahuatech.hutool.log - 程序包 com.dahuatech.hutool.log
-
ICC-log只是一个日志的通用门面,功能类似于Slf4j。
- com.dahuatech.hutool.log.dialect.commons - 程序包 com.dahuatech.hutool.log.dialect.commons
-
Apache-Commons-Logging日志库的实现封装
- com.dahuatech.hutool.log.dialect.console - 程序包 com.dahuatech.hutool.log.dialect.console
-
控制台输出的实现封装
- com.dahuatech.hutool.log.dialect.jboss - 程序包 com.dahuatech.hutool.log.dialect.jboss
-
jboss-logging实现
- com.dahuatech.hutool.log.dialect.jdk - 程序包 com.dahuatech.hutool.log.dialect.jdk
-
JDK-Logging的实现封装
- com.dahuatech.hutool.log.dialect.log4j - 程序包 com.dahuatech.hutool.log.dialect.log4j
-
Log4j的实现封装
- com.dahuatech.hutool.log.dialect.log4j2 - 程序包 com.dahuatech.hutool.log.dialect.log4j2
-
Log4j2的实现封装
- com.dahuatech.hutool.log.dialect.slf4j - 程序包 com.dahuatech.hutool.log.dialect.slf4j
-
Slf4j的实现封装
- com.dahuatech.hutool.log.dialect.tinylog - 程序包 com.dahuatech.hutool.log.dialect.tinylog
-
TinyLog的实现封装
- com.dahuatech.hutool.log.level - 程序包 com.dahuatech.hutool.log.level
-
按照日志级别定义的日志打印接口定义
- com.dahuatech.icc.common - 程序包 com.dahuatech.icc.common
-
- com.dahuatech.icc.exception - 程序包 com.dahuatech.icc.exception
-
- com.dahuatech.icc.util - 程序包 com.dahuatech.icc.util
-
- Combination - com.dahuatech.hutool.core.math中的类
-
组合,即C(n, m)
排列组合相关类 参考:http://cgs1999.iteye.com/blog/2327664
- Combination(String[]) - 类 的构造器com.dahuatech.hutool.core.math.Combination
-
组合,即C(n, m)
排列组合相关类 参考:http://cgs1999.iteye.com/blog/2327664
- CombinationAnnotationElement - com.dahuatech.hutool.core.annotation中的类
-
组合注解 对JDK的原生注解机制做一个增强,支持类似Spring的组合注解。
- CombinationAnnotationElement(AnnotatedElement) - 类 的构造器com.dahuatech.hutool.core.annotation.CombinationAnnotationElement
-
构造
- combinationCount(int, int) - 类 中的静态方法com.dahuatech.hutool.core.math.MathUtil
-
计算组合数,即C(n, m) = n!
- combinationSelect(String[], int) - 类 中的静态方法com.dahuatech.hutool.core.math.MathUtil
-
组合选择(从列表中选择n个组合)
- COMMA - 类 中的静态变量com.dahuatech.hutool.core.util.CharUtil
-
- COMMA - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- COMMA - 类 中的静态变量com.dahuatech.icc.util.CharUtil
-
字符常量:逗号 ','
- ComparableComparator<E extends Comparable<? super E>> - com.dahuatech.hutool.core.comparator中的类
-
- ComparableComparator() - 类 的构造器com.dahuatech.hutool.core.comparator.ComparableComparator
-
构造
- ComparatorChain<E> - com.dahuatech.hutool.core.comparator中的类
-
比较器链。
- ComparatorChain() - 类 的构造器com.dahuatech.hutool.core.comparator.ComparatorChain
-
- ComparatorChain(Comparator<E>) - 类 的构造器com.dahuatech.hutool.core.comparator.ComparatorChain
-
构造,初始化单一比较器。
- ComparatorChain(Comparator<E>, boolean) - 类 的构造器com.dahuatech.hutool.core.comparator.ComparatorChain
-
构造,初始化单一比较器。
- ComparatorChain(List<Comparator<E>>) - 类 的构造器com.dahuatech.hutool.core.comparator.ComparatorChain
-
构造,使用已有的比较器列表
- ComparatorChain(List<Comparator<E>>, BitSet) - 类 的构造器com.dahuatech.hutool.core.comparator.ComparatorChain
-
构造,使用已有的比较器列表和对应的BitSet
BitSet中的boolean值需与list中的
Comparator一一对应,true表示正序,false反序
- ComparatorException - com.dahuatech.hutool.core.comparator中的异常错误
-
比较异常
- ComparatorException(Throwable) - 异常错误 的构造器com.dahuatech.hutool.core.comparator.ComparatorException
-
- ComparatorException(String) - 异常错误 的构造器com.dahuatech.hutool.core.comparator.ComparatorException
-
- ComparatorException(String, Object...) - 异常错误 的构造器com.dahuatech.hutool.core.comparator.ComparatorException
-
- ComparatorException(String, Throwable) - 异常错误 的构造器com.dahuatech.hutool.core.comparator.ComparatorException
-
- ComparatorException(Throwable, String, Object...) - 异常错误 的构造器com.dahuatech.hutool.core.comparator.ComparatorException
-
- compare(E, E) - 类 中的方法com.dahuatech.hutool.core.comparator.ComparableComparator
-
- compare(E, E) - 类 中的方法com.dahuatech.hutool.core.comparator.ComparatorChain
-
执行比较
按照比较器链的顺序分别比较,如果比较出相等则转向下一个比较器,否则直接返回
- compare(T, T, Comparator<T>) - 类 中的静态方法com.dahuatech.hutool.core.comparator.CompareUtil
-
对象比较,比较结果取决于comparator,如果被比较对象为null,传入的comparator对象应处理此情况
如果传入comparator为null,则使用默认规则比较(此时被比较对象必须实现Comparable接口)
一般而言,如果c1 < c2,返回数小于0,c1==c2返回0,c1 > c2 大于0
- compare(T, T) - 类 中的静态方法com.dahuatech.hutool.core.comparator.CompareUtil
-
null安全的对象比较,null对象小于任何对象
- compare(T, T, boolean) - 类 中的静态方法com.dahuatech.hutool.core.comparator.CompareUtil
-
null安全的对象比较
- compare(T, T, boolean) - 类 中的静态方法com.dahuatech.hutool.core.comparator.CompareUtil
-
自然比较两个对象的大小,比较规则如下:
1、如果实现Comparable调用compareTo比较
2、o1.equals(o2)返回0
3、比较hashCode值
4、比较toString值
- compare(T, T) - 类 中的方法com.dahuatech.hutool.core.comparator.FieldComparator
-
- compare(T, T) - 类 中的方法com.dahuatech.hutool.core.comparator.IndexedComparator
-
- compare(String, String) - 类 中的方法com.dahuatech.hutool.core.comparator.PinyinComparator
-
- compare(T, T) - 类 中的方法com.dahuatech.hutool.core.comparator.PropertyComparator
-
- compare(E, E) - 类 中的方法com.dahuatech.hutool.core.comparator.ReverseComparator
-
- compare(String, String) - 类 中的方法com.dahuatech.hutool.core.comparator.VersionComparator
-
比较两个版本
null版本排在最小:即:
compare(null, "v1") < 0
compare("v1", "v1") = 0
compare(null, null) = 0
compare("v1", null) > 0
compare("1.0.0", "1.0.2") < 0
compare("1.0.2", "1.0.2a") < 0
compare("1.13.0", "1.12.1c") > 0
compare("V0.0.20170102", "V0.0.20170101") > 0
- compare(Date, Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
null安全的日期比较,null对象排在末尾
- compare(Calendar, Calendar) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
- compare(char, char) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
比较两个值的大小
- compare(double, double) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
比较两个值的大小
- compare(int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
比较两个值的大小
- compare(long, long) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
比较两个值的大小
- compare(short, short) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
比较两个值的大小
- compare(byte, byte) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
比较两个值的大小
- compare(T, T) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
null安全的对象比较,null对象排在末尾
- compare(T, T, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
null安全的对象比较
- compare(CharSequence, CharSequence, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
比较两个字符串,用于排序
StrUtil.compare(null, null, *) = 0
StrUtil.compare(null , "a", true) < 0
StrUtil.compare(null , "a", false) > 0
StrUtil.compare("a", null, true) > 0
StrUtil.compare("a", null, false) < 0
StrUtil.compare("abc", "abc", *) = 0
StrUtil.compare("a", "b", *) < 0
StrUtil.compare("b", "a", *) > 0
StrUtil.compare("a", "B", *) > 0
StrUtil.compare("ab", "abc", *) < 0
- compareIgnoreCase(CharSequence, CharSequence, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
比较两个字符串,用于排序,大小写不敏感
StrUtil.compareIgnoreCase(null, null, *) = 0
StrUtil.compareIgnoreCase(null , "a", true) < 0
StrUtil.compareIgnoreCase(null , "a", false) > 0
StrUtil.compareIgnoreCase("a", null, true) > 0
StrUtil.compareIgnoreCase("a", null, false) < 0
StrUtil.compareIgnoreCase("abc", "abc", *) = 0
StrUtil.compareIgnoreCase("abc", "ABC", *) = 0
StrUtil.compareIgnoreCase("a", "b", *) < 0
StrUtil.compareIgnoreCase("b", "a", *) > 0
StrUtil.compareIgnoreCase("a", "B", *) < 0
StrUtil.compareIgnoreCase("A", "b", *) < 0
StrUtil.compareIgnoreCase("ab", "abc", *) < 0
- compareTo(MutableBool) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableBool
-
比较
- compareTo(MutableByte) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableByte
-
比较
- compareTo(MutableDouble) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableDouble
-
比较
- compareTo(MutableFloat) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableFloat
-
比较
- compareTo(MutableInt) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableInt
-
比较
- compareTo(MutableLong) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableLong
-
比较
- compareTo(MutableShort) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableShort
-
比较
- compareTo(UUID) - 类 中的方法com.dahuatech.hutool.core.lang.UUID
-
将此 UUID 与指定的 UUID 比较。
- CompareToBuilder - com.dahuatech.hutool.core.builder中的类
-
- CompareToBuilder() - 类 的构造器com.dahuatech.hutool.core.builder.CompareToBuilder
-
- CompareUtil - com.dahuatech.hutool.core.comparator中的类
-
- CompareUtil() - 类 的构造器com.dahuatech.hutool.core.comparator.CompareUtil
-
- compareVersion(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
比较两个版本
null版本排在最小:即:
StrUtil.compareVersion(null, "v1") < 0
StrUtil.compareVersion("v1", "v1") = 0
StrUtil.compareVersion(null, null) = 0
StrUtil.compareVersion("v1", null) > 0
StrUtil.compareVersion("1.0.0", "1.0.2") < 0
StrUtil.compareVersion("1.0.2", "1.0.2a") < 0
StrUtil.compareVersion("1.13.0", "1.12.1c") > 0
StrUtil.compareVersion("V0.0.20170102", "V0.0.20170101") > 0
- complateUrl(String, String) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
补全相对路径
- compress(File, File, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
压缩图像,输出图像只支持jpg文件
- concat(boolean, CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
连接多个字符串为一个
- concurrencyTest(int, Runnable) - 类 中的静态方法com.dahuatech.hutool.core.thread.ThreadUtil
-
并发测试
此方法用于测试多线程下执行某些逻辑的并发性能
调用此方法会导致当前线程阻塞。
- ConcurrencyTester - com.dahuatech.hutool.core.thread中的类
-
高并发测试工具类
ps:
//模拟1000个线程并发
ConcurrencyTester ct = new ConcurrencyTester(1000);
ct.test(() -> {
// 需要并发测试的业务代码
});
- ConcurrencyTester(int) - 类 的构造器com.dahuatech.hutool.core.thread.ConcurrencyTester
-
- ConcurrentHashSet<E> - com.dahuatech.hutool.core.collection中的类
-
- ConcurrentHashSet() - 类 的构造器com.dahuatech.hutool.core.collection.ConcurrentHashSet
-
构造
触发因子为默认的0.75
- ConcurrentHashSet(int) - 类 的构造器com.dahuatech.hutool.core.collection.ConcurrentHashSet
-
构造
触发因子为默认的0.75
- ConcurrentHashSet(int, float) - 类 的构造器com.dahuatech.hutool.core.collection.ConcurrentHashSet
-
构造
- ConcurrentHashSet(int, float, int) - 类 的构造器com.dahuatech.hutool.core.collection.ConcurrentHashSet
-
构造
- ConcurrentHashSet(Iterable<E>) - 类 的构造器com.dahuatech.hutool.core.collection.ConcurrentHashSet
-
从已有集合中构造
- connect() - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
连接
- ConsistentHash<T> - com.dahuatech.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>) - 类 的构造器com.dahuatech.hutool.core.lang.ConsistentHash
-
构造,使用Java默认的Hash算法
- ConsistentHash(ConsistentHash.HashFunc, int, Collection<T>) - 类 的构造器com.dahuatech.hutool.core.lang.ConsistentHash
-
构造
- ConsistentHash.HashFunc - com.dahuatech.hutool.core.lang中的接口
-
Hash算法对象,用于自定义hash算法
- Console - com.dahuatech.hutool.core.lang中的类
-
- Console() - 类 的构造器com.dahuatech.hutool.core.lang.Console
-
- CONSOLE_HANDLER - 类 中的静态变量com.dahuatech.hutool.core.io.file.Tailer
-
- ConsoleLineHandler() - 类 的构造器com.dahuatech.hutool.core.io.file.Tailer.ConsoleLineHandler
-
- ConsoleLog - com.dahuatech.hutool.log.dialect.console中的类
-
利用System.out.println()打印日志
- ConsoleLog(Class<?>) - 类 的构造器com.dahuatech.hutool.log.dialect.console.ConsoleLog
-
构造
- ConsoleLog(String) - 类 的构造器com.dahuatech.hutool.log.dialect.console.ConsoleLog
-
构造
- ConsoleLogFactory - com.dahuatech.hutool.log.dialect.console中的类
-
利用System.out.println()打印日志
- ConsoleLogFactory() - 类 的构造器com.dahuatech.hutool.log.dialect.console.ConsoleLogFactory
-
- contains(Collection<?>, Object) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
判断指定集合是否包含指定值,如果集合为空(null或者空),返回false,否则找到元素返回true
- contains(Object) - 类 中的方法com.dahuatech.hutool.core.collection.ConcurrentHashSet
-
- contains(Object) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
- contains(T[], T) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组中是否包含元素
- contains(long[], long) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组中是否包含元素
- contains(int[], int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组中是否包含元素
- contains(short[], short) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组中是否包含元素
- contains(char[], char) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组中是否包含元素
- contains(byte[], byte) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组中是否包含元素
- contains(double[], double) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组中是否包含元素
- contains(float[], float) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组中是否包含元素
- contains(boolean[], boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组中是否包含元素
- contains(Class<E>, String) - 类 中的静态方法com.dahuatech.hutool.core.util.EnumUtil
-
判断某个值是存在枚举中
- contains(Object, Object) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
对象中是否包含元素
支持的对象类型包括:
String
Collection
Map
Iterator
Enumeration
Array
- contains(String, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
指定内容中是否有表达式匹配的内容
- contains(Pattern, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
指定内容中是否有表达式匹配的内容
- contains(CharSequence, char) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
指定字符是否在字符串中出现过
- contains(Object) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- containsAll(Collection<?>, Collection<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
集合1中是否包含集合2中所有的元素,即集合2是否为集合1的子集
- containsAll(Collection<?>) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
- containsAll(Collection<?>) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- containsAny(Collection<?>, Collection<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
其中一个集合在另一个集合中是否至少包含一个元素,即是两个集合是否至少有一个共同的元素
- containsAny(T[], T...) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组中是否包含指定元素中的任意一个
- containsAny(CharSequence, CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
查找指定字符串是否包含指定字符串列表中的任意一个字符串
- containsAny(CharSequence, char...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
查找指定字符串是否包含指定字符列表中的任意一个字符
- containsAnyIgnoreCase(CharSequence, CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
查找指定字符串是否包含指定字符串列表中的任意一个字符串
忽略大小写
- containsBlank(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
给定字符串是否包含空白符(空白符包括空格、制表符、全角空格和不间断空格)
如果给定字符串为null或者"",则返回false
- containsHeader - 类 中的变量com.dahuatech.hutool.core.text.csv.CsvReadConfig
-
是否首行做为标题行,默认false
- containsIgnoreCase(CharSequence[], CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组中是否包含元素,忽略大小写
- containsIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
是否包含特定字符,忽略大小写,如果给定两个参数都为null,返回true
- containsInvalid(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
文件名中是否包含在Windows下不支持的非法字符,包括: \ / : * ?
- containsKey(K) - 接口 中的方法com.dahuatech.hutool.cache.Cache
-
是否包含key
- containsKey(K) - 类 中的方法com.dahuatech.hutool.cache.impl.AbstractCache
-
- containsKey(K) - 类 中的方法com.dahuatech.hutool.cache.impl.NoCache
-
- containsKey(String) - 类 中的方法com.dahuatech.hutool.core.bean.copier.provider.BeanValueProvider
-
- containsKey(String) - 类 中的方法com.dahuatech.hutool.core.bean.copier.provider.MapValueProvider
-
- containsKey(T) - 接口 中的方法com.dahuatech.hutool.core.bean.copier.ValueProvider
-
是否包含指定KEY,如果不包含则忽略注入
此接口方法单独需要实现的意义在于:有些值提供者(比如Map)key是存在的,但是value为null,此时如果需要注入这个null,需要根据此方法判断
- containsKey(Object) - 类 中的方法com.dahuatech.hutool.core.map.CustomKeyMap
-
- containsKey(Object) - 类 中的方法com.dahuatech.hutool.core.map.MapProxy
-
- containsKey(Object) - 类 中的方法com.dahuatech.hutool.core.map.MapWrapper
-
- containsKey(Object) - 类 中的方法com.dahuatech.hutool.core.map.TableMap
-
- containsKey(Object) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
- containsOnly(CharSequence, char...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
检查指定字符串中是否只包含给定的字符
- containsValue(Object) - 类 中的方法com.dahuatech.hutool.core.map.MapProxy
-
- containsValue(Object) - 类 中的方法com.dahuatech.hutool.core.map.MapWrapper
-
- containsValue(Object) - 类 中的方法com.dahuatech.hutool.core.map.TableMap
-
- containsValue(Object) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
- contentEncoding() - 类 中的方法com.dahuatech.hutool.http.HttpResponse
-
获取内容编码
- contentEquals(File, File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
比较两个文件内容是否相同
首先比较长度,长度一致再比较内容
此方法来自Apache Commons io
- contentEquals(InputStream, InputStream) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
- contentEquals(Reader, Reader) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
- contentEqualsIgnoreEOL(File, File, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
比较两个文件内容是否相同
首先比较长度,长度一致再比较内容,比较内容采用按行读取,每行比较
此方法来自Apache Commons io
- contentEqualsIgnoreEOL(Reader, Reader) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
- contentLength() - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
获取内容长度
- contentLength(int) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
设置内容长度
- ContentType - com.dahuatech.hutool.http中的枚举
-
常用Content-Type类型枚举
- contentType(String) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
设置contentType
- convert(Object, T) - 类 中的方法com.dahuatech.hutool.core.convert.AbstractConverter
-
- Convert - com.dahuatech.hutool.core.convert中的类
-
类型转换器
- Convert() - 类 的构造器com.dahuatech.hutool.core.convert.Convert
-
- convert(Class<T>, Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换值为指定类型
- convert(TypeReference<T>, Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换值为指定类型
- convert(Type, Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换值为指定类型
- convert(Class<T>, Object, T) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换值为指定类型
- convert(Type, Object, T) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换值为指定类型
- convert(Object, T) - 接口 中的方法com.dahuatech.hutool.core.convert.Converter
-
转换为指定类型
如果类型无法确定,将读取默认值的类型做为目标类型
- convert(Type, Object, T, boolean) - 类 中的方法com.dahuatech.hutool.core.convert.ConverterRegistry
-
转换值为指定类型
- convert(Type, Object, T) - 类 中的方法com.dahuatech.hutool.core.convert.ConverterRegistry
-
转换值为指定类型
自定义转换器优先
- convert(Type, Object) - 类 中的方法com.dahuatech.hutool.core.convert.ConverterRegistry
-
转换值为指定类型
- convert(Object, Collection<?>) - 类 中的方法com.dahuatech.hutool.core.convert.impl.CollectionConverter
-
- convert(File, File) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
图像类型转换:GIF=》JPG、GIF=》PNG、PNG=》JPG、PNG=》GIF(X)、BMP=》PNG
- convert(InputStream, String, OutputStream) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
图像类型转换:GIF=》JPG、GIF=》PNG、PNG=》JPG、PNG=》GIF(X)、BMP=》PNG
此方法并不关闭流
- convert(ImageInputStream, String, ImageOutputStream) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
- convert(Image, String, ImageOutputStream) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
- convert(Image, String, ImageOutputStream, boolean) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
图像类型转换:GIF=》JPG、GIF=》PNG、PNG=》JPG、PNG=》GIF(X)、BMP=》PNG
此方法并不关闭流
- convert(String, String, String) - 类 中的静态方法com.dahuatech.hutool.core.util.CharsetUtil
-
转换字符串的字符集编码
- convert(String, Charset, Charset) - 类 中的静态方法com.dahuatech.hutool.core.util.CharsetUtil
-
转换字符串的字符集编码
当以错误的编码读取为字符串时,打印字符串将出现乱码。
- convert(File, Charset, Charset) - 类 中的静态方法com.dahuatech.hutool.core.util.CharsetUtil
-
转换文件编码
此方法用于转换文件编码,读取的文件实际编码必须与指定的srcCharset编码一致,否则导致乱码
- convert(Object, JSON) - 类 中的方法com.dahuatech.hutool.json.JSONConverter
-
- convert15To18(String) - 类 中的静态方法com.dahuatech.hutool.core.util.IdcardUtil
-
将15位身份证号码转换为18位
- convertByClassName(String, Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换值为指定类型,类型采用字符串表示
- convertCharset(String, String, String) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
给定字符串转换字符编码
如果参数为空,则返回原字符串,不报错。
- convertCharset(File, Charset, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
转换文件编码
此方法用于转换文件编码,读取的文件实际编码必须与指定的srcCharset编码一致,否则导致乱码
- Converter<T> - com.dahuatech.hutool.core.convert中的接口
-
转换器接口,实现类型转换
- ConverterRegistry - com.dahuatech.hutool.core.convert中的类
-
转换器登记中心
将各种类型Convert对象放入登记中心,通过convert方法查找目标类型对应的转换器,将被转换对象转换之。
- ConverterRegistry() - 类 的构造器com.dahuatech.hutool.core.convert.ConverterRegistry
-
- ConvertException - com.dahuatech.hutool.core.convert中的异常错误
-
转换异常
- ConvertException(Throwable) - 异常错误 的构造器com.dahuatech.hutool.core.convert.ConvertException
-
- ConvertException(String) - 异常错误 的构造器com.dahuatech.hutool.core.convert.ConvertException
-
- ConvertException(String, Object...) - 异常错误 的构造器com.dahuatech.hutool.core.convert.ConvertException
-
- ConvertException(String, Throwable) - 异常错误 的构造器com.dahuatech.hutool.core.convert.ConvertException
-
- ConvertException(Throwable, String, Object...) - 异常错误 的构造器com.dahuatech.hutool.core.convert.ConvertException
-
- convertFromOrSuppressedThrowable(Throwable, Class<T>) - 类 中的静态方法com.dahuatech.hutool.core.exceptions.ExceptionUtil
-
转化指定异常为来自或者包含指定异常
- convertFromOrSuppressedThrowable(Throwable, Class<T>, boolean) - 类 中的静态方法com.dahuatech.hutool.core.exceptions.ExceptionUtil
-
转化指定异常为来自或者包含指定异常
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.AbstractConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.ArrayConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.AtomicBooleanConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.AtomicReferenceConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.BeanConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.BooleanConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.CalendarConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.CastConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.CharacterConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.CharsetConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.ClassConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.CollectionConverter
-
内部转换
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.CurrencyConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.DateConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.EnumConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.GenericEnumConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.Jdk8DateConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.LocaleConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.MapConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.NumberConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.PathConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.PrimitiveConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.ReferenceConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.StackTraceElementConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.StringConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.TimeZoneConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.URIConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.URLConverter
-
- convertInternal(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.UUIDConverter
-
- convertLineSeparator(File, Charset, LineSeparator) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
转换换行符
将给定文件的换行符转换为指定换行符
- convertQuietly(Object, T) - 类 中的方法com.dahuatech.hutool.core.convert.AbstractConverter
-
不抛异常转换
当转换失败时返回默认值
- convertQuietly(Type, Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换值为指定类型,不抛异常转换
当转换失败时返回null
- convertQuietly(Type, Object, T) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换值为指定类型,不抛异常转换
当转换失败时返回默认值
- convertTime(long, TimeUnit, TimeUnit) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换时间单位
- convertToStr(Object) - 类 中的方法com.dahuatech.hutool.core.convert.AbstractConverter
-
值转为String,用于内部转换中需要使用String中转的情况
转换规则为:
1、字符串类型将被强转
2、数组将被转换为逗号分隔的字符串
3、其它类型将调用默认的toString()方法
- convertToStr(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.NumberConverter
-
- convertToStr(Object) - 类 中的方法com.dahuatech.hutool.core.convert.impl.PrimitiveConverter
-
- cookie(HttpCookie...) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
设置Cookie
自定义Cookie后会覆盖ICC的默认Cookie行为
- cookie(String) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
设置Cookie
自定义Cookie后会覆盖ICC的默认Cookie行为
- CopiedIter<E> - com.dahuatech.hutool.core.collection中的类
-
复制
Iterator
为了解决并发情况下
Iterator遍历导致的问题(当Iterator被修改会抛出ConcurrentModificationException)
,故使用复制原Iterator的方式解决此问题。
- CopiedIter(Iterator<E>) - 类 的构造器com.dahuatech.hutool.core.collection.CopiedIter
-
构造
- Copier<T> - com.dahuatech.hutool.core.lang.copier中的接口
-
拷贝接口
- copy() - 类 中的方法com.dahuatech.hutool.core.bean.copier.BeanCopier
-
- copy(ByteBuffer, int, int) - 类 中的静态方法com.dahuatech.hutool.core.io.BufferUtil
-
拷贝到一个新的ByteBuffer
- copy(ByteBuffer, ByteBuffer) - 类 中的静态方法com.dahuatech.hutool.core.io.BufferUtil
-
拷贝ByteBuffer
- copy(ByteBuffer, ByteBuffer, int) - 类 中的静态方法com.dahuatech.hutool.core.io.BufferUtil
-
拷贝ByteBuffer
- copy(ByteBuffer, int, ByteBuffer, int, int) - 类 中的静态方法com.dahuatech.hutool.core.io.BufferUtil
-
拷贝ByteBuffer
- copy() - 类 中的方法com.dahuatech.hutool.core.io.file.FileCopier
-
执行拷贝
拷贝规则为:
1、源为文件,目标为已存在目录,则拷贝到目录下,文件名不变
2、源为文件,目标为不存在路径,则目标以文件对待(自动创建父级目录)比如:/dest/aaa,如果aaa不存在,则aaa被当作文件名
3、源为文件,目标是一个已存在的文件,则当
FileCopier.setOverride(boolean)设为true时会被覆盖,默认不覆盖
4、源为目录,目标为已存在目录,当
FileCopier.setCopyContentIfDir(boolean)为true时,只拷贝目录中的内容到目标目录中,否则整个源目录连同其目录拷贝到目标目录中
5、源为目录,目标为不存在路径,则自动创建目标为新目录,然后按照规则4复制
6、源为目录,目标为文件,抛出IO异常
7、源路径和目标路径相同时,抛出IO异常
- copy(String, String, boolean) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
复制文件或目录
如果目标文件为目录,则将源文件以相同文件名拷贝到目标目录
- copy(File, File, boolean) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
复制文件或目录
情况如下:
1、src和dest都为目录,则将src目录及其目录下所有文件目录拷贝到dest下
2、src和dest都为文件,直接复制,名字为dest
3、src为文件,dest为目录,将src拷贝到dest目录下
- copy(Reader, Writer) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
将Reader中的内容复制到Writer中 使用默认缓存大小
- copy(Reader, Writer, int) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
将Reader中的内容复制到Writer中
- copy(Reader, Writer, int, StreamProgress) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
将Reader中的内容复制到Writer中
- copy(InputStream, OutputStream) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
拷贝流,使用默认Buffer大小
- copy(InputStream, OutputStream, int) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
拷贝流
- copy(InputStream, OutputStream, int, StreamProgress) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
拷贝流
- copy(FileInputStream, FileOutputStream) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
拷贝文件流,使用NIO
- copy(ReadableByteChannel, WritableByteChannel) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
拷贝流,使用NIO,不会关闭流
- copy(ReadableByteChannel, WritableByteChannel, int) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
拷贝流,使用NIO,不会关闭流
- copy(ReadableByteChannel, WritableByteChannel, int, StreamProgress) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
拷贝流,使用NIO,不会关闭流
- copy() - 接口 中的方法com.dahuatech.hutool.core.lang.copier.Copier
-
执行拷贝
- copy(Object, int, Object, int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
- copy(Object, Object, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
- copyByNIO(InputStream, OutputStream, int, StreamProgress) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
拷贝流 thanks to:
https://github.com/venusdrogon/feilong-io/blob/master/src/main/java/com/feilong/io/IOWriteUtil.java
本方法不会关闭流
- copyContent(File, File, boolean) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
复制文件或目录
情况如下:
1、src和dest都为目录,则讲src下所有文件目录拷贝到dest下
2、src和dest都为文件,直接复制,名字为dest
3、src为文件,dest为目录,将src拷贝到dest目录下
- copyFile(String, String, StandardCopyOption...) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
- copyFile(File, File, StandardCopyOption...) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
- copyFile(Path, Path, StandardCopyOption...) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
- copyFilesFromDir(File, File, boolean) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
复制文件或目录
情况如下:
1、src和dest都为目录,则讲src下所有文件(包括子目录)拷贝到dest下
2、src和dest都为文件,直接复制,名字为dest
3、src为文件,dest为目录,将src拷贝到dest目录下
- copyFilter - 类 中的变量com.dahuatech.hutool.core.lang.copier.SrcToDestCopier
-
拷贝过滤器,可以过滤掉不需要拷贝的源
- copyImage(Image, int) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
将已有Image复制新的一份出来
- copyImage(Image, int, Color) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
将已有Image复制新的一份出来
- copyOf(Iterator<V>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CopiedIter
-
- CopyOptions - com.dahuatech.hutool.core.bean.copier中的类
-
属性拷贝选项
包括:
1、限制的类或接口,必须为目标对象的实现接口或父类,用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
2、是否忽略空值,当源对象的值为null时,true: 忽略而不注入此值,false: 注入null
3、忽略的属性列表,设置一个属性列表,不拷贝这些属性值
- CopyOptions() - 类 的构造器com.dahuatech.hutool.core.bean.copier.CopyOptions
-
构造拷贝选项
- CopyOptions(Class<?>, boolean, String...) - 类 的构造器com.dahuatech.hutool.core.bean.copier.CopyOptions
-
构造拷贝选项
- copyProperties(Object, Object) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
复制Bean对象属性
- copyProperties(Object, Object, String...) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
复制Bean对象属性
限制类用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
- copyProperties(Object, Object, boolean) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
复制Bean对象属性
- copyProperties(Object, Object, CopyOptions) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
复制Bean对象属性
限制类用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
- count(Iterable<T>, Matcher<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
集合中匹配规则的数量
- count(int) - 类 中的静态方法com.dahuatech.hutool.core.math.Arrangement
-
计算排列数,即A(n, n) = n!
- count(int, int) - 类 中的静态方法com.dahuatech.hutool.core.math.Arrangement
-
计算排列数,即A(n, m) = n!
- count(int, int) - 类 中的静态方法com.dahuatech.hutool.core.math.Combination
-
计算组合数,即C(n, m) = n!
- count() - 类 中的方法com.dahuatech.hutool.core.thread.SyncFinisher
-
剩余任务数
- count(int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
计算等份个数
- count(String, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
计算指定字符串中,匹配pattern的个数
- count(Pattern, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
计算指定字符串中,匹配pattern的个数
- count(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
统计指定内容中包含指定字符串的数量
参数为 null 或者 "" 返回 0.
- count(CharSequence, char) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
统计指定内容中包含指定字符的数量
- countAll(int) - 类 中的静态方法com.dahuatech.hutool.core.math.Arrangement
-
计算排列总数,即A(n, 1) + A(n, 2) + A(n, 3)...
- countAll(int) - 类 中的静态方法com.dahuatech.hutool.core.math.Combination
-
计算组合总数,即C(n, 1) + C(n, 2) + C(n, 3)...
- countMap(Iterable<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
根据集合返回一个元素计数的
Map
所谓元素计数就是假如这个集合中某个元素出现了n次,那将这个元素做为key,n做为value
例如:[a,b,c,c,c] 得到:
a: 1
b: 1
c: 3
- countMap(Iterable<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
根据集合返回一个元素计数的
Map
所谓元素计数就是假如这个集合中某个元素出现了n次,那将这个元素做为key,n做为value
例如:[a,b,c,c,c] 得到:
a: 1
b: 1
c: 3
- countMap(Iterator<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
根据集合返回一个元素计数的
Map
所谓元素计数就是假如这个集合中某个元素出现了n次,那将这个元素做为key,n做为value
例如:[a,b,c,c,c] 得到:
a: 1
b: 1
c: 3
- CR - 类 中的静态变量com.dahuatech.hutool.core.util.CharUtil
-
- CR - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- CR - 类 中的静态变量com.dahuatech.icc.util.CharUtil
-
字符常量:回车符 '\r'
- CRC16 - com.dahuatech.hutool.core.io.checksum中的类
-
CRC16 循环冗余校验码(Cyclic Redundancy Check)实现
代码来自:https://github.com/BBSc0der
- CRC16() - 类 的构造器com.dahuatech.hutool.core.io.checksum.CRC16
-
- CRC8 - com.dahuatech.hutool.core.io.checksum中的类
-
CRC8 循环冗余校验码(Cyclic Redundancy Check)实现
代码来自:https://github.com/BBSc0der
- CRC8(int, short) - 类 的构造器com.dahuatech.hutool.core.io.checksum.CRC8
-
构造
- create() - 枚举 中的方法com.dahuatech.hutool.cache.GlobalPruneTimer
-
创建定时器
- create(String) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanPath
-
解析Bean路径表达式为Bean模式
Bean表达式,用于获取多层嵌套Bean中的字段值或Bean对象
根据给定的表达式,查找Bean中对应的属性值对象。
- create(Object, T, CopyOptions) - 类 中的静态方法com.dahuatech.hutool.core.bean.copier.BeanCopier
-
创建BeanCopier
- create(Object, T, Type, CopyOptions) - 类 中的静态方法com.dahuatech.hutool.core.bean.copier.BeanCopier
-
创建BeanCopier
- create() - 类 中的静态方法com.dahuatech.hutool.core.bean.copier.CopyOptions
-
创建拷贝选项
- create(Class<?>, boolean, String...) - 类 中的静态方法com.dahuatech.hutool.core.bean.copier.CopyOptions
-
创建拷贝选项
- create(Object) - 类 中的静态方法com.dahuatech.hutool.core.bean.DynaBean
-
- create(Class<?>, Object...) - 类 中的静态方法com.dahuatech.hutool.core.bean.DynaBean
-
- create(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
创建新的集合对象
- create(Date, Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateBetween
-
创建
在前的日期做为起始时间,在后的做为结束时间,间隔只保留绝对值正数
- create(Date, Date, boolean) - 类 中的静态方法com.dahuatech.hutool.core.date.DateBetween
-
创建
在前的日期做为起始时间,在后的做为结束时间,间隔只保留绝对值正数
- create(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.io.BufferUtil
-
创建新Buffer
- create(CharSequence, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.BufferUtil
-
从字符串创建新Buffer
- create(String, String) - 类 中的静态方法com.dahuatech.hutool.core.io.file.FileCopier
-
新建一个文件复制器
- create(File, File) - 类 中的静态方法com.dahuatech.hutool.core.io.file.FileCopier
-
新建一个文件复制器
- create(File, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.file.FileReader
-
创建 FileReader
- create(File) - 类 中的静态方法com.dahuatech.hutool.core.io.file.FileReader
-
- create(File, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.file.FileWriter
-
创建 FileWriter
- create(File) - 类 中的静态方法com.dahuatech.hutool.core.io.file.FileWriter
-
- create(Watcher...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.watchers.WatcherChain
-
- create(URL, WatchEvent.Kind<?>...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchMonitor
-
创建并初始化监听
- create(URL, int, WatchEvent.Kind<?>...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchMonitor
-
创建并初始化监听
- create(URI, WatchEvent.Kind<?>...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchMonitor
-
创建并初始化监听
- create(URI, int, WatchEvent.Kind<?>...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchMonitor
-
创建并初始化监听
- create(File, WatchEvent.Kind<?>...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchMonitor
-
创建并初始化监听
- create(File, int, WatchEvent.Kind<?>...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchMonitor
-
创建并初始化监听
- create(String, WatchEvent.Kind<?>...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchMonitor
-
创建并初始化监听
- create(String, int, WatchEvent.Kind<?>...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchMonitor
-
创建并初始化监听
- create(Path, WatchEvent.Kind<?>...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchMonitor
-
创建并初始化监听
- create(Path, int, WatchEvent.Kind<?>...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchMonitor
-
创建并初始化监听
- create(URL, WatchEvent.Kind<?>...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听
- create(URL, int, WatchEvent.Kind<?>...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听
- create(URI, WatchEvent.Kind<?>...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听
- create(URI, int, WatchEvent.Kind<?>...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听
- create(File, WatchEvent.Kind<?>...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听
- create(File, int, WatchEvent.Kind<?>...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听
- create(String, WatchEvent.Kind<?>...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听
- create(String, int, WatchEvent.Kind<?>...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听
- create(Path, WatchEvent.Kind<?>...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听
- create(Path, int, WatchEvent.Kind<?>...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听
- create() - 类 中的静态方法com.dahuatech.hutool.core.lang.Dict
-
创建Dict
- create() - 类 中的静态方法com.dahuatech.hutool.core.lang.WeightRandom
-
创建权重随机获取器
- create(Map<K, V>) - 类 中的静态方法com.dahuatech.hutool.core.map.MapBuilder
-
创建Builder
- create(Map<?, ?>) - 类 中的静态方法com.dahuatech.hutool.core.map.MapProxy
-
创建代理Map
此类对Map做一次包装,提供各种getXXX方法
- create() - 类 中的静态方法com.dahuatech.hutool.core.text.StrBuilder
-
创建字符串构建器
- create(int) - 类 中的静态方法com.dahuatech.hutool.core.text.StrBuilder
-
创建字符串构建器
- create(CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.text.StrBuilder
-
创建字符串构建器
- create() - 类 中的静态方法com.dahuatech.hutool.core.thread.ExecutorBuilder
-
创建ExecutorBuilder,开始构建
- create() - 类 中的静态方法com.dahuatech.hutool.core.thread.ThreadFactoryBuilder
-
- create(ReferenceUtil.ReferenceType, T) - 类 中的静态方法com.dahuatech.hutool.core.util.ReferenceUtil
-
获得引用
- create(ReferenceUtil.ReferenceType, T, ReferenceQueue<T>) - 类 中的静态方法com.dahuatech.hutool.core.util.ReferenceUtil
-
获得引用
- create() - 类 中的静态方法com.dahuatech.hutool.crypto.digest.MD5
-
创建MD5实例
- create() - 类 中的静态方法com.dahuatech.hutool.crypto.digest.SM3
-
创建SM3实例
- create(String, Proxy) - 类 中的静态方法com.dahuatech.hutool.http.HttpConnection
-
创建HttpConnection
- create(URL, Proxy) - 类 中的静态方法com.dahuatech.hutool.http.HttpConnection
-
创建HttpConnection
- create() - 类 中的静态方法com.dahuatech.hutool.http.ssl.SSLSocketFactoryBuilder
-
创建 SSLSocketFactoryBuilder
- create(String) - 类 中的静态方法com.dahuatech.hutool.http.webservice.SoapClient
-
创建SOAP客户端,默认使用soap1.1版本协议
- create(String, SoapProtocol) - 类 中的静态方法com.dahuatech.hutool.http.webservice.SoapClient
-
创建SOAP客户端
- create(String, SoapProtocol, String) - 类 中的静态方法com.dahuatech.hutool.http.webservice.SoapClient
-
创建SOAP客户端
- create() - 类 中的静态方法com.dahuatech.hutool.json.JSONConfig
-
创建默认的配置项
- create() - 类 中的静态方法com.dahuatech.hutool.log.LogFactory
-
决定日志实现
依次按照顺序检查日志库的jar是否被引入,如果未引入任何日志库,则检查ClassPath下的logging.properties,存在则使用JdkLogFactory,否则使用ConsoleLogFactory
- createAddress(String, int) - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
- createAll(URI, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchMonitor
-
创建并初始化监听,监听所有事件
- createAll(URL, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchMonitor
-
创建并初始化监听,监听所有事件
- createAll(File, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchMonitor
-
创建并初始化监听,监听所有事件
- createAll(String, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchMonitor
-
创建并初始化监听,监听所有事件
- createAll(Path, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchMonitor
-
创建并初始化监听,监听所有事件
- createAll(URL, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听所有事件
- createAll(URL, int, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听所有事件
- createAll(URI, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听所有事件
- createAll(URI, int, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听所有事件
- createAll(File, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听所有事件
- createAll(File, int, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听所有事件
- createAll(String, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听所有事件
- createAll(String, int, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听所有事件
- createAll(Path, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听所有事件
- createAll(Path, int, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听所有事件
- createArray() - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
创建 JSONArray
- createBasePointMultiplier() - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.SM2Engine
-
- createBouncyCastleProvider() - 类 中的静态方法com.dahuatech.hutool.crypto.ProviderFactory
-
- createCipher(String) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
- createClient(String) - 类 中的静态方法com.dahuatech.hutool.http.webservice.SoapUtil
-
创建SOAP客户端,默认使用soap1.1版本协议
- createClient(String, SoapProtocol) - 类 中的静态方法com.dahuatech.hutool.http.webservice.SoapUtil
-
创建SOAP客户端
- createClient(String, SoapProtocol, String) - 类 中的静态方法com.dahuatech.hutool.http.webservice.SoapUtil
-
创建SOAP客户端
- createCollction() - 类 中的方法com.dahuatech.hutool.core.map.multi.CollectionValueMap
-
创建集合
此方法用于创建在putValue后追加值所在的集合,子类实现此方法创建不同类型的集合
- createCollction() - 类 中的方法com.dahuatech.hutool.core.map.multi.ListValueMap
-
- createCollction() - 类 中的方法com.dahuatech.hutool.core.map.multi.SetValueMap
-
- createDefault() - 类 中的静态方法com.dahuatech.hutool.core.net.URLEncoder
-
创建默认
URLEncoder
默认的编码器针对URI路径编码,定义如下:
pchar = unreserved(不处理) / pct-encoded / sub-delims(子分隔符) / ":" / "@"
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
sub-delims = "!"
- createDocumentBuilder() - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
创建 DocumentBuilder
- createDocumentBuilderFactory() - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
- createDynaBean(Object) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
创建动态Bean
- createEngine(String, SecretKey) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.mac.MacEngineFactory
-
- createFont(File) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
- createFont(InputStream) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
- createGet(String) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
创建Http GET请求对象
- createGmp() - 类 中的静态方法com.dahuatech.hutool.core.codec.Base62Codec
-
创建GMP风格的Base62编码解码器对象
- createGraphics(BufferedImage, Color) - 类 中的静态方法com.dahuatech.hutool.core.img.GraphicsUtil
-
- createGraphics(BufferedImage, Color) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
- createHmacSm3Engine(byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SmUtil
-
- createImage(String, Font, Color, Color, ImageOutputStream) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
根据文字创建PNG图片
- createInverted() - 类 中的静态方法com.dahuatech.hutool.core.codec.Base62Codec
-
创建Inverted风格的Base62编码解码器对象
- createLog(String) - 类 中的方法com.dahuatech.hutool.log.dialect.commons.ApacheCommonsLogFactory
-
- createLog(Class<?>) - 类 中的方法com.dahuatech.hutool.log.dialect.commons.ApacheCommonsLogFactory
-
- createLog(String) - 类 中的方法com.dahuatech.hutool.log.dialect.console.ConsoleLogFactory
-
- createLog(Class<?>) - 类 中的方法com.dahuatech.hutool.log.dialect.console.ConsoleLogFactory
-
- createLog(String) - 类 中的方法com.dahuatech.hutool.log.dialect.jboss.JbossLogFactory
-
- createLog(Class<?>) - 类 中的方法com.dahuatech.hutool.log.dialect.jboss.JbossLogFactory
-
- createLog(String) - 类 中的方法com.dahuatech.hutool.log.dialect.jdk.JdkLogFactory
-
- createLog(Class<?>) - 类 中的方法com.dahuatech.hutool.log.dialect.jdk.JdkLogFactory
-
- createLog(String) - 类 中的方法com.dahuatech.hutool.log.dialect.log4j.Log4jLogFactory
-
- createLog(Class<?>) - 类 中的方法com.dahuatech.hutool.log.dialect.log4j.Log4jLogFactory
-
- createLog(String) - 类 中的方法com.dahuatech.hutool.log.dialect.log4j2.Log4j2LogFactory
-
- createLog(Class<?>) - 类 中的方法com.dahuatech.hutool.log.dialect.log4j2.Log4j2LogFactory
-
- createLog(String) - 类 中的方法com.dahuatech.hutool.log.dialect.slf4j.Slf4jLogFactory
-
- createLog(Class<?>) - 类 中的方法com.dahuatech.hutool.log.dialect.slf4j.Slf4jLogFactory
-
- createLog(String) - 类 中的方法com.dahuatech.hutool.log.dialect.tinylog.TinyLogFactory
-
- createLog(Class<?>) - 类 中的方法com.dahuatech.hutool.log.dialect.tinylog.TinyLogFactory
-
- createLog(String) - 类 中的方法com.dahuatech.hutool.log.LogFactory
-
创建日志对象
- createLog(Class<?>) - 类 中的方法com.dahuatech.hutool.log.LogFactory
-
创建日志对象
- createMac(String) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
- createMap(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
- createMap(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
- createMessageDigest(String) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
- createModify(URL, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听修改事件
- createModify(URL, int, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听修改事件
- createModify(URI, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听修改事件
- createModify(URI, int, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听修改事件
- createModify(File, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听修改事件
- createModify(File, int, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听修改事件
- createModify(String, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听修改事件
- createModify(String, int, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听修改事件
- createModify(Path, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听修改事件
- createModify(Path, int, Watcher) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
创建并初始化监听,监听修改事件
- createObj() - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
创建JSONObject
- createPost(String) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
创建Http POST请求对象
- createProxy(Map<?, ?>) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
- createQuery() - 类 中的静态方法com.dahuatech.hutool.core.net.URLEncoder
-
创建用于查询语句的
URLEncoder
编码器针对URI路径编码,定义如下:
0x20 ' ' =》 '+'
0x2A, 0x2D, 0x2E, 0x30 to 0x39, 0x41 to 0x5A, 0x5F, 0x61 to 0x7A as-is
'*', '-', '
- createRandomAccessFile(Path, FileMode) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
- createRandomAccessFile(File, FileMode) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
- createRequest(Method, String) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
创建Http请求对象
- createSecureRandom(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
- createSnowflake(long, long) - 类 中的静态方法com.dahuatech.hutool.core.util.IdUtil
-
创建Twitter的Snowflake 算法生成器
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
- createSocket() - 类 中的方法com.dahuatech.hutool.http.ssl.CustomProtocolsSSLFactory
-
- createSocket(Socket, String, int, boolean) - 类 中的方法com.dahuatech.hutool.http.ssl.CustomProtocolsSSLFactory
-
- createSocket(String, int) - 类 中的方法com.dahuatech.hutool.http.ssl.CustomProtocolsSSLFactory
-
- createSocket(String, int, InetAddress, int) - 类 中的方法com.dahuatech.hutool.http.ssl.CustomProtocolsSSLFactory
-
- createSocket(InetAddress, int) - 类 中的方法com.dahuatech.hutool.http.ssl.CustomProtocolsSSLFactory
-
- createSocket(InetAddress, int, InetAddress, int) - 类 中的方法com.dahuatech.hutool.http.ssl.CustomProtocolsSSLFactory
-
- createTempFile(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
创建临时文件
创建后的文件名为 prefix[Randon].tmp
- createTempFile(File, boolean) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
创建临时文件
创建后的文件名为 prefix[Randon].tmp
- createTempFile(String, String, File, boolean) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
创建临时文件
创建后的文件名为 prefix[Randon].suffix From com.jodd.io.FileUtil
- createThreadFactoryBuilder() - 类 中的静态方法com.dahuatech.hutool.core.thread.ThreadUtil
-
创建ThreadFactoryBuilder
- createThreadLocal(boolean) - 类 中的静态方法com.dahuatech.hutool.core.thread.ThreadUtil
-
创建本地线程对象
- createUtf8(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.io.BufferUtil
-
从字符串创建新Buffer,使用UTF-8编码
- createXml() - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
创建XML文档
创建的XML默认是utf8编码,修改编码的过程是在toStr和toFile方法里,即XML在转为文本的时候才定义编码
- createXml(String) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
创建XML文档
创建的XML默认是utf8编码,修改编码的过程是在toStr和toFile方法里,即XML在转为文本的时候才定义编码
- createXml(String, String) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
创建XML文档
创建的XML默认是utf8编码,修改编码的过程是在toStr和toFile方法里,即XML在转为文本的时候才定义编码
- createXPath() - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
创建XPath
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
- CRLF - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- crypt(byte[], byte[], int, int[]) - 类 中的方法com.dahuatech.hutool.crypto.digest.BCrypt
-
加密密文
- crypt(byte[]) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.RC4
-
加密或解密指定值,调用此方法前需初始化密钥
- CryptoException - com.dahuatech.hutool.crypto中的异常错误
-
加密异常
- CryptoException(Throwable) - 异常错误 的构造器com.dahuatech.hutool.crypto.CryptoException
-
- CryptoException(String) - 异常错误 的构造器com.dahuatech.hutool.crypto.CryptoException
-
- CryptoException(String, Object...) - 异常错误 的构造器com.dahuatech.hutool.crypto.CryptoException
-
- CryptoException(String, Throwable) - 异常错误 的构造器com.dahuatech.hutool.crypto.CryptoException
-
- CryptoException(Throwable, String, Object...) - 异常错误 的构造器com.dahuatech.hutool.crypto.CryptoException
-
- CsvConfig - com.dahuatech.hutool.core.text.csv中的类
-
CSV基础配置项
- CsvConfig() - 类 的构造器com.dahuatech.hutool.core.text.csv.CsvConfig
-
- CsvData - com.dahuatech.hutool.core.text.csv中的类
-
CSV数据,包括头部信息和行数据,参考:FastCSV
- CsvData(List<String>, List<CsvRow>) - 类 的构造器com.dahuatech.hutool.core.text.csv.CsvData
-
构造
- CsvParser - com.dahuatech.hutool.core.text.csv中的类
-
CSV行解析器,参考:FastCSV
- CsvParser(Reader, CsvReadConfig) - 类 的构造器com.dahuatech.hutool.core.text.csv.CsvParser
-
CSV解析器
- CsvReadConfig - com.dahuatech.hutool.core.text.csv中的类
-
CSV读取配置项
- CsvReadConfig() - 类 的构造器com.dahuatech.hutool.core.text.csv.CsvReadConfig
-
- CsvReader - com.dahuatech.hutool.core.text.csv中的类
-
CSV文件读取器,参考:FastCSV
- CsvReader() - 类 的构造器com.dahuatech.hutool.core.text.csv.CsvReader
-
构造,使用默认配置项
- CsvReader(CsvReadConfig) - 类 的构造器com.dahuatech.hutool.core.text.csv.CsvReader
-
构造
- CsvRow - com.dahuatech.hutool.core.text.csv中的类
-
CSV中一行的表示
- CsvRow(long, Map<String, Integer>, List<String>) - 类 的构造器com.dahuatech.hutool.core.text.csv.CsvRow
-
构造
- CsvUtil - com.dahuatech.hutool.core.text.csv中的类
-
CSV工具
- CsvUtil() - 类 的构造器com.dahuatech.hutool.core.text.csv.CsvUtil
-
- CsvWriteConfig - com.dahuatech.hutool.core.text.csv中的类
-
CSV写出配置项
- CsvWriteConfig() - 类 的构造器com.dahuatech.hutool.core.text.csv.CsvWriteConfig
-
- CsvWriter - com.dahuatech.hutool.core.text.csv中的类
-
CSV数据写出器
- CsvWriter(String) - 类 的构造器com.dahuatech.hutool.core.text.csv.CsvWriter
-
构造,覆盖已有文件(如果存在),默认编码UTF-8
- CsvWriter(File) - 类 的构造器com.dahuatech.hutool.core.text.csv.CsvWriter
-
构造,覆盖已有文件(如果存在),默认编码UTF-8
- CsvWriter(String, Charset) - 类 的构造器com.dahuatech.hutool.core.text.csv.CsvWriter
-
构造,覆盖已有文件(如果存在)
- CsvWriter(File, Charset) - 类 的构造器com.dahuatech.hutool.core.text.csv.CsvWriter
-
构造,覆盖已有文件(如果存在)
- CsvWriter(String, Charset, boolean) - 类 的构造器com.dahuatech.hutool.core.text.csv.CsvWriter
-
构造
- CsvWriter(File, Charset, boolean) - 类 的构造器com.dahuatech.hutool.core.text.csv.CsvWriter
-
构造
- CsvWriter(String, Charset, boolean, CsvWriteConfig) - 类 的构造器com.dahuatech.hutool.core.text.csv.CsvWriter
-
构造
- CsvWriter(File, Charset, boolean, CsvWriteConfig) - 类 的构造器com.dahuatech.hutool.core.text.csv.CsvWriter
-
构造
- CsvWriter(Writer) - 类 的构造器com.dahuatech.hutool.core.text.csv.CsvWriter
-
构造,使用默认配置
- CsvWriter(Writer, CsvWriteConfig) - 类 的构造器com.dahuatech.hutool.core.text.csv.CsvWriter
-
构造
- CurrencyConverter - com.dahuatech.hutool.core.convert.impl中的类
-
- CurrencyConverter() - 类 的构造器com.dahuatech.hutool.core.convert.impl.CurrencyConverter
-
- current(boolean) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
当前时间的时间戳
- currentSeconds() - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
当前时间的时间戳(秒)
- currentTaskName() - 类 中的方法com.dahuatech.hutool.core.date.StopWatch
-
获取当前任务名,null 表示无任务
- currentThreadGroup() - 类 中的静态方法com.dahuatech.hutool.core.thread.ThreadUtil
-
获取当前线程的线程组
- customKey(Object) - 类 中的方法com.dahuatech.hutool.core.map.CamelCaseMap
-
将Key转为驼峰风格,如果key为字符串的话
- customKey(Object) - 类 中的方法com.dahuatech.hutool.core.map.CaseInsensitiveMap
-
将Key转为小写
- customKey(Object) - 类 中的方法com.dahuatech.hutool.core.map.CustomKeyMap
-
自定义键
- CustomKeyMap<K,V> - com.dahuatech.hutool.core.map中的类
-
自定义键的Map,默认HashMap实现
- CustomKeyMap(Map<K, V>) - 类 的构造器com.dahuatech.hutool.core.map.CustomKeyMap
-
构造
通过传入一个Map从而确定Map的类型,子类需创建一个空的Map,而非传入一个已有Map,否则值可能会被修改
- CustomProtocolsSSLFactory - com.dahuatech.hutool.http.ssl中的类
-
自定义支持协议类型的SSLSocketFactory
- CustomProtocolsSSLFactory(String...) - 类 的构造器com.dahuatech.hutool.http.ssl.CustomProtocolsSSLFactory
-
构造
- cut(Rectangle) - 类 中的方法com.dahuatech.hutool.core.img.Img
-
图像切割(按指定起点坐标和宽高切割)
- cut(int, int) - 类 中的方法com.dahuatech.hutool.core.img.Img
-
图像切割为圆形(按指定起点坐标和半径切割),填充满整个图片(直径取长宽最小值)
- cut(int, int, int) - 类 中的方法com.dahuatech.hutool.core.img.Img
-
图像切割为圆形(按指定起点坐标和半径切割)
- cut(File, File, Rectangle) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
图像切割(按指定起点坐标和宽高切割)
- cut(InputStream, OutputStream, Rectangle) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
图像切割(按指定起点坐标和宽高切割),此方法并不关闭流
- cut(ImageInputStream, ImageOutputStream, Rectangle) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
图像切割(按指定起点坐标和宽高切割),此方法并不关闭流
- cut(Image, File, Rectangle) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
图像切割(按指定起点坐标和宽高切割),此方法并不关闭流
- cut(Image, OutputStream, Rectangle) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
图像切割(按指定起点坐标和宽高切割),此方法并不关闭流
- cut(Image, ImageOutputStream, Rectangle) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
图像切割(按指定起点坐标和宽高切割),此方法并不关闭流
- cut(Image, Rectangle) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
图像切割(按指定起点坐标和宽高切割)
- cut(Image, int, int) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
图像切割(按指定起点坐标和宽高切割),填充满整个图片(直径取长宽最小值)
- cut(Image, int, int, int) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
图像切割(按指定起点坐标和宽高切割)
- cut(CharSequence, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
将字符串切分为N等份
- DASHED - 类 中的静态变量com.dahuatech.hutool.core.util.CharUtil
-
- DASHED - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- DASHED - 类 中的静态变量com.dahuatech.icc.util.CharUtil
-
字符常量:减号(连接符) '-'
- date() - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
- date(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
Date类型时间转为
DateTime
如果date本身为DateTime对象,则返回强转后的对象,否则新建一个DateTime对象
- date(long) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
Long类型时间转为
DateTime
只支持毫秒级别时间戳,如果需要秒级别时间戳,请自行×1000
- date(Calendar) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
- DateBasic - com.dahuatech.hutool.core.date.format中的接口
-
日期基本信息获取接口
- DateBetween - com.dahuatech.hutool.core.date中的类
-
日期间隔
- DateBetween(Date, Date) - 类 的构造器com.dahuatech.hutool.core.date.DateBetween
-
构造
在前的日期做为起始时间,在后的做为结束时间,间隔只保留绝对值正数
- DateBetween(Date, Date, boolean) - 类 的构造器com.dahuatech.hutool.core.date.DateBetween
-
构造
在前的日期做为起始时间,在后的做为结束时间
- DateConverter - com.dahuatech.hutool.core.convert.impl中的类
-
日期转换器
- DateConverter(Class<? extends Date>) - 类 的构造器com.dahuatech.hutool.core.convert.impl.DateConverter
-
构造
- DateConverter(Class<? extends Date>, String) - 类 的构造器com.dahuatech.hutool.core.convert.impl.DateConverter
-
构造
- DateException - com.dahuatech.hutool.core.date中的异常错误
-
工具类异常
- DateException(Throwable) - 异常错误 的构造器com.dahuatech.hutool.core.date.DateException
-
- DateException(String) - 异常错误 的构造器com.dahuatech.hutool.core.date.DateException
-
- DateException(String, Object...) - 异常错误 的构造器com.dahuatech.hutool.core.date.DateException
-
- DateException(String, Throwable) - 异常错误 的构造器com.dahuatech.hutool.core.date.DateException
-
- DateException(Throwable, String, Object...) - 异常错误 的构造器com.dahuatech.hutool.core.date.DateException
-
- DateField - com.dahuatech.hutool.core.date中的枚举
-
日期各个部分的枚举
与Calendar相应值对应
- DateModifier - com.dahuatech.hutool.core.date中的类
-
日期修改器
用于实现自定义某个日期字段的调整,包括:
1.
- DateModifier() - 类 的构造器com.dahuatech.hutool.core.date.DateModifier
-
- DateModifier.ModifyType - com.dahuatech.hutool.core.date中的枚举
-
修改类型
- dateNew(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
- DateParser - com.dahuatech.hutool.core.date.format中的接口
-
日期解析接口,用于解析日期字符串为
Date 对象
Thanks to Apache Commons Lang 3.5
- DatePattern - com.dahuatech.hutool.core.date中的类
-
日期格式化类,提供常用的日期格式化对象
- DatePattern() - 类 的构造器com.dahuatech.hutool.core.date.DatePattern
-
- DatePrinter - com.dahuatech.hutool.core.date.format中的接口
-
日期格式化输出接口
Thanks to Apache Commons Lang 3.5
- DateRange - com.dahuatech.hutool.core.date中的类
-
日期范围
- DateRange(Date, Date, DateField) - 类 的构造器com.dahuatech.hutool.core.date.DateRange
-
构造,包含开始和结束日期时间
- DateRange(Date, Date, DateField, int) - 类 的构造器com.dahuatech.hutool.core.date.DateRange
-
构造,包含开始和结束日期时间
- DateRange(Date, Date, DateField, int, boolean, boolean) - 类 的构造器com.dahuatech.hutool.core.date.DateRange
-
构造
- dateSecond() - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
- DateTime - com.dahuatech.hutool.core.date中的类
-
包装java.util.Date
- DateTime() - 类 的构造器com.dahuatech.hutool.core.date.DateTime
-
当前时间
- DateTime(TimeZone) - 类 的构造器com.dahuatech.hutool.core.date.DateTime
-
当前时间
- DateTime(Date) - 类 的构造器com.dahuatech.hutool.core.date.DateTime
-
给定日期的构造
- DateTime(Date, TimeZone) - 类 的构造器com.dahuatech.hutool.core.date.DateTime
-
给定日期的构造
- DateTime(Calendar) - 类 的构造器com.dahuatech.hutool.core.date.DateTime
-
给定日期的构造
- DateTime(long) - 类 的构造器com.dahuatech.hutool.core.date.DateTime
-
给定日期毫秒数的构造
- DateTime(long, TimeZone) - 类 的构造器com.dahuatech.hutool.core.date.DateTime
-
给定日期毫秒数的构造
- DateTime(String, String) - 类 的构造器com.dahuatech.hutool.core.date.DateTime
-
构造
- DateTime(String, DateFormat) - 类 的构造器com.dahuatech.hutool.core.date.DateTime
-
构造
- DateTime(String, DateParser) - 类 的构造器com.dahuatech.hutool.core.date.DateTime
-
构造
- DateUnit - com.dahuatech.hutool.core.date中的枚举
-
日期时间单位,每个单位都是以毫秒为基数
- DateUtil - com.dahuatech.hutool.core.date中的类
-
时间工具类
- DateUtil() - 类 的构造器com.dahuatech.hutool.core.date.DateUtil
-
- dayOfMonth() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
获得指定日期是这个日期所在月份的第几天
- dayOfMonth(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
获得指定日期是这个日期所在月份的第几天
- dayOfWeek() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
获得指定日期是星期几,1表示周日,2表示周一
- dayOfWeek(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
获得指定日期是星期几,1表示周日,2表示周一
- dayOfWeekEnum() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
获得指定日期是星期几
- dayOfWeekEnum(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
获得指定日期是星期几
- dayOfWeekInMonth() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
获得天所在的周是这个月的第几周
- debug(Throwable) - 类 中的方法com.dahuatech.hutool.log.AbstractLog
-
- debug(String, Object...) - 类 中的方法com.dahuatech.hutool.log.AbstractLog
-
- debug(Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.AbstractLog
-
- debug(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.commons.ApacheCommonsLog
-
- debug(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.console.ConsoleLog
-
- debug(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.jboss.JbossLog
-
- debug(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.jdk.JdkLog
-
- debug(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.log4j.Log4jLog
-
- debug(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.log4j2.Log4j2Log
-
- debug(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.slf4j.Slf4jLog
-
- debug(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.tinylog.TinyLog
-
- debug(Throwable) - 接口 中的方法com.dahuatech.hutool.log.level.DebugLog
-
打印 DEBUG 等级的日志
- debug(String, Object...) - 接口 中的方法com.dahuatech.hutool.log.level.DebugLog
-
打印 DEBUG 等级的日志
- debug(Throwable, String, Object...) - 接口 中的方法com.dahuatech.hutool.log.level.DebugLog
-
打印 DEBUG 等级的日志
- debug(String, Throwable, String, Object...) - 接口 中的方法com.dahuatech.hutool.log.level.DebugLog
-
打印 DEBUG 等级的日志
- debug(String, Object...) - 类 中的静态方法com.dahuatech.hutool.log.StaticLog
-
Debug等级日志,小于Info
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
- debug(Log, String, Object...) - 类 中的静态方法com.dahuatech.hutool.log.StaticLog
-
Debug等级日志,小于Info
- DebugLog - com.dahuatech.hutool.log.level中的接口
-
DEBUG级别日志接口
- decimalFormat(String, double) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
- decimalFormat(String, long) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
- decimalFormatMoney(double) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
格式化金额输出,每三位用逗号分隔
- decode(String) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base32
-
解码
- decode(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base62
-
Base62解码
- decode(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base62
-
解码Base62
- decode(byte[]) - 类 中的方法com.dahuatech.hutool.core.codec.Base62Codec
-
解码Base62消息
- decode(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
base64解码
- decode(CharSequence, String) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
- decode(CharSequence, Charset) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
- decode(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
解码Base64
- decode(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64Decoder
-
base64解码
- decode(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64Decoder
-
解码Base64
- decode(byte[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64Decoder
-
解码Base64
- decode(String, int) - 类 中的静态方法com.dahuatech.hutool.core.codec.Caesar
-
传入明文解密到密文
- decode(String) - 类 中的方法com.dahuatech.hutool.core.codec.Morse
-
解码
- decode(String, int, boolean) - 类 中的静态方法com.dahuatech.hutool.core.codec.Rot
-
RotN解码
- decode(String) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
解码URL
将%开头的16进制表示的内容解码。
- decode(String, Charset) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
解码application/x-www-form-urlencoded字符
- decode(String, String) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
解码URL
将%开头的16进制表示的内容解码。
- decode(String) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
解码字符串密钥,可支持的编码如下:
1.
- decode(String) - 类 中的静态方法com.dahuatech.icc.util.Base64Util
-
Translates the specified Base64 string into a byte array.
- decode13(String) - 类 中的静态方法com.dahuatech.hutool.core.codec.Rot
-
Rot-13解码,同时解码数字
- decode13(String, boolean) - 类 中的静态方法com.dahuatech.hutool.core.codec.Rot
-
Rot-13解码
- decodeColor(String) - 类 中的静态方法com.dahuatech.hutool.core.util.HexUtil
-
将Hex颜色值转为
- decodeECPoint(String, String) - 类 中的静态方法com.dahuatech.hutool.crypto.BCUtil
-
解码恢复EC压缩公钥,支持Base64和Hex编码,(基于BouncyCastle)
见:https://www.cnblogs.com/xinzhao/p/8963724.html
- decodeECPoint(byte[], String) - 类 中的静态方法com.dahuatech.hutool.crypto.BCUtil
-
解码恢复EC压缩公钥,支持Base64和Hex编码,(基于BouncyCastle)
见:https://www.cnblogs.com/xinzhao/p/8963724.html
- decodeECPoint(String, String) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
解码恢复EC压缩公钥,支持Base64和Hex编码,(基于BouncyCastle)
见:https://www.cnblogs.com/xinzhao/p/8963724.html
- decodeECPoint(byte[], String) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
解码恢复EC压缩公钥,支持Base64和Hex编码,(基于BouncyCastle)
见:https://www.cnblogs.com/xinzhao/p/8963724.html
- decodeHex(char[]) - 类 中的静态方法com.dahuatech.hutool.core.util.HexUtil
-
将十六进制字符数组转换为字节数组
- decodeHex(String) - 类 中的静态方法com.dahuatech.hutool.core.util.HexUtil
-
将十六进制字符串解码为byte[]
- decodeHexStr(String) - 类 中的静态方法com.dahuatech.hutool.core.util.HexUtil
-
将十六进制字符数组转换为字符串,默认编码UTF-8
- decodeHexStr(String, Charset) - 类 中的静态方法com.dahuatech.hutool.core.util.HexUtil
-
将十六进制字符数组转换为字符串
- decodeHexStr(char[], Charset) - 类 中的静态方法com.dahuatech.hutool.core.util.HexUtil
-
将十六进制字符数组转换为字符串
- decodeParamMap(String, String) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
将URL参数解析为Map(也可以解析Post中的键值对参数)
- decodeParams(String, String) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
将URL参数解析为Map(也可以解析Post中的键值对参数)
- decodeStr(String) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base32
-
base32解码
- decodeStr(String, String) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base32
-
base32解码
- decodeStr(String, Charset) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base32
-
base32解码
- decodeStr(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base62
-
Base62解码
- decodeStr(CharSequence, Charset) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base62
-
Base62解码
- decodeStr(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
base64解码
- decodeStr(CharSequence, String) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
base64解码
- decodeStr(CharSequence, Charset) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
base64解码
- decodeStr(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64Decoder
-
base64解码
- decodeStr(CharSequence, Charset) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64Decoder
-
base64解码
- decodeStrGbk(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base62
-
Base62解码
- decodeStrGbk(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
base64解码
- decodeToFile(CharSequence, File) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base62
-
Base62解码
- decodeToFile(CharSequence, File) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
base64解码
- decodeToStream(CharSequence, OutputStream, boolean) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base62
-
Base62解码
- decodeToStream(CharSequence, OutputStream, boolean) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
base64解码
- decrement() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableByte
-
值减一
- decrement() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableDouble
-
值减一
- decrement() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableFloat
-
值减一
- decrement() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableInt
-
值减一
- decrement() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableLong
-
值减一
- decrement() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableShort
-
值减一
- decrypt(byte[], KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
解密
- decrypt(InputStream, KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
解密
- decrypt(String, KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
从Hex或Base64字符串解密,编码为UTF-8格式
- decrypt(byte[], KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AsymmetricCrypto
-
解密
- decrypt(byte[], KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.RSA
-
- decrypt(byte[], KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.SM2
-
解密
- decrypt(byte[], Charset) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.RC4
-
解密
- decrypt(byte[]) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.RC4
-
解密,使用默认编码UTF-8
- decrypt(byte[]) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
解密
- decrypt(String) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
解密Hex(16进制)或Base64表示的字符串
- decrypt(InputStream) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
解密,不会关闭流
- decrypt(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.crypto.symmetric.Vigenere
-
解密
- decryptBlockSize - 类 中的变量com.dahuatech.hutool.crypto.asymmetric.AsymmetricCrypto
-
解密的块大小
- decryptFromBcd(String, KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
解密BCD
- decryptFromBcd(String, KeyType, Charset) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
分组解密
- decryptStr(String, KeyType, Charset) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
解密为字符串,密文需为Hex(16进制)或Base64字符串
- decryptStr(String, KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
解密为字符串,密文需为Hex(16进制)或Base64字符串
- decryptStr(byte[], Charset) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
解密为字符串
- decryptStr(byte[]) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
解密为字符串,默认UTF-8编码
- decryptStr(String, Charset) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
解密Hex(16进制)或Base64表示的字符串
- decryptStr(String) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
解密Hex表示的字符串,默认UTF-8编码
- decryptStr(InputStream, Charset) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
解密,不会关闭流
- decryptStr(InputStream) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
解密
- decryptStrFromBcd(String, KeyType, Charset) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
解密为字符串,密文需为BCD格式
- decryptStrFromBcd(String, KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
解密为字符串,密文需为BCD格式,编码为UTF-8格式
- DEFAULT - 类 中的静态变量com.dahuatech.hutool.core.net.URLEncoder
-
默认
URLEncoder
默认的编码器针对URI路径编码,定义如下:
pchar = unreserved(不处理) / pct-encoded / sub-delims(子分隔符) / ":" / "@"
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
sub-delims = "!"
- DEFAULT_BUFFER_SIZE - 类 中的静态变量com.dahuatech.hutool.core.io.IoUtil
-
默认缓存大小 8192
- DEFAULT_CAPACITY - 类 中的静态变量com.dahuatech.hutool.core.text.StrBuilder
-
默认容量
- DEFAULT_CAPACITY - 类 中的静态变量com.dahuatech.hutool.json.JSONArray
-
默认初始大小
- DEFAULT_CAPACITY - 类 中的静态变量com.dahuatech.hutool.json.JSONObject
-
默认初始大小
- DEFAULT_CHARSET - 类 中的静态变量com.dahuatech.hutool.core.io.file.FileWrapper
-
默认编码:UTF-8
- DEFAULT_COLLCTION_INITIAL_CAPACITY - 类 中的静态变量com.dahuatech.hutool.core.map.multi.CollectionValueMap
-
默认集合初始大小
- DEFAULT_DELAY - 枚举 中的静态变量com.dahuatech.hutool.core.swing.clipboard.ClipboardMonitor
-
默认重试等待:100
- DEFAULT_INITIAL_CAPACITY - 类 中的静态变量com.dahuatech.hutool.core.map.MapUtil
-
默认初始大小
- DEFAULT_INITIAL_CAPACITY - 类 中的静态变量com.dahuatech.hutool.core.map.MapWrapper
-
默认初始大小
- DEFAULT_KEY_SIZE - 类 中的静态变量com.dahuatech.hutool.crypto.KeyUtil
-
默认密钥字节数
RSA/DSA
Default Keysize 1024
Keysize must be a multiple of 64, ranging from 512 to 1024 (inclusive).
- DEFAULT_KEY_SIZE - 类 中的静态变量com.dahuatech.hutool.crypto.SecureUtil
-
默认密钥字节数
RSA/DSA
Default Keysize 1024
Keysize must be a multiple of 64, ranging from 512 to 1024 (inclusive).
- DEFAULT_LARGE_BUFFER_SIZE - 类 中的静态变量com.dahuatech.hutool.core.io.IoUtil
-
默认大缓存大小 32768
- DEFAULT_LOAD_FACTOR - 类 中的静态变量com.dahuatech.hutool.core.map.MapUtil
-
默认增长因子,当Map的size达到 容量*增长因子时,开始扩充Map
- DEFAULT_LOAD_FACTOR - 类 中的静态变量com.dahuatech.hutool.core.map.MapWrapper
-
默认增长因子
- DEFAULT_MIDDLE_BUFFER_SIZE - 类 中的静态变量com.dahuatech.hutool.core.io.IoUtil
-
默认中等缓存大小 16384
- DEFAULT_TRY_COUNT - 枚举 中的静态变量com.dahuatech.hutool.core.swing.clipboard.ClipboardMonitor
-
默认重试此时:10
- defaultCharset() - 类 中的静态方法com.dahuatech.hutool.core.util.CharsetUtil
-
系统默认字符集编码
- defaultCharsetName() - 类 中的静态方法com.dahuatech.hutool.core.util.CharsetUtil
-
系统默认字符集编码
- defaultConfig() - 类 中的静态方法com.dahuatech.hutool.core.text.csv.CsvReadConfig
-
默认配置
- defaultConfig() - 类 中的静态方法com.dahuatech.hutool.core.text.csv.CsvWriteConfig
-
默认配置
- DefaultHMacEngine - com.dahuatech.hutool.crypto.digest.mac中的类
-
默认的HMAC算法实现引擎,使用
Mac 实现摘要
当引入BouncyCastle库时自动使用其作为Provider
- DefaultHMacEngine(String, byte[]) - 类 的构造器com.dahuatech.hutool.crypto.digest.mac.DefaultHMacEngine
-
构造
- DefaultHMacEngine(String, SecretKey) - 类 的构造器com.dahuatech.hutool.crypto.digest.mac.DefaultHMacEngine
-
构造
- defaultIfEmpty(T, T) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
如果给定集合为空,返回默认集合
- defaultIfEmpty(T, T) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
如果给定Map为空,返回默认Map
- defaultIfEmpty(T[], T[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
如果给定数组为空,返回默认数组
- defaultIfNull(T, T) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
如果给定对象为null返回默认值
ObjectUtil.defaultIfNull(null, null) = null
ObjectUtil.defaultIfNull(null, "") = ""
ObjectUtil.defaultIfNull(null, "zz") = "zz"
ObjectUtil.defaultIfNull("abc", *) = "abc"
ObjectUtil.defaultIfNull(Boolean.TRUE, *) = Boolean.TRUE
- DefaultTrustManager - com.dahuatech.hutool.http.ssl中的类
-
证书管理
- DefaultTrustManager() - 类 的构造器com.dahuatech.hutool.http.ssl.DefaultTrustManager
-
- dekHash(String) - 类 中的静态方法com.dahuatech.hutool.core.util.HashUtil
-
DEK算法
- del(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
删除文件或者文件夹
路径如果为相对路径,会转换为ClassPath路径!
- del(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
删除文件或者文件夹
注意:删除文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
- del(Path) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
删除文件或者文件夹
注意:删除文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
- del(int, int) - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
删除指定长度的字符,规则如下:
1、end大于等于最大长度,结束按照最大长度计算,相当于删除start之后虽有部分(性能最好)
2、end小于start时,抛出StringIndexOutOfBoundsException
3、start小于0 按照0处理
4、start等于end不处理
5、start和end都位于长度区间内,删除这段内容(内存拷贝)
- delAll(String, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
删除匹配的全部内容
- delAll(Pattern, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
删除匹配的全部内容
- DelayWatcher - com.dahuatech.hutool.core.io.watch.watchers中的类
-
延迟观察者
使用此观察者通过定义一定的延迟时间,解决
WatchService多个modify的问题
在监听目录或文件时,如果这个文件有修改操作,会多次触发modify方法。
- DelayWatcher(Watcher, long) - 类 的构造器com.dahuatech.hutool.core.io.watch.watchers.DelayWatcher
-
构造
- delete(String) - 类 中的静态方法com.dahuatech.hutool.http.HttpRequest
-
DELETE请求
- delFirst(String, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
删除匹配的第一个内容
- delFirst(Pattern, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
删除匹配的第一个内容
- DELIM_END - 类 中的静态变量com.dahuatech.hutool.core.util.CharUtil
-
- DELIM_END - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- DELIM_END - 类 中的静态变量com.dahuatech.icc.util.CharUtil
-
字符常量:花括号(右) '}'
- DELIM_START - 类 中的静态变量com.dahuatech.hutool.core.util.CharUtil
-
- DELIM_START - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- DELIM_START - 类 中的静态变量com.dahuatech.icc.util.CharUtil
-
字符常量:花括号(左) '{'
- delPre(String, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
删除正则匹配到的内容之前的字符 如果没有找到,则返回原文
- delTo(int) - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
删除到指定位置
如果新位置小于等于0,则删除全部
- DependencyException - com.dahuatech.hutool.core.exceptions中的异常错误
-
依赖异常
- DependencyException(Throwable) - 异常错误 的构造器com.dahuatech.hutool.core.exceptions.DependencyException
-
- DependencyException(String) - 异常错误 的构造器com.dahuatech.hutool.core.exceptions.DependencyException
-
- DependencyException(String, Object...) - 异常错误 的构造器com.dahuatech.hutool.core.exceptions.DependencyException
-
- DependencyException(String, Throwable) - 异常错误 的构造器com.dahuatech.hutool.core.exceptions.DependencyException
-
- DependencyException(Throwable, String, Object...) - 异常错误 的构造器com.dahuatech.hutool.core.exceptions.DependencyException
-
- des() - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
DES加密,生成随机KEY。
- des(byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
DES加密
例:
DES加密:des(key).encrypt(data)
DES解密:des(key).decrypt(data)
- DES - com.dahuatech.hutool.crypto.symmetric中的类
-
DES加密算法实现
DES全称为Data Encryption Standard,即数据加密标准,是一种使用密钥加密的块算法
Java中默认实现为:DES/CBC/PKCS5Padding
- DES() - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DES
-
构造,默认DES/CBC/PKCS5Padding,使用随机密钥
- DES(byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DES
-
构造,使用默认的DES/CBC/PKCS5Padding
- DES(Mode, Padding) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DES
-
构造,使用随机密钥
- DES(Mode, Padding, byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DES
-
构造
- DES(Mode, Padding, byte[], byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DES
-
构造
- DES(Mode, Padding, SecretKey) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DES
-
构造
- DES(Mode, Padding, SecretKey, IvParameterSpec) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DES
-
构造
- DES(String, String) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DES
-
构造
- DES(String, String, byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DES
-
构造
- DES(String, String, byte[], byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DES
-
构造
- DES(String, String, SecretKey) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DES
-
构造
- DES(String, String, SecretKey, IvParameterSpec) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DES
-
构造
- desede() - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
DESede加密(又名3DES、TripleDES),生成随机KEY。
- desede(byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
DESede加密(又名3DES、TripleDES)
Java中默认实现为:DESede/ECB/PKCS5Padding
例:
DESede加密:desede(key).encrypt(data)
DESede解密:desede(key).decrypt(data)
- DESede - com.dahuatech.hutool.crypto.symmetric中的类
-
DESede是由DES对称加密算法改进后的一种对称加密算法,又名3DES、TripleDES。
- DESede() - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DESede
-
构造,默认DESede/ECB/PKCS5Padding,使用随机密钥
- DESede(byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DESede
-
构造,使用默认的DESede/ECB/PKCS5Padding
- DESede(Mode, Padding) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DESede
-
构造,使用随机密钥
- DESede(Mode, Padding, byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DESede
-
构造
- DESede(Mode, Padding, byte[], byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DESede
-
构造
- DESede(Mode, Padding, SecretKey) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DESede
-
构造
- DESede(Mode, Padding, SecretKey, IvParameterSpec) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DESede
-
构造
- DESede(String, String) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DESede
-
构造
- DESede(String, String, byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DESede
-
构造
- DESede(String, String, byte[], byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DESede
-
构造
- DESede(String, String, SecretKey) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DESede
-
构造
- DESede(String, String, SecretKey, IvParameterSpec) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.DESede
-
构造
- deserialize(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
反序列化
对象必须实现Serializable接口
- deserialize(JSON) - 接口 中的方法com.dahuatech.hutool.json.serialize.JSONDeserializer
-
反序列化,通过实现此方法,自定义实现JSON转换为指定类型的逻辑
- desktopPlatforms - 类 中的静态变量com.dahuatech.hutool.http.useragent.Platform
-
支持的桌面平台类型
- DesktopUtil - com.dahuatech.hutool.core.swing中的类
-
桌面相关工具(平台相关)
Desktop 类允许 Java 应用程序启动已在本机桌面上注册的关联应用程序,以处理 URI 或文件。
- DesktopUtil() - 类 的构造器com.dahuatech.hutool.core.swing.DesktopUtil
-
- dest - 类 中的变量com.dahuatech.hutool.core.lang.copier.SrcToDestCopier
-
目标
- destroy() - 类 中的静态方法com.dahuatech.hutool.core.lang.Singleton
-
清除所有Singleton对象
- destroy(Process) - 类 中的静态方法com.dahuatech.hutool.core.util.RuntimeUtil
-
销毁进程
- Dict - com.dahuatech.hutool.core.lang中的类
-
字典对象,扩充了HashMap中的方法
- Dict() - 类 的构造器com.dahuatech.hutool.core.lang.Dict
-
构造
- Dict(boolean) - 类 的构造器com.dahuatech.hutool.core.lang.Dict
-
构造
- Dict(int) - 类 的构造器com.dahuatech.hutool.core.lang.Dict
-
构造
- Dict(int, boolean) - 类 的构造器com.dahuatech.hutool.core.lang.Dict
-
构造
- Dict(int, float) - 类 的构造器com.dahuatech.hutool.core.lang.Dict
-
构造
- Dict(int, float, boolean) - 类 的构造器com.dahuatech.hutool.core.lang.Dict
-
构造
- Dict(Map<String, Object>) - 类 的构造器com.dahuatech.hutool.core.lang.Dict
-
构造
- digest(String, String) - 类 中的方法com.dahuatech.hutool.crypto.digest.Digester
-
生成文件摘要
- digest(String, Charset) - 类 中的方法com.dahuatech.hutool.crypto.digest.Digester
-
生成文件摘要
- digest(String) - 类 中的方法com.dahuatech.hutool.crypto.digest.Digester
-
生成文件摘要
- digest(File) - 类 中的方法com.dahuatech.hutool.crypto.digest.Digester
-
- digest(byte[]) - 类 中的方法com.dahuatech.hutool.crypto.digest.Digester
-
生成摘要,考虑加盐和重复摘要次数
- digest(InputStream) - 类 中的方法com.dahuatech.hutool.crypto.digest.Digester
-
- digest(InputStream, int) - 类 中的方法com.dahuatech.hutool.crypto.digest.Digester
-
生成摘要
- digest(String, String) - 类 中的方法com.dahuatech.hutool.crypto.digest.HMac
-
生成文件摘要
- digest(String) - 类 中的方法com.dahuatech.hutool.crypto.digest.HMac
-
生成文件摘要
- digest(File) - 类 中的方法com.dahuatech.hutool.crypto.digest.HMac
-
- digest(byte[]) - 类 中的方法com.dahuatech.hutool.crypto.digest.HMac
-
生成摘要
- digest(InputStream) - 类 中的方法com.dahuatech.hutool.crypto.digest.HMac
-
- digest(InputStream, int) - 类 中的方法com.dahuatech.hutool.crypto.digest.HMac
-
生成摘要
- digest(InputStream, int) - 类 中的方法com.dahuatech.hutool.crypto.digest.mac.BCHMacEngine
-
- digest(InputStream, int) - 类 中的方法com.dahuatech.hutool.crypto.digest.mac.DefaultHMacEngine
-
- digest(InputStream, int) - 接口 中的方法com.dahuatech.hutool.crypto.digest.mac.MacEngine
-
生成摘要
- DigestAlgorithm - com.dahuatech.hutool.crypto.digest中的枚举
-
摘要算法类型
see:
https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#MessageDigest
- digestCount - 类 中的变量com.dahuatech.hutool.crypto.digest.Digester
-
散列次数
- Digester - com.dahuatech.hutool.crypto.digest中的类
-
摘要算法
注意:此对象实例化后为非线程安全!
- Digester(DigestAlgorithm) - 类 的构造器com.dahuatech.hutool.crypto.digest.Digester
-
构造
- Digester(String) - 类 的构造器com.dahuatech.hutool.crypto.digest.Digester
-
构造
- Digester(DigestAlgorithm, Provider) - 类 的构造器com.dahuatech.hutool.crypto.digest.Digester
-
构造
- Digester(String, Provider) - 类 的构造器com.dahuatech.hutool.crypto.digest.Digester
-
构造
- digester(DigestAlgorithm) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
新建摘要器
- digester(String) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
新建摘要器
- digestHex(String, String) - 类 中的方法com.dahuatech.hutool.crypto.digest.Digester
-
生成文件摘要,并转为16进制字符串
- digestHex(String, Charset) - 类 中的方法com.dahuatech.hutool.crypto.digest.Digester
-
生成文件摘要,并转为16进制字符串
- digestHex(String) - 类 中的方法com.dahuatech.hutool.crypto.digest.Digester
-
生成文件摘要
- digestHex(File) - 类 中的方法com.dahuatech.hutool.crypto.digest.Digester
-
- digestHex(byte[]) - 类 中的方法com.dahuatech.hutool.crypto.digest.Digester
-
生成摘要,并转为16进制字符串
- digestHex(InputStream) - 类 中的方法com.dahuatech.hutool.crypto.digest.Digester
-
- digestHex(InputStream, int) - 类 中的方法com.dahuatech.hutool.crypto.digest.Digester
-
- digestHex(String, String) - 类 中的方法com.dahuatech.hutool.crypto.digest.HMac
-
生成文件摘要,并转为16进制字符串
- digestHex(String) - 类 中的方法com.dahuatech.hutool.crypto.digest.HMac
-
生成文件摘要
- digestHex(File) - 类 中的方法com.dahuatech.hutool.crypto.digest.HMac
-
- digestHex(byte[]) - 类 中的方法com.dahuatech.hutool.crypto.digest.HMac
-
生成摘要,并转为16进制字符串
- digestHex(InputStream) - 类 中的方法com.dahuatech.hutool.crypto.digest.HMac
-
- digestHex(InputStream, int) - 类 中的方法com.dahuatech.hutool.crypto.digest.HMac
-
- digestHex16(String, Charset) - 类 中的方法com.dahuatech.hutool.crypto.digest.MD5
-
生成16位MD5摘要
- digestHex16(String) - 类 中的方法com.dahuatech.hutool.crypto.digest.MD5
-
生成16位MD5摘要
- digestHex16(InputStream) - 类 中的方法com.dahuatech.hutool.crypto.digest.MD5
-
生成16位MD5摘要
- digestHex16(File) - 类 中的方法com.dahuatech.hutool.crypto.digest.MD5
-
生成16位MD5摘要
- digestHex16(byte[]) - 类 中的方法com.dahuatech.hutool.crypto.digest.MD5
-
生成16位MD5摘要
- DigestUtil - com.dahuatech.hutool.crypto.digest中的类
-
摘要算法工具类
- DigestUtil() - 类 的构造器com.dahuatech.hutool.crypto.digest.DigestUtil
-
- digit16(int) - 类 中的静态方法com.dahuatech.icc.util.CharUtil
-
获取给定字符的16进制数值
- digitToChinese(Number) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
金额转为中文形式
- dimension - 类 中的静态变量com.dahuatech.hutool.core.swing.ScreenUtil
-
- disableBouncyCastle() - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
强制关闭Bouncy Castle库的使用,全局有效
- disableCache() - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
关闭缓存
- disableCache() - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
禁用缓存
- disableCookie() - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
禁用默认Cookie行为,此方法调用后会将Cookie置为空。
- disableDefaultDocumentBuilderFactory() - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
禁用默认的DocumentBuilderFactory,禁用后如果有第三方的实现(如oracle的xdb包中的xmlparse),将会自动加载实现。
- disableLock() - 类 中的方法com.dahuatech.hutool.core.lang.Range
-
禁用锁,调用此方法后不在 使用锁保护
- disconnect() - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
断开连接
- disconnectQuietly() - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
静默断开连接。
- disjunction(Collection<T>, Collection<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
两个集合的差集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留两个集合中此元素个数差的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[c],此结果中只保留了一个
任意一个集合为空,返回另一个集合
两个集合无交集则返回两个集合的组合
- distinct(Collection<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
去重集合
- distinct(T[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
- div(float, float) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
- div(float, double) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
- div(double, float) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
- div(double, double) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
- div(Double, Double) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
- div(Number, Number) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
- div(String, String) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
- div(float, float, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
- div(float, double, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
- div(double, float, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
- div(double, double, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
- div(Double, Double, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
- div(Number, Number, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
- div(String, String, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
- div(float, float, int, RoundingMode) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- div(float, double, int, RoundingMode) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- div(double, float, int, RoundingMode) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- div(double, double, int, RoundingMode) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- div(Double, Double, int, RoundingMode) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- div(Number, Number, int, RoundingMode) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- div(String, String, int, RoundingMode) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- div(BigDecimal, BigDecimal, int, RoundingMode) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- divisor(int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
最大公约数
- djbHash(String) - 类 中的静态方法com.dahuatech.hutool.core.util.HashUtil
-
DJB算法
- DOT - 类 中的静态变量com.dahuatech.hutool.core.util.CharUtil
-
- DOT - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- DOT - 类 中的静态变量com.dahuatech.icc.util.CharUtil
-
字符常量:点 '.'
- DOUBLE_DOT - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- DOUBLE_QUOTES - 类 中的静态变量com.dahuatech.hutool.core.util.CharUtil
-
- DOUBLE_QUOTES - 类 中的静态变量com.dahuatech.icc.util.CharUtil
-
字符常量:双引号 '"'
- doubleValue() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableByte
-
- doubleValue() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableDouble
-
- doubleValue() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableFloat
-
- doubleValue() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableInt
-
- doubleValue() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableLong
-
- doubleValue() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableShort
-
- download(String, OutputStream, boolean) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
下载远程文件
- download(String, OutputStream, boolean, StreamProgress) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
下载远程文件
- downloadFile(String, String) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
下载远程文件
- downloadFile(String, File) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
下载远程文件
- downloadFile(String, File, int) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
下载远程文件
- downloadFile(String, File, StreamProgress) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
下载远程文件
- downloadFile(String, File, int, StreamProgress) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
下载远程文件
- downloadString(String, String) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
下载远程文本
- downloadString(String, Charset) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
下载远程文本
- downloadString(String, Charset, StreamProgress) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
下载远程文本
- drawString(Graphics, String, Font, Color, int, int) - 类 中的静态方法com.dahuatech.hutool.core.img.GraphicsUtil
-
绘制字符串,默认抗锯齿
- drawStringColourful(Graphics, String, Font, int, int) - 类 中的静态方法com.dahuatech.hutool.core.img.GraphicsUtil
-
绘制字符串,使用随机颜色,默认抗锯齿
- DynaBean - com.dahuatech.hutool.core.bean中的类
-
动态Bean,通过反射对Bean的相关方法做操作
支持Map和普通Bean
- DynaBean(Class<?>, Object...) - 类 的构造器com.dahuatech.hutool.core.bean.DynaBean
-
构造
- DynaBean(Object) - 类 的构造器com.dahuatech.hutool.core.bean.DynaBean
-
构造
- edit(T) - 接口 中的方法com.dahuatech.hutool.core.lang.Editor
-
修改过滤后的结果
- edit(File) - 类 中的静态方法com.dahuatech.hutool.core.swing.DesktopUtil
-
启动关联编辑器应用程序并打开用于编辑的文件
- editable - 类 中的变量com.dahuatech.hutool.core.bean.copier.CopyOptions
-
限制的类或接口,必须为目标对象的实现接口或父类,用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
- Editor<T> - com.dahuatech.hutool.core.lang中的接口
-
编辑器接口,常用于对于集合中的元素做统一编辑
此编辑器两个作用:
1、如果返回值为null,表示此值被抛弃
2、对对象做修改
- elementText(Element, String) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
根据节点名获得第一个子节点
- elementText(Element, String, String) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
根据节点名获得第一个子节点
- elfHash(String) - 类 中的静态方法com.dahuatech.hutool.core.util.HashUtil
-
ELF算法
- EMAIL - 类 中的静态变量com.dahuatech.hutool.core.lang.PatternPool
-
邮件,符合RFC 5322规范,正则来自:http://emailregex.com/
- EMAIL - 类 中的静态变量com.dahuatech.hutool.core.lang.Validator
-
邮件
- EMPTY - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- EMPTY_JSON - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- emptyCount(Object...) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
- emptyCount(Object...) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
- emptyIfNull(Set<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
- emptyIfNull(List<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
- emptyIfNull(Map<K, V>) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
- emptyIfNull(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
当给定字符串为null时,转换为Empty
- emptyToDefault(CharSequence, String) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
如果字符串是null或者"",则返回指定默认字符串,否则返回字符串本身。
- emptyToNull(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
当给定字符串为空字符串时,转换为null
- enableDefaultCookie() - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
打开默认的Cookie行为(自动回填服务器传回的Cookie)
- encode(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base32
-
编码
- encode(String) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base32
-
base32编码
- encode(String, String) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base32
-
base32编码
- encode(String, Charset) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base32
-
base32编码
- encode(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base62
-
Base62编码
- encode(CharSequence, Charset) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base62
-
Base62编码
- encode(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base62
-
Base62编码
- encode(InputStream) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base62
-
Base62编码
- encode(File) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base62
-
Base62编码
- encode(byte[]) - 类 中的方法com.dahuatech.hutool.core.codec.Base62Codec
-
编码指定消息bytes为Base62格式的bytes
- encode(byte[], boolean) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
编码为Base64,非URL安全的
- encode(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
base64编码
- encode(CharSequence, String) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
base64编码
- encode(CharSequence, Charset) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
base64编码
- encode(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
base64编码
- encode(InputStream) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
base64编码
- encode(File) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
base64编码
- encode(byte[], String) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
- encode(byte[], Charset) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
- encode(byte[], boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
编码为Base64
如果isMultiLine为true,则每76个字符一个换行符,否则在一行显示
- encode(byte[], boolean) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64Encoder
-
编码为Base64,非URL安全的
- encode(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64Encoder
-
base64编码
- encode(CharSequence, Charset) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64Encoder
-
base64编码
- encode(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64Encoder
-
base64编码
- encode(byte[], boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64Encoder
-
编码为Base64
如果isMultiLine为true,则每76个字符一个换行符,否则在一行显示
- encode(String, int) - 类 中的静态方法com.dahuatech.hutool.core.codec.Caesar
-
传入明文,加密得到密文
- encode(String) - 类 中的方法com.dahuatech.hutool.core.codec.Morse
-
编码
- encode(String, int, boolean) - 类 中的静态方法com.dahuatech.hutool.core.codec.Rot
-
RotN编码
- encode(String, Charset) - 类 中的方法com.dahuatech.hutool.core.net.URLEncoder
-
将URL中的字符串编码为%形式
- encode(String) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
编码URL,默认使用UTF-8编码
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encode(String, Charset) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
编码字符为 application/x-www-form-urlencoded
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encode(String, String) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
编码URL字符为 application/x-www-form-urlencoded
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encode(byte[]) - 类 中的静态方法com.dahuatech.icc.util.Base64Util
-
Base64 encoding.
- encode13(String) - 类 中的静态方法com.dahuatech.hutool.core.codec.Rot
-
Rot-13编码,同时编码数字
- encode13(String, boolean) - 类 中的静态方法com.dahuatech.hutool.core.codec.Rot
-
Rot-13编码
- encodeAll(String) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
编码URL,默认使用UTF-8编码
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encodeAll(String, Charset) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
编码URL
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encodeBlank(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
单独编码URL中的空白符,空白符编码为%20
- encodeColor(Color) - 类 中的静态方法com.dahuatech.hutool.core.util.HexUtil
-
- encodeColor(Color, String) - 类 中的静态方法com.dahuatech.hutool.core.util.HexUtil
-
- encodeECPublicKey(PublicKey) - 类 中的静态方法com.dahuatech.hutool.crypto.BCUtil
-
编码压缩EC公钥(基于BouncyCastle)
见:https://www.cnblogs.com/xinzhao/p/8963724.html
- encodeECPublicKey(PublicKey) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
编码压缩EC公钥(基于BouncyCastle)
见:https://www.cnblogs.com/xinzhao/p/8963724.html
- encodeHex(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.util.HexUtil
-
将字节数组转换为十六进制字符数组
- encodeHex(String, Charset) - 类 中的静态方法com.dahuatech.hutool.core.util.HexUtil
-
将字节数组转换为十六进制字符数组
- encodeHex(byte[], boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.HexUtil
-
将字节数组转换为十六进制字符数组
- encodeHexStr(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.util.HexUtil
-
将字节数组转换为十六进制字符串
- encodeHexStr(String, Charset) - 类 中的静态方法com.dahuatech.hutool.core.util.HexUtil
-
将字节数组转换为十六进制字符串,结果为小写
- encodeHexStr(String) - 类 中的静态方法com.dahuatech.hutool.core.util.HexUtil
-
将字节数组转换为十六进制字符串,结果为小写,默认编码是UTF-8
- encodeHexStr(byte[], boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.HexUtil
-
将字节数组转换为十六进制字符串
- encodeParams(String, Charset) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
对URL参数做编码,只编码键和值
提供的值可以是url附带参数,但是不能只是url
注意,此方法只能标准化整个URL,并不适合于单独编码参数值
- encodeQuery(String) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
编码URL,默认使用UTF-8编码
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encodeQuery(String, Charset) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
编码字符为URL中查询语句
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encodeQuery(String, String) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
编码URL
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encodeUrlSafe(byte[], boolean) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
编码为Base64,URL安全的
- encodeUrlSafe(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
base64编码,URL安全
- encodeUrlSafe(CharSequence, String) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
base64编码,URL安全
- encodeUrlSafe(CharSequence, Charset) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
base64编码,URL安全的
- encodeUrlSafe(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
base64编码,URL安全的
- encodeUrlSafe(InputStream) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
base64编码,URL安全的
- encodeUrlSafe(File) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
base64编码,URL安全的
- encodeUrlSafe(byte[], String) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
- encodeUrlSafe(byte[], Charset) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64
-
- encodeUrlSafe(byte[], boolean) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64Encoder
-
编码为Base64,URL安全的
- encodeUrlSafe(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64Encoder
-
base64编码,URL安全
- encodeUrlSafe(CharSequence, Charset) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64Encoder
-
base64编码,URL安全的
- encodeUrlSafe(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.codec.Base64Encoder
-
base64编码,URL安全的
- encrypt(byte[], KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
加密
- encrypt(String, String, KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
加密
- encrypt(String, Charset, KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
加密
- encrypt(String, KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
加密,使用UTF-8编码
- encrypt(InputStream, KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
加密
- encrypt(byte[], KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AsymmetricCrypto
-
加密
- encrypt(byte[], KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.RSA
-
- encrypt(byte[], KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.SM2
-
加密,SM2非对称加密的结果由C1,C2,C3三部分组成,其中:
C1 生成随机数的计算出的椭圆曲线点
C2 密文数据
C3 SM3的摘要值
- encrypt(String, Charset) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.RC4
-
加密
- encrypt(String) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.RC4
-
加密,使用默认编码:UTF-8
- encrypt(byte[]) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encrypt(String, String) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encrypt(String, Charset) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encrypt(String) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
加密,使用UTF-8编码
- encrypt(InputStream) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encrypt(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.crypto.symmetric.Vigenere
-
加密
- encryptBase64(byte[], KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
编码为Base64字符串
- encryptBase64(String, KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
编码为Base64字符串,使用UTF-8编码
- encryptBase64(String, Charset, KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
编码为Base64字符串
- encryptBase64(InputStream, KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
编码为Base64字符串
- encryptBase64(byte[]) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.RC4
-
加密
- encryptBase64(String, Charset) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.RC4
-
加密
- encryptBase64(byte[]) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encryptBase64(String, String) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encryptBase64(String, Charset) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encryptBase64(String) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
加密,使用UTF-8编码
- encryptBase64(InputStream) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encryptBcd(String, KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
分组加密
- encryptBcd(String, KeyType, Charset) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
分组加密
- encryptBlockSize - 类 中的变量com.dahuatech.hutool.crypto.asymmetric.AsymmetricCrypto
-
加密的块大小
- encryptHex(byte[], KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
编码为Hex字符串
- encryptHex(String, KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
编码为Hex字符串
- encryptHex(String, Charset, KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
编码为Hex字符串
- encryptHex(InputStream, KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AbstractAsymmetricCrypto
-
编码为Hex字符串
- encryptHex(byte[]) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.RC4
-
加密
- encryptHex(String, Charset) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.RC4
-
加密
- encryptHex(byte[]) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encryptHex(String, String) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encryptHex(String, Charset) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encryptHex(String) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
加密,使用UTF-8编码
- encryptHex(InputStream) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
加密
- encryptRSA(String, String) - 类 中的静态方法com.dahuatech.icc.util.SignUtil
-
RSA公钥加密
- encryptRSANew(String, String) - 类 中的静态方法com.dahuatech.icc.util.SignUtil
-
- encryptStr(String, KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.RSA
-
- encryptStr(String, KeyType, Charset) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.RSA
-
- end() - 类 中的方法com.dahuatech.hutool.json.JSONTokener
-
- endOfDay(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
获取某天的结束时间
- endOfDay(Calendar) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
获取某天的结束时间
- endOfMonth(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
获取某月的结束时间
- endOfMonth(Calendar) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
获取某月的结束时间
- endOfQuarter(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
获取某季度的结束时间
- endOfQuarter(Calendar) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
获取某季度的结束时间
- endOfSecond(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
获取秒级别的结束时间,即毫秒设置为999
- endOfSecond(Calendar) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
获取秒级别的结束时间,即毫秒设置为999
- endOfWeek(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
获取某周的结束时间,周日定为一周的结束
- endOfWeek(Calendar) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
获取某周的结束时间,周日定为一周的结束
- endOfWeek(Calendar, boolean) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
获取某周的结束时间
- endOfYear(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
获取某年的结束时间
- endOfYear(Calendar) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
获取某年的结束时间
- endWith(CharSequence, char) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
字符串是否以给定字符结尾
- endWith(CharSequence, CharSequence, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
是否以指定字符串结尾
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
- endWith(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
是否以指定字符串结尾
- endWithAny(CharSequence, CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
给定字符串是否以任何一个字符串结尾
给定字符串和数组为空都返回false
- endWithIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
是否以指定字符串结尾,忽略大小写
- engine - 类 中的变量com.dahuatech.hutool.crypto.asymmetric.SM2
-
- Engine - com.dahuatech.hutool.http.useragent中的类
-
引擎对象
- Engine(String, String) - 类 的构造器com.dahuatech.hutool.http.useragent.Engine
-
构造
- engines - 类 中的静态变量com.dahuatech.hutool.http.useragent.Engine
-
支持的引擎类型
- entity - 类 中的静态变量com.dahuatech.hutool.json.XMLTokener
-
The table of entity values.
- ENTRY_CREATE - 类 中的静态变量com.dahuatech.hutool.core.io.watch.WatchMonitor
-
创建事件
- ENTRY_DELETE - 类 中的静态变量com.dahuatech.hutool.core.io.watch.WatchMonitor
-
删除事件
- ENTRY_MODIFY - 类 中的静态变量com.dahuatech.hutool.core.io.watch.WatchMonitor
-
修改事件
- entrySet() - 类 中的方法com.dahuatech.hutool.core.map.MapProxy
-
- entrySet() - 类 中的方法com.dahuatech.hutool.core.map.MapWrapper
-
- entrySet() - 类 中的方法com.dahuatech.hutool.core.map.TableMap
-
- entrySet() - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
- EnumConverter - com.dahuatech.hutool.core.convert.impl中的类
-
无泛型检查的枚举转换器
- EnumConverter(Class) - 类 的构造器com.dahuatech.hutool.core.convert.impl.EnumConverter
-
构造
- EnumerationIter<E> - com.dahuatech.hutool.core.collection中的类
-
- EnumerationIter(Enumeration<E>) - 类 的构造器com.dahuatech.hutool.core.collection.EnumerationIter
-
构造
- EnumUtil - com.dahuatech.hutool.core.util中的类
-
枚举工具类
- EnumUtil() - 类 的构造器com.dahuatech.hutool.core.util.EnumUtil
-
- EOF - 类 中的静态变量com.dahuatech.hutool.core.io.IoUtil
-
数据流末尾
- EQ - 类 中的静态变量com.dahuatech.hutool.json.XML
-
The Character '='.
- equal(Object, Object) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否相等
当两值都为null返回true
- equal(Object, Object) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
比较两个对象是否相等。
- equals(Object) - 类 中的方法com.dahuatech.hutool.core.bean.DynaBean
-
- equals(Object) - 类 中的方法com.dahuatech.hutool.core.comparator.ComparableComparator
-
- equals(Object) - 类 中的方法com.dahuatech.hutool.core.comparator.ComparatorChain
-
- equals(Object) - 类 中的方法com.dahuatech.hutool.core.comparator.ReverseComparator
-
- equals(Object) - 类 中的方法com.dahuatech.hutool.core.comparator.VersionComparator
-
- equals(Object) - 类 中的方法com.dahuatech.hutool.core.date.format.AbstractDateBasic
-
- equals(Object) - 类 中的方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- equals(File, File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
检查两个文件是否是同一个文件
所谓文件相同,是指File对象是否指向同一个文件或文件夹
- equals(Object) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableBool
-
- equals(Object) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableByte
-
- equals(Object) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableDouble
-
- equals(Object) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableFloat
-
- equals(Object) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableInt
-
- equals(Object) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableLong
-
- equals(Object) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableObj
-
- equals(Object) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableShort
-
- equals(Object) - 类 中的方法com.dahuatech.hutool.core.lang.Tuple
-
- equals(Object) - 类 中的方法com.dahuatech.hutool.core.lang.UUID
-
将此对象与指定对象比较。
- equals(Object) - 类 中的方法com.dahuatech.hutool.core.lang.WeightRandom.WeightObj
-
- equals(Collection<? extends CharSequence>) - 类 中的方法com.dahuatech.hutool.core.text.Simhash
-
判断文本是否与已存储的数据重复
- equals(char, char, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.CharUtil
-
比较两个字符是否相同
- equals(Class<?>, String, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
指定类是否与给定的类名相同
- equals(Enum<?>, String) - 类 中的静态方法com.dahuatech.hutool.core.util.EnumUtil
-
检查某个枚举值是否匹配指定值
- equals(BigDecimal, BigDecimal) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
- equals(char, char, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
比较两个字符是否相同
- equals(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
比较两个字符串(大小写敏感)。
- equals(CharSequence, CharSequence, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
比较两个字符串是否相等。
- equals(Object) - 类 中的方法com.dahuatech.hutool.http.useragent.UserAgentInfo
-
- equals(Object) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- equals(Object) - 类 中的方法com.dahuatech.hutool.json.JSONNull
-
A Null object is equal to the null value and to itself.
- equals(Object) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
- equals(char, char, boolean) - 类 中的静态方法com.dahuatech.icc.util.CharUtil
-
比较两个字符是否相同
- equalsAny(CharSequence, CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
给定字符串是否与提供的中任一字符串相同,相同则返回true,没有相同的返回false
如果参与比对的字符串列表为空,返回false
- equalsAny(CharSequence, boolean, CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
给定字符串是否与提供的中任一字符串相同,相同则返回true,没有相同的返回false
如果参与比对的字符串列表为空,返回false
- equalsAnyIgnoreCase(CharSequence, CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
给定字符串是否与提供的中任一字符串相同(忽略大小写),相同则返回true,没有相同的返回false
如果参与比对的字符串列表为空,返回false
- EqualsBuilder - com.dahuatech.hutool.core.builder中的类
-
Object.equals(Object) 方法的构建器
两个对象equals必须保证hashCode值相等,hashCode值相等不能保证一定equals
使用方法如下:
public boolean equals(Object obj) {
if (obj == null) { return false; }
if (obj == this) { return true; }
if (obj.getClass() !
- EqualsBuilder() - 类 的构造器com.dahuatech.hutool.core.builder.EqualsBuilder
-
构造,初始状态值为true
- equalsCharAt(CharSequence, int, char) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
字符串指定位置的字符是否与给定字符相同
如果字符串为null,返回false
如果给定的位置大于字符串长度,返回false
如果给定的位置小于0,返回false
- equalsIgnoreCase(Enum<?>, String) - 类 中的静态方法com.dahuatech.hutool.core.util.EnumUtil
-
忽略大小检查某个枚举值是否匹配指定值
- equalsIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
比较两个字符串(大小写不敏感)。
- error() - 类 中的静态方法com.dahuatech.hutool.core.lang.Console
-
同 System.err.println()方法,打印控制台日志
- error(Object) - 类 中的静态方法com.dahuatech.hutool.core.lang.Console
-
同 System.err.println()方法,打印控制台日志
- error(String, Object...) - 类 中的静态方法com.dahuatech.hutool.core.lang.Console
-
同 System.err.println()方法,打印控制台日志
- error(Throwable, String, Object...) - 类 中的静态方法com.dahuatech.hutool.core.lang.Console
-
同 System.err.println()方法,打印控制台日志
- error(Throwable) - 类 中的方法com.dahuatech.hutool.log.AbstractLog
-
- error(String, Object...) - 类 中的方法com.dahuatech.hutool.log.AbstractLog
-
- error(Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.AbstractLog
-
- error(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.commons.ApacheCommonsLog
-
- error(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.console.ConsoleLog
-
- error(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.jboss.JbossLog
-
- error(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.jdk.JdkLog
-
- error(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.log4j.Log4jLog
-
- error(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.log4j2.Log4j2Log
-
- error(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.slf4j.Slf4jLog
-
- error(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.tinylog.TinyLog
-
- error(Throwable) - 接口 中的方法com.dahuatech.hutool.log.level.ErrorLog
-
打印 ERROR 等级的日志
- error(String, Object...) - 接口 中的方法com.dahuatech.hutool.log.level.ErrorLog
-
打印 ERROR 等级的日志
- error(Throwable, String, Object...) - 接口 中的方法com.dahuatech.hutool.log.level.ErrorLog
-
打印 ERROR 等级的日志
- error(String, Throwable, String, Object...) - 接口 中的方法com.dahuatech.hutool.log.level.ErrorLog
-
打印 ERROR 等级的日志
- error(Throwable) - 类 中的静态方法com.dahuatech.hutool.log.StaticLog
-
Error等级日志
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
- error(String, Object...) - 类 中的静态方法com.dahuatech.hutool.log.StaticLog
-
Error等级日志
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
- error(Throwable, String, Object...) - 类 中的静态方法com.dahuatech.hutool.log.StaticLog
-
Error等级日志
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
- error(Log, Throwable) - 类 中的静态方法com.dahuatech.hutool.log.StaticLog
-
Error等级日志
- error(Log, String, Object...) - 类 中的静态方法com.dahuatech.hutool.log.StaticLog
-
Error等级日志
- error(Log, Throwable, String, Object...) - 类 中的静态方法com.dahuatech.hutool.log.StaticLog
-
Error等级日志
- ErrorConstants - com.dahuatech.icc.common中的接口
-
- ErrorLog - com.dahuatech.hutool.log.level中的接口
-
ERROR级别日志接口
- errorOnDifferentFieldCount - 类 中的变量com.dahuatech.hutool.core.text.csv.CsvReadConfig
-
每行字段个数不同时是否抛出异常,默认false
- ErrorType - com.dahuatech.icc.exception中的枚举
-
- escape(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.EscapeUtil
-
Escape编码(Unicode)(等同于JS的escape()方法)
该方法不会对 ASCII 字母和数字进行编码,也不会对下面这些 ASCII 标点符号进行编码: * @ - _ + . /
其他所有的字符都会被转义序列替换。
- escape(CharSequence, Filter<Character>) - 类 中的静态方法com.dahuatech.hutool.core.util.EscapeUtil
-
Escape编码(Unicode)
该方法不会对 ASCII 字母和数字进行编码。
- escape(char) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
转义字符,将正则的关键字转义
- escape(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
转义字符串,将正则的关键字转义
- escape(String) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
转义XML特殊字符:
& (ampersand) 替换为 &
< (小于) 替换为 <
> (大于) 替换为 >
" (双引号) 替换为 "
- escape(String) - 类 中的静态方法com.dahuatech.hutool.http.HtmlUtil
-
转义文本中的HTML字符为安全的字符,以下字符被转义:
' 替换为 ' (' doesn't work in HTML4)
" 替换为 "
& 替换为 &
< 替换为 <
> 替换为 >
- escape(String) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
转义显示不可见字符
- escapeAll(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.EscapeUtil
-
Escape编码(Unicode)
该方法不会对 ASCII 字母和数字进行编码。
- escapeHtml4(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.EscapeUtil
-
转义HTML4中的特殊字符
- EscapeUtil - com.dahuatech.hutool.core.util中的类
-
转义和反转义工具类Escape / Unescape
escape采用ISO Latin字符集对指定的字符串进行编码。
- EscapeUtil() - 类 的构造器com.dahuatech.hutool.core.util.EscapeUtil
-
- EVENTS_ALL - 类 中的静态变量com.dahuatech.hutool.core.io.watch.WatchMonitor
-
全部事件
- excAsync(Runnable, boolean) - 类 中的静态方法com.dahuatech.hutool.core.thread.ThreadUtil
-
执行异步方法
- ExceptionUtil - com.dahuatech.hutool.core.exceptions中的类
-
异常工具类
- ExceptionUtil() - 类 的构造器com.dahuatech.hutool.core.exceptions.ExceptionUtil
-
- exec(String...) - 类 中的静态方法com.dahuatech.hutool.core.util.RuntimeUtil
-
执行命令
命令带参数时参数可作为其中一个参数,也可以将命令和参数组合为一个字符串传入
- exec(String[], String...) - 类 中的静态方法com.dahuatech.hutool.core.util.RuntimeUtil
-
执行命令
命令带参数时参数可作为其中一个参数,也可以将命令和参数组合为一个字符串传入
- exec(String[], File, String...) - 类 中的静态方法com.dahuatech.hutool.core.util.RuntimeUtil
-
执行命令
命令带参数时参数可作为其中一个参数,也可以将命令和参数组合为一个字符串传入
- execAsync(Callable<T>) - 类 中的静态方法com.dahuatech.hutool.core.thread.ThreadUtil
-
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
- execAsync(Runnable) - 类 中的静态方法com.dahuatech.hutool.core.thread.ThreadUtil
-
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
- execForLines(String...) - 类 中的静态方法com.dahuatech.hutool.core.util.RuntimeUtil
-
执行系统命令,使用系统默认编码
- execForLines(Charset, String...) - 类 中的静态方法com.dahuatech.hutool.core.util.RuntimeUtil
-
执行系统命令,使用系统默认编码
- execForStr(String...) - 类 中的静态方法com.dahuatech.hutool.core.util.RuntimeUtil
-
执行系统命令,使用系统默认编码
- execForStr(Charset, String...) - 类 中的静态方法com.dahuatech.hutool.core.util.RuntimeUtil
-
执行系统命令,使用系统默认编码
- execute(Runnable) - 类 中的静态方法com.dahuatech.hutool.core.thread.GlobalThreadPool
-
直接在公共线程池中执行线程
- execute(Runnable) - 类 中的静态方法com.dahuatech.hutool.core.thread.ThreadUtil
-
直接在公共线程池中执行线程
- execute() - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
执行Reuqest请求
- execute(boolean) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
执行Reuqest请求
- executeAsync() - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
异步请求
异步请求后获取的
HttpResponse 为异步模式,执行完此方法后发送请求到服务器,但是并不立即读取响应内容。
- ExecutorBuilder - com.dahuatech.hutool.core.thread中的类
-
- ExecutorBuilder() - 类 的构造器com.dahuatech.hutool.core.thread.ExecutorBuilder
-
- exist(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
判断文件是否存在,如果path为null,则返回false
- exist(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
判断文件是否存在,如果file为null,则返回false
- exist(String, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
是否存在匹配文件
- existCustomTimeout - 类 中的变量com.dahuatech.hutool.cache.impl.AbstractCache
-
每个对象是否有单独的失效时长,用于决定清理过期对象是否有必要。
- extName(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获取文件扩展名,扩展名不带“.”
- extName(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得文件的扩展名,扩展名不带“.”
- extract(Iterable<?>, Editor<Object>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
通过Editor抽取集合元素中的某些值返回为新列表
例如提供的是一个Bean列表,通过Editor接口实现获取某个字段值,返回这个字段值组成的新列表
- extract(Iterable<?>, Editor<Object>, boolean) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
通过Editor抽取集合元素中的某些值返回为新列表
例如提供的是一个Bean列表,通过Editor接口实现获取某个字段值,返回这个字段值组成的新列表
- extractMulti(Pattern, CharSequence, String) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
从content中匹配出多个值并根据template生成新的字符串
例如:
content 2013年5月 pattern (.*?)
- extractMulti(String, CharSequence, String) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
从content中匹配出多个值并根据template生成新的字符串
匹配结束后会删除匹配内容之前的内容(包括匹配内容)
例如:
content 2013年5月 pattern (.*?)
- extractMultiAndDelPre(Pattern, Holder<CharSequence>, String) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
从content中匹配出多个值并根据template生成新的字符串
匹配结束后会删除匹配内容之前的内容(包括匹配内容)
例如:
content 2013年5月 pattern (.*?)
- extractMultiAndDelPre(String, Holder<CharSequence>, String) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
从content中匹配出多个值并根据template生成新的字符串
例如:
content 2013年5月 pattern (.*?)
- factorial(long, long) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
计算阶乘
n!
- factorial(long) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
计算阶乘
n!
- FastByteArrayOutputStream - com.dahuatech.hutool.core.io中的类
-
- FastByteArrayOutputStream() - 类 的构造器com.dahuatech.hutool.core.io.FastByteArrayOutputStream
-
- FastByteArrayOutputStream(int) - 类 的构造器com.dahuatech.hutool.core.io.FastByteArrayOutputStream
-
构造
- FastByteBuffer - com.dahuatech.hutool.core.io中的类
-
代码移植自
blade
快速缓冲,将数据存放在缓冲集中,取代以往的单一数组
- FastByteBuffer() - 类 的构造器com.dahuatech.hutool.core.io.FastByteBuffer
-
- FastByteBuffer(int) - 类 的构造器com.dahuatech.hutool.core.io.FastByteBuffer
-
- FastDateFormat - com.dahuatech.hutool.core.date.format中的类
-
- FastDateFormat(String, TimeZone, Locale) - 类 的构造器com.dahuatech.hutool.core.date.format.FastDateFormat
-
构造
- FastDateFormat(String, TimeZone, Locale, Date) - 类 的构造器com.dahuatech.hutool.core.date.format.FastDateFormat
-
构造
- fastSimpleUUID() - 类 中的静态方法com.dahuatech.hutool.core.util.IdUtil
-
简化的UUID,去掉了横线,使用性能更好的ThreadLocalRandom生成UUID
- fastUUID() - 类 中的静态方法com.dahuatech.hutool.core.lang.UUID
-
获取类型 4(伪随机生成的)UUID 的静态工厂。
- fastUUID() - 类 中的静态方法com.dahuatech.hutool.core.util.IdUtil
-
获取随机UUID,使用性能更好的ThreadLocalRandom生成UUID
- FieldComparator<T> - com.dahuatech.hutool.core.comparator中的类
-
Bean字段排序器
参阅feilong-core中的PropertyComparator
- FieldComparator(Class<T>, String) - 类 的构造器com.dahuatech.hutool.core.comparator.FieldComparator
-
构造
- fieldMapping - 类 中的变量com.dahuatech.hutool.core.bean.copier.CopyOptions
-
拷贝属性的字段映射,用于不同的属性之前拷贝做对应表用
- fieldSeparator - 类 中的变量com.dahuatech.hutool.core.text.csv.CsvConfig
-
字段分隔符,默认逗号','
- fieldValueAsMap(Iterable<?>, String, String) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
两个字段值组成新的Map
- fieldValueAsMap(Iterator<?>, String, String) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
两个字段值组成新的Map
- fieldValueList(Iterable<V>, String) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
获取指定Bean列表中某个字段,生成新的列表
- fieldValueList(Iterator<V>, String) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
获取指定Bean列表中某个字段,生成新的列表
- fieldValueMap(Iterable<V>, String) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
字段值与列表值对应的Map,常用于元素对象中有唯一ID时需要按照这个ID查找对象的情况
例如:车牌号 =》车
- fieldValueMap(Iterator<V>, String) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
字段值与列表值对应的Map,常用于元素对象中有唯一ID时需要按照这个ID查找对象的情况
例如:车牌号 =》车
- FIFOCache<K,V> - com.dahuatech.hutool.cache.impl中的类
-
FIFO(first in first out) 先进先出缓存.
- FIFOCache(int) - 类 的构造器com.dahuatech.hutool.cache.impl.FIFOCache
-
构造,默认对象不过期
- FIFOCache(int, long) - 类 的构造器com.dahuatech.hutool.cache.impl.FIFOCache
-
构造
- file - 类 中的变量com.dahuatech.hutool.core.io.file.FileWrapper
-
- file(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
创建File对象,自动识别相对或绝对路径,相对路径将自动从ClassPath下寻找
- file(String, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
创建File对象
此方法会检查slip漏洞,漏洞说明见http://blog.nsfocus.net/zip-slip-2/
- file(File, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
创建File对象
此方法会检查slip漏洞,漏洞说明见http://blog.nsfocus.net/zip-slip-2/
- file(File, String...) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
通过多层目录参数创建文件
此方法会检查slip漏洞,漏洞说明见http://blog.nsfocus.net/zip-slip-2/
- file(String...) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
通过多层目录创建文件
元素名(多层目录名)
- file(URI) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
创建File对象
- file(URL) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
创建File对象
- FILE_URL_PREFIX - 类 中的静态变量com.dahuatech.hutool.core.util.URLUtil
-
URL 前缀表示文件: "file:"
- FileAppender - com.dahuatech.hutool.core.io.file中的类
-
文件追加器
持有一个文件,在内存中积累一定量的数据后统一追加到文件
此类只有在写入文件时打开文件,并在写入结束后关闭之。
- FileAppender(File, int, boolean) - 类 的构造器com.dahuatech.hutool.core.io.file.FileAppender
-
构造
- FileAppender(File, Charset, int, boolean) - 类 的构造器com.dahuatech.hutool.core.io.file.FileAppender
-
构造
- FileCopier - com.dahuatech.hutool.core.io.file中的类
-
文件拷贝器
支持以下几种情况:
1、文件复制到文件
2、文件复制到目录
3、目录复制到目录
4、目录下的文件和目录复制到另一个目录
- FileCopier(File, File) - 类 的构造器com.dahuatech.hutool.core.io.file.FileCopier
-
构造
- fileForm() - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
获取文件表单数据
- FileMode - com.dahuatech.hutool.core.io.file中的枚举
-
文件读写模式,常用于RandomAccessFile
- FileReader - com.dahuatech.hutool.core.io.file中的类
-
文件读取器
- FileReader(File, Charset) - 类 的构造器com.dahuatech.hutool.core.io.file.FileReader
-
构造
- FileReader(File, String) - 类 的构造器com.dahuatech.hutool.core.io.file.FileReader
-
构造
- FileReader(String, Charset) - 类 的构造器com.dahuatech.hutool.core.io.file.FileReader
-
构造
- FileReader(String, String) - 类 的构造器com.dahuatech.hutool.core.io.file.FileReader
-
构造
- FileReader(File) - 类 的构造器com.dahuatech.hutool.core.io.file.FileReader
-
- FileReader(String) - 类 的构造器com.dahuatech.hutool.core.io.file.FileReader
-
- FileReader.ReaderHandler<T> - com.dahuatech.hutool.core.io.file中的接口
-
Reader处理接口
- FileResource - com.dahuatech.hutool.core.io.resource中的类
-
文件资源访问对象
- FileResource(Path) - 类 的构造器com.dahuatech.hutool.core.io.resource.FileResource
-
构造
- FileResource(File) - 类 的构造器com.dahuatech.hutool.core.io.resource.FileResource
-
构造
- FileResource(File, String) - 类 的构造器com.dahuatech.hutool.core.io.resource.FileResource
-
构造
- FileResource(String) - 类 的构造器com.dahuatech.hutool.core.io.resource.FileResource
-
构造
- FileTypeUtil - com.dahuatech.hutool.core.io中的类
-
文件类型判断工具类
此工具根据文件的前几位bytes猜测文件类型,对于文本、zip判断不准确,对于视频、图片类型判断准确
需要注意的是,xlsx、docx等Office2007格式,全部识别为zip,因为新版采用了OpenXML格式,这些格式本质上是XML文件打包为zip
- FileTypeUtil() - 类 的构造器com.dahuatech.hutool.core.io.FileTypeUtil
-
- FileUtil - com.dahuatech.hutool.core.io中的类
-
文件工具类
- FileUtil() - 类 的构造器com.dahuatech.hutool.core.io.FileUtil
-
- FileWrapper - com.dahuatech.hutool.core.io.file中的类
-
文件包装器,扩展文件对象
- FileWrapper(File, Charset) - 类 的构造器com.dahuatech.hutool.core.io.file.FileWrapper
-
构造
- FileWriter - com.dahuatech.hutool.core.io.file中的类
-
文件写入器
- FileWriter(File, Charset) - 类 的构造器com.dahuatech.hutool.core.io.file.FileWriter
-
构造
- FileWriter(File, String) - 类 的构造器com.dahuatech.hutool.core.io.file.FileWriter
-
构造
- FileWriter(String, Charset) - 类 的构造器com.dahuatech.hutool.core.io.file.FileWriter
-
构造
- FileWriter(String, String) - 类 的构造器com.dahuatech.hutool.core.io.file.FileWriter
-
构造
- FileWriter(File) - 类 的构造器com.dahuatech.hutool.core.io.file.FileWriter
-
- FileWriter(String) - 类 的构造器com.dahuatech.hutool.core.io.file.FileWriter
-
- fill(String, char, int, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
- fillAfter(String, char, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
字符填充于字符串后
- fillBean(T, ValueProvider<String>, CopyOptions) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
填充Bean的核心方法
- fillBeanWithMap(Map<?, ?>, T, boolean) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
使用Map填充Bean对象
- fillBeanWithMap(Map<?, ?>, T, boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
使用Map填充Bean对象,可配置将下划线转换为驼峰
- fillBeanWithMap(Map<?, ?>, T, CopyOptions) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
使用Map填充Bean对象
- fillBeanWithMap(Map<?, ?>, T, boolean, CopyOptions) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
使用Map填充Bean对象
- fillBeanWithMapIgnoreCase(Map<?, ?>, T, boolean) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
使用Map填充Bean对象,忽略大小写
- fillBefore(String, char, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
字符填充于字符串前
- filter(Collection<T>, Editor<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
过滤,此方法产生一个新集合
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
1、过滤出需要的对象,如果返回null表示这个元素对象抛弃
2、修改元素对象,返回集合中为修改后的对象
- filter(List<T>, Editor<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
1、过滤出需要的对象,如果返回null表示这个元素对象抛弃
2、修改元素对象,返回集合中为修改后的对象
- filter(T, Filter<E>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
去除指定元素,此方法直接修改原集合
- filter(Map<K, V>, Editor<Map.Entry<K, V>>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
1、过滤出需要的对象,如果返回null表示这个元素对象抛弃
2、修改元素对象,返回集合中为修改后的对象
- filter(Map<K, V>, Filter<Map.Entry<K, V>>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
1、过滤出需要的对象,如果返回null表示这个元素对象抛弃
2、修改元素对象,返回集合中为修改后的对象
- filter(T, Filter<E>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
- filter(Iterator<E>, Filter<E>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
- filter(String...) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
过滤Map保留指定键值对,如果键不存在跳过
- Filter<T> - com.dahuatech.hutool.core.lang中的接口
-
过滤器接口
- filter(Map<K, V>, Editor<Map.Entry<K, V>>) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
1、过滤出需要的对象,如果返回null表示这个元素对象抛弃
2、修改元素对象,返回集合中为修改后的对象
- filter(Map<K, V>, Filter<Map.Entry<K, V>>) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Filter实现可以实现以下功能:
1、过滤出需要的对象,如果返回null表示这个元素对象抛弃
- filter(Map<K, V>, K...) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
过滤Map保留指定键值对,如果键不存在跳过
- filter(T[], Editor<T>) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
1、过滤出需要的对象,如果返回null表示这个元素对象抛弃
2、修改元素对象,返回集合中为修改后的对象
- filter(T[], Filter<T>) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
过滤
过滤过程通过传入的Filter实现来过滤返回需要的元素内容,这个Filter实现可以实现以下功能:
1、过滤出需要的对象,
Filter.accept(Object)方法返回true的对象将被加入结果集合中
- filter(String) - 类 中的方法com.dahuatech.hutool.http.HTMLFilter
-
given a user submitted input String, filter out any invalid or restricted html.
- filter(String) - 类 中的静态方法com.dahuatech.hutool.http.HtmlUtil
-
过滤HTML文本,防止XSS攻击
- filterNew(Collection<T>, Filter<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
过滤
过滤过程通过传入的Filter实现来过滤返回需要的元素内容,这个Filter实现可以实现以下功能:
1、过滤出需要的对象,
Filter.accept(Object)方法返回true的对象将被加入结果集合中
- filterNew(List<T>, Filter<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
过滤
过滤过程通过传入的Filter实现来过滤返回需要的元素内容,这个Filter实现可以实现以下功能:
1、过滤出需要的对象,
Filter.accept(Object)方法返回true的对象将被加入结果集合中
- findAll(String, CharSequence, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
取得内容中匹配的所有结果
- findAll(String, CharSequence, int, T) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
取得内容中匹配的所有结果
- findAll(Pattern, CharSequence, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
取得内容中匹配的所有结果
- findAll(Pattern, CharSequence, int, T) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
取得内容中匹配的所有结果
- findAllGroup0(String, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组0的内容
- findAllGroup0(Pattern, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组0的内容
- findAllGroup1(String, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组1的内容
- findAllGroup1(Pattern, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组1的内容
- findEditor(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
- findOne(Iterable<T>, Filter<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
查找第一个匹配元素对象
- findOneByField(Iterable<T>, String, Object) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
查找第一个匹配元素对象
如果集合元素是Map,则比对键和值是否相同,相同则返回
如果为普通Bean,则通过反射比对元素字段名对应的字段值是否相同,相同则返回
如果给定字段值参数是null 且元素对象中的字段值也为null则认为相同
- finish() - 接口 中的方法com.dahuatech.hutool.core.io.StreamProgress
-
结束
- firstNonNull(T...) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
返回数组中第一个非空元素
- FixedLinkedHashMap<K,V> - com.dahuatech.hutool.core.map中的类
-
- FixedLinkedHashMap(int) - 类 的构造器com.dahuatech.hutool.core.map.FixedLinkedHashMap
-
构造
- flip() - 类 中的方法com.dahuatech.hutool.core.img.Img
-
水平翻转图像
- flip(File, File) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
水平翻转图像
- flip(Image, File) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
水平翻转图像
- flip(Image, OutputStream) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
水平翻转图像
- flip(Image, ImageOutputStream) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
水平翻转图像,写出格式为JPG
- flip(Image) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
水平翻转图像
- floatValue() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableByte
-
- floatValue() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableDouble
-
- floatValue() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableFloat
-
- floatValue() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableInt
-
- floatValue() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableLong
-
- floatValue() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableShort
-
- flush() - 类 中的方法com.dahuatech.hutool.core.io.file.FileAppender
-
刷入到文件
- flush(Flushable) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
从缓存中刷出数据
- flush() - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvWriter
-
- fnvHash(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.util.HashUtil
-
改进的32位FNV算法1
- fnvHash(String) - 类 中的静态方法com.dahuatech.hutool.core.util.HashUtil
-
改进的32位FNV算法1
- forEach(Iterator<T>, CollUtil.Consumer<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
- forEach(Enumeration<T>, CollUtil.Consumer<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
- forEach(Map<K, V>, CollUtil.KVConsumer<K, V>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
- form(String, Object) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
设置表单数据
- form(String, Object, Object...) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
设置表单数据
- form(Map<String, Object>) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
设置map类型表单数据
- form(String, File...) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
文件表单项
一旦有文件加入,表单变为multipart/form-data
- form(String, File) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
文件表单项
一旦有文件加入,表单变为multipart/form-data
- form(String, File, String) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
文件表单项
一旦有文件加入,表单变为multipart/form-data
- form(String, byte[], String) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
文件byte[]表单项
一旦有文件加入,表单变为multipart/form-data
- form(String, Resource) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
文件表单项
一旦有文件加入,表单变为multipart/form-data
- form() - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
获取表单数据
- format(double, boolean) - 类 中的静态方法com.dahuatech.hutool.core.convert.NumberChineseFormater
-
阿拉伯数字转换成中文,小数点后四舍五入保留两位.
- format(double, boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.convert.NumberChineseFormater
-
阿拉伯数字转换成中文,小数点后四舍五入保留两位.
- format(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.NumberWordFormater
-
将阿拉伯数字转为英文表达式
- format() - 类 中的方法com.dahuatech.hutool.core.date.BetweenFormater
-
格式化日期间隔输出
- format(Date, String) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
根据特定格式格式化日期
- format(Date, DatePrinter) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
根据特定格式格式化日期
- format(Date, DateFormat) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
根据特定格式格式化日期
- format(long) - 接口 中的方法com.dahuatech.hutool.core.date.format.DatePrinter
-
格式化日期表示的毫秒数
- format(Date) - 接口 中的方法com.dahuatech.hutool.core.date.format.DatePrinter
-
使用 GregorianCalendar 格式化 Date
- format(Calendar) - 接口 中的方法com.dahuatech.hutool.core.date.format.DatePrinter
-
Formats a Calendar object.
- format(long, B) - 接口 中的方法com.dahuatech.hutool.core.date.format.DatePrinter
-
Formats a millisecond long value into the supplied Appendable.
- format(Date, B) - 接口 中的方法com.dahuatech.hutool.core.date.format.DatePrinter
-
Formats a Date object into the supplied Appendable using a GregorianCalendar.
- format(Calendar, B) - 接口 中的方法com.dahuatech.hutool.core.date.format.DatePrinter
-
Formats a Calendar object into the supplied Appendable.
- format(Object, StringBuffer, FieldPosition) - 类 中的方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- format(long) - 类 中的方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- format(Date) - 类 中的方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- format(Calendar) - 类 中的方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- format(long, B) - 类 中的方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- format(Date, B) - 类 中的方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- format(Calendar, B) - 类 中的方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- format(String, Object...) - 类 中的静态方法com.dahuatech.hutool.core.text.StrFormatter
-
格式化字符串
此方法只是简单将占位符 {} 按照顺序替换为参数
如果想输出 {} 使用 \\转义 { 即可,如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可
例:
通常使用:format("this is {} for {}", "a", "b") =》 this is a for b
转义{}: format("this is \\{} for {}", "a", "b") =》 this is \{} for a
转义\: format("this is \\\\{} for {}", "a", "b") =》 this is \a for b
- format(CharSequence, Object...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
格式化文本, {} 表示占位符
此方法只是简单将占位符 {} 按照顺序替换为参数
如果想输出 {} 使用 \\转义 { 即可,如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可
例:
通常使用:format("this is {} for {}", "a", "b") =》 this is a for b
转义{}: format("this is \\{} for {}", "a", "b") =》 this is \{} for a
转义\: format("this is \\\\{} for {}", "a", "b") =》 this is \a for b
- format(CharSequence, Map<?, ?>) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
格式化文本,使用 {varName} 占位
map = {a: "aValue", b: "bValue"} format("{a} and {b}", map) ---=》 aValue and bValue
- format(Document) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
格式化XML输出
- format(String) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
格式化XML输出
- format(String) - 类 中的静态方法com.dahuatech.hutool.json.JSONStrFormater
-
返回格式化JSON字符串。
- formatBetween(Date, Date, BetweenFormater.Level) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
格式化日期间隔输出
- formatBetween(Date, Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
格式化日期间隔输出,精确到毫秒
- formatBetween(long, BetweenFormater.Level) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
格式化日期间隔输出
- formatBetween(long) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
格式化日期间隔输出,精确到毫秒
- formatChineseDate(Date, boolean) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
格式化为中文日期格式,如果isUppercase为false,则返回类似:2018年10月24日,否则返回二〇一八年十月二十四日
- formatDate(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
格式化日期部分(不包括时间)
格式 yyyy-MM-dd
- formatDateTime(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
格式化日期时间
格式 yyyy-MM-dd HH:mm:ss
- formatHttpDate(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
格式化为Http的标准日期格式
标准日期格式遵循RFC 1123规范,格式类似于:Fri, 31 Dec 1999 23:59:59 GMT
- formatJsonStr(String) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
格式化JSON字符串,此方法并不严格检查JSON的格式正确与否
- formatPercent(double, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
格式化百分比,小数采用四舍五入方式
- formatTime(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
格式化时间
格式 HH:mm:ss
- from(Path) - 类 中的静态方法com.dahuatech.hutool.core.img.Img
-
从Path读取图片并开始处理
- from(File) - 类 中的静态方法com.dahuatech.hutool.core.img.Img
-
从文件读取图片并开始处理
- from(Resource) - 类 中的静态方法com.dahuatech.hutool.core.img.Img
-
从资源对象中读取图片并开始处理
- from(InputStream) - 类 中的静态方法com.dahuatech.hutool.core.img.Img
-
从流读取图片并开始处理
- from(ImageInputStream) - 类 中的静态方法com.dahuatech.hutool.core.img.Img
-
从ImageInputStream取图片并开始处理
- from(URL) - 类 中的静态方法com.dahuatech.hutool.core.img.Img
-
从URL取图片并开始处理
- from(Image) - 类 中的静态方法com.dahuatech.hutool.core.img.Img
-
从Image取图片并开始处理
- fromString(String) - 类 中的静态方法com.dahuatech.hutool.core.lang.UUID
-
- fromString(Class<E>, String) - 类 中的静态方法com.dahuatech.hutool.core.util.EnumUtil
-
- fromString(Class<E>, String, E) - 类 中的静态方法com.dahuatech.hutool.core.util.EnumUtil
-
- fromStringQuietly(Class<E>, String) - 类 中的静态方法com.dahuatech.hutool.core.util.EnumUtil
-
- fromUnsignedByteArray(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
- fromUnsignedByteArray(byte[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
- FULL - 类 中的静态变量com.dahuatech.hutool.core.date.format.FastDateFormat
-
FULL locale dependent date or time style.
- Func<P,R> - com.dahuatech.hutool.core.lang.func中的接口
-
函数对象
接口灵感来自于
ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
- Func0<R> - com.dahuatech.hutool.core.lang.func中的接口
-
无参数的函数对象
接口灵感来自于
ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
- Func1<P,R> - com.dahuatech.hutool.core.lang.func中的接口
-
只有一个参数的函数对象
接口灵感来自于
ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
- GBK - 类 中的静态变量com.dahuatech.hutool.core.util.CharsetUtil
-
GBK
- GENERAL - 类 中的静态变量com.dahuatech.hutool.core.lang.PatternPool
-
英文字母 、数字和下划线
- GENERAL - 类 中的静态变量com.dahuatech.hutool.core.lang.Validator
-
英文字母 、数字和下划线
- GENERAL_WITH_CHINESE - 类 中的静态变量com.dahuatech.hutool.core.lang.PatternPool
-
中文字、英文字母、数字和下划线
- GENERAL_WITH_CHINESE - 类 中的静态变量com.dahuatech.hutool.core.lang.Validator
-
中文字、英文字母、数字和下划线
- generate() - 类 中的方法com.dahuatech.hutool.core.net.LocalPortGenerater
-
生成一个本地端口,用于远程端口映射
- generateAlgorithm(AsymmetricAlgorithm, DigestAlgorithm) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
生成算法,格式为XXXwithXXX
- generateBySet(int, int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
生成不重复随机数 根据给定的最小数字和最大数字,以及随机数的个数,产生指定的不重复的数组
- generateDESKey(String, byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
- generateDESKey(String, byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
- generateKey(String) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
- generateKey(String, int) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
- generateKey(String, byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
- generateKey(String, KeySpec) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
- generateKey(String) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
- generateKey(String, int) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
- generateKey(String, byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
- generateKey(String, KeySpec) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
- generateKeyPair(String) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
生成用于非对称加密的公钥和私钥,仅用于非对称加密
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generateKeyPair(String, int) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generateKeyPair(String, int, byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generateKeyPair(String, AlgorithmParameterSpec) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generateKeyPair(String, byte[], AlgorithmParameterSpec) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generateKeyPair(String, int, byte[], AlgorithmParameterSpec...) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
对于非对称加密算法,密钥长度有严格限制,具体如下:
RSA:
RS256、PS256:2048 bits
RS384、PS384:3072 bits
RS512、RS512:4096 bits
EC(Elliptic Curve):
EC256:256 bits
EC384:384 bits
EC512:512 bits
- generateKeyPair(String, int, SecureRandom, AlgorithmParameterSpec...) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
对于非对称加密算法,密钥长度有严格限制,具体如下:
RSA:
RS256、PS256:2048 bits
RS384、PS384:3072 bits
RS512、RS512:4096 bits
EC(Elliptic Curve):
EC256:256 bits
EC384:384 bits
EC512:512 bits
- generateKeyPair(String) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
生成用于非对称加密的公钥和私钥,仅用于非对称加密
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generateKeyPair(String, int) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generateKeyPair(String, int, byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generateKeyPair(String, AlgorithmParameterSpec) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generateKeyPair(String, byte[], AlgorithmParameterSpec) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
生成用于非对称加密的公钥和私钥
密钥对生成算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyPairGenerator
- generatePBEKey(String, char[]) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
- generatePBEKey(String, char[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
- generatePrivateKey(BigInteger, BigInteger) - 类 中的静态方法com.dahuatech.hutool.crypto.asymmetric.RSA
-
生成RSA私钥
- generatePrivateKey(String, byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
生成私钥,仅用于非对称加密
采用PKCS#8规范,此规范定义了私钥信息语法和加密私钥语法
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
- generatePrivateKey(String, KeySpec) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
生成私钥,仅用于非对称加密
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
- generatePrivateKey(KeyStore, String, char[]) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
生成私钥,仅用于非对称加密
- generatePrivateKey(String, byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
生成私钥,仅用于非对称加密
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
- generatePrivateKey(String, KeySpec) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
生成私钥,仅用于非对称加密
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
- generatePrivateKey(KeyStore, String, char[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
生成私钥,仅用于非对称加密
- generatePublicKey(BigInteger, BigInteger) - 类 中的静态方法com.dahuatech.hutool.crypto.asymmetric.RSA
-
生成RSA公钥
- generatePublicKey(String, byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
生成公钥,仅用于非对称加密
采用X509证书规范
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
- generatePublicKey(String, KeySpec) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
生成公钥,仅用于非对称加密
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
- generatePublicKey(String, byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
生成公钥,仅用于非对称加密
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
- generatePublicKey(String, KeySpec) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
生成公钥,仅用于非对称加密
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
- generateRandomNumber(int, int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
生成不重复随机数 根据给定的最小数字和最大数字,以及随机数的个数,产生指定的不重复的数组
- generateRSAPrivateKey(byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
生成RSA私钥,仅用于非对称加密
采用PKCS#8规范,此规范定义了私钥信息语法和加密私钥语法
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
- generateRSAPublicKey(byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
生成RSA公钥,仅用于非对称加密
采用X509证书规范
算法见:https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyFactory
- generateSignature(AsymmetricAlgorithm, DigestAlgorithm) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
生成签名对象,仅用于非对称加密
- GenericEnumConverter<E extends Enum<E>> - com.dahuatech.hutool.core.convert.impl中的类
-
泛型枚举转换器
- GenericEnumConverter(Class<E>) - 类 的构造器com.dahuatech.hutool.core.convert.impl.GenericEnumConverter
-
构造
- genGetter(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
生成get方法名
- gensalt(int, SecureRandom) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.BCrypt
-
生成盐
- gensalt(int) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.BCrypt
-
生成盐
- gensalt() - 类 中的静态方法com.dahuatech.hutool.crypto.digest.BCrypt
-
生成盐
- genSetter(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
生成set方法名
例如:name 返回 setName
- get(K) - 接口 中的方法com.dahuatech.hutool.cache.Cache
-
从缓存中获得对象,当对象不在缓存中或已经过期返回null
调用此方法时,会检查上次调用时间,如果与当前时间差值大于超时时间返回null,否则返回值。
- get(K, Func0<V>) - 接口 中的方法com.dahuatech.hutool.cache.Cache
-
从缓存中获得对象,当对象不在缓存中或已经过期返回Func0回调产生的对象
- get(K, boolean) - 接口 中的方法com.dahuatech.hutool.cache.Cache
-
从缓存中获得对象,当对象不在缓存中或已经过期返回null
调用此方法时,会检查上次调用时间,如果与当前时间差值大于超时时间返回null,否则返回值。
- get(K) - 类 中的方法com.dahuatech.hutool.cache.impl.AbstractCache
-
- get(K, Func0<V>) - 类 中的方法com.dahuatech.hutool.cache.impl.AbstractCache
-
- get(K, boolean) - 类 中的方法com.dahuatech.hutool.cache.impl.AbstractCache
-
- get(K) - 类 中的方法com.dahuatech.hutool.cache.impl.NoCache
-
- get(K, boolean) - 类 中的方法com.dahuatech.hutool.cache.impl.NoCache
-
- get(K, Func0<V>) - 类 中的方法com.dahuatech.hutool.cache.impl.NoCache
-
- get(Object) - 类 中的方法com.dahuatech.hutool.core.bean.BeanPath
-
获取Bean中对应表达式的值
- get(String) - 类 中的方法com.dahuatech.hutool.core.bean.DynaBean
-
获得字段对应值
- get(Collection<T>, int) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
获取集合中指定下标的元素值,下标可以为负数,例如-1表示最后一个元素
如果元素越界,返回null
- get(int) - 类 中的方法com.dahuatech.hutool.core.io.FastByteBuffer
-
根据索引位返回一个字节
- get(Object) - 类 中的方法com.dahuatech.hutool.core.lang.ConsistentHash
-
获得一个最近的顺时针节点
- get(String, T) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
获得特定类型值
- get() - 类 中的方法com.dahuatech.hutool.core.lang.loader.AtomicLoader
-
获取一个对象,第一次调用此方法时初始化对象然后返回,之后调用此方法直接返回原对象
- get() - 类 中的方法com.dahuatech.hutool.core.lang.loader.LazyLoader
-
获取一个对象,第一次调用此方法时初始化对象然后返回,之后调用此方法直接返回原对象
- get() - 接口 中的方法com.dahuatech.hutool.core.lang.loader.Loader
-
获取一个准备好的对象
通过准备逻辑准备好被加载的对象,然后返回。
- get() - 接口 中的方法com.dahuatech.hutool.core.lang.mutable.Mutable
-
获得原始值
- get() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableBool
-
- get() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableByte
-
- get() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableDouble
-
- get() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableFloat
-
- get() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableInt
-
- get() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableLong
-
- get() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableObj
-
- get() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableShort
-
- get(String) - 类 中的静态方法com.dahuatech.hutool.core.lang.PatternPool
-
先从Pattern池中查找正则对应的
Pattern,找不到则编译正则表达式并入池。
- get(String, int) - 类 中的静态方法com.dahuatech.hutool.core.lang.PatternPool
-
先从Pattern池中查找正则对应的
Pattern,找不到则编译正则表达式并入池。
- get(K) - 类 中的方法com.dahuatech.hutool.core.lang.SimpleCache
-
从缓存池中查找值
- get(K, Func0<V>) - 类 中的方法com.dahuatech.hutool.core.lang.SimpleCache
-
从缓存中获得对象,当对象不在缓存中或已经过期返回Func0回调产生的对象
- get(Class<T>, Object...) - 类 中的静态方法com.dahuatech.hutool.core.lang.Singleton
-
获得指定类的单例对象
对象存在于池中返回,否则创建,每次调用此方法获得的对象为同一个对象
注意:单例针对的是类和对象,因此get方法第一次调用时创建的对象始终唯一,也就是说就算参数变更,返回的依旧是第一次创建的对象
- get(String, Object...) - 类 中的静态方法com.dahuatech.hutool.core.lang.Singleton
-
获得指定类的单例对象
对象存在于池中返回,否则创建,每次调用此方法获得的对象为同一个对象
- get(int) - 类 中的方法com.dahuatech.hutool.core.lang.Tuple
-
获取指定位置元素
- get(Object) - 类 中的方法com.dahuatech.hutool.core.map.CustomKeyMap
-
- get(Object) - 类 中的方法com.dahuatech.hutool.core.map.MapProxy
-
- get(Map<?, ?>, Object, Class<T>) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为指定类型
- get(Map<?, ?>, Object, TypeReference<T>) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为指定类型
- get(Object) - 类 中的方法com.dahuatech.hutool.core.map.MapWrapper
-
- get(K, int) - 类 中的方法com.dahuatech.hutool.core.map.multi.CollectionValueMap
-
获取值
- get(Object) - 类 中的方法com.dahuatech.hutool.core.map.multi.ListValueMap
-
- get(Object) - 类 中的方法com.dahuatech.hutool.core.map.multi.SetValueMap
-
- get(Object) - 类 中的方法com.dahuatech.hutool.core.map.TableMap
-
- get(DataFlavor) - 类 中的静态方法com.dahuatech.hutool.core.swing.clipboard.ClipboardUtil
-
获取剪贴板内容
- get(Transferable, DataFlavor) - 类 中的静态方法com.dahuatech.hutool.core.swing.clipboard.ClipboardUtil
-
获取剪贴板内容
- get(int) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
- get(Object, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
获取数组对象中指定index的值,支持负数,例如-1表示倒数第一个值
如果数组下标越界,返回null
- get(String, CharSequence, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
获得匹配的字符串
- get(Pattern, CharSequence, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
获得匹配的字符串,对应分组0表示整个匹配内容,1表示第一个括号分组内容,依次类推
- get(String) - 枚举 中的静态方法com.dahuatech.hutool.http.ContentType
-
从请求参数的body中判断请求的Content-Type类型,支持的类型有:
1. application/json
1. application/xml
- get(URI) - 类 中的方法com.dahuatech.hutool.http.cookie.ThreadLocalCookieStore
-
- get(String) - 类 中的静态方法com.dahuatech.hutool.http.HttpRequest
-
GET请求
- get(String, Charset) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
发送get请求
- get(String) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
发送get请求
- get(String, int) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
发送get请求
- get(String, Map<String, Object>) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
发送get请求
- get(String, Map<String, Object>, int) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
发送get请求
- get(int) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- get(K, Class<T>) - 类 中的方法com.dahuatech.hutool.json.JSONGetter
-
获取指定类型的对象
转换失败或抛出异常
- get(K, Class<T>, boolean) - 类 中的方法com.dahuatech.hutool.json.JSONGetter
-
获取指定类型的对象
- get(Object) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
- get() - 类 中的静态方法com.dahuatech.hutool.log.GlobalLogFactory
-
获取单例日志工厂类,如果不存在创建之
- get(String) - 类 中的静态方法com.dahuatech.hutool.log.LogFactory
-
获得日志对象
- get(Class<?>) - 类 中的静态方法com.dahuatech.hutool.log.LogFactory
-
获得日志对象
- get() - 类 中的静态方法com.dahuatech.hutool.log.LogFactory
-
- get(Class<?>) - 类 中的静态方法com.dahuatech.hutool.log.StaticLog
-
获得Log
- get(String) - 类 中的静态方法com.dahuatech.hutool.log.StaticLog
-
获得Log
- get() - 类 中的静态方法com.dahuatech.hutool.log.StaticLog
-
- getAbsolutePath(String, Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获取绝对路径
此方法不会判定给定路径是否有效(文件或目录存在)
- getAbsolutePath(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获取绝对路径,相对于ClassPath的目录
如果给定就是绝对路径,则返回原路径,原路径把所有\替换为/
兼容Spring风格的路径表示,例如:classpath:config/example.setting也会被识别后转换
- getAbsolutePath(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获取标准的绝对路径
- getAbsolutePath() - 类 中的方法com.dahuatech.hutool.core.io.resource.ClassPathResource
-
获得绝对路径Path
对于不存在的资源,返回拼接后的绝对路径
- getAcceptedIssuers() - 类 中的方法com.dahuatech.hutool.http.ssl.DefaultTrustManager
-
- getActualType(Type, Class<?>, Type) - 类 中的静态方法com.dahuatech.hutool.core.util.TypeUtil
-
获取指定泛型变量对应的真实类型
由于子类中泛型参数实现和父类(接口)中泛型定义位置是一一对应的,因此可以通过对应关系找到泛型实现类型
使用此方法注意:
1. superClass必须是clazz的父类或者clazz实现的接口
2. typeVariable必须在superClass中声明
- getActualTypeArguments() - 类 中的方法com.dahuatech.hutool.core.lang.ParameterizedTypeImpl
-
- getActualTypes(Type, Class<?>, Type...) - 类 中的静态方法com.dahuatech.hutool.core.util.TypeUtil
-
获取指定泛型变量对应的真实类型
由于子类中泛型参数实现和父类(接口)中泛型定义位置是一一对应的,因此可以通过对应关系找到泛型实现类型
使用此方法注意:
1. superClass必须是clazz的父类或者clazz实现的接口
2. typeVariable必须在superClass中声明
- getAgeByIdCard(String) - 类 中的静态方法com.dahuatech.hutool.core.util.IdcardUtil
-
根据身份编号获取年龄,只支持15或18位身份证号码
- getAgeByIdCard(String, Date) - 类 中的静态方法com.dahuatech.hutool.core.util.IdcardUtil
-
根据身份编号获取指定日期当时的年龄年龄,只支持15或18位身份证号码
- getAlgorithmAfterWith(String) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
获取用于密钥生成的算法
获取XXXwithXXX算法的后半部分算法,如果为ECDSA或SM2,返回算法为EC
- getAlgorithmAfterWith(String) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
获取用于密钥生成的算法
获取XXXwithXXX算法的后半部分算法,如果为ECDSA或SM2,返回算法为EC
- getAllFirstLetter(String) - 类 中的静态方法com.dahuatech.hutool.core.util.PinyinUtil
-
已过时。
获取所给中文的每个汉字首字母组成首字母字符串
- getAllGroups(Pattern, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
获得匹配的字符串匹配到的所有分组
- getAllGroups(Pattern, CharSequence, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
获得匹配的字符串匹配到的所有分组
- getAnnotation(AnnotatedElement, Class<A>) - 类 中的静态方法com.dahuatech.hutool.core.annotation.AnnotationUtil
-
获取指定注解
- getAnnotation(Class<T>) - 类 中的方法com.dahuatech.hutool.core.annotation.CombinationAnnotationElement
-
- getAnnotations(AnnotatedElement, boolean) - 类 中的静态方法com.dahuatech.hutool.core.annotation.AnnotationUtil
-
获取指定注解
- getAnnotations() - 类 中的方法com.dahuatech.hutool.core.annotation.CombinationAnnotationElement
-
- getAnnotationValue(AnnotatedElement, Class<? extends Annotation>) - 类 中的静态方法com.dahuatech.hutool.core.annotation.AnnotationUtil
-
获取指定注解默认值
如果无指定的属性方法返回null
- getAnnotationValue(AnnotatedElement, Class<? extends Annotation>, String) - 类 中的静态方法com.dahuatech.hutool.core.annotation.AnnotationUtil
-
获取指定注解属性的值
如果无指定的属性方法返回null
- getAnnotationValueMap(AnnotatedElement, Class<? extends Annotation>) - 类 中的静态方法com.dahuatech.hutool.core.annotation.AnnotationUtil
-
获取指定注解中所有属性值
如果无指定的属性方法返回null
- getAny(Collection<T>, int...) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
获取集合中指定多个下标的元素值,下标可以为负数,例如-1表示最后一个元素
- getAny(Map<K, V>, K...) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
获取Map的部分key生成新的Map
- getAny(Object, int...) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
获取数组中指定多个下标元素值,组成新数组
- getArray() - 类 中的方法com.dahuatech.hutool.core.collection.ArrayIter
-
获得原始数组对象
- getArrayType(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
根据数组元素类型,获取数组的类型
方法是通过创建一个空数组从而获取其类型
- getAttributes(Path, boolean) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获取文件属性
- getBean() - 类 中的方法com.dahuatech.hutool.core.bean.DynaBean
-
获得原始Bean
- getBean(String) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
获得特定类型值
- getBean(K, Class<T>) - 类 中的方法com.dahuatech.hutool.json.JSONGetter
-
从JSON中直接获取Bean对象
先获取JSONObject对象,然后转为Bean对象
- getBeanClass() - 类 中的方法com.dahuatech.hutool.core.bean.DynaBean
-
获得Bean的类型
- getBeanDesc(Class<?>) - 枚举 中的方法com.dahuatech.hutool.core.bean.BeanDescCache
-
- getBeanDesc(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
- getBeginValue(Calendar, int) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
获取指定日期字段的最小值,例如分钟的最小值是0
- getBetweenMs() - 类 中的方法com.dahuatech.hutool.core.date.BetweenFormater
-
获得 时长毫秒数
- getBigDecimal(K) - 接口 中的方法com.dahuatech.hutool.core.getter.BasicTypeGetter
-
获取BigDecimal型属性值
- getBigDecimal(K, BigDecimal) - 接口 中的方法com.dahuatech.hutool.core.getter.OptBasicTypeGetter
-
获取BigDecimal型属性值
若获得的值为不可见字符,使用默认值
- getBigDecimal(K, BigDecimal) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getBigDecimal(K, BigDecimal) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getBigDecimal(K) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeGetter
-
获取BigDecimal型属性值
无值或获取错误返回null
- getBigDecimal(String) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
- getBigDecimalByGroup(String, String) - 接口 中的方法com.dahuatech.hutool.core.getter.GroupedTypeGetter
-
获取BigDecimal型属性值
- getBigDecimalList(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ListTypeGetter
-
获取BigDecimal型属性值列表
- getBigDecimals(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ArrayTypeGetter
-
获取BigDecimal型属性值数组
- getBigDecimals(String, BigDecimal[]) - 接口 中的方法com.dahuatech.hutool.core.getter.OptArrayTypeGetter
-
获取BigDecimal型属性值数组
- getBigInteger(K) - 接口 中的方法com.dahuatech.hutool.core.getter.BasicTypeGetter
-
获取BigInteger型属性值
- getBigInteger(K, BigInteger) - 接口 中的方法com.dahuatech.hutool.core.getter.OptBasicTypeGetter
-
获取BigInteger型属性值
若获得的值为不可见字符,使用默认值
- getBigInteger(K, BigInteger) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getBigInteger(K, BigInteger) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getBigInteger(K) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeGetter
-
获取BigInteger型属性值
无值或获取错误返回null
- getBigInteger(String) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
- getBigIntegerByGroup(String, String) - 接口 中的方法com.dahuatech.hutool.core.getter.GroupedTypeGetter
-
获取BigInteger型属性值
- getBigIntegerList(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ListTypeGetter
-
获取BigInteger型属性值列表
- getBigIntegers(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ArrayTypeGetter
-
获取BigInteger型属性值数组
- getBigIntegers(String, BigInteger[]) - 接口 中的方法com.dahuatech.hutool.core.getter.OptArrayTypeGetter
-
获取BigInteger型属性值数组
- getBinaryStr(Number) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
获得数字对应的二进制字符串
- getBirth(String) - 类 中的静态方法com.dahuatech.hutool.core.util.IdcardUtil
-
根据身份编号获取生日,只支持15或18位身份证号码
- getBirthByIdCard(String) - 类 中的静态方法com.dahuatech.hutool.core.util.IdcardUtil
-
根据身份编号获取生日,只支持15或18位身份证号码
- getBirthDate(String) - 类 中的静态方法com.dahuatech.hutool.core.util.IdcardUtil
-
从身份证号码中获取生日日期,只支持15或18位身份证号码
- getBOMInputStream(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得BOM输入流,用于处理带BOM头的文件
- getBool(K) - 接口 中的方法com.dahuatech.hutool.core.getter.BasicTypeGetter
-
获取boolean型属性值
- getBool(K, Boolean) - 接口 中的方法com.dahuatech.hutool.core.getter.OptBasicTypeGetter
-
获取boolean型属性值
若获得的值为不可见字符,使用默认值
- getBool(K, Boolean) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getBool(K, Boolean) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getBool(K) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeGetter
-
获取boolean型属性值
无值或获取错误返回null
- getBool(String) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
- getBool(Map<?, ?>, Object) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为Bool
- getBoolByGroup(String, String) - 接口 中的方法com.dahuatech.hutool.core.getter.GroupedTypeGetter
-
获取boolean型属性值
- getBoolList(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ListTypeGetter
-
获取Boolean型属性值列表
- getBools(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ArrayTypeGetter
-
获取Boolean型属性值数组
- getBools(String, Boolean[]) - 接口 中的方法com.dahuatech.hutool.core.getter.OptArrayTypeGetter
-
获取Boolean型属性值数组
- getBrowser() - 类 中的方法com.dahuatech.hutool.http.useragent.UserAgent
-
获取浏览器类型
- getByName(String) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
获取标题对应的字段内容
- getByPath(String) - 接口 中的方法com.dahuatech.hutool.json.JSON
-
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
表达式栗子:
persion
persion.name
persons[3]
person.friends[5].name
- getByPath(String, Class<T>) - 接口 中的方法com.dahuatech.hutool.json.JSON
-
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
表达式栗子:
persion
persion.name
persons[3]
person.friends[5].name
获取表达式对应值后转换为对应类型的值
- getByPath(String) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- getByPath(String, Class<T>) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- getByPath(String) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
- getByPath(String, Class<T>) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
- getByPath(JSON, String) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
表达式栗子:
persion
persion.name
persons[3]
person.friends[5].name
- getByte(K) - 接口 中的方法com.dahuatech.hutool.core.getter.BasicTypeGetter
-
获取byte型属性值
- getByte(K, Byte) - 接口 中的方法com.dahuatech.hutool.core.getter.OptBasicTypeGetter
-
获取byte型属性值
若获得的值为不可见字符,使用默认值
- getByte(K, Byte) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getByte(K, Byte) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getByte(K) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeGetter
-
获取byte型属性值
无值或获取错误返回null
- getByte(String) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
- getByteByGroup(String, String) - 接口 中的方法com.dahuatech.hutool.core.getter.GroupedTypeGetter
-
获取byte型属性值
- getByteList(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ListTypeGetter
-
获取Byte型属性值列表
- getBytes(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ArrayTypeGetter
-
获取Byte型属性值数组
- getBytes(String, Byte[]) - 接口 中的方法com.dahuatech.hutool.core.getter.OptArrayTypeGetter
-
获取Byte型属性值数组
- getBytes(String) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
- getByXPath(String, Object, QName) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
通过XPath方式读取XML节点等信息
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
- getCachedFilesCount() - 类 中的方法com.dahuatech.hutool.cache.file.AbstractFileCache
-
- getCaller() - 接口 中的方法com.dahuatech.hutool.core.lang.caller.Caller
-
获得调用者
- getCaller(int) - 接口 中的方法com.dahuatech.hutool.core.lang.caller.Caller
-
- getCaller() - 类 中的静态方法com.dahuatech.hutool.core.lang.caller.CallerUtil
-
获得调用者
- getCaller(int) - 类 中的静态方法com.dahuatech.hutool.core.lang.caller.CallerUtil
-
- getCaller() - 类 中的方法com.dahuatech.hutool.core.lang.caller.SecurityManagerCaller
-
- getCaller(int) - 类 中的方法com.dahuatech.hutool.core.lang.caller.SecurityManagerCaller
-
- getCaller() - 类 中的方法com.dahuatech.hutool.core.lang.caller.StackTraceCaller
-
- getCaller(int) - 类 中的方法com.dahuatech.hutool.core.lang.caller.StackTraceCaller
-
- getCallerCaller() - 接口 中的方法com.dahuatech.hutool.core.lang.caller.Caller
-
获得调用者的调用者
- getCallerCaller() - 类 中的静态方法com.dahuatech.hutool.core.lang.caller.CallerUtil
-
获得调用者的调用者
- getCallerCaller() - 类 中的方法com.dahuatech.hutool.core.lang.caller.SecurityManagerCaller
-
- getCallerCaller() - 类 中的方法com.dahuatech.hutool.core.lang.caller.StackTraceCaller
-
- getCanonicalPath(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获取规范的绝对路径
- getCapacity() - 类 中的方法com.dahuatech.hutool.core.map.FixedLinkedHashMap
-
获取容量
- getCausedBy(Throwable, Class<? extends Exception>...) - 类 中的静态方法com.dahuatech.hutool.core.exceptions.ExceptionUtil
-
获取由指定异常类引起的异常
- getCenterY(Graphics, int) - 类 中的静态方法com.dahuatech.hutool.core.img.GraphicsUtil
-
获取文字居中高度的Y坐标(距离上边距距离)
此方法依赖FontMetrics,如果获取失败,默认为背景高度的1/3
- getCertificate(KeyStore, String) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
获得 Certification
- getCertificate(KeyStore, String) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
获得 Certification
- getCertificateFactory(String) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
- getChar(K) - 接口 中的方法com.dahuatech.hutool.core.getter.BasicTypeGetter
-
获取char型属性值
- getChar(K, Character) - 接口 中的方法com.dahuatech.hutool.core.getter.OptBasicTypeGetter
-
获取char型属性值
若获得的值为不可见字符,使用默认值
- getChar(K, Character) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getChar(K, Character) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getChar(K) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeGetter
-
获取char型属性值
无值或获取错误返回null
- getChar(String) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
- getChar(Map<?, ?>, Object) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为Character
- getCharByGroup(String, String) - 接口 中的方法com.dahuatech.hutool.core.getter.GroupedTypeGetter
-
获取char型属性值
- getCharList(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ListTypeGetter
-
获取Character型属性值列表
- getChars(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ArrayTypeGetter
-
获取Character型属性值数组
- getChars(String, Character[]) - 接口 中的方法com.dahuatech.hutool.core.getter.OptArrayTypeGetter
-
获取Character型属性值数组
- getChars(int, int, char[], int) - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
将指定段的字符列表写出到目标字符数组中
- getCharset() - 类 中的方法com.dahuatech.hutool.core.io.BOMInputStream
-
- getCharset() - 类 中的方法com.dahuatech.hutool.core.io.file.FileWrapper
-
获得字符集编码
- getCharset() - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
获取字符集编码
从Http连接的头信息中获得字符集
从ContentType中获取
- getCharset(HttpURLConnection) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
从Http连接的头信息中获得字符集
从ContentType中获取
- getCharsetName() - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
获得字符集编码
从Http连接的头信息中获得字符集
从ContentType中获取
- getChineseZodiac(int) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
计算生肖,只计算1900年后出生的人
- getChineseZodiac(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.Zodiac
-
通过生日计算生肖,只计算1900年后出生的人
- getChineseZodiac(Calendar) - 类 中的静态方法com.dahuatech.hutool.core.date.Zodiac
-
通过生日计算生肖,只计算1900年后出生的人
- getChineseZodiac(int) - 类 中的静态方法com.dahuatech.hutool.core.date.Zodiac
-
计算生肖,只计算1900年后出生的人
- getCipher() - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
获得加密或解密器
- getClass(T) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
null安全的获取对象类型
- getClass(Type) - 类 中的静态方法com.dahuatech.hutool.core.util.TypeUtil
-
获得Type对应的原始类
- getClass(Field) - 类 中的静态方法com.dahuatech.hutool.core.util.TypeUtil
-
获得Field对应的原始类
- getClasses(Object...) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得对象数组的类数组
- getClassLoader() - 类 中的方法com.dahuatech.hutool.core.io.resource.ClassPathResource
-
- getClassLoader() - 类 中的静态方法com.dahuatech.hutool.core.util.ClassLoaderUtil
-
- getClassLoader() - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
- getClassName(Object, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获取类名
- getClassName(Class<?>, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获取类名
类名并不包含“.class”这个扩展名
例如:ClassUtil这个类
isSimple为false: "com.xiaoleilu.hutool.util.ClassUtil"
isSimple为true: "ClassUtil"
- getClassPath() - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得ClassPath,将编码后的中文路径解码为原字符
这个ClassPath路径会文件路径被标准化处理
- getClassPath(boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得ClassPath,这个ClassPath路径会文件路径被标准化处理
- getClassPathResources() - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得ClassPath,不解码路径中的特殊字符(例如空格和中文)
- getClassPathResources(boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得ClassPath
- getClassPaths(String) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得ClassPath,不解码路径中的特殊字符(例如空格和中文)
- getClassPaths(String, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得ClassPath
- getClassPathURL() - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得ClassPath URL
- getClipboard() - 类 中的静态方法com.dahuatech.hutool.core.swing.clipboard.ClipboardUtil
-
获取系统剪贴板
- getClipher() - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AsymmetricCrypto
-
获得加密或解密器
- getCode() - 枚举 中的方法com.dahuatech.icc.common.ParamValidEnum
-
- getColor(int) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
获取一个RGB值对应的颜色
- getColor(String) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
将颜色值转换成具体的颜色类型 汇集了常用的颜色集,支持以下几种形式:
1.
- getComponentType(Object) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
获取数组对象的元素类型
- getComponentType(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
获取数组对象的元素类型
- getConfig() - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
获取JSON配置
- getConnection() - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
- getConstructor(Class<T>, Class<?>...) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
查找类中的指定参数的构造方法,如果找到构造方法,会自动设置可访问为true
- getConstructors(Class<T>) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
获得一个类中所有构造列表
- getConstructorsDirectly(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
获得一个类中所有字段列表,直接反射获取,无缓存
- getContainsStr(CharSequence, CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
查找指定字符串是否包含指定字符串列表中的任意一个字符串,如果包含返回找到的第一个字符串
- getContainsStrIgnoreCase(CharSequence, CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
查找指定字符串是否包含指定字符串列表中的任意一个字符串,如果包含返回找到的第一个字符串
忽略大小写
- getContentTypeByRequestBody(String) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
从请求参数的body中判断请求的Content-Type类型,支持的类型有:
1. application/json
1. application/xml
- getContextClassLoader() - 类 中的静态方法com.dahuatech.hutool.core.util.ClassLoaderUtil
-
- getContextClassLoader() - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
- getConverter(Type, boolean) - 类 中的方法com.dahuatech.hutool.core.convert.ConverterRegistry
-
获得转换器
- getCookie(String) - 类 中的方法com.dahuatech.hutool.http.HttpResponse
-
获取Cookie
- getCookieManager() - 类 中的静态方法com.dahuatech.hutool.http.cookie.GlobalCookieManager
-
- getCookieManager() - 类 中的静态方法com.dahuatech.hutool.http.HttpGlobalConfig
-
获取Cookie管理器,用于自定义Cookie管理
- getCookieManager() - 类 中的静态方法com.dahuatech.hutool.http.HttpRequest
-
获取Cookie管理器,用于自定义Cookie管理
- getCookies(HttpConnection) - 类 中的静态方法com.dahuatech.hutool.http.cookie.GlobalCookieManager
-
获取指定域名下所有Cookie信息
- getCookies() - 类 中的方法com.dahuatech.hutool.http.cookie.ThreadLocalCookieStore
-
- getCookies() - 类 中的方法com.dahuatech.hutool.http.HttpResponse
-
获取Cookie
- getCookieStore() - 类 中的方法com.dahuatech.hutool.http.cookie.ThreadLocalCookieStore
-
获取本线程下的CookieStore
- getCookieStr() - 类 中的方法com.dahuatech.hutool.http.HttpResponse
-
获取本次请求服务器返回的Cookie信息
- getCookieValue(String) - 类 中的方法com.dahuatech.hutool.http.HttpResponse
-
获取Cookie值
- getCopyFilter() - 类 中的方法com.dahuatech.hutool.core.lang.copier.SrcToDestCopier
-
获得过滤器
- getCurrentLogFactory() - 类 中的静态方法com.dahuatech.hutool.log.LogFactory
-
- getCustomConverter(Type) - 类 中的方法com.dahuatech.hutool.core.convert.ConverterRegistry
-
获得自定义转换器
- getDataCenterId(long) - 类 中的方法com.dahuatech.hutool.core.lang.Snowflake
-
根据Snowflake的ID,获取数据中心id
- getDate(K) - 接口 中的方法com.dahuatech.hutool.core.getter.BasicTypeGetter
-
获取Date类型值
- getDate(K, Date) - 接口 中的方法com.dahuatech.hutool.core.getter.OptBasicTypeGetter
-
获取Date类型值
- getDate(K, Date) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getDate(K, Date) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getDate(K) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeGetter
-
获取Date型属性值
无值或获取错误返回null
- getDate(String) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
- getDate(Map<?, ?>, Object) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
- getDateFormat() - 类 中的方法com.dahuatech.hutool.json.JSONConfig
-
日期格式,null表示默认的时间戳
- getDateInstance(int) - 类 中的静态方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- getDateInstance(int, Locale) - 类 中的静态方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- getDateInstance(int, TimeZone) - 类 中的静态方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- getDateInstance(int, TimeZone, Locale) - 类 中的静态方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- getDateTimeInstance(int, int) - 类 中的静态方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- getDateTimeInstance(int, int, Locale) - 类 中的静态方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- getDateTimeInstance(int, int, TimeZone) - 类 中的静态方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- getDateTimeInstance(int, int, TimeZone, Locale) - 类 中的静态方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- getDayByIdCard(String) - 类 中的静态方法com.dahuatech.hutool.core.util.IdcardUtil
-
根据身份编号获取生日天,只支持15或18位身份证号码
- getDeclaredAnnotations() - 类 中的方法com.dahuatech.hutool.core.annotation.CombinationAnnotationElement
-
- getDeclaredField(Class<?>, String) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
查找指定类中的所有字段(包括非public字段), 字段不存在则返回null
- getDeclaredFields(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
查找指定类中的所有字段(包括非public字段)
- getDeclaredMethod(Class<?>, String, Class<?>...) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
查找指定类中的所有方法(包括非public方法),也包括父类和Object类的方法 找不到方法会返回null
- getDeclaredMethodNames(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得指定类中的Public方法名
去重重载的方法
- getDeclaredMethodOfObj(Object, String, Object...) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
查找指定对象中的所有方法(包括非public方法),也包括父对象和Object类的方法
- getDeclaredMethods(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得声明的所有方法,包括本类及其父类和接口的所有方法和Object类的方法
- getDecodedPath(URL) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
从URL对象中获取不被编码的路径Path
对于本地路径,URL对象的getPath方法对于包含中文或空格时会被编码,导致本读路径读取错误。
- getDecryptBlockSize() - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AsymmetricCrypto
-
获取解密块大小
- getDefaultCharset() - 类 中的方法com.dahuatech.hutool.core.io.BOMInputStream
-
- getDefaultCipherSuites() - 类 中的方法com.dahuatech.hutool.http.ssl.CustomProtocolsSSLFactory
-
- getDefaultConverter(Type) - 类 中的方法com.dahuatech.hutool.core.convert.ConverterRegistry
-
获得默认转换器
- getDefaultValue(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获取指定类型分的默认值
默认值规则为:
1、如果为原始类型,返回0
2、非原始类型返回 null
- getDefaultValues(Class<?>...) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得默认值列表
- getDeserializer(Type) - 类 中的静态方法com.dahuatech.hutool.json.serialize.GlobalSerializeMapping
-
获取自定义的反序列化器,如果未定义返回null
- getDest() - 类 中的方法com.dahuatech.hutool.core.lang.copier.SrcToDestCopier
-
获得目标
- getDigest() - 类 中的方法com.dahuatech.hutool.crypto.digest.Digester
-
- getDigestLength() - 类 中的方法com.dahuatech.hutool.crypto.digest.Digester
-
获取散列长度,0表示不支持此方法
- getDouble(K) - 接口 中的方法com.dahuatech.hutool.core.getter.BasicTypeGetter
-
获取double型属性值
- getDouble(K, Double) - 接口 中的方法com.dahuatech.hutool.core.getter.OptBasicTypeGetter
-
获取double型属性值
若获得的值为不可见字符,使用默认值
- getDouble(K, Double) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getDouble(K, Double) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getDouble(K) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeGetter
-
获取double型属性值
无值或获取错误返回null
- getDouble(String) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
- getDouble(Map<?, ?>, Object) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为Double
- getDoubleByGroup(String, String) - 接口 中的方法com.dahuatech.hutool.core.getter.GroupedTypeGetter
-
获取double型属性值
- getDoubleList(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ListTypeGetter
-
获取Double型属性值列表
- getDoubles(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ArrayTypeGetter
-
获取Double型属性值数组
- getDoubles(String, Double[]) - 接口 中的方法com.dahuatech.hutool.core.getter.OptArrayTypeGetter
-
获取Double型属性值数组
- getDsktop() - 类 中的静态方法com.dahuatech.hutool.core.swing.DesktopUtil
-
- getElement(Element, String) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
根据节点名获得第一个子节点
- getElementByXPath(String, Object) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
通过XPath方式读取XML节点等信息
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
- getElements(Element, String) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
根据节点名获得子节点列表
- getElementType(Iterable<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
- getElementType(Iterator<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
- getElementType(Iterable<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
获得
Iterable对象的元素类型(通过第一个非空元素判断)
注意,此方法至少会调用多次next方法
- getElementType(Iterator<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
获得
Iterator对象的元素类型(通过第一个非空元素判断)
注意,此方法至少会调用多次next方法
- getEnclosingClass(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得外围类
返回定义此类或匿名类所在的类,如果类本身是在包中定义的,返回null
- getEncryptBlockSize() - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AsymmetricCrypto
-
获取加密块大小
- getEndValue(Calendar, int) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
获取指定日期字段的最大值,例如分钟的最大值是59
- getEngine() - 类 中的方法com.dahuatech.hutool.http.useragent.UserAgent
-
获取引擎类型
- getEngineVersion() - 类 中的方法com.dahuatech.hutool.http.useragent.UserAgent
-
获取引擎版本
- getEnum(Class<E>, K) - 接口 中的方法com.dahuatech.hutool.core.getter.BasicTypeGetter
-
获得Enum类型的值
- getEnum(Class<E>, K, E) - 接口 中的方法com.dahuatech.hutool.core.getter.OptBasicTypeGetter
-
获得Enum类型的值
- getEnum(Class<E>, K, E) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getEnum(Class<E>, K, E) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getEnum(Class<E>, K) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeGetter
-
获取Enum型属性值
无值或获取错误返回null
- getEnum(Class<E>, String) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
- getEnumMap(Class<E>) - 类 中的静态方法com.dahuatech.hutool.core.util.EnumUtil
-
获取枚举字符串值和枚举对象的Map对应,使用LinkedHashMap保证有序
结果中键为枚举名,值为枚举对象
- getErrCode() - 异常错误 中的方法com.dahuatech.icc.exception.ClientException
-
- getErrMsg() - 枚举 中的方法com.dahuatech.icc.common.ParamValidEnum
-
- getErrMsg() - 异常错误 中的方法com.dahuatech.icc.exception.ClientException
-
- getErrorCode() - 异常错误 中的方法com.dahuatech.icc.exception.IccException
-
- getErrorDescription() - 异常错误 中的方法com.dahuatech.icc.exception.ClientException
-
- getErrorMsg() - 异常错误 中的方法com.dahuatech.icc.exception.IccException
-
- getErrorResult(Process) - 类 中的静态方法com.dahuatech.hutool.core.util.RuntimeUtil
-
获取命令执行异常结果,使用系统默认编码,,获取后销毁进程
- getErrorResult(Process, Charset) - 类 中的静态方法com.dahuatech.hutool.core.util.RuntimeUtil
-
获取命令执行异常结果,获取后销毁进程
- getErrorStream() - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
当返回错误代码时,获得错误内容流
- getErrorType() - 异常错误 中的方法com.dahuatech.icc.exception.ClientException
-
- getExecutor() - 类 中的静态方法com.dahuatech.hutool.core.thread.GlobalThreadPool
-
- getField(String) - 类 中的方法com.dahuatech.hutool.core.bean.BeanDesc
-
获得字段名对应的字段对象,如果不存在返回null
- getField() - 类 中的方法com.dahuatech.hutool.core.bean.BeanDesc.PropDesc
-
获取字段
- getField(DateField) - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
获得日期的某个部分
例如获得年的部分,则使用 getField(DatePart.YEAR)
- getField(int) - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
获得日期的某个部分
例如获得年的部分,则使用 getField(Calendar.YEAR)
- getField(Class<?>, String) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
查找指定类中的所有字段(包括非public字段),也包括父类和Object类的字段, 字段不存在则返回null
- getFieldClass() - 类 中的方法com.dahuatech.hutool.core.bean.BeanDesc.PropDesc
-
获得字段类型
先获取字段的类型,如果字段不存在,则获取Getter方法的返回类型,否则获取Setter的第一个参数类型
- getFieldCount() - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
获取字段格式
- getFieldMap() - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
获取标题与字段值对应的Map
- getFieldName() - 类 中的方法com.dahuatech.hutool.core.bean.BeanDesc.PropDesc
-
获取字段名
- getFieldNames(Class<? extends Enum<?>>) - 类 中的静态方法com.dahuatech.hutool.core.util.EnumUtil
-
获得枚举类中所有的字段名
除用户自定义的字段名,也包括“name”字段,例如:
EnumUtil.getFieldNames(Color.class) == ["name", "index"]
- getFields(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
获得一个类中所有字段列表,包括其父类中的字段
- getFieldsDirectly(Class<?>, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
获得一个类中所有字段列表,直接反射获取,无缓存
- getFieldsValue(Object) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
获取所有字段的值
- getFieldType() - 类 中的方法com.dahuatech.hutool.core.bean.BeanDesc.PropDesc
-
获得字段类型
先获取字段的类型,如果字段不存在,则获取Getter方法的返回类型,否则获取Setter的第一个参数类型
- getFieldValue(Object, String) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
获得字段值,通过反射直接获得字段值,并不调用getXXX方法
对象同样支持Map类型,fieldNameOrIndex即为key
- getFieldValue(Object, String) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
获取字段值
- getFieldValue(Object, Field) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
获取字段值
- getFieldValues(Iterable<?>, String) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
获取给定Bean列表中指定字段名对应字段值的列表
列表元素支持Bean与Map
- getFieldValues(Iterable<?>, String, boolean) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
获取给定Bean列表中指定字段名对应字段值的列表
列表元素支持Bean与Map
- getFieldValues(Iterable<?>, String, Class<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
获取给定Bean列表中指定字段名对应字段值的列表
列表元素支持Bean与Map
- getFieldValues(Class<? extends Enum<?>>, String) - 类 中的静态方法com.dahuatech.hutool.core.util.EnumUtil
-
获得枚举类中各枚举对象下指定字段的值
- getFile() - 类 中的方法com.dahuatech.hutool.core.io.file.FileWrapper
-
获得文件
- getFile() - 类 中的方法com.dahuatech.hutool.core.io.resource.UrlResource
-
获得File
- getFileBytes(String) - 类 中的方法com.dahuatech.hutool.cache.file.AbstractFileCache
-
获得缓存过的文件bytes
- getFileBytes(File) - 类 中的方法com.dahuatech.hutool.cache.file.AbstractFileCache
-
获得缓存过的文件bytes
- getFirst(Iterable<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
获取集合的第一个元素
- getFirst(Iterator<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
获取集合的第一个元素
- getFirst(Iterable<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
获取集合的第一个元素
- getFirst(Iterator<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
获取集合的第一个元素
- getFirstDayOfWeek() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
获得一周的第一天,默认为周一
- getFirstLetter(char) - 类 中的静态方法com.dahuatech.hutool.core.util.PinyinUtil
-
已过时。
获取拼音首字母
传入汉字,返回拼音首字母
如果传入为字母,返回其小写形式
感谢【帝都】宁静 提供方法
- getFirstNumber(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
从字符串中获得第一个整数
- getFirstParamClass(Method) - 类 中的静态方法com.dahuatech.hutool.core.util.TypeUtil
-
获取方法的第一个参数类
- getFirstParamType(Method) - 类 中的静态方法com.dahuatech.hutool.core.util.TypeUtil
-
获取方法的第一个参数类型
优先获取方法的GenericParameterTypes,如果获取不到,则获取ParameterTypes
- getFloat(K) - 接口 中的方法com.dahuatech.hutool.core.getter.BasicTypeGetter
-
获取float型属性值
- getFloat(K, Float) - 接口 中的方法com.dahuatech.hutool.core.getter.OptBasicTypeGetter
-
获取float型属性值
若获得的值为不可见字符,使用默认值
- getFloat(K, Float) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getFloat(K, Float) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getFloat(K) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeGetter
-
获取float型属性值
无值或获取错误返回null
- getFloat(String) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
- getFloat(Map<?, ?>, Object) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为Float
- getFormat() - 类 中的方法com.dahuatech.hutool.core.convert.impl.CalendarConverter
-
获取日期格式
- getFormat() - 类 中的方法com.dahuatech.hutool.core.convert.impl.DateConverter
-
获取日期格式
- getFormat() - 类 中的方法com.dahuatech.hutool.core.convert.impl.Jdk8DateConverter
-
获取日期格式
- getGenderByIdCard(String) - 类 中的静态方法com.dahuatech.hutool.core.util.IdcardUtil
-
根据身份编号获取性别,只支持15或18位身份证号码
- getGeneralField(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
获得set或get或is方法对应的标准属性名
例如:setName 返回 name
getName =》name
setName =》name
isName =》name
- getGenerateDateTime(long) - 类 中的方法com.dahuatech.hutool.core.lang.Snowflake
-
根据Snowflake的ID,获取生成时间
- getGetter(String) - 类 中的方法com.dahuatech.hutool.core.bean.BeanDesc
-
获取Getter方法,如果不存在返回null
- getGetter() - 类 中的方法com.dahuatech.hutool.core.bean.BeanDesc.PropDesc
-
获取Getter方法,可能为null
- getGroup0(String, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
获得匹配的字符串,获得正则中分组0的内容
- getGroup0(Pattern, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
获得匹配的字符串,,获得正则中分组0的内容
- getGroup1(String, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
获得匹配的字符串,获得正则中分组1的内容
- getGroup1(Pattern, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
获得匹配的字符串,,获得正则中分组1的内容
- getHeader() - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvData
-
获取头信息列表,如果无头信息为Null,返回列表为只读列表
- getHeader() - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvParser
-
获取头部字段列表,如果containsHeader设置为false则抛出异常
- getHeight() - 类 中的静态方法com.dahuatech.hutool.core.swing.ScreenUtil
-
获取屏幕高度
- getHitCount() - 类 中的方法com.dahuatech.hutool.cache.impl.AbstractCache
-
- getHost(URL) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
获取URL中域名部分,只保留URL中的协议(Protocol)、Host,其它为null。
- getHttpURLConnection() - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
获取HttpURLConnection对象
- getId() - 类 中的方法com.dahuatech.hutool.core.date.StopWatch
-
- getImage() - 类 中的静态方法com.dahuatech.hutool.core.swing.clipboard.ClipboardUtil
-
从剪贴板获取图片
- getImage(Transferable) - 类 中的静态方法com.dahuatech.hutool.core.swing.clipboard.ClipboardUtil
-
- getImageFormat(ImageInputStream) - 类 中的静态方法com.dahuatech.icc.util.ImageUtil
-
this function will not close input, need caller to close it.
- getImageFormatByBytes(byte[]) - 类 中的静态方法com.dahuatech.icc.util.ImageUtil
-
- getImageFormatByFile(String) - 类 中的静态方法com.dahuatech.icc.util.ImageUtil
-
- getImageInfo(ImageInputStream) - 类 中的静态方法com.dahuatech.icc.util.ImageUtil
-
this function will not close input, need caller to close it.
- getImageInfoByBytes(byte[]) - 类 中的静态方法com.dahuatech.icc.util.ImageUtil
-
- getImageInfoByFile(String) - 类 中的静态方法com.dahuatech.icc.util.ImageUtil
-
- getImageInputStream(InputStream) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
- getImageOutputStream(OutputStream) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
- getImageOutputStream(File) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
- getImg() - 类 中的方法com.dahuatech.hutool.core.img.Img
-
获取处理过的图片
- getInputStream() - 类 中的方法com.dahuatech.hutool.core.io.file.FileReader
-
获得输入流
- getInputStream(Path) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得输入流
- getInputStream(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得输入流
- getInputStream(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得输入流
- getInputStream() - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
获得输入流对象
输入流对象用于读取数据
- getInstance() - 类 中的静态方法com.dahuatech.hutool.core.convert.ConverterRegistry
-
- getInstance() - 类 中的静态方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- getInstance(String) - 类 中的静态方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- getInstance(String, TimeZone) - 类 中的静态方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- getInstance(String, Locale) - 类 中的静态方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- getInstance(String, TimeZone, Locale) - 类 中的静态方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- getInt(K) - 接口 中的方法com.dahuatech.hutool.core.getter.BasicTypeGetter
-
获取int型属性值
- getInt(K, Integer) - 接口 中的方法com.dahuatech.hutool.core.getter.OptBasicTypeGetter
-
获取int型属性值
若获得的值为不可见字符,使用默认值
- getInt(K, Integer) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getInt(K, Integer) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getInt(K) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeGetter
-
获取int型属性值
无值或获取错误返回null
- getInt(String) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
- getInt(Map<?, ?>, Object) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为Integer
- getIntByGroup(String, String) - 接口 中的方法com.dahuatech.hutool.core.getter.GroupedTypeGetter
-
获取int型属性值
- getInterval() - 类 中的方法com.dahuatech.hutool.core.thread.ConcurrencyTester
-
获取执行时间
- getIntList(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ListTypeGetter
-
获取Integer型属性值列表
- getInts(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ArrayTypeGetter
-
获取Integer型属性值数组
- getInts(String, Integer[]) - 接口 中的方法com.dahuatech.hutool.core.getter.OptArrayTypeGetter
-
获取Integer型属性值数组
- getIpByHost(String) - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
通过域名得到IP
- getJarClassLoader(File) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassLoaderUtil
-
- getJarFile(URL) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
从URL中获取JarFile
- getJavaClassPaths() - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
- getJSONArray(K) - 类 中的方法com.dahuatech.hutool.json.JSONGetter
-
获得JSONArray对象
如果值为其它类型对象,尝试转换为
JSONArray返回,否则抛出异常
- getJSONObject(K) - 类 中的方法com.dahuatech.hutool.json.JSONGetter
-
获得JSONObject对象
如果值为其它类型对象,尝试转换为
JSONObject返回,否则抛出异常
- getKey() - 类 中的方法com.dahuatech.hutool.cache.impl.CacheObj
-
获取键
- getKey() - 类 中的方法com.dahuatech.hutool.core.lang.Pair
-
获取键
- getKeyByType(KeyType) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.BaseAsymmetric
-
根据密钥类型获得相应密钥
- getKeyFactory(String) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
- getKeyGenerator(String) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
- getKeyPair(String, InputStream, char[], String) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
从KeyStore中获取私钥公钥
- getKeyPair(KeyStore, char[], String) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
从KeyStore中获取私钥公钥
- getKeyPairGenerator(String) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
- getLast(Collection<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
获取集合的最后一个元素
- getLastPathEle(Path) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获取指定位置的最后一个子路径部分
- getLastTaskInfo() - 类 中的方法com.dahuatech.hutool.core.date.StopWatch
-
获取最后的任务对象
- getLastTaskName() - 类 中的方法com.dahuatech.hutool.core.date.StopWatch
-
获取最后的任务名
- getLastTaskTimeMillis() - 类 中的方法com.dahuatech.hutool.core.date.StopWatch
-
获取最后任务的花费时间(毫秒)
- getLastTaskTimeNanos() - 类 中的方法com.dahuatech.hutool.core.date.StopWatch
-
获取最后任务的花费时间(纳秒)
- getLeastSignificantBits() - 类 中的方法com.dahuatech.hutool.core.lang.UUID
-
返回此 UUID 的 128 位值中的最低有效 64 位。
- getLevel() - 类 中的方法com.dahuatech.hutool.core.date.BetweenFormater
-
获得 格式化级别
- getLineSeparator() - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获取当前系统的换行分隔符
Windows: \r\n
Mac: \r
Linux: \n
- getLocale() - 类 中的方法com.dahuatech.hutool.core.date.format.AbstractDateBasic
-
- getLocale() - 接口 中的方法com.dahuatech.hutool.core.date.format.DateBasic
-
获得 日期地理位置
- getLocale() - 类 中的方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- getLocalhost() - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
获取本机网卡IP地址,规则如下:
1.
- getLocalhostStr() - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
- getLocalMacAddress() - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
获得本机MAC地址
- getLog(String) - 类 中的方法com.dahuatech.hutool.log.LogFactory
-
获得日志对象
- getLog(Class<?>) - 类 中的方法com.dahuatech.hutool.log.LogFactory
-
获得日志对象
- getLong(K) - 接口 中的方法com.dahuatech.hutool.core.getter.BasicTypeGetter
-
获取long型属性值
- getLong(K, Long) - 接口 中的方法com.dahuatech.hutool.core.getter.OptBasicTypeGetter
-
获取Long型属性值
若获得的值为不可见字符,使用默认值
- getLong(K, Long) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getLong(K, Long) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getLong(K) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeGetter
-
获取long型属性值
无值或获取错误返回null
- getLong(String) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
- getLong(Map<?, ?>, Object) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为Long
- getLongByGroup(String, String) - 接口 中的方法com.dahuatech.hutool.core.getter.GroupedTypeGetter
-
获取Long型属性值
- getLongList(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ListTypeGetter
-
获取BigDecimal型属性值列表
- getLongs(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ArrayTypeGetter
-
获取Long型属性值数组
- getLongs(String, Long[]) - 接口 中的方法com.dahuatech.hutool.core.getter.OptArrayTypeGetter
-
获取Long型属性值数组
- getMac() - 类 中的方法com.dahuatech.hutool.crypto.digest.mac.BCHMacEngine
-
获得 Mac
- getMac() - 类 中的方法com.dahuatech.hutool.crypto.digest.mac.DefaultHMacEngine
-
- getMacAddress(InetAddress) - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
获得指定地址信息中的MAC地址,使用分隔符“-”
- getMacAddress(InetAddress, String) - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
获得指定地址信息中的MAC地址
- getMainAlgorithm(String) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
获取主体算法名,例如RSA/ECB/PKCS1Padding的主体算法是RSA
- getMainThread() - 类 中的静态方法com.dahuatech.hutool.core.thread.ThreadUtil
-
获取进程的主线程
from Voovan
- getMaxLengthEstimate() - 类 中的方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
估算生成的日期字符串长度
实际生成的字符串长度小于或等于此值
- getMembers() - 类 中的方法com.dahuatech.hutool.core.lang.Tuple
-
获得所有元素
- getMessage(Throwable) - 类 中的静态方法com.dahuatech.hutool.core.exceptions.ExceptionUtil
-
获得完整消息,包括异常名,消息格式为:{SimpleClassName}: {ThrowableMessage}
- getMessage() - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
- getMessage() - 异常错误 中的方法com.dahuatech.icc.exception.ClientException
-
- getMethod(Class<?>, String, Class<?>...) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
查找指定方法 如果找不到对应的方法则返回null
此方法为精准获取方法名,即方法名和参数数量和类型必须一致,否则返回null。
- getMethod(Class<?>, boolean, String, Class<?>...) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
查找指定方法 如果找不到对应的方法则返回null
此方法为精准获取方法名,即方法名和参数数量和类型必须一致,否则返回null。
- getMethod() - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
获取请求方法,GET/POST
- getMethod() - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
获取Http请求方法
- getMethodByName(Class<?>, String) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
按照方法名查找指定方法名的方法,只返回匹配到的第一个方法,如果找不到对应的方法则返回null
此方法只检查方法名是否一致,并不检查参数的一致性。
- getMethodByName(Class<?>, boolean, String) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
按照方法名查找指定方法名的方法,只返回匹配到的第一个方法,如果找不到对应的方法则返回null
此方法只检查方法名是否一致,并不检查参数的一致性。
- getMethodByNameIgnoreCase(Class<?>, String) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
按照方法名查找指定方法名的方法,只返回匹配到的第一个方法,如果找不到对应的方法则返回null
此方法只检查方法名是否一致(忽略大小写),并不检查参数的一致性。
- getMethodEle() - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
获取方法节点
用于创建子节点等操作
- getMethodIgnoreCase(Class<?>, String, Class<?>...) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
忽略大小写查找指定方法,如果找不到对应的方法则返回null
此方法为精准获取方法名,即方法名和参数数量和类型必须一致,否则返回null。
- getMethodNames(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
获得指定类中的Public方法名
去重重载的方法
- getMethodOfObj(Object, String, Object...) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
查找指定对象中的所有方法(包括非public方法),也包括父对象和Object类的方法
此方法为精准获取方法名,即方法名和参数数量和类型必须一致,否则返回null。
- getMethods(Class<?>, Filter<Method>) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
获得指定类过滤后的Public方法列表
- getMethods(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
获得一个类中所有方法列表,包括其父类中的方法
- getMethodsDirectly(Class<?>, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
获得一个类中所有方法列表,直接反射获取,无缓存
- getMillis() - 枚举 中的方法com.dahuatech.hutool.core.date.DateUnit
-
- getMimeType(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
根据文件扩展名获得MimeType
- getMimeType(String, String) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
根据文件扩展名获得MimeType
- getMimeType(String) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
根据文件扩展名获得MimeType
- getMissCount() - 类 中的方法com.dahuatech.hutool.cache.impl.AbstractCache
-
- getMonthByIdCard(String) - 类 中的静态方法com.dahuatech.hutool.core.util.IdcardUtil
-
根据身份编号获取生日月,只支持15或18位身份证号码
- getMostSignificantBits() - 类 中的方法com.dahuatech.hutool.core.lang.UUID
-
返回此 UUID 的 128 位值中的最高有效 64 位。
- getMsgStr(boolean) - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
获取SOAP请求消息
- getMultistageReverseProxyIp(String) - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
从多级反向代理中获得第一个非unknown IP地址
- getName() - 类 中的方法com.dahuatech.hutool.core.bean.BeanDesc
-
获取Bean的全类名
- getName() - 枚举 中的方法com.dahuatech.hutool.core.date.BetweenFormater.Level
-
获取级别名称
- getName(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
返回文件名
- getName(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
返回文件名
- getName() - 类 中的方法com.dahuatech.hutool.core.io.resource.BytesResource
-
- getName() - 类 中的方法com.dahuatech.hutool.core.io.resource.InputStreamResource
-
- getName() - 类 中的方法com.dahuatech.hutool.core.io.resource.MultiResource
-
- getName() - 接口 中的方法com.dahuatech.hutool.core.io.resource.Resource
-
获取资源名,例如文件资源的资源名为文件名
- getName() - 类 中的方法com.dahuatech.hutool.core.io.resource.StringResource
-
- getName() - 类 中的方法com.dahuatech.hutool.core.io.resource.UrlResource
-
- getName() - 类 中的方法com.dahuatech.hutool.http.useragent.UserAgentInfo
-
获取信息名称
- getName() - 类 中的方法com.dahuatech.hutool.log.dialect.commons.ApacheCommonsLog
-
- getName() - 类 中的方法com.dahuatech.hutool.log.dialect.console.ConsoleLog
-
- getName() - 类 中的方法com.dahuatech.hutool.log.dialect.jboss.JbossLog
-
- getName() - 类 中的方法com.dahuatech.hutool.log.dialect.jdk.JdkLog
-
- getName() - 类 中的方法com.dahuatech.hutool.log.dialect.log4j.Log4jLog
-
- getName() - 类 中的方法com.dahuatech.hutool.log.dialect.log4j2.Log4j2Log
-
- getName() - 类 中的方法com.dahuatech.hutool.log.dialect.slf4j.Slf4jLog
-
- getName() - 类 中的方法com.dahuatech.hutool.log.dialect.tinylog.TinyLog
-
- getName() - 接口 中的方法com.dahuatech.hutool.log.Log
-
- getName() - 类 中的方法com.dahuatech.hutool.log.LogFactory
-
获取日志框架名,用于打印当前所用日志框架
- getNameFieldMap(Class<? extends Enum<?>>, String) - 类 中的静态方法com.dahuatech.hutool.core.util.EnumUtil
-
获得枚举名对应指定字段值的Map
键为枚举名,值为字段值
- getNames(Class<? extends Enum<?>>) - 类 中的静态方法com.dahuatech.hutool.core.util.EnumUtil
-
枚举类中所有枚举对象的name列表
- getNetworkInterfaces() - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
获取本机所有网卡
- getNodeByXPath(String, Object) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
通过XPath方式读取XML节点等信息
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
- getNodeListByXPath(String, Object) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
通过XPath方式读取XML的NodeList
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
- getNumber(String) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
- getObj(K) - 接口 中的方法com.dahuatech.hutool.core.getter.BasicTypeGetter
-
获取Object属性值
- getObj(K, Object) - 接口 中的方法com.dahuatech.hutool.core.getter.OptBasicTypeGetter
-
获取Object属性值
- getObj(K, Object) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getObj(K, Object) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getObj(K) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeGetter
-
- getObj(String) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
- getObj() - 类 中的方法com.dahuatech.hutool.core.lang.WeightRandom.WeightObj
-
获取对象
- getObj(Object, Object) - 类 中的方法com.dahuatech.hutool.core.map.MapProxy
-
- getObj(Integer, Object) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- getObj(String, Object) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
- getObjList(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ListTypeGetter
-
获取Object型属性值列表
- getObjs(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ArrayTypeGetter
-
获取Object型属性值数组
- getObjs(String, Object[]) - 接口 中的方法com.dahuatech.hutool.core.getter.OptArrayTypeGetter
-
获取Object型属性值数组
- getOriginalLineNumber() - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
获取原始行号,多行情况下为首行行号。
- getOs() - 类 中的方法com.dahuatech.hutool.http.useragent.UserAgent
-
获取系统类型
- getOutputStream() - 类 中的方法com.dahuatech.hutool.core.io.file.FileWriter
-
获得一个输出流对象
- getOutputStream(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得一个输出流对象
- getOutputStream(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得一个输出流对象
- getOutputStream() - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
获取输出流对象 输出流对象用于发送数据
- getOwnerType() - 类 中的方法com.dahuatech.hutool.core.lang.ParameterizedTypeImpl
-
- getPackage(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得给定类所在包的名称
例如:
com.xiaoleilu.hutool.util.ClassUtil =》 com.xiaoleilu.hutool.util
- getPackagePath(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得给定类所在包的路径
例如:
com.xiaoleilu.hutool.util.ClassUtil =》 com/xiaoleilu/hutool/util
- getParamClass(Method, int) - 类 中的静态方法com.dahuatech.hutool.core.util.TypeUtil
-
获取方法的参数类
- getParamClasses(Method) - 类 中的静态方法com.dahuatech.hutool.core.util.TypeUtil
-
解析方法的参数类型列表
依赖jre\lib\rt.jar
- getParamType(Method, int) - 类 中的静态方法com.dahuatech.hutool.core.util.TypeUtil
-
获取方法的参数类型
优先获取方法的GenericParameterTypes,如果获取不到,则获取ParameterTypes
- getParamTypes(Method) - 类 中的静态方法com.dahuatech.hutool.core.util.TypeUtil
-
获取方法的参数类型列表
优先获取方法的GenericParameterTypes,如果获取不到,则获取ParameterTypes
- getParent(String, int) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获取指定层级的父路径
getParent("d:/aaa/bbb/cc/ddd", 0) -》 "d:/aaa/bbb/cc/ddd"
getParent("d:/aaa/bbb/cc/ddd", 2) -》 "d:/aaa/bbb"
getParent("d:/aaa/bbb/cc/ddd", 4) -》 "d:/"
getParent("d:/aaa/bbb/cc/ddd", 5) -》 null
- getParent(File, int) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获取指定层级的父路径
getParent(file("d:/aaa/bbb/cc/ddd", 0)) -》 "d:/aaa/bbb/cc/ddd"
getParent(file("d:/aaa/bbb/cc/ddd", 2)) -》 "d:/aaa/bbb"
getParent(file("d:/aaa/bbb/cc/ddd", 4)) -》 "d:/"
getParent(file("d:/aaa/bbb/cc/ddd", 5)) -》 null
- getPath() - 类 中的方法com.dahuatech.hutool.core.io.resource.ClassPathResource
-
获得Path
- getPath(String) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
获得path部分
- getPathEle(Path, int) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获取指定位置的子路径部分,支持负数,例如index为-1表示从后数第一个节点位置
- getPattern() - 类 中的方法com.dahuatech.hutool.core.date.format.AbstractDateBasic
-
- getPattern() - 接口 中的方法com.dahuatech.hutool.core.date.format.DateBasic
-
获得日期格式化或者转换的格式
- getPattern() - 类 中的方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- getPattern() - 类 中的方法com.dahuatech.hutool.http.useragent.UserAgentInfo
-
获取匹配模式
- getPinYin(String) - 类 中的静态方法com.dahuatech.hutool.core.util.PinyinUtil
-
已过时。
汉字转拼音 example : 张三 zhangsan
- getPlatform() - 类 中的方法com.dahuatech.hutool.http.useragent.UserAgent
-
获取平台类型
- getPrintWriter(boolean) - 类 中的方法com.dahuatech.hutool.core.io.file.FileWriter
-
获得一个打印写入对象,可以有print
- getPrintWriter(String, String, boolean) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得一个打印写入对象,可以有print
- getPrintWriter(String, Charset, boolean) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得一个打印写入对象,可以有print
- getPrintWriter(File, String, boolean) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得一个打印写入对象,可以有print
- getPrivateKey() - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.BaseAsymmetric
-
获得私钥
- getPrivateKeyBase64() - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.BaseAsymmetric
-
获得私钥
- getProp(String) - 类 中的方法com.dahuatech.hutool.core.bean.BeanDesc
-
获取属性,如果不存在返回null
- getProperty(Object, String) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
解析Bean中的属性值
- getPropertyDescriptor(Class<?>, String) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
获得Bean类属性描述,大小写敏感
- getPropertyDescriptor(Class<?>, String, boolean) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
获得Bean类属性描述
- getPropertyDescriptorMap(Class<?>, boolean) - 枚举 中的方法com.dahuatech.hutool.core.bean.BeanInfoCache
-
- getPropertyDescriptorMap(Class<?>, boolean) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
- getPropertyDescriptors(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
获得Bean字段描述数组
- getPropMap(boolean) - 类 中的方法com.dahuatech.hutool.core.bean.BeanDesc
-
获取字段名-字段属性Map
- getProps() - 类 中的方法com.dahuatech.hutool.core.bean.BeanDesc
-
获取字段属性列表
- getProvider() - 枚举 中的方法com.dahuatech.hutool.crypto.GlobalBouncyCastleProvider
-
- getProvinceByIdCard(String) - 类 中的静态方法com.dahuatech.hutool.core.util.IdcardUtil
-
根据身份编号获取户籍省份,只支持15或18位身份证号码
- getProxy() - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
获得代理
- getPublicKey() - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.BaseAsymmetric
-
获得公钥
- getPublicKeyBase64() - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.BaseAsymmetric
-
获得公钥
- getPublicMethod(Class<?>, String, Class<?>...) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
查找指定Public方法 如果找不到对应的方法或方法不为public的则返回null
- getPublicMethod(Class<?>, String, Class<?>...) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
查找指定Public方法 如果找不到对应的方法或方法不为public的则返回null
- getPublicMethodNames(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得指定类中的Public方法名
去重重载的方法
- getPublicMethodNames(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
获得指定类本类及其父类中的Public方法名
去重重载的方法
- getPublicMethods(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得本类及其父类所有Public方法
- getPublicMethods(Class<?>, Filter<Method>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得指定类过滤后的Public方法列表
- getPublicMethods(Class<?>, Method...) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得指定类过滤后的Public方法列表
- getPublicMethods(Class<?>, String...) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得指定类过滤后的Public方法列表
- getPublicMethods(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
获得本类及其父类所有Public方法
- getPublicMethods(Class<?>, Filter<Method>) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
获得指定类过滤后的Public方法列表
- getPublicMethods(Class<?>, Method...) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
获得指定类过滤后的Public方法列表
- getPublicMethods(Class<?>, String...) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
获得指定类过滤后的Public方法列表
- getPushBackReader(Reader, int) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
- getRandom() - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获取随机数生成器对象
ThreadLocalRandom是JDK 7之后提供并发产生随机数,能够解决多个线程发生的竞争争夺。
- getRandom(boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获取随机数产生器
- getRaw() - 类 中的方法com.dahuatech.hutool.core.map.MapWrapper
-
获取原始的Map
- getRawList() - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
获取本行所有字段值列表
- getRawType() - 类 中的方法com.dahuatech.hutool.core.lang.ParameterizedTypeImpl
-
- getReader(String) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
- getReader() - 类 中的方法com.dahuatech.hutool.core.io.file.FileReader
-
获得一个文件读取器
- getReader(Path, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得一个文件读取器
- getReader(File, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得一个文件读取器
- getReader(File, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得一个文件读取器
- getReader(String, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得一个文件读取器
- getReader(String, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得一个文件读取器
- getReader(InputStream, String) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
获得一个文件读取器
- getReader(InputStream, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
获得一个Reader
- getReader(Reader) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
- getReader(Charset) - 类 中的方法com.dahuatech.hutool.core.io.resource.BytesResource
-
- getReader(Charset) - 类 中的方法com.dahuatech.hutool.core.io.resource.InputStreamResource
-
- getReader(Charset) - 类 中的方法com.dahuatech.hutool.core.io.resource.MultiResource
-
- getReader(Charset) - 接口 中的方法com.dahuatech.hutool.core.io.resource.Resource
-
获得Reader
- getReader(String, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.resource.ResourceUtil
-
- getReader(Charset) - 类 中的方法com.dahuatech.hutool.core.io.resource.StringResource
-
- getReader(Charset) - 类 中的方法com.dahuatech.hutool.core.io.resource.UrlResource
-
获得Reader
- getReader(CsvReadConfig) - 类 中的静态方法com.dahuatech.hutool.core.text.csv.CsvUtil
-
获取CSV读取器
- getReader() - 类 中的静态方法com.dahuatech.hutool.core.text.csv.CsvUtil
-
获取CSV读取器
- getReader(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
获得StringReader
- getReader(URL, Charset) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
获得Reader
- getRectangle() - 类 中的静态方法com.dahuatech.hutool.core.swing.ScreenUtil
-
获取屏幕的矩形
- getRequestId() - 异常错误 中的方法com.dahuatech.icc.exception.ClientException
-
- getResource(String) - 类 中的静态方法com.dahuatech.hutool.core.io.resource.ResourceUtil
-
获得资源的URL
路径用/分隔,例如:
config/a/db.config
spring/xml/test.xml
- getResource(String, Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.io.resource.ResourceUtil
-
获得资源相对路径对应的URL
- getResourceIter(String) - 类 中的静态方法com.dahuatech.hutool.core.io.resource.ResourceUtil
-
获取指定路径下的资源Iterator
路径格式必须为目录格式,用/分隔,例如:
config/a
spring/xml
- getResourceObj(String) - 类 中的静态方法com.dahuatech.hutool.core.io.resource.ResourceUtil
-
- getResources(String) - 类 中的静态方法com.dahuatech.hutool.core.io.resource.ResourceUtil
-
获取指定路径下的资源列表
路径格式必须为目录格式,用/分隔,例如:
config/a
spring/xml
- getResources(String) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获取指定路径下的资源列表
路径格式必须为目录格式,用/分隔,例如:
config/a
spring/xml
- getResourceURL(String) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得资源的URL
路径用/分隔,例如:
config/a/db.config
spring/xml/test.xml
- getResourceUrl(String, Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得资源相对路径对应的URL
- getResult(Process) - 类 中的静态方法com.dahuatech.hutool.core.util.RuntimeUtil
-
获取命令执行结果,使用系统默认编码,,获取后销毁进程
- getResult(Process, Charset) - 类 中的静态方法com.dahuatech.hutool.core.util.RuntimeUtil
-
获取命令执行结果,获取后销毁进程
- getResultLines(Process) - 类 中的静态方法com.dahuatech.hutool.core.util.RuntimeUtil
-
获取命令执行结果,使用系统默认编码,获取后销毁进程
- getResultLines(Process, Charset) - 类 中的静态方法com.dahuatech.hutool.core.util.RuntimeUtil
-
获取命令执行结果,使用系统默认编码,获取后销毁进程
- getRetentionPolicy(Class<? extends Annotation>) - 类 中的静态方法com.dahuatech.hutool.core.annotation.AnnotationUtil
-
获取注解类的保留时间,可选值 SOURCE(源码时),CLASS(编译时),RUNTIME(运行时),默认为 CLASS
- getReturnClass(Method) - 类 中的静态方法com.dahuatech.hutool.core.util.TypeUtil
-
解析方法的返回类型类列表
- getReturnType(Method) - 类 中的静态方法com.dahuatech.hutool.core.util.TypeUtil
-
获取方法的返回值类型
获取方法的GenericReturnType
- getReversedMapping() - 类 中的方法com.dahuatech.hutool.core.bean.copier.CopyOptions
-
获取反转之后的映射
- getRootCause(Throwable) - 类 中的静态方法com.dahuatech.hutool.core.exceptions.ExceptionUtil
-
获取异常链中最尾端的异常,即异常最早发生的异常对象。
- getRootCauseMessage(Throwable) - 类 中的静态方法com.dahuatech.hutool.core.exceptions.ExceptionUtil
-
获取异常链中最尾端的异常的消息,消息格式为:{SimpleClassName}: {ThrowableMessage}
- getRootElement(Document) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
获得XML文档根节点
- getRootStackElement() - 类 中的静态方法com.dahuatech.hutool.core.exceptions.ExceptionUtil
-
获取入口堆栈信息
- getRow(int) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvData
-
获取指定行,从0开始
- getRowCount() - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvData
-
总行数
- getRows() - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvData
-
获取所有行
- getSecretKey() - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
获得对称密钥
- getSecretKeyFactory(String) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
- getSecureRandom() - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获取
SecureRandom,类提供加密的强随机数生成器 (RNG)
注意:此方法获取的是伪随机序列发生器PRNG(pseudo-random number generator)
相关说明见:https://stackoverflow.com/questions/137212/how-to-solve-slow-java-securerandom
- getSerializer(Type) - 类 中的静态方法com.dahuatech.hutool.json.serialize.GlobalSerializeMapping
-
获取自定义的序列化器,如果未定义返回null
- getSetter(String) - 类 中的方法com.dahuatech.hutool.core.bean.BeanDesc
-
获取Setter方法,如果不存在返回null
- getSetter() - 类 中的方法com.dahuatech.hutool.core.bean.BeanDesc.PropDesc
-
获取Setter方法,可能为null
- getShort(K) - 接口 中的方法com.dahuatech.hutool.core.getter.BasicTypeGetter
-
获取short型属性值
- getShort(K, Short) - 接口 中的方法com.dahuatech.hutool.core.getter.OptBasicTypeGetter
-
获取short型属性值
若获得的值为不可见字符,使用默认值
- getShort(K, Short) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getShort(K, Short) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getShort(K) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeGetter
-
获取short型属性值
无值或获取错误返回null
- getShort(String) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
- getShort(Map<?, ?>, Object) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为Short
- getShortByGroup(String, String) - 接口 中的方法com.dahuatech.hutool.core.getter.GroupedTypeGetter
-
获取short型属性值
- getShortClassName(String) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获取完整类名的短格式如:
com.dahuatech.hutool.core.util.StrUtil -》c.h.c.u.StrUtil
- getShortList(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ListTypeGetter
-
获取Short型属性值列表
- getShorts(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ArrayTypeGetter
-
获取Short型属性值数组
- getShorts(String, Short[]) - 接口 中的方法com.dahuatech.hutool.core.getter.OptArrayTypeGetter
-
获取Short型属性值数组
- getSignature() - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.Sign
-
获得签名对象
- getSimpleMessage(Throwable) - 类 中的静态方法com.dahuatech.hutool.core.exceptions.ExceptionUtil
-
获得消息,调用异常类的getMessage方法
- getSimpleName() - 类 中的方法com.dahuatech.hutool.core.bean.BeanDesc
-
获取Bean的简单类名
- getSnowflake(long, long) - 类 中的静态方法com.dahuatech.hutool.core.util.IdUtil
-
获取单例的Twitter的Snowflake 算法生成器对象
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
- getSrc() - 类 中的方法com.dahuatech.hutool.core.lang.copier.SrcToDestCopier
-
获取源
- getStackElement(int) - 类 中的静态方法com.dahuatech.hutool.core.exceptions.ExceptionUtil
-
获取指定层的堆栈信息
- getStackElements() - 类 中的静态方法com.dahuatech.hutool.core.exceptions.ExceptionUtil
-
获取当前栈信息
- getStackTrace() - 类 中的静态方法com.dahuatech.hutool.core.thread.ThreadUtil
-
- getStackTraceElement(int) - 类 中的静态方法com.dahuatech.hutool.core.thread.ThreadUtil
-
获得堆栈项
- getStart(int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.PageUtil
-
将页数和每页条目数转换为开始位置
此方法用于不包括结束位置的分页方法
例如:
页码:1,每页10 =》 0
页码:2,每页10 =》 10
……
- getStatus() - 异常错误 中的方法com.dahuatech.hutool.core.exceptions.StatefulException
-
- getStatus() - 类 中的方法com.dahuatech.hutool.http.HttpResponse
-
获取状态码
- getStr(K) - 接口 中的方法com.dahuatech.hutool.core.getter.BasicTypeGetter
-
获取字符串型属性值
- getStr(K, String) - 接口 中的方法com.dahuatech.hutool.core.getter.OptBasicTypeGetter
-
获取字符串型属性值
若获得的值为不可见字符,使用默认值
- getStr(K, String) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getStr(K, String) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeFromStringGetter
-
- getStr(K) - 类 中的方法com.dahuatech.hutool.core.getter.OptNullBasicTypeGetter
-
获取字符串型属性值
无值或获取错误返回null
- getStr(String) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
- getStr(Map<?, ?>, Object) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
获取Map指定key的值,并转换为字符串
- getStr() - 类 中的静态方法com.dahuatech.hutool.core.swing.clipboard.ClipboardUtil
-
从剪贴板获取文本
- getStr(Transferable) - 类 中的静态方法com.dahuatech.hutool.core.swing.clipboard.ClipboardUtil
-
- getStrByGroup(String, String) - 接口 中的方法com.dahuatech.hutool.core.getter.GroupedTypeGetter
-
获取字符串型属性值
- getStream() - 类 中的方法com.dahuatech.hutool.core.io.resource.BytesResource
-
- getStream() - 类 中的方法com.dahuatech.hutool.core.io.resource.InputStreamResource
-
- getStream() - 类 中的方法com.dahuatech.hutool.core.io.resource.MultiResource
-
- getStream() - 接口 中的方法com.dahuatech.hutool.core.io.resource.Resource
-
- getStream(String) - 类 中的静态方法com.dahuatech.hutool.core.io.resource.ResourceUtil
-
- getStream() - 类 中的方法com.dahuatech.hutool.core.io.resource.StringResource
-
- getStream() - 类 中的方法com.dahuatech.hutool.core.io.resource.UrlResource
-
- getStream(URL) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
从URL中获取流
- getStreamSafe(String) - 类 中的静态方法com.dahuatech.hutool.core.io.resource.ResourceUtil
-
- getStrEscaped(K) - 类 中的方法com.dahuatech.hutool.json.JSONGetter
-
获取字符串类型值,并转义不可见字符,如'\n'换行符会被转义为字符串"\n"
- getStrEscaped(K, String) - 类 中的方法com.dahuatech.hutool.json.JSONGetter
-
获取字符串类型值,并转义不可见字符,如'\n'换行符会被转义为字符串"\n"
- getString(InputStream, Charset, boolean) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
从流中读取内容
首先尝试使用charset编码读取内容(如果为空默认UTF-8),如果isGetCharsetFromContent为true,则通过正则在正文中获取编码信息,转换为指定编码;
- getString(byte[], Charset, boolean) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
从流中读取内容
首先尝试使用charset编码读取内容(如果为空默认UTF-8),如果isGetCharsetFromContent为true,则通过正则在正文中获取编码信息,转换为指定编码;
- getStrList(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ListTypeGetter
-
获取String型属性值列表
- getStrs(String) - 接口 中的方法com.dahuatech.hutool.core.getter.ArrayTypeGetter
-
获取String型属性值数组
- getStrs(String, String[]) - 接口 中的方法com.dahuatech.hutool.core.getter.OptArrayTypeGetter
-
获取String型属性值数组
- getSupportedCipherSuites() - 类 中的方法com.dahuatech.hutool.http.ssl.CustomProtocolsSSLFactory
-
- getTargetType(Class<? extends Annotation>) - 类 中的静态方法com.dahuatech.hutool.core.annotation.AnnotationUtil
-
获取注解类可以用来修饰哪些程序元素,如 TYPE, METHOD, CONSTRUCTOR, FIELD, PARAMETER 等
- getTargetType() - 类 中的方法com.dahuatech.hutool.core.convert.AbstractConverter
-
获得此类实现类的泛型类型
- getTargetType() - 类 中的方法com.dahuatech.hutool.core.convert.impl.ArrayConverter
-
- getTargetType() - 类 中的方法com.dahuatech.hutool.core.convert.impl.BeanConverter
-
- getTargetType() - 类 中的方法com.dahuatech.hutool.core.convert.impl.CastConverter
-
- getTargetType() - 类 中的方法com.dahuatech.hutool.core.convert.impl.EnumConverter
-
- getTargetType() - 类 中的方法com.dahuatech.hutool.core.convert.impl.GenericEnumConverter
-
- getTargetType() - 类 中的方法com.dahuatech.hutool.core.convert.impl.Jdk8DateConverter
-
- getTargetType() - 类 中的方法com.dahuatech.hutool.core.convert.impl.MapConverter
-
- getTargetType() - 类 中的方法com.dahuatech.hutool.core.convert.impl.NumberConverter
-
- getTargetType() - 类 中的方法com.dahuatech.hutool.core.convert.impl.PrimitiveConverter
-
- getTaskCount() - 类 中的方法com.dahuatech.hutool.core.date.StopWatch
-
获取任务数
- getTaskInfo() - 类 中的方法com.dahuatech.hutool.core.date.StopWatch
-
获取任务列表
- getTaskName() - 类 中的方法com.dahuatech.hutool.core.date.StopWatch.TaskInfo
-
获取任务名
- getThreads() - 类 中的静态方法com.dahuatech.hutool.core.thread.ThreadUtil
-
获取JVM中与当前线程同组的所有线程
- getThreads(ThreadGroup) - 类 中的静态方法com.dahuatech.hutool.core.thread.ThreadUtil
-
获取JVM中与当前线程同组的所有线程
使用数组二次拷贝方式,防止在线程列表获取过程中线程终止
from Voovan
- getThrowableList(Throwable) - 类 中的静态方法com.dahuatech.hutool.core.exceptions.ExceptionUtil
-
获取异常链上所有异常的集合,如果
Throwable 对象没有cause,返回只有一个节点的List
如果传入null,返回空集合
此方法来自Apache-Commons-Lang3
- getTime(String) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
- getTimeInstance(int) - 类 中的静态方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- getTimeInstance(int, Locale) - 类 中的静态方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- getTimeInstance(int, TimeZone) - 类 中的静态方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- getTimeInstance(int, TimeZone, Locale) - 类 中的静态方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- getTimeMillis() - 类 中的方法com.dahuatech.hutool.core.date.StopWatch.TaskInfo
-
获取任务花费时间(单位:毫秒)
- getTimeNanos() - 类 中的方法com.dahuatech.hutool.core.date.StopWatch.TaskInfo
-
获取任务花费时间(单位:纳秒)
- getTimeout() - 类 中的静态方法com.dahuatech.hutool.http.HttpGlobalConfig
-
获取全局默认的超时时长
- getTimeSeconds() - 类 中的方法com.dahuatech.hutool.core.date.StopWatch.TaskInfo
-
获取任务花费时间(单位:秒)
- getTimestamp(String) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
- getTimeZone() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
获取时区
- getTimeZone() - 类 中的方法com.dahuatech.hutool.core.date.format.AbstractDateBasic
-
- getTimeZone() - 接口 中的方法com.dahuatech.hutool.core.date.format.DateBasic
-
获得时区
- getTimeZone() - 类 中的方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- getTmpDir() - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获取临时文件目录
- getTmpDirPath() - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获取临时文件路径(绝对路径)
- getTotalTimeMillis() - 类 中的方法com.dahuatech.hutool.core.date.StopWatch
-
获取所有任务的总花费时间(毫秒)
- getTotalTimeNanos() - 类 中的方法com.dahuatech.hutool.core.date.StopWatch
-
获取所有任务的总花费时间(纳秒)
- getTotalTimeSeconds() - 类 中的方法com.dahuatech.hutool.core.date.StopWatch
-
获取所有任务的总花费时间(秒)
- getTransferData(DataFlavor) - 类 中的方法com.dahuatech.hutool.core.swing.clipboard.ImageSelection
-
获取图片
- getTransferDataFlavors() - 类 中的方法com.dahuatech.hutool.core.swing.clipboard.ImageSelection
-
获取元数据类型信息
- getType(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileTypeUtil
-
根据文件流的头部信息获得文件类型
- getType(InputStream) - 类 中的静态方法com.dahuatech.hutool.core.io.FileTypeUtil
-
根据文件流的头部信息获得文件类型
- getType(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileTypeUtil
-
根据文件流的头部信息获得文件类型
- getType(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
根据文件流的头部信息获得文件类型
- getType() - 类 中的方法com.dahuatech.hutool.core.lang.TypeReference
-
获取用户定义的泛型参数
- getType(Field) - 类 中的静态方法com.dahuatech.hutool.core.util.TypeUtil
-
获取字段对应的Type类型
方法优先获取GenericType,获取不到则获取Type
- getType(int) - 类 中的静态方法com.dahuatech.icc.util.CharUtil
-
获取字符类型
- getTypeArgument(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得给定类的第一个泛型参数
- getTypeArgument(Class<?>, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
获得给定类的泛型参数
- getTypeArgument(Object) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
获得给定类的第一个泛型参数
- getTypeArgument(Object, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
获得给定类的第一个泛型参数
- getTypeArgument(Type) - 类 中的静态方法com.dahuatech.hutool.core.util.TypeUtil
-
获得给定类的第一个泛型参数
- getTypeArgument(Type, int) - 类 中的静态方法com.dahuatech.hutool.core.util.TypeUtil
-
获得给定类的泛型参数
- getTypeArguments(Type) - 类 中的静态方法com.dahuatech.hutool.core.util.TypeUtil
-
获得指定类型中所有泛型参数类型,例如:
class A<T>
class B extends A<String>
通过此方法,传入B.class即可得到String
- getTypeByPath(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileTypeUtil
-
通过路径获得文件类型
- getURIs() - 类 中的方法com.dahuatech.hutool.http.cookie.ThreadLocalCookieStore
-
- getUrl() - 类 中的方法com.dahuatech.hutool.core.io.resource.BytesResource
-
- getUrl() - 类 中的方法com.dahuatech.hutool.core.io.resource.InputStreamResource
-
- getUrl() - 类 中的方法com.dahuatech.hutool.core.io.resource.MultiResource
-
- getUrl() - 接口 中的方法com.dahuatech.hutool.core.io.resource.Resource
-
- getUrl() - 类 中的方法com.dahuatech.hutool.core.io.resource.StringResource
-
- getUrl() - 类 中的方法com.dahuatech.hutool.core.io.resource.UrlResource
-
- getURL(String) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
获得URL
- getURL(String, Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
获得URL
- getURL(File) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
获得URL,常用于使用绝对路径时的情况
- getUrl() - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
获取请求URL
- getUrl() - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
获取请求URL
- getURLs(File...) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
获得URL,常用于使用绝对路径时的情况
- getUsableLocalPort() - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
查找1024~65535范围内的可用端口
此方法只检测给定范围内的随机一个端口,检测65535-1024次
来自org.springframework.util.SocketUtils
- getUsableLocalPort(int) - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
查找指定范围内的可用端口,最大值为65535
此方法只检测给定范围内的随机一个端口,检测65535-minPort次
来自org.springframework.util.SocketUtils
- getUsableLocalPort(int, int) - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
查找指定范围内的可用端口
此方法只检测给定范围内的随机一个端口,检测maxPort-minPort次
来自org.springframework.util.SocketUtils
- getUsableLocalPorts(int, int, int) - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
获取多个本地可用端口
来自org.springframework.util.SocketUtils
- getUsedSize() - 类 中的方法com.dahuatech.hutool.cache.file.AbstractFileCache
-
- getUserHomeDir() - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获取用户目录
- getUserHomePath() - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获取用户路径(绝对路径)
- getUtf8Reader(Path) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得一个文件读取器
- getUtf8Reader(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得一个文件读取器
- getUtf8Reader(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得一个文件读取器
- getValue() - 类 中的方法com.dahuatech.hutool.cache.impl.CacheObj
-
获取值
- getValue(Object) - 类 中的方法com.dahuatech.hutool.core.bean.BeanDesc.PropDesc
-
获取字段值
首先调用字段对应的Getter方法获取值,如果Getter方法不存在,则判断字段如果为public,则直接获取字段值
- getValue() - 枚举 中的方法com.dahuatech.hutool.core.date.DateField
-
- getValue() - 枚举 中的方法com.dahuatech.hutool.core.date.Month
-
- getValue() - 枚举 中的方法com.dahuatech.hutool.core.date.Quarter
-
- getValue() - 枚举 中的方法com.dahuatech.hutool.core.date.Season
-
已过时。
- getValue() - 枚举 中的方法com.dahuatech.hutool.core.date.Week
-
- getValue() - 枚举 中的方法com.dahuatech.hutool.core.img.ScaleType
-
- getValue() - 类 中的方法com.dahuatech.hutool.core.io.checksum.CRC16
-
- getValue() - 类 中的方法com.dahuatech.hutool.core.io.checksum.CRC8
-
- getValue() - 枚举 中的方法com.dahuatech.hutool.core.io.file.LineSeparator
-
- getValue() - 类 中的方法com.dahuatech.hutool.core.lang.Pair
-
获取值
- getValue() - 枚举 中的方法com.dahuatech.hutool.core.thread.RejectPolicy
-
获取RejectedExecutionHandler枚举值
- getValue() - 枚举 中的方法com.dahuatech.hutool.core.util.ModifierUtil.ModifierType
-
- getValue() - 枚举 中的方法com.dahuatech.hutool.crypto.asymmetric.AsymmetricAlgorithm
-
获取算法字符串表示,区分大小写
- getValue() - 枚举 中的方法com.dahuatech.hutool.crypto.asymmetric.SignAlgorithm
-
获取算法字符串表示,区分大小写
- getValue() - 枚举 中的方法com.dahuatech.hutool.crypto.digest.DigestAlgorithm
-
获取算法字符串表示
- getValue() - 枚举 中的方法com.dahuatech.hutool.crypto.digest.HmacAlgorithm
-
- getValue() - 枚举 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricAlgorithm
-
获得算法的字符串表示形式
- getValue() - 枚举 中的方法com.dahuatech.hutool.http.webservice.SoapProtocol
-
获取版本值信息
- getVersion(String) - 类 中的方法com.dahuatech.hutool.http.useragent.Browser
-
获取浏览器版本
- getVersion() - 类 中的方法com.dahuatech.hutool.http.useragent.UserAgent
-
获取浏览器版本
- getWebRoot() - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获取Web项目下的web root路径
原理是首先获取ClassPath路径,由于在web项目中ClassPath位于 WEB-INF/classes/下,故向上获取两级目录即可。
- getWeight() - 类 中的方法com.dahuatech.hutool.core.lang.WeightRandom.WeightObj
-
获取权重
- getWidth() - 类 中的静态方法com.dahuatech.hutool.core.swing.ScreenUtil
-
获取屏幕宽度
- getWorkerId(long) - 类 中的方法com.dahuatech.hutool.core.lang.Snowflake
-
根据Snowflake的ID,获取机器id
- getWriter(Image, String) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
- getWriter(String) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
- getWriter(boolean) - 类 中的方法com.dahuatech.hutool.core.io.file.FileWriter
-
获得一个带缓存的写入对象
- getWriter(String, String, boolean) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得一个带缓存的写入对象
- getWriter(String, Charset, boolean) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得一个带缓存的写入对象
- getWriter(File, String, boolean) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得一个带缓存的写入对象
- getWriter(File, Charset, boolean) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得一个带缓存的写入对象
- getWriter(OutputStream, String) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
获得一个Writer
- getWriter(OutputStream, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
获得一个Writer
- getWriter(String, Charset) - 类 中的静态方法com.dahuatech.hutool.core.text.csv.CsvUtil
-
获取CSV生成器(写出器),使用默认配置,覆盖已有文件(如果存在)
- getWriter(File, Charset) - 类 中的静态方法com.dahuatech.hutool.core.text.csv.CsvUtil
-
获取CSV生成器(写出器),使用默认配置,覆盖已有文件(如果存在)
- getWriter(String, Charset, boolean) - 类 中的静态方法com.dahuatech.hutool.core.text.csv.CsvUtil
-
获取CSV生成器(写出器),使用默认配置
- getWriter(File, Charset, boolean) - 类 中的静态方法com.dahuatech.hutool.core.text.csv.CsvUtil
-
获取CSV生成器(写出器),使用默认配置
- getWriter(File, Charset, boolean, CsvWriteConfig) - 类 中的静态方法com.dahuatech.hutool.core.text.csv.CsvUtil
-
获取CSV生成器(写出器)
- getWriter(Writer) - 类 中的静态方法com.dahuatech.hutool.core.text.csv.CsvUtil
-
获取CSV生成器(写出器)
- getWriter(Writer, CsvWriteConfig) - 类 中的静态方法com.dahuatech.hutool.core.text.csv.CsvUtil
-
获取CSV生成器(写出器)
- getWriter() - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
获得StringWriter
- getYearByIdCard(String) - 类 中的静态方法com.dahuatech.hutool.core.util.IdcardUtil
-
根据身份编号获取生日年,只支持15或18位身份证号码
- getZodiac(int, int) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
通过生日计算星座
- getZodiac(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.Zodiac
-
通过生日计算星座
- getZodiac(Calendar) - 类 中的静态方法com.dahuatech.hutool.core.date.Zodiac
-
通过生日计算星座
- getZodiac(Month, int) - 类 中的静态方法com.dahuatech.hutool.core.date.Zodiac
-
通过生日计算星座
- getZodiac(int, int) - 类 中的静态方法com.dahuatech.hutool.core.date.Zodiac
-
通过生日计算星座
- GlobalBouncyCastleProvider - com.dahuatech.hutool.crypto中的枚举
-
全局单例的 org.bouncycastle.jce.provider.BouncyCastleProvider 对象
- GlobalCookieManager - com.dahuatech.hutool.http.cookie中的类
-
全局Cookie管理器,只针对ICC请求有效
- GlobalCookieManager() - 类 的构造器com.dahuatech.hutool.http.cookie.GlobalCookieManager
-
- GlobalHeaders - com.dahuatech.hutool.http中的枚举
-
- GlobalLogFactory - com.dahuatech.hutool.log中的类
-
全局日志工厂类
用于减少日志工厂创建,减少日志库探测
- GlobalLogFactory() - 类 的构造器com.dahuatech.hutool.log.GlobalLogFactory
-
- GlobalPruneTimer - com.dahuatech.hutool.cache中的枚举
-
全局缓存清理定时器池,用于在需要过期支持的缓存对象中超时任务池
- GlobalSerializeMapping - com.dahuatech.hutool.json.serialize中的类
-
全局的序列化和反序列化器映射
在JSON和Java对象转换过程中,优先使用注册于此处的自定义转换
- GlobalSerializeMapping() - 类 的构造器com.dahuatech.hutool.json.serialize.GlobalSerializeMapping
-
- GlobalThreadPool - com.dahuatech.hutool.core.thread中的类
-
全局公共线程池
此线程池是一个无限线程池,即加入的线程不等待任何线程,直接执行
- GraphicsUtil - com.dahuatech.hutool.core.img中的类
-
- GraphicsUtil() - 类 的构造器com.dahuatech.hutool.core.img.GraphicsUtil
-
- gray() - 类 中的方法com.dahuatech.hutool.core.img.Img
-
彩色转为黑白
- gray(File, File) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
彩色转为黑白
- gray(InputStream, OutputStream) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
彩色转为黑白
此方法并不关闭流
- gray(ImageInputStream, ImageOutputStream) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
彩色转为黑白
此方法并不关闭流
- gray(Image, File) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
彩色转为黑白
- gray(Image, OutputStream) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
彩色转为黑白
此方法并不关闭流
- gray(Image, ImageOutputStream) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
彩色转为黑白
此方法并不关闭流
- gray(Image) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
彩色转为黑白
- group(Collection<T>, CollUtil.Hash<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
- GROUP_VAR - 类 中的静态变量com.dahuatech.hutool.core.lang.PatternPool
-
分组
- GROUP_VAR - 类 中的静态变量com.dahuatech.hutool.core.lang.Validator
-
分组
- groupByField(Collection<T>, String) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
根据元素的指定字段名分组,非Bean都放在第一个分组中
- GroupedTypeGetter - com.dahuatech.hutool.core.getter中的接口
-
基于分组的Get接口
- GT - 类 中的静态变量com.dahuatech.hutool.http.HtmlUtil
-
- GT - 类 中的静态变量com.dahuatech.hutool.json.XML
-
The Character '>'.
- gzip(String, String) - 类 中的静态方法com.dahuatech.hutool.core.util.ZipUtil
-
Gzip压缩处理
- gzip(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ZipUtil
-
Gzip压缩处理
- gzip(File) - 类 中的静态方法com.dahuatech.hutool.core.util.ZipUtil
-
Gzip压缩文件
- gzip(InputStream) - 类 中的静态方法com.dahuatech.hutool.core.util.ZipUtil
-
Gzip压缩文件
- gzip(InputStream, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ZipUtil
-
Gzip压缩文件
- handle(BufferedReader) - 接口 中的方法com.dahuatech.hutool.core.io.file.FileReader.ReaderHandler
-
- handle(String) - 类 中的方法com.dahuatech.hutool.core.io.file.Tailer.ConsoleLineHandler
-
- handle(String) - 接口 中的方法com.dahuatech.hutool.core.io.LineHandler
-
处理一行数据,可以编辑后存入指定地方
- hasBlank(CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
是否包含空字符串
- hasContent() - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
是否有内容
- hasEmpty(Object...) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
- hasEmpty(Object...) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
- hasEmpty(CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
是否包含空字符串
- hasField(Class<?>, String) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
查找指定类中是否包含指定名称对应的字段,包括所有字段(包括非public字段),也包括父类和Object类的字段
- hasGetter(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
判断是否为Bean对象
判定方法是是否存在只有一个参数的setXXX方法
- hash(T) - 接口 中的方法com.dahuatech.hutool.core.collection.CollUtil.Hash
-
计算Hash值
- hash(Object) - 接口 中的方法com.dahuatech.hutool.core.lang.ConsistentHash.HashFunc
-
- hash(Collection<? extends CharSequence>) - 类 中的方法com.dahuatech.hutool.core.text.Simhash
-
指定文本计算simhash值
- hash128(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.MurmurHash
-
Murmur3 128-bit Hash值计算
- hash128(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.lang.MurmurHash
-
Murmur3 128-bit 算法.
- hash128(byte[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.lang.MurmurHash
-
Murmur3 128-bit variant.
- hash32(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.MurmurHash
-
Murmur3 32-bit Hash值计算
- hash32(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.lang.MurmurHash
-
Murmur3 32-bit Hash值计算
- hash32(byte[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.lang.MurmurHash
-
Murmur3 32-bit Hash值计算
- hash64(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.MurmurHash
-
Murmur3 64-bit Hash值计算
- hash64(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.lang.MurmurHash
-
Murmur3 64-bit 算法
This is essentially MSB 8 bytes of Murmur3 128-bit variant.
- hash64(byte[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.lang.MurmurHash
-
Murmur3 64-bit 算法
This is essentially MSB 8 bytes of Murmur3 128-bit variant.
- hashCode() - 类 中的方法com.dahuatech.hutool.core.bean.DynaBean
-
- hashCode() - 类 中的方法com.dahuatech.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() - 类 中的方法com.dahuatech.hutool.core.comparator.ComparableComparator
-
- hashCode() - 类 中的方法com.dahuatech.hutool.core.comparator.ComparatorChain
-
- hashCode() - 类 中的方法com.dahuatech.hutool.core.comparator.ReverseComparator
-
- hashCode() - 类 中的方法com.dahuatech.hutool.core.date.format.AbstractDateBasic
-
- hashCode() - 类 中的方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- hashCode() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableBool
-
- hashCode() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableByte
-
- hashCode() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableDouble
-
- hashCode() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableFloat
-
- hashCode() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableInt
-
- hashCode() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableLong
-
- hashCode() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableObj
-
- hashCode() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableShort
-
- hashCode() - 类 中的方法com.dahuatech.hutool.core.lang.Tuple
-
- hashCode() - 类 中的方法com.dahuatech.hutool.core.lang.UUID
-
返回此 UUID 的哈希码。
- hashCode() - 类 中的方法com.dahuatech.hutool.core.lang.WeightRandom.WeightObj
-
- hashCode() - 类 中的方法com.dahuatech.hutool.http.useragent.UserAgentInfo
-
- hashCode() - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- hashCode() - 类 中的方法com.dahuatech.hutool.json.JSONNull
-
- hashCode() - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
- HashCodeBuilder - com.dahuatech.hutool.core.builder中的类
-
- HashCodeBuilder() - 类 的构造器com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Uses two hard coded choices for the constants needed to build a hashCode.
- HashCodeBuilder(int, int) - 类 的构造器com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Two randomly chosen, odd numbers must be passed in.
- hashpw(String) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.BCrypt
-
生成密文,使用长度为10的加盐方式
- hashpw(String, String) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.BCrypt
-
生成密文
- HashUtil - com.dahuatech.hutool.core.util中的类
-
Hash算法大全
推荐使用FNV1算法
- HashUtil() - 类 的构造器com.dahuatech.hutool.core.util.HashUtil
-
- hasModifier(Class<?>, ModifierUtil.ModifierType...) - 类 中的静态方法com.dahuatech.hutool.core.util.ModifierUtil
-
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
- hasModifier(Constructor<?>, ModifierUtil.ModifierType...) - 类 中的静态方法com.dahuatech.hutool.core.util.ModifierUtil
-
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
- hasModifier(Method, ModifierUtil.ModifierType...) - 类 中的静态方法com.dahuatech.hutool.core.util.ModifierUtil
-
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
- hasModifier(Field, ModifierUtil.ModifierType...) - 类 中的静态方法com.dahuatech.hutool.core.util.ModifierUtil
-
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
- hasMoreElements() - 类 中的方法com.dahuatech.hutool.core.collection.IteratorEnumeration
-
- hasNext() - 类 中的方法com.dahuatech.hutool.cache.impl.CacheObjIterator
-
- hasNext() - 类 中的方法com.dahuatech.hutool.cache.impl.CacheValuesIterator
-
- hasNext() - 类 中的方法com.dahuatech.hutool.core.collection.ArrayIter
-
- hasNext() - 类 中的方法com.dahuatech.hutool.core.collection.CopiedIter
-
- hasNext() - 类 中的方法com.dahuatech.hutool.core.collection.EnumerationIter
-
- hasNext() - 类 中的方法com.dahuatech.hutool.core.collection.LineIter
-
- hasNext() - 类 中的方法com.dahuatech.hutool.core.io.resource.MultiResource
-
- hasNext() - 类 中的方法com.dahuatech.hutool.core.lang.Range
-
- hasNull(Object) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
- hasNull(Iterable<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
是否包含null元素
- hasNull(Iterable<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
是否包含null元素
- hasNull(Iterator<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
是否包含null元素
- hasNull(T...) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
是否包含null元素
- hasNullField(Object) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
判断Bean是否包含值为null的属性
对象本身为null也返回true
- hasSetter(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
判断是否有Setter方法
判定方法是是否存在只有一个参数的setXXX方法
- hasTypeVeriable(Type...) - 类 中的静态方法com.dahuatech.hutool.core.util.TypeUtil
-
指定泛型数组中是否含有泛型变量
- head(String) - 类 中的静态方法com.dahuatech.hutool.http.HttpRequest
-
HEAD请求
- header(String) - 枚举 中的方法com.dahuatech.hutool.http.GlobalHeaders
-
根据name获取头信息
- header(Header) - 枚举 中的方法com.dahuatech.hutool.http.GlobalHeaders
-
根据name获取头信息
- header(String, String, boolean) - 枚举 中的方法com.dahuatech.hutool.http.GlobalHeaders
-
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
- header(Header, String, boolean) - 枚举 中的方法com.dahuatech.hutool.http.GlobalHeaders
-
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
- header(Header, String) - 枚举 中的方法com.dahuatech.hutool.http.GlobalHeaders
-
设置一个header
覆盖模式,则替换之前的值
- header(String, String) - 枚举 中的方法com.dahuatech.hutool.http.GlobalHeaders
-
设置一个header
覆盖模式,则替换之前的值
- header(Map<String, List<String>>) - 枚举 中的方法com.dahuatech.hutool.http.GlobalHeaders
-
设置请求头
不覆盖原有请求头
- Header - com.dahuatech.hutool.http中的枚举
-
Http 头域
- header(String) - 类 中的方法com.dahuatech.hutool.http.HttpBase
-
根据name获取头信息
根据RFC2616规范,header的name不区分大小写
- header(Header) - 类 中的方法com.dahuatech.hutool.http.HttpBase
-
根据name获取头信息
- header(String, String, boolean) - 类 中的方法com.dahuatech.hutool.http.HttpBase
-
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
- header(Header, String, boolean) - 类 中的方法com.dahuatech.hutool.http.HttpBase
-
设置一个header
如果覆盖模式,则替换之前的值,否则加入到值列表中
- header(Header, String) - 类 中的方法com.dahuatech.hutool.http.HttpBase
-
设置一个header
覆盖模式,则替换之前的值
- header(String, String) - 类 中的方法com.dahuatech.hutool.http.HttpBase
-
设置一个header
覆盖模式,则替换之前的值
- header(Map<String, List<String>>) - 类 中的方法com.dahuatech.hutool.http.HttpBase
-
设置请求头
不覆盖原有请求头
- header(Map<String, List<String>>, boolean) - 类 中的方法com.dahuatech.hutool.http.HttpBase
-
设置请求头
- header(String, String, boolean) - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
设置请求头
当请求头存在时,覆盖之
- header(Header, String, boolean) - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
设置请求头
当请求头存在时,覆盖之
- header(Map<String, List<String>>, boolean) - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
设置请求头
不覆盖原有请求头
- header(String) - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
获取Http请求头
- header(Header) - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
获取Http请求头
- headerList(String) - 枚举 中的方法com.dahuatech.hutool.http.GlobalHeaders
-
根据name获取头信息列表
- headerList(String) - 类 中的方法com.dahuatech.hutool.http.HttpBase
-
根据name获取头信息列表
- headerMap(Map<String, String>, boolean) - 类 中的方法com.dahuatech.hutool.http.HttpBase
-
设置请求头
- headers - 枚举 中的变量com.dahuatech.hutool.http.GlobalHeaders
-
存储头信息
- headers() - 枚举 中的方法com.dahuatech.hutool.http.GlobalHeaders
-
获取headers
- headers - 类 中的变量com.dahuatech.hutool.http.HttpBase
-
存储头信息
- headers() - 类 中的方法com.dahuatech.hutool.http.HttpBase
-
获取headers
- headers() - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
获取所有Http请求头
- HEX - 类 中的静态变量com.dahuatech.hutool.core.lang.PatternPool
-
16进制字符串
- hexStrToStr(String, Charset) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
- hexToBytes(String) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
Hex字符串转换为Byte值
- hexToColor(String) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
16进制的颜色值转换为Color对象,例如#fcf6d6
- hexToStr(String, Charset) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
十六进制转换字符串
- HexUtil - com.dahuatech.hutool.core.util中的类
-
十六进制(简写为hex或下标16)在数学中是一种逢16进1的进位制,一般用数字0到9和字母A到F表示(其中:A~F即10~15)。
- HexUtil() - 类 的构造器com.dahuatech.hutool.core.util.HexUtil
-
- hide(String, int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.IdcardUtil
-
隐藏指定位置的几个身份证号数字为“*”
- hide(CharSequence, int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
替换指定字符串的指定区间内字符为"*"
- hideIpPart(String) - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
隐藏掉IP地址的最后一部分为 * 代替
- hideIpPart(long) - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
隐藏掉IP地址的最后一部分为 * 代替
- hitCount - 类 中的变量com.dahuatech.hutool.cache.impl.AbstractCache
-
命中数
- hmac(HmacAlgorithm, byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
创建HMac对象,调用digest方法可获得hmac值
- hmac(HmacAlgorithm, SecretKey) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
创建HMac对象,调用digest方法可获得hmac值
- HMac - com.dahuatech.hutool.crypto.digest中的类
-
HMAC摘要算法
HMAC,全称为“Hash Message Authentication Code”,中文名“散列消息鉴别码”
主要是利用哈希算法,以一个密钥和一个消息为输入,生成一个消息摘要作为输出。
- HMac(HmacAlgorithm) - 类 的构造器com.dahuatech.hutool.crypto.digest.HMac
-
构造,自动生成密钥
- HMac(HmacAlgorithm, byte[]) - 类 的构造器com.dahuatech.hutool.crypto.digest.HMac
-
构造
- HMac(HmacAlgorithm, SecretKey) - 类 的构造器com.dahuatech.hutool.crypto.digest.HMac
-
构造
- HMac(String, byte[]) - 类 的构造器com.dahuatech.hutool.crypto.digest.HMac
-
构造
- HMac(String, SecretKey) - 类 的构造器com.dahuatech.hutool.crypto.digest.HMac
-
构造
- HMac(MacEngine) - 类 的构造器com.dahuatech.hutool.crypto.digest.HMac
-
构造
- hmac(HmacAlgorithm, String) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
创建HMac对象,调用digest方法可获得hmac值
- hmac(HmacAlgorithm, byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
创建HMac对象,调用digest方法可获得hmac值
- hmac(HmacAlgorithm, SecretKey) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
创建HMac对象,调用digest方法可获得hmac值
- HmacAlgorithm - com.dahuatech.hutool.crypto.digest中的枚举
-
HMAC算法类型
see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#Mac
- hmacMd5(String) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
HmacMD5加密器
例:
HmacMD5加密:hmacMd5(key).digest(data)
HmacMD5加密并转为16进制字符串:hmacMd5(key).digestHex(data)
- hmacMd5(byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
HmacMD5加密器
例:
HmacMD5加密:hmacMd5(key).digest(data)
HmacMD5加密并转为16进制字符串:hmacMd5(key).digestHex(data)
- hmacMd5() - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
HmacMD5加密器,生成随机KEY
例:
HmacMD5加密:hmacMd5().digest(data)
HmacMD5加密并转为16进制字符串:hmacMd5().digestHex(data)
- hmacSha1(String) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
HmacSHA1加密器
例:
HmacSHA1加密:hmacSha1(key).digest(data)
HmacSHA1加密并转为16进制字符串:hmacSha1(key).digestHex(data)
- hmacSha1(byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
HmacSHA1加密器
例:
HmacSHA1加密:hmacSha1(key).digest(data)
HmacSHA1加密并转为16进制字符串:hmacSha1(key).digestHex(data)
- hmacSha1() - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
HmacSHA1加密器,生成随机KEY
例:
HmacSHA1加密:hmacSha1().digest(data)
HmacSHA1加密并转为16进制字符串:hmacSha1().digestHex(data)
- hmacSha256(String, String) - 类 中的静态方法com.dahuatech.icc.util.SignUtil
-
- hmacSm3(byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SmUtil
-
HmacSM3算法实现
- Holder<T> - com.dahuatech.hutool.core.lang中的类
-
为不可变的对象引用提供一个可变的包装,在java中支持引用传递。
- Holder() - 类 的构造器com.dahuatech.hutool.core.lang.Holder
-
构造
- Holder(T) - 类 的构造器com.dahuatech.hutool.core.lang.Holder
-
构造
- hour(boolean) - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
获得指定日期的小时数部分
- hour(Date, boolean) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
获得指定日期的小时数部分
- HTML40_EXTENDED_ESCAPE - 类 中的静态变量com.dahuatech.hutool.core.text.escape.Html4Escape
-
- HTML40_EXTENDED_UNESCAPE - 类 中的静态变量com.dahuatech.hutool.core.text.escape.Html4Unescape
-
- Html4Escape - com.dahuatech.hutool.core.text.escape中的类
-
HTML4的ESCAPE
- Html4Escape() - 类 的构造器com.dahuatech.hutool.core.text.escape.Html4Escape
-
- Html4Unescape - com.dahuatech.hutool.core.text.escape中的类
-
HTML4的UNESCAPE
- Html4Unescape() - 类 的构造器com.dahuatech.hutool.core.text.escape.Html4Unescape
-
- HTML_AMP - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- HTML_APOS - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- HTML_GT - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- HTML_LT - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- HTML_NBSP - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- HTML_QUOTE - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- HTMLFilter - com.dahuatech.hutool.http中的类
-
HTML filtering utility for protecting against XSS (Cross Site Scripting).
- HTMLFilter() - 类 的构造器com.dahuatech.hutool.http.HTMLFilter
-
Default constructor.
- HTMLFilter(boolean) - 类 的构造器com.dahuatech.hutool.http.HTMLFilter
-
Set debug flag to true.
- HTMLFilter(Map<String, Object>) - 类 的构造器com.dahuatech.hutool.http.HTMLFilter
-
Map-parameter configurable constructor.
- htmlSpecialChars(String) - 类 中的静态方法com.dahuatech.hutool.http.HTMLFilter
-
- HtmlUtil - com.dahuatech.hutool.http中的类
-
HTML工具类
比如我们在使用爬虫爬取HTML页面后,需要对返回页面的HTML内容做一定处理,
比如去掉指定标签(例如广告栏等)、去除JS、去掉样式等等,这些操作都可以使用此工具类完成。
- HtmlUtil() - 类 的构造器com.dahuatech.hutool.http.HtmlUtil
-
- HTTP_1_0 - 类 中的静态变量com.dahuatech.hutool.http.HttpBase
-
HTTP/1.0
- HTTP_1_1 - 类 中的静态变量com.dahuatech.hutool.http.HttpBase
-
HTTP/1.1
- HTTP_ACCEPTED - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 202: Accepted.
- HTTP_BAD_GATEWAY - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 502: Bad Gateway.
- HTTP_BAD_METHOD - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 405: Method Not Allowed.
- HTTP_BAD_REQUEST - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 400: Bad Request.
- HTTP_CLIENT_TIMEOUT - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 408: Request Time-Out.
- HTTP_CONFLICT - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 409: Conflict.
- HTTP_CREATED - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 201: Created.
- HTTP_DATETIME_FORMAT - 类 中的静态变量com.dahuatech.hutool.core.date.DatePattern
-
- HTTP_DATETIME_PATTERN - 类 中的静态变量com.dahuatech.hutool.core.date.DatePattern
-
HTTP头中日期时间格式:EEE, dd MMM yyyy HH:mm:ss z
- HTTP_ENTITY_TOO_LARGE - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 413: Request Entity Too Large.
- HTTP_FORBIDDEN - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 403: Forbidden.
- HTTP_GATEWAY_TIMEOUT - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 504: Gateway Timeout.
- HTTP_GONE - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 410: Gone.
- HTTP_INTERNAL_ERROR - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 500: Internal Server Error.
- HTTP_LENGTH_REQUIRED - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 411: Length Required.
- HTTP_MOVED_PERM - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 301: Moved Permanently.
- HTTP_MOVED_TEMP - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 302: Temporary Redirect.
- HTTP_MULT_CHOICE - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 300: Multiple Choices.
- HTTP_NO_CONTENT - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 204: No Content.
- HTTP_NOT_ACCEPTABLE - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 406: Not Acceptable.
- HTTP_NOT_AUTHORITATIVE - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 203: Non-Authoritative Information.
- HTTP_NOT_FOUND - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 404: Not Found.
- HTTP_NOT_IMPLEMENTED - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 501: Not Implemented.
- HTTP_NOT_MODIFIED - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 304: Not Modified.
- HTTP_OK - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 200: OK.
- HTTP_PARTIAL - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 206: Partial Content.
- HTTP_PAYMENT_REQUIRED - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 402: Payment Required.
- HTTP_PRECON_FAILED - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 412: Precondition Failed.
- HTTP_PROXY_AUTH - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 407: Proxy Authentication Required.
- HTTP_REQ_TOO_LONG - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 414: Request-URI Too Large.
- HTTP_RESET - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 205: Reset Content.
- HTTP_SEE_OTHER - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 303: See Other.
- HTTP_UNAUTHORIZED - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 401: Unauthorized.
- HTTP_UNAVAILABLE - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 503: Service Unavailable.
- HTTP_UNSUPPORTED_TYPE - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 415: Unsupported Media Type.
- HTTP_USE_PROXY - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 305: Use Proxy.
- HTTP_VERSION - 类 中的静态变量com.dahuatech.hutool.http.HttpStatus
-
HTTP Status-Code 505: HTTP Version Not Supported.
- HttpBase<T> - com.dahuatech.hutool.http中的类
-
http基类
- HttpBase() - 类 的构造器com.dahuatech.hutool.http.HttpBase
-
- HttpConnection - com.dahuatech.hutool.http中的类
-
http连接对象,对HttpURLConnection的包装
- HttpConnection(URL, Proxy) - 类 的构造器com.dahuatech.hutool.http.HttpConnection
-
构造HttpConnection
- httpConnection - 类 中的变量com.dahuatech.hutool.http.HttpResponse
-
持有连接对象
- HttpException - com.dahuatech.hutool.http中的异常错误
-
HTTP异常
- HttpException(Throwable) - 异常错误 的构造器com.dahuatech.hutool.http.HttpException
-
- HttpException(String) - 异常错误 的构造器com.dahuatech.hutool.http.HttpException
-
- HttpException(String, Object...) - 异常错误 的构造器com.dahuatech.hutool.http.HttpException
-
- HttpException(String, Throwable) - 异常错误 的构造器com.dahuatech.hutool.http.HttpException
-
- HttpException(Throwable, String, Object...) - 异常错误 的构造器com.dahuatech.hutool.http.HttpException
-
- HttpGlobalConfig - com.dahuatech.hutool.http中的类
-
HTTP 全局参数配置
- HttpGlobalConfig() - 类 的构造器com.dahuatech.hutool.http.HttpGlobalConfig
-
- HttpInputStream - com.dahuatech.hutool.http中的类
-
HTTP输入流,此流用于包装Http请求响应内容的流,用于解析各种压缩、分段的响应流内容
- HttpInputStream(HttpResponse) - 类 的构造器com.dahuatech.hutool.http.HttpInputStream
-
构造
- HttpRequest - com.dahuatech.hutool.http中的类
-
http请求类
Http请求类用于构建Http请求并同步获取结果,此类通过CookieManager持有域名对应的Cookie值,再次请求时会自动附带Cookie信息
- HttpRequest(String) - 类 的构造器com.dahuatech.hutool.http.HttpRequest
-
构造
- HttpResponse - com.dahuatech.hutool.http中的类
-
Http响应类
非线程安全对象
- HttpResponse(HttpConnection, Charset, boolean, boolean) - 类 的构造器com.dahuatech.hutool.http.HttpResponse
-
构造
- HttpStatus - com.dahuatech.hutool.http中的类
-
HTTP状态码
- HttpStatus() - 类 的构造器com.dahuatech.hutool.http.HttpStatus
-
- HttpUtil - com.dahuatech.hutool.http中的类
-
Http请求工具类
- HttpUtil() - 类 的构造器com.dahuatech.hutool.http.HttpUtil
-
- httpVersion - 类 中的变量com.dahuatech.hutool.http.HttpBase
-
http版本
- httpVersion() - 类 中的方法com.dahuatech.hutool.http.HttpBase
-
返回http版本
- httpVersion(String) - 类 中的方法com.dahuatech.hutool.http.HttpBase
-
设置http版本
- IccException - com.dahuatech.icc.exception中的异常错误
-
- IccException(int, String) - 异常错误 的构造器com.dahuatech.icc.exception.IccException
-
- IccException(int, Throwable) - 异常错误 的构造器com.dahuatech.icc.exception.IccException
-
- IdcardUtil - com.dahuatech.hutool.core.util中的类
-
身份证相关工具类
see https://www.oschina.net/code/snippet_1611_2881
本工具并没有对行政区划代码做校验,如有需求,请参阅(2018年10月):
http://www.mca.gov.cn/article/sj/xzqh/2018/201804-12/20181011221630.html
- IdcardUtil() - 类 的构造器com.dahuatech.hutool.core.util.IdcardUtil
-
- identityHashCode(Object) - 类 中的静态方法com.dahuatech.hutool.core.util.HashUtil
-
根据对象的内存地址生成相应的Hash值
- idnToASCII(String) - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
Unicode域名转puny code
- IdUtil - com.dahuatech.hutool.core.util中的类
-
ID生成器工具类,此工具类中主要封装:
1.
- IdUtil() - 类 的构造器com.dahuatech.hutool.core.util.IdUtil
-
- ignoreCase - 类 中的变量com.dahuatech.hutool.core.bean.copier.CopyOptions
-
是否忽略字段大小写
- ignoreCase() - 类 中的方法com.dahuatech.hutool.core.bean.copier.CopyOptions
-
设置忽略字段的大小写
- ignoreError - 类 中的变量com.dahuatech.hutool.core.bean.copier.CopyOptions
-
是否忽略字段注入错误
- ignoreError() - 类 中的方法com.dahuatech.hutool.core.bean.copier.CopyOptions
-
设置忽略字段的注入错误
- ignoreNullValue - 类 中的变量com.dahuatech.hutool.core.bean.copier.CopyOptions
-
是否忽略空值,当源对象的值为null时,true: 忽略而不注入此值,false: 注入null
- ignoreNullValue() - 类 中的方法com.dahuatech.hutool.core.bean.copier.CopyOptions
-
设置忽略空值,当源对象的值为null时,忽略而不注入此值
- ignoreProperties - 类 中的变量com.dahuatech.hutool.core.bean.copier.CopyOptions
-
忽略的目标对象中属性列表,设置一个属性列表,不拷贝这些属性值
- IgnoreWatcher - com.dahuatech.hutool.core.io.watch.watchers中的类
-
跳过所有事件处理Watcher
用户继承此类后实现需要监听的方法
- IgnoreWatcher() - 类 的构造器com.dahuatech.hutool.core.io.watch.watchers.IgnoreWatcher
-
- IMAGE_TYPE_BMP - 类 中的静态变量com.dahuatech.hutool.core.img.ImgUtil
-
- IMAGE_TYPE_GIF - 类 中的静态变量com.dahuatech.hutool.core.img.ImgUtil
-
- IMAGE_TYPE_JPEG - 类 中的静态变量com.dahuatech.hutool.core.img.ImgUtil
-
- IMAGE_TYPE_JPG - 类 中的静态变量com.dahuatech.hutool.core.img.ImgUtil
-
- IMAGE_TYPE_PNG - 类 中的静态变量com.dahuatech.hutool.core.img.ImgUtil
-
- IMAGE_TYPE_PSD - 类 中的静态变量com.dahuatech.hutool.core.img.ImgUtil
-
- ImageSelection - com.dahuatech.hutool.core.swing.clipboard中的类
-
- ImageSelection(Image) - 类 的构造器com.dahuatech.hutool.core.swing.clipboard.ImageSelection
-
构造
- ImageUtil - com.dahuatech.hutool.core.util中的类
-
- ImageUtil() - 类 的构造器com.dahuatech.hutool.core.util.ImageUtil
-
已过时。
- ImageUtil - com.dahuatech.icc.util中的类
-
- ImageUtil() - 类 的构造器com.dahuatech.icc.util.ImageUtil
-
- Img - com.dahuatech.hutool.core.img中的类
-
图像编辑器
- Img(BufferedImage) - 类 的构造器com.dahuatech.hutool.core.img.Img
-
构造
- ImgUtil - com.dahuatech.hutool.core.img中的类
-
图片处理工具类:
功能:缩放图像、切割图像、旋转、图像类型转换、彩色转黑白、文字水印、图片水印等
参考:http://blog.csdn.net/zhangzhikaixinya/article/details/8459400
- ImgUtil() - 类 的构造器com.dahuatech.hutool.core.img.ImgUtil
-
- in - 类 中的变量com.dahuatech.hutool.http.HttpResponse
-
Http请求原始流
- increment() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableByte
-
值+1
- increment() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableDouble
-
值+1
- increment() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableFloat
-
值+1
- increment() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableInt
-
值+1
- increment() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableLong
-
值+1
- increment() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableShort
-
值+1
- increment(String) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
对值加一,如果值不存在,赋值1,如果为数字类型,做加一操作
- INDENT_DEFAULT - 类 中的静态变量com.dahuatech.hutool.core.util.XmlUtil
-
XML格式化输出默认缩进量
- index() - 类 中的方法com.dahuatech.hutool.core.io.FastByteBuffer
-
当前缓冲位于缓冲区的索引位
- INDEX_NOT_FOUND - 类 中的静态变量com.dahuatech.hutool.core.util.ArrayUtil
-
数组中元素未找到的下标,值为-1
- INDEX_NOT_FOUND - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- IndexedComparator<T> - com.dahuatech.hutool.core.comparator中的类
-
按照数组的顺序正序排列,数组的元素位置决定了对象的排序先后
如果参与排序的元素并不在数组中,则排序在前
- IndexedComparator(T...) - 类 的构造器com.dahuatech.hutool.core.comparator.IndexedComparator
-
构造
- indexedFormat(CharSequence, Object...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
有序的格式化文本,使用{number}做为占位符
例:
通常使用:format("this is {0} for {1}", "a", "b") =》 this is a for b
- indexOf(Object) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
- indexOf(T[], Object) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
- indexOf(long[], long) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
- indexOf(int[], int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
- indexOf(short[], short) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
- indexOf(char[], char) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
- indexOf(byte[], byte) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
- indexOf(double[], double) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
- indexOf(float[], float) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
- indexOf(boolean[], boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
- indexOf(CharSequence, char) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
指定范围内查找指定字符
- indexOf(CharSequence, char, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
指定范围内查找指定字符
- indexOf(CharSequence, char, int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
指定范围内查找指定字符
- indexOf(CharSequence, CharSequence, int, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
指定范围内查找字符串
- indexOf(Object) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- indexOfIgnoreCase(CharSequence[], CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
- indexOfIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
指定范围内查找字符串,忽略大小写
StrUtil.indexOfIgnoreCase(null, *, *) = -1
StrUtil.indexOfIgnoreCase(*, null, *) = -1
StrUtil.indexOfIgnoreCase("", "", 0) = 0
StrUtil.indexOfIgnoreCase("aabaabaa", "A", 0) = 0
StrUtil.indexOfIgnoreCase("aabaabaa", "B", 0) = 2
StrUtil.indexOfIgnoreCase("aabaabaa", "AB", 0) = 1
StrUtil.indexOfIgnoreCase("aabaabaa", "B", 3) = 5
StrUtil.indexOfIgnoreCase("aabaabaa", "B", 9) = -1
StrUtil.indexOfIgnoreCase("aabaabaa", "B", -1) = 2
StrUtil.indexOfIgnoreCase("aabaabaa", "", 2) = 2
StrUtil.indexOfIgnoreCase("abc", "", 9) = -1
- indexOfIgnoreCase(CharSequence, CharSequence, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
指定范围内查找字符串
StrUtil.indexOfIgnoreCase(null, *, *) = -1
StrUtil.indexOfIgnoreCase(*, null, *) = -1
StrUtil.indexOfIgnoreCase("", "", 0) = 0
StrUtil.indexOfIgnoreCase("aabaabaa", "A", 0) = 0
StrUtil.indexOfIgnoreCase("aabaabaa", "B", 0) = 2
StrUtil.indexOfIgnoreCase("aabaabaa", "AB", 0) = 1
StrUtil.indexOfIgnoreCase("aabaabaa", "B", 3) = 5
StrUtil.indexOfIgnoreCase("aabaabaa", "B", 9) = -1
StrUtil.indexOfIgnoreCase("aabaabaa", "B", -1) = 2
StrUtil.indexOfIgnoreCase("aabaabaa", "", 2) = 2
StrUtil.indexOfIgnoreCase("abc", "", 9) = -1
- info(Throwable) - 类 中的方法com.dahuatech.hutool.log.AbstractLog
-
- info(String, Object...) - 类 中的方法com.dahuatech.hutool.log.AbstractLog
-
- info(Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.AbstractLog
-
- info(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.commons.ApacheCommonsLog
-
- info(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.console.ConsoleLog
-
- info(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.jboss.JbossLog
-
- info(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.jdk.JdkLog
-
- info(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.log4j.Log4jLog
-
- info(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.log4j2.Log4j2Log
-
- info(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.slf4j.Slf4jLog
-
- info(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.tinylog.TinyLog
-
- info(Throwable) - 接口 中的方法com.dahuatech.hutool.log.level.InfoLog
-
打印 INFO 等级的日志
- info(String, Object...) - 接口 中的方法com.dahuatech.hutool.log.level.InfoLog
-
打印 INFO 等级的日志
- info(Throwable, String, Object...) - 接口 中的方法com.dahuatech.hutool.log.level.InfoLog
-
打印 INFO 等级的日志
- info(String, Throwable, String, Object...) - 接口 中的方法com.dahuatech.hutool.log.level.InfoLog
-
打印 INFO 等级的日志
- info(String, Object...) - 类 中的静态方法com.dahuatech.hutool.log.StaticLog
-
Info等级日志,小于Warn
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
- info(Log, String, Object...) - 类 中的静态方法com.dahuatech.hutool.log.StaticLog
-
Info等级日志,小于Warn
- InfoLog - com.dahuatech.hutool.log.level中的接口
-
INFO级别日志接口
- init() - 类 中的方法com.dahuatech.hutool.core.io.BOMInputStream
-
Read-ahead four bytes and check for BOM marks.
- init() - 类 中的方法com.dahuatech.hutool.core.io.watch.WatchMonitor
-
- init() - 类 中的方法com.dahuatech.hutool.core.lang.loader.AtomicLoader
-
初始化被加载的对象
如果对象从未被加载过,调用此方法初始化加载对象,此方法只被调用一次
- init() - 类 中的方法com.dahuatech.hutool.core.lang.loader.LazyLoader
-
初始化被加载的对象
如果对象从未被加载过,调用此方法初始化加载对象,此方法只被调用一次
- init() - 类 中的静态方法com.dahuatech.hutool.core.thread.GlobalThreadPool
-
初始化全局线程池
- init(String, PrivateKey, PublicKey) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AsymmetricCrypto
-
- init(String, PrivateKey, PublicKey) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.BaseAsymmetric
-
初始化
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密(签名)或者解密(校验)
- init(String, PrivateKey, PublicKey) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.Sign
-
初始化
- init(PrivateKey, PublicKey) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.SM2
-
初始化
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密(签名)或者解密(校验)
- init(String, PrivateKey, PublicKey) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.SM2
-
- init(boolean, CipherParameters) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.SM2Engine
-
初始化引擎
- init(String, Provider) - 类 中的方法com.dahuatech.hutool.crypto.digest.Digester
-
初始化
- init(Digest, CipherParameters) - 类 中的方法com.dahuatech.hutool.crypto.digest.mac.BCHMacEngine
-
初始化
- init(String, byte[]) - 类 中的方法com.dahuatech.hutool.crypto.digest.mac.DefaultHMacEngine
-
初始化
- init(String, SecretKey) - 类 中的方法com.dahuatech.hutool.crypto.digest.mac.DefaultHMacEngine
-
初始化
- init(String, SecretKey) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
初始化
- init(SoapProtocol) - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
初始化
- initCache() - 类 中的方法com.dahuatech.hutool.cache.file.AbstractFileCache
-
初始化实现文件缓存的缓存对象
- initCache() - 类 中的方法com.dahuatech.hutool.cache.file.LFUFileCache
-
- initCache() - 类 中的方法com.dahuatech.hutool.cache.file.LRUFileCache
-
- initCipher() - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AsymmetricCrypto
-
- initCipher() - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.RSA
-
- initConn() - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
初始化连接相关信息
- initKeys() - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.BaseAsymmetric
-
生成公钥和私钥
- input() - 类 中的静态方法com.dahuatech.hutool.core.lang.Console
-
读取用户输入的内容(在控制台敲回车前的内容)
- InputStreamResource - com.dahuatech.hutool.core.io.resource中的类
-
- InputStreamResource(InputStream) - 类 的构造器com.dahuatech.hutool.core.io.resource.InputStreamResource
-
构造
- InputStreamResource(InputStream, String) - 类 的构造器com.dahuatech.hutool.core.io.resource.InputStreamResource
-
构造
- insert(int, Object) - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
追加对象,对象会被转换为字符串
- insert(int, char) - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
插入指定字符
- insert(int, char[]) - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
指定位置插入数据
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
- insert(int, char[], int, int) - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
指定位置插入数据
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
- insert(int, CharSequence) - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
指定位置插入字符串的某个部分
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
- insert(int, CharSequence, int, int) - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
指定位置插入字符串的某个部分
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
- insert(T[], int, T...) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
将新元素插入到到已有数组中的某个位置
添加新元素会生成一个新的数组,不影响原数组
如果插入位置为为负数,从原数组从后向前计数,若大于原数组长度,则空白处用null填充
- insert(Object, int, T...) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
将新元素插入到到已有数组中的某个位置
添加新元素会生成一个新的数组,不影响原数组
如果插入位置为为负数,从原数组从后向前计数,若大于原数组长度,则空白处用null填充
- INSTANCE - 类 中的静态变量com.dahuatech.hutool.core.comparator.ComparableComparator
-
单例
- INSTANCE - 类 中的静态变量com.dahuatech.hutool.core.comparator.VersionComparator
-
单例
- interrupt(Thread, boolean) - 类 中的静态方法com.dahuatech.hutool.core.thread.ThreadUtil
-
- intersection(Collection<T>, Collection<T>) - 类 中的静态方法com.dahuatech.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>...) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
多个集合的交集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最少的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c],此结果中只保留了两个c
- interval() - 类 中的方法com.dahuatech.hutool.core.date.TimeInterval
-
从开始到当前的间隔时间(毫秒数)
如果使用纳秒计时,返回纳秒差,否则返回毫秒差
- intervalDay() - 类 中的方法com.dahuatech.hutool.core.date.TimeInterval
-
从开始到当前的间隔天数,取绝对值
- intervalHour() - 类 中的方法com.dahuatech.hutool.core.date.TimeInterval
-
从开始到当前的间隔小时数,取绝对值
- intervalMinute() - 类 中的方法com.dahuatech.hutool.core.date.TimeInterval
-
从开始到当前的间隔分钟数,取绝对值
- intervalMs() - 类 中的方法com.dahuatech.hutool.core.date.TimeInterval
-
从开始到当前的间隔时间(毫秒数)
- intervalPretty() - 类 中的方法com.dahuatech.hutool.core.date.TimeInterval
-
从开始到当前的间隔时间(毫秒数),返回XX天XX小时XX分XX秒XX毫秒
- intervalRestart() - 类 中的方法com.dahuatech.hutool.core.date.TimeInterval
-
- intervalSecond() - 类 中的方法com.dahuatech.hutool.core.date.TimeInterval
-
从开始到当前的间隔秒数,取绝对值
- intervalWeek() - 类 中的方法com.dahuatech.hutool.core.date.TimeInterval
-
从开始到当前的间隔周数,取绝对值
- intHash(int) - 类 中的静态方法com.dahuatech.hutool.core.util.HashUtil
-
Thomas Wang的算法,整数hash
- intToByte(int) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
int转byte
- intToBytes(int) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
int转byte数组
- intValue() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableByte
-
- intValue() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableDouble
-
- intValue() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableFloat
-
- intValue() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableInt
-
- intValue() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableLong
-
- intValue() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableShort
-
- INVALID_REGEX - 类 中的静态变量com.dahuatech.hutool.core.util.XmlUtil
-
在XML中无效的字符 正则
- inverse(Map<K, V>) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
- invoke(String, Object...) - 类 中的方法com.dahuatech.hutool.core.bean.DynaBean
-
执行原始Bean中的方法
- invoke(Object, Method, Object[]) - 类 中的方法com.dahuatech.hutool.core.map.MapProxy
-
- invoke(String, Object[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
非单例模式,如果是非静态方法,每次创建一个新对象
- invoke(String, boolean, Object...) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
- invoke(String, String, Object[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
非单例模式,如果是非静态方法,每次创建一个新对象
- invoke(String, String, boolean, Object...) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
- invoke(Object, Method, Object...) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
执行方法
- invoke(Object, String, Object...) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
执行对象中指定方法
- invokeStatic(Method, Object...) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
执行静态方法
- invokeWithCheck(Object, Method, Object...) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
执行方法
执行前要检查给定参数:
1.
- IORuntimeException - com.dahuatech.hutool.core.io中的异常错误
-
IO运行时异常,常用于对IOException的包装
- IORuntimeException(Throwable) - 异常错误 的构造器com.dahuatech.hutool.core.io.IORuntimeException
-
- IORuntimeException(String) - 异常错误 的构造器com.dahuatech.hutool.core.io.IORuntimeException
-
- IORuntimeException(String, Object...) - 异常错误 的构造器com.dahuatech.hutool.core.io.IORuntimeException
-
- IORuntimeException(String, Throwable) - 异常错误 的构造器com.dahuatech.hutool.core.io.IORuntimeException
-
- IORuntimeException(Throwable, String, Object...) - 异常错误 的构造器com.dahuatech.hutool.core.io.IORuntimeException
-
- IoUtil - com.dahuatech.hutool.core.io中的类
-
IO工具类
IO工具类只是辅助流的读写,并不负责关闭流。
- IoUtil() - 类 的构造器com.dahuatech.hutool.core.io.IoUtil
-
- IPV4 - 类 中的静态变量com.dahuatech.hutool.core.lang.PatternPool
-
IP v4
- IPV4 - 类 中的静态变量com.dahuatech.hutool.core.lang.Validator
-
IP v4
- ipv4ToLong(String) - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
根据ip地址计算出long型的数据
- IPV6 - 类 中的静态变量com.dahuatech.hutool.core.lang.PatternPool
-
IP v6
- IPV6 - 类 中的静态变量com.dahuatech.hutool.core.lang.Validator
-
IP v6
- isAbsolutePath(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
- isAbstract(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
是否为抽象类
- isAfter(Date) - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
是否在给定日期之后
- isAfterOrEquals(Date) - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
是否在给定日期之后或与给定日期相等
- isAllAssignableFrom(Class<?>[], Class<?>[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
比较判断types1和types2两组类,如果types1中所有的类都与types2对应位置的类相同,或者是其父类或接口,则返回true
- isAllBlank(CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
给定所有字符串是否为空白
- isAllCharMatch(CharSequence, Matcher<Character>) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
字符串的每一个字符是否都与定义的匹配器匹配
- isAllEmpty(Object...) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
- isAllEmpty(Object...) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
- isAllEmpty(CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
是否全部为空字符串
- isAllNotEmpty(Object...) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
- isAllNotEmpty(Object...) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
- isAllNull(Iterable<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
是否全部元素为null
- isAllNull(Iterator<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
是否全部元素为null
- isAlwaysMakeTags() - 类 中的方法com.dahuatech.hutool.http.HTMLFilter
-
- isAM() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
是否为上午
- isAM(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
是否为上午
- isAM(Calendar) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
是否为上午
- isAnnotationPresent(Class<? extends Annotation>) - 类 中的方法com.dahuatech.hutool.core.annotation.CombinationAnnotationElement
-
- isArray(Object) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
对象是否为数组对象
- isAscii(char) - 类 中的静态方法com.dahuatech.hutool.core.util.CharUtil
-
是否为ASCII字符,ASCII字符位于0~127之间
CharUtil.isAscii('a') = true
CharUtil.isAscii('A') = true
CharUtil.isAscii('3') = true
CharUtil.isAscii('-') = true
CharUtil.isAscii('\n') = true
CharUtil.isAscii('©') = false
- isAscii(char) - 类 中的静态方法com.dahuatech.icc.util.CharUtil
-
是否为ASCII字符,ASCII字符位于0~127之间
CharUtil.isAscii('a') = true
CharUtil.isAscii('A') = true
CharUtil.isAscii('3') = true
CharUtil.isAscii('-') = true
CharUtil.isAscii('\n') = true
CharUtil.isAscii('©') = false
- isAsciiControl(char) - 类 中的静态方法com.dahuatech.hutool.core.util.CharUtil
-
是否为ASCII控制符(不可见字符),控制符位于0~31和127
CharUtil.isAsciiControl('a') = false
CharUtil.isAsciiControl('A') = false
CharUtil.isAsciiControl('3') = false
CharUtil.isAsciiControl('-') = false
CharUtil.isAsciiControl('\n') = true
CharUtil.isAsciiControl('©') = false
- isAsciiControl(char) - 类 中的静态方法com.dahuatech.icc.util.CharUtil
-
是否为ASCII控制符(不可见字符),控制符位于0~31和127
CharUtil.isAsciiControl('a') = false
CharUtil.isAsciiControl('A') = false
CharUtil.isAsciiControl('3') = false
CharUtil.isAsciiControl('-') = false
CharUtil.isAsciiControl('\n') = true
CharUtil.isAsciiControl('©') = false
- isAsciiPrintable(char) - 类 中的静态方法com.dahuatech.hutool.core.util.CharUtil
-
是否为可见ASCII字符,可见字符位于32~126之间
CharUtil.isAsciiPrintable('a') = true
CharUtil.isAsciiPrintable('A') = true
CharUtil.isAsciiPrintable('3') = true
CharUtil.isAsciiPrintable('-') = true
CharUtil.isAsciiPrintable('\n') = false
CharUtil.isAsciiPrintable('©') = false
- isAsciiPrintable(char) - 类 中的静态方法com.dahuatech.icc.util.CharUtil
-
是否为可见ASCII字符,可见字符位于32~126之间
CharUtil.isAsciiPrintable('a') = true
CharUtil.isAsciiPrintable('A') = true
CharUtil.isAsciiPrintable('3') = true
CharUtil.isAsciiPrintable('-') = true
CharUtil.isAsciiPrintable('\n') = false
CharUtil.isAsciiPrintable('©') = false
- isAssignable(Class<?>, Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.lang.Assert
-
断言 superType.isAssignableFrom(subType) 是否为 true.
- isAssignable(Class<?>, Class<?>, String, Object...) - 类 中的静态方法com.dahuatech.hutool.core.lang.Assert
-
断言 superType.isAssignableFrom(subType) 是否为 true.
- isAssignable(Class<?>, Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
检查目标类是否可以从原类转化
转化包括:
1、原类是对象,目标类型是原类型实现的接口
2、目标类型是原类型的父类
3、两者是原始类型或者包装类型(相互转换)
- isBasicType(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
是否为基本类型(包括包装类和原始类)
- isBasicType(Object) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
是否为基本类型,包括包装类型和非包装类型
- isBean(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
判断是否为Bean对象
判定方法是是否存在只有一个参数的setXXX方法
- isBefore(Date) - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
是否在给定日期之前
- isBeforeOrEquals(Date) - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
是否在给定日期之前或与给定日期相等
- isBeside(long, long) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
判断两个数字是否相邻,例如1和2相邻,1和3不相邻
判断方法为做差取绝对值判断是否为1
- isBeside(int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
判断两个数字是否相邻,例如1和2相邻,1和3不相邻
判断方法为做差取绝对值判断是否为1
- isBetween(Number, Number, Number) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
检查给定的数字是否在指定范围内
- isBirthday(int, int, int) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为生日
- isBirthday(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为生日
只支持以下几种格式:
yyyyMMdd
yyyy-MM-dd
yyyy/MM/dd
yyyy.MM.dd
yyyy年MM月dd日
- isBlank(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
字符串是否为空白 空白的定义如下:
1、为null
2、为不可见字符(如空格)
3、""
- isBlankChar(char) - 类 中的静态方法com.dahuatech.hutool.core.util.CharUtil
-
是否空白符
空白符包括空格、制表符、全角空格和不间断空格
- isBlankChar(int) - 类 中的静态方法com.dahuatech.hutool.core.util.CharUtil
-
是否空白符
空白符包括空格、制表符、全角空格和不间断空格
- isBlankChar(char) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
- isBlankChar(int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
- isBlankChar(char) - 类 中的静态方法com.dahuatech.icc.util.CharUtil
-
是否空白符
空白符包括空格、制表符、全角空格和不间断空格
- isBlankChar(int) - 类 中的静态方法com.dahuatech.icc.util.CharUtil
-
是否空白符
空白符包括空格、制表符、全角空格和不间断空格
- isBlankIfStr(Object) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
如果对象是字符串是否为空白,空白的定义如下:
1、为null
2、为不可见字符(如空格)
3、""
- isBlankOrUndefined(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
检查字符串是否为null、空白串、“null”、“undefined”
- isBoolean(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
给定类是否为Boolean或者boolean
- isCalledBy(Class<?>) - 接口 中的方法com.dahuatech.hutool.core.lang.caller.Caller
-
是否被指定类调用
- isCalledBy(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.lang.caller.CallerUtil
-
是否被指定类调用
- isCalledBy(Class<?>) - 类 中的方法com.dahuatech.hutool.core.lang.caller.SecurityManagerCaller
-
- isCalledBy(Class<?>) - 类 中的方法com.dahuatech.hutool.core.lang.caller.StackTraceCaller
-
- isCausedBy(Throwable, Class<? extends Exception>...) - 类 中的静态方法com.dahuatech.hutool.core.exceptions.ExceptionUtil
-
判断是否由指定异常类引起
- isChar(Object) - 类 中的静态方法com.dahuatech.hutool.core.util.CharUtil
-
给定对象对应的类是否为字符类,字符类包括:
Character.class
char.class
- isChar(Object) - 类 中的静态方法com.dahuatech.icc.util.CharUtil
-
给定对象对应的类是否为字符类,字符类包括:
Character.class
char.class
- isCharClass(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.CharUtil
-
给定类名是否为字符类,字符类包括:
Character.class
char.class
- isCharClass(Class<?>) - 类 中的静态方法com.dahuatech.icc.util.CharUtil
-
给定类名是否为字符类,字符类包括:
Character.class
char.class
- isChinese(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为汉字
- isChunked() - 类 中的方法com.dahuatech.hutool.http.HttpResponse
-
是否为Transfer-Encoding:Chunked的内容
- isCitizenId(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为身份证号码(18位中国)
出生日期只支持到到2999年
- isCopyAttributes() - 类 中的方法com.dahuatech.hutool.core.io.file.FileCopier
-
是否拷贝所有属性
- isCopyContentIfDir() - 类 中的方法com.dahuatech.hutool.core.io.file.FileCopier
-
当拷贝来源是目录时是否只拷贝目录下的内容
- isDataFlavorSupported(DataFlavor) - 类 中的方法com.dahuatech.hutool.core.swing.clipboard.ImageSelection
-
是否支持指定元数据类型
- isDebugEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.commons.ApacheCommonsLog
-
- isDebugEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.console.ConsoleLog
-
- isDebugEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.jboss.JbossLog
-
- isDebugEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.jdk.JdkLog
-
- isDebugEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.log4j.Log4jLog
-
- isDebugEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.log4j2.Log4j2Log
-
- isDebugEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.slf4j.Slf4jLog
-
- isDebugEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.tinylog.TinyLog
-
- isDebugEnabled() - 接口 中的方法com.dahuatech.hutool.log.level.DebugLog
-
- isDefault(String) - 枚举 中的静态方法com.dahuatech.hutool.http.ContentType
-
是否为默认Content-Type,默认包括null和application/x-www-form-urlencoded
- isDeflate() - 类 中的方法com.dahuatech.hutool.http.HttpResponse
-
是否为zlib(Defalte)压缩过的内容
- isDirectory(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
判断是否为目录,如果path为null,则返回false
- isDirectory(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
判断是否为目录,如果file为null,则返回false
- isDirectory(Path, boolean) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
判断是否为目录,如果file为null,则返回false
- isDirEmpty(Path) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
目录是否为空
- isDirEmpty(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
目录是否为空
- isDocumented(Class<? extends Annotation>) - 类 中的静态方法com.dahuatech.hutool.core.annotation.AnnotationUtil
-
是否会保存到 Javadoc 文档中
- isDouble(String) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
判断字符串是否是浮点数
- isElement(Node) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
- isEmail(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为可用邮箱地址
- isEmoji(char) - 类 中的静态方法com.dahuatech.hutool.core.util.CharUtil
-
判断是否为emoji表情符
- isEmoji(char) - 类 中的静态方法com.dahuatech.icc.util.CharUtil
-
判断是否为emoji表情符
- isEmpty() - 接口 中的方法com.dahuatech.hutool.cache.Cache
-
缓存是否为空
- isEmpty() - 类 中的方法com.dahuatech.hutool.cache.impl.AbstractCache
-
- isEmpty() - 类 中的方法com.dahuatech.hutool.cache.impl.NoCache
-
- isEmpty(Object) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
判断Bean是否为空对象,空对象表示本身为null或者所有属性都为null
- isEmpty(Collection<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
集合是否为空
- isEmpty(Map<?, ?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
Map是否为空
- isEmpty(Iterable<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
Iterable是否为空
- isEmpty(Iterator<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
Iterator是否为空
- isEmpty(Enumeration<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
Enumeration是否为空
- isEmpty() - 类 中的方法com.dahuatech.hutool.core.collection.ConcurrentHashSet
-
- isEmpty(Iterable<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
Iterable是否为空
- isEmpty(Iterator<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
Iterator是否为空
- isEmpty() - 类 中的方法com.dahuatech.hutool.core.io.FastByteBuffer
-
- isEmpty(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
文件是否为空
目录:里面没有文件时为空 文件:文件大小为0时为空
- isEmpty(Object) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为空
对于String类型判定是否为empty(null 或 "")
- isEmpty() - 类 中的方法com.dahuatech.hutool.core.map.MapProxy
-
- isEmpty(Map<?, ?>) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
Map是否为空
- isEmpty() - 类 中的方法com.dahuatech.hutool.core.map.MapWrapper
-
- isEmpty() - 类 中的方法com.dahuatech.hutool.core.map.TableMap
-
- isEmpty() - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
- isEmpty() - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
是否为空
- isEmpty(T[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组是否为空
- isEmpty(Object) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组是否为空
此方法会匹配单一对象,如果此对象为null则返回true
如果此对象为非数组,理解为此对象为数组的第一个元素,则返回false
如果此对象为数组对象,数组长度大于0情况下返回false,否则返回true
- isEmpty(long[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组是否为空
- isEmpty(int[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组是否为空
- isEmpty(short[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组是否为空
- isEmpty(char[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组是否为空
- isEmpty(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组是否为空
- isEmpty(double[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组是否为空
- isEmpty(float[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组是否为空
- isEmpty(boolean[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组是否为空
- isEmpty(Object) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
判断指定对象是否为空,支持:
1.
- isEmpty(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
字符串是否为空,空的定义如下:
1、为null
2、为""
- isEmpty() - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- isEmpty() - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
- isEmpty(Collection<?>) - 类 中的静态方法com.dahuatech.icc.util.CollectionUtil
-
集合是否为空
- isEmpty(Map<?, ?>) - 类 中的静态方法com.dahuatech.icc.util.CollectionUtil
-
Map是否为空
- isEmpty(String) - 类 中的静态方法com.dahuatech.icc.util.StringUtils
-
- isEmptyIfStr(Object) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
如果对象是字符串是否为空串空的定义如下:
1、为null
2、为""
- isEmptyOrUndefined(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
检查字符串是否为null、“”、“null”、“undefined”
- isEnabled(Level) - 类 中的方法com.dahuatech.hutool.log.AbstractLog
-
- isEnabled(Level) - 类 中的方法com.dahuatech.hutool.log.dialect.console.ConsoleLog
-
- isEnabled(Level) - 类 中的方法com.dahuatech.hutool.log.dialect.tinylog.TinyLog
-
- isEnabled(Level) - 接口 中的方法com.dahuatech.hutool.log.Log
-
是否开启指定日志
- isEnum(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
判断类是否为枚举类型
- isEnum(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.EnumUtil
-
指定类是否为Enum类
- isEnum(Object) - 类 中的静态方法com.dahuatech.hutool.core.util.EnumUtil
-
指定类是否为Enum类
- isEquals() - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Returns true if the fields that have been checked are all equal.
- isEqualsMethod(Method) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
是否为equals方法
- isErrorEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.commons.ApacheCommonsLog
-
- isErrorEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.console.ConsoleLog
-
- isErrorEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.jboss.JbossLog
-
- isErrorEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.jdk.JdkLog
-
- isErrorEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.log4j.Log4jLog
-
- isErrorEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.log4j2.Log4j2Log
-
- isErrorEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.slf4j.Slf4jLog
-
- isErrorEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.tinylog.TinyLog
-
- isErrorEnabled() - 接口 中的方法com.dahuatech.hutool.log.level.ErrorLog
-
- isExpired(Date, DateField, int, Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
判定给定开始时间经过某段时间后是否过期
- isFalse(boolean, String, Object...) - 类 中的静态方法com.dahuatech.hutool.core.lang.Assert
-
断言是否为假,如果为
true 抛出
IllegalArgumentException 异常
Assert.isFalse(i < 0, "The value must be greater than zero");
- isFalse(boolean) - 类 中的静态方法com.dahuatech.hutool.core.lang.Assert
-
断言是否为假,如果为
true 抛出
IllegalArgumentException 异常
Assert.isFalse(i < 0);
- isFalse(boolean) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
给定值是否不为false
- isFalse(Boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
检查 Boolean 值是否为 false
BooleanUtil.isFalse(Boolean.TRUE) = false
BooleanUtil.isFalse(Boolean.FALSE) = true
BooleanUtil.isFalse(null) = false
- isFile(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
判断是否为文件,如果path为null,则返回false
- isFile(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
判断是否为文件,如果file为null,则返回false
- isFile(Path, boolean) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
判断是否为文件,如果file为null,则返回false
- isFileSeparator(char) - 类 中的静态方法com.dahuatech.hutool.core.util.CharUtil
-
是否为Windows或者Linux(Unix)文件分隔符
Windows平台下分隔符为\,Linux(Unix)为/
- isFileSeparator(char) - 类 中的静态方法com.dahuatech.icc.util.CharUtil
-
是否为Windows或者Linux(Unix)文件分隔符
Windows平台下分隔符为\,Linux(Unix)为/
- isFileURL(URL) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
提供的URL是否为文件
文件协议包括"file", "vfsfile" 或 "vfs".
- isFormUrlEncoed(String) - 枚举 中的静态方法com.dahuatech.hutool.http.ContentType
-
是否为application/x-www-form-urlencoded
- isFromOrSuppressedThrowable(Throwable, Class<? extends Throwable>) - 类 中的静态方法com.dahuatech.hutool.core.exceptions.ExceptionUtil
-
判断指定异常是否来自或者包含指定异常
- isFromOrSuppressedThrowable(Throwable, Class<? extends Throwable>, boolean) - 类 中的静态方法com.dahuatech.hutool.core.exceptions.ExceptionUtil
-
判断指定异常是否来自或者包含指定异常
- isFull() - 接口 中的方法com.dahuatech.hutool.cache.Cache
-
缓存是否已满,仅用于有空间限制的缓存对象
- isFull() - 类 中的方法com.dahuatech.hutool.cache.impl.AbstractCache
-
- isFull() - 类 中的方法com.dahuatech.hutool.cache.impl.NoCache
-
- isGeneral(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为英文字母 、数字和下划线
- isGeneral(CharSequence, int, int) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为给定长度范围的英文字母 、数字和下划线
- isGeneral(CharSequence, int) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为给定最小长度的英文字母 、数字和下划线
- isGeneralWithChinese(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为中文字、英文字母、数字和下划线
- isGreater(BigDecimal, BigDecimal) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
比较大小,参数1 > 参数2 返回true
- isGreaterOrEqual(BigDecimal, BigDecimal) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
比较大小,参数1 >= 参数2 返回true
- isGzip() - 类 中的方法com.dahuatech.hutool.http.HttpResponse
-
是否为gzip压缩过的内容
- isHashCodeMethod(Method) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
是否为hashCode方法
- isHex(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为Hex(16进制)字符串
- isHexChar(char) - 类 中的静态方法com.dahuatech.hutool.core.util.CharUtil
-
是否为16进制规范的字符,判断是否为如下字符
1. 0~9
2. a~f
4.
- isHexChar(char) - 类 中的静态方法com.dahuatech.icc.util.CharUtil
-
是否为16进制规范的字符,判断是否为如下字符
1. 0~9
2. a~f
4.
- isHexNumber(String) - 类 中的静态方法com.dahuatech.hutool.core.util.HexUtil
-
判断给定字符串是否为16进制数
如果是,需要使用对应数字类型对象的decode方法解码
例如:Integer.decode方法解码int类型的16进制数字
- isHttps(String) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
检测是否https
- isIgnoreCase() - 类 中的方法com.dahuatech.hutool.json.JSONConfig
-
是否忽略键的大小写
- isIgnoreError() - 类 中的方法com.dahuatech.hutool.json.JSONConfig
-
是否忽略转换过程中的异常
- isIgnoreNullValue() - 类 中的方法com.dahuatech.hutool.json.JSONConfig
-
是否忽略null值
- isIn(Date, Date) - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
- isIn(Date, Date, Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
- isInfoEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.commons.ApacheCommonsLog
-
- isInfoEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.console.ConsoleLog
-
- isInfoEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.jboss.JbossLog
-
- isInfoEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.jdk.JdkLog
-
- isInfoEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.log4j.Log4jLog
-
- isInfoEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.log4j2.Log4j2Log
-
- isInfoEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.slf4j.Slf4jLog
-
- isInfoEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.tinylog.TinyLog
-
- isInfoEnabled() - 接口 中的方法com.dahuatech.hutool.log.level.InfoLog
-
- isInherited(Class<? extends Annotation>) - 类 中的静态方法com.dahuatech.hutool.core.annotation.AnnotationUtil
-
是否可以被继承,默认为 false
- isInnerIP(String) - 类 中的静态方法com.dahuatech.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) - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
是否在CIDR规则配置范围内
方法来自:【成都】小邓
- isInstanceOf(Class<?>, T) - 类 中的静态方法com.dahuatech.hutool.core.lang.Assert
-
断言给定对象是否是给定类的实例
Assert.instanceOf(Foo.class, foo);
- isInstanceOf(Class<?>, T, String, Object...) - 类 中的静态方法com.dahuatech.hutool.core.lang.Assert
-
断言给定对象是否是给定类的实例
Assert.instanceOf(Foo.class, foo);
- isInteger(String) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
判断String是否是整数
支持10进制
- isIpv4(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为IPV4地址
- isIpv6(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为IPV6地址
- isJarFileURL(URL) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
提供的URL是否为Jar文件URL 判断依据为file协议且扩展名为.jar
- isJarURL(URL) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
提供的URL是否为jar包URL 协议包括: "jar", "zip", "vfszip" 或 "wsjar".
- isJdkClass(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
是否为JDK中定义的类或接口,判断依据:
1、以java.
- isJson(String) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
是否为JSON字符串,首尾都为大括号或中括号判定为JSON字符串
- isJsonArray(String) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
是否为JSONArray字符串,首尾都为中括号判定为JSONArray字符串
- isJsonObj(String) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
是否为JSONObject字符串,首尾都为大括号判定为JSONObject字符串
- isKeepAlive() - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
- isLeapYear() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
是否闰年
- isLeapYear(int) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
是否闰年
- isLess(BigDecimal, BigDecimal) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
比较大小,参数1 < 参数2 返回true
- isLessOrEqual(BigDecimal, BigDecimal) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
比较大小,参数1<=参数2 返回true
- isLetter(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
判断字符串是否全部为字母组成,包括大写和小写字母和汉字
- isLetter(char) - 类 中的静态方法com.dahuatech.hutool.core.util.CharUtil
-
判断是否为字母(包括大写字母和小写字母)
字母包括A~Z和a~z
CharUtil.isLetter('a') = true
CharUtil.isLetter('A') = true
CharUtil.isLetter('3') = false
CharUtil.isLetter('-') = false
CharUtil.isLetter('\n') = false
CharUtil.isLetter('©') = false
- isLetter(char) - 类 中的静态方法com.dahuatech.icc.util.CharUtil
-
判断是否为字母(包括大写字母和小写字母)
字母包括A~Z和a~z
CharUtil.isLetter('a') = true
CharUtil.isLetter('A') = true
CharUtil.isLetter('3') = false
CharUtil.isLetter('-') = false
CharUtil.isLetter('\n') = false
CharUtil.isLetter('©') = false
- isLetterLower(char) - 类 中的静态方法com.dahuatech.hutool.core.util.CharUtil
-
检查字符是否为小写字母,小写字母指a~z
CharUtil.isLetterLower('a') = true
CharUtil.isLetterLower('A') = false
CharUtil.isLetterLower('3') = false
CharUtil.isLetterLower('-') = false
CharUtil.isLetterLower('\n') = false
CharUtil.isLetterLower('©') = false
- isLetterLower(char) - 类 中的静态方法com.dahuatech.icc.util.CharUtil
-
检查字符是否为小写字母,小写字母指a~z
CharUtil.isLetterLower('a') = true
CharUtil.isLetterLower('A') = false
CharUtil.isLetterLower('3') = false
CharUtil.isLetterLower('-') = false
CharUtil.isLetterLower('\n') = false
CharUtil.isLetterLower('©') = false
- isLetterOrNumber(char) - 类 中的静态方法com.dahuatech.hutool.core.util.CharUtil
-
是否为字符或数字,包括A~Z、a~z、0~9
CharUtil.isLetterOrNumber('a') = true
CharUtil.isLetterOrNumber('A') = true
CharUtil.isLetterOrNumber('3') = true
CharUtil.isLetterOrNumber('-') = false
CharUtil.isLetterOrNumber('\n') = false
CharUtil.isLetterOrNumber('©') = false
- isLetterOrNumber(char) - 类 中的静态方法com.dahuatech.icc.util.CharUtil
-
是否为字母或数字,包括A~Z、a~z、0~9
CharUtil.isLetterOrNumber('a') = true
CharUtil.isLetterOrNumber('A') = true
CharUtil.isLetterOrNumber('3') = true
CharUtil.isLetterOrNumber('-') = false
CharUtil.isLetterOrNumber('\n') = false
CharUtil.isLetterOrNumber('©') = false
- isLetterUpper(char) - 类 中的静态方法com.dahuatech.hutool.core.util.CharUtil
-
判断是否为大写字母,大写字母包括A~Z
CharUtil.isLetterUpper('a') = false
CharUtil.isLetterUpper('A') = true
CharUtil.isLetterUpper('3') = false
CharUtil.isLetterUpper('-') = false
CharUtil.isLetterUpper('\n') = false
CharUtil.isLetterUpper('©') = false
- isLetterUpper(char) - 类 中的静态方法com.dahuatech.icc.util.CharUtil
-
判断是否为大写字母,大写字母包括A~Z
CharUtil.isLetterUpper('a') = false
CharUtil.isLetterUpper('A') = true
CharUtil.isLetterUpper('3') = false
CharUtil.isLetterUpper('-') = false
CharUtil.isLetterUpper('\n') = false
CharUtil.isLetterUpper('©') = false
- isLocked() - 类 中的方法com.dahuatech.hutool.core.comparator.ComparatorChain
-
是否已经被锁定。
- isLong(String) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
判断字符串是否是Long类型
支持10进制
- isLowerCase(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
判断字符串是否全部为小写字母
- isLowerCase(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
给定字符串中的字母是否全部为小写,判断依据如下:
1.
- isMac(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为MAC地址
- isMactchRegex(String, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
通过正则表达式验证
- isMactchRegex(Pattern, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
通过正则表达式验证
- isMatch(String, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
给定内容是否匹配正则
- isMatch(Pattern, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
给定内容是否匹配正则
- isMatch(String) - 类 中的方法com.dahuatech.hutool.http.useragent.UserAgentInfo
-
指定内容中是否包含匹配此信息的内容
- isMatchName(Object, String, boolean) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
给定的Bean的类名是否匹配指定类名字符串
如果isSimple为false,则只匹配类名而忽略包名,例如:com.dahuatech.hutool.TestEntity只匹配TestEntity
如果isSimple为true,则匹配包括包名的全类名,例如:com.dahuatech.hutool.TestEntity匹配com.dahuatech.hutool.TestEntity
- isMobile(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为手机号码(中国)
- isMobile() - 类 中的方法com.dahuatech.hutool.http.useragent.Browser
-
是否移动浏览器
- isMobile() - 类 中的方法com.dahuatech.hutool.http.useragent.Platform
-
是否为移动平台
- isMobile() - 类 中的方法com.dahuatech.hutool.http.useragent.UserAgent
-
是否为移动平台
- isModifed(File, long) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
判断文件是否被改动
如果文件对象为 null 或者文件不存在,被视为改动
- isMoney(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为货币
- isMutable() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
- isNormalClass(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
是否为标准的类
这个类必须:
1、非接口
2、非抽象类
3、非Enum枚举
4、非数组
5、非注解
6、非原始类型(int, long等)
- isNotBlank(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
字符串是否为非空白 空白的定义如下:
1、不为null
2、不为不可见字符(如空格)
3、不为""
- isNotEmpty(Collection<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
集合是否为非空
- isNotEmpty(Map<?, ?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
Map是否为非空
- isNotEmpty(Iterable<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
Iterable是否为空
- isNotEmpty(Iterator<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
Iterator是否为空
- isNotEmpty(Enumeration<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
Enumeration是否为空
- isNotEmpty(Iterable<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
Iterable是否为空
- isNotEmpty(Iterator<?>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
Iterator是否为空
- isNotEmpty(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
目录是否为空
- isNotEmpty(Object) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为非空
对于String类型判定是否为empty(null 或 "")
- isNotEmpty(Map<?, ?>) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
Map是否为非空
- isNotEmpty(T[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组是否为非空
- isNotEmpty(Object) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组是否为非空
此方法会匹配单一对象,如果此对象为null则返回false
如果此对象为非数组,理解为此对象为数组的第一个元素,则返回true
如果此对象为数组对象,数组长度大于0情况下返回true,否则返回false
- isNotEmpty(long[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组是否为非空
- isNotEmpty(int[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组是否为非空
- isNotEmpty(short[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组是否为非空
- isNotEmpty(char[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组是否为非空
- isNotEmpty(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组是否为非空
- isNotEmpty(double[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组是否为非空
- isNotEmpty(float[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组是否为非空
- isNotEmpty(boolean[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组是否为非空
- isNotEmpty(Object) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
判断指定对象是否为非空,支持:
1.
- isNotEmpty(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
字符串是否为非空白 空白的定义如下:
1、不为null
2、不为""
- isNotNull(Object) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
给定值是否不为null
- isNotNull(Object) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
检查对象是否不为null
- isNotPublic(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
指定类是否为非public
- isNotPublic(Method) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
指定方法是否为非public
- isNull(Object, String, Object...) - 类 中的静态方法com.dahuatech.hutool.core.lang.Assert
-
- isNull(Object) - 类 中的静态方法com.dahuatech.hutool.core.lang.Assert
-
- isNull(Object) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
给定值是否为null
- isNull(Object) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
检查对象是否为null
判断标准为:
1. == null
2. equals(null)
- isNull(K) - 类 中的方法com.dahuatech.hutool.json.JSONGetter
-
key对应值是否为null或无此key
- isNull(Object) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
是否为null对象,null的情况包括:
1.
- isNullOrUndefined(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
检查字符串是否为null、“null”、“undefined”
- isNumber(String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证该字符串是否是数字
- isNumber(char) - 类 中的静态方法com.dahuatech.hutool.core.util.CharUtil
-
检查是否为数字字符,数字字符指0~9
CharUtil.isNumber('a') = false
CharUtil.isNumber('A') = false
CharUtil.isNumber('3') = true
CharUtil.isNumber('-') = false
CharUtil.isNumber('\n') = false
CharUtil.isNumber('©') = false
- isNumber(String) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
是否为数字,支持包括:
1、10进制
2、16进制数字(0x开头)
3、科学计数法形式(1234E3)
4、类型标识形式(123D)
5、正负数标识形式(+123、-234)
- isNumber(char) - 类 中的静态方法com.dahuatech.icc.util.CharUtil
-
检查是否为数字字符,数字字符指0~9
CharUtil.isNumber('a') = false
CharUtil.isNumber('A') = false
CharUtil.isNumber('3') = true
CharUtil.isNumber('-') = false
CharUtil.isNumber('\n') = false
CharUtil.isNumber('©') = false
- ISO8859_1_ESCAPE - 类 中的静态变量com.dahuatech.hutool.core.text.escape.Html4Escape
-
- ISO8859_1_UNESCAPE - 类 中的静态变量com.dahuatech.hutool.core.text.escape.Html4Unescape
-
- ISO_8859_1 - 类 中的静态变量com.dahuatech.hutool.core.util.CharsetUtil
-
ISO-8859-1
- isOk() - 类 中的方法com.dahuatech.hutool.http.HttpResponse
-
请求是否成功,判断依据为:状态码范围在200~299内。
- isOnlyCopyFile() - 类 中的方法com.dahuatech.hutool.core.io.file.FileCopier
-
当拷贝来源是目录时是否只拷贝文件而忽略子目录
- isOrder() - 类 中的方法com.dahuatech.hutool.json.JSONConfig
-
是否有序,顺序按照加入顺序排序
- isOverride() - 类 中的方法com.dahuatech.hutool.core.io.file.FileCopier
-
是否覆盖目标文件
- isPlateNumber(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为中国车牌号
- isPM() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
是否为下午
- isPM(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
是否为下午
- isPresent(String) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassLoaderUtil
-
- isPresent(String, ClassLoader) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassLoaderUtil
-
- isPrimes(int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
是否是质数(素数)
质数表的质数又称素数。
- isPrimitiveWrapper(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
是否为包装类型
- isPruneExpiredActive() - 类 中的方法com.dahuatech.hutool.cache.impl.AbstractCache
-
只有设置公共缓存失效时长或每个对象单独的失效时长时清理可用
- isPublic(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
指定类是否为Public
- isPublic(Method) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
指定方法是否为Public
- isPublic(Field) - 类 中的静态方法com.dahuatech.hutool.core.util.ModifierUtil
-
是否是Public字段
- isPublic(Method) - 类 中的静态方法com.dahuatech.hutool.core.util.ModifierUtil
-
是否是Public方法
- isPublic(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ModifierUtil
-
是否是Public类
- isPublic(Constructor<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ModifierUtil
-
是否是Public构造
- isRunning() - 类 中的方法com.dahuatech.hutool.core.date.StopWatch
-
检查是否有正在运行的任务
- isSameDay(Date, Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
比较两个日期是否为同一天
- isSameDay(Calendar, Calendar) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
比较两个日期是否为同一天
- isSameTime(Date, Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
是否为相同时间
- isSimpleTypeOrArray(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
是否简单值类型或简单值类型的数组
包括:原始类型,、String、other CharSequence, a Number, a Date, a URI, a URL, a Locale or a Class及其数组
- isSimpleValueType(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
是否为简单值类型
包括:原始类型,、String、other CharSequence, a Number, a Date, a URI, a URL, a Locale or a Class.
- isStatic(Method) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
是否为静态方法
- isStatic(Field) - 类 中的静态方法com.dahuatech.hutool.core.util.ModifierUtil
-
是否是static字段
- isStatic(Method) - 类 中的静态方法com.dahuatech.hutool.core.util.ModifierUtil
-
是否是static方法
- isStatic(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ModifierUtil
-
是否是static类
- isStripComments() - 类 中的方法com.dahuatech.hutool.http.HTMLFilter
-
- isSub(File, File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
判断给定的目录是否为给定文件或文件夹的子目录
- isSubEquals(CharSequence, int, CharSequence, int, int, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
截取两个字符串的不同部分(长度一致),判断截取的子串是否相同
任意一个字符串为null返回false
- isSurround(CharSequence, CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
给定字符串是否被字符包围
- isSurround(CharSequence, char, char) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
给定字符串是否被字符包围
- isSymlink(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
判断是否为符号链接文件
- isTopLevelClass(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
是否为顶层类,即定义在包中的类,而非定义在类中的内部类
- isToStringMethod(Method) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
是否为toString方法
- isTraceEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.commons.ApacheCommonsLog
-
- isTraceEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.console.ConsoleLog
-
- isTraceEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.jboss.JbossLog
-
- isTraceEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.jdk.JdkLog
-
- isTraceEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.log4j.Log4jLog
-
- isTraceEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.log4j2.Log4j2Log
-
- isTraceEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.slf4j.Slf4jLog
-
- isTraceEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.tinylog.TinyLog
-
- isTraceEnabled() - 接口 中的方法com.dahuatech.hutool.log.level.TraceLog
-
- isTrue(boolean, String, Object...) - 类 中的静态方法com.dahuatech.hutool.core.lang.Assert
-
断言是否为真,如果为
false 抛出
IllegalArgumentException 异常
Assert.isTrue(i > 0, "The value must be greater than zero");
- isTrue(boolean) - 类 中的静态方法com.dahuatech.hutool.core.lang.Assert
-
断言是否为真,如果为
false 抛出
IllegalArgumentException 异常
Assert.isTrue(i > 0, "The value must be greater than zero");
- isTrue(boolean) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
给定值是否为true
- isTrue(Boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
检查 Boolean 值是否为 true
BooleanUtil.isTrue(Boolean.TRUE) = true
BooleanUtil.isTrue(Boolean.FALSE) = false
BooleanUtil.isTrue(null) = false
- isUnknow(String) - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
检测给定字符串是否为未知,多用于检测HTTP请求相关
- isUnknow(Type) - 类 中的静态方法com.dahuatech.hutool.core.util.TypeUtil
-
- isUnknown() - 类 中的方法com.dahuatech.hutool.http.useragent.UserAgentInfo
-
是否为Unknown
- isUpperCase(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
判断字符串是否全部为大写字母
- isUpperCase(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
给定字符串中的字母是否全部为大写,判断依据如下:
1.
- isUrl(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为URL
- isUsableLocalPort(int) - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
检测本地端口可用性
来自org.springframework.util.SocketUtils
- isUUID(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为UUID
包括带横线标准格式和不带横线的简单模式
- isValid(String) - 类 中的静态方法com.dahuatech.hutool.core.lang.ObjectId
-
给定的字符串是否为有效的ObjectId
- isValidCard(String) - 类 中的静态方法com.dahuatech.hutool.core.util.IdcardUtil
-
是否有效身份证号
- isValidCard10(String) - 类 中的静态方法com.dahuatech.hutool.core.util.IdcardUtil
-
验证10位身份编码是否合法
- isValidCard15(String) - 类 中的静态方法com.dahuatech.hutool.core.util.IdcardUtil
-
验证15位身份编码是否合法
- isValidCard18(String) - 类 中的静态方法com.dahuatech.hutool.core.util.IdcardUtil
-
判断18位身份证的合法性 根据〖中华人民共和国国家标准GB11643-1999〗中有关公民身份号码的规定,公民身份号码是特征组合码,由十七位数字本体码和一位数字校验码组成。
- isValidHKCard(String) - 类 中的静态方法com.dahuatech.hutool.core.util.IdcardUtil
-
验证香港身份证号码(存在Bug,部份特殊身份证无法检查)
身份证前2位为英文字符,如果只出现一个英文字符则表示第一位是空格,对应数字58 前2位英文字符A-Z分别对应数字10-35 最后一位校验码为0-9的数字加上字符"A","A"代表10
将身份证号码全部转换为数字,分别对应乘9-1相加的总和,整除11则证件号码有效
- isValidIfNumber(Object) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
检查是否为有效的数字
检查Double和Float是否为无限大,或者Not a Number
非数字类型和Null将返回true
- isValidLine(String) - 类 中的方法com.dahuatech.hutool.core.collection.LineIter
-
重写此方法来判断是否每一行都被返回,默认全部为true
- isValidNumber(Number) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
检查是否为有效的数字
检查Double和Float是否为无限大,或者Not a Number
非数字类型和Null将返回true
- isValidPort(int) - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
是否为有效的端口
此方法并不检查端口是否被占用
- isValidTWCard(String) - 类 中的静态方法com.dahuatech.hutool.core.util.IdcardUtil
-
验证台湾身份证号码
- isWarnEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.commons.ApacheCommonsLog
-
- isWarnEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.console.ConsoleLog
-
- isWarnEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.jboss.JbossLog
-
- isWarnEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.jdk.JdkLog
-
- isWarnEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.log4j.Log4jLog
-
- isWarnEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.log4j2.Log4j2Log
-
- isWarnEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.slf4j.Slf4jLog
-
- isWarnEnabled() - 类 中的方法com.dahuatech.hutool.log.dialect.tinylog.TinyLog
-
- isWarnEnabled() - 接口 中的方法com.dahuatech.hutool.log.level.WarnLog
-
- isWeekend() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
是否为周末,周末指周六或者周日
- isWindows() - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
是否为Windows环境
- isWord(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证该字符串是否是字母(包括大写和小写字母)
- isWrap(CharSequence, String, String) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
指定字符串是否被包装
- isWrap(CharSequence, String) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
指定字符串是否被同一字符包装(前后都有这些字符串)
- isWrap(CharSequence, char) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
指定字符串是否被同一字符包装(前后都有这些字符串)
- isWrap(CharSequence, char, char) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
指定字符串是否被包装
- isZipCode(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为邮政编码(中国)
- iterator() - 接口 中的方法com.dahuatech.hutool.cache.Cache
-
返回缓存迭代器
- iterator() - 类 中的方法com.dahuatech.hutool.cache.impl.AbstractCache
-
- iterator() - 类 中的方法com.dahuatech.hutool.cache.impl.NoCache
-
- iterator() - 类 中的方法com.dahuatech.hutool.core.collection.ArrayIter
-
- iterator() - 类 中的方法com.dahuatech.hutool.core.collection.BoundedPriorityQueue
-
- iterator() - 类 中的方法com.dahuatech.hutool.core.collection.ConcurrentHashSet
-
- iterator() - 类 中的方法com.dahuatech.hutool.core.collection.CopiedIter
-
- iterator() - 类 中的方法com.dahuatech.hutool.core.collection.EnumerationIter
-
- iterator() - 类 中的方法com.dahuatech.hutool.core.collection.LineIter
-
- iterator() - 类 中的方法com.dahuatech.hutool.core.comparator.ComparatorChain
-
- iterator() - 类 中的方法com.dahuatech.hutool.core.io.resource.MultiResource
-
- iterator() - 类 中的方法com.dahuatech.hutool.core.io.watch.watchers.WatcherChain
-
- iterator() - 类 中的方法com.dahuatech.hutool.core.lang.Range
-
- iterator() - 类 中的方法com.dahuatech.hutool.core.lang.Tuple
-
- iterator() - 类 中的方法com.dahuatech.hutool.core.map.MapWrapper
-
- iterator() - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvData
-
- iterator() - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
- iterator() - 类 中的方法com.dahuatech.hutool.core.text.replacer.ReplacerChain
-
- iterator() - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- iterator() - 类 中的方法com.dahuatech.hutool.json.JSONObjectIter
-
- IteratorEnumeration<E> - com.dahuatech.hutool.core.collection中的类
-
- IteratorEnumeration(Iterator<E>) - 类 的构造器com.dahuatech.hutool.core.collection.IteratorEnumeration
-
构造
- IterUtil - com.dahuatech.hutool.core.collection中的类
-
- IterUtil() - 类 的构造器com.dahuatech.hutool.core.collection.IterUtil
-
- padAfter(CharSequence, int, char) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
补充字符串以满足最小长度
StrUtil.padAfter(null, *, *);//null
StrUtil.padAfter("1", 3, '0');//"100"
StrUtil.padAfter("123", 2, '0');//"23"
- padAfter(CharSequence, int, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
补充字符串以满足最小长度
StrUtil.padAfter(null, *, *);//null
StrUtil.padAfter("1", 3, "ABC");//"1AB"
StrUtil.padAfter("123", 2, "ABC");//"23"
- Padding - com.dahuatech.hutool.crypto中的枚举
-
补码方式
补码方式是在分组密码中,当明文长度不是分组长度的整数倍时,需要在最后一个分组中填充一些数据使其凑满一个分组的长度。
- padPre(CharSequence, int, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
补充字符串以满足最小长度
StrUtil.padPre(null, *, *);//null
StrUtil.padPre("1", 3, "ABC");//"AB1"
StrUtil.padPre("123", 2, "ABC");//"12"
- padPre(CharSequence, int, char) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
补充字符串以满足最小长度
StrUtil.padPre(null, *, *);//null
StrUtil.padPre("1", 3, '0');//"001"
StrUtil.padPre("123", 2, '0');//"12"
- page(int, int, List<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
对指定List分页取值
- PageUtil - com.dahuatech.hutool.core.util中的类
-
分页工具类
- PageUtil() - 类 的构造器com.dahuatech.hutool.core.util.PageUtil
-
- Pair<K,V> - com.dahuatech.hutool.core.lang中的类
-
键值对对象,只能在构造时传入键值
- Pair(K, V) - 类 的构造器com.dahuatech.hutool.core.lang.Pair
-
构造
- ParameterizedTypeImpl - com.dahuatech.hutool.core.lang中的类
-
- ParameterizedTypeImpl(Type[], Type, Type) - 类 的构造器com.dahuatech.hutool.core.lang.ParameterizedTypeImpl
-
构造
- ParamValidEnum - com.dahuatech.icc.common中的枚举
-
program:java-sdk
- parse(String, DateFormat) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
构建DateTime对象
- parse(String, DateParser) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
构建DateTime对象
- parse(String, String) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
将特定格式的日期转换为Date对象
- parse(String, String, Locale) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
将特定格式的日期转换为Date对象
- parse(String) - 类 中的静态方法com.dahuatech.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) - 接口 中的方法com.dahuatech.hutool.core.date.format.DateParser
-
- parse(String, ParsePosition) - 接口 中的方法com.dahuatech.hutool.core.date.format.DateParser
-
- parse(String, ParsePosition, Calendar) - 接口 中的方法com.dahuatech.hutool.core.date.format.DateParser
-
根据给定格式转换日期字符串 Updates the Calendar with parsed fields.
- parse(String) - 类 中的方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- parse(String, ParsePosition) - 类 中的方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- parse(String, ParsePosition, Calendar) - 类 中的方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- parse(T) - 类 中的静态方法com.dahuatech.hutool.core.lang.Dict
-
将PO对象转为Dict
- parse(String) - 类 中的静态方法com.dahuatech.hutool.http.useragent.UserAgentParser
-
解析User-Agent
- parse(String) - 类 中的静态方法com.dahuatech.hutool.http.useragent.UserAgentUtil
-
解析User-Agent
- parse(String) - 类 中的方法com.dahuatech.hutool.json.JSONSupport
-
JSON String转Bean
- parse(Object) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
转换对象为JSON
支持的对象:
String: 转换为相应的对象
Array Collection:转换为JSONArray
Bean对象:转为JSONObject
- parseArray(String) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
JSON字符串转JSONArray
- parseArray(Object) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
JSON字符串转JSONArray
- parseArray(Object, boolean) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
JSON字符串转JSONArray
- parseBean(T) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
将值对象转换为Dict
类名会被当作表名,小写第一个字母
- parseBean(T, boolean, boolean) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
将值对象转换为Dict
类名会被当作表名,小写第一个字母
- parseCST(String) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
解析CST时间,格式:
EEE MMM dd HH:mm:ss z yyyy(例如:Wed Aug 01 00:00:00 CST 2012)
- parseDate(String) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
解析格式为yyyy-MM-dd的日期,忽略时分秒
- parseDateTime(String) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
格式yyyy-MM-dd HH:mm:ss
- parseFromMap(Map<?, ?>) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
Map转化为JSONObject
- parseFromResourceBundle(ResourceBundle) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
ResourceBundle转化为JSONObject
- parseFromXml(String) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
XML字符串转为JSONObject
- parseInt(String) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
解析转换数字字符串为int型数字,规则如下:
1、0x开头的视为16进制数字
2、0开头的视为8进制数字
3、其它情况按照10进制转换
4、空串返回0
5、.123形式返回0(按照小于0的小数对待)
6、123.56截取小数点之前的数字,忽略小数部分
- parseLong(String) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
解析转换数字字符串为long型数字,规则如下:
1、0x开头的视为16进制数字
2、0开头的视为8进制数字
3、空串返回0
4、其它情况按照10进制转换
- parseNumber(String) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
- parseObj(String) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
JSON字符串转JSONObject对象
- parseObj(Object) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
JSON字符串转JSONObject对象
此方法会忽略空值,但是对JSON字符串不影响
- parseObj(Object, boolean) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
JSON字符串转JSONObject对象
- parseObj(Object, boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
JSON字符串转JSONObject对象
- parseObject(String) - 接口 中的方法com.dahuatech.hutool.core.date.format.DateParser
-
- parseObject(String, ParsePosition) - 接口 中的方法com.dahuatech.hutool.core.date.format.DateParser
-
- parseObject(String, ParsePosition) - 类 中的方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- parseTime(String) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
解析时间,格式HH:mm:ss,日期部分默认为1970-01-01
- parseTimeToday(String) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
解析时间,格式HH:mm 或 HH:mm:ss,日期默认为今天
- parseUTC(String) - 类 中的静态方法com.dahuatech.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
- parseXml(String) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
将String类型的XML转换为XML文档
- partValue(int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
把给定的总数平均分成N份,返回每份的个数
当除以分数有余数时每份+1
- partValue(int, int, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
把给定的总数平均分成N份,返回每份的个数
如果isPlusOneWhenHasRem为true,则当除以分数有余数时每份+1,否则丢弃余数部分
- patch(String) - 类 中的静态方法com.dahuatech.hutool.http.HttpRequest
-
PATCH请求
- PATH_FILE_PRE - 类 中的静态变量com.dahuatech.hutool.core.io.FileUtil
-
当Path为文件形式时, path会加入一个表示文件的前缀
- PathConverter - com.dahuatech.hutool.core.convert.impl中的类
-
字符串转换器
- PathConverter() - 类 的构造器com.dahuatech.hutool.core.convert.impl.PathConverter
-
- pathEndsWith(File, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
判断文件路径是否有指定后缀,忽略大小写
常用语判断扩展名
- pathEquals(File, File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
文件路径是否相同
取两个文件的绝对路径比较,在Windows下忽略大小写,在Linux下不忽略。
- pattern - 类 中的变量com.dahuatech.hutool.core.date.format.AbstractDateBasic
-
The pattern
- patternParts - 类 中的变量com.dahuatech.hutool.core.bean.BeanPath
-
- PatternPool - com.dahuatech.hutool.core.lang中的类
-
常用正则表达式集合
- PatternPool() - 类 的构造器com.dahuatech.hutool.core.lang.PatternPool
-
- PinyinComparator - com.dahuatech.hutool.core.comparator中的类
-
按照GBK拼音顺序对给定的汉字字符串排序
- PinyinComparator() - 类 的构造器com.dahuatech.hutool.core.comparator.PinyinComparator
-
构造
- PinyinUtil - com.dahuatech.hutool.core.util中的类
-
- PinyinUtil() - 类 的构造器com.dahuatech.hutool.core.util.PinyinUtil
-
已过时。
- pjwHash(String) - 类 中的静态方法com.dahuatech.hutool.core.util.HashUtil
-
PJW算法
- PLATE_NUMBER - 类 中的静态变量com.dahuatech.hutool.core.lang.PatternPool
-
中国车牌号码
- PLATE_NUMBER - 类 中的静态变量com.dahuatech.hutool.core.lang.Validator
-
中国车牌号码
- Platform - com.dahuatech.hutool.http.useragent中的类
-
平台对象
- Platform(String, String) - 类 的构造器com.dahuatech.hutool.http.useragent.Platform
-
构造
- platforms - 类 中的静态变量com.dahuatech.hutool.http.useragent.Platform
-
支持的平台类型
- popPart(Stack<T>, int) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
切取部分数据
切取后的栈将减少这些元素
- popPart(Deque<T>, int) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
切取部分数据
切取后的栈将减少这些元素
- PORT_RANGE_MAX - 类 中的静态变量com.dahuatech.hutool.core.net.NetUtil
-
默认最大端口,65535
- PORT_RANGE_MIN - 类 中的静态变量com.dahuatech.hutool.core.net.NetUtil
-
默认最小端口,1024
- post(String) - 类 中的静态方法com.dahuatech.hutool.http.HttpRequest
-
POST请求
- post(String, Map<String, Object>) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
发送post请求
- post(String, Map<String, Object>, int) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
发送post请求
- post(String, String) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
发送post请求
请求体body参数支持两种类型:
1.
- post(String, String, int) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
发送post请求
请求体body参数支持两种类型:
1.
- pow(Number, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供精确的幂运算
- pow(BigDecimal, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供精确的幂运算
- prependIfMissing(CharSequence, CharSequence, CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
如果给定字符串不是以给定的一个或多个字符串为开头,则在首部添加起始字符串
不忽略大小写
- prependIfMissing(CharSequence, CharSequence, boolean, CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
如果给定字符串不是以给定的一个或多个字符串为开头,则在首部添加起始字符串
- prependIfMissingIgnoreCase(CharSequence, CharSequence, CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
如果给定字符串不是以给定的一个或多个字符串为开头,则在首部添加起始字符串
忽略大小写
- pressImage(Image, int, int, float) - 类 中的方法com.dahuatech.hutool.core.img.Img
-
给图片添加图片水印
- pressImage(Image, Rectangle, float) - 类 中的方法com.dahuatech.hutool.core.img.Img
-
给图片添加图片水印
- pressImage(File, File, Image, int, int, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
给图片添加图片水印
- pressImage(InputStream, OutputStream, Image, int, int, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(ImageInputStream, ImageOutputStream, Image, int, int, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(Image, File, Image, int, int, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(Image, OutputStream, Image, int, int, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(Image, ImageOutputStream, Image, int, int, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(Image, Image, int, int, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressImage(Image, Image, Rectangle, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
给图片添加图片水印
此方法并不关闭流
- pressText(String, Color, Font, int, int, float) - 类 中的方法com.dahuatech.hutool.core.img.Img
-
给图片添加文字水印
此方法并不关闭流
- pressText(File, File, String, Color, Font, int, int, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
给图片添加文字水印
- pressText(InputStream, OutputStream, String, Color, Font, int, int, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressText(ImageInputStream, ImageOutputStream, String, Color, Font, int, int, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressText(Image, File, String, Color, Font, int, int, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressText(Image, OutputStream, String, Color, Font, int, int, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressText(Image, ImageOutputStream, String, Color, Font, int, int, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- pressText(Image, String, Color, Font, int, int, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
给图片添加文字水印
此方法并不关闭流
- prettyPrint() - 类 中的方法com.dahuatech.hutool.core.date.StopWatch
-
生成所有任务的一个任务花费时间表
- PrimitiveConverter - com.dahuatech.hutool.core.convert.impl中的类
-
原始类型转换器
支持类型为:
byte
short
int
long
float
double
char
boolean
- PrimitiveConverter(Class<?>) - 类 的构造器com.dahuatech.hutool.core.convert.impl.PrimitiveConverter
-
构造
- primitiveWrapperMap - 枚举 中的静态变量com.dahuatech.hutool.core.convert.BasicType
-
原始类型为Key,包装类型为Value,例如: int.class =》 Integer.class.
- print(Object) - 类 中的静态方法com.dahuatech.hutool.core.lang.Console
-
同 System.out.print()方法,打印控制台日志
- print(String, Object...) - 类 中的静态方法com.dahuatech.hutool.core.lang.Console
-
同 System.out.print()方法,打印控制台日志
- print(File) - 类 中的静态方法com.dahuatech.hutool.core.swing.DesktopUtil
-
使用关联应用程序的打印命令, 用本机桌面打印设备来打印文件
- printProgress(char, int) - 类 中的静态方法com.dahuatech.hutool.core.lang.Console
-
打印进度条
- printProgress(char, int, double) - 类 中的静态方法com.dahuatech.hutool.core.lang.Console
-
打印进度条
- privateKey - 类 中的变量com.dahuatech.hutool.crypto.asymmetric.BaseAsymmetric
-
私钥
- processBlock(byte[], int, int) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.SM2Engine
-
处理块,包括加密和解密
- processMultiple(int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
可以用于计算双色球、大乐透注数的方法
比如大乐透35选5可以这样调用processMultiple(7,5); 就是数学中的:C75=7*6/2*1
- progress(long) - 接口 中的方法com.dahuatech.hutool.core.io.StreamProgress
-
进行中
- PropDesc(Field, Method, Method) - 类 的构造器com.dahuatech.hutool.core.bean.BeanDesc.PropDesc
-
构造
Getter和Setter方法设置为默认可访问
- PropertyComparator<T> - com.dahuatech.hutool.core.comparator中的类
-
Bean属性排序器
支持读取Bean多层次下的属性
- PropertyComparator(String) - 类 的构造器com.dahuatech.hutool.core.comparator.PropertyComparator
-
构造
- PropertyComparator(String, boolean) - 类 的构造器com.dahuatech.hutool.core.comparator.PropertyComparator
-
构造
- ProviderFactory - com.dahuatech.hutool.crypto中的类
-
Provider对象生产法工厂类
1.
- ProviderFactory() - 类 的构造器com.dahuatech.hutool.crypto.ProviderFactory
-
- prune() - 接口 中的方法com.dahuatech.hutool.cache.Cache
-
从缓存中清理过期对象,清理策略取决于具体实现
- prune() - 类 中的方法com.dahuatech.hutool.cache.impl.AbstractCache
-
- prune() - 类 中的方法com.dahuatech.hutool.cache.impl.NoCache
-
- pruneCache() - 类 中的方法com.dahuatech.hutool.cache.impl.AbstractCache
-
清理实现
- pruneCache() - 类 中的方法com.dahuatech.hutool.cache.impl.FIFOCache
-
先进先出的清理策略
先遍历缓存清理过期的缓存对象,如果清理后还是满的,则删除第一个缓存对象
- pruneCache() - 类 中的方法com.dahuatech.hutool.cache.impl.LFUCache
-
清理过期对象。
- pruneCache() - 类 中的方法com.dahuatech.hutool.cache.impl.LRUCache
-
只清理超时对象,LRU的实现会交给LinkedHashMap
- pruneCache() - 类 中的方法com.dahuatech.hutool.cache.impl.TimedCache
-
清理过期对象
- publicKey - 类 中的变量com.dahuatech.hutool.crypto.asymmetric.BaseAsymmetric
-
公钥
- PURE_DATE_FORMAT - 类 中的静态变量com.dahuatech.hutool.core.date.DatePattern
-
- PURE_DATE_PATTERN - 类 中的静态变量com.dahuatech.hutool.core.date.DatePattern
-
标准日期格式:yyyyMMdd
- PURE_DATETIME_FORMAT - 类 中的静态变量com.dahuatech.hutool.core.date.DatePattern
-
- PURE_DATETIME_MS_FORMAT - 类 中的静态变量com.dahuatech.hutool.core.date.DatePattern
-
- PURE_DATETIME_MS_PATTERN - 类 中的静态变量com.dahuatech.hutool.core.date.DatePattern
-
标准日期格式:yyyyMMddHHmmssSSS
- PURE_DATETIME_PATTERN - 类 中的静态变量com.dahuatech.hutool.core.date.DatePattern
-
标准日期格式:yyyyMMddHHmmss
- PURE_TIME_FORMAT - 类 中的静态变量com.dahuatech.hutool.core.date.DatePattern
-
- PURE_TIME_PATTERN - 类 中的静态变量com.dahuatech.hutool.core.date.DatePattern
-
标准日期格式:HHmmss
- put(K, V) - 接口 中的方法com.dahuatech.hutool.cache.Cache
-
将对象加入到缓存,使用默认失效时长
- put(K, V, long) - 接口 中的方法com.dahuatech.hutool.cache.Cache
-
- put(K, V) - 类 中的方法com.dahuatech.hutool.cache.impl.AbstractCache
-
- put(K, V, long) - 类 中的方法com.dahuatech.hutool.cache.impl.AbstractCache
-
- put(K, V) - 类 中的方法com.dahuatech.hutool.cache.impl.NoCache
-
- put(K, V, long) - 类 中的方法com.dahuatech.hutool.cache.impl.NoCache
-
- put(String, Object) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
- put(K, V) - 类 中的方法com.dahuatech.hutool.core.lang.SimpleCache
-
放入缓存
- put(Object) - 类 中的静态方法com.dahuatech.hutool.core.lang.Singleton
-
将已有对象放入单例中,其Class做为键
- put(K, V) - 类 中的方法com.dahuatech.hutool.core.map.CustomKeyMap
-
- put(K, V) - 类 中的方法com.dahuatech.hutool.core.map.MapBuilder
-
链式Map创建
- put(Object, Object) - 类 中的方法com.dahuatech.hutool.core.map.MapProxy
-
- put(K, V) - 类 中的方法com.dahuatech.hutool.core.map.MapWrapper
-
- put(K, V) - 类 中的方法com.dahuatech.hutool.core.map.TableMap
-
- put(String) - 类 中的静态方法com.dahuatech.hutool.http.HttpRequest
-
PUT请求
- put(Object) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
Append an object value.
- put(int, Object) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
加入或者替换JSONArray中指定Index的值,如果index大于JSONArray的长度,将在指定index设置值,之前的位置填充JSONNull.Null
- put(String, Object) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
PUT 键值对到JSONObject中,如果值为null,将此键移除
- put(Type, JSONArraySerializer<?>) - 类 中的静态方法com.dahuatech.hutool.json.serialize.GlobalSerializeMapping
-
加入自定义的序列化器
- put(Type, JSONObjectSerializer<?>) - 类 中的静态方法com.dahuatech.hutool.json.serialize.GlobalSerializeMapping
-
加入自定义的序列化器
- put(Type, JSONDeserializer<?>) - 类 中的静态方法com.dahuatech.hutool.json.serialize.GlobalSerializeMapping
-
加入自定义的反序列化器
- putAll(Map<? extends K, ? extends V>) - 类 中的方法com.dahuatech.hutool.core.map.CustomKeyMap
-
- putAll(Map<K, V>) - 类 中的方法com.dahuatech.hutool.core.map.MapBuilder
-
链式Map创建
- putAll(Map<?, ?>) - 类 中的方法com.dahuatech.hutool.core.map.MapProxy
-
- putAll(Map<? extends K, ? extends V>) - 类 中的方法com.dahuatech.hutool.core.map.MapWrapper
-
- putAll(Map<? extends K, ? extends V>) - 类 中的方法com.dahuatech.hutool.core.map.TableMap
-
- putAll(Map<? extends String, ?>) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
- putBeanDesc(Class<?>, BeanDesc) - 枚举 中的方法com.dahuatech.hutool.core.bean.BeanDescCache
-
加入缓存
- putByPath(String, Object) - 接口 中的方法com.dahuatech.hutool.json.JSON
-
设置表达式指定位置(或filed对应)的值
若表达式指向一个JSONArray则设置其坐标对应位置的值,若指向JSONObject则put对应key的值
注意:如果为JSONArray,设置值下标小于其长度,将替换原有值,否则追加新值
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
表达式栗子:
persion
persion.name
persons[3]
person.friends[5].name
- putByPath(String, Object) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- putByPath(String, Object) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
- putByPath(JSON, String, Object) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
设置表达式指定位置(或filed对应)的值
若表达式指向一个JSONArray则设置其坐标对应位置的值,若指向JSONObject则put对应key的值
注意:如果为JSONArray,则设置值得下标不能大于已有JSONArray的长度
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值
[]表达式,可以获取集合等对象中对应index的值
表达式栗子:
persion
persion.name
persons[3]
person.friends[5].name
- putCustom(Type, Class<? extends Converter<?>>) - 类 中的方法com.dahuatech.hutool.core.convert.ConverterRegistry
-
登记自定义转换器
- putCustom(Type, Converter<?>) - 类 中的方法com.dahuatech.hutool.core.convert.ConverterRegistry
-
登记自定义转换器
- putDefault(boolean) - 枚举 中的方法com.dahuatech.hutool.http.GlobalHeaders
-
加入默认的头部信息
- putDeserializer(Type, JSONDeserializer<?>) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
加入自定义的反序列化器
- putFileType(String, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileTypeUtil
-
增加文件类型映射
如果已经存在将覆盖之前的映射
- putOnce(String, Object) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
一次性Put 键值对,如果key已经存在抛出异常,如果键值中有null值,忽略
- putOpt(String, Object) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
在键和值都为非空的情况下put到JSONObject中
- putPropertyDescriptorMap(Class<?>, Map<String, PropertyDescriptor>, boolean) - 枚举 中的方法com.dahuatech.hutool.core.bean.BeanInfoCache
-
加入缓存
- putSerializer(Type, JSONArraySerializer<?>) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
加入自定义的序列化器
- putSerializer(Type, JSONObjectSerializer<?>) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
加入自定义的序列化器
- putValue(K, V) - 类 中的方法com.dahuatech.hutool.core.map.multi.CollectionValueMap
-
放入Value
如果键对应值列表有值,加入,否则创建一个新列表后加入
- rainbow(int, int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.PageUtil
-
分页彩虹算法
来自:https://github.com/iceroot/iceroot/blob/master/src/main/java/com/icexxx/util/IceUtil.java
通过传入的信息,生成一个分页列表显示
- rainbow(int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.PageUtil
-
分页彩虹算法(默认展示10页)
来自:https://github.com/iceroot/iceroot/blob/master/src/main/java/com/icexxx/util/IceUtil.java
- randomBigDecimal() - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获得指定范围内的随机数[0, 1)
- randomBigDecimal(BigDecimal) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获得指定范围内的随机数 [0,limit)
- randomBigDecimal(BigDecimal, BigDecimal) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomBoolean() - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获得随机Boolean值
- randomBytes(int) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
随机bytes
- randomChar() - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
随机字母或数字,小写
- randomChar(String) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
随机字符
- randomColor() - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
生成随机颜色
- randomColor(Random) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
生成随机颜色
- randomColor() - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
生成随机颜色
- randomDate(Date, DateField, int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
以给定日期为基准,随机产生一个日期
- randomDay(int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
以当天为基准,随机产生一个日期
- randomDouble(double, double) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomDouble(double, double, int, RoundingMode) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomDouble() - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获得随机数[0, 1)
- randomDouble(int, RoundingMode) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomDouble(double) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获得指定范围内的随机数 [0,limit)
- randomDouble(double, int, RoundingMode) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomEle(List<T>) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
随机获得列表中的元素
- randomEle(List<T>, int) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
随机获得列表中的元素
- randomEle(T[]) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
随机获得数组中的元素
- randomEle(T[], int) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
随机获得数组中的元素
- randomEles(List<T>, int) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
随机获得列表中的一定量元素
- randomEleSet(Collection<T>, int) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
随机获得列表中的一定量的不重复元素,返回Set
- randomInt(int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获得指定范围内的随机数
- randomInt() - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获得随机数[0, 2^32)
- randomInt(int) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获得指定范围内的随机数 [0,limit)
- randomLong(long, long) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获得指定范围内的随机数[min, max)
- randomLong() - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获得随机数
- randomLong(long) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获得指定范围内的随机数 [0,limit)
- randomNumber() - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
随机数字,数字为0~9单个数字
- randomNumbers(int) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获得一个只包含数字的字符串
- randomString(int) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获得一个随机的字符串(只包含数字和字符)
- randomString(String, int) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获得一个随机的字符串
- randomStringUpper(int) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获得一个随机的字符串(只包含数字和大写字符)
- randomStringWithoutStr(int, String) - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
获得一个随机的字符串(只包含数字和字符) 并排除指定字符串
- RandomUtil - com.dahuatech.hutool.core.util中的类
-
随机工具类
- RandomUtil() - 类 的构造器com.dahuatech.hutool.core.util.RandomUtil
-
- randomUUID() - 类 中的静态方法com.dahuatech.hutool.core.lang.UUID
-
获取类型 4(伪随机生成的)UUID 的静态工厂。
- randomUUID(boolean) - 类 中的静态方法com.dahuatech.hutool.core.lang.UUID
-
获取类型 4(伪随机生成的)UUID 的静态工厂。
- randomUUID() - 类 中的静态方法com.dahuatech.hutool.core.util.IdUtil
-
获取随机UUID
- randomUUID() - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
- range(Date, Date, DateField) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
创建日期范围生成器
- Range<T> - com.dahuatech.hutool.core.lang中的类
-
范围生成器。
- Range(T, Range.Steper<T>) - 类 的构造器com.dahuatech.hutool.core.lang.Range
-
构造
- Range(T, T, Range.Steper<T>) - 类 的构造器com.dahuatech.hutool.core.lang.Range
-
构造
- Range(T, T, Range.Steper<T>, boolean, boolean) - 类 的构造器com.dahuatech.hutool.core.lang.Range
-
构造
- range(int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
生成一个从0开始的数字列表
- range(int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
生成一个数字列表
自动判定正序反序
- range(int, int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
生成一个数字列表
自动判定正序反序
- range(int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
从0开始给定范围内的整数列表,步进为1
- range(int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
给定范围内的整数列表,步进为1
- range(int, int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
给定范围内的整数列表
- Range.Steper<T> - com.dahuatech.hutool.core.lang中的接口
-
步进接口,此接口用于实现如何对一个对象按照指定步进增加步进
步进接口可以定义以下逻辑:
1、步进规则,即对象如何做步进
2、步进大小,通过实现此接口,在实现类中定义一个对象属性,可灵活定义步进大小
3、限制range个数,通过实现此接口,在实现类中定义一个对象属性,可灵活定义limit,限制range个数
- rangeToList(Date, Date, DateField) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
创建日期范围生成器
- rc4(String) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
RC4算法
- RC4 - com.dahuatech.hutool.crypto.symmetric中的类
-
RC4加密解密算法实现
来自:https://github.com/xSAVIKx/RC4-cipher/blob/master/src/main/java/com/github/xsavikx/rc4/RC4.java
- RC4(String) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.RC4
-
构造
- RE_CHINESE - 类 中的静态变量com.dahuatech.hutool.core.util.ReUtil
-
正则表达式匹配中文汉字
- RE_CHINESES - 类 中的静态变量com.dahuatech.hutool.core.util.ReUtil
-
正则表达式匹配中文字符串
- RE_HTML_MARK - 类 中的静态变量com.dahuatech.hutool.http.HtmlUtil
-
- RE_KEYS - 类 中的静态变量com.dahuatech.hutool.core.util.ReUtil
-
正则中需要被转义的关键字
- RE_SCRIPT - 类 中的静态变量com.dahuatech.hutool.http.HtmlUtil
-
- read(String) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
从文件中读取图片,请使用绝对路径,使用相对路径会相对于ClassPath
- read(File) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
从文件中读取图片
- read(Resource) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
- read(InputStream) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
从流中读取图片
- read(ImageInputStream) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
从图片流中读取图片
- read(URL) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
从URL中读取图片
- read() - 类 中的方法com.dahuatech.hutool.core.io.BOMInputStream
-
- read(FileReader.ReaderHandler<T>) - 类 中的方法com.dahuatech.hutool.core.io.file.FileReader
-
按照给定的readerHandler读取文件中的数据
- read(InputStream, String) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
从流中读取内容
- read(InputStream, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
从流中读取内容,读取完毕后并不关闭流
- read(ReadableByteChannel, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
从流中读取内容,读取完毕后并不关闭流
- read(InputStream) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
从流中读取内容,读到输出流中
- read(ReadableByteChannel) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
从流中读取内容,读到输出流中
- read(Reader) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
从Reader中读取String,读取完毕后并不关闭Reader
- read(FileChannel, String) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
从FileChannel中读取内容,读取完毕后并不关闭Channel
- read(FileChannel, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
从FileChannel中读取内容
- read(File) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvReader
-
读取CSV文件,默认UTF-8编码
- read(File, Charset) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvReader
-
读取CSV文件
- read(Path) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvReader
-
读取CSV文件,默认UTF-8编码
- read(Path, Charset) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvReader
-
读取CSV文件
- read(Reader) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvReader
-
从Reader中读取CSV数据
- read() - 类 中的方法com.dahuatech.hutool.http.HttpInputStream
-
- read(byte[], int, int) - 类 中的方法com.dahuatech.hutool.http.HttpInputStream
-
- readableFileSize() - 类 中的方法com.dahuatech.hutool.core.io.file.FileWrapper
-
可读的文件大小
- readableFileSize(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
可读的文件大小
- readableFileSize(long) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
可读的文件大小
参考 http://stackoverflow.com/questions/3263892/format-file-size-as-mb-gb-etc
- readBytes(ByteBuffer) - 类 中的静态方法com.dahuatech.hutool.core.io.BufferUtil
-
读取剩余部分bytes
- readBytes(ByteBuffer, int) - 类 中的静态方法com.dahuatech.hutool.core.io.BufferUtil
-
读取指定长度的bytes
如果长度不足,则读取剩余部分,此时buffer必须为读模式
- readBytes(ByteBuffer, int, int) - 类 中的静态方法com.dahuatech.hutool.core.io.BufferUtil
-
读取指定区间的数据
- readBytes() - 类 中的方法com.dahuatech.hutool.core.io.file.FileReader
-
- readBytes(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
读取文件所有数据
文件的长度不能超过Integer.MAX_VALUE
- readBytes(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
读取文件所有数据
文件的长度不能超过Integer.MAX_VALUE
- readBytes(InputStream) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
从流中读取bytes
- readBytes(InputStream, int) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
读取指定长度的byte数组,不关闭流
- readBytes() - 类 中的方法com.dahuatech.hutool.core.io.resource.BytesResource
-
- readBytes() - 类 中的方法com.dahuatech.hutool.core.io.resource.InputStreamResource
-
- readBytes() - 类 中的方法com.dahuatech.hutool.core.io.resource.MultiResource
-
- readBytes() - 接口 中的方法com.dahuatech.hutool.core.io.resource.Resource
-
读取资源内容,读取完毕后会关闭流
关闭流并不影响下一次读取
- readBytes(String) - 类 中的静态方法com.dahuatech.hutool.core.io.resource.ResourceUtil
-
读取Classpath下的资源为byte[]
- readBytes() - 类 中的方法com.dahuatech.hutool.core.io.resource.StringResource
-
- readBytes() - 类 中的方法com.dahuatech.hutool.core.io.resource.UrlResource
-
- readCertificate(String, InputStream, char[], String) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
读取Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readCertificate(String, InputStream) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
读取Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readCertificate(String, InputStream, char[], String) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
读取Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readCertificate(String, InputStream) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
读取Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readHex(InputStream, int, boolean) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
读取16进制字符串
- readHex28Lower(InputStream) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
从流中读取前28个byte并转换为16进制,字母部分使用小写
- readHex28Upper(InputStream) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
从流中读取前28个byte并转换为16进制,字母部分使用大写
- readJKSKeyStore(InputStream, char[]) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
读取密钥库(Java Key Store,JKS) KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readJKSKeyStore(InputStream, char[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
读取密钥库(Java Key Store,JKS) KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readJSON(File, Charset) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
读取JSON
- readJSONArray(File, Charset) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
读取JSONArray
- readJSONObject(File, Charset) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
读取JSONObject
- readKey(InputStream) - 类 中的静态方法com.dahuatech.hutool.crypto.BCUtil
-
- readKeyBytes(InputStream) - 类 中的静态方法com.dahuatech.hutool.crypto.BCUtil
-
从pem文件中读取公钥或私钥
- readKeyStore(String, InputStream, char[]) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
读取KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readKeyStore(String, InputStream, char[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
读取KeyStore文件
KeyStore文件用于数字证书的密钥对保存
see: http://snowolf.iteye.com/blog/391931
- readLine(ByteBuffer, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.BufferUtil
-
读取一行,如果buffer中最后一部分并非完整一行,则返回null
支持的换行符如下:
1.
- readLine(RandomAccessFile, Charset, LineHandler) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
单行处理文件内容
- readLine(RandomAccessFile, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
单行处理文件内容
- readLines(T) - 类 中的方法com.dahuatech.hutool.core.io.file.FileReader
-
从文件中读取每一行数据
- readLines(LineHandler) - 类 中的方法com.dahuatech.hutool.core.io.file.FileReader
-
按照行处理文件内容
- readLines() - 类 中的方法com.dahuatech.hutool.core.io.file.FileReader
-
从文件中读取每一行数据
- readLines(String, String, T) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(String, Charset, T) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, String, T) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, Charset, T) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(URL, String, T) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(URL, Charset, T) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(URL, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(URL, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(String, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(String, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readLines(File, Charset, LineHandler) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
按行处理文件内容
- readLines(RandomAccessFile, Charset, LineHandler) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
按行处理文件内容
- readLines(InputStream, String, T) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
从流中读取内容
- readLines(InputStream, Charset, T) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
从流中读取内容
- readLines(Reader, T) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
从Reader中读取内容
- readLines(InputStream, Charset, LineHandler) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
按行读取数据,针对每行的数据做处理
- readLines(Reader, LineHandler) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
按行读取数据,针对每行的数据做处理
Reader自带编码定义,因此读取数据的编码跟随其编码。
- readObj(InputStream) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
从流中读取内容,读到输出流中
- readObjectFromXml(File) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
从XML中读取对象 Reads serialized object from the XML file.
- readObjectFromXml(String) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
从XML中读取对象 Reads serialized object from the XML file.
- readObjectFromXml(InputSource) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
从XML中读取对象 Reads serialized object from the XML file.
- readPemObject(InputStream) - 类 中的静态方法com.dahuatech.hutool.crypto.BCUtil
-
读取pem文件中的信息,包括类型、头信息和密钥内容
- readPrivateKey(InputStream) - 类 中的静态方法com.dahuatech.hutool.crypto.BCUtil
-
读取PEM格式的私钥
- readPublicKey(InputStream) - 类 中的静态方法com.dahuatech.hutool.crypto.BCUtil
-
读取PEM格式的公钥
- readPublicKeyFromCert(InputStream) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
读取X.509 Certification文件中的公钥
Certification为证书文件
see: https://www.cnblogs.com/yinliang/p/10115519.html
- readStr(ByteBuffer, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.BufferUtil
-
读取剩余部分并转为字符串
- readStr(Charset) - 类 中的方法com.dahuatech.hutool.core.io.resource.BytesResource
-
- readStr(Charset) - 类 中的方法com.dahuatech.hutool.core.io.resource.InputStreamResource
-
- readStr(Charset) - 类 中的方法com.dahuatech.hutool.core.io.resource.MultiResource
-
- readStr(Charset) - 接口 中的方法com.dahuatech.hutool.core.io.resource.Resource
-
读取资源内容,读取完毕后会关闭流
关闭流并不影响下一次读取
- readStr(String, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.resource.ResourceUtil
-
读取Classpath下的资源为字符串
- readStr(Charset) - 类 中的方法com.dahuatech.hutool.core.io.resource.StringResource
-
- readStr(Charset) - 类 中的方法com.dahuatech.hutool.core.io.resource.UrlResource
-
- readString() - 类 中的方法com.dahuatech.hutool.core.io.file.FileReader
-
读取文件内容
- readString(File, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
读取文件内容
- readString(File, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
读取文件内容
- readString(String, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
读取文件内容
- readString(String, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
读取文件内容
- readString(URL, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
读取文件内容
- readUtf8(FileChannel) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
从FileChannel中读取UTF-8编码内容
- readUtf8Lines(String, T) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
从文件中读取每一行的UTF-8编码数据
- readUtf8Lines(File, T) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
从文件中读取每一行数据,数据编码为UTF-8
- readUtf8Lines(URL, T) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
从文件中读取每一行数据,编码为UTF-8
- readUtf8Lines(URL) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readUtf8Lines(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
从文件中读取每一行数据,编码为UTF-8
- readUtf8Lines(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
从文件中读取每一行数据
- readUtf8Lines(File, LineHandler) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
按行处理文件内容,编码为UTF-8
- readUtf8Lines(InputStream, T) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
从流中读取内容,使用UTF-8编码
- readUtf8Lines(InputStream, LineHandler) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
按行读取UTF-8编码数据,针对每行的数据做处理
- readUtf8Str(ByteBuffer) - 类 中的静态方法com.dahuatech.hutool.core.io.BufferUtil
-
读取剩余部分并转为UTF-8编码字符串
- readUtf8Str() - 类 中的方法com.dahuatech.hutool.core.io.resource.BytesResource
-
- readUtf8Str() - 类 中的方法com.dahuatech.hutool.core.io.resource.InputStreamResource
-
- readUtf8Str() - 类 中的方法com.dahuatech.hutool.core.io.resource.MultiResource
-
- readUtf8Str() - 接口 中的方法com.dahuatech.hutool.core.io.resource.Resource
-
读取资源内容,读取完毕后会关闭流
关闭流并不影响下一次读取
- readUtf8Str(String) - 类 中的静态方法com.dahuatech.hutool.core.io.resource.ResourceUtil
-
读取Classpath下的资源为字符串,使用UTF-8编码
- readUtf8Str() - 类 中的方法com.dahuatech.hutool.core.io.resource.StringResource
-
- readUtf8Str() - 类 中的方法com.dahuatech.hutool.core.io.resource.UrlResource
-
- readUtf8String(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
读取文件内容
- readUtf8String(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
读取文件内容
- readX509Certificate(InputStream, char[], String) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
读取X.509 Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readX509Certificate(InputStream) - 类 中的静态方法com.dahuatech.hutool.crypto.KeyUtil
-
读取X.509 Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readX509Certificate(InputStream, char[], String) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
读取X.509 Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readX509Certificate(InputStream) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
读取X.509 Certification文件
Certification为证书文件
see: http://snowolf.iteye.com/blog/391931
- readXML(File) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
读取解析XML文件
- readXML(String) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
读取解析XML文件
如果给定内容以“<”开头,表示这是一个XML内容,直接读取,否则按照路径处理
路径可以为相对路径,也可以是绝对路径,相对路径相对于ClassPath
- readXML(InputStream) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
读取解析XML文件
编码在XML中定义
- readXML(Reader) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
读取解析XML文件
- readXML(InputSource) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
读取解析XML文件
编码在XML中定义
- ReferenceConverter - com.dahuatech.hutool.core.convert.impl中的类
-
- ReferenceConverter(Class<? extends Reference>) - 类 的构造器com.dahuatech.hutool.core.convert.impl.ReferenceConverter
-
构造
- ReferenceUtil - com.dahuatech.hutool.core.util中的类
-
- ReferenceUtil() - 类 的构造器com.dahuatech.hutool.core.util.ReferenceUtil
-
- ReferenceUtil.ReferenceType - com.dahuatech.hutool.core.util中的枚举
-
引用类型
- reflectionCompare(Object, Object) - 类 中的静态方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
通过反射比较两个Bean对象,对象字段可以为private。
- reflectionCompare(Object, Object, boolean) - 类 中的静态方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Compares two Objects via reflection.
- reflectionCompare(Object, Object, Collection<String>) - 类 中的静态方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Compares two Objects via reflection.
- reflectionCompare(Object, Object, String...) - 类 中的静态方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Compares two Objects via reflection.
- reflectionCompare(Object, Object, boolean, Class<?>, String...) - 类 中的静态方法com.dahuatech.hutool.core.builder.CompareToBuilder
-
Compares two Objects via reflection.
- reflectionEquals(Object, Object, Collection<String>) - 类 中的静态方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
反射检查两个对象是否equals,此方法检查对象及其父对象的属性(包括私有属性)是否equals
- reflectionEquals(Object, Object, String...) - 类 中的静态方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
反射检查两个对象是否equals,此方法检查对象及其父对象的属性(包括私有属性)是否equals
- reflectionEquals(Object, Object, boolean) - 类 中的静态方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
This method uses reflection to determine if the two Objects are equal.
- reflectionEquals(Object, Object, boolean, Class<?>, String...) - 类 中的静态方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
This method uses reflection to determine if the two Objects are equal.
- reflectionHashCode(int, int, Object) - 类 中的静态方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object.
- reflectionHashCode(int, int, Object, boolean) - 类 中的静态方法com.dahuatech.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...) - 类 中的静态方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object.
- reflectionHashCode(Object, boolean) - 类 中的静态方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object.
- reflectionHashCode(Object, Collection<String>) - 类 中的静态方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object.
- reflectionHashCode(Object, String...) - 类 中的静态方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Uses reflection to build a valid hash code from the fields of object.
- ReflectUtil - com.dahuatech.hutool.core.util中的类
-
反射工具类
- ReflectUtil() - 类 的构造器com.dahuatech.hutool.core.util.ReflectUtil
-
- register(Watchable, WatchService, WatchEvent.Kind<?>...) - 类 中的静态方法com.dahuatech.hutool.core.io.watch.WatchUtil
-
注册Watchable对象到WatchService服务
- RejectPolicy - com.dahuatech.hutool.core.thread中的枚举
-
线程拒绝策略枚举
如果设置了maxSize, 当总线程数达到上限, 会调用RejectedExecutionHandler进行处理,此枚举为JDK预定义的几种策略枚举表示
- remove(K) - 接口 中的方法com.dahuatech.hutool.cache.Cache
-
从缓存中移除对象
- remove(K) - 类 中的方法com.dahuatech.hutool.cache.impl.AbstractCache
-
- remove() - 类 中的方法com.dahuatech.hutool.cache.impl.CacheObjIterator
-
从缓存中移除没有过期的当前值,此方法不支持
- remove() - 类 中的方法com.dahuatech.hutool.cache.impl.CacheValuesIterator
-
从缓存中移除没有过期的当前值,不支持此方法
- remove(K) - 类 中的方法com.dahuatech.hutool.cache.impl.NoCache
-
- remove() - 类 中的方法com.dahuatech.hutool.core.collection.ArrayIter
-
不允许操作数组元素
- remove(Object) - 类 中的方法com.dahuatech.hutool.core.collection.ConcurrentHashSet
-
- remove() - 类 中的方法com.dahuatech.hutool.core.collection.CopiedIter
-
此对象不支持移除元素
- remove() - 类 中的方法com.dahuatech.hutool.core.collection.EnumerationIter
-
- remove() - 类 中的方法com.dahuatech.hutool.core.collection.LineIter
-
不支持移除
- remove() - 类 中的方法com.dahuatech.hutool.core.io.resource.MultiResource
-
- remove(T) - 类 中的方法com.dahuatech.hutool.core.lang.ConsistentHash
-
移除节点的同时移除相应的虚拟节点
- remove(String, int) - 类 中的静态方法com.dahuatech.hutool.core.lang.PatternPool
-
移除缓存
- remove() - 类 中的方法com.dahuatech.hutool.core.lang.Range
-
- remove(K) - 类 中的方法com.dahuatech.hutool.core.lang.SimpleCache
-
移除缓存
- remove(Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.lang.Singleton
-
移除指定Singleton对象
- remove(Object) - 类 中的方法com.dahuatech.hutool.core.map.MapProxy
-
- remove(Object) - 类 中的方法com.dahuatech.hutool.core.map.MapWrapper
-
- remove(Object) - 类 中的方法com.dahuatech.hutool.core.map.TableMap
-
- remove(Object) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
- remove(int) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
- remove(T[], int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(long[], int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(int[], int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(short[], int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(char[], int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(byte[], int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(double[], int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(float[], int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(boolean[], int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(Object, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
移除数组中对应位置的元素
copy from commons-lang
- remove(URI, HttpCookie) - 类 中的方法com.dahuatech.hutool.http.cookie.ThreadLocalCookieStore
-
- remove(int) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- remove(Object) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- remove(Object) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
- removeAll(Collection<?>) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
- removeAll(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
移除字符串中所有给定字符串
例:removeAll("aa-bb-cc-dd", "-") =》 aabbccdd
- removeAll(CharSequence, char...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
去除字符串中指定的多个字符,如有多个则全部去除
- removeAll() - 类 中的方法com.dahuatech.hutool.http.cookie.ThreadLocalCookieStore
-
- removeAll(Collection<?>) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- removeAllHtmlAttr(String, String...) - 类 中的静态方法com.dahuatech.hutool.http.HtmlUtil
-
去除指定标签的所有属性
- removeAllLineBreaks(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
去除所有换行符,包括:
1.
- removeAny(T, E...) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
去掉集合中的多个元素,此方法直接修改原集合
- removeBlank(T) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
去除null或者""或者空白字符串 元素,此方法直接修改原集合
- removeBlank(T[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
去除null或者""或者空白字符串 元素
- removeCurrent() - 类 中的方法com.dahuatech.hutool.http.cookie.ThreadLocalCookieStore
-
移除当前线程的Cookie
- removeEldestEntry(Map.Entry<K, V>) - 类 中的方法com.dahuatech.hutool.core.map.FixedLinkedHashMap
-
- removeEle(T[], T) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(long[], long) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(int[], int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(short[], short) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(char[], char) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(byte[], byte) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(double[], double) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(float[], float) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(boolean[], boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEmpty(T) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
去除null或者"" 元素,此方法直接修改原集合
- removeEmpty(T[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
去除null或者"" 元素
- removeEqual(T, String...) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
与给定实体对比并去除相同的部分
此方法用于在更新操作时避免所有字段被更新,跳过不需要更新的字段 version from 2.0.0
- removeFileType(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileTypeUtil
-
移除文件类型映射
- removeHeader(String) - 枚举 中的方法com.dahuatech.hutool.http.GlobalHeaders
-
移除一个头信息
- removeHeader(Header) - 枚举 中的方法com.dahuatech.hutool.http.GlobalHeaders
-
移除一个头信息
- removeHeader(String) - 类 中的方法com.dahuatech.hutool.http.HttpBase
-
移除一个头信息
- removeHeader(Header) - 类 中的方法com.dahuatech.hutool.http.HttpBase
-
移除一个头信息
- removeHtmlAttr(String, String...) - 类 中的静态方法com.dahuatech.hutool.http.HtmlUtil
-
去除HTML标签中的属性,如果多个标签有相同属性,都去除
- removeHtmlTag(String, String...) - 类 中的静态方法com.dahuatech.hutool.http.HtmlUtil
-
清除指定HTML标签和被标签包围的内容
不区分大小写
- removeHtmlTag(String, boolean, String...) - 类 中的静态方法com.dahuatech.hutool.http.HtmlUtil
-
清除指定HTML标签
不区分大小写
- removeListener(ClipboardListener) - 枚举 中的方法com.dahuatech.hutool.core.swing.clipboard.ClipboardMonitor
-
去除指定监听
- removeNull(T) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
去除null 元素,此方法直接修改原集合
- removeNull(T[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
去除null 元素
- removeNullValue(Map<K, V>) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
去除Map中值为null的键值对
注意:此方法在传入的Map上直接修改。
- removePreAndLowerFirst(CharSequence, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
去掉首部指定长度的字符串并将剩余字符串首字母小写
例如:str=setName, preLength=3 =》 return name
- removePreAndLowerFirst(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
去掉首部指定长度的字符串并将剩余字符串首字母小写
例如:str=setName, prefix=set =》 return name
- removePrefix(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
去掉指定前缀
- removePrefixIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
忽略大小写去掉指定前缀
- removeSafeCharacter(char) - 类 中的方法com.dahuatech.hutool.core.net.URLEncoder
-
移除安全字符
安全字符不被编码
- removeSufAndLowerFirst(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
去掉指定后缀,并小写首字母
- removeSuffix(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
去掉指定后缀
- removeSuffixIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
忽略大小写去掉指定后缀
- rename(File, String, boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
修改文件或目录的文件名,不变更路径,只是简单修改文件名
重命名有两种模式:
1、isRetainExt为true时,保留原扩展名:
FileUtil.rename(file, "aaa", true) xx/xx.png =》xx/aaa.png
2、isRetainExt为false时,不保留原扩展名,需要在newName中
FileUtil.rename(file, "aaa.jpg", false) xx/xx.png =》xx/aaa.jpg
- renameKey(Map<K, V>, K, K) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
- repeat(char, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
重复某个字符
- repeat(CharSequence, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
重复某个字符串
- repeatAndJoin(CharSequence, int, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
重复某个字符串并通过分界符连接
StrUtil.repeatAndJoin("?"
- repeatByLength(CharSequence, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
重复某个字符串到指定长度
- replace(T) - 接口 中的方法com.dahuatech.hutool.core.lang.Replacer
-
替换指定类型为目标类型
- replace(CharSequence, int, StrBuilder) - 类 中的方法com.dahuatech.hutool.core.text.escape.NumericEntityUnescaper
-
- replace(CharSequence, int, StrBuilder) - 类 中的方法com.dahuatech.hutool.core.text.replacer.LookupReplacer
-
- replace(CharSequence, int, StrBuilder) - 类 中的方法com.dahuatech.hutool.core.text.replacer.ReplacerChain
-
- replace(CharSequence, int, StrBuilder) - 类 中的方法com.dahuatech.hutool.core.text.replacer.StrReplacer
-
抽象的字符串替换方法,通过传入原字符串和当前位置,执行替换逻辑,返回处理或替换的字符串长度部分。
- replace(CharSequence) - 类 中的方法com.dahuatech.hutool.core.text.replacer.StrReplacer
-
- replace(CharSequence, CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
替换字符串中的指定字符串
- replace(CharSequence, CharSequence, CharSequence, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
替换字符串中的指定字符串
- replace(CharSequence, int, CharSequence, CharSequence, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
替换字符串中的指定字符串
- replace(CharSequence, int, int, char) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
替换指定字符串的指定区间内字符为固定字符
- replace(CharSequence, Pattern, Func1<Matcher, String>) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
替换所有正则匹配的文本,并使用自定义函数决定如何替换
- replace(CharSequence, String, Func1<Matcher, String>) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
替换所有正则匹配的文本,并使用自定义函数决定如何替换
- replaceAll(CharSequence, String, String) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
正则替换指定值
通过正则查找到字符串,然后把匹配到的字符串加入到replacementTemplate中,$1表示分组1的字符串
例如:原字符串是:中文1234,我想把1234换成(1234),则可以:
ReUtil.replaceAll("中文1234", "(\\d+)", "($1)"))
结果:中文(1234)
- replaceAll(CharSequence, Pattern, String) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
正则替换指定值
通过正则查找到字符串,然后把匹配到的字符串加入到replacementTemplate中,$1表示分组1的字符串
- replaceAll(CharSequence, String, Func1<Matcher, String>) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
替换所有正则匹配的文本,并使用自定义函数决定如何替换
- replaceAll(CharSequence, Pattern, Func1<Matcher, String>) - 类 中的静态方法com.dahuatech.hutool.core.util.ReUtil
-
替换所有正则匹配的文本,并使用自定义函数决定如何替换
- replaceChars(CharSequence, String, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
替换字符字符数组中所有的字符为replacedStr
提供的chars为所有需要被替换的字符,例如:"\r\n",则"\r"和"\n"都会被替换,哪怕他们单独存在
- replaceChars(CharSequence, char[], CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
替换字符字符数组中所有的字符为replacedStr
- replaceIgnoreCase(CharSequence, CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
替换字符串中的指定字符串,忽略大小写
- Replacer<T> - com.dahuatech.hutool.core.lang中的接口
-
替换器
通过实现此接口完成指定类型对象的替换操作,替换后的目标类型依旧为指定类型
- ReplacerChain - com.dahuatech.hutool.core.text.replacer中的类
-
字符串替换链,用于组合多个字符串替换逻辑
- ReplacerChain(StrReplacer...) - 类 的构造器com.dahuatech.hutool.core.text.replacer.ReplacerChain
-
构造
- reset() - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Reset the EqualsBuilder so you can use the same object again
- reset() - 类 中的方法com.dahuatech.hutool.core.collection.ArrayIter
-
重置数组位置
- reset() - 类 中的方法com.dahuatech.hutool.core.io.checksum.CRC16
-
- reset() - 类 中的方法com.dahuatech.hutool.core.io.checksum.CRC8
-
- reset() - 类 中的方法com.dahuatech.hutool.core.io.FastByteArrayOutputStream
-
- reset() - 类 中的方法com.dahuatech.hutool.core.io.FastByteBuffer
-
- reset() - 类 中的方法com.dahuatech.hutool.core.io.resource.MultiResource
-
重置游标
- reset() - 类 中的方法com.dahuatech.hutool.core.lang.Range
-
- reset() - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
删除全部字符,位置归零
- reset() - 类 中的方法com.dahuatech.hutool.crypto.digest.Digester
-
- reset() - 类 中的方法com.dahuatech.hutool.http.HttpInputStream
-
- reset() - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
重置SOAP客户端,用于客户端复用
重置后需调用serMethod方法重新指定请求方法,并调用setParam方法重新定义参数
- resize(T[], int, Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。
- resize(Object, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。
- resize(byte[], int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。
- resize(T[], int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
生成一个新的重新设置大小的数组
新数组的类型为原数组的类型,调整大小后拷贝原数组到新数组下。
- Resource - com.dahuatech.hutool.core.io.resource中的接口
-
资源接口定义
资源可以是文件、URL、ClassPath中的文件亦或者jar包中的文件
- ResourceUtil - com.dahuatech.hutool.core.io.resource中的类
-
ClassPath资源工具类
- ResourceUtil() - 类 的构造器com.dahuatech.hutool.core.io.resource.ResourceUtil
-
- responseCode() - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
获取响应码
- restart() - 类 中的方法com.dahuatech.hutool.core.date.TimeInterval
-
重新开始计算时间(重置开始时间)
- retainAll(Collection<?>) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
- retainAll(Collection<?>) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- ReUtil - com.dahuatech.hutool.core.util中的类
-
- ReUtil() - 类 的构造器com.dahuatech.hutool.core.util.ReUtil
-
- reverse(List<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
反序给定List,会在原List基础上直接修改
- reverse(Map<T, T>) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
Map的键和值互换
- reverse(T[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(T[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(long[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(long[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(int[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(int[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(short[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(short[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(char[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(char[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(byte[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(double[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(double[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(float[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(float[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(boolean[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(boolean[]) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
反转数组,会变更原数组
- reverse(String) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
反转字符串
例如:abcd =》dcba
- ReverseComparator<E> - com.dahuatech.hutool.core.comparator中的类
-
反转比较器
- ReverseComparator(Comparator<? super E>) - 类 的构造器com.dahuatech.hutool.core.comparator.ReverseComparator
-
- reverseNew(List<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
反序给定List,会创建一个新的List,原List数据不变
- rightClick() - 类 中的静态方法com.dahuatech.hutool.core.swing.RobotUtil
-
模拟右键单击
鼠标单击包括鼠标右键的按下和释放
- RobotUtil - com.dahuatech.hutool.core.swing中的类
-
- RobotUtil() - 类 的构造器com.dahuatech.hutool.core.swing.RobotUtil
-
- Rot - com.dahuatech.hutool.core.codec中的类
-
RotN(rotate by N places),回转N位密码,是一种简易的替换式密码,也是过去在古罗马开发的凯撒加密的一种变体。
- Rot() - 类 的构造器com.dahuatech.hutool.core.codec.Rot
-
- rotate(int) - 类 中的方法com.dahuatech.hutool.core.img.Img
-
旋转图片为指定角度
来自:http://blog.51cto.com/cping1982/130066
- rotate(File, int, File) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
旋转图片为指定角度
此方法不会关闭输出流
- rotate(Image, int, File) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
旋转图片为指定角度
此方法不会关闭输出流
- rotate(Image, int, OutputStream) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
旋转图片为指定角度
此方法不会关闭输出流
- rotate(Image, int, ImageOutputStream) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
旋转图片为指定角度
此方法不会关闭输出流,输出格式为JPG
- rotate(Image, int) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
旋转图片为指定角度
来自:http://blog.51cto.com/cping1982/130066
- rotatingHash(String, int) - 类 中的静态方法com.dahuatech.hutool.core.util.HashUtil
-
旋转hash
- round(Date, DateField) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
修改日期为某个时间字段四舍五入时间
- round(Calendar, DateField) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
修改日期为某个时间字段四舍五入时间
- round(double) - 类 中的方法com.dahuatech.hutool.core.img.Img
-
图片圆角处理
- round(double, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
- round(String, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
- round(BigDecimal, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
- round(double, int, RoundingMode) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- round(String, int, RoundingMode) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- round(BigDecimal, int, RoundingMode) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- roundDown(Number, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
保留固定小数位数,舍去多余位数
- roundDown(BigDecimal, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
保留固定小数位数,舍去多余位数
- roundHalfEven(Number, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
四舍六入五成双计算法
四舍六入五成双是一种比较精确比较科学的计数保留法,是一种数字修约规则。
- roundHalfEven(BigDecimal, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
四舍六入五成双计算法
四舍六入五成双是一种比较精确比较科学的计数保留法,是一种数字修约规则。
- roundStr(double, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
- roundStr(String, int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
- roundStr(double, int, RoundingMode) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- roundStr(String, int, RoundingMode) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- RSA - com.dahuatech.hutool.crypto.asymmetric中的类
-
RSA公钥/私钥/签名加密解密
罗纳德·李维斯特(Ron [R]ivest)、阿迪·萨莫尔(Adi [S]hamir)和伦纳德·阿德曼(Leonard [A]dleman)
由于非对称加密速度极其缓慢,一般文件不使用它来加密而是使用对称加密,
非对称加密算法可以用来对对称加密的密钥加密,这样保证密钥的安全也就保证了数据的安全
- RSA() - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.RSA
-
构造,生成新的私钥公钥对
- RSA(String) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.RSA
-
构造,生成新的私钥公钥对
- RSA(String, String) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- RSA(String, String, String) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- RSA(byte[], byte[]) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- RSA(BigInteger, BigInteger, BigInteger) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- RSA(PrivateKey, PublicKey) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- RSA(String, PrivateKey, PublicKey) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.RSA
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- rsa() - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
创建RSA算法对象
生成新的私钥公钥对
- rsa(String, String) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
创建RSA算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- rsa(byte[], byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
创建RSA算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- rsAsn1ToPlain(byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SmUtil
-
BC的SM3withSM2签名得到的结果的rs是asn1格式的,这个方法转化成直接拼接r||s
来自:https://blog.csdn.net/pridas/article/details/86118774
- rsHash(String) - 类 中的静态方法com.dahuatech.hutool.core.util.HashUtil
-
RS算法hash
- rsPlainToAsn1(byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SmUtil
-
BC的SM3withSM2验签需要的rs是asn1格式的,这个方法将直接拼接r||s的字节数组转化成asn1格式
来自:https://blog.csdn.net/pridas/article/details/86118774
- run() - 类 中的方法com.dahuatech.hutool.core.io.file.LineReadWatcher
-
- run() - 类 中的方法com.dahuatech.hutool.core.io.watch.WatchMonitor
-
- run() - 枚举 中的方法com.dahuatech.hutool.core.swing.clipboard.ClipboardMonitor
-
- run() - 类 中的方法com.dahuatech.hutool.core.thread.SemaphoreRunnable
-
- run() - 类 中的方法com.dahuatech.hutool.core.thread.SyncFinisher.Worker
-
- RuntimeUtil - com.dahuatech.hutool.core.util中的类
-
系统运行时工具类,用于执行系统命令的工具
- RuntimeUtil() - 类 的构造器com.dahuatech.hutool.core.util.RuntimeUtil
-
- safeGet(String) - 类 中的方法com.dahuatech.hutool.core.bean.DynaBean
-
获得字段对应值,获取异常返回null
- safeSleep(Number) - 类 中的静态方法com.dahuatech.hutool.core.thread.ThreadUtil
-
- safeUnescape(String) - 类 中的静态方法com.dahuatech.hutool.core.util.EscapeUtil
-
安全的unescape文本,当文本不是被escape的时候,返回原文。
- salt - 类 中的变量com.dahuatech.hutool.crypto.digest.Digester
-
盐值
- saltPosition - 类 中的变量com.dahuatech.hutool.crypto.digest.Digester
-
加盐位置,即将盐值字符串放置在数据的index数,默认0
- scale(float) - 类 中的方法com.dahuatech.hutool.core.img.Img
-
缩放图像(按比例缩放)
- scale(int, int) - 类 中的方法com.dahuatech.hutool.core.img.Img
-
缩放图像(按长宽缩放)
注意:目标长宽与原图不成比例会变形
- scale(int, int, Color) - 类 中的方法com.dahuatech.hutool.core.img.Img
-
等比缩放图像,此方法按照按照给定的长宽等比缩放图片,按照长宽缩放比最多的一边等比缩放,空白部分填充背景色
缩放后默认为jpeg格式
- scale(File, File, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放),目标文件的扩展名决定目标文件类型
- scale(InputStream, OutputStream, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(ImageInputStream, ImageOutputStream, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, File, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, OutputStream, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, ImageOutputStream, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, float) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
缩放图像(按比例缩放)
- scale(Image, int, int) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
缩放图像(按长宽缩放)
注意:目标长宽与原图不成比例会变形
- scale(File, File, int, int, Color) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
缩放图像(按高度和宽度缩放)
缩放后默认为jpeg格式
- scale(InputStream, OutputStream, int, int, Color) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
缩放图像(按高度和宽度缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(ImageInputStream, ImageOutputStream, int, int, Color) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
缩放图像(按高度和宽度缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, ImageOutputStream, int, int, Color) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
缩放图像(按高度和宽度缩放)
缩放后默认为jpeg格式,此方法并不关闭流
- scale(Image, int, int, Color) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
缩放图像(按高度和宽度缩放)
缩放后默认为jpeg格式
- ScaleType - com.dahuatech.hutool.core.img中的枚举
-
图片缩略算法类型
- scan() - 类 中的方法com.dahuatech.hutool.core.lang.ClassScanner
-
扫描包路径下满足class过滤器条件的所有class文件
- scanner() - 类 中的静态方法com.dahuatech.hutool.core.lang.Console
-
- scanPackage() - 类 中的静态方法com.dahuatech.hutool.core.lang.ClassScanner
-
扫描该包路径下所有class文件
- scanPackage(String) - 类 中的静态方法com.dahuatech.hutool.core.lang.ClassScanner
-
扫描该包路径下所有class文件
- scanPackage(String, Filter<Class<?>>) - 类 中的静态方法com.dahuatech.hutool.core.lang.ClassScanner
-
扫描包路径下满足class过滤器条件的所有class文件,
如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException
因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理
- scanPackage() - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
扫面该包路径下所有class文件
- scanPackage(String) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
扫面该包路径下所有class文件
- scanPackage(String, Filter<Class<?>>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
扫面包路径下满足class过滤器条件的所有class文件,
如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException
因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理,有可能是一个不完善的地方,以后需要进行修改
- scanPackageByAnnotation(String, Class<? extends Annotation>) - 类 中的静态方法com.dahuatech.hutool.core.lang.ClassScanner
-
扫描指定包路径下所有包含指定注解的类
- scanPackageByAnnotation(String, Class<? extends Annotation>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
扫描指定包路径下所有包含指定注解的类
- scanPackageBySuper(String, Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.lang.ClassScanner
-
扫描指定包路径下所有指定类或接口的子类或实现类
- scanPackageBySuper(String, Class<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
扫描指定包路径下所有指定类或接口的子类或实现类
- schedule(Runnable, long) - 枚举 中的方法com.dahuatech.hutool.cache.GlobalPruneTimer
-
启动定时任务
- schedulePrune(long) - 类 中的方法com.dahuatech.hutool.cache.impl.TimedCache
-
定时清理
- ScreenUtil - com.dahuatech.hutool.core.swing中的类
-
屏幕相关(当前显示设置)工具类
- ScreenUtil() - 类 的构造器com.dahuatech.hutool.core.swing.ScreenUtil
-
- sdbmHash(String) - 类 中的静态方法com.dahuatech.hutool.core.util.HashUtil
-
SDBM算法
- season() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
- Season - com.dahuatech.hutool.core.date中的枚举
-
- seasonEnum() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
- second() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
获得指定日期的秒数部分
- second(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
获得指定日期的秒数部分
- secondToTime(int) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
秒数转为时间格式(HH:mm:ss)
参考:https://github.com/iceroot
- SecureUtil - com.dahuatech.hutool.crypto中的类
-
安全相关工具类
加密分为三种:
1、对称加密(symmetric),例如:AES、DES等
2、非对称加密(asymmetric),例如:RSA、DSA等
3、摘要加密(digest),例如:MD5、SHA-1、SHA-256、HMAC等
- SecureUtil() - 类 的构造器com.dahuatech.hutool.crypto.SecureUtil
-
- SecurityManagerCaller - com.dahuatech.hutool.core.lang.caller中的类
-
- SecurityManagerCaller() - 类 的构造器com.dahuatech.hutool.core.lang.caller.SecurityManagerCaller
-
- select() - 类 中的方法com.dahuatech.hutool.core.math.Arrangement
-
全排列选择(列表全部参与排列)
- select(int) - 类 中的方法com.dahuatech.hutool.core.math.Arrangement
-
排列选择(从列表中选择m个排列)
- select(int) - 类 中的方法com.dahuatech.hutool.core.math.Combination
-
组合选择(从列表中选择m个组合)
- selectAll() - 类 中的方法com.dahuatech.hutool.core.math.Arrangement
-
排列所有组合,即A(n, 1) + A(n, 2) + A(n, 3)...
- selectAll() - 类 中的方法com.dahuatech.hutool.core.math.Combination
-
全组合
- SemaphoreRunnable - com.dahuatech.hutool.core.thread中的类
-
带有信号量控制的
Runnable 接口抽象实现
通过设置信号量,可以限制可以访问某些资源(物理或逻辑的)线程数目。
- SemaphoreRunnable(Runnable, Semaphore) - 类 的构造器com.dahuatech.hutool.core.thread.SemaphoreRunnable
-
构造
- send() - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
执行Webservice请求,即发送SOAP内容
- send(boolean) - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
执行Webservice请求,即发送SOAP内容
- sendForMessage() - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
执行Webservice请求,即发送SOAP内容
- serialize(T) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
序列化
对象必须实现Serializable接口
- serialize(T, V) - 接口 中的方法com.dahuatech.hutool.json.serialize.JSONSerializer
-
序列化实现,通过实现此方法,将指定类型的对象转换为
JSON对象
转换后的对象可以为JSONObject也可以为JSONArray,首先new一个空的JSON,然后将需要的数据字段put到JSON对象中去即可。
- ServerException - com.dahuatech.icc.exception中的异常错误
-
- ServerException(String, String) - 异常错误 的构造器com.dahuatech.icc.exception.ServerException
-
- ServerException(String, String, String) - 异常错误 的构造器com.dahuatech.icc.exception.ServerException
-
- ServerException(String) - 异常错误 的构造器com.dahuatech.icc.exception.ServerException
-
- set(Object, Object) - 类 中的方法com.dahuatech.hutool.core.bean.BeanPath
-
设置表达式指定位置(或filed对应)的值
若表达式指向一个List则设置其坐标对应位置的值,若指向Map则put对应key的值,Bean则设置字段的值
注意:
1.
- set(String, Object) - 类 中的方法com.dahuatech.hutool.core.bean.DynaBean
-
设置字段值
- set(String, Object) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
设置列
- set(T) - 接口 中的方法com.dahuatech.hutool.core.lang.mutable.Mutable
-
设置值
- set(boolean) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableBool
-
设置值
- set(Boolean) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableBool
-
- set(byte) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableByte
-
设置值
- set(Number) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableByte
-
- set(double) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableDouble
-
设置值
- set(Number) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableDouble
-
- set(float) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableFloat
-
设置值
- set(Number) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableFloat
-
- set(int) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableInt
-
设置值
- set(Number) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableInt
-
- set(long) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableLong
-
设置值
- set(Number) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableLong
-
- set(T) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableObj
-
- set(short) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableShort
-
设置值
- set(Number) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableShort
-
- set(Transferable) - 类 中的静态方法com.dahuatech.hutool.core.swing.clipboard.ClipboardUtil
-
设置内容到剪贴板
- set(Transferable, ClipboardOwner) - 类 中的静态方法com.dahuatech.hutool.core.swing.clipboard.ClipboardUtil
-
设置内容到剪贴板
- set(int, String) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
- set(int, Object) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- set(Class<? extends LogFactory>) - 类 中的静态方法com.dahuatech.hutool.log.GlobalLogFactory
-
自定义日志实现
- set(LogFactory) - 类 中的静态方法com.dahuatech.hutool.log.GlobalLogFactory
-
自定义日志实现
- setAccessible(Method) - 类 中的静态方法com.dahuatech.hutool.core.util.ClassUtil
-
设置方法为可访问
- setAccessible(T) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
设置方法为可访问(私有方法可以被外部调用)
- setAllowCoreThreadTimeOut(boolean) - 类 中的方法com.dahuatech.hutool.core.thread.ExecutorBuilder
-
设置线程执行超时后是否回收线程
- setAlwaysDelimitText(boolean) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvWriteConfig
-
设置是否始终使用文本分隔符,文本包装符,默认false,按需添加
- setAlwaysDelimitText(boolean) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvWriter
-
设置是否始终使用文本分隔符,文本包装符,默认false,按需添加
- setBeginAtSameTime(boolean) - 类 中的方法com.dahuatech.hutool.core.thread.SyncFinisher
-
设置是否所有worker线程同时开始
- setBetweenMs(long) - 类 中的方法com.dahuatech.hutool.core.date.BetweenFormater
-
设置 时长毫秒数
- setBrowser(Browser) - 类 中的方法com.dahuatech.hutool.http.useragent.UserAgent
-
设置浏览器类型
- setCapacity(int) - 类 中的方法com.dahuatech.hutool.core.map.FixedLinkedHashMap
-
设置容量
- setCertificate(Certificate) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.Sign
-
设置
Certificate 为PublicKey
如果Certificate是X509Certificate,我们需要检查是否有密钥扩展
- setCharset(Charset) - 类 中的方法com.dahuatech.hutool.core.io.file.FileWrapper
-
设置字符集编码
- setCharset(Charset) - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
设置编码
- setChunkedStreamingMode(int) - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
采用流方式上传数据,无需本地缓存数据。
- setChunkedStreamingMode(int) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
采用流方式上传数据,无需本地缓存数据。
- setClassLoader(ClassLoader) - 类 中的方法com.dahuatech.hutool.core.lang.ClassScanner
-
设置自定义的类加载器
- setCode(String) - 枚举 中的方法com.dahuatech.icc.common.ParamValidEnum
-
- setComparator(int, Comparator<E>) - 类 中的方法com.dahuatech.hutool.core.comparator.ComparatorChain
-
替换指定位置的比较器,保持原排序方式
- setComparator(int, Comparator<E>, boolean) - 类 中的方法com.dahuatech.hutool.core.comparator.ComparatorChain
-
替换指定位置的比较器,替换指定排序方式
- setConnectionAndReadTimeout(int) - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
设置连接和读取的超时时间
- setConnectionTimeout(int) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
设置连接超时,单位:毫秒
- setConnectionTimeout(int) - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
设置连接超时,单位:毫秒
- setConnectTimeout(int) - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
设置连接超时
- setContainsHeader(boolean) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvReadConfig
-
设置是否首行做为标题行,默认false
- setContainsHeader(boolean) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvReader
-
设置是否首行做为标题行,默认false
- setCookie(String) - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
设置Cookie
- setCookieManager(CookieManager) - 类 中的静态方法com.dahuatech.hutool.http.cookie.GlobalCookieManager
-
- setCookieManager(CookieManager) - 类 中的静态方法com.dahuatech.hutool.http.HttpGlobalConfig
-
- setCookieManager(CookieManager) - 类 中的静态方法com.dahuatech.hutool.http.HttpRequest
-
- setCopyAttributes(boolean) - 类 中的方法com.dahuatech.hutool.core.io.file.FileCopier
-
设置是否拷贝所有属性
- setCopyContentIfDir(boolean) - 类 中的方法com.dahuatech.hutool.core.io.file.FileCopier
-
当拷贝来源是目录时是否只拷贝目录下的内容
- setCopyFilter(Filter<T>) - 类 中的方法com.dahuatech.hutool.core.lang.copier.SrcToDestCopier
-
设置过滤器
- setCorePoolSize(int) - 类 中的方法com.dahuatech.hutool.core.thread.ExecutorBuilder
-
设置初始池大小,默认0
- setCurrentLogFactory(Class<? extends LogFactory>) - 类 中的静态方法com.dahuatech.hutool.log.LogFactory
-
自定义日志实现
- setCurrentLogFactory(LogFactory) - 类 中的静态方法com.dahuatech.hutool.log.LogFactory
-
自定义日志实现
- setDaemon(boolean) - 类 中的方法com.dahuatech.hutool.core.thread.ThreadFactoryBuilder
-
设置是否守护线程
- setDateFormat(String) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
设置转为字符串时的日期格式,默认为时间戳(null值)
- setDateFormat(String) - 类 中的方法com.dahuatech.hutool.json.JSONConfig
-
设置日期格式,null表示默认的时间戳
- setDateFormat(String) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
设置转为字符串时的日期格式,默认为时间戳(null值)
- setDecryptBlockSize(int) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AsymmetricCrypto
-
设置解密块大小
- setDelay(long) - 枚举 中的方法com.dahuatech.hutool.core.swing.clipboard.ClipboardMonitor
-
设置重试等待
- setDelay(int) - 类 中的静态方法com.dahuatech.hutool.core.swing.RobotUtil
-
设置默认的延迟时间
当按键执行完后的等待时间,也可以用ThreadUtil.sleep方法代替
- setDest(T) - 类 中的方法com.dahuatech.hutool.core.lang.copier.SrcToDestCopier
-
设置目标
- setDigestCount(int) - 类 中的方法com.dahuatech.hutool.crypto.digest.Digester
-
设置重复计算摘要值次数
- setEditable(Class<?>) - 类 中的方法com.dahuatech.hutool.core.bean.copier.CopyOptions
-
设置限制的类或接口,必须为目标对象的实现接口或父类,用于限制拷贝的属性
- setEncodeSpaceAsPlus(boolean) - 类 中的方法com.dahuatech.hutool.core.net.URLEncoder
-
是否将空格编码为+
- setEncodeUrlParams(boolean) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
是否对URL中的参数进行编码
- setEncryptBlockSize(int) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.AsymmetricCrypto
-
设置加密块大小
- setEngine(Engine) - 类 中的方法com.dahuatech.hutool.http.useragent.UserAgent
-
设置引擎类型
- setEngineVersion(String) - 类 中的方法com.dahuatech.hutool.http.useragent.UserAgent
-
设置引擎版本
- setEquals(boolean) - 类 中的方法com.dahuatech.hutool.core.builder.EqualsBuilder
-
Sets the isEquals value.
- setErrCode(String) - 异常错误 中的方法com.dahuatech.icc.exception.ClientException
-
- setErrMsg(String) - 枚举 中的方法com.dahuatech.icc.common.ParamValidEnum
-
- setErrMsg(String) - 异常错误 中的方法com.dahuatech.icc.exception.ClientException
-
- setErrorCode(int) - 异常错误 中的方法com.dahuatech.icc.exception.IccException
-
- setErrorDescription(String) - 异常错误 中的方法com.dahuatech.icc.exception.ClientException
-
- setErrorMsg(String) - 异常错误 中的方法com.dahuatech.icc.exception.IccException
-
- setErrorOnDifferentFieldCount(boolean) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvReadConfig
-
设置每行字段个数不同时是否抛出异常,默认false
- setErrorOnDifferentFieldCount(boolean) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvReader
-
设置每行字段个数不同时是否抛出异常,默认false
- setErrorType(ErrorType) - 异常错误 中的方法com.dahuatech.icc.exception.ClientException
-
- setField(DateField, int) - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
- setField(int, int) - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
- setFieldMapping(Map<String, String>) - 类 中的方法com.dahuatech.hutool.core.bean.copier.CopyOptions
-
设置拷贝属性的字段映射,用于不同的属性之前拷贝做对应表用
- setFieldSeparator(char) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvConfig
-
设置字段分隔符,默认逗号','
- setFieldSeparator(char) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvReader
-
设置字段分隔符,默认逗号','
- setFieldValue(Object, String, Object) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
设置字段值,,通过反射设置字段值,并不调用setXXX方法
对象同样支持Map类型,fieldNameOrIndex即为key
- setFieldValue(Object, String, Object) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
设置字段值
- setFieldValue(Object, Field, Object) - 类 中的静态方法com.dahuatech.hutool.core.util.ReflectUtil
-
设置字段值
- setFile(File) - 类 中的方法com.dahuatech.hutool.core.io.file.FileWrapper
-
设置文件
- setFirstDayOfWeek(Week) - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
- setFollowRedirects(boolean) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
- setFormat(String) - 类 中的方法com.dahuatech.hutool.core.convert.impl.CalendarConverter
-
设置日期格式
- setFormat(String) - 类 中的方法com.dahuatech.hutool.core.convert.impl.DateConverter
-
设置日期格式
- setFormat(String) - 类 中的方法com.dahuatech.hutool.core.convert.impl.Jdk8DateConverter
-
设置日期格式
- setForwardSort(int) - 类 中的方法com.dahuatech.hutool.core.comparator.ComparatorChain
-
更改指定位置的排序方式为正序
- setGlobalTimeout(int) - 类 中的静态方法com.dahuatech.hutool.http.HttpRequest
-
设置全局默认的连接和读取超时时长
- setHandler(RejectedExecutionHandler) - 类 中的方法com.dahuatech.hutool.core.thread.ExecutorBuilder
-
设置当线程阻塞(block)时的异常处理器,所谓线程阻塞即线程池和等待队列已满,无法处理线程时采取的策略
此处可以使用JDK预定义的几种策略,见
RejectPolicy枚举
- setHeader(QName) - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
设置头信息
- setHeader(QName, String, String, Boolean, Boolean) - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
设置头信息
- setHostnameVerifier(HostnameVerifier) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
设置域名验证器
只针对HTTPS请求,如果不设置,不做验证,所有域名被信任
- setHttpsInfo(HostnameVerifier, SSLSocketFactory) - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
设置https请求参数
有些时候htts请求会出现com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl的实现,此为sun内部api,按照普通http请求处理
- setIgnoreCase(boolean) - 类 中的方法com.dahuatech.hutool.core.bean.copier.CopyOptions
-
设置是否忽略字段的大小写
- setIgnoreCase(boolean) - 类 中的方法com.dahuatech.hutool.json.JSONConfig
-
设置是否忽略键的大小写
- setIgnoreError(boolean) - 类 中的方法com.dahuatech.hutool.core.bean.copier.CopyOptions
-
设置是否忽略字段的注入错误
- setIgnoreError(boolean) - 类 中的方法com.dahuatech.hutool.json.JSONConfig
-
设置是否忽略转换过程中的异常
- setIgnoreNull(String, Object) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
设置列,当键或值为null时忽略
- setIgnoreNullValue(boolean) - 类 中的方法com.dahuatech.hutool.core.bean.copier.CopyOptions
-
设置是否忽略空值,当源对象的值为null时,true: 忽略而不注入此值,false: 注入null
- setIgnoreNullValue(boolean) - 类 中的方法com.dahuatech.hutool.json.JSONConfig
-
设置是否忽略null值
- setIgnoreProperties(String...) - 类 中的方法com.dahuatech.hutool.core.bean.copier.CopyOptions
-
设置忽略的目标对象中属性列表,设置一个属性列表,不拷贝这些属性值
- setImage(Image) - 类 中的静态方法com.dahuatech.hutool.core.swing.clipboard.ClipboardUtil
-
设置图片到剪贴板
- setInitialize(boolean) - 类 中的方法com.dahuatech.hutool.core.lang.ClassScanner
-
设置是否在扫描到类时初始化类
- setInstanceFollowRedirects(boolean) - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
设置自动HTTP 30X跳转
- setIv(IvParameterSpec) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
设置偏移向量
- setIv(byte[]) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
设置偏移向量
- setKeepAliveTime(long, TimeUnit) - 类 中的方法com.dahuatech.hutool.core.thread.ExecutorBuilder
-
设置线程存活时间,即当池中线程多于初始大小时,多出的线程保留的时长
- setKeepAliveTime(long) - 类 中的方法com.dahuatech.hutool.core.thread.ExecutorBuilder
-
设置线程存活时间,即当池中线程多于初始大小时,多出的线程保留的时长,单位纳秒
- setKeepTaskList(boolean) - 类 中的方法com.dahuatech.hutool.core.date.StopWatch
-
设置是否在停止后保留任务,false 表示停止运行后不保留任务
- setKey(String) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.RC4
-
设置密钥
- setKeyManagers(KeyManager...) - 类 中的方法com.dahuatech.hutool.http.ssl.SSLSocketFactoryBuilder
-
设置 JSSE key managers
- setLevel(BetweenFormater.Level) - 类 中的方法com.dahuatech.hutool.core.date.BetweenFormater
-
设置格式化级别
- setLevel(Level) - 类 中的静态方法com.dahuatech.hutool.log.dialect.console.ConsoleLog
-
设置自定义的日志显示级别
- setLineDelimiter(char[]) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvWriteConfig
-
设置换行符
- setLineDelimiter(char[]) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvWriter
-
设置换行符
- setMaxDepth(int) - 类 中的方法com.dahuatech.hutool.core.io.watch.WatchMonitor
-
当监听目录时,监听目录的最大深度
当设置值为1(或小于1)时,表示不递归监听子目录
例如设置:
maxDepth <= 1 表示只监听当前目录
maxDepth = 2 表示监听当前目录以及下层目录
maxDepth = 3 表示监听当前目录以及下层
- setMaxPoolSize(int) - 类 中的方法com.dahuatech.hutool.core.thread.ExecutorBuilder
-
设置最大池大小(允许同时执行的最大线程数)
- setMaxRedirectCount(int) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
设置最大重定向次数
如果次数小于1则表示不重定向,大于等于1表示打开重定向
- setMethod(Method) - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
设置请求方法
- setMethod(Method) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
设置请求方法
- setMethod(Name, Map<String, Object>, boolean) - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
设置请求方法
- setMethod(QName, Map<String, Object>, boolean) - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
设置请求方法
- setMethod(String) - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
设置请求方法
方法名自动识别前缀,前缀和方法名使用“:”分隔
当识别到前缀后,自动添加xmlns属性,关联到默认的namespaceURI
- setMethod(String, String) - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
设置请求方法
方法名自动识别前缀,前缀和方法名使用“:”分隔
当识别到前缀后,自动添加xmlns属性,关联到传入的namespaceURI
- setMethod(QName) - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
设置请求方法
- setMobile(boolean) - 类 中的方法com.dahuatech.hutool.http.useragent.UserAgent
-
设置是否为移动平台
- setMode(SM2Engine.SM2Mode) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.SM2
-
设置加密类型
- setMode(SM2Engine.SM2Mode) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.SM2Engine
-
设置加密类型
- setModifiers(WatchEvent.Modifier[]) - 类 中的方法com.dahuatech.hutool.core.io.watch.WatchMonitor
-
设置监听选项,例如监听频率等,可设置项包括:
1、com.sun.nio.file.StandardWatchEventKinds
2、com.sun.nio.file.SensitivityWatchEventModifier
- setMutable(boolean) - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
- setNamePrefix(String) - 类 中的方法com.dahuatech.hutool.core.thread.ThreadFactoryBuilder
-
设置线程名前缀,例如设置前缀为hutool-thread-,则线程名为hutool-thread-1之类。
- setObj(T) - 类 中的方法com.dahuatech.hutool.core.lang.WeightRandom.WeightObj
-
设置对象
- setOnlyCopyFile(boolean) - 类 中的方法com.dahuatech.hutool.core.io.file.FileCopier
-
设置当拷贝来源是目录时是否只拷贝文件而忽略子目录
- setOrAppend(List<T>, int, T) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
设置或增加元素。
- setOrAppend(T[], int, T) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
将元素值设置为数组的某个位置,当给定的index大于数组长度,则追加
- setOrAppend(Object, int, Object) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
将元素值设置为数组的某个位置,当给定的index大于数组长度,则追加
- setOrder(boolean) - 类 中的方法com.dahuatech.hutool.json.JSONConfig
-
设置是否有序,顺序按照加入顺序排序
- setOs(OS) - 类 中的方法com.dahuatech.hutool.http.useragent.UserAgent
-
设置系统类型
- setOverride(boolean) - 类 中的方法com.dahuatech.hutool.core.io.file.FileCopier
-
设置是否覆盖目标文件
- setParam(String, Object) - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
设置方法参数,使用方法的前缀
- setParam(String, Object, boolean) - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
设置方法参数
- setParameter(AlgorithmParameterSpec) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.Sign
-
设置签名的参数
- setParams(AlgorithmParameterSpec) - 类 中的方法com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
- setParams(Map<String, Object>) - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
批量设置参数,使用方法的前缀
- setParams(Map<String, Object>, boolean) - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
批量设置参数
- setPlatform(Platform) - 类 中的方法com.dahuatech.hutool.http.useragent.UserAgent
-
设置平台类型
- setPositionBaseCentre(boolean) - 类 中的方法com.dahuatech.hutool.core.img.Img
-
计算x,y坐标的时候是否从中心做为原始坐标开始计算
- setPriority(int) - 类 中的方法com.dahuatech.hutool.core.thread.ThreadFactoryBuilder
-
设置线程优先级
- setPrivateKey(PrivateKey) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.BaseAsymmetric
-
设置私钥
- setPrivateKey(PrivateKey) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.SM2
-
- setProperty(Object, String, Object) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
解析Bean中的属性值
- setProtocol(String) - 类 中的方法com.dahuatech.hutool.http.ssl.SSLSocketFactoryBuilder
-
设置协议
- setProxy(Proxy) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
设置代理
- setPublicKey(PublicKey) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.BaseAsymmetric
-
设置公钥
- setPublicKey(PublicKey) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.SM2
-
- setQuality(double) - 类 中的方法com.dahuatech.hutool.core.img.Img
-
设置图片输出质量,数字为0~1(不包括0和1)表示质量压缩比,除此数字外设置表示不压缩
- setQuality(float) - 类 中的方法com.dahuatech.hutool.core.img.Img
-
设置图片输出质量,数字为0~1(不包括0和1)表示质量压缩比,除此数字外设置表示不压缩
- setReadTimeout(int) - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
设置读取超时
- setReadTimeout(int) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
设置连接超时,单位:毫秒
- setReadTimeout(int) - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
设置连接超时,单位:毫秒
- setRequestId(String) - 异常错误 中的方法com.dahuatech.icc.exception.ClientException
-
- setRest(boolean) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
设置是否rest模式
- setReverseSort(int) - 类 中的方法com.dahuatech.hutool.core.comparator.ComparatorChain
-
更改指定位置的排序方式为反序
- setSalt(byte[]) - 类 中的方法com.dahuatech.hutool.crypto.digest.Digester
-
设置加盐内容
- setSaltPosition(int) - 类 中的方法com.dahuatech.hutool.crypto.digest.Digester
-
设置加盐的位置,只有盐值存在时有效
加盐的位置指盐位于数据byte数组中的位置,例如:
data: 0123456
则当saltPosition = 2时,盐位于data的1和2中间,即第二个空隙,即:
data: 01[salt]23456
- setSecureRandom(SecureRandom) - 类 中的方法com.dahuatech.hutool.http.ssl.SSLSocketFactoryBuilder
-
设置 SecureRandom
- setSignature(Signature) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.Sign
-
设置签名
- setSkipEmptyRows(boolean) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvReadConfig
-
设置是否跳过空白行,默认true
- setSkipEmptyRows(boolean) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvReader
-
设置是否跳过空白行,默认true
- setSrc(T) - 类 中的方法com.dahuatech.hutool.core.lang.copier.SrcToDestCopier
-
设置源
- setSSLProtocol(String) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
设置HTTPS安全连接协议,只针对HTTPS请求,可以使用的协议包括:
1.
- setSSLSocketFactory(SSLSocketFactory) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
设置SSLSocketFactory
只针对HTTPS请求,如果不设置,使用默认的SSLSocketFactory
默认SSLSocketFactory为:SSLSocketFactoryBuilder.create().build();
- setStr(String) - 类 中的静态方法com.dahuatech.hutool.core.swing.clipboard.ClipboardUtil
-
设置字符串文本到剪贴板
- setTargetImageType(String) - 类 中的方法com.dahuatech.hutool.core.img.Img
-
设置目标图片文件格式,用于写出
- setTextDelimiter(char) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvConfig
-
设置 文本分隔符,文本包装符,默认双引号'"'
- setTextDelimiter(char) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvReader
-
设置 文本分隔符,文本包装符,默认双引号'"'
- setThreadFactory(ThreadFactory) - 类 中的方法com.dahuatech.hutool.core.thread.ExecutorBuilder
-
设置线程工厂,用于自定义线程创建
- setThreadFactory(ThreadFactory) - 类 中的方法com.dahuatech.hutool.core.thread.ThreadFactoryBuilder
-
设置用于创建基础线程的线程工厂
- setTime(long) - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
- setTimeout(int) - 类 中的静态方法com.dahuatech.hutool.http.HttpGlobalConfig
-
设置默认的连接和读取超时时长
- setTimeZone(TimeZone) - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
设置时区
- setTrustManagers(TrustManager...) - 类 中的方法com.dahuatech.hutool.http.ssl.SSLSocketFactoryBuilder
-
设置信任信息
- setTryCount(int) - 枚举 中的方法com.dahuatech.hutool.core.swing.clipboard.ClipboardMonitor
-
设置重试次数
- setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - 类 中的方法com.dahuatech.hutool.core.thread.ThreadFactoryBuilder
-
设置未捕获异常的处理方式
- setUrl(String) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
设置URL
- setUrl(String) - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
设置Webservice请求地址
- setUrlHandler(URLStreamHandler) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
设置
URLStreamHandler
部分环境下需要单独设置此项,例如当 WebLogic Server 实例充当 SSL 客户端角色(它会尝试通过 SSL 连接到其他服务器或应用程序)时,
它会验证 SSL 服务器在数字证书中返回的主机名是否与用于连接 SSL 服务器的 URL 主机名相匹配。
- setUseBouncyCastle(boolean) - 枚举 中的静态方法com.dahuatech.hutool.crypto.GlobalBouncyCastleProvider
-
设置是否使用Bouncy Castle库
如果设置为false,表示强制关闭Bouncy Castle而使用JDK
- setValue(Object, Object) - 类 中的方法com.dahuatech.hutool.core.bean.BeanDesc.PropDesc
-
设置Bean的字段值
首先调用字段对应的Setter方法,如果Setter方法不存在,则判断字段如果为public,则直接赋值字段值
- SetValueMap<K,V> - com.dahuatech.hutool.core.map.multi中的类
-
值作为集合Set(LinkedHashSet)的Map实现,通过调用putValue可以在相同key时加入多个值,多个值用集合表示
- SetValueMap() - 类 的构造器com.dahuatech.hutool.core.map.multi.SetValueMap
-
构造
- SetValueMap(int) - 类 的构造器com.dahuatech.hutool.core.map.multi.SetValueMap
-
构造
- SetValueMap(Map<? extends K, ? extends Collection<V>>) - 类 的构造器com.dahuatech.hutool.core.map.multi.SetValueMap
-
构造
- SetValueMap(float, Map<? extends K, ? extends Collection<V>>) - 类 的构造器com.dahuatech.hutool.core.map.multi.SetValueMap
-
构造
- SetValueMap(int, float) - 类 的构造器com.dahuatech.hutool.core.map.multi.SetValueMap
-
构造
- setVersion(String) - 类 中的方法com.dahuatech.hutool.http.useragent.UserAgent
-
设置浏览器版本
- setWatcher(Watcher) - 类 中的方法com.dahuatech.hutool.core.io.watch.WatchMonitor
-
- setWorkQueue(BlockingQueue<Runnable>) - 类 中的方法com.dahuatech.hutool.core.thread.ExecutorBuilder
-
设置队列,用于存在未执行的线程
可选队列有:
1.
- sha1(byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值
- sha1(String, String) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值
- sha1(String) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
计算sha1摘要值,使用UTF-8编码
- sha1(InputStream) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值
- sha1(File) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值
- sha1() - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
SHA1加密
例:
SHA1加密:sha1().digest(data)
SHA1加密并转为16进制字符串:sha1().digestHex(data)
- sha1(String) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
SHA1加密,生成16进制SHA1字符串
- sha1(InputStream) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
SHA1加密,生成16进制SHA1字符串
- sha1(File) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
SHA1加密文件,生成16进制SHA1字符串
- sha1Hex(byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha1Hex(String, String) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha1Hex(String) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha1Hex(InputStream) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha1Hex(File) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha256(byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值
- sha256(String, String) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值
- sha256(String) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
计算sha256摘要值,使用UTF-8编码
- sha256(InputStream) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值
- sha256(File) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值
- sha256() - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
SHA256加密
例:
SHA256加密:sha256().digest(data)
SHA256加密并转为16进制字符串:sha256().digestHex(data)
- sha256(String) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
SHA256加密,生成16进制SHA256字符串
- sha256(InputStream) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
SHA256加密,生成16进制SHA256字符串
- sha256(File) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
SHA256加密文件,生成16进制SHA256字符串
- sha256Hex(byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
计算SHA-1摘要值,并转为16进制字符串
- sha256Hex(String, String) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值,并转为16进制字符串
- sha256Hex(String) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值,并转为16进制字符串
- sha256Hex(InputStream) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值,并转为16进制字符串
- sha256Hex(File) - 类 中的静态方法com.dahuatech.hutool.crypto.digest.DigestUtil
-
计算SHA-256摘要值,并转为16进制字符串
- SHORT - 类 中的静态变量com.dahuatech.hutool.core.date.format.FastDateFormat
-
SHORT locale dependent date or time style.
- shortSummary() - 类 中的方法com.dahuatech.hutool.core.date.StopWatch
-
获取任务信息
- shortToBytes(short) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
short转byte数组
- shortValue() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableShort
-
- shutdown() - 枚举 中的方法com.dahuatech.hutool.cache.GlobalPruneTimer
-
销毁全局定时器
- shutdown(boolean) - 类 中的静态方法com.dahuatech.hutool.core.thread.GlobalThreadPool
-
关闭公共线程池
- shutdownNow() - 枚举 中的方法com.dahuatech.hutool.cache.GlobalPruneTimer
-
销毁全局定时器
- Sign - com.dahuatech.hutool.crypto.asymmetric中的类
-
- Sign(SignAlgorithm) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.Sign
-
构造,创建新的私钥公钥对
- Sign(String) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.Sign
-
构造,创建新的私钥公钥对
- Sign(SignAlgorithm, String, String) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.Sign
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- Sign(SignAlgorithm, byte[], byte[]) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.Sign
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- Sign(SignAlgorithm, KeyPair) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.Sign
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- Sign(SignAlgorithm, PrivateKey, PublicKey) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.Sign
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- Sign(String, String, String) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.Sign
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- Sign(String, byte[], byte[]) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.Sign
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- Sign(String, KeyPair) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.Sign
-
构造 私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- Sign(String, PrivateKey, PublicKey) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.Sign
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- sign(byte[]) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.Sign
-
用私钥对信息生成数字签名
- sign(byte[]) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.SM2
-
用私钥对信息生成数字签名
- sign(byte[], byte[]) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.SM2
-
用私钥对信息生成数字签名
- sign(SignAlgorithm) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
创建签名算法对象
生成新的私钥公钥对
- sign(SignAlgorithm, String, String) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
创建签名算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- sign(SignAlgorithm, byte[], byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
创建Sign算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做签名或验证
- SignAlgorithm - com.dahuatech.hutool.crypto.asymmetric中的枚举
-
签名算法类型
see: https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#Signature
- signature - 类 中的变量com.dahuatech.hutool.crypto.asymmetric.Sign
-
签名,用于签名和验证
- signer - 类 中的变量com.dahuatech.hutool.crypto.asymmetric.SM2
-
- signParams(SymmetricCrypto, Map<?, ?>) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
对参数做签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
拼接后的字符串键值对之间无符号,键值对之间无符号,忽略null值
- signParams(SymmetricCrypto, Map<?, ?>, String, String, boolean) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
对参数做签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
- signParams(DigestAlgorithm, Map<?, ?>) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
对参数做签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
拼接后的字符串键值对之间无符号,键值对之间无符号,忽略null值
- signParams(DigestAlgorithm, Map<?, ?>, String, String, boolean) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
对参数做签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
- signParamsMd5(Map<?, ?>) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
对参数做md5签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
拼接后的字符串键值对之间无符号,键值对之间无符号,忽略null值
- signParamsSha1(Map<?, ?>) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
对参数做Sha1签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
拼接后的字符串键值对之间无符号,键值对之间无符号,忽略null值
- signParamsSha256(Map<?, ?>) - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
对参数做Sha256签名
参数签名为对Map参数按照key的顺序排序后拼接为字符串,然后根据提供的签名算法生成签名字符串
拼接后的字符串键值对之间无符号,键值对之间无符号,忽略null值
- SignUtil - com.dahuatech.icc.util中的类
-
- SignUtil() - 类 的构造器com.dahuatech.icc.util.SignUtil
-
- Simhash - com.dahuatech.hutool.core.text中的类
-
Simhash是一种局部敏感hash,用于海量文本去重。
- Simhash() - 类 的构造器com.dahuatech.hutool.core.text.Simhash
-
构造
- Simhash(int, int) - 类 的构造器com.dahuatech.hutool.core.text.Simhash
-
构造
- similar(String, String) - 类 中的静态方法com.dahuatech.hutool.core.text.TextSimilarity
-
计算相似度,两个都是空串相似度为1,被认为是相同的串
- similar(String, String, int) - 类 中的静态方法com.dahuatech.hutool.core.text.TextSimilarity
-
计算相似度百分比
- similar(String, String) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
计算两个字符串的相似度
- similar(String, String, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
计算连个字符串的相似度百分比
- SimpleCache<K,V> - com.dahuatech.hutool.core.lang中的类
-
- SimpleCache() - 类 的构造器com.dahuatech.hutool.core.lang.SimpleCache
-
- simpleUUID() - 类 中的静态方法com.dahuatech.hutool.core.util.IdUtil
-
简化的UUID,去掉了横线
- simpleUUID() - 类 中的静态方法com.dahuatech.hutool.core.util.RandomUtil
-
- simpleUUID() - 类 中的静态方法com.dahuatech.hutool.crypto.SecureUtil
-
- SimpleWatcher - com.dahuatech.hutool.core.io.watch中的类
-
空白WatchListener
用户继承此类后实现需要监听的方法
- SimpleWatcher() - 类 的构造器com.dahuatech.hutool.core.io.watch.SimpleWatcher
-
- SINGLE_QUOTE - 类 中的静态变量com.dahuatech.hutool.core.util.CharUtil
-
- SINGLE_QUOTE - 类 中的静态变量com.dahuatech.icc.util.CharUtil
-
字符常量:单引号 '\''
- Singleton - com.dahuatech.hutool.core.lang中的类
-
单例类
提供单例对象的统一管理,当调用get方法时,如果对象池中存在此对象,返回此对象,否则创建新对象返回
- size() - 接口 中的方法com.dahuatech.hutool.cache.Cache
-
缓存的对象数量
- size() - 类 中的方法com.dahuatech.hutool.cache.impl.AbstractCache
-
- size() - 类 中的方法com.dahuatech.hutool.cache.impl.NoCache
-
- size() - 类 中的方法com.dahuatech.hutool.core.collection.ConcurrentHashSet
-
- size() - 类 中的方法com.dahuatech.hutool.core.comparator.ComparatorChain
-
比较器链中比较器个数
- size() - 类 中的方法com.dahuatech.hutool.core.io.FastByteArrayOutputStream
-
- size() - 类 中的方法com.dahuatech.hutool.core.io.FastByteBuffer
-
- size(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
计算目录或文件的总大小
当给定对象为文件时,直接调用
File.length()
当给定对象为目录时,遍历目录下的所有文件和目录,递归计算其大小,求和返回
- size() - 类 中的方法com.dahuatech.hutool.core.map.MapProxy
-
- size() - 类 中的方法com.dahuatech.hutool.core.map.MapWrapper
-
- size() - 类 中的方法com.dahuatech.hutool.core.map.TableMap
-
- size() - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
- size() - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- size() - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
- skip(long) - 类 中的方法com.dahuatech.hutool.http.HttpInputStream
-
- skipEmptyRows - 类 中的变量com.dahuatech.hutool.core.text.csv.CsvReadConfig
-
是否跳过空白行,默认true
- skipPast(String) - 类 中的方法com.dahuatech.hutool.json.XMLTokener
-
Skip characters until past the requested string.
- skipTo(char) - 类 中的方法com.dahuatech.hutool.json.JSONTokener
-
Skip characters until the next character is the requested character.
- SLASH - 类 中的静态变量com.dahuatech.hutool.core.util.CharUtil
-
- SLASH - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- SLASH - 类 中的静态变量com.dahuatech.hutool.json.XML
-
The Character '/'.
- SLASH - 类 中的静态变量com.dahuatech.icc.util.CharUtil
-
字符常量:斜杠 '/'
- sleep(Number, TimeUnit) - 类 中的静态方法com.dahuatech.hutool.core.thread.ThreadUtil
-
挂起当前线程
- sleep(Number) - 类 中的静态方法com.dahuatech.hutool.core.thread.ThreadUtil
-
挂起当前线程
- Slf4jLog - com.dahuatech.hutool.log.dialect.slf4j中的类
-
- Slf4jLog(Logger) - 类 的构造器com.dahuatech.hutool.log.dialect.slf4j.Slf4jLog
-
- Slf4jLog(Class<?>) - 类 的构造器com.dahuatech.hutool.log.dialect.slf4j.Slf4jLog
-
- Slf4jLog(String) - 类 的构造器com.dahuatech.hutool.log.dialect.slf4j.Slf4jLog
-
- Slf4jLogFactory - com.dahuatech.hutool.log.dialect.slf4j中的类
-
- Slf4jLogFactory() - 类 的构造器com.dahuatech.hutool.log.dialect.slf4j.Slf4jLogFactory
-
- Slf4jLogFactory(boolean) - 类 的构造器com.dahuatech.hutool.log.dialect.slf4j.Slf4jLogFactory
-
构造
- slice(File, File, int, int) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
图像切片(指定切片的宽度和高度)
- slice(Image, File, int, int) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
图像切片(指定切片的宽度和高度)
- sliceByRowsAndCols(File, File, int, int) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
图像切割(指定切片的行数和列数)
- sliceByRowsAndCols(Image, File, int, int) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
图像切割(指定切片的行数和列数)
- SM2 - com.dahuatech.hutool.crypto.asymmetric中的类
-
国密SM2算法实现,基于BC库
SM2算法只支持公钥加密,私钥解密
参考:https://blog.csdn.net/pridas/article/details/86118774
- SM2() - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.SM2
-
构造,生成新的私钥公钥对
- SM2(String, String) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.SM2
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- SM2(byte[], byte[]) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.SM2
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- SM2(PrivateKey, PublicKey) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.SM2
-
构造
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- sm2() - 类 中的静态方法com.dahuatech.hutool.crypto.SmUtil
-
创建SM2算法对象
生成新的私钥公钥对
- sm2(String, String) - 类 中的静态方法com.dahuatech.hutool.crypto.SmUtil
-
创建SM2算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- sm2(byte[], byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SmUtil
-
创建SM2算法对象
私钥和公钥同时为空时生成一对新的私钥和公钥
私钥和公钥可以单独传入一个,如此则只能使用此钥匙来做加密或者解密
- SM2_DEFAULT_CURVE - 类 中的静态变量com.dahuatech.hutool.crypto.KeyUtil
-
SM2默认曲线
Default SM2 curve
- SM2Engine - com.dahuatech.hutool.crypto.asymmetric中的类
-
SM2加密解密引擎,来自Bouncy Castle库的SM2Engine类改造
SM2加密后的数据格式为(两种模式):
curve(C1) | data(C2) | digest(C3)
curve(C1) | digest(C3) | data(C2)
- SM2Engine() - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.SM2Engine
-
构造
- SM2Engine(SM2Engine.SM2Mode) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.SM2Engine
-
构造
- SM2Engine(Digest) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.SM2Engine
-
构造
- SM2Engine(Digest, SM2Engine.SM2Mode) - 类 的构造器com.dahuatech.hutool.crypto.asymmetric.SM2Engine
-
构造
- SM2Engine.SM2Mode - com.dahuatech.hutool.crypto.asymmetric中的枚举
-
SM2算法模式
在SM2算法中,C1C2C3为旧标准模式,C1C3C2为新标准模式
- SM3 - com.dahuatech.hutool.crypto.digest中的类
-
SM3算法
- SM3() - 类 的构造器com.dahuatech.hutool.crypto.digest.SM3
-
构造
- SM3(byte[]) - 类 的构造器com.dahuatech.hutool.crypto.digest.SM3
-
构造
- SM3(byte[], int) - 类 的构造器com.dahuatech.hutool.crypto.digest.SM3
-
构造
- SM3(byte[], int, int) - 类 的构造器com.dahuatech.hutool.crypto.digest.SM3
-
构造
- sm3() - 类 中的静态方法com.dahuatech.hutool.crypto.SmUtil
-
SM3加密
例:
SM3加密:sm3().digest(data)
SM3加密并转为16进制字符串:sm3().digestHex(data)
- sm3(String) - 类 中的静态方法com.dahuatech.hutool.crypto.SmUtil
-
SM3加密,生成16进制SM3字符串
- sm3(InputStream) - 类 中的静态方法com.dahuatech.hutool.crypto.SmUtil
-
SM3加密,生成16进制SM3字符串
- sm3(File) - 类 中的静态方法com.dahuatech.hutool.crypto.SmUtil
-
SM3加密文件,生成16进制SM3字符串
- sm4() - 类 中的静态方法com.dahuatech.hutool.crypto.SmUtil
-
SM4加密,生成随机KEY。
- sm4(byte[]) - 类 中的静态方法com.dahuatech.hutool.crypto.SmUtil
-
SM4加密
例:
SM4加密:sm4(key).encrypt(data)
SM4解密:sm4(key).decrypt(data)
- SM4 - com.dahuatech.hutool.crypto.symmetric中的类
-
SM4实现
- SM4() - 类 的构造器com.dahuatech.hutool.crypto.symmetric.SM4
-
构造,使用随机密钥
- SM4(byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.SM4
-
构造
- SM4(Mode, Padding) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.SM4
-
构造,使用随机密钥
- SM4(Mode, Padding, byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.SM4
-
构造
- SM4(Mode, Padding, byte[], byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.SM4
-
构造
- SM4(Mode, Padding, SecretKey) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.SM4
-
构造
- SM4(Mode, Padding, SecretKey, byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.SM4
-
构造
- SM4(Mode, Padding, SecretKey, IvParameterSpec) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.SM4
-
构造
- SM4(String, String) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.SM4
-
构造
- SM4(String, String, byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.SM4
-
构造
- SM4(String, String, byte[], byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.SM4
-
构造
- SM4(String, String, SecretKey) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.SM4
-
构造
- SM4(String, String, SecretKey, IvParameterSpec) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.SM4
-
构造
- SmUtil - com.dahuatech.hutool.crypto中的类
-
SM国密算法工具类
此工具类依赖org.bouncycastle:bcpkix-jdk15on
- SmUtil() - 类 的构造器com.dahuatech.hutool.crypto.SmUtil
-
- Snowflake - com.dahuatech.hutool.core.lang中的类
-
Twitter的Snowflake 算法
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
- Snowflake(long, long) - 类 的构造器com.dahuatech.hutool.core.lang.Snowflake
-
构造
- Snowflake(long, long, boolean) - 类 的构造器com.dahuatech.hutool.core.lang.Snowflake
-
构造
- SoapClient - com.dahuatech.hutool.http.webservice中的类
-
SOAP客户端
此对象用于构建一个SOAP消息,并通过HTTP接口发出消息内容。
- SoapClient(String) - 类 的构造器com.dahuatech.hutool.http.webservice.SoapClient
-
构造,默认使用soap1.1版本协议
- SoapClient(String, SoapProtocol) - 类 的构造器com.dahuatech.hutool.http.webservice.SoapClient
-
构造
- SoapClient(String, SoapProtocol, String) - 类 的构造器com.dahuatech.hutool.http.webservice.SoapClient
-
构造
- SoapProtocol - com.dahuatech.hutool.http.webservice中的枚举
-
SOAP协议版本枚举
- SoapRuntimeException - com.dahuatech.hutool.http.webservice中的异常错误
-
SOAP异常
- SoapRuntimeException(Throwable) - 异常错误 的构造器com.dahuatech.hutool.http.webservice.SoapRuntimeException
-
- SoapRuntimeException(String) - 异常错误 的构造器com.dahuatech.hutool.http.webservice.SoapRuntimeException
-
- SoapRuntimeException(String, Object...) - 异常错误 的构造器com.dahuatech.hutool.http.webservice.SoapRuntimeException
-
- SoapRuntimeException(String, Throwable) - 异常错误 的构造器com.dahuatech.hutool.http.webservice.SoapRuntimeException
-
- SoapRuntimeException(Throwable, String, Object...) - 异常错误 的构造器com.dahuatech.hutool.http.webservice.SoapRuntimeException
-
- SoapUtil - com.dahuatech.hutool.http.webservice中的类
-
SOAP相关工具类
- SoapUtil() - 类 的构造器com.dahuatech.hutool.http.webservice.SoapUtil
-
- sort(Collection<T>, Comparator<? super T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
排序集合,排序不会修改原集合
- sort(List<T>, Comparator<? super T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
针对List排序,排序会修改原List
- sort(Map<K, V>, Comparator<? super K>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
排序Map
- sort(Map<K, V>) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
排序已有Map,Key有序的Map,使用默认Key排序方式(字母顺序)
- sort(Map<K, V>, Comparator<? super K>) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
排序已有Map,Key有序的Map
- sortByEntry(Map<K, V>, Comparator<Map.Entry<K, V>>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
通过Entry排序,可以按照键排序,也可以按照值排序,亦或者两者综合排序
- sortByPinyin(Collection<String>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
根据汉字的拼音顺序排序
- sortByPinyin(List<String>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
根据汉字的拼音顺序排序
- sortByProperty(Collection<T>, String) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
根据Bean的属性排序
- sortByProperty(List<T>, String) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
根据Bean的属性排序
- sortEntryToList(Collection<Map.Entry<K, V>>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
将Set排序(根据Entry的值)
- sortPageAll(int, int, Comparator<T>, Collection<T>...) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
- sortToMap(Collection<Map.Entry<K, V>>, Comparator<Map.Entry<K, V>>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
通过Entry排序,可以按照键排序,也可以按照值排序,亦或者两者综合排序
- SPACE - 类 中的静态变量com.dahuatech.hutool.core.util.CharUtil
-
- SPACE - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- SPACE - 类 中的静态变量com.dahuatech.icc.util.CharUtil
-
字符常量:空格符 ' '
- spendMs(long) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
计时,常用于记录某段代码的执行时间,单位:毫秒
- spendNt(long) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
计时,常用于记录某段代码的执行时间,单位:纳秒
- split(Collection<T>, int) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
对集合按照指定长度分段,每一个段为单独的集合,返回这个集合的列表
- split(String, char, boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
切分字符串
- split(String, char, int, boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
切分字符串,大小写敏感
- split(String, char, int, boolean, boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
切分字符串
- split(String, String, boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
切分字符串,不忽略大小写
- split(String, String, int, boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
切分字符串,不忽略大小写
- split(String, String, int, boolean, boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
切分字符串
- split(String, int) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
使用空白符切分字符串
切分后的字符串两边不包含空白符,空串或空白符串并不做为元素之一
- split(String, Pattern, int, boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
通过正则切分字符串
- split(byte[], int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
拆分byte数组为几个等份(最后一份可能小于len)
- split(CharSequence, char) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
切分字符串
a#b#c =》 [a,b,c]
a##b#c =》 [a,"",b,c]
- split(CharSequence, char, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
切分字符串,不去除切分后每个元素两边的空白符,不去除空白项
- split(CharSequence, char, boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
切分字符串,不限制分片数量
- split(CharSequence, char, int, boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
切分字符串
- split(CharSequence, CharSequence, int, boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
切分字符串
- split(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
切分字符串
- split(CharSequence, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
根据给定长度,将给定字符串截取为多个部分
- splitByLength(String, int) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
根据给定长度,将给定字符串截取为多个部分
- splitByRegex(String, String, int, boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
通过正则切分字符串
- splitIgnoreCase(String, char, int, boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
切分字符串,忽略大小写
- splitIgnoreCase(String, String, int, boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
切分字符串,忽略大小写
- splitPath(String) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
切分字符串路径,仅支持Unix分界符:/
- splitPath(String, int) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
切分字符串路径,仅支持Unix分界符:/
- splitPathToArray(String) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
切分字符串路径,仅支持Unix分界符:/
- splitPathToArray(String, int) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
切分字符串路径,仅支持Unix分界符:/
- splitToArray(String, char, int, boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
切分字符串为字符串数组
- splitToArray(String, String, int, boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
切分字符串为字符串数组
- splitToArray(String, int) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
切分字符串为字符串数组
- splitToArray(String, Pattern, int, boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
通过正则切分字符串为字符串数组
- splitToArray(CharSequence, char) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
切分字符串
- splitToArray(CharSequence, char, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
切分字符串
- splitToInt(CharSequence, char) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
切分字符串为int数组
- splitToInt(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
切分字符串为int数组
- splitToLong(CharSequence, char) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
切分字符串为long数组
- splitToLong(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
切分字符串为long数组
- splitTrim(String, char, boolean) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
切分字符串
- splitTrim(String, char, int, boolean) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
切分字符串,大小写敏感,去除每个元素两边空白符
- splitTrim(String, String, boolean) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
切分字符串,去除每个元素两边空格,忽略大小写
- splitTrim(String, String, int, boolean) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
切分字符串,去除每个元素两边空格,忽略大小写
- splitTrim(CharSequence, char) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
切分字符串,去除切分后每个元素两边的空白符,去除空白项
- splitTrim(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
切分字符串,去除切分后每个元素两边的空白符,去除空白项
- splitTrim(CharSequence, char, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
切分字符串,去除切分后每个元素两边的空白符,去除空白项
- splitTrim(CharSequence, CharSequence, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
切分字符串,去除切分后每个元素两边的空白符,去除空白项
- splitTrimIgnoreCase(String, String, int, boolean) - 类 中的静态方法com.dahuatech.hutool.core.text.StrSpliter
-
切分字符串,去除每个元素两边空格,忽略大小写
- sqrt(long) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
- src - 类 中的变量com.dahuatech.hutool.core.lang.copier.SrcToDestCopier
-
源
- SrcToDestCopier<T,C extends SrcToDestCopier<T,C>> - com.dahuatech.hutool.core.lang.copier中的类
-
- SrcToDestCopier() - 类 的构造器com.dahuatech.hutool.core.lang.copier.SrcToDestCopier
-
- SSL - 类 中的静态变量com.dahuatech.hutool.http.ssl.SSLSocketFactoryBuilder
-
Supports some version of SSL; may support other versions
- SSLSocketFactoryBuilder - com.dahuatech.hutool.http.ssl中的类
-
SSLSocketFactory构建器
- SSLSocketFactoryBuilder() - 类 的构造器com.dahuatech.hutool.http.ssl.SSLSocketFactoryBuilder
-
- SSLv2 - 类 中的静态变量com.dahuatech.hutool.http.ssl.SSLSocketFactoryBuilder
-
Supports SSL version 2 or later; may support other versions
- SSLv3 - 类 中的静态变量com.dahuatech.hutool.http.ssl.SSLSocketFactoryBuilder
-
Supports SSL version 3; may support other versions
- StackTraceCaller - com.dahuatech.hutool.core.lang.caller中的类
-
通过StackTrace方式获取调用者。
- StackTraceCaller() - 类 的构造器com.dahuatech.hutool.core.lang.caller.StackTraceCaller
-
- StackTraceElementConverter - com.dahuatech.hutool.core.convert.impl中的类
-
- StackTraceElementConverter() - 类 的构造器com.dahuatech.hutool.core.convert.impl.StackTraceElementConverter
-
- stacktraceToOneLineString(Throwable) - 类 中的静态方法com.dahuatech.hutool.core.exceptions.ExceptionUtil
-
堆栈转为单行完整字符串
- stacktraceToOneLineString(Throwable, int) - 类 中的静态方法com.dahuatech.hutool.core.exceptions.ExceptionUtil
-
堆栈转为单行完整字符串
- stacktraceToString(Throwable) - 类 中的静态方法com.dahuatech.hutool.core.exceptions.ExceptionUtil
-
堆栈转为完整字符串
- stacktraceToString(Throwable, int) - 类 中的静态方法com.dahuatech.hutool.core.exceptions.ExceptionUtil
-
堆栈转为完整字符串
- stacktraceToString(Throwable, int, Map<Character, String>) - 类 中的静态方法com.dahuatech.hutool.core.exceptions.ExceptionUtil
-
堆栈转为完整字符串
- start() - 类 中的方法com.dahuatech.hutool.core.date.StopWatch
-
开始默认的新任务
- start(String) - 类 中的方法com.dahuatech.hutool.core.date.StopWatch
-
开始指定名称的新任务
- start() - 类 中的方法com.dahuatech.hutool.core.date.TimeInterval
-
- start() - 类 中的方法com.dahuatech.hutool.core.io.file.Tailer
-
开始监听
- start(boolean) - 类 中的方法com.dahuatech.hutool.core.io.file.Tailer
-
开始监听
- start() - 接口 中的方法com.dahuatech.hutool.core.io.StreamProgress
-
开始
- start() - 类 中的方法com.dahuatech.hutool.core.thread.SyncFinisher
-
开始工作
- start(boolean) - 类 中的方法com.dahuatech.hutool.core.thread.SyncFinisher
-
开始工作
- startWith(CharSequence, char) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
字符串是否以给定字符开始
- startWith(CharSequence, CharSequence, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
是否以指定字符串开头
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
- startWith(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
是否以指定字符串开头
- startWithAny(CharSequence, CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
给定字符串是否以任何一个字符串开始
给定字符串和数组为空都返回false
- startWithIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
是否以指定字符串开头,忽略大小写
- state(boolean, String, Object...) - 类 中的静态方法com.dahuatech.hutool.core.lang.Assert
-
检查boolean表达式,当检查结果为false时抛出 IllegalStateException。
- state(boolean) - 类 中的静态方法com.dahuatech.hutool.core.lang.Assert
-
检查boolean表达式,当检查结果为false时抛出 IllegalStateException。
- StatefulException - com.dahuatech.hutool.core.exceptions中的异常错误
-
带有状态码的异常
- StatefulException() - 异常错误 的构造器com.dahuatech.hutool.core.exceptions.StatefulException
-
- StatefulException(String) - 异常错误 的构造器com.dahuatech.hutool.core.exceptions.StatefulException
-
- StatefulException(String, Object...) - 异常错误 的构造器com.dahuatech.hutool.core.exceptions.StatefulException
-
- StatefulException(Throwable) - 异常错误 的构造器com.dahuatech.hutool.core.exceptions.StatefulException
-
- StatefulException(String, Throwable) - 异常错误 的构造器com.dahuatech.hutool.core.exceptions.StatefulException
-
- StatefulException(int, String) - 异常错误 的构造器com.dahuatech.hutool.core.exceptions.StatefulException
-
- StatefulException(int, Throwable) - 异常错误 的构造器com.dahuatech.hutool.core.exceptions.StatefulException
-
- StatefulException(int, String, Throwable) - 异常错误 的构造器com.dahuatech.hutool.core.exceptions.StatefulException
-
- StaticLog - com.dahuatech.hutool.log中的类
-
静态日志类,用于在不引入日志对象的情况下打印日志
- status - 类 中的变量com.dahuatech.hutool.http.HttpResponse
-
响应状态码
- step(T, T, int) - 接口 中的方法com.dahuatech.hutool.core.lang.Range.Steper
-
增加步进
增加步进后的返回值如果为null则表示步进结束
用户需根据end参数自行定义边界,当达到边界时返回null表示结束,否则Range中边界对象无效,会导致无限循环
- stop() - 类 中的方法com.dahuatech.hutool.core.date.StopWatch
-
停止当前任务
- StopWatch - com.dahuatech.hutool.core.date中的类
-
秒表封装
此工具用于存储一组任务的耗时时间,并一次性打印对比。
- StopWatch() - 类 的构造器com.dahuatech.hutool.core.date.StopWatch
-
构造,不启动任何任务
- StopWatch(String) - 类 的构造器com.dahuatech.hutool.core.date.StopWatch
-
构造,不启动任何任务
- StopWatch(String, boolean) - 类 的构造器com.dahuatech.hutool.core.date.StopWatch
-
构造,不启动任何任务
- StopWatch.TaskInfo - com.dahuatech.hutool.core.date中的类
-
存放任务名称和花费时间对象
- store(Long) - 类 中的方法com.dahuatech.hutool.core.text.Simhash
-
按照(frac, 《simhash, content》)索引进行存储
- store(HttpConnection) - 类 中的静态方法com.dahuatech.hutool.http.cookie.GlobalCookieManager
-
存储响应的Cookie信息到本地
- str(Object, String) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法
- str(Object, Charset) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法
- str(byte[], String) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
将byte数组转为字符串
- str(byte[], Charset) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
解码字节码
- str(Byte[], String) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
将Byte数组转为字符串
- str(Byte[], Charset) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
解码字节码
- str(ByteBuffer, String) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
将编码的byteBuffer数据转换为字符串
- str(ByteBuffer, Charset) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
将编码的byteBuffer数据转换为字符串
- str(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
- StrBuilder - com.dahuatech.hutool.core.text中的类
-
可复用的字符串生成器,非线程安全
- StrBuilder() - 类 的构造器com.dahuatech.hutool.core.text.StrBuilder
-
构造
- StrBuilder(int) - 类 的构造器com.dahuatech.hutool.core.text.StrBuilder
-
构造
- StrBuilder(CharSequence...) - 类 的构造器com.dahuatech.hutool.core.text.StrBuilder
-
构造
- strBuilder() - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
创建StrBuilder对象
- strBuilder(int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
创建StrBuilder对象
- strBuilder(CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
创建StrBuilder对象
- StrClipboardListener - com.dahuatech.hutool.core.swing.clipboard中的类
-
剪贴板字符串内容监听
- StrClipboardListener() - 类 的构造器com.dahuatech.hutool.core.swing.clipboard.StrClipboardListener
-
- StreamProgress - com.dahuatech.hutool.core.io中的接口
-
Stream进度条
- StrFormatter - com.dahuatech.hutool.core.text中的类
-
字符串格式化工具
- StrFormatter() - 类 的构造器com.dahuatech.hutool.core.text.StrFormatter
-
- StringConverter - com.dahuatech.hutool.core.convert.impl中的类
-
字符串转换器
- StringConverter() - 类 的构造器com.dahuatech.hutool.core.convert.impl.StringConverter
-
- StringResource - com.dahuatech.hutool.core.io.resource中的类
-
字符串资源,字符串做为资源
- StringResource(String) - 类 的构造器com.dahuatech.hutool.core.io.resource.StringResource
-
构造,使用UTF8编码
- StringResource(String, String) - 类 的构造器com.dahuatech.hutool.core.io.resource.StringResource
-
构造,使用UTF8编码
- StringResource(String, String, Charset) - 类 的构造器com.dahuatech.hutool.core.io.resource.StringResource
-
构造
- StringUtils - com.dahuatech.icc.util中的类
-
判断字符串工具类
- StringUtils() - 类 的构造器com.dahuatech.icc.util.StringUtils
-
- strip(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
去除两边的指定字符串
- strip(CharSequence, CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
去除两边的指定字符串
- stripIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
去除两边的指定字符串,忽略大小写
- stripIgnoreCase(CharSequence, CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
去除两边的指定字符串,忽略大小写
- StrReplacer - com.dahuatech.hutool.core.text.replacer中的类
-
抽象字符串替换类
通过实现replace方法实现局部替换逻辑
- StrReplacer() - 类 的构造器com.dahuatech.hutool.core.text.replacer.StrReplacer
-
- StrSpliter - com.dahuatech.hutool.core.text中的类
-
字符串切分器
- StrSpliter() - 类 的构造器com.dahuatech.hutool.core.text.StrSpliter
-
- strToBcd(String) - 类 中的静态方法com.dahuatech.hutool.core.codec.BCD
-
字符串转BCD码
- strToUnicode(String) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
String的字符串转换成unicode的String
- StrUtil - com.dahuatech.hutool.core.util中的类
-
字符串工具类
- StrUtil() - 类 的构造器com.dahuatech.hutool.core.util.StrUtil
-
- sub(List<T>, int, int) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
截取集合的部分
- sub(List<T>, int, int, int) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
截取集合的部分
- sub(Collection<T>, int, int) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
截取集合的部分
- sub(Collection<T>, int, int, int) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
截取集合的部分
- sub(T[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
获取子数组
- sub(byte[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
获取子数组
- sub(int[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
获取子数组
- sub(long[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
获取子数组
- sub(short[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
获取子数组
- sub(char[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
获取子数组
- sub(double[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
获取子数组
- sub(float[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
获取子数组
- sub(boolean[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
获取子数组
- sub(Object, int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
获取子数组
- sub(Object, int, int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
获取子数组
- sub(float, float) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供精确的减法运算
- sub(float, double) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供精确的减法运算
- sub(double, float) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供精确的减法运算
- sub(double, double) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供精确的减法运算
- sub(Double, Double) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供精确的减法运算
- sub(Number, Number) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供精确的减法运算
如果传入多个值为null或者空,则返回0
- sub(Number...) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供精确的减法运算
如果传入多个值为null或者空,则返回0
- sub(String...) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供精确的减法运算
如果传入多个值为null或者空,则返回0
- sub(BigDecimal...) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
提供精确的减法运算
如果传入多个值为null或者空,则返回0
- sub(CharSequence, int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
改进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
- subAfter(CharSequence, CharSequence, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
截取分隔字符串之后的字符串,不包括分隔字符串
如果给定的字符串为空串(null或""),返回原字符串
如果分隔字符串为空串(null或""),则返回空串,如果分隔字符串未找到,返回空串,举例如下:
StrUtil.subAfter(null, *) = null
StrUtil.subAfter("", *) = ""
StrUtil.subAfter(*, null) = ""
StrUtil.subAfter("abc", "a") = "bc"
StrUtil.subAfter("abcba", "b") = "cba"
StrUtil.subAfter("abc", "c") = ""
StrUtil.subAfter("abc", "d") = ""
StrUtil.subAfter("abc", "") = "abc"
- subAfter(CharSequence, char, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
截取分隔字符串之后的字符串,不包括分隔字符串
如果给定的字符串为空串(null或""),返回原字符串
如果分隔字符串为空串(null或""),则返回空串,如果分隔字符串未找到,返回空串,举例如下:
StrUtil.subAfter(null, *) = null
StrUtil.subAfter("", *) = ""
StrUtil.subAfter("abc", 'a') = "bc"
StrUtil.subAfter("abcba", 'b') = "cba"
StrUtil.subAfter("abc", 'c') = ""
StrUtil.subAfter("abc", 'd') = ""
- subBefore(CharSequence, CharSequence, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
截取分隔字符串之前的字符串,不包括分隔字符串
如果给定的字符串为空串(null或"")或者分隔字符串为null,返回原字符串
如果分隔字符串为空串"",则返回空串,如果分隔字符串未找到,返回原字符串,举例如下:
StrUtil.subBefore(null, *) = null
StrUtil.subBefore("", *) = ""
StrUtil.subBefore("abc", "a") = ""
StrUtil.subBefore("abcba", "b") = "a"
StrUtil.subBefore("abc", "c") = "ab"
StrUtil.subBefore("abc", "d") = "abc"
StrUtil.subBefore("abc", "") = ""
StrUtil.subBefore("abc", null) = "abc"
- subBefore(CharSequence, char, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
截取分隔字符串之前的字符串,不包括分隔字符串
如果给定的字符串为空串(null或"")或者分隔字符串为null,返回原字符串
如果分隔字符串未找到,返回原字符串,举例如下:
StrUtil.subBefore(null, *) = null
StrUtil.subBefore("", *) = ""
StrUtil.subBefore("abc", 'a') = ""
StrUtil.subBefore("abcba", 'b') = "a"
StrUtil.subBefore("abc", 'c') = "ab"
StrUtil.subBefore("abc", 'd') = "abc"
- subBetween(CharSequence, CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
截取指定字符串中间部分,不包括标识字符串
栗子:
StrUtil.subBetween("wx[b]yz", "[", "]") = "b"
StrUtil.subBetween(null, *, *) = null
StrUtil.subBetween(*, null, *) = null
StrUtil.subBetween(*, *, null) = null
StrUtil.subBetween("", "", "") = ""
StrUtil.subBetween("", "", "]") = null
StrUtil.subBetween("", "[", "]") = null
StrUtil.subBetween("yabcz", "", "") = ""
StrUtil.subBetween("yabcz", "y", "z") = "abc"
StrUtil.subBetween("yabczyabcz", "y", "z") = "abc"
- subBetween(CharSequence, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
截取指定字符串中间部分,不包括标识字符串
栗子:
StrUtil.subBetween(null, *) = null
StrUtil.subBetween("", "") = ""
StrUtil.subBetween("", "tag") = null
StrUtil.subBetween("tagabctag", null) = null
StrUtil.subBetween("tagabctag", "") = ""
StrUtil.subBetween("tagabctag", "tag") = "abc"
- subList(int, int) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
- subList(int, int) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- submit(Callable<T>) - 类 中的静态方法com.dahuatech.hutool.core.thread.GlobalThreadPool
-
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
- submit(Runnable) - 类 中的静态方法com.dahuatech.hutool.core.thread.GlobalThreadPool
-
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
- subPath(String, File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得相对子路径
栗子:
dirPath: d:/aaa/bbb filePath: d:/aaa/bbb/ccc =》 ccc
dirPath: d:/Aaa/bbb filePath: d:/aaa/bbb/ccc.txt =》 ccc.txt
- subPath(String, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获得相对子路径,忽略大小写
栗子:
dirPath: d:/aaa/bbb filePath: d:/aaa/bbb/ccc =》 ccc
dirPath: d:/Aaa/bbb filePath: d:/aaa/bbb/ccc.txt =》 ccc.txt
dirPath: d:/Aaa/bbb filePath: d:/aaa/bbb/ =》 ""
- subPath(Path, int, int) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
获取指定位置的子路径部分,支持负数,例如起始为-1表示从后数第一个节点位置
- subPre(CharSequence, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
切割指定位置之前部分的字符串
- subPreGbk(CharSequence, int, CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
截取部分字符串,这里一个汉字的长度认为是2
- subSequence(int, int) - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
- subString(int) - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
返回自定段的字符串
- subString(int, int) - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
返回自定段的字符串
- subSuf(CharSequence, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
切割指定位置之后部分的字符串
- subSufByLength(CharSequence, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
切割指定长度的后部分的字符串
StrUtil.subSufByLength("abcde", 3) = "cde"
StrUtil.subSufByLength("abcde", 0) = ""
StrUtil.subSufByLength("abcde", -5) = ""
StrUtil.subSufByLength("abcde", -1) = ""
StrUtil.subSufByLength("abcde", 5) = "abcde"
StrUtil.subSufByLength("abcde", 10) = "abcde"
StrUtil.subSufByLength(null, 3) = null
- subtract(byte) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableByte
-
减去值
- subtract(Number) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableByte
-
减去值
- subtract(double) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableDouble
-
减去值
- subtract(Number) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableDouble
-
减去值
- subtract(float) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableFloat
-
减去值
- subtract(Number) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableFloat
-
减去值
- subtract(int) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableInt
-
减去值
- subtract(Number) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableInt
-
减去值
- subtract(long) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableLong
-
减去值
- subtract(Number) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableLong
-
减去值
- subtract(short) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableShort
-
减去值
- subtract(Number) - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableShort
-
减去值
- subWithLength(String, int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
截取字符串,从指定位置开始,截取指定长度的字符串
author weibaohui
- supportClassNames - 类 中的静态变量com.dahuatech.hutool.core.convert.impl.Jdk8DateConverter
-
支持的JDK中的类名
- swap(int[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
交换数组中两个位置的值
- swap(long[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
交换数组中两个位置的值
- swap(double[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
交换数组中两个位置的值
- swap(float[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
交换数组中两个位置的值
- swap(boolean[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
交换数组中两个位置的值
- swap(byte[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
交换数组中两个位置的值
- swap(char[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
交换数组中两个位置的值
- swap(short[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
交换数组中两个位置的值
- swap(T[], int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
交换数组中两个位置的值
- swap(Object, int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
交换数组中两个位置的值
- swapCase(String) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
切换给定字符串中的大小写。
- SymmetricAlgorithm - com.dahuatech.hutool.crypto.symmetric中的枚举
-
对称算法类型
see:
https://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#KeyGenerator
- SymmetricCrypto - com.dahuatech.hutool.crypto.symmetric中的类
-
对称加密算法
在对称加密算法中,数据发信方将明文(原始数据)和加密密钥一起经过特殊加密算法处理后,使其变成复杂的加密密文发送出去。
- SymmetricCrypto(SymmetricAlgorithm) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
构造,使用随机密钥
- SymmetricCrypto(String) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
构造,使用随机密钥
- SymmetricCrypto(SymmetricAlgorithm, byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
构造
- SymmetricCrypto(SymmetricAlgorithm, SecretKey) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
构造
- SymmetricCrypto(String, byte[]) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
构造
- SymmetricCrypto(String, SecretKey) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
构造
- SymmetricCrypto(String, SecretKey, AlgorithmParameterSpec) - 类 的构造器com.dahuatech.hutool.crypto.symmetric.SymmetricCrypto
-
构造
- sync(Object) - 类 中的静态方法com.dahuatech.hutool.core.thread.ThreadUtil
-
阻塞当前线程,保证在main方法中执行不被退出
- sync() - 类 中的方法com.dahuatech.hutool.http.HttpResponse
-
- SyncFinisher - com.dahuatech.hutool.core.thread中的类
-
线程同步结束器
在完成一组正在其他线程中执行的操作之前,它允许一个或多个线程一直等待。
- SyncFinisher(int) - 类 的构造器com.dahuatech.hutool.core.thread.SyncFinisher
-
构造
- SyncFinisher.Worker - com.dahuatech.hutool.core.thread中的类
-
工作者,为一个线程
- syntaxError(String) - 类 中的方法com.dahuatech.hutool.json.JSONTokener
-
Make a JSONException to signal a syntax error.
- systemCharset() - 类 中的静态方法com.dahuatech.hutool.core.util.CharsetUtil
-
- systemCharsetName() - 类 中的静态方法com.dahuatech.hutool.core.util.CharsetUtil
-
- SystemClock - com.dahuatech.hutool.core.date中的类
-
系统时钟
高并发场景下System.currentTimeMillis()的性能问题的优化
System.currentTimeMillis()的调用比new一个普通对象要耗时的多(具体耗时高出多少我还没测试过,有人说是100倍左右)
System.currentTimeMillis()之所以慢是因为去跟系统打了一次交道 后台定时更新时钟,JVM退出时,线程自动回收
see: http://git.oschina.net/yu120/sequence
- TAB - 类 中的静态变量com.dahuatech.hutool.core.util.CharUtil
-
- TAB - 类 中的静态变量com.dahuatech.hutool.core.util.StrUtil
-
- TAB - 类 中的静态变量com.dahuatech.icc.util.CharUtil
-
字符常量:制表符 '\t'
- table - 类 中的静态变量com.dahuatech.hutool.core.codec.Caesar
-
- TableMap<K,V> - com.dahuatech.hutool.core.map中的类
-
无重复键的Map
- TableMap(int) - 类 的构造器com.dahuatech.hutool.core.map.TableMap
-
构造
- TableMap(K[], V[]) - 类 的构造器com.dahuatech.hutool.core.map.TableMap
-
构造
- tail(File, LineHandler) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
文件内容跟随器,实现类似Linux下"tail -f"命令功能
此方法会阻塞当前线程
- tail(File, Charset, LineHandler) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
文件内容跟随器,实现类似Linux下"tail -f"命令功能
此方法会阻塞当前线程
- tail(File, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
文件内容跟随器,实现类似Linux下"tail -f"命令功能
此方法会阻塞当前线程
- Tailer - com.dahuatech.hutool.core.io.file中的类
-
文件内容跟随器,实现类似Linux下"tail -f"命令功能
- Tailer(File, LineHandler) - 类 的构造器com.dahuatech.hutool.core.io.file.Tailer
-
构造,默认UTF-8编码
- Tailer(File, LineHandler, int) - 类 的构造器com.dahuatech.hutool.core.io.file.Tailer
-
构造,默认UTF-8编码
- Tailer(File, Charset, LineHandler) - 类 的构造器com.dahuatech.hutool.core.io.file.Tailer
-
构造
- Tailer(File, Charset, LineHandler, int, long) - 类 的构造器com.dahuatech.hutool.core.io.file.Tailer
-
构造
- Tailer.ConsoleLineHandler - com.dahuatech.hutool.core.io.file中的类
-
命令行打印的行处理器
- test(Runnable) - 类 中的方法com.dahuatech.hutool.core.thread.ConcurrencyTester
-
执行测试
- textDelimiter - 类 中的变量com.dahuatech.hutool.core.text.csv.CsvConfig
-
文本分隔符,文本包装符,默认双引号'"'
- TextSimilarity - com.dahuatech.hutool.core.text中的类
-
文本相似度计算
工具类提供者:【杭州】fineliving
- TextSimilarity() - 类 的构造器com.dahuatech.hutool.core.text.TextSimilarity
-
- thisDayOfMonth() - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
- thisDayOfWeek() - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
- thisDayOfWeekEnum() - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
- thisHour(boolean) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
- thisMillsecond() - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
- thisMinute() - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
- thisMonth() - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
- thisMonthEnum() - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
- thisSecond() - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
- thisWeekOfMonth() - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
- thisWeekOfYear() - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
- thisYear() - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
- ThreadFactoryBuilder - com.dahuatech.hutool.core.thread中的类
-
ThreadFactory创建器
参考:Guava的ThreadFactoryBuilder
- ThreadFactoryBuilder() - 类 的构造器com.dahuatech.hutool.core.thread.ThreadFactoryBuilder
-
- ThreadLocalCookieStore - com.dahuatech.hutool.http.cookie中的类
-
线程隔离的Cookie存储。
- ThreadLocalCookieStore() - 类 的构造器com.dahuatech.hutool.http.cookie.ThreadLocalCookieStore
-
- ThreadUtil - com.dahuatech.hutool.core.thread中的类
-
线程池工具
- ThreadUtil() - 类 的构造器com.dahuatech.hutool.core.thread.ThreadUtil
-
- tianlHash(String) - 类 中的静态方法com.dahuatech.hutool.core.util.HashUtil
-
TianL Hash算法
- TIME - 类 中的静态变量com.dahuatech.hutool.core.lang.PatternPool
-
时间正则
- TimedCache<K,V> - com.dahuatech.hutool.cache.impl中的类
-
定时缓存
此缓存没有容量限制,对象只有在过期后才会被移除
- TimedCache(long) - 类 的构造器com.dahuatech.hutool.cache.impl.TimedCache
-
构造
- TimedCache(long, Map<K, CacheObj<K, V>>) - 类 的构造器com.dahuatech.hutool.cache.impl.TimedCache
-
构造
- TimeInterval - com.dahuatech.hutool.core.date中的类
-
计时器
计算某个过程花费的时间,精确到毫秒
- TimeInterval() - 类 的构造器com.dahuatech.hutool.core.date.TimeInterval
-
- TimeInterval(boolean) - 类 的构造器com.dahuatech.hutool.core.date.TimeInterval
-
- timeout() - 接口 中的方法com.dahuatech.hutool.cache.Cache
-
缓存失效时长, 0 表示没有设置,单位毫秒
- timeout - 类 中的变量com.dahuatech.hutool.cache.file.AbstractFileCache
-
默认超时时间,0表示无默认超时
- timeout() - 类 中的方法com.dahuatech.hutool.cache.file.AbstractFileCache
-
- timeout - 类 中的变量com.dahuatech.hutool.cache.impl.AbstractCache
-
缓存失效时长, 0 表示无限制,单位毫秒
- timeout() - 类 中的方法com.dahuatech.hutool.cache.impl.AbstractCache
-
- timeout() - 类 中的方法com.dahuatech.hutool.cache.impl.NoCache
-
- timeout - 类 中的静态变量com.dahuatech.hutool.http.HttpGlobalConfig
-
- timeout(int) - 类 中的方法com.dahuatech.hutool.http.HttpRequest
-
设置超时,单位:毫秒
超时包括:
1.
- timeout(int) - 类 中的方法com.dahuatech.hutool.http.webservice.SoapClient
-
设置超时,单位:毫秒
超时包括:
1.
- timer() - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
计时器
计算某个过程花费的时间,精确到毫秒
- timestamp() - 类 中的方法com.dahuatech.hutool.core.lang.UUID
-
与此 UUID 相关联的时间戳值。
- timeToSecond(String) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
HH:mm:ss 时间格式字符串转为秒数
参考:https://github.com/iceroot
- timeZone - 类 中的变量com.dahuatech.hutool.core.date.format.AbstractDateBasic
-
The time zone.
- TimeZoneConverter - com.dahuatech.hutool.core.convert.impl中的类
-
TimeZone转换器
- TimeZoneConverter() - 类 的构造器com.dahuatech.hutool.core.convert.impl.TimeZoneConverter
-
- TinyLog - com.dahuatech.hutool.log.dialect.tinylog中的类
-
- TinyLog(Class<?>) - 类 的构造器com.dahuatech.hutool.log.dialect.tinylog.TinyLog
-
- TinyLog(String) - 类 的构造器com.dahuatech.hutool.log.dialect.tinylog.TinyLog
-
- TinyLogFactory - com.dahuatech.hutool.log.dialect.tinylog中的类
-
- TinyLogFactory() - 类 的构造器com.dahuatech.hutool.log.dialect.tinylog.TinyLogFactory
-
构造
- TLS - 类 中的静态变量com.dahuatech.hutool.http.ssl.SSLSocketFactoryBuilder
-
Supports some version of TLS; may support other versions
- TLSv1 - 类 中的静态变量com.dahuatech.hutool.http.ssl.SSLSocketFactoryBuilder
-
Supports RFC 2246: TLS version 1.0 ; may support other versions
- TLSv11 - 类 中的静态变量com.dahuatech.hutool.http.ssl.SSLSocketFactoryBuilder
-
Supports RFC 4346: TLS version 1.1 ; may support other versions
- TLSv12 - 类 中的静态变量com.dahuatech.hutool.http.ssl.SSLSocketFactoryBuilder
-
Supports RFC 5246: TLS version 1.2 ; may support other versions
- toAbsoluteUrl(String, String) - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
相对URL转换为绝对URL
- toArray() - 类 中的方法com.dahuatech.hutool.core.io.FastByteBuffer
-
返回快速缓冲中的数据
- toArray(int, int) - 类 中的方法com.dahuatech.hutool.core.io.FastByteBuffer
-
返回快速缓冲中的数据
- toArray() - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
- toArray(T[]) - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
- toArray(ByteBuffer) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
- toArray(Iterator<T>, Class<T>) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
将集合转为数组
- toArray(Iterable<T>, Class<T>) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
将集合转为数组
- toArray(Collection<T>, Class<T>) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
将集合转为数组
- toArray() - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- toArray(T[]) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- toArray(Class<?>) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
转为Bean数组
- toArray(JSONArray, Class<?>) - 类 中的静态方法com.dahuatech.hutool.json.JSONConverter
-
JSONArray转数组
- toBase64(Image, String) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
将图片对象转换为Base64形式
- toBean(Object, Class<T>) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
对象或Map转Bean
- toBean(Class<T>, ValueProvider<String>, CopyOptions) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
ServletRequest 参数转Bean
- toBean(T) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
转换为Bean对象
- toBean(T, boolean) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
转换为Bean对象
- toBean(Class<T>) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
填充Value Object对象
- toBean(Class<T>) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
转为实体类对象,转换异常将被抛出
- toBean(TypeReference<T>) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
转为实体类对象,转换异常将被抛出
- toBean(Type) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
转为实体类对象
- toBean(Type, boolean) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
转为实体类对象
- toBean(String, Class<T>) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
JSON字符串转为实体类对象,转换异常将被抛出
- toBean(JSONObject, Class<T>) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
转为实体类对象,转换异常将被抛出
- toBean(String, TypeReference<T>, boolean) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
JSON字符串转为实体类对象,转换异常将被抛出
- toBean(String, Type, boolean) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
JSON字符串转为实体类对象,转换异常将被抛出
- toBean(JSONObject, TypeReference<T>, boolean) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
转为实体类对象
- toBean(JSONObject, Type, boolean) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
转为实体类对象
- toBean(String, TypeReference<T>) - 类 中的静态方法com.dahuatech.icc.util.BeanUtil
-
- toBean(String, Class<T>) - 类 中的静态方法com.dahuatech.icc.util.BeanUtil
-
- toBeanIgnoreCase(T) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
转换为Bean对象
- toBeanIgnoreCase(Class<T>) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
填充Value Object对象,忽略大小写
- toBeanWithCamelCase(T) - 类 中的方法com.dahuatech.hutool.core.lang.Dict
-
转换为Bean对象,并使用驼峰法模式转换
- toBigDecimal(Object, BigDecimal) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为BigDecimal
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toBigDecimal(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为BigDecimal
如果给定的值为空,或者转换失败,返回null
转换失败不会报错
- toBigDecimal(Number) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
- toBigDecimal(String) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
- toBigInteger(Object, BigInteger) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为BigInteger
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toBigInteger(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为BigInteger
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
- toBool(Object, Boolean) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为boolean
String支持的值为:true、false、yes、ok、no,1,0 如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toBool(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为boolean
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
- toBoolean(String) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
转换字符串为boolean值
- toBooleanArray(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为Boolean数组
- toBuffered(InputStream) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
- toBuffered(OutputStream) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
- toBufferedImage(Image) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
- toBufferedImage(Image, String) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
- toByte(Object, Byte) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为byte
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
- toByte(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为byte
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
- toByte(boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
boolean值转为byte
- toByteArray(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为Byte数组
- toByteArray() - 类 中的方法com.dahuatech.hutool.core.io.FastByteArrayOutputStream
-
转为Byte数组
- toByteObj(boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
boolean值转为Byte
- toBytes(int) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
int值转byte数组,使用大端字节序(高位字节在前,低位字节在后)
见:http://www.ruanyifeng.com/blog/2016/11/byte-order.html
- toCalendar() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
- toCalendar(Locale) - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
转换为Calendar
- toCalendar(TimeZone) - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
转换为Calendar
- toCalendar(TimeZone, Locale) - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
转换为Calendar
- toCamelCase(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
将下划线方式命名的字符串转换为驼峰式。
- toCamelCaseMap(Map<K, V>) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
将已知Map转换为key为驼峰风格的Map
如果KEY为非String类型,保留原值
- toChar(Object, Character) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为字符
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
- toChar(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为字符
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
- toChar(boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
boolean值转为char
- toCharacter(boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
boolean值转为Character
- toCharArray(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为Character数组
- toChinese() - 枚举 中的方法com.dahuatech.hutool.core.date.Week
-
转换为中文名
- toChinese(String) - 枚举 中的方法com.dahuatech.hutool.core.date.Week
-
转换为中文名
- toCollection(Iterable<E>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
- toCollection(Class<?>, Class<?>, Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为集合类
- toCombination(AnnotatedElement) - 类 中的静态方法com.dahuatech.hutool.core.annotation.AnnotationUtil
-
将指定的被注解的元素转换为组合注解元素
- toComparison() - 类 中的方法com.dahuatech.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.
- toDate(Object, Date) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为Date
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toDate(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为Date
如果给定的值为空,或者转换失败,返回null
转换失败不会报错
- toDateStr() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
转为"yyyy-MM-dd " 格式字符串
- today() - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
当前日期,格式 yyyy-MM-dd
- toDBC(String) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
全角转半角
- toDBC(String, Set<Character>) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
替换全角为半角
- toDouble(Object, Double) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为double
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toDouble(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为double
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
- toDouble(boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
boolean值转为double
- toDoubleArray(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为Double数组
- toDoubleObj(boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
boolean值转为double
- toEnum(Class<E>, Object, E) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为Enum对象
如果给定的值为空,或者转换失败,返回默认值
- toEnum(Class<E>, Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为Enum对象
如果给定的值为空,或者转换失败,返回默认值null
- toFile(Document, String) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
将XML文档写入到文件
使用Document中的编码
- toFile(Document, String, String) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
将XML文档写入到文件
- toFloat(Object, Float) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为Float
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toFloat(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为Float
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
- toFloat(boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
boolean值转为float
- toFloatArray(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为Float数组
- toFloatObj(boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
boolean值转为Float
- toHashCode() - 类 中的方法com.dahuatech.hutool.core.builder.HashCodeBuilder
-
Return the computed hashCode.
- toHex(String, Charset) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
字符串转换成十六进制字符串,结果为小写
- toHex(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
byte数组转16进制串
- toHex(Color) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
Color对象转16进制表示,例如#fcf6d6
- toHex(int) - 类 中的静态方法com.dahuatech.hutool.core.util.HexUtil
-
转为16进制字符串
- toHex(long) - 类 中的静态方法com.dahuatech.hutool.core.util.HexUtil
-
转为16进制字符串
- toImage(String) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
- toImage(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
- toInt(Object, Integer) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为int
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toInt(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为int
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
- toInt(boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
boolean值转为int
- toInt(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
byte数组转int,使用大端字节序(高位字节在前,低位字节在后)
见:http://www.ruanyifeng.com/blog/2016/11/byte-order.html
- toIntArray(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为Integer数组
- toInteger(boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
boolean值转为Integer
- toIntSecond(Date) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
格式化成yyMMddHHmm后转换为int型
- toIpList(Set<InetAddress>) - 类 中的静态方法com.dahuatech.hutool.core.net.NetUtil
-
地址列表转换为IP地址列表
- toJdkDate() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
转换为
Date
考虑到很多框架(例如Hibernate)的兼容性,提供此方法返回JDK原生的Date对象
- toJSON() - 类 中的方法com.dahuatech.hutool.json.JSONSupport
-
- toJSONArray(Collection<String>) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
将指定KEY列表的值组成新的JSONArray
- toJSONArray() - 类 中的方法com.dahuatech.hutool.json.JSONTokener
-
- toJSONObject(JSONArray) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
根据给定名列表,与其位置对应的值组成JSONObject
- toJSONObject(String) - 类 中的静态方法com.dahuatech.hutool.json.XML
-
转换XML为JSONObject 转换过程中一些信息可能会丢失,JSON中无法区分节点和属性,相同的节点将被处理为JSONArray。
- toJSONObject(String, boolean) - 类 中的静态方法com.dahuatech.hutool.json.XML
-
转换XML为JSONObject 转换过程中一些信息可能会丢失,JSON中无法区分节点和属性,相同的节点将被处理为JSONArray。
- toJsonPrettyStr(JSON) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
转为JSON字符串
- toJsonPrettyStr(Object) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
转换为格式化后的JSON字符串
- toJsonStr(JSON, int) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
转为JSON字符串
- toJsonStr(JSON) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
转为JSON字符串
- toJsonStr(Object) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
转换为JSON字符串
- toJSONString(int) - 接口 中的方法com.dahuatech.hutool.json.JSON
-
转换为JSON字符串
- toJSONString(int) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
转为JSON字符串,指定缩进值
- toJSONString(int) - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
格式化输出JSON字符串
- toJSONString() - 接口 中的方法com.dahuatech.hutool.json.JSONString
-
自定义转JSON字符串的方法
- toJSONString() - 类 中的方法com.dahuatech.hutool.json.JSONSupport
-
- toList() - 类 中的方法com.dahuatech.hutool.core.collection.BoundedPriorityQueue
-
- toList(T...) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
数组转为ArrayList
- toList(Iterable<E>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
Iterator转List
不判断,直接生成新的List
- toList(Iterator<E>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
Iterator转List
不判断,直接生成新的List
- toList(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为ArrayList,元素类型默认Object
- toList(Class<T>, Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为ArrayList
- toList(Class<T>) - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
- toList(JSONArray, Class<T>) - 类 中的静态方法com.dahuatech.hutool.json.JSONConverter
-
将JSONArray转换为指定类型的对量列表
- toList(JSONArray, Class<T>) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
将JSONArray转换为Bean的List,默认为ArrayList
- toListMap(Iterable<? extends Map<K, V>>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
行转列,合并相同的键,值合并为列表
将Map列表中相同key的值组成列表做为Map的value
是
CollUtil.toMapList(Map)的逆方法
比如传入数据:
[
{a: 1, b: 1, c: 1}
{a: 2, b: 2}
{a: 3, b: 3}
{a: 4}
]
结果是:
{
a: [1,2,3,4]
b: [1,2,3,]
c: [1]
}
- toListMap(Iterable<? extends Map<K, V>>) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
行转列,合并相同的键,值合并为列表
将Map列表中相同key的值组成列表做为Map的value
是
MapUtil.toMapList(Map)的逆方法
比如传入数据:
[
{a: 1, b: 1, c: 1}
{a: 2, b: 2}
{a: 3, b: 3}
{a: 4}
]
结果是:
{
a: [1,2,3,4]
b: [1,2,3,]
c: [1]
}
- toLong(Object, Long) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为long
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toLong(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为long
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
- toLong(boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
boolean值转为long
- toLongArray(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为Long数组
- toLongObj(boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
boolean值转为Long
- toMap(Iterable<Map.Entry<K, V>>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
将Entry集合转换为HashMap
- toMap(Object[]) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
将数组转换为Map(HashMap),支持数组元素类型为:
Map.Entry
长度大于1的数组(取前两个值),如果不满足跳过此元素
Iterable 长度也必须大于1(取前两个值),如果不满足跳过此元素
Iterator 长度也必须大于1(取前两个值),如果不满足跳过此元素
Map<Object, Object> colorMap = CollectionUtil.toMap(new String[][] {{
{"RED", "#FF0000"},
{"GREEN", "#00FF00"},
{"BLUE", "#0000FF"}});
参考:commons-lang
- toMap(Iterable<Map.Entry<K, V>>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
将Entry集合转换为HashMap
- toMap(Iterable<K>, Iterable<V>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
将键列表和值列表转换为Map
以键为准,值与键位置需对应。
- toMap(Iterable<K>, Iterable<V>, boolean) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
将键列表和值列表转换为Map
以键为准,值与键位置需对应。
- toMap(Iterator<K>, Iterator<V>) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
将键列表和值列表转换为Map
以键为准,值与键位置需对应。
- toMap(Iterator<K>, Iterator<V>, boolean) - 类 中的静态方法com.dahuatech.hutool.core.collection.IterUtil
-
将键列表和值列表转换为Map
以键为准,值与键位置需对应。
- toMap(Class<K>, Class<V>, Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为Map
- toMapList(Map<K, ? extends Iterable<V>>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
列转行。
- toMapList(Map<K, ? extends Iterable<V>>) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
列转行。
- toMarkSupportStream(InputStream) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
- tomorrow() - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
明天
- toMsStr() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
- toNumber(Object, Number) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为Number
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toNumber(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为Number
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
- toNumberArray(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为Number数组
- toObjectArray(Map<?, ?>) - 类 中的静态方法com.dahuatech.hutool.core.map.MapUtil
-
将键值对转换为二维数组,第一维是key,第二纬是value
- toParameterizedType(Type) - 类 中的静态方法com.dahuatech.hutool.core.util.TypeUtil
-
- toParams(Map<String, ?>) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
将Map形式的Form表单数据转换为Url参数形式,不做编码
- toParams(Map<String, Object>, String) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
将Map形式的Form表单数据转换为Url参数形式
编码键和值对
- toParams(Map<String, ?>, Charset) - 类 中的静态方法com.dahuatech.hutool.http.HttpUtil
-
将Map形式的Form表单数据转换为Url参数形式
paramMap中如果key为空(null和"")会被忽略,如果value为null,会被做为空白符("")
会自动url编码键和值
key1=v1&key2=&key3=v3
- toPrettyString() - 类 中的方法com.dahuatech.hutool.json.JSONSupport
-
美化的JSON(使用回车缩进显示JSON),用于打印输出debug
- toProxyBean(Class<T>) - 类 中的方法com.dahuatech.hutool.core.map.MapProxy
-
将Map代理为指定接口的动态代理对象
- toPushbackStream(InputStream, int) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
- toRenderedImage(Image) - 类 中的静态方法com.dahuatech.hutool.core.img.ImgUtil
-
- toSBC(String) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
半角转全角
- toSBC(String, Set<Character>) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
半角转全角
- toShort(Object, Short) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为Short
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
- toShort(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为Short
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
- toShort(boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
boolean值转为short
- toShortArray(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为Short数组
- toShortObj(boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
boolean值转为Short
- toSqlDate() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
- toStr(Object, String) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为字符串
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
- toStr(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为字符串
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
- toStr(Number, String) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
- toStr(Number) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
- toStr(Document) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
- toStr(Document, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
- toStr(Document, String, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
- toStr(Document, String, boolean, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
- toStrArray(Object) - 类 中的静态方法com.dahuatech.hutool.core.convert.Convert
-
转换为String数组
- toStream(String, String) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
String 转为流
- toStream(String, Charset) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
String 转为流
- toStream(byte[]) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
String 转为流
- toStream(File) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
文件转为流
- toString() - 类 中的方法com.dahuatech.hutool.cache.impl.AbstractCache
-
- toString() - 类 中的方法com.dahuatech.hutool.cache.impl.CacheObj
-
- toString() - 类 中的方法com.dahuatech.hutool.core.bean.DynaBean
-
- toString() - 类 中的方法com.dahuatech.hutool.core.date.BetweenFormater
-
- toString(BetweenFormater.Level) - 类 中的方法com.dahuatech.hutool.core.date.DateBetween
-
格式化输出时间差
- toString() - 类 中的方法com.dahuatech.hutool.core.date.DateBetween
-
- toString() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
转为"yyyy-MM-dd yyyy-MM-dd HH:mm:ss " 格式字符串
如果时区被设置,会转换为其时区对应的时间,否则转换为当前地点对应的时区
- toString(TimeZone) - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
转为"yyyy-MM-dd yyyy-MM-dd HH:mm:ss " 格式字符串
如果时区不为null,会转换为其时区对应的时间,否则转换为当前时间对应的时区
- toString(String) - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
转为字符串
- toString(DatePrinter) - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
转为字符串
- toString(DateFormat) - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
转为字符串
- toString() - 类 中的方法com.dahuatech.hutool.core.date.format.AbstractDateBasic
-
- toString() - 类 中的方法com.dahuatech.hutool.core.date.format.FastDateFormat
-
- toString() - 类 中的方法com.dahuatech.hutool.core.date.StopWatch
-
- toString() - 类 中的方法com.dahuatech.hutool.core.io.FastByteArrayOutputStream
-
- toString(String) - 类 中的方法com.dahuatech.hutool.core.io.FastByteArrayOutputStream
-
转为字符串
- toString(Charset) - 类 中的方法com.dahuatech.hutool.core.io.FastByteArrayOutputStream
-
转为字符串
- toString() - 类 中的方法com.dahuatech.hutool.core.io.resource.ClassPathResource
-
- toString() - 类 中的方法com.dahuatech.hutool.core.io.resource.UrlResource
-
返回路径
- toString() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableBool
-
- toString() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableByte
-
- toString() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableDouble
-
- toString() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableFloat
-
- toString() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableInt
-
- toString() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableLong
-
- toString() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableObj
-
- toString() - 类 中的方法com.dahuatech.hutool.core.lang.mutable.MutableShort
-
- toString() - 类 中的方法com.dahuatech.hutool.core.lang.Pair
-
- toString() - 类 中的方法com.dahuatech.hutool.core.lang.ParameterizedTypeImpl
-
- toString() - 类 中的方法com.dahuatech.hutool.core.lang.Tuple
-
- toString() - 类 中的方法com.dahuatech.hutool.core.lang.TypeReference
-
- toString() - 类 中的方法com.dahuatech.hutool.core.lang.UUID
-
返回此UUID 的字符串表现形式。
- toString(boolean) - 类 中的方法com.dahuatech.hutool.core.lang.UUID
-
返回此UUID 的字符串表现形式。
- toString(char) - 类 中的静态方法com.dahuatech.hutool.core.text.ASCIIStrCache
-
字符转为字符串
如果为ASCII字符,使用缓存
- toString() - 类 中的方法com.dahuatech.hutool.core.text.csv.CsvRow
-
- toString(boolean) - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
生成字符串
- toString() - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
生成字符串
- toString(String) - 类 中的静态方法com.dahuatech.hutool.core.text.UnicodeUtil
-
Unicode字符串转为普通字符串
Unicode字符串的表现方式为:\\uXXXX
- toString() - 类 中的方法com.dahuatech.hutool.core.thread.threadlocal.NamedInheritableThreadLocal
-
- toString() - 类 中的方法com.dahuatech.hutool.core.thread.threadlocal.NamedThreadLocal
-
- toString(Object) - 类 中的静态方法com.dahuatech.hutool.core.util.ArrayUtil
-
数组或集合转String
- toString(boolean, String, String) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
将boolean转换为字符串
BooleanUtil.toString(true, "true", "false") = "true"
BooleanUtil.toString(false, "true", "false") = "false"
- toString(char) - 类 中的静态方法com.dahuatech.hutool.core.util.CharUtil
-
字符转为字符串
如果为ASCII字符,使用缓存
- toString(Enum<?>) - 类 中的静态方法com.dahuatech.hutool.core.util.EnumUtil
-
- toString(Object) - 类 中的静态方法com.dahuatech.hutool.core.util.ObjectUtil
-
将Object转为String
策略为:
1、null转为"null"
2、调用Convert.toStr(Object)转换
- toString(Object) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
调用对象的toString方法,null会返回“null”
- toString() - 枚举 中的方法com.dahuatech.hutool.http.ContentType
-
- toString(Charset) - 枚举 中的方法com.dahuatech.hutool.http.ContentType
-
输出Content-Type字符串,附带编码信息
- toString() - 枚举 中的方法com.dahuatech.hutool.http.Header
-
- toString() - 类 中的方法com.dahuatech.hutool.http.HttpBase
-
- toString() - 类 中的方法com.dahuatech.hutool.http.HttpConnection
-
- toString() - 类 中的方法com.dahuatech.hutool.http.HttpResponse
-
- toString() - 类 中的方法com.dahuatech.hutool.http.useragent.UserAgentInfo
-
- toString(SOAPMessage, boolean) - 类 中的静态方法com.dahuatech.hutool.http.webservice.SoapUtil
-
- toString(SOAPMessage, boolean, Charset) - 类 中的静态方法com.dahuatech.hutool.http.webservice.SoapUtil
-
- toString() - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
转为JSON字符串,无缩进
- toString() - 类 中的方法com.dahuatech.hutool.json.JSONNull
-
Get the "null" string value.
- toString() - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
返回JSON字符串
如果解析错误,返回null
- toString() - 类 中的方法com.dahuatech.hutool.json.JSONSupport
-
- toString() - 类 中的方法com.dahuatech.hutool.json.JSONTokener
-
Make a printable string of this JSONTokener.
- toString(char) - 类 中的静态方法com.dahuatech.icc.util.CharUtil.ASCIIStrCache
-
字符转为字符串
如果为ASCII字符,使用缓存
- toString(char) - 类 中的静态方法com.dahuatech.icc.util.CharUtil
-
字符转为字符串
如果为ASCII字符,使用缓存
- toStringAndReset() - 类 中的方法com.dahuatech.hutool.core.text.StrBuilder
-
重置并返回生成的字符串
- toStringDefaultTimeZone() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
转为"yyyy-MM-dd yyyy-MM-dd HH:mm:ss " 格式字符串
时区使用当前地区的默认时区
- toStringOnOff(boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
将boolean转换为字符串 'on' 或者 'off'.
- toStringPretty() - 接口 中的方法com.dahuatech.hutool.json.JSON
-
格式化打印JSON,缩进为4个空格
- toStringPretty() - 类 中的方法com.dahuatech.hutool.json.JSONArray
-
格式化打印JSON,缩进为4个空格
- toStringPretty() - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
格式化打印JSON,缩进为4个空格
- toStringTrueFalse(boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
将boolean转换为字符串 'true' 或者 'false'.
- toStringYesNo(boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.BooleanUtil
-
将boolean转换为字符串 'yes' 或者 'no'.
- toSymbolCase(CharSequence, char) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
将驼峰式命名的字符串转换为使用符号连接方式。
- totalLength(CharSequence...) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
给定字符串数组的总长度
null字符长度定义为0
- totalPage(int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.PageUtil
-
根据总数计算总页数
- toTimestamp() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
- toTimeStr() - 类 中的方法com.dahuatech.hutool.core.date.DateTime
-
转为"HH:mm:ss" 格式字符串
- toTreeSet(Collection<T>, Comparator<T>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
将集合转换为排序后的TreeSet
- touch(String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
- touch(File) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
- touch(File, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
- touch(String, String) - 类 中的静态方法com.dahuatech.hutool.core.io.FileUtil
-
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
- toUnderlineCase(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
将驼峰式命名的字符串转换为下划线方式。
- toUnicode(String) - 类 中的静态方法com.dahuatech.hutool.core.text.UnicodeUtil
-
字符串编码为Unicode形式
- toUnicode(String, boolean) - 类 中的静态方法com.dahuatech.hutool.core.text.UnicodeUtil
-
字符串编码为Unicode形式
- toUnicodeHex(int) - 类 中的静态方法com.dahuatech.hutool.core.util.HexUtil
-
将指定int值转换为Unicode字符串形式,常用于特殊字符(例如汉字)转Unicode形式
转换的字符串如果u后不足4位,则前面用0填充,例如:
'我' =》你
- toUnicodeHex(char) - 类 中的静态方法com.dahuatech.hutool.core.util.HexUtil
-
将指定char值转换为Unicode字符串形式,常用于特殊字符(例如汉字)转Unicode形式
转换的字符串如果u后不足4位,则前面用0填充,例如:
'我' =》你
- toUnsignedByteArray(BigInteger) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
以无符号字节数组的形式返回传入值。
- toUnsignedByteArray(int, BigInteger) - 类 中的静态方法com.dahuatech.hutool.core.util.NumberUtil
-
以无符号字节数组的形式返回传入值。
- toURI(URL) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
转URL为URI
- toURI(URL, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
转URL为URI
- toURI(String) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
转字符串为URI
- toURI(String, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
转字符串为URI
- toUrlForHttp(String) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
将URL字符串转换为URL对象,并做必要验证
- toUrlForHttp(String, URLStreamHandler) - 类 中的静态方法com.dahuatech.hutool.core.util.URLUtil
-
将URL字符串转换为URL对象,并做必要验证
- toUtf8Stream(String) - 类 中的静态方法com.dahuatech.hutool.core.io.IoUtil
-
String 转为UTF-8编码的字节流流
- toXml(Object) - 类 中的静态方法com.dahuatech.hutool.json.XML
-
转换JSONObject为XML Convert a JSONObject into a well-formed, element-normal XML string.
- toXml(Object, String) - 类 中的静态方法com.dahuatech.hutool.json.XML
-
转换JSONObject为XML Convert a JSONObject into a well-formed, element-normal XML string.
- toXmlStr(JSON) - 类 中的静态方法com.dahuatech.hutool.json.JSONUtil
-
转换为XML字符串
- trace(String) - 类 中的静态方法com.dahuatech.hutool.http.HttpRequest
-
TRACE请求
- trace(Throwable) - 类 中的方法com.dahuatech.hutool.log.AbstractLog
-
- trace(String, Object...) - 类 中的方法com.dahuatech.hutool.log.AbstractLog
-
- trace(Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.AbstractLog
-
- trace(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.commons.ApacheCommonsLog
-
- trace(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.console.ConsoleLog
-
- trace(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.jboss.JbossLog
-
- trace(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.jdk.JdkLog
-
- trace(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.log4j.Log4jLog
-
- trace(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.log4j2.Log4j2Log
-
- trace(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.slf4j.Slf4jLog
-
- trace(String, Throwable, String, Object...) - 类 中的方法com.dahuatech.hutool.log.dialect.tinylog.TinyLog
-
- trace(Throwable) - 接口 中的方法com.dahuatech.hutool.log.level.TraceLog
-
打印 TRACE 等级的日志
- trace(String, Object...) - 接口 中的方法com.dahuatech.hutool.log.level.TraceLog
-
打印 TRACE 等级的日志
- trace(Throwable, String, Object...) - 接口 中的方法com.dahuatech.hutool.log.level.TraceLog
-
打印 TRACE 等级的日志
- trace(String, Throwable, String, Object...) - 接口 中的方法com.dahuatech.hutool.log.level.TraceLog
-
打印 TRACE 等级的日志
- trace(String, Object...) - 类 中的静态方法com.dahuatech.hutool.log.StaticLog
-
Trace等级日志,小于debug
由于动态获取Log,效率较低,建议在非频繁调用的情况下使用!!
- trace(Log, String, Object...) - 类 中的静态方法com.dahuatech.hutool.log.StaticLog
-
Trace等级日志,小于Debug
- TraceLog - com.dahuatech.hutool.log.level中的接口
-
TRACE级别日志接口
- transElements(NodeList) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
将NodeList转换为Element列表
- transElements(Element, NodeList) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
将NodeList转换为Element列表
非Element节点将被忽略
- transform(Source, Result, String, int) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
将XML文档写出
格式化输出逻辑参考:https://stackoverflow.com/questions/139076/how-to-pretty-print-xml-from-java
- transform(Source, Result, String, int, boolean) - 类 中的静态方法com.dahuatech.hutool.core.util.XmlUtil
-
将XML文档写出
格式化输出逻辑参考:https://stackoverflow.com/questions/139076/how-to-pretty-print-xml-from-java
- transToStartEnd(int, int) - 类 中的静态方法com.dahuatech.hutool.core.util.PageUtil
-
将页数和每页条目数转换为开始位置和结束位置
此方法用于包括结束位置的分页方法
例如:
页码:1,每页10 =》 [0, 10]
页码:2,每页10 =》 [10, 20]
……
- trim(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
除去字符串头尾部的空白,如果字符串是null,依然返回null。
- trim(String[]) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
给定字符串数组全部做去首尾空格
- trim(CharSequence, int) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
除去字符串头尾部的空白符,如果字符串是null,依然返回null。
- trimEnd(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
除去字符串尾部的空白,如果字符串是null,则返回null。
- trimStart(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
除去字符串头部的空白,如果字符串是null,则返回null。
- trimStrFields(T, String...) - 类 中的静态方法com.dahuatech.hutool.core.bean.BeanUtil
-
把Bean里面的String属性做trim操作。
- trimToEmpty(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
除去字符串头尾部的空白,如果字符串是null,返回""。
- trimToNull(CharSequence) - 类 中的静态方法com.dahuatech.hutool.core.util.StrUtil
-
除去字符串头尾部的空白,如果字符串是null,返回""。
- truncate(Date, DateField) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
修改日期为某个时间字段起始时间
- truncate(Calendar, DateField) - 类 中的静态方法com.dahuatech.hutool.core.date.DateUtil
-
修改日期为某个时间字段起始时间
- TrustAnyHostnameVerifier - com.dahuatech.hutool.http.ssl中的类
-
https 域名校验
- TrustAnyHostnameVerifier() - 类 的构造器com.dahuatech.hutool.http.ssl.TrustAnyHostnameVerifier
-
- tryLock() - 类 中的方法com.dahuatech.hutool.core.thread.lock.NoLock
-
- tryLock(long, TimeUnit) - 类 中的方法com.dahuatech.hutool.core.thread.lock.NoLock
-
- Tuple - com.dahuatech.hutool.core.lang中的类
-
不可变数组类型,用于多值返回
多值可以支持每个元素值类型不同
- Tuple(Object...) - 类 的构造器com.dahuatech.hutool.core.lang.Tuple
-
构造
- TypeReference<T> - com.dahuatech.hutool.core.lang中的类
-
Type类型参考
通过构建一个类型参考子类,可以获取其泛型参数中的Type类型。
- TypeReference() - 类 的构造器com.dahuatech.hutool.core.lang.TypeReference
-
构造
- TypeUtil - com.dahuatech.hutool.core.util中的类
-
针对
Type 的工具类封装
最主要功能包括:
1.
- TypeUtil() - 类 的构造器com.dahuatech.hutool.core.util.TypeUtil
-
- validateBetween(Number, Number, Number, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
检查给定的数字是否在指定范围内
- validateBirthday(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证验证是否为生日
- validateChinese(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为汉字
- validateCitizenIdNumber(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为身份证号码(18位中国)
出生日期只支持到到2999年
- validateEmail(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为可用邮箱地址
- validateEmpty(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为空,非空时抛出异常
对于String类型判定是否为empty(null 或 "")
- validateEqual(Object, Object, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否相等,不相等抛出异常
- ValidateException - com.dahuatech.hutool.core.exceptions中的异常错误
-
验证异常
- ValidateException() - 异常错误 的构造器com.dahuatech.hutool.core.exceptions.ValidateException
-
- ValidateException(String) - 异常错误 的构造器com.dahuatech.hutool.core.exceptions.ValidateException
-
- ValidateException(String, Object...) - 异常错误 的构造器com.dahuatech.hutool.core.exceptions.ValidateException
-
- ValidateException(Throwable) - 异常错误 的构造器com.dahuatech.hutool.core.exceptions.ValidateException
-
- ValidateException(String, Throwable) - 异常错误 的构造器com.dahuatech.hutool.core.exceptions.ValidateException
-
- ValidateException(int, String) - 异常错误 的构造器com.dahuatech.hutool.core.exceptions.ValidateException
-
- ValidateException(int, Throwable) - 异常错误 的构造器com.dahuatech.hutool.core.exceptions.ValidateException
-
- ValidateException(int, String, Throwable) - 异常错误 的构造器com.dahuatech.hutool.core.exceptions.ValidateException
-
- validateFalse(boolean, String, Object...) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
检查指定值是否为false
- validateGeneral(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为英文字母 、数字和下划线
- validateGeneral(T, int, int, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为给定长度范围的英文字母 、数字和下划线
- validateGeneral(T, int, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为给定最小长度的英文字母 、数字和下划线
- validateGeneralWithChinese(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为中文字、英文字母、数字和下划线
- validateHex(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为Hex(16进制)字符串
- validateIpv4(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为IPV4地址
- validateIpv6(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为IPV6地址
- validateLetter(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否全部为字母组成,包括大写和小写字母和汉字
- validateLowerCase(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证字符串是否全部为小写字母
- validateMac(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为MAC地址
- validateMatchRegex(String, T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
- validateMobile(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为手机号码(中国)
- validateMoney(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为货币
- validateNotEmpty(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为非空,为空时抛出异常
对于String类型判定是否为empty(null 或 "")
- validateNotEmptyAndEqual(Object, Object, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否非空且与指定值相等
当数据为空时抛出验证异常
当两值不等时抛出异常
- validateNotEmptyAndNotEqual(Object, Object, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否非空且与指定值相等
当数据为空时抛出验证异常
当两值相等时抛出异常
- validateNotEqual(Object, Object, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否不等,相等抛出异常
- validateNotNull(T, String, Object...) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
检查指定值是否非null
- validateNull(T, String, Object...) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
检查指定值是否为null
- validateNumber(String, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为数字
- validatePlateNumber(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为中国车牌号
- validateTrue(boolean, String, Object...) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
检查指定值是否为true
- validateUpperCase(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证字符串是否全部为大写字母
- validateUrl(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为URL
- validateUUID(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为UUID
包括带横线标准格式和不带横线的简单模式
- validateWord(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为字母(包括大写和小写字母)
- validateZipCode(T, String) - 类 中的静态方法com.dahuatech.hutool.core.lang.Validator
-
验证是否为邮政编码(中国)
- Validator - com.dahuatech.hutool.core.lang中的类
-
字段验证器
- value(String, Type) - 类 中的方法com.dahuatech.hutool.core.bean.copier.provider.BeanValueProvider
-
- value(String, Type) - 类 中的方法com.dahuatech.hutool.core.bean.copier.provider.MapValueProvider
-
- value(T, Type) - 接口 中的方法com.dahuatech.hutool.core.bean.copier.ValueProvider
-
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.cache.GlobalPruneTimer
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.core.bean.BeanDescCache
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.core.bean.BeanInfoCache
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.core.convert.BasicType
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.core.date.BetweenFormater.Level
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.core.date.DateField
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.core.date.DateModifier.ModifyType
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.core.date.DateUnit
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.core.date.Month
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.core.date.Quarter
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.core.date.Season
-
已过时。
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.core.date.Week
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.core.img.ScaleType
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.core.io.file.FileMode
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.core.io.file.LineSeparator
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.core.swing.clipboard.ClipboardMonitor
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.core.thread.RejectPolicy
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.core.util.ModifierUtil.ModifierType
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.core.util.ReferenceUtil.ReferenceType
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.crypto.asymmetric.AsymmetricAlgorithm
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.crypto.asymmetric.KeyType
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.crypto.asymmetric.SignAlgorithm
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.crypto.asymmetric.SM2Engine.SM2Mode
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.crypto.digest.DigestAlgorithm
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.crypto.digest.HmacAlgorithm
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.crypto.GlobalBouncyCastleProvider
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.crypto.Mode
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.crypto.Padding
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.crypto.symmetric.SymmetricAlgorithm
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.http.ContentType
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.http.GlobalHeaders
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.http.Header
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.http.Method
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.http.webservice.SoapProtocol
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.hutool.log.level.Level
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.icc.common.ParamValidEnum
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.dahuatech.icc.exception.ErrorType
-
返回带有指定名称的该类型的枚举常量。
- ValueProvider<T> - com.dahuatech.hutool.core.bean.copier中的接口
-
值提供者,用于提供Bean注入时参数对应值得抽象接口
继承或匿名实例化此接口
在Bean注入过程中,Bean获得字段名,通过外部方式根据这个字段名查找相应的字段值,然后注入Bean
- values() - 枚举 中的静态方法com.dahuatech.hutool.cache.GlobalPruneTimer
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.core.bean.BeanDescCache
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.core.bean.BeanInfoCache
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values(Collection<Map<?, V>>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
获取指定Map列表中所有的Value
- values() - 枚举 中的静态方法com.dahuatech.hutool.core.convert.BasicType
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.core.date.BetweenFormater.Level
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.core.date.DateField
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.core.date.DateModifier.ModifyType
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.core.date.DateUnit
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.core.date.Month
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.core.date.Quarter
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.core.date.Season
-
已过时。
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.core.date.Week
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.core.img.ScaleType
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.core.io.file.FileMode
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.core.io.file.LineSeparator
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 类 中的方法com.dahuatech.hutool.core.map.MapProxy
-
- values() - 类 中的方法com.dahuatech.hutool.core.map.MapWrapper
-
- values() - 类 中的方法com.dahuatech.hutool.core.map.TableMap
-
- values() - 枚举 中的静态方法com.dahuatech.hutool.core.swing.clipboard.ClipboardMonitor
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.core.thread.RejectPolicy
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.core.util.ModifierUtil.ModifierType
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.core.util.ReferenceUtil.ReferenceType
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.crypto.asymmetric.AsymmetricAlgorithm
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.crypto.asymmetric.KeyType
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.crypto.asymmetric.SignAlgorithm
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.crypto.asymmetric.SM2Engine.SM2Mode
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.crypto.digest.DigestAlgorithm
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.crypto.digest.HmacAlgorithm
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.crypto.GlobalBouncyCastleProvider
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.crypto.Mode
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.crypto.Padding
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.crypto.symmetric.SymmetricAlgorithm
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.http.ContentType
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.http.GlobalHeaders
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.http.Header
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.http.Method
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.hutool.http.webservice.SoapProtocol
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 类 中的方法com.dahuatech.hutool.json.JSONObject
-
- values() - 枚举 中的静态方法com.dahuatech.hutool.log.level.Level
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.icc.common.ParamValidEnum
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.dahuatech.icc.exception.ErrorType
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- valuesOfKeys(Map<K, V>, K...) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
从Map中获取指定键列表对应的值列表
如果key在map中不存在或key对应值为null,则返回值列表对应位置的值也为null
- valuesOfKeys(Map<K, V>, Iterable<K>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
从Map中获取指定键列表对应的值列表
如果key在map中不存在或key对应值为null,则返回值列表对应位置的值也为null
- valuesOfKeys(Map<K, V>, Iterator<K>) - 类 中的静态方法com.dahuatech.hutool.core.collection.CollUtil
-
从Map中获取指定键列表对应的值列表
如果key在map中不存在或key对应值为null,则返回值列表对应位置的值也为null
- variant() - 类 中的方法com.dahuatech.hutool.core.lang.UUID
-
与此 UUID 相关联的变体号。
- verify(byte[], byte[]) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.Sign
-
用公钥检验数字签名的合法性
- verify(byte[], byte[]) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.SM2
-
用公钥检验数字签名的合法性
- verify(byte[], byte[], byte[]) - 类 中的方法com.dahuatech.hutool.crypto.asymmetric.SM2
-
用公钥检验数字签名的合法性
- verify(String, SSLSession) - 类 中的方法com.dahuatech.hutool.http.ssl.TrustAnyHostnameVerifier
-
- version() - 类 中的方法com.dahuatech.hutool.core.lang.UUID
-
与此 UUID 相关联的版本号.
- VersionComparator - com.dahuatech.hutool.core.comparator中的类
-
版本比较器
比较两个版本的大小
排序时版本从小到大排序,即比较时小版本在前,大版本在后
支持如:1.3.20.8,6.82.20160101,8.5a/8.5c等版本形式
参考:https://www.cnblogs.com/shihaiming/p/6286575.html
- VersionComparator() - 类 的构造器com.dahuatech.hutool.core.comparator.VersionComparator
-
默认构造
- Vigenere - com.dahuatech.hutool.crypto.symmetric中的类
-
维吉尼亚密码实现。
- Vigenere() - 类 的构造器com.dahuatech.hutool.crypto.symmetric.Vigenere
-
- VoidFunc<P> - com.dahuatech.hutool.core.lang.func中的接口
-
函数对象
接口灵感来自于
ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
- VoidFunc0 - com.dahuatech.hutool.core.lang.func中的接口
-
函数对象
接口灵感来自于
ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
- VoidFunc1<P> - com.dahuatech.hutool.core.lang.func中的接口
-
函数对象
接口灵感来自于
ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象