| Package | Description |
|---|---|
| org.dromara.hutool.core.lang.ansi |
命令行终端中ANSI 转义序列相关封装,如ANSI颜色等
|
| Modifier and Type | Method and Description |
|---|---|
Ansi4BitColor |
Ansi4BitBackgroundColor.asForeground()
获取背景色对应的前景色
|
static Ansi4BitColor |
Ansi4BitColor.of(int code)
根据code查找对应的Ansi4BitColor
|
static Ansi4BitColor |
Ansi4BitColor.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ansi4BitColor[] |
Ansi4BitColor.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2025. All rights reserved.