Package org.apache.commons.lang.text
Interface FormatFactory
-
public interface FormatFactoryFormat factory.- Since:
- 2.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.text.FormatgetFormat(java.lang.String name, java.lang.String arguments, java.util.Locale locale)Create or retrieve a format instance.
-
-
-
Method Detail
-
getFormat
java.text.Format getFormat(java.lang.String name, java.lang.String arguments, java.util.Locale locale)Create or retrieve a format instance.- Parameters:
name- The format type namearguments- Arguments used to create the format instance. This allows theFormatFactoryto implement the "format style" concept fromjava.text.MessageFormat.locale- The locale, may be null- Returns:
- The format instance
-
-