Package org.omnifaces.utils.text
Interface SubFormatterFactory
-
- All Superinterfaces:
BiFunction<String,Locale,SubFormatter>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SubFormatterFactory extends BiFunction<String,Locale,SubFormatter>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SubFormatter
apply(String modifier, Locale locale)
SubFormatter
createFormatter(String modifier, Locale locale)
static Map<String,SubFormatterFactory>
defaultFormatterFactories()
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
-
-
-
Method Detail
-
createFormatter
SubFormatter createFormatter(String modifier, Locale locale)
-
apply
default SubFormatter apply(String modifier, Locale locale)
- Specified by:
apply
in interfaceBiFunction<String,Locale,SubFormatter>
-
defaultFormatterFactories
static Map<String,SubFormatterFactory> defaultFormatterFactories()
-
-