| java.lang.Object org.netbeans.modules.wsdlextensions.jms.validator.Str
Str | public class Str (Code) | | Provides for easy string formatting
|
Method Summary | |
public static String | concat(Object[] strs, String delim) Concatenates string components
Parameters: strs - components Parameters: delim - delimeter, e.g. | public static void | deserializeProperties(String s, Properties toAdd) Parses the specified properties and merges them into the
specified properties set. | public static boolean | empty(String s) | public static int | hash(int seed, Object o) | public static int | hash(int seed, boolean o) | public boolean | isEmpty(String s) | public static boolean | isEqual(String a, String b) | public static String | msg(String msg, Object[] args) | public static String | msg(String msg) | public static String | msg(String msg, Object arg1) | public static String | msg(String msg, Object arg1, Object arg2) | public static String | msg(String msg, Object arg1, Object arg2, Object arg3) | public static String | msg(String msg, Object arg1, Object arg2, Object arg3, Object arg4) | public static String | msg(String msg, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5) | public static String | password(String inp) | public static String | serializeProperties(Properties p) |
concat | public static String concat(Object[] strs, String delim)(Code) | | Concatenates string components
Parameters: strs - components Parameters: delim - delimeter, e.g. ", " concatenated string |
deserializeProperties | public static void deserializeProperties(String s, Properties toAdd) throws ValidationException(Code) | | Parses the specified properties and merges them into the
specified properties set.
Parameters: s - serialized properties; may be empty Parameters: toAdd - properties set to merge into |
empty | public static boolean empty(String s)(Code) | | Returns true if the specified string is empty (null, "" or just spaces)
Parameters: s - String boolean true if empty |
hash | public static int hash(int seed, Object o)(Code) | | hash
Parameters: seed - int Parameters: o - Object int |
hash | public static int hash(int seed, boolean o)(Code) | | Hash tool
Parameters: seed - int Parameters: o - boolean int |
isEmpty | public boolean isEmpty(String s)(Code) | | Returns if a string is empty or null
Parameters: s - string to test true if null or empty |
isEqual | public static boolean isEqual(String a, String b)(Code) | | isEqual
Parameters: a - String Parameters: b - String boolean |
msg | public static String msg(String msg, Object[] args)(Code) | | Formats a msg
formatted string Parameters: msg - String Parameters: args - Object[] |
msg | public static String msg(String msg)(Code) | | Formats a msg
formatted string Parameters: msg - String |
msg | public static String msg(String msg, Object arg1)(Code) | | Formats a msg
formatted string Parameters: msg - String Parameters: arg1 - Object |
msg | public static String msg(String msg, Object arg1, Object arg2)(Code) | | Formats a msg
formatted string Parameters: msg - String Parameters: arg1 - Object Parameters: arg2 - Object |
msg | public static String msg(String msg, Object arg1, Object arg2, Object arg3)(Code) | | Formats a msg
formatted string Parameters: msg - String Parameters: arg1 - Object Parameters: arg2 - Object Parameters: arg3 - Object |
msg | public static String msg(String msg, Object arg1, Object arg2, Object arg3, Object arg4)(Code) | | Formats a msg
formatted string Parameters: msg - String Parameters: arg1 - Object Parameters: arg2 - Object Parameters: arg3 - Object Parameters: arg4 - Object |
msg | public static String msg(String msg, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5)(Code) | | Formats a msg
formatted string Parameters: msg - String Parameters: arg1 - Object Parameters: arg2 - Object Parameters: arg3 - Object Parameters: arg4 - Object Parameters: arg5 - Object |
password | public static String password(String inp)(Code) | | Converts a password to a string suitable to display in log files
Parameters: inp - password neutralized string |
|
|