|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ivata.mask.web.format.SearchReplaceFormat
Replace all occurrences of one string with another.
| Constructor Summary | |
SearchReplaceFormat()
|
|
| Method Summary | |
java.lang.String |
format(java.lang.String hTMLText)
Format the string given in hTMLText replacing all
occurrences of the string set by setSearch with the string
set by setReplace. |
java.lang.String |
getReplace()
Represents the string which will replace the searched for string. |
java.lang.String |
getSearch()
Represents the string which will be searched for. |
void |
setReplace(java.lang.String replaceParam)
Represents the string which will replace the searched for string. |
void |
setSearch(java.lang.String searchParam)
Represents the string which will be searched for. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SearchReplaceFormat()
| Method Detail |
public final java.lang.String format(java.lang.String hTMLText)
Format the string given in hTMLText replacing all
occurrences of the string set by setSearch with the string
set by setReplace.
format in interface HTMLFormathTMLText - the text to search and replace.
HTMLFormat.format(java.lang.String).public final java.lang.String getSearch()
Represents the string which will be searched for.
public final void setSearch(java.lang.String searchParam)
Represents the string which will be searched for.
searchParam - the new value of search.public final java.lang.String getReplace()
Represents the string which will replace the searched for string.
public final void setReplace(java.lang.String replaceParam)
Represents the string which will replace the searched for string.
replaceParam - the new value of replace.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||