| 接口 | 说明 |
|---|---|
| PlaceholderParser | |
| StringTemplateFormatter |
| 类 | 说明 |
|---|---|
| BeanBasedStyleStringFormatter | |
| CStyleStringFormatter |
%d
%s
|
| CustomPatternStringFormatter | |
| HttpQueryStringAccessor | |
| IndexStringFormatter |
pattern: {0},{1},{2},{3}
start index: 0
|
| MapBasedStringFormatter | |
| ParameterizedMessage |
参数化消息
使用方式:
new ParameterizedMessage("hello {0}, welcome you to {1} . ", new Object[]{"zhang san", "BeiJing"});
那么结果就是: "hello zhang san, welcome you to BeiJing ." |
| PlaceholderStringFormatter |
placeholder: {}
|
| PropertiesPlaceholderParser | |
| PropertyPlaceholderHandler |
Utility class for working with Strings that have placeholder values in them.
|
| StringTemplate | |
| StringTemplate.IndexBasedValueGetter | |
| StringTemplateFormatterChain | |
| StringTemplates | |
| StringTemplates.TemplateFluenter | |
| Words |
Operations on Strings that contain words.
|
Copyright © 2019. All rights reserved.