org.pentaho.platform.util.web
Class SimpleUrl
java.lang.Object
org.pentaho.platform.util.web.SimpleUrl
- All Implemented Interfaces:
- IPentahoUrl
public class SimpleUrl
- extends Object
- implements IPentahoUrl
SimpleUrl
public SimpleUrl(String baseUrl)
setParameter
public void setParameter(String name,
String value)
- Description copied from interface:
IPentahoUrl
- Sets a URL parameter. Since the portlet URL handles all the URL parameter construction,
talking to a generic interface seems more extensible.
- Specified by:
setParameter
in interface IPentahoUrl
- Parameters:
name
- Name of the parameter to setvalue
- Value to set the parameter to
getUrl
public String getUrl()
- Specified by:
getUrl
in interface IPentahoUrl
- Returns:
- the full URL with the parameters incorporated