com.rosaloves.bitlyj
Class Bitly

java.lang.Object
  extended by com.rosaloves.bitlyj.Bitly

public final class Bitly
extends Object

Utility functions comprising the DSL. $Id: Bitly.java 135 2010-07-26 17:33:10Z chris@rosaloves.com $

Author:
clewis Jul 17, 2010

Nested Class Summary
static interface Bitly.Provider
           
 
Constructor Summary
Bitly()
           
 
Method Summary
static Bitly.Provider as(String user, String apiKey)
           
static BitlyMethod<Set<UrlClicks>> clicks(String... string)
           
static BitlyMethod<UrlClicks> clicks(String string)
           
static BitlyMethod<Set<Url>> expand(String... value)
           
static BitlyMethod<Url> expand(String value)
           
static BitlyMethod<Set<UrlInfo>> info(String... value)
           
static BitlyMethod<UrlInfo> info(String value)
           
static BitlyMethod<ShortenedUrl> shorten(String longUrl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bitly

public Bitly()
Method Detail

as

public static Bitly.Provider as(String user,
                                String apiKey)

info

public static BitlyMethod<UrlInfo> info(String value)

info

public static BitlyMethod<Set<UrlInfo>> info(String... value)

expand

public static BitlyMethod<Url> expand(String value)

expand

public static BitlyMethod<Set<Url>> expand(String... value)

shorten

public static BitlyMethod<ShortenedUrl> shorten(String longUrl)

clicks

public static BitlyMethod<UrlClicks> clicks(String string)

clicks

public static BitlyMethod<Set<UrlClicks>> clicks(String... string)


Copyright © 2010. All Rights Reserved.