public class Formatter
Java implementation to format a string. This function just provides a platform specific sprintf() implementation.
| Constructor and Description |
|---|
Formatter()
Java implementation to format a string. This function just provides a platform specific
sprintf() implementation. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(java.lang.String locale,
java.lang.String format,
java.lang.Object args)
Uses the provided format as a format string and returns a string obtained by substituting the specified arguments,
using the locale of the environment.
|
public Formatter()
Java implementation to format a string. This function just provides a platform specific sprintf() implementation.
public java.lang.String format(java.lang.String locale,
java.lang.String format,
java.lang.Object args)
Uses the provided format as a format string and returns a string obtained by substituting the specified arguments, using the locale of the environment.
format - The string to formatargs - The arguments you want to apply.