类 Formatter
- java.lang.Object
-
- cn.mcres.karlatemp.mxlib.formatter.Formatter
-
- 所有已实现的接口:
BiFunction<String,Replacer,String>
- 直接已知子类:
CmdFormatter
,DefaultFormatter
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)
abstract 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)
protected boolean
nullCheck(Locale l, String t, Replacer u)
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 java.util.function.BiFunction
andThen
-
-
-
-
方法详细资料
-
mapping
public static <K,V> MapMapping<K,V> mapping(Map<K,V> map)
-
-