All Packages Class Hierarchy This Package Previous Next Index
Class com.trumphurst.utils.StringFormat
java.lang.Object
|
+----java.text.Format
|
+----java.text.MessageFormat
|
+----com.trumphurst.utils.StringFormat
- public class StringFormat
- extends MessageFormat
-
StringFormat(String[], String)
- Main constructor
-
applyPattern(String)
-
-
format(String, String[], Object[])
- Convenience routine.
StringFormat
public StringFormat(String names[],
String pattern)
- Main constructor
- Parameters:
- names - List of names of the arguments.
- pattern - The message pattern.
applyPattern
public void applyPattern(String newPattern)
- Overrides:
- applyPattern in class MessageFormat
format
public static String format(String pattern,
String names[],
Object arguments[])
- Convenience routine.
Avoids explicit creation of StringFormat,
but doesn't allow future optimizations.
All Packages Class Hierarchy This Package Previous Next Index