|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.tireme.shared.StringUtils
public class StringUtils
Privates utilities
| Method Summary | |
|---|---|
java.util.List |
explode(java.lang.String text,
java.lang.String exploder)
Explode a string within a String List using an exploder |
static StringUtils |
getInstance()
|
java.lang.String |
replace(java.lang.String text,
java.lang.String tobe,
java.lang.String by)
Replace within a string a substring by an other one. |
java.lang.String |
strip(java.lang.String text,
java.lang.String stringToBeStripped)
Remove all occurences of a specific sub string i a string. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static StringUtils getInstance()
public java.util.List explode(java.lang.String text,
java.lang.String exploder)
text - Original string to explodeexploder - String acting to split the string
public java.lang.String replace(java.lang.String text,
java.lang.String tobe,
java.lang.String by)
text - string to be changetobe - text to be replacedby - replacement text
public java.lang.String strip(java.lang.String text,
java.lang.String stringToBeStripped)
text - string to be changestringToBeStripped - text to be removed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||