org.apache.commons.lang.text

Interface FormatFactory

public interface FormatFactory

Format factory.

Since: 2.4

Version: $Id: FormatFactory.java 634088 2008-03-06 00:06:05Z niallp $

Author: Niall Pemberton

Method Summary
FormatgetFormat(String name, String arguments, Locale locale)
Create or retrieve a format instance.

Method Detail

getFormat

public Format getFormat(String name, String arguments, 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

Copyright © 2001-2010 - Apache Software Foundation