| 程序包 | 说明 |
|---|---|
| project.extension.console.dto | |
| project.extension.console.extension |
| 限定符和类型 | 方法和说明 |
|---|---|
static ConsoleFontStyle |
ConsoleFontStyle.toEnum(int index)
获取枚举
|
static ConsoleFontStyle |
ConsoleFontStyle.toEnum(String value)
获取枚举
|
static ConsoleFontStyle |
ConsoleFontStyle.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ConsoleFontStyle[] |
ConsoleFontStyle.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
ConsoleUtils.consoleWrite(String tip,
Object content,
ConsoleFontStyle tipStyle,
ConsoleFontColor tipColor,
ConsoleBackgroundColor tipBackgroundColor,
ConsoleFontStyle contentStyle,
ConsoleFontColor contentColor,
ConsoleBackgroundColor contentBackgroundColor,
boolean newLine,
int blankLine)
控制台输出内容
|
static CompletableFuture<Void> |
ConsoleUtils.consoleWriteAsync(String tip,
Object content,
ConsoleFontStyle tipStyle,
ConsoleFontColor tipColor,
ConsoleBackgroundColor tipBackgroundColor,
ConsoleFontStyle contentStyle,
ConsoleFontColor contentColor,
ConsoleBackgroundColor contentBackgroundColor,
boolean newLine,
int blankLine,
int delay)
控制台延时输出内容
|
static String |
ConsoleUtils.getEchoE(ConsoleFontStyle style,
ConsoleFontColor color,
ConsoleBackgroundColor backgroundColor)
获取终端回显ANSI转义序列
|
Copyright © 2023. All rights reserved.