Interface FormatFactory


  • public interface FormatFactory
    Format factory.
    Since:
    2.4
    Version:
    $Id: FormatFactory.java 1088899 2011-04-05 05:31:27Z bayard $
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.text.Format getFormat​(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 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