|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.tamino.db.api.common.TString
public class TString
TString is a collection of helpfull and repeating string manipulation tasks which are not covered by the JDK.
Constructor Summary | |
---|---|
TString()
|
Method Summary | |
---|---|
static boolean |
isEmpty(java.lang.String string)
Checks whether the given string is either null or empty. |
static boolean |
isNumber(java.lang.String string)
Checks whether the given string is a number (consists of digits). |
static java.lang.String |
replace(java.lang.String string,
java.lang.String what,
java.lang.String with)
Replaces in string 'string' the given sub-string 'what' with the contents of the string 'with'. |
static java.lang.String |
stringize(java.lang.String string)
"Stringizes" the given string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TString()
Method Detail |
---|
public static final java.lang.String stringize(java.lang.String string)
string
- string to stringize
public static final boolean isEmpty(java.lang.String string)
string
- to check
public static final boolean isNumber(java.lang.String string)
string
- to check
public static final java.lang.String replace(java.lang.String string, java.lang.String what, java.lang.String with)
string
- to replacewhat
- the search stringwith
- the replacement for what
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |