![JAR search and dependency download from the Maven repository](/logo.png)
humanize.text.FormatFactory Maven / Gradle / Ivy
The newest version!
package humanize.text;
import humanize.spi.MessageFormat;
import java.text.Format;
import java.util.Locale;
/**
* Format factory interface.
*
*/
public interface FormatFactory
{
/**
* Creates a {@link Format} instance for the given parameters. The format
* will be accessible as '{0, name, args}'.
*
* @param name
* The format name
* @param args
* The format arguments
* @param locale
* Target locale
* @return a new {@link Format} instance
* @see MessageFormat
*/
Format getFormat(String name, String args, Locale locale);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy