public class DummyURLShortener extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PARAMETER_URL
This is the URL parameter to be used in API URLs.
|
Constructor and Description |
---|
DummyURLShortener() |
public static final String PARAMETER_URL
public String shorten(String url) throws PortalException
IURLShortener
shorten
in interface IURLShortener
url
- the URL to be shortened.PortalException
- if some error occur in shortening process.public String expand(String url) throws PortalException
url
- the URL to be expanded.PortalException
protected String getApiURL() throws PortalException
PortalException
Lumisportal 7.1.1.140331 - Copyright © 2006–2014 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.