|
a/tool/src/www/WebRequest.java |
|
b/tool/src/www/WebRequest.java |
|
... |
|
... |
179 |
* Changes the text on the template
|
179 |
* Changes the text on the template
|
180 |
* @param oldText original text with old value
|
180 |
* @param oldText original text with old value
|
181 |
* @param newText what we want to see as new value
|
181 |
* @param newText what we want to see as new value
|
182 |
*/
|
182 |
*/
|
183 |
public void changeTemplate(String oldText, String newText){
|
183 |
public void changeTemplate(String oldText, String newText){
|
184 |
templateText = templateText.replaceAll(oldText, newText);
|
184 |
templateText = templateText.replace(oldText, newText);
|
185 |
}
|
185 |
}
|
186 |
|
186 |
|
187 |
/**
|
187 |
/**
|
188 |
* Closes the request using the template text as source for reply
|
188 |
* Closes the request using the template text as source for reply
|
189 |
*/
|
189 |
*/
|