索引

A B C D E F G H I J K L M N O P R S T U V W X Y Z 
All Classes and Interfaces|所有程序包|序列化表格

A

accept(A) - 接口中的方法 cool.scx.functional.ScxConsumer
accept.
add(Object, AnsiElement...) - 类中的方法 cool.scx.util.ansi.Ansi
a
addParam(String, Object) - 类中的方法 cool.scx.util.URIBuilder
a
addSlashEnd(String) - 类中的静态方法 cool.scx.util.URIBuilder
a
addSlashStart(String) - 类中的静态方法 cool.scx.util.URIBuilder
a
Ansi - cool.scx.util.ansi中的类
向控制台打印彩色
Ansi8BitBackground - cool.scx.util.ansi中的类
8Bit 背景色
Ansi8BitBackground(int) - 类的构造器 cool.scx.util.ansi.Ansi8BitBackground
a
Ansi8BitColor - cool.scx.util.ansi中的类
8Bit 前景色
Ansi8BitColor(int) - 类的构造器 cool.scx.util.ansi.Ansi8BitColor
a
AnsiBackground - cool.scx.util.ansi中的Enum Class
背景色
AnsiColor - cool.scx.util.ansi中的Enum Class
前景色
AnsiElement - cool.scx.util.ansi中的接口
ANSI 元素.
AnsiStyle - cool.scx.util.ansi中的Enum Class
Ansi 样式
apply(A) - 接口中的方法 cool.scx.functional.ScxFunction
apply.
asMap() - 类中的方法 cool.scx.util.MultiMap
转为 map
attribute(String, Object) - 类中的方法 cool.scx.util.FormData
attribute.

B

Base64Utils - cool.scx.util中的类
a
Base64Utils() - 类的构造器 cool.scx.util.Base64Utils
 
black(Object, AnsiElement...) - 类中的方法 cool.scx.util.ansi.Ansi
黑色
BLACK - enum class 中的枚举常量 cool.scx.util.ansi.AnsiBackground
a
BLACK - enum class 中的枚举常量 cool.scx.util.ansi.AnsiColor
黑色
BLANK - enum class 中的枚举常量 cool.scx.util.case_impl.CaseType
空白字符串
blue(Object, AnsiElement...) - 类中的方法 cool.scx.util.ansi.Ansi
蓝色
BLUE - enum class 中的枚举常量 cool.scx.util.ansi.AnsiBackground
a
BLUE - enum class 中的枚举常量 cool.scx.util.ansi.AnsiColor
蓝色
BOLD - enum class 中的枚举常量 cool.scx.util.ansi.AnsiStyle
加粗
BRIGHT_BLACK - enum class 中的枚举常量 cool.scx.util.ansi.AnsiBackground
a
BRIGHT_BLACK - enum class 中的枚举常量 cool.scx.util.ansi.AnsiColor
亮黑色 ( 真的存在这种颜色吗 ?
BRIGHT_BLUE - enum class 中的枚举常量 cool.scx.util.ansi.AnsiBackground
a
BRIGHT_BLUE - enum class 中的枚举常量 cool.scx.util.ansi.AnsiColor
亮蓝色
BRIGHT_CYAN - enum class 中的枚举常量 cool.scx.util.ansi.AnsiBackground
a
BRIGHT_CYAN - enum class 中的枚举常量 cool.scx.util.ansi.AnsiColor
亮青色
BRIGHT_GREEN - enum class 中的枚举常量 cool.scx.util.ansi.AnsiBackground
a
BRIGHT_GREEN - enum class 中的枚举常量 cool.scx.util.ansi.AnsiColor
亮绿色
BRIGHT_MAGENTA - enum class 中的枚举常量 cool.scx.util.ansi.AnsiBackground
a
BRIGHT_MAGENTA - enum class 中的枚举常量 cool.scx.util.ansi.AnsiColor
亮紫色
BRIGHT_RED - enum class 中的枚举常量 cool.scx.util.ansi.AnsiBackground
a
BRIGHT_RED - enum class 中的枚举常量 cool.scx.util.ansi.AnsiColor
亮红色
BRIGHT_WHITE - enum class 中的枚举常量 cool.scx.util.ansi.AnsiBackground
a
BRIGHT_WHITE - enum class 中的枚举常量 cool.scx.util.ansi.AnsiColor
亮白色 (这个是真正的白色)
BRIGHT_YELLOW - enum class 中的枚举常量 cool.scx.util.ansi.AnsiBackground
a
BRIGHT_YELLOW - enum class 中的枚举常量 cool.scx.util.ansi.AnsiColor
亮黄色
brightBlack(Object, AnsiElement...) - 类中的方法 cool.scx.util.ansi.Ansi
亮黑色 ( 真的存在这种颜色吗 ?
brightBlue(Object, AnsiElement...) - 类中的方法 cool.scx.util.ansi.Ansi
亮蓝色
brightCyan(Object, AnsiElement...) - 类中的方法 cool.scx.util.ansi.Ansi
亮青色
brightGreen(Object, AnsiElement...) - 类中的方法 cool.scx.util.ansi.Ansi
亮绿色
brightMagenta(Object, AnsiElement...) - 类中的方法 cool.scx.util.ansi.Ansi
亮紫色
brightRed(Object, AnsiElement...) - 类中的方法 cool.scx.util.ansi.Ansi
亮红色
brightWhite(Object, AnsiElement...) - 类中的方法 cool.scx.util.ansi.Ansi
亮白色
brightYellow(Object, AnsiElement...) - 类中的方法 cool.scx.util.ansi.Ansi
亮黄色
build() - 类中的方法 cool.scx.util.URIBuilder
a
bytes - 类中的变量 cool.scx.util.zip.GunzipBuilder
 
bytesSupplier - 类中的变量 cool.scx.util.zip.GunzipBuilder
 

C

Cache<K,V> - cool.scx.util中的类
Cache class.
Cache(int) - 类的构造器 cool.scx.util.Cache
Constructor for Cache.
CAMEL_CASE - enum class 中的枚举常量 cool.scx.util.case_impl.CaseType
驼峰命名法 getNameByAge
CaseType - cool.scx.util.case_impl中的Enum Class
CaseType class.
CaseUtils - cool.scx.util中的类
命名方法转换工具类
提供 驼峰 匈牙利 短横线 及 蛇形命名法的互相转换
CaseUtils() - 类的构造器 cool.scx.util.CaseUtils
 
checkPassword(String, String) - 类中的静态方法 cool.scx.util.CryptoUtils
校验密码
children() - 接口中的方法 cool.scx.util.tree.ScxTree
获取子节点
children(List<T>) - 接口中的方法 cool.scx.util.tree.ScxTreeModel
设置子节点
ClassUtils - cool.scx.util中的类
扫描类工具类
ClassUtils() - 类的构造器 cool.scx.util.ClassUtils
 
clear() - 类中的方法 cool.scx.util.ansi.Ansi
清除当前的 所有 语句
clear() - 类中的方法 cool.scx.util.MultiMap
清楚所有 (通过 get 获取的也会被清空)
code() - 类中的方法 cool.scx.util.ansi.Ansi8BitBackground
code.
code() - 类中的方法 cool.scx.util.ansi.Ansi8BitColor
code.
code() - enum class中的方法 cool.scx.util.ansi.AnsiBackground
code.
code() - enum class中的方法 cool.scx.util.ansi.AnsiColor
code.
code() - 接口中的方法 cool.scx.util.ansi.AnsiElement
code.
code() - enum class中的方法 cool.scx.util.ansi.AnsiStyle
code.
color(Object, AnsiElement...) - 类中的方法 cool.scx.util.ansi.Ansi
向控制台打印输出 颜色根据内部计数器自动读取
ConsoleUtils - cool.scx.util中的类
控制台工具类
ConsoleUtils() - 类的构造器 cool.scx.util.ConsoleUtils
 
constructType(TypeReference<?>) - 类中的静态方法 cool.scx.util.ObjectUtils
a
constructType(Type) - 类中的静态方法 cool.scx.util.ObjectUtils
a
containsKey(K) - 类中的方法 cool.scx.util.MultiMap
a
containsValue(V) - 类中的方法 cool.scx.util.MultiMap
a
convertValue(Object, TypeReference<T>, ObjectUtils.Option...) - 类中的静态方法 cool.scx.util.ObjectUtils
a
convertValue(Object, JavaType, ObjectUtils.Option...) - 类中的静态方法 cool.scx.util.ObjectUtils
a
convertValue(Object, Class<T>, ObjectUtils.Option...) - 类中的静态方法 cool.scx.util.ObjectUtils
a
convertValue(Object, Type, ObjectUtils.Option...) - 类中的静态方法 cool.scx.util.ObjectUtils
a
cool.scx.functional - 程序包 cool.scx.functional
 
cool.scx.util - 程序包 cool.scx.util
 
cool.scx.util.ansi - 程序包 cool.scx.util.ansi
 
cool.scx.util.case_impl - 程序包 cool.scx.util.case_impl
 
cool.scx.util.tree - 程序包 cool.scx.util.tree
 
cool.scx.util.zip - 程序包 cool.scx.util.zip
 
copy(Path, Path, CopyOption...) - 类中的静态方法 cool.scx.util.FileUtils
本质上就是调用 Files.copy(Path, Path, CopyOption...) ,但是在之前会创建不存在的父目录
CryptoUtils - cool.scx.util中的类
加密,解密工具类
CryptoUtils() - 类的构造器 cool.scx.util.CryptoUtils
 
cyan(Object, AnsiElement...) - 类中的方法 cool.scx.util.ansi.Ansi
青色
CYAN - enum class 中的枚举常量 cool.scx.util.ansi.AnsiBackground
a
CYAN - enum class 中的枚举常量 cool.scx.util.ansi.AnsiColor
青色

D

decode(byte[]) - 类中的静态方法 cool.scx.util.Base64Utils
根据 BASE64 获取(解密) 字符串
decode(String) - 类中的静态方法 cool.scx.util.Base64Utils
根据 BASE64 获取(解密) 字符串
decodeToString(byte[]) - 类中的静态方法 cool.scx.util.Base64Utils
根据 BASE64 获取(解密) 字符串
decodeToString(String) - 类中的静态方法 cool.scx.util.Base64Utils
根据 BASE64 获取(解密) 字符串
decrypt(String, byte[], byte[]) - 类中的静态方法 cool.scx.util.CryptoUtils
解密
decrypt(String, AlgorithmParameters, byte[], byte[]) - 类中的静态方法 cool.scx.util.CryptoUtils
解密
decryptBinary(byte[], String) - 类中的静态方法 cool.scx.util.CryptoUtils
使用自定义的密码 , 解密
decryptText(String, String) - 类中的静态方法 cool.scx.util.CryptoUtils
使用自定义的密码 , 解密字符串
DEFAULT - enum class 中的枚举常量 cool.scx.util.ansi.AnsiBackground
a
DEFAULT - enum class 中的枚举常量 cool.scx.util.ansi.AnsiColor
默认 (一般是白色)
defaultColor(Object, AnsiElement...) - 类中的方法 cool.scx.util.ansi.Ansi
默认颜色
delete(Path, FileUtils.DeleteOption...) - 类中的静态方法 cool.scx.util.FileUtils
删除文件或文件夹(会删除文件树中所有内容)
DigestUtils - cool.scx.util中的类
摘要算法工具类
只是针对 jdk 中自带的 MessageDigest 进行的简单封装
注意 : SHA 和 MD5 为单向散列函数, 只适用于防篡改 或单项加密(如密码) 等 .
DigestUtils() - 类的构造器 cool.scx.util.DigestUtils
 
displaySizeToLong(String) - 类中的静态方法 cool.scx.util.FileUtils
将 格式化后的大小转换为 long 如将 1KB 转换为 1024

E

encode(byte[]) - 类中的静态方法 cool.scx.util.Base64Utils
根据 byte 获取(加密) BASE64
encode(AnsiElement) - 类中的静态方法 cool.scx.util.ansi.Ansi
Encode a single AnsiElement if output is enabled.
encode(String) - 类中的静态方法 cool.scx.util.Base64Utils
根据 字符串 获取(加密) BASE64
encodeToString(byte[]) - 类中的静态方法 cool.scx.util.Base64Utils
根据 byte 获取(加密) BASE64
encodeToString(String) - 类中的静态方法 cool.scx.util.Base64Utils
根据 字符串 获取(加密) BASE64
encrypt(String, byte[], byte[]) - 类中的静态方法 cool.scx.util.CryptoUtils
加密
encrypt(String, AlgorithmParameters, byte[], byte[]) - 类中的静态方法 cool.scx.util.CryptoUtils
加密
encryptBinary(byte[], String) - 类中的静态方法 cool.scx.util.CryptoUtils
使用自定义的密码 , 加密
encryptPassword(String) - 类中的静态方法 cool.scx.util.CryptoUtils
加密密码
encryptText(String, String) - 类中的静态方法 cool.scx.util.CryptoUtils
使用自定义的密码 , 加密字符串
equals(Object) - record class中的方法 cool.scx.util.NetUtils.IPAddress
指示某个其他对象是否“等于”此对象。
EXCLUDE_ROOT - enum class 中的枚举常量 cool.scx.util.FileUtils.DeleteOption
实现清空文件夹的效果 排除根目录 (删除文件为 "文件" 时无效, "目录" 时有效) 比如 未使用此选项调用 delete("/user/test") 文件夹 则 test 文件夹会被删除 若使用此选项则 会清空 test 下所有文件 test 目录则会保留
exec(String...) - 类中的静态方法 cool.scx.util.ExecUtils
exec.
ExecUtils - cool.scx.util中的类
ExecUtils class.
ExecUtils() - 类的构造器 cool.scx.util.ExecUtils
 

F

FAINT - enum class 中的枚举常量 cool.scx.util.ansi.AnsiStyle
细线
fileUpload(String, byte[]) - 类中的方法 cool.scx.util.FormData
fileUpload.
fileUpload(String, byte[], String) - 类中的方法 cool.scx.util.FormData
fileUpload.
fileUpload(String, byte[], String, String) - 类中的方法 cool.scx.util.FormData
fileUpload.
fileUpload(String, Path) - 类中的方法 cool.scx.util.FormData
fileUpload.
fileUpload(String, Path, String) - 类中的方法 cool.scx.util.FormData
fileUpload.
fileUpload(String, Path, String, String) - 类中的方法 cool.scx.util.FormData
fileUpload.
FileUtils - cool.scx.util中的类
文件 操作类
FileUtils() - 类的构造器 cool.scx.util.FileUtils
 
FileUtils.DeleteOption - cool.scx.util中的Enum Class
a
filterByBasePackage(List<Class<?>>, String) - 类中的静态方法 cool.scx.util.ClassUtils
根据 basePackage 对 class 进行过滤
flatMap(Map<?, ?>) - 类中的静态方法 cool.scx.util.ObjectUtils
将嵌套的 map 扁平化
forEach(BiConsumer<? super K, ? super V>) - 类中的方法 cool.scx.util.MultiMap
循环
FormData - cool.scx.util中的类
使用 netty 的 HttpPostRequestEncoder 简化 FormData 的创建
FormData() - 类的构造器 cool.scx.util.FormData
 

G

get(K) - 类中的方法 cool.scx.util.MultiMap
a
getAllParams() - 类中的方法 cool.scx.util.URIBuilder
a
getClassListFromDir(Path, ClassLoader) - 类中的静态方法 cool.scx.util.ClassUtils
getClassListByDir.
getClassListFromJar(URI) - 类中的静态方法 cool.scx.util.ClassUtils
读取 jar 包中的所有 class
getClassSource(Class<?>) - 类中的静态方法 cool.scx.util.ClassUtils
根据 class 获取地址
getClientIPAddress(HttpServerRequest) - 类中的静态方法 cool.scx.util.NetUtils
获取访问者IP
getExtension(String) - 类中的静态方法 cool.scx.util.FileUtils
获取拓展名 (不包括 . ) 例 : "cat.png" 会获得 "png"
getFileName(String) - 类中的静态方法 cool.scx.util.FileUtils
getFileName.
getFileNameWithoutExtension(String) - 类中的静态方法 cool.scx.util.FileUtils
获取文件名 (不包括拓展名 ) 例 : "cat.png" 会获得 "cat"
getHead(String, int) - 类中的静态方法 cool.scx.util.FileUtils
获取 文件 head
getLocalIPAddress() - 类中的静态方法 cool.scx.util.NetUtils
获取本机的 IP 地址
getNormalIP() - record class中的方法 cool.scx.util.NetUtils.IPAddress
当 ipv4 地址列表不为空时返回 ipv4 列表 否则返回 ipv6 地址
getParams(String) - 类中的方法 cool.scx.util.URIBuilder
a
getRootCause(Throwable) - 类中的静态方法 cool.scx.util.ScxExceptionHelper
解包包装后的异常
getRootPath(ZipOption...) - 类中的方法 cool.scx.util.zip.UnZipBuilder
getRootPath.
getSourceStrings(String) - enum class中的方法 cool.scx.util.case_impl.CaseType
getStackTraceString(Throwable) - 类中的静态方法 cool.scx.util.ScxExceptionHelper
获取 jdk 内部默认实现的堆栈跟踪字符串
getString(String[]) - enum class中的方法 cool.scx.util.case_impl.CaseType
green(Object, AnsiElement...) - 类中的方法 cool.scx.util.ansi.Ansi
绿色
GREEN - enum class 中的枚举常量 cool.scx.util.ansi.AnsiBackground
a
GREEN - enum class 中的枚举常量 cool.scx.util.ansi.AnsiColor
绿色
GunzipBuilder - cool.scx.util.zip中的类
GunzipBuilder class.
GunzipBuilder(byte[]) - 类的构造器 cool.scx.util.zip.GunzipBuilder
Constructor for GunzipBuilder.
GunzipBuilder(InputStream) - 类的构造器 cool.scx.util.zip.GunzipBuilder
Constructor for GunzipBuilder.
GunzipBuilder(Path) - 类的构造器 cool.scx.util.zip.GunzipBuilder
Constructor for GunzipBuilder.
GunzipBuilder(Supplier<byte[]>) - 类的构造器 cool.scx.util.zip.GunzipBuilder
Constructor for GunzipBuilder.
GzipBuilder - cool.scx.util.zip中的类
GzipBuilder class.
GzipBuilder(byte[]) - 类的构造器 cool.scx.util.zip.GzipBuilder
Constructor for GzipBuilder.
GzipBuilder(InputStream) - 类的构造器 cool.scx.util.zip.GzipBuilder
Constructor for GzipBuilder.
GzipBuilder(Path) - 类的构造器 cool.scx.util.zip.GzipBuilder
Constructor for GzipBuilder.
GzipBuilder(Supplier<byte[]>) - 类的构造器 cool.scx.util.zip.GzipBuilder
Constructor for GzipBuilder.

H

handle(List<T>, T) - 接口中的方法 cool.scx.util.tree.ScxTreeVisitor
handle.
hashCode() - record class中的方法 cool.scx.util.NetUtils.IPAddress
返回此对象的哈希代码值。
HexUtils - cool.scx.util中的类
HexUtils class.
HexUtils() - 类的构造器 cool.scx.util.HexUtils
 

I

id() - 接口中的方法 cool.scx.util.tree.ScxTreeModel
节点 ID
ignore(ScxRunnable<?>) - 类中的静态方法 cool.scx.util.ScxExceptionHelper
忽略异常
ignore(Callable<T>) - 类中的静态方法 cool.scx.util.ScxExceptionHelper
忽略异常 发生异常时返回 null
ignore(Callable<T>, T) - 类中的静态方法 cool.scx.util.ScxExceptionHelper
忽略异常 发生异常时返回默认值
IGNORE_JSON_IGNORE - enum class 中的枚举常量 cool.scx.util.ObjectUtils.Option
忽略 JsonIgnore 注解
IGNORE_NULL_VALUE - enum class 中的枚举常量 cool.scx.util.ObjectUtils.Option
忽略 空值 如 原数据 user { name = "123" age = null} 默认输出为 { "name" : "123" , "age" : null} 启用此参数后则变为 { "name" : "123" }
INCLUDE_ROOT - enum class 中的枚举常量 cool.scx.util.zip.ZipOption
是否包含根目录 压缩时使用则会直接压缩整个文件夹, 否则相当于压缩文件内文件夹 解压时使用则会在待解压目录创建与压缩包名称相同的文件夹 只针对文件夹生效
initJsonMapper() - 类中的静态方法 cool.scx.util.JacksonHelper
a
initJsonMapper(DateTimeFormatter) - 类中的静态方法 cool.scx.util.JacksonHelper
获取 jsonMapper
initXmlMapper() - 类中的静态方法 cool.scx.util.JacksonHelper
a
initXmlMapper(DateTimeFormatter) - 类中的静态方法 cool.scx.util.JacksonHelper
获取 xmlMapper
inputStream - 类中的变量 cool.scx.util.zip.GunzipBuilder
 
IPAddress(String[], String[]) - record class的构造器 cool.scx.util.NetUtils.IPAddress
创建 IPAddress 记录的实例。
isBlank(String) - 类中的静态方法 cool.scx.util.StringUtils
校验字符串是否为 null 或全为空白 (空格 " ")
isEmpty() - 类中的方法 cool.scx.util.MultiMap
a
isEmpty(String) - 类中的静态方法 cool.scx.util.StringUtils
校验字符串是否为 null 或为空字符串 ("")
isInstantiableClass(Class<?>) - 类中的静态方法 cool.scx.util.ClassUtils
如果类的构造函数是私有的 我们便假设此类不想让我们进行实例化
isJar(Path) - 类中的静态方法 cool.scx.util.ClassUtils
isJar.
isNormalClass(Class<?>) - 类中的静态方法 cool.scx.util.ClassUtils
a
isRoot() - 接口中的方法 cool.scx.util.tree.ScxTreeModel
是否为根节点
ITALIC - enum class 中的枚举常量 cool.scx.util.ansi.AnsiStyle
斜体

J

JacksonHelper - cool.scx.util中的类
a
JacksonHelper() - 类的构造器 cool.scx.util.JacksonHelper
 
join(String...) - 类中的静态方法 cool.scx.util.URIBuilder
拼接多个 uri 并进行一些简单的清理 例 : 处理前 ["a/b/", "/c"] 处理后 "a/b/c"
join(Collection<String>) - 类中的静态方法 cool.scx.util.URIBuilder
a
jsonMapper(ObjectUtils.Option...) - 类中的静态方法 cool.scx.util.ObjectUtils
获取 jsonMapper

K

KEBAB_CASE - enum class 中的枚举常量 cool.scx.util.case_impl.CaseType
短横线命名法 get-name-by-age
keySet() - 类中的方法 cool.scx.util.MultiMap
a

L

listToTree(List<T>) - 类中的静态方法 cool.scx.util.tree.ScxTreeUtils
将 list 类型数据转换为 树形结构 (默认忽略孤儿节点)
listToTree(List<T>, boolean) - 类中的静态方法 cool.scx.util.tree.ScxTreeUtils
将 list 类型数据转换为 树形结构
ln() - 类中的方法 cool.scx.util.ansi.Ansi
换行
longToDisplaySize(long) - 类中的静态方法 cool.scx.util.FileUtils
将 long 类型的文件大小 格式化(转换为人类可以看懂的形式) 如 1024 转换为 1KB

M

magenta(Object, AnsiElement...) - 类中的方法 cool.scx.util.ansi.Ansi
紫色
MAGENTA - enum class 中的枚举常量 cool.scx.util.ansi.AnsiBackground
a
MAGENTA - enum class 中的枚举常量 cool.scx.util.ansi.AnsiColor
紫色
MAP_TYPE - 类中的静态变量 cool.scx.util.ObjectUtils
因为 java 无法方便的存储泛型 使用 TypeReference 创建一些常用的类型 此类为 Map 类型
md5(byte[]) - 类中的静态方法 cool.scx.util.DigestUtils
md5.
md5(File) - 类中的静态方法 cool.scx.util.DigestUtils
计算 md5
md5(String) - 类中的静态方法 cool.scx.util.DigestUtils
md5.
move(Path, Path, CopyOption...) - 类中的静态方法 cool.scx.util.FileUtils
本质上就是调用 Files.move(Path, Path, CopyOption...) ,但是在之前会创建不存在的父目录
MultiMap<K,V> - cool.scx.util中的类
a
MultiMap() - 类的构造器 cool.scx.util.MultiMap
 

N

NetUtils - cool.scx.util中的类
基本网络操作工具类
NetUtils() - 类的构造器 cool.scx.util.NetUtils
 
NetUtils.IPAddress - cool.scx.util中的Record Class
IP 地址包装类
noException(ScxRunnable<?>) - 类中的静态方法 cool.scx.util.ScxExceptionHelper
执行的操作是否有异常 (有异常时不打印信息)
NORMAL - enum class 中的枚举常量 cool.scx.util.ansi.AnsiStyle
标准
normalize(String) - 类中的静态方法 cool.scx.util.URIBuilder
将 \ 分割的全部转换为 / 并清除多余的 /
notBlank(String) - 类中的静态方法 cool.scx.util.StringUtils
校验字符串是否不为 null 且不全为空白 (空格 " ")
notEmpty(String) - 类中的静态方法 cool.scx.util.StringUtils
校验字符串是否不为 null 并且不为空字符串 ("")

O

ObjectUtils - cool.scx.util中的类
处理对象的工具类
本质上就是对 ObjectMapper 进行了一些简单的封装
ObjectUtils() - 类的构造器 cool.scx.util.ObjectUtils
 
ObjectUtils.Option - cool.scx.util中的Enum Class
 
of(String) - 类中的静态方法 cool.scx.util.URIBuilder
a
of(URI) - 类中的静态方法 cool.scx.util.URIBuilder
a
out() - 类中的静态方法 cool.scx.util.ansi.Ansi
out.

P

parent() - 接口中的方法 cool.scx.util.tree.ScxTree
获取 父节点
parentID() - 接口中的方法 cool.scx.util.tree.ScxTreeModel
父节点 ID
PASCAL_CASE - enum class 中的枚举常量 cool.scx.util.case_impl.CaseType
匈牙利命名法 GetNameByAge
path - 类中的变量 cool.scx.util.zip.GunzipBuilder
 
print() - 类中的方法 cool.scx.util.ansi.Ansi
print.
println() - 类中的方法 cool.scx.util.ansi.Ansi
println.
put(String) - 类中的方法 cool.scx.util.zip.ZipBuilder
put.
put(String, byte[]) - 类中的方法 cool.scx.util.zip.ZipBuilder
put.
put(String, InputStream) - 类中的方法 cool.scx.util.zip.ZipBuilder
put.
put(String, Path, ZipOption...) - 类中的方法 cool.scx.util.zip.ZipBuilder
put.
put(String, Supplier<byte[]>) - 类中的方法 cool.scx.util.zip.ZipBuilder
put.
put(Path, ZipOption...) - 类中的方法 cool.scx.util.zip.ZipBuilder
put.
put(K, V) - 类中的方法 cool.scx.util.MultiMap
a
putAll(K, List<? extends V>) - 类中的方法 cool.scx.util.MultiMap
a

R

randomNumber(int, int) - 类中的静态方法 cool.scx.util.RandomUtils
取一个指定区间的随机数 (包含两端)
randomString(int) - 类中的静态方法 cool.scx.util.RandomUtils
获取随机的 Code (包含字母和数字)
randomString(int, boolean) - 类中的静态方法 cool.scx.util.RandomUtils
获取随机的 Code 注意!!!
RandomUtils - cool.scx.util中的类
用于生成简单的随机数
RandomUtils() - 类的构造器 cool.scx.util.RandomUtils
 
randomUUID() - 类中的静态方法 cool.scx.util.RandomUtils
获取UUID
readLine() - 类中的静态方法 cool.scx.util.ConsoleUtils
readLine.
red(Object, AnsiElement...) - 类中的方法 cool.scx.util.ansi.Ansi
红色
RED - enum class 中的枚举常量 cool.scx.util.ansi.AnsiBackground
a
RED - enum class 中的枚举常量 cool.scx.util.ansi.AnsiColor
红色
remove(String) - 类中的方法 cool.scx.util.FormData
remove.
remove(String) - 类中的方法 cool.scx.util.zip.ZipBuilder
remove.
remove(K, V) - 类中的方法 cool.scx.util.MultiMap
a
removeAll(K) - 类中的方法 cool.scx.util.MultiMap
根据 key 移除所有
removeAllParams() - 类中的方法 cool.scx.util.URIBuilder
a
removeEldestEntry(Map.Entry<K, V>) - 类中的方法 cool.scx.util.Cache
removeParam(String) - 类中的方法 cool.scx.util.URIBuilder
a
repeat(String, String, int) - 类中的静态方法 cool.scx.util.StringUtils
创建重复字符串 (带分隔符) 拓展了 String.repeat(int) 无法添加分隔符的功能
reset(String) - 类中的静态方法 cool.scx.util.StopWatch
a
run() - 接口中的方法 cool.scx.functional.ScxRunnable
run.

S

ScxConsumer<A,E extends Exception> - cool.scx.functional中的接口
支持显式抛出异常的 Consumer.
ScxExceptionHelper - cool.scx.util中的类
a
ScxExceptionHelper() - 类的构造器 cool.scx.util.ScxExceptionHelper
 
ScxExceptionHelper.ScxWrappedRuntimeException - cool.scx.util中的异常错误
a
ScxFunction<A,R,E extends Exception> - cool.scx.functional中的接口
支持显式抛出异常的 Function.
ScxRunnable<E extends Exception> - cool.scx.functional中的接口
支持显式抛出异常的 Runnable.
ScxTree<T extends ScxTree<T>> - cool.scx.util.tree中的接口
树接口 注意和 ScxTreeModel 进行区分 两者用途不同
ScxTreeModel<T extends ScxTreeModel<T>> - cool.scx.util.tree中的接口
树模型接口 注意和 ScxTree 进行区分 两者用途不同
ScxTreeUtils - cool.scx.util.tree中的类
ScxTreeUtil class.
ScxTreeUtils() - 类的构造器 cool.scx.util.tree.ScxTreeUtils
 
ScxTreeVisitor<T extends ScxTree<T>> - cool.scx.util.tree中的接口
树 访问器
ScxWrappedRuntimeException(Throwable) - 异常错误的构造器 cool.scx.util.ScxExceptionHelper.ScxWrappedRuntimeException
a
sha1(byte[]) - 类中的静态方法 cool.scx.util.DigestUtils
sha1.
sha1(File) - 类中的静态方法 cool.scx.util.DigestUtils
sha1.
sha1(String) - 类中的静态方法 cool.scx.util.DigestUtils
sha1.
sha256(byte[]) - 类中的静态方法 cool.scx.util.DigestUtils
sha256.
sha256(File) - 类中的静态方法 cool.scx.util.DigestUtils
sha256.
sha256(String) - 类中的静态方法 cool.scx.util.DigestUtils
sha256.
sha384(byte[]) - 类中的静态方法 cool.scx.util.DigestUtils
sha384.
sha384(File) - 类中的静态方法 cool.scx.util.DigestUtils
sha384.
sha384(String) - 类中的静态方法 cool.scx.util.DigestUtils
sha384.
sha512(byte[]) - 类中的静态方法 cool.scx.util.DigestUtils
sha512.
sha512(File) - 类中的静态方法 cool.scx.util.DigestUtils
sha512.
sha512(String) - 类中的静态方法 cool.scx.util.DigestUtils
sha512.
size() - 类中的方法 cool.scx.util.MultiMap
size
SNAKE_CASE - enum class 中的枚举常量 cool.scx.util.case_impl.CaseType
蛇形命名法 get_name_by_age
split(String) - 类中的静态方法 cool.scx.util.URIBuilder
a
start() - 类中的静态方法 cool.scx.util.StopWatch
创建随机名称
start(String) - 类中的静态方法 cool.scx.util.StopWatch
启动计时器
stopToMillis(String) - 类中的静态方法 cool.scx.util.StopWatch
停止计时并返回时间差 单位毫秒
stopToNanos(String) - 类中的静态方法 cool.scx.util.StopWatch
停止计时并返回时间差 单位微毫秒
stopToSeconds(String) - 类中的静态方法 cool.scx.util.StopWatch
停止计时并返回时间差 单位秒
StopWatch - cool.scx.util中的类
简易计时器类 用来计算启动时间
StopWatch() - 类的构造器 cool.scx.util.StopWatch
 
StringUtils - cool.scx.util中的类
String工具类
StringUtils() - 类的构造器 cool.scx.util.StringUtils
 

T

toBytes() - 类中的方法 cool.scx.util.zip.GunzipBuilder
toBytes.
toBytes() - 类中的方法 cool.scx.util.zip.GzipBuilder
toBytes.
toBytes() - 类中的方法 cool.scx.util.zip.ZipBuilder
将 virtualFile 转换为 byte 数组 方便前台用户下载使用
toBytes(String) - 类中的静态方法 cool.scx.util.HexUtils
十六进制转字节数组
toCamel(String) - 类中的静态方法 cool.scx.util.CaseUtils
转换为驼峰命名法 getNameByAge
toCamel(String, CaseType) - 类中的静态方法 cool.scx.util.CaseUtils
转换为驼峰命名法 getNameByAge
toFile(Path) - 类中的方法 cool.scx.util.zip.GunzipBuilder
toFile.
toFile(Path) - 类中的方法 cool.scx.util.zip.GzipBuilder
toFile.
toFile(Path) - 类中的方法 cool.scx.util.zip.ZipBuilder
将一个虚拟文件压缩
toFile(Path, ZipOption...) - 类中的方法 cool.scx.util.zip.UnZipBuilder
解压
toHex(byte[]) - 类中的静态方法 cool.scx.util.HexUtils
字节数组转十六进制
toInputStream() - 类中的方法 cool.scx.util.zip.GunzipBuilder
toInputStream.
toJson(Object, ObjectUtils.Option...) - 类中的静态方法 cool.scx.util.ObjectUtils
a
toJson(Object, String, ObjectUtils.Option...) - 类中的静态方法 cool.scx.util.ObjectUtils
将对象转 json 底层调用 JSON_MAPPER.writeValueAsString() 所以会忽略 JsonIgnore 注解 同时如果转换失败则在其内部消化异常 (打印) 并返回 ""
toKebab(String) - 类中的静态方法 cool.scx.util.CaseUtils
转换为短横线命名法 get-name-by-age
toKebab(String, CaseType) - 类中的静态方法 cool.scx.util.CaseUtils
转换为短横线命名法 get-name-by-age
toObjectArray(Object) - 类中的静态方法 cool.scx.util.ObjectUtils
a
toPascal(String) - 类中的静态方法 cool.scx.util.CaseUtils
转换为匈牙利命名法 GetNameByAge
toPascal(String, CaseType) - 类中的静态方法 cool.scx.util.CaseUtils
转换为匈牙利命名法 GetNameByAge
toSnake(String) - 类中的静态方法 cool.scx.util.CaseUtils
转换为蛇形命名法 get_name_by_age
toSnake(String, CaseType) - 类中的静态方法 cool.scx.util.CaseUtils
转换为蛇形命名法 get_name_by_age
toString() - 类中的方法 cool.scx.util.ansi.Ansi
 
toString() - record class中的方法 cool.scx.util.NetUtils.IPAddress
将所有的 ipv4 和 ipv6 地址转换为字符串 ipv4 在前, ipv6 在后, (一般用于打印或日志记录使用)
toString() - 类中的方法 cool.scx.util.URIBuilder
toXml(Object, ObjectUtils.Option...) - 类中的静态方法 cool.scx.util.ObjectUtils
a
toXml(Object, String, ObjectUtils.Option...) - 类中的静态方法 cool.scx.util.ObjectUtils
将对象转 xml 底层调用 XML_MAPPER.writeValueAsString() 所以会忽略 JsonIgnore 注解 同时如果转换失败则在其内部消化异常 (打印) 并返回 ""
trimSlash(String) - 类中的静态方法 cool.scx.util.URIBuilder
移除两端的 "/" 或 "\" 注意不要和 String.trim() 混淆 此方法不处理空格 只处理斜杠
trimSlashEnd(String) - 类中的静态方法 cool.scx.util.URIBuilder
a
trimSlashStart(String) - 类中的静态方法 cool.scx.util.URIBuilder
trimSlashStart.
type - 类中的变量 cool.scx.util.zip.GunzipBuilder
 

U

UNDERLINE - enum class 中的枚举常量 cool.scx.util.ansi.AnsiStyle
下划线
UnZipBuilder - cool.scx.util.zip中的类
UnZipBuilder class.
UnZipBuilder(byte[]) - 类的构造器 cool.scx.util.zip.UnZipBuilder
Constructor for UnZipBuilder.
UnZipBuilder(InputStream) - 类的构造器 cool.scx.util.zip.UnZipBuilder
Constructor for UnZipBuilder.
UnZipBuilder(Path) - 类的构造器 cool.scx.util.zip.UnZipBuilder
Constructor for UnZipBuilder.
UnZipBuilder(Supplier<byte[]>) - 类的构造器 cool.scx.util.zip.UnZipBuilder
Constructor for UnZipBuilder.
URIBuilder - cool.scx.util中的类
a
USE_ORIGINAL_FILE_NAME - enum class 中的枚举常量 cool.scx.util.zip.ZipOption
是否使用原始文件名 使用时 zipPath 将会变为文件夹

V

v4() - record class中的方法 cool.scx.util.NetUtils.IPAddress
返回 v4 记录组件的值。
v4ToString() - record class中的方法 cool.scx.util.NetUtils.IPAddress
所有 ipv4 地址转字符串 (一般用于打印或日志记录使用)
v6() - record class中的方法 cool.scx.util.NetUtils.IPAddress
返回 v6 记录组件的值。
v6ToString() - record class中的方法 cool.scx.util.NetUtils.IPAddress
所有 ipv6 地址转字符串 (一般用于打印或日志记录使用)
valueOf(String) - enum class中的静态方法 cool.scx.util.ansi.AnsiBackground
Returns the enum constant of this class with the specified name.
valueOf(String) - enum class中的静态方法 cool.scx.util.ansi.AnsiColor
Returns the enum constant of this class with the specified name.
valueOf(String) - enum class中的静态方法 cool.scx.util.ansi.AnsiStyle
Returns the enum constant of this class with the specified name.
valueOf(String) - enum class中的静态方法 cool.scx.util.case_impl.CaseType
Returns the enum constant of this class with the specified name.
valueOf(String) - enum class中的静态方法 cool.scx.util.FileUtils.DeleteOption
Returns the enum constant of this class with the specified name.
valueOf(String) - enum class中的静态方法 cool.scx.util.ObjectUtils.Option
Returns the enum constant of this class with the specified name.
valueOf(String) - enum class中的静态方法 cool.scx.util.zip.ZipOption
Returns the enum constant of this class with the specified name.
values() - enum class中的静态方法 cool.scx.util.ansi.AnsiBackground
Returns an array containing the constants of this enum class, in the order they are declared.
values() - enum class中的静态方法 cool.scx.util.ansi.AnsiColor
Returns an array containing the constants of this enum class, in the order they are declared.
values() - enum class中的静态方法 cool.scx.util.ansi.AnsiStyle
Returns an array containing the constants of this enum class, in the order they are declared.
values() - enum class中的静态方法 cool.scx.util.case_impl.CaseType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - enum class中的静态方法 cool.scx.util.FileUtils.DeleteOption
Returns an array containing the constants of this enum class, in the order they are declared.
values() - 类中的方法 cool.scx.util.MultiMap
a
values() - enum class中的静态方法 cool.scx.util.ObjectUtils.Option
Returns an array containing the constants of this enum class, in the order they are declared.
values() - enum class中的静态方法 cool.scx.util.zip.ZipOption
Returns an array containing the constants of this enum class, in the order they are declared.

W

walk(T, ScxTreeVisitor<T>) - 类中的静态方法 cool.scx.util.tree.ScxTreeUtils
walk.
walk1(T, ScxTreeVisitor<T>) - 类中的静态方法 cool.scx.util.tree.ScxTreeUtils
walk 的另一种写法 稍慢于 walk (必须实现 ScxTree.parent())
white(Object, AnsiElement...) - 类中的方法 cool.scx.util.ansi.Ansi
白色
WHITE - enum class 中的枚举常量 cool.scx.util.ansi.AnsiBackground
a
WHITE - enum class 中的枚举常量 cool.scx.util.ansi.AnsiColor
白色 (其实是有点发灰)
wrap(ScxRunnable<?>) - 类中的静态方法 cool.scx.util.ScxExceptionHelper
包装 异常
wrap(Callable<T>) - 类中的静态方法 cool.scx.util.ScxExceptionHelper
包装 异常
write(HttpClientRequest) - 类中的方法 cool.scx.util.FormData
write.
write(Path, byte[], OpenOption...) - 类中的静态方法 cool.scx.util.FileUtils
本质上就是调用 Files.write(Path, byte[], OpenOption...) ,但是在之前会创建不存在的父目录
writeToOutputStream(OutputStream) - 类中的方法 cool.scx.util.zip.GunzipBuilder
writeToOutputStream.
writeToZipOutputStream(ZipOutputStream) - 类中的方法 cool.scx.util.zip.ZipBuilder
writeToZipOutputStream.

X

xmlMapper(ObjectUtils.Option...) - 类中的静态方法 cool.scx.util.ObjectUtils
获取 xmlMapper

Y

yellow(Object, AnsiElement...) - 类中的方法 cool.scx.util.ansi.Ansi
黄色
YELLOW - enum class 中的枚举常量 cool.scx.util.ansi.AnsiBackground
a
YELLOW - enum class 中的枚举常量 cool.scx.util.ansi.AnsiColor
黄色

Z

ZipBuilder - cool.scx.util.zip中的类
简化 zip 的创建
ZipBuilder() - 类的构造器 cool.scx.util.zip.ZipBuilder
Constructor for ZipBuilder.
ZipBuilder(Path, ZipOption...) - 类的构造器 cool.scx.util.zip.ZipBuilder
Constructor for ZipBuilder.
ZipOption - cool.scx.util.zip中的Enum Class
a
A B C D E F G H I J K L M N O P R S T U V W X Y Z 
All Classes and Interfaces|所有程序包|序列化表格