lumis.portal.urlshortener
Interface IURLShortener

Package class diagram package IURLShortener
All Known Implementing Classes:
CustomURLShortener, DummyURLShortener, GoogleURLShortener, MigreMeURLShortener, TinyURLShortener

public interface IURLShortener

Represents an URL shortener. Implementations are responsible for shortening a given URL.

Since:
6.1.0

Method Summary
 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


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.