| java.lang.Object net.mygwt.ui.client.util.Format
Format | public class Format (Code) | | Formatting functions.
|
substitute | public static String substitute(String text, int param)(Code) | | Substitutes the indexed parameters.
Parameters: text - the text Parameters: param - the parameter the new text |
substitute | public static String substitute(String text, Map params)(Code) | | Substitutes the named parameters. The passed keys and values must be
Strings.
Parameters: text - the text Parameters: params - the parameters the new text |
substitute | public static String substitute(String text, String param)(Code) | | Substitutes the indexed parameters.
Parameters: text - the text Parameters: param - the parameter the new text |
substitute | public static String substitute(String text, String name, String value)(Code) | | Substitutes the named parameter.
Parameters: text - the text Parameters: name - the parameter name the parameter value |
substitute | public static String substitute(String text, String[] params)(Code) | | Substitutes the indexed parameters.
Parameters: text - the text Parameters: params - the parameters the new text |
substitute | public static String substitute(String text, String[] keys, Map params)(Code) | | Substitutes the named parameters. The passed keys and values must be
Strings.
Parameters: text - the text Parameters: keys - the parameter names Parameters: params - the parameter values the new text |
|
|