Package org.apache.commons.lang.text
Interface FormatFactory
-
@Deprecated(since="2021-04-30") public interface FormatFactory
Deprecated.Commons Lang 2 is in maintenance mode. Commons Lang 3 should be used instead.Format factory.- Since:
- 2.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Format
getFormat(String name, String arguments, Locale locale)
Deprecated.Create or retrieve a format instance.
-
-
-
Method Detail
-
getFormat
Format getFormat(String name, String arguments, Locale locale)
Deprecated.Create or retrieve a format instance.- Parameters:
name
- The format type namearguments
- Arguments used to create the format instance. This allows theFormatFactory
to implement the "format style" concept fromjava.text.MessageFormat
.locale
- The locale, may be null- Returns:
- The format instance
-
-