public class StringTemplateFormatterChain extends Object implements StringTemplateFormatter
| 构造器和说明 |
|---|
StringTemplateFormatterChain() |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> StringTemplateFormatterChain |
addBeanBasedFormatterAndParameters(T bean) |
StringTemplateFormatterChain |
addFormatterAndParameters(Pattern pattern,
Function2<String,Object[],String> valueGetter,
Object... args) |
StringTemplateFormatterChain |
addFormatterAndParameters(String variablePattern,
Function2<String,Object[],String> valueGetter,
Object... args) |
StringTemplateFormatterChain |
addFormatterAndParameters(StringTemplateFormatter formatter,
Object... args) |
StringTemplateFormatterChain |
addIndexedFormatterAndParameters(Object... args) |
StringTemplateFormatterChain |
addMapBasedFormatterAndParameters(Map<String,Object> map) |
StringTemplateFormatterChain |
addPlaceHolderFormatterAndParameters(Object... args) |
String |
format(String template,
Object... args) |
public StringTemplateFormatterChain addFormatterAndParameters(StringTemplateFormatter formatter, Object... args)
public StringTemplateFormatterChain addFormatterAndParameters(Pattern pattern, Function2<String,Object[],String> valueGetter, Object... args)
public StringTemplateFormatterChain addFormatterAndParameters(String variablePattern, Function2<String,Object[],String> valueGetter, Object... args)
public StringTemplateFormatterChain addIndexedFormatterAndParameters(Object... args)
public StringTemplateFormatterChain addPlaceHolderFormatterAndParameters(Object... args)
public <T> StringTemplateFormatterChain addBeanBasedFormatterAndParameters(T bean)
public StringTemplateFormatterChain addMapBasedFormatterAndParameters(Map<String,Object> map)
Copyright © 2021. All rights reserved.