java.lang.Object
java.text.Format
org.omnifaces.utils.text.NameBasedMessageFormat
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.text.Format
Format.Field
-
Constructor Summary
ConstructorsConstructorDescriptionNameBasedMessageFormat
(String messagePattern) NameBasedMessageFormat
(String pattern, Locale locale) NameBasedMessageFormat
(String pattern, Locale locale, Map<String, SubFormatterFactory> subFormatterFactories) -
Method Summary
Modifier and TypeMethodDescriptionformat
(Object obj, StringBuffer toAppendTo, FieldPosition pos) static String
static String
static String
format
(String pattern, Map<? super String, ?> parameters, Locale locale, Map<String, SubFormatterFactory> formatterFactories) parseObject
(String source, ParsePosition pos) withLocale
(Locale locale) withPattern
(String pattern) Methods inherited from class java.text.Format
clone, format, formatToCharacterIterator, parseObject
-
Constructor Details
-
NameBasedMessageFormat
-
NameBasedMessageFormat
-
NameBasedMessageFormat
public NameBasedMessageFormat(String pattern, Locale locale, Map<String, SubFormatterFactory> subFormatterFactories)
-
-
Method Details
-
format
-
format
-
withLocale
-
withPattern
-
parseObject
- Specified by:
parseObject
in classFormat
-
getPattern
-
getSubFormatterFactories
-
getLocale
-
format
-
format
-
format
-