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 Detail

      • getFormat

        java.text.Format getFormat​(java.lang.String name,
                                   java.lang.String arguments,
                                   java.util.Locale locale)
        Deprecated.
        Create or retrieve a format instance.
        Parameters:
        name - The format type name
        arguments - Arguments used to create the format instance. This allows the FormatFactory to implement the "format style" concept from java.text.MessageFormat.
        locale - The locale, may be null
        Returns:
        The format instance