org.alfresco.repo.urlshortening
Class BitlyUrlShortenerImpl
java.lang.Object
org.alfresco.repo.urlshortening.BitlyUrlShortenerImpl
- All Implemented Interfaces:
- UrlShortener
public class BitlyUrlShortenerImpl
- extends java.lang.Object
- implements UrlShortener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BitlyUrlShortenerImpl
public BitlyUrlShortenerImpl()
shortenUrl
public java.lang.String shortenUrl(java.lang.String longUrl)
- Specified by:
shortenUrl
in interface UrlShortener
getUrlLength
public int getUrlLength()
-
- Specified by:
getUrlLength
in interface UrlShortener
setUrlLength
public void setUrlLength(int urlLength)
- Parameters:
urlLength
- the urlLength to set
setUsername
public void setUsername(java.lang.String username)
- Parameters:
username
- the username to set
setApiKey
public void setApiKey(java.lang.String apiKey)
- Parameters:
apiKey
- the apiKey to set
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.