oracle.jbo.format
Class FormatterFactory
java.lang.Object
oracle.jbo.format.FormatterFactory
public class FormatterFactory
- extends java.lang.Object
A singleton factory for formatters.
Method Summary |
static Formatter |
getFormatter(java.lang.String formatterClassName,
LocaleContext locale)
Returns the singleton formatter for the formatter class name that has been specified. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_INSTANCE
public static final java.lang.Class CLASS_INSTANCE
FormatterFactory
public FormatterFactory()
getFormatter
public static Formatter getFormatter(java.lang.String formatterClassName,
LocaleContext locale)
- Returns the singleton formatter for the formatter class name that has been specified. Please
note that formatters may be locale sensitive.
- Parameters:
formatterClassName
- the class name of the formatter.locale
- the locale for which this formatter will be used.
- Returns:
- a singleton formatter instance
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.