|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tm4j.vtl.helpers.URLEncoder
A utility for URL-encoding strings in Velocity templates.
e.g.
$urlencoder.get("http://example.com/foo and bar.html")
gives the output:
http://example.com/foo%20and%20bar.html
| Constructor Summary | |
URLEncoder()
|
|
| Method Summary | |
java.lang.String |
get(java.lang.String in)
|
void |
init(java.lang.Object arg0)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public URLEncoder()
| Method Detail |
public java.lang.String get(java.lang.String in)
public void init(java.lang.Object arg0)
init in interface org.apache.velocity.tools.view.tools.ViewTool
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||