public final class CliUtils extends Object
Modifier and Type | Field and Description |
---|---|
static java.time.format.DateTimeFormatter |
TIME_FORMATTER |
Modifier and Type | Method and Description |
---|---|
static boolean |
createFile(Path filePath)
Create the file as well as the parent directory.
|
static List<org.jline.utils.AttributedString> |
formatTwoLineHelpOptions(int width,
List<Tuple2<String,String>> options) |
static void |
normalizeColumn(org.jline.utils.AttributedStringBuilder sb,
String col,
int maxWidth) |
static void |
repeatChar(org.jline.utils.AttributedStringBuilder sb,
char c,
int count) |
static String[] |
typesToString(DataType[] types) |
public static void repeatChar(org.jline.utils.AttributedStringBuilder sb, char c, int count)
public static void normalizeColumn(org.jline.utils.AttributedStringBuilder sb, String col, int maxWidth)
public static List<org.jline.utils.AttributedString> formatTwoLineHelpOptions(int width, List<Tuple2<String,String>> options)
public static boolean createFile(Path filePath)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.