- java.lang.Object
-
- cn.mcres.karlatemp.mxlib.formatter.Formatter
-
- 所有已实现的接口:
BiFunction<String,Replacer,String>
public abstract class Formatter extends Object implements BiFunction<String,Replacer,String>
-
-
构造器概要
构造器 构造器 说明 Formatter()
-
方法概要
修饰符和类型 方法 说明 String
apply(String t, Replacer u)
已过时。String
format(String t, Replacer u)
已过时。String
format(String t, Function<String,String> func)
已过时。String
format(Locale l, String t, Replacer u)
已过时。String
format(Locale l, String t, Function<String,String> func)
已过时。static <K,V>
MapMapping<K,V>mapping(Map<K,V> map)
abstract FormatTemplate
parse(@NotNull String template, @NotNull Replacer constants)
-
从接口继承的方法 java.util.function.BiFunction
andThen
-
-
-
-
方法详细资料
-
mapping
public static <K,V> MapMapping<K,V> mapping(Map<K,V> map)
-
format
@Deprecated public String format(Locale l, String t, Replacer u)
已过时。
-
format
@Deprecated public String format(String t, Replacer u)
已过时。
-
apply
@Deprecated public String apply(String t, Replacer u)
已过时。- 指定者:
apply
在接口中BiFunction<String,Replacer,String>
-
parse
public abstract FormatTemplate parse(@NotNull @NotNull String template, @NotNull @NotNull Replacer constants)
-
-