Methods
Modifier and Type |
Method and Description |
static boolean |
compareMultipleOptions(String answer,
String check,
boolean checkCase) |
static boolean |
compareObjects(Object o1,
Object o2) |
static boolean |
compareStringsIgnoreCase(String s1,
String s2) |
static boolean |
compareTrimStringsIgnoreCase(Object s1,
Object s2) |
static int |
countSpaces(String tx) |
static byte[] |
extractByteSeq(byte[] data,
int line,
byte searchFor,
byte changeTo) |
static int |
getAbsIntValueOf(String s) |
static String |
getEnumeration(String[] array) |
static int |
getIndexOf(String val,
String[] ops) |
static String |
getShortExpression(String text,
int maxLen) |
static String |
limitStrLen(String text,
int maxLen) |
static String |
nullableString(Object o) |
static String |
replace(String str,
String pattern,
String replace) |
static String |
replace(String str,
String pattern,
String[] replace) |
static int |
roundTo(double v,
int n) |
static String |
safeHtml(String s) |
static String |
secureSQLString(String data) |
static String |
secureString(Object data) |
static String |
secureString(Object data,
String defaultValue) |
static void |
strToDimension(String str,
Dimension d) |
static void |
strToIntArray(String str,
int[] intArray) |
static void |
strToPoint(String str,
Point pt) |
static void |
strToRect(String str,
Rectangle r) |
static String[] |
strToStrArray(String source,
String separator) |
static String[] |
strToStrArrayNoNulls(String source,
String separator) |
static String |
trimEnding(String str) |