Package lumis.portal.urlshortener
Interface IURLShortener
-
- All Known Implementing Classes:
CustomURLShortener
,DummyURLShortener
,TinyURLShortener
public interface IURLShortener
Represents an URL shortener. Implementations are responsible for shortening a given URL.- Since:
- 6.1.0
- Version:
- $Revision: 14145 $ $Date: 2012-03-23 15:31:38 -0300 (Fri, 23 Mar 2012) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
shorten(String url)
Shortens a given URL.
-
-
-
Method Detail
-
shorten
String shorten(String url) throws PortalException
Shortens a given URL.- Parameters:
url
- the URL to be shortened.- Returns:
- the shortened URL.
- Throws:
PortalException
- if some error occur in shortening process.- Since:
- 6.1.0
-
-