Package com.ibm.icu.message2
Class IdentityFormatterFactory
- java.lang.Object
-
- com.ibm.icu.message2.IdentityFormatterFactory
-
- All Implemented Interfaces:
FormatterFactory
class IdentityFormatterFactory extends java.lang.Object implements FormatterFactory
Creates aFormatter
that simply returns the String non-i18n aware representation of an object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
IdentityFormatterFactory.IdentityFormatterImpl
-
Constructor Summary
Constructors Constructor Description IdentityFormatterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Formatter
createFormatter(java.util.Locale locale, java.util.Map<java.lang.String,java.lang.Object> fixedOptions)
The method that is called to create a formatter.
-
-
-
Method Detail
-
createFormatter
public Formatter createFormatter(java.util.Locale locale, java.util.Map<java.lang.String,java.lang.Object> fixedOptions)
The method that is called to create a formatter.- Specified by:
createFormatter
in interfaceFormatterFactory
- Parameters:
locale
- the locale to use for formatting.fixedOptions
- the options to use for formatting. The keys and values are function dependent.- Returns:
- the formatter.
-
-