索引

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(T) - 接口中的方法 cool.scx.functional.ScxConsumer
accept.
ACCEPTED - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
请求已经接收到,但还未响应,没有结果。
add(Object, AnsiElement...) - 类中的方法 cool.scx.util.ansi.Ansi
a
addHeader(String, String) - 类中的方法 cool.scx.http_client.ScxHttpClientRequest
 
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(T) - 接口中的方法 cool.scx.functional.ScxFunction
apply.
ArrayUtils - cool.scx.util中的类
 
ArrayUtils() - 类的构造器 cool.scx.util.ArrayUtils
 
attribute(String, Object) - 类中的方法 cool.scx.http_client.body.FormData
attribute.
attributeValue() - 类中的方法 cool.scx.http_client.body.form_data.FormDataItem
 

B

BAD_GATEWAY - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
此错误响应表明服务器作为网关需要得到一个处理这个请求的响应,但是得到一个错误的响应。
BAD_REQUEST - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
由于被认为是客户端错误(例如,错误的请求语法、无效的请求消息帧或欺骗性的请求路由),服务器无法或不会处理请求。
Base64Utils - cool.scx.util中的类
a
Base64Utils() - 类的构造器 cool.scx.util.Base64Utils
 
BIN - enum class 中的枚举常量 cool.scx.enumeration.RawType
未知的 二进制类型
binaryMessageHandler(ScxConsumer<byte[], ?>) - 接口中的方法 cool.scx.http_client.ScxHttpClientWebSocket
 
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
蓝色
body() - 类中的方法 cool.scx.http_client.ScxHttpClientResponse
 
body(ScxHttpClientRequestBody) - 类中的方法 cool.scx.http_client.ScxHttpClientRequest
 
bodyPublisher(HttpRequest.Builder) - 类中的方法 cool.scx.http_client.body.EmptyBody
bodyPublisher(HttpRequest.Builder) - 类中的方法 cool.scx.http_client.body.FormData
 
bodyPublisher(HttpRequest.Builder) - 类中的方法 cool.scx.http_client.body.JsonBody
 
bodyPublisher(HttpRequest.Builder) - 类中的方法 cool.scx.http_client.body.StringBody
 
bodyPublisher(HttpRequest.Builder) - 类中的方法 cool.scx.http_client.body.XmlBody
 
bodyPublisher(HttpRequest.Builder) - 接口中的方法 cool.scx.http_client.ScxHttpClientRequestBody
 
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

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
 
charset() - 类中的方法 cool.scx.util.zip.ZipOptions
 
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.reflect中的类
扫描类工具类
ClassUtils() - 类的构造器 cool.scx.util.reflect.ClassUtils
 
clear() - 类中的方法 cool.scx.util.ansi.Ansi
清除当前的 所有 语句
clear() - 类中的方法 cool.scx.util.MultiMap
清楚所有 (通过 get 获取的也会被清空)
closeHandler(ScxRunnable<?>) - 接口中的方法 cool.scx.http_client.ScxHttpClientWebSocket
 
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
向控制台打印输出 颜色根据内部计数器自动读取
comment() - 类中的方法 cool.scx.util.zip.ZipOptions
 
concat(String, String) - 类中的静态方法 cool.scx.util.StringUtils
联接字符串 但是不连接空
concat(T[], T[]) - 类中的静态方法 cool.scx.util.ArrayUtils
 
CONFLICT - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
当请求与服务器的当前状态冲突时,将发送此响应。
CONNECT - enum class 中的枚举常量 cool.scx.enumeration.HttpMethod
CONNECT 方法建立一个到由目标资源标识的服务器的隧道。
connectTimeout(Duration) - 类中的方法 cool.scx.http_client.ScxHttpClientOptions
 
ConsoleUtils - cool.scx.util中的类
控制台工具类
ConsoleUtils() - 类的构造器 cool.scx.util.ConsoleUtils
 
ConstructorUtils - cool.scx.util.reflect中的类
 
ConstructorUtils() - 类的构造器 cool.scx.util.reflect.ConstructorUtils
 
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
CONTENT_TOO_LARGE - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
请求实体大于服务器定义的限制。
contentType() - 类中的方法 cool.scx.http_client.body.form_data.FormDataItem
 
CONTINUE - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
这个临时响应表明,迄今为止的所有内容都是可行的,客户端应该继续请求,如果已经完成,则忽略它。
convert(String, CaseType, CaseType) - 类中的静态方法 cool.scx.util.CaseUtils
推断原来的命名是啥 并返回切割后的源字符串
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.constant - 程序包 cool.scx.constant
 
cool.scx.enumeration - 程序包 cool.scx.enumeration
 
cool.scx.functional - 程序包 cool.scx.functional
 
cool.scx.http_client - 程序包 cool.scx.http_client
 
cool.scx.http_client.body - 程序包 cool.scx.http_client.body
 
cool.scx.http_client.body.form_data - 程序包 cool.scx.http_client.body.form_data
 
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.reflect - 程序包 cool.scx.util.reflect
 
cool.scx.util.tree - 程序包 cool.scx.util.tree
 
cool.scx.util.zip - 程序包 cool.scx.util.zip
 
cool.scx.util.zip.zip_builder_item - 程序包 cool.scx.util.zip.zip_builder_item
 
cool.scx.util.zip.zip_data_source - 程序包 cool.scx.util.zip.zip_data_source
 
copy(Path, Path, CopyOption...) - 类中的静态方法 cool.scx.util.FileUtils
本质上就是调用 Files.copy(Path, Path, CopyOption...) ,但是在之前会创建不存在的父目录
CREATED - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
该请求已成功,并因此创建了一个新的资源。
createHttpRequest() - 类中的方法 cool.scx.http_client.ScxHttpClientRequest
 
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(String, ScxHttpClientRequestBody) - 类中的静态方法 cool.scx.http_client.ScxHttpClientHelper
 
delete(Path, FileUtils.DeleteOption...) - 类中的静态方法 cool.scx.util.FileUtils
删除文件或文件夹(会删除文件树中所有内容)
DELETE - enum class 中的枚举常量 cool.scx.enumeration.HttpMethod
DELETE 方法删除指定的资源。
deleteAsync(String, ScxHttpClientRequestBody) - 类中的静态方法 cool.scx.http_client.ScxHttpClientHelper
 
DigestUtils - cool.scx.util中的类
摘要算法工具类
只是针对 jdk 中自带的 MessageDigest 进行的简单封装
注意 : SHA 和 MD5 为单向散列函数, 只适用于防篡改 或单项加密(如密码) 等 .
DigestUtils() - 类的构造器 cool.scx.util.DigestUtils
 
displaySizeToLong(String) - 类中的静态方法 cool.scx.util.FileUtils
将 格式化后的大小转换为 long 如将 1KB 转换为 1024
DOC - enum class 中的枚举常量 cool.scx.enumeration.RawType
 
DOCX - enum class 中的枚举常量 cool.scx.enumeration.RawType
 

E

EmptyBody - cool.scx.http_client.body中的类
EmptyBody class.
EmptyBody() - 类的构造器 cool.scx.http_client.body.EmptyBody
 
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
使用自定义的密码 , 加密字符串
endsWithIgnoreCase(String, String) - 类中的静态方法 cool.scx.util.StringUtils
 
equals(Object) - record class中的方法 cool.scx.util.NetUtils.IPAddress
指示某个其他对象是否“等于”此对象。
exceptionHandler(ScxConsumer<Throwable, ?>) - 接口中的方法 cool.scx.http_client.ScxHttpClientWebSocket
 
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
 
EXPECTATION_FAILED - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
此响应代码表示服务器无法满足 Expect 请求标头字段所指示的期望。

F

FAINT - enum class 中的枚举常量 cool.scx.util.ansi.AnsiStyle
细线
FieldUtils - cool.scx.util.reflect中的类
 
FieldUtils() - 类的构造器 cool.scx.util.reflect.FieldUtils
 
filename() - 类中的方法 cool.scx.http_client.body.form_data.FormDataItem
 
fileUpload(String, byte[]) - 类中的方法 cool.scx.http_client.body.FormData
fileUpload.
fileUpload(String, byte[], String) - 类中的方法 cool.scx.http_client.body.FormData
fileUpload.
fileUpload(String, byte[], String, String) - 类中的方法 cool.scx.http_client.body.FormData
fileUpload.
fileUpload(String, Path) - 类中的方法 cool.scx.http_client.body.FormData
fileUpload.
fileUpload(String, Path, String) - 类中的方法 cool.scx.http_client.body.FormData
fileUpload.
fileUpload(String, Path, String, String) - 类中的方法 cool.scx.http_client.body.FormData
fileUpload.
fileUploadPath() - 类中的方法 cool.scx.http_client.body.form_data.FormDataItem
 
fileUploadPathBytes() - 类中的方法 cool.scx.http_client.body.form_data.FormDataItem
 
FileUtils - cool.scx.util中的类
文件 操作类
FileUtils() - 类的构造器 cool.scx.util.FileUtils
 
FileUtils.DeleteOption - cool.scx.util中的Enum Class
a
filterByBasePackage(List<Class<?>>, String) - 类中的静态方法 cool.scx.util.reflect.ClassUtils
根据 basePackage 对 class 进行过滤
findFields(Class<?>) - 类中的静态方法 cool.scx.util.reflect.FieldUtils
 
findMethods(Class<?>) - 类中的静态方法 cool.scx.util.reflect.MethodUtils
 
findNoArgsConstructor(Class<T>) - 类中的静态方法 cool.scx.util.reflect.ConstructorUtils
寻找 无参构造函数 (不支持成员类)
findRecordConstructor(Class<T>) - 类中的静态方法 cool.scx.util.reflect.ConstructorUtils
寻找 Record 规范构造参数
flatMap(Map<?, ?>) - 类中的静态方法 cool.scx.util.ObjectUtils
将嵌套的 map 扁平化
FORBIDDEN - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
客户端没有访问内容的权限;也就是说,它是未经授权的,因此服务器拒绝提供请求的资源。
forEach(BiConsumer<? super K, ? super V>) - 类中的方法 cool.scx.util.MultiMap
循环
FormData - cool.scx.http_client.body中的类
使用 netty 的 HttpPostRequestEncoder 简化 FormData 的创建
FormData() - 类的构造器 cool.scx.http_client.body.FormData
 
FormDataHelper - cool.scx.http_client.body.form_data中的类
 
FormDataHelper() - 类的构造器 cool.scx.http_client.body.form_data.FormDataHelper
 
FormDataItem - cool.scx.http_client.body.form_data中的类
 
FormDataItem(String, byte[]) - 类的构造器 cool.scx.http_client.body.form_data.FormDataItem
 
FormDataItem(String, byte[], String) - 类的构造器 cool.scx.http_client.body.form_data.FormDataItem
 
FormDataItem(String, byte[], String, String) - 类的构造器 cool.scx.http_client.body.form_data.FormDataItem
 
FormDataItem(String, String) - 类的构造器 cool.scx.http_client.body.form_data.FormDataItem
 
FormDataItem(String, Path) - 类的构造器 cool.scx.http_client.body.form_data.FormDataItem
 
FormDataItem(String, Path, String) - 类的构造器 cool.scx.http_client.body.form_data.FormDataItem
 
FormDataItem(String, Path, String, String) - 类的构造器 cool.scx.http_client.body.form_data.FormDataItem
 
FormDataIterable - cool.scx.http_client.body.form_data中的类
 
FormDataIterable(HttpPostRequestEncoder) - 类的构造器 cool.scx.http_client.body.form_data.FormDataIterable
 
FOUND - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
此响应代码表示所请求资源的 URI 已 暂时 更改。

G

GATEWAY_TIMEOUT - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
当服务器充当网关且无法及时获得响应时,会给出此错误响应。
get(String) - 类中的静态方法 cool.scx.http_client.ScxHttpClientHelper
 
get(String) - 类中的方法 cool.scx.util.zip.ZipBuilder
 
get(K) - 类中的方法 cool.scx.util.MultiMap
a
GET - enum class 中的枚举常量 cool.scx.enumeration.HttpMethod
GET 方法请求一个指定资源的表示形式,使用 GET 的请求应该只被用于获取数据。
getAllParams() - 类中的方法 cool.scx.util.URIBuilder
a
getAppRoot(URI) - 类中的静态方法 cool.scx.util.reflect.ClassUtils
根据 codeSource 获取 app 根路径
getAsync(String) - 类中的静态方法 cool.scx.http_client.ScxHttpClientHelper
 
getClassListFromDir(Path, ClassLoader) - 类中的静态方法 cool.scx.util.reflect.ClassUtils
getClassListByDir.
getClassListFromJar(URI) - 类中的静态方法 cool.scx.util.reflect.ClassUtils
读取 jar 包中的所有 class
getClientIPAddress(HttpServerRequest) - 类中的静态方法 cool.scx.util.NetUtils
获取访问者IP
getCodeSource(Class<?>) - 类中的静态方法 cool.scx.util.reflect.ClassUtils
根据 class 获取地址
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
解包包装后的异常
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
GIF - enum class 中的枚举常量 cool.scx.enumeration.RawType
 
GONE - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
当请求的内容已从服务器中永久删除且没有转发地址时,将发送此响应。
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
 
GunzipBuilder(ZipDataSource) - 类的构造器 cool.scx.util.zip.GunzipBuilder
 
GunzipBuilder(InputStream) - 类的构造器 cool.scx.util.zip.GunzipBuilder
 
GunzipBuilder(Path) - 类的构造器 cool.scx.util.zip.GunzipBuilder
 
GunzipBuilder(Supplier<byte[]>) - 类的构造器 cool.scx.util.zip.GunzipBuilder
 
GzipBuilder - cool.scx.util.zip中的类
GzipBuilder class.
GzipBuilder(byte[]) - 类的构造器 cool.scx.util.zip.GzipBuilder
 
GzipBuilder(ZipDataSource) - 类的构造器 cool.scx.util.zip.GzipBuilder
 
GzipBuilder(InputStream) - 类的构造器 cool.scx.util.zip.GzipBuilder
 
GzipBuilder(Path) - 类的构造器 cool.scx.util.zip.GzipBuilder
 
GzipBuilder(Supplier<byte[]>) - 类的构造器 cool.scx.util.zip.GzipBuilder
 

H

handle(List<T>, T) - 接口中的方法 cool.scx.util.tree.ScxTreeVisitor
handle.
hashCode() - record class中的方法 cool.scx.util.NetUtils.IPAddress
返回此对象的哈希代码值。
HEAD - enum class 中的枚举常量 cool.scx.enumeration.HttpMethod
HEAD 方法请求一个与 GET 请求的响应相同的响应,但没有响应体。
headers() - 类中的方法 cool.scx.http_client.ScxHttpClientResponse
 
HexUtils - cool.scx.util中的类
HexUtils class.
HexUtils() - 类的构造器 cool.scx.util.HexUtils
 
HH_mm_ss - 类中的静态变量 cool.scx.constant.ScxDateTimeFormatter
HH:mm:ss 精确到秒, 例 : "13:02:35"
HH_mm_ss_SSS - 类中的静态变量 cool.scx.constant.ScxDateTimeFormatter
HH:mm:ss.SSS 精确到毫秒, 例 : "13:02:35.167"
HTTP_VERSION_NOT_SUPPORTED - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
服务器不支持请求中使用的 HTTP 版本。
HttpMethod - cool.scx.enumeration中的Enum Class
HttpMethod class.
HttpResponseStatus - cool.scx.enumeration中的Enum Class
规定一些常见的 http 相应状态

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" }
includeRoot() - 类中的方法 cool.scx.util.zip.ZipOptions
 
indexOf(byte[], byte[]) - 类中的静态方法 cool.scx.util.ArrayUtils
indexOf 数组版本
indexOf(Object[], Object[]) - 类中的静态方法 cool.scx.util.ArrayUtils
 
initEncoder(FormData, HttpRequest) - 类中的静态方法 cool.scx.http_client.body.form_data.FormDataHelper
创建编码器
INTERNAL_SERVER_ERROR - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
服务器遇到了不知道如何处理的情况。
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 或为空字符串 ("")
isEnum(Class<?>) - 类中的静态方法 cool.scx.util.reflect.ClassUtils
 
isInstantiableClass(Class<?>) - 类中的静态方法 cool.scx.util.reflect.ClassUtils
如果类的构造函数是私有的 我们便假设此类不想让我们进行实例化
isJar(Path) - 类中的静态方法 cool.scx.util.reflect.ClassUtils
isJar.
isNormalClass(Class<?>) - 类中的静态方法 cool.scx.util.reflect.ClassUtils
a
isRoot() - 接口中的方法 cool.scx.util.tree.ScxTreeModel
是否为根节点
ITALIC - enum class 中的枚举常量 cool.scx.util.ansi.AnsiStyle
斜体
items() - 类中的方法 cool.scx.http_client.body.FormData
 
items() - 类中的方法 cool.scx.util.zip.ZipBuilder
 
iterator() - 类中的方法 cool.scx.http_client.body.form_data.FormDataIterable
 

J

join(String...) - 类中的静态方法 cool.scx.util.URIBuilder
拼接多个 uri 并进行一些简单的清理 例 : 处理前 ["a/b/", "/c"] 处理后 "a/b/c"
join(Collection<String>) - 类中的静态方法 cool.scx.util.URIBuilder
a
JPG - enum class 中的枚举常量 cool.scx.enumeration.RawType
 
JsonBody - cool.scx.http_client.body中的类
a
JsonBody(Object) - 类的构造器 cool.scx.http_client.body.JsonBody
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

LENGTH_REQUIRED - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
服务端拒绝该请求因为 Content-Length 头部字段未定义但是服务端需要它。
level() - 类中的方法 cool.scx.util.zip.ZipOptions
 
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.
method(HttpMethod) - 类中的方法 cool.scx.http_client.ScxHttpClientRequest
 
method(String) - 类中的方法 cool.scx.http_client.ScxHttpClientRequest
 
METHOD_NOT_ALLOWED - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
服务器知道请求方法,但目标资源不支持该方法。
MethodUtils - cool.scx.util.reflect中的类
 
MethodUtils() - 类的构造器 cool.scx.util.reflect.MethodUtils
 
mimeType() - enum class中的方法 cool.scx.enumeration.RawType
mimeType.
MISDIRECTED_REQUEST - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
请求被定向到无法生成响应的服务器。
move(Path, Path, CopyOption...) - 类中的静态方法 cool.scx.util.FileUtils
本质上就是调用 Files.move(Path, Path, CopyOption...) ,但是在之前会创建不存在的父目录
MOVED_PERMANENTLY - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
请求资源的 URL 已永久更改。
MP3 - enum class 中的枚举常量 cool.scx.enumeration.RawType
 
MP4 - enum class 中的枚举常量 cool.scx.enumeration.RawType
 
MultiMap<K,V> - cool.scx.util中的类
a
MultiMap() - 类的构造器 cool.scx.util.MultiMap
 
MULTIPLE_CHOICES - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
请求拥有多个可能的响应。

N

name() - 类中的方法 cool.scx.http_client.body.form_data.FormDataItem
 
NetUtils - cool.scx.util中的类
基本网络操作工具类
NetUtils() - 类的构造器 cool.scx.util.NetUtils
 
NetUtils.IPAddress - cool.scx.util中的Record Class
IP 地址包装类
NO_CONTENT - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
对于该请求没有的内容可发送,但头部字段可能有用。
noException(ScxRunnable<?>) - 类中的静态方法 cool.scx.util.ScxExceptionHelper
执行的操作是否有异常 (有异常时不打印信息)
NON_AUTHORITATIVE_INFORMATION - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
服务器已成功处理了请求,但返回的实体头部元信息不是在原始服务器上有效的确定集合,而是来自本地或者第三方的拷贝。
NORMAL - enum class 中的枚举常量 cool.scx.util.ansi.AnsiStyle
标准
normalize(String) - 类中的静态方法 cool.scx.util.URIBuilder
将 \ 分割的全部转换为 / 并清除多余的 /
NOT_ACCEPTABLE - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
当 web 服务器在执行服务端驱动型内容协商机制后,没有发现任何符合用户代理给定标准的内容时,就会发送此响应。
NOT_FOUND - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
服务器找不到请求的资源。
NOT_IMPLEMENTED - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
服务器不支持请求方法,因此无法处理。
NOT_MODIFIED - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
这是用于缓存的目的。
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() - 接口中的静态方法 cool.scx.util.zip.zip_data_source.ZipDataSource
 
of(byte[]) - 接口中的静态方法 cool.scx.util.zip.zip_data_source.ZipDataSource
 
of(int) - enum class中的静态方法 cool.scx.enumeration.HttpResponseStatus
 
of(InputStream) - 接口中的静态方法 cool.scx.util.zip.zip_data_source.ZipDataSource
 
of(String) - 类中的静态方法 cool.scx.util.URIBuilder
a
of(URI) - 类中的静态方法 cool.scx.util.URIBuilder
a
of(Path) - 接口中的静态方法 cool.scx.util.zip.zip_data_source.ZipDataSource
 
of(Supplier<byte[]>) - 接口中的静态方法 cool.scx.util.zip.zip_data_source.ZipDataSource
 
of(ZipEntry, ZipFile) - 接口中的静态方法 cool.scx.util.zip.zip_data_source.ZipDataSource
 
OK - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
请求成功。
OPTIONS - enum class 中的枚举常量 cool.scx.enumeration.HttpMethod
OPTIONS 方法用于描述目标资源的通信选项。
out() - 类中的静态方法 cool.scx.util.ansi.Ansi
out.

P

parent() - 接口中的方法 cool.scx.util.tree.ScxTree
获取 父节点
parentID() - 接口中的方法 cool.scx.util.tree.ScxTreeModel
父节点 ID
PARTIAL_CONTENT - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
当从客户端发送Range范围标头以只请求资源的一部分时,将使用此响应代码。
PASCAL_CASE - enum class 中的枚举常量 cool.scx.util.case_impl.CaseType
匈牙利命名法 GetNameByAge
PATCH - enum class 中的枚举常量 cool.scx.enumeration.HttpMethod
PATCH 方法用于对资源应用部分修改。
PathZipBuilderItem - cool.scx.util.zip.zip_builder_item中的类
 
PathZipBuilderItem(String, Path, ZipOptions) - 类的构造器 cool.scx.util.zip.zip_builder_item.PathZipBuilderItem
 
PAYMENT_REQUIRED - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
此响应代码保留供将来使用。
PERMANENT_REDIRECT - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
这意味着资源现在永久位于由Location: HTTP Response 标头指定的另一个 URI。
PNG - enum class 中的枚举常量 cool.scx.enumeration.RawType
 
post(String, ScxHttpClientRequestBody) - 类中的静态方法 cool.scx.http_client.ScxHttpClientHelper
 
POST - enum class 中的枚举常量 cool.scx.enumeration.HttpMethod
POST 方法用于将实体提交到指定的资源,通常导致在服务器上的状态变化或副作用。
postAsync(String, ScxHttpClientRequestBody) - 类中的静态方法 cool.scx.http_client.ScxHttpClientHelper
 
PPT - enum class 中的枚举常量 cool.scx.enumeration.RawType
 
PPTX - enum class 中的枚举常量 cool.scx.enumeration.RawType
 
PRECONDITION_FAILED - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
客户端在其头文件中指出了服务器不满足的先决条件。
print() - 类中的方法 cool.scx.util.ansi.Ansi
print.
print(boolean) - 类中的方法 cool.scx.util.ansi.Ansi
 
println() - 类中的方法 cool.scx.util.ansi.Ansi
println.
println(boolean) - 类中的方法 cool.scx.util.ansi.Ansi
 
PROXY_AUTHENTICATION_REQUIRED - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
类似于 401 Unauthorized 但是认证需要由代理完成。
put(String) - 类中的方法 cool.scx.util.zip.ZipBuilder
put.
put(String, byte[]) - 类中的方法 cool.scx.util.zip.ZipBuilder
put.
put(String, ScxHttpClientRequestBody) - 类中的静态方法 cool.scx.http_client.ScxHttpClientHelper
 
put(String, InputStream) - 类中的方法 cool.scx.util.zip.ZipBuilder
put.
put(String, Path, ZipOptions) - 类中的方法 cool.scx.util.zip.ZipBuilder
put.
put(String, Supplier<byte[]>) - 类中的方法 cool.scx.util.zip.ZipBuilder
put.
put(Path) - 类中的方法 cool.scx.util.zip.ZipBuilder
 
put(Path, ZipOptions) - 类中的方法 cool.scx.util.zip.ZipBuilder
put.
put(K, V) - 类中的方法 cool.scx.util.MultiMap
a
PUT - enum class 中的枚举常量 cool.scx.enumeration.HttpMethod
PUT 方法用有效载荷请求替换目标资源的所有当前表示。
putAll(K, List<? extends V>) - 类中的方法 cool.scx.util.MultiMap
a
putAsync(String, ScxHttpClientRequestBody) - 类中的静态方法 cool.scx.http_client.ScxHttpClientHelper
 

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
RANGE_NOT_SATISFIABLE - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
无法满足请求中 Range 标头字段指定的范围。
RawType - cool.scx.enumeration中的Enum Class
RawType class.
readLine() - 类中的静态方法 cool.scx.util.ConsoleUtils
readLine.
reasonPhrase() - enum class中的方法 cool.scx.enumeration.HttpResponseStatus
 
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.http_client.body.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) 无法添加分隔符的功能
request() - 类中的方法 cool.scx.http_client.ScxHttpClientResponse
 
request(ScxHttpClientRequest) - 类中的方法 cool.scx.http_client.ScxHttpClient
 
request(ScxHttpClientRequest) - 类中的静态方法 cool.scx.http_client.ScxHttpClientHelper
 
REQUEST_HEADER_FIELDS_TOO_LARGE - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
表示由于请求中的首部字段的值过大,服务器拒绝接受客户端的请求。
REQUEST_TIMEOUT - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
此响应由一些服务器在空闲连接上发送,即使客户端之前没有任何请求。
requestAsync(ScxHttpClientRequest) - 类中的方法 cool.scx.http_client.ScxHttpClient
 
requestAsync(ScxHttpClientRequest) - 类中的静态方法 cool.scx.http_client.ScxHttpClientHelper
 
reset(String) - 类中的静态方法 cool.scx.util.StopWatch
a
RESET_CONTENT - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
告诉用户代理重置发送此请求的文档。
run() - 接口中的方法 cool.scx.functional.ScxRunnable
run.

S

ScxConsumer<T,E extends Exception> - cool.scx.functional中的接口
支持显式抛出异常的 Consumer.
ScxDateTimeFormatter - cool.scx.constant中的类
所有常量
ScxDateTimeFormatter() - 类的构造器 cool.scx.constant.ScxDateTimeFormatter
 
ScxExceptionHelper - cool.scx.util中的类
a
ScxExceptionHelper() - 类的构造器 cool.scx.util.ScxExceptionHelper
 
ScxExceptionHelper.ScxWrappedRuntimeException - cool.scx.util中的异常错误
a
ScxFunction<T,R,E extends Exception> - cool.scx.functional中的接口
支持显式抛出异常的 Function.
ScxHttpClient - cool.scx.http_client中的类
 
ScxHttpClient() - 类的构造器 cool.scx.http_client.ScxHttpClient
 
ScxHttpClient(ScxHttpClientOptions) - 类的构造器 cool.scx.http_client.ScxHttpClient
 
ScxHttpClient(HttpClient.Builder) - 类的构造器 cool.scx.http_client.ScxHttpClient
 
ScxHttpClientHelper - cool.scx.http_client中的类
 
ScxHttpClientHelper() - 类的构造器 cool.scx.http_client.ScxHttpClientHelper
 
ScxHttpClientOptions - cool.scx.http_client中的类
 
ScxHttpClientOptions() - 类的构造器 cool.scx.http_client.ScxHttpClientOptions
 
ScxHttpClientRequest - cool.scx.http_client中的类
 
ScxHttpClientRequest() - 类的构造器 cool.scx.http_client.ScxHttpClientRequest
 
ScxHttpClientRequestBody - cool.scx.http_client中的接口
 
ScxHttpClientResponse - cool.scx.http_client中的类
 
ScxHttpClientResponse(HttpResponse<byte[]>) - 类的构造器 cool.scx.http_client.ScxHttpClientResponse
 
ScxHttpClientResponseBody - cool.scx.http_client中的类
 
ScxHttpClientResponseBody(byte[]) - 类的构造器 cool.scx.http_client.ScxHttpClientResponseBody
 
ScxHttpClientWebSocket - cool.scx.http_client中的接口
 
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
SEE_OTHER - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
服务器发送此响应,以指示客户端通过一个 GET 请求在另一个 URI 中获取所请求的资源。
SERVICE_UNAVAILABLE - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
服务器没有准备好处理请求。
setCharset(Charset) - 类中的方法 cool.scx.util.zip.ZipOptions
 
setComment(String) - 类中的方法 cool.scx.util.zip.ZipOptions
 
setHeader(String, String) - 类中的方法 cool.scx.http_client.ScxHttpClientRequest
 
setIncludeRoot(boolean) - 类中的方法 cool.scx.util.zip.ZipOptions
 
setLevel(int) - 类中的方法 cool.scx.util.zip.ZipOptions
 
setUseOriginalFileName(boolean) - 类中的方法 cool.scx.util.zip.ZipOptions
 
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
sslSession() - 类中的方法 cool.scx.http_client.ScxHttpClientResponse
 
start() - 类中的静态方法 cool.scx.util.StopWatch
创建随机名称
start(String) - 类中的静态方法 cool.scx.util.StopWatch
启动计时器
startsWithIgnoreCase(String, String) - 类中的静态方法 cool.scx.util.StringUtils
 
statusCode() - enum class中的方法 cool.scx.enumeration.HttpResponseStatus
 
statusCode() - 类中的方法 cool.scx.http_client.ScxHttpClientResponse
 
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
 
StringBody - cool.scx.http_client.body中的类
a
StringBody(String) - 类的构造器 cool.scx.http_client.body.StringBody
a
StringUtils - cool.scx.util中的类
String工具类
StringUtils() - 类的构造器 cool.scx.util.StringUtils
 
SWITCHING_PROTOCOLS - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
该代码是响应客户端的 Upgrade (en-US) 请求头发送的,指明服务器即将切换的协议。

T

TEMPORARY_REDIRECT - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
服务器发送此响应,以指示客户端使用在前一个请求中使用的相同方法在另一个 URI 上获取所请求的资源。
textMessageHandler(ScxConsumer<String, ?>) - 接口中的方法 cool.scx.http_client.ScxHttpClientWebSocket
 
timeout(Duration) - 类中的方法 cool.scx.http_client.ScxHttpClientRequest
 
toBytes() - 类中的方法 cool.scx.http_client.ScxHttpClientResponseBody
 
toBytes() - 类中的方法 cool.scx.util.zip.GunzipBuilder
 
toBytes() - 类中的方法 cool.scx.util.zip.GzipBuilder
 
toBytes() - 类中的方法 cool.scx.util.zip.ZipBuilder
将 virtualFile 转换为 byte 数组 方便前台用户下载使用
toBytes(ZipOptions) - 类中的方法 cool.scx.util.zip.ZipBuilder
 
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(Path) - 类中的方法 cool.scx.util.zip.GzipBuilder
 
toFile(Path) - 类中的方法 cool.scx.util.zip.UnZipBuilder
 
toFile(Path) - 类中的方法 cool.scx.util.zip.ZipBuilder
 
toFile(Path, ZipOptions) - 类中的方法 cool.scx.util.zip.UnZipBuilder
解压
toFile(Path, ZipOptions) - 类中的方法 cool.scx.util.zip.ZipBuilder
将一个虚拟文件压缩
toFile(Path, OpenOption...) - 类中的方法 cool.scx.http_client.ScxHttpClientResponseBody
 
toHex(byte[]) - 类中的静态方法 cool.scx.util.HexUtils
字节数组转十六进制
toHttpClientBuilder() - 类中的方法 cool.scx.http_client.ScxHttpClientOptions
 
toInputStream() - 接口中的方法 cool.scx.util.zip.zip_data_source.ZipDataSource
 
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
toLongArray(int[]) - 类中的静态方法 cool.scx.util.ArrayUtils
 
toMultiValueMap() - 类中的方法 cool.scx.util.MultiMap
转为 map
TOO_MANY_REQUESTS - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
表示在一定的时间内用户发送了太多的请求,即超出了“频次限制”。
toObjectArray(Object) - 类中的静态方法 cool.scx.util.ObjectUtils
a
toPascal(String) - 类中的静态方法 cool.scx.util.CaseUtils
转换为匈牙利命名法 GetNameByAge
toPascal(String, CaseType) - 类中的静态方法 cool.scx.util.CaseUtils
转换为匈牙利命名法 GetNameByAge
toPrimitive(Byte[]) - 类中的静态方法 cool.scx.util.ArrayUtils
 
toPrimitive(Long[]) - 类中的静态方法 cool.scx.util.ArrayUtils
 
toPrimitive(List<Long>) - 类中的静态方法 cool.scx.util.ArrayUtils
 
toSingleValueMap() - 类中的方法 cool.scx.util.MultiMap
 
toSnake(String) - 类中的静态方法 cool.scx.util.CaseUtils
转换为蛇形命名法 get_name_by_age
toSnake(String, CaseType) - 类中的静态方法 cool.scx.util.CaseUtils
转换为蛇形命名法 get_name_by_age
toString() - 类中的方法 cool.scx.http_client.ScxHttpClientResponseBody
 
toString() - 类中的方法 cool.scx.util.ansi.Ansi
 
toString() - record class中的方法 cool.scx.util.NetUtils.IPAddress
将所有的 ipv4 和 ipv6 地址转换为字符串 ipv4 在前, ipv6 在后, (一般用于打印或日志记录使用)
toString() - 类中的方法 cool.scx.util.URIBuilder
toString(boolean) - 类中的方法 cool.scx.util.ansi.Ansi
 
toString(Charset) - 类中的方法 cool.scx.http_client.ScxHttpClientResponseBody
 
toWrapper(byte[]) - 类中的静态方法 cool.scx.util.ArrayUtils
 
toXml(Object, ObjectUtils.Option...) - 类中的静态方法 cool.scx.util.ObjectUtils
a
toXml(Object, String, ObjectUtils.Option...) - 类中的静态方法 cool.scx.util.ObjectUtils
将对象转 xml 底层调用 XML_MAPPER.writeValueAsString() 所以会忽略 JsonIgnore 注解 同时如果转换失败则在其内部消化异常 (打印) 并返回 ""
TRACE - enum class 中的枚举常量 cool.scx.enumeration.HttpMethod
TRACE 方法沿着到目标资源的路径执行一个消息环回测试。
trimSlash(String) - 类中的静态方法 cool.scx.util.URIBuilder
移除两端的 "/" 或 "\" 注意不要和 String.trim() 混淆 此方法不处理空格 只处理斜杠
trimSlashEnd(String) - 类中的静态方法 cool.scx.util.URIBuilder
a
trimSlashStart(String) - 类中的静态方法 cool.scx.util.URIBuilder
trimSlashStart.
TXT - enum class 中的枚举常量 cool.scx.enumeration.RawType
文本类型
type() - 类中的方法 cool.scx.http_client.body.form_data.FormDataItem
 

U

UNAUTHORIZED - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
虽然 HTTP 标准指定了"unauthorized",但从语义上来说,这个响应意味着"unauthenticated"。
UNDERLINE - enum class 中的枚举常量 cool.scx.util.ansi.AnsiStyle
下划线
UNPROCESSABLE_CONTENT - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
请求格式正确,但由于语义错误而无法遵循。
UNSUPPORTED_MEDIA_TYPE - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
服务器不支持请求数据的媒体格式,因此服务器拒绝请求。
UnZipBuilder - cool.scx.util.zip中的类
UnZipBuilder class.
UnZipBuilder(byte[]) - 类的构造器 cool.scx.util.zip.UnZipBuilder
 
UnZipBuilder(ZipDataSource) - 类的构造器 cool.scx.util.zip.UnZipBuilder
 
UnZipBuilder(InputStream) - 类的构造器 cool.scx.util.zip.UnZipBuilder
 
UnZipBuilder(Path) - 类的构造器 cool.scx.util.zip.UnZipBuilder
 
UnZipBuilder(Supplier<byte[]>) - 类的构造器 cool.scx.util.zip.UnZipBuilder
 
UPGRADE_REQUIRED - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
服务器拒绝使用当前协议执行请求,但在客户端升级到其他协议后可能愿意这样做。
uri() - 类中的方法 cool.scx.http_client.ScxHttpClientResponse
 
uri(String) - 类中的方法 cool.scx.http_client.ScxHttpClientRequest
 
uri(URI) - 类中的方法 cool.scx.http_client.ScxHttpClientRequest
 
URI_TOO_LONG - enum class 中的枚举常量 cool.scx.enumeration.HttpResponseStatus
客户端请求的 URI 比服务器愿意接收的长度长。
URIBuilder - cool.scx.util中的类
a
useOriginalFileName() - 类中的方法 cool.scx.util.zip.ZipOptions
 

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.enumeration.HttpMethod
Returns the enum constant of this class with the specified name.
valueOf(String) - enum class中的静态方法 cool.scx.enumeration.HttpResponseStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - enum class中的静态方法 cool.scx.enumeration.RawType
Returns the enum constant of this class with the specified name.
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.
values() - enum class中的静态方法 cool.scx.enumeration.HttpMethod
Returns an array containing the constants of this enum class, in the order they are declared.
values() - enum class中的静态方法 cool.scx.enumeration.HttpResponseStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - enum class中的静态方法 cool.scx.enumeration.RawType
Returns an array containing the constants of this enum class, in the order they are declared.
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.
version() - 类中的方法 cool.scx.http_client.ScxHttpClientOptions
 
version() - 类中的方法 cool.scx.http_client.ScxHttpClientResponse
 
version(HttpClient.Version) - 类中的方法 cool.scx.http_client.ScxHttpClientOptions
 
vertxMethod() - enum class中的方法 cool.scx.enumeration.HttpMethod
对应的 vertx 的 HttpMethod, 方便在 vertx 应用中直接使用 .

W

walk(T, ScxTreeVisitor<T>) - 类中的静态方法 cool.scx.util.tree.ScxTreeUtils
walk.
walk1(T, ScxTreeVisitor<T>) - 类中的静态方法 cool.scx.util.tree.ScxTreeUtils
walk 的另一种写法 稍慢于 walk (必须实现 ScxTree.parent())
webSocket() - 类中的方法 cool.scx.http_client.ScxHttpClient
 
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(Path, byte[], OpenOption...) - 类中的静态方法 cool.scx.util.FileUtils
本质上就是调用 Files.write(Path, byte[], OpenOption...) ,但是在之前会创建不存在的父目录
writeToOutputStream(OutputStream) - 接口中的方法 cool.scx.util.zip.zip_data_source.ZipDataSource
 
writeToZipOutputStream(ZipOutputStream) - 类中的方法 cool.scx.util.zip.zip_builder_item.PathZipBuilderItem
 
writeToZipOutputStream(ZipOutputStream) - 类中的方法 cool.scx.util.zip.ZipBuilder
writeToZipOutputStream.
writeToZipOutputStream(ZipOutputStream) - 类中的方法 cool.scx.util.zip.ZipBuilderItem
 

X

XLS - enum class 中的枚举常量 cool.scx.enumeration.RawType
 
XLSX - enum class 中的枚举常量 cool.scx.enumeration.RawType
 
XML - enum class 中的枚举常量 cool.scx.enumeration.RawType
 
XmlBody - cool.scx.http_client.body中的类
a
XmlBody(Object) - 类的构造器 cool.scx.http_client.body.XmlBody
a
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
黄色
yyyy_MM_dd - 类中的静态变量 cool.scx.constant.ScxDateTimeFormatter
yyyy-MM-dd 精确到天, 例 : "2023-05-09"
yyyy_MM_dd_HH_mm_ss - 类中的静态变量 cool.scx.constant.ScxDateTimeFormatter
yyyy-MM-dd HH:mm:ss 精确到秒, 例 : "2023-05-09 13:02:35"
yyyy_MM_dd_HH_mm_ss_SSS - 类中的静态变量 cool.scx.constant.ScxDateTimeFormatter
yyyy-MM-dd HH:mm:ss.SSS 精确到毫秒, 例 : "2023-05-09 13:02:35.167"

Z

ZIP - enum class 中的枚举常量 cool.scx.enumeration.RawType
 
ZipBuilder - cool.scx.util.zip中的类
简化 zip 的创建
ZipBuilder() - 类的构造器 cool.scx.util.zip.ZipBuilder
Constructor for ZipBuilder.
ZipBuilder(Path) - 类的构造器 cool.scx.util.zip.ZipBuilder
 
ZipBuilder(Path, ZipOptions) - 类的构造器 cool.scx.util.zip.ZipBuilder
Constructor for ZipBuilder.
ZipBuilder(ZipFile) - 类的构造器 cool.scx.util.zip.ZipBuilder
 
ZipBuilderItem - cool.scx.util.zip中的类
a
ZipBuilderItem(String, ZipDataSource) - 类的构造器 cool.scx.util.zip.ZipBuilderItem
Constructor for ZipBuilderItem.
zipDataSource - 类中的变量 cool.scx.util.zip.ZipBuilderItem
 
zipDataSource() - 类中的方法 cool.scx.util.zip.ZipBuilderItem
 
ZipDataSource - cool.scx.util.zip.zip_data_source中的接口
可以将其想象成一个 BytesSupplier ,主要用来规范多种类型的数据来源 如文件 字节数组等
ZipOptions - cool.scx.util.zip中的类
a
ZipOptions() - 类的构造器 cool.scx.util.zip.ZipOptions
 
zipPath - 类中的变量 cool.scx.util.zip.ZipBuilderItem
经过处理后必须为 "" 或者 结尾是 "/", 开头不允许有 "/"
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|所有程序包|序列化表格