| 程序包 | 说明 |
|---|---|
| com.jn.langx.text | |
| com.jn.langx.text.stringtemplate |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
StringTemplates.formatWithMap(String template,
MapBasedStringFormatter.PatternStyle patternStyle,
Map<String,?> map)
format based on a map, the variable: ${key}
|
static Supplier<Object[],String> |
StringTemplates.mapStyleSupplier(String template,
MapBasedStringFormatter.PatternStyle patternStyle) |
| 限定符和类型 | 方法和说明 |
|---|---|
static MapBasedStringFormatter.PatternStyle |
MapBasedStringFormatter.PatternStyle.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static MapBasedStringFormatter.PatternStyle[] |
MapBasedStringFormatter.PatternStyle.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 构造器和说明 |
|---|
MapBasedStringFormatter(MapBasedStringFormatter.PatternStyle patternStyle) |
Copyright © 2021. All rights reserved.