public class UrlsInterface
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
METHOD_GET_GROUP |
static java.lang.String |
METHOD_GET_USER_PHOTOS |
static java.lang.String |
METHOD_GET_USER_PROFILE |
static java.lang.String |
METHOD_LOOKUP_GALLERY |
static java.lang.String |
METHOD_LOOKUP_GROUP |
static java.lang.String |
METHOD_LOOKUP_USER |
| Constructor and Description |
|---|
UrlsInterface(java.lang.String apiKey,
java.lang.String sharedSecret,
Transport transportAPI)
Construct a UrlsInterface.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGroup(java.lang.String groupId)
Get the group URL for the specified group ID
|
java.lang.String |
getUserPhotos(java.lang.String userId)
Get the URL for the user's photos.
|
java.lang.String |
getUserProfile(java.lang.String userId)
Get the URL for the user's profile.
|
Gallery |
lookupGallery(java.lang.String galleryId)
Lookup the Gallery for the specified ID.
|
Group |
lookupGroup(java.lang.String url)
Lookup the group for the specified URL.
|
java.lang.String |
lookupUser(java.lang.String url)
Lookup the username for the specified User URL.
|
public static final java.lang.String METHOD_GET_GROUP
public static final java.lang.String METHOD_GET_USER_PHOTOS
public static final java.lang.String METHOD_GET_USER_PROFILE
public static final java.lang.String METHOD_LOOKUP_GROUP
public static final java.lang.String METHOD_LOOKUP_USER
public static final java.lang.String METHOD_LOOKUP_GALLERY
public UrlsInterface(java.lang.String apiKey,
java.lang.String sharedSecret,
Transport transportAPI)
apiKey - The API keytransportAPI - The Transport interfacepublic java.lang.String getGroup(java.lang.String groupId)
throws FlickrException
groupId - The group IDFlickrExceptionpublic java.lang.String getUserPhotos(java.lang.String userId)
throws FlickrException
userId - The user IDFlickrExceptionpublic java.lang.String getUserProfile(java.lang.String userId)
throws FlickrException
userId - The user IDFlickrExceptionpublic Group lookupGroup(java.lang.String url) throws FlickrException
url - The urlFlickrExceptionpublic java.lang.String lookupUser(java.lang.String url)
throws FlickrException
url - The user profile URLFlickrExceptionpublic Gallery lookupGallery(java.lang.String galleryId) throws FlickrException
galleryId - The user profile URLFlickrException