Package fr.paris.lutece.util.url
Class UrlParameterItem
java.lang.Object
fr.paris.lutece.util.url.UrlParameterItem
- All Implemented Interfaces:
Serializable
This class provides utility methods to manipulate an url parameter
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUrlParameterItem(String strName, int nValue) Constructs a UrlParameterItem.UrlParameterItem(String strName, String strValue) Constructs a UrlParameterItem. -
Method Summary
Modifier and TypeMethodDescriptiongetCode(boolean bFirst) Return the string to insert the parameter in the url.getCodeEntity(boolean bFirst) Return the string to insert the parameter in the url.
-
Constructor Details
-
UrlParameterItem
Constructs a UrlParameterItem.- Parameters:
strName- The name of the parameter.strValue- The value of the parameter.
-
UrlParameterItem
Constructs a UrlParameterItem.- Parameters:
strName- The name of the parameter.nValue- The value of the parameter.
-
-
Method Details
-
getCode
Return the string to insert the parameter in the url.- Parameters:
bFirst- True if this is the first url parameter.- Returns:
- String The string to insert in the url.
-
getCodeEntity
Return the string to insert the parameter in the url.- Parameters:
bFirst- True if this is the first url parameter.- Returns:
- String The string to insert in the url.
-