public class FormatterFactory
extends java.lang.Object
| Constructor and Description |
|---|
FormatterFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Formatter |
createFormatter(java.lang.String formatterClassName, LocaleContext locale) |
static Formatter |
getFormatter(java.lang.String formatterClassName, LocaleContext locale)
Returns the singleton formatter for the formatter class name that has been specified.
|
public static Formatter getFormatter(java.lang.String formatterClassName, LocaleContext locale)
formatterClassName - the class name of the formatter.locale - the locale for which this formatter will be used.public static Formatter createFormatter(java.lang.String formatterClassName, LocaleContext locale)