|
||||||||||
| 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(String strRoot)
Constructs an url with no parameters. |
|
| Method Summary | |
|---|---|
void |
addParameter(String strName,
int nValue)
Add a Parameter to the url. |
void |
addParameter(String strName,
String strValue)
Add a Parameter to the url. |
String |
getAnchor()
Get the anchor |
String |
getUrl()
Return the url string. |
String |
getUrlWithEntity()
Return the url string. |
void |
setAnchor(String strAnchorName)
Set the anchor |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UrlItem(String strRoot)
strRoot - The url's root.| Method Detail |
|---|
public void addParameter(String strName,
String strValue)
strName - The name of the parameter.strValue - The value of the parameter.
public void addParameter(String strName,
int nValue)
strName - The name of the parameter.nValue - The value of the parameter.public String getUrl()
public String getUrlWithEntity()
public String getAnchor()
public void setAnchor(String strAnchorName)
strAnchorName - the _srtAnchor to setpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||