Package eu.webtoolkit.jwt
Class StringUtils
java.lang.Object
eu.webtoolkit.jwt.StringUtils
public class StringUtils
extends java.lang.Object
String utility class.
-
Constructor Summary
Constructors Constructor Description StringUtils()
-
Method Summary
Modifier and Type Method Description static java.lang.String
append(java.lang.String s, char c)
static double
asNumber(java.lang.Object data)
Convert an object to a double.static WString
asString(java.lang.Object data)
Convert an object to aWString
.static WString
asString(java.lang.Object data, java.lang.String format)
Convert an object to aWString
.static int
findFirstOf(java.lang.String text, java.lang.String chars, int pos)
static java.lang.String
prepend(java.lang.String s, char c)
static java.lang.String
put(java.lang.String s, int pos, char c)
static java.lang.String
replace(java.lang.String s, char c, java.lang.String r)
static java.lang.String
replace(java.lang.String s, java.lang.String c, java.lang.String r)
static java.lang.String
replaceAll(java.lang.String str, java.lang.String pattern, java.lang.String replace)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
StringUtils
public StringUtils()
-
-
Method Details
-
asString
Convert an object to aWString
. -
asString
-
asNumber
public static double asNumber(java.lang.Object data)Convert an object to a double. -
replaceAll
public static java.lang.String replaceAll(java.lang.String str, java.lang.String pattern, java.lang.String replace) -
put
public static java.lang.String put(java.lang.String s, int pos, char c) -
replace
public static java.lang.String replace(java.lang.String s, char c, java.lang.String r) -
replace
public static java.lang.String replace(java.lang.String s, java.lang.String c, java.lang.String r) -
findFirstOf
public static int findFirstOf(java.lang.String text, java.lang.String chars, int pos) -
append
public static java.lang.String append(java.lang.String s, char c) -
prepend
public static java.lang.String prepend(java.lang.String s, char c)
-