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
 java.lang.String shorten(java.lang.String url)
          Shortens a given URL.
 

Method Detail

shorten

java.lang.String shorten(java.lang.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.1.0.111014 - Copyright © 2001-2007, Lumis. All Rights Reserved.