FormatFactory (Apache Commons Text 1.11.0 API)
Description: declaration: package: org.apache.commons.text, interface: FormatFactory

Package org.apache.commons.text

# Interface FormatFactory

Functional Interface:
  This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface FormatFactory
Format factory.

Since:
  1.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Format`
  `getFormat(String name, String arguments, Locale locale)`
  Gets or creates a format instance.

- ## Method Details

  - ### getFormat

    Format getFormat(String name, String arguments, Locale locale)
    Gets or creates 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