com.squareup.pollexor
Class Thumbor

java.lang.Object
  extended by com.squareup.pollexor.Thumbor

public final class Thumbor
extends Object

Representation of a remote thumbor installation.


Method Summary
 ThumborUrlBuilder buildImage(String image)
          Begin building a url for this host with the specified image.
static Thumbor create(String host)
          Create a new instance for the specified host.
static Thumbor create(String host, String key)
          Create a new instance for the specified host and encryption key.
 String getHost()
           
 String getKey()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static Thumbor create(String host)
Create a new instance for the specified host.

See Also:
create(String, String)

create

public static Thumbor create(String host,
                             String key)
Create a new instance for the specified host and encryption key.

See Also:
create(String)

getHost

public String getHost()

getKey

public String getKey()

buildImage

public ThumborUrlBuilder buildImage(String image)
Begin building a url for this host with the specified image.



Copyright © 2012-2014 Square, Inc.. All Rights Reserved.