|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.util.url.UrlItem
public class UrlItem
This class provides utility methods for the generation of Url String
| Constructor Summary | |
|---|---|
UrlItem(java.lang.String strRoot)
Constructs an url with no parameters. |
|
| Method Summary | |
|---|---|
void |
addParameter(java.lang.String strName,
int nValue)
Add a Parameter to the url. |
void |
addParameter(java.lang.String strName,
java.lang.String strValue)
Add a Parameter to the url. |
java.lang.String |
getUrl()
Return the url string. |
java.lang.String |
getUrlWithEntity()
Return the url string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UrlItem(java.lang.String strRoot)
strRoot - The url's root.| Method Detail |
|---|
public void addParameter(java.lang.String strName,
java.lang.String strValue)
strName - The name of the parameter.strValue - The value of the parameter.
public void addParameter(java.lang.String strName,
int nValue)
strName - The name of the parameter.nValue - The value of the parameter.public java.lang.String getUrl()
public java.lang.String getUrlWithEntity()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||