|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.aetrion.flickr.urls.UrlsInterface
public class UrlsInterface
Interface for testing Flickr connectivity.
| Field Summary | |
|---|---|
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_GROUP
|
static java.lang.String |
METHOD_LOOKUP_USER
|
| Constructor Summary | |
|---|---|
UrlsInterface(java.lang.String apiKey,
Transport transport)
Construct a UrlsInterface. |
|
| Method Summary | |
|---|---|
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. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public UrlsInterface(java.lang.String apiKey,
Transport transport)
apiKey - The API keytransport - The Transport interface| Method Detail |
|---|
public java.lang.String getGroup(java.lang.String groupId)
throws java.io.IOException,
org.xml.sax.SAXException,
FlickrException
groupId - The group ID
java.io.IOException
org.xml.sax.SAXException
FlickrException
public java.lang.String getUserPhotos(java.lang.String userId)
throws java.io.IOException,
org.xml.sax.SAXException,
FlickrException
userId - The user ID
java.io.IOException
org.xml.sax.SAXException
FlickrException
public java.lang.String getUserProfile(java.lang.String userId)
throws java.io.IOException,
org.xml.sax.SAXException,
FlickrException
userId - The user ID
java.io.IOException
org.xml.sax.SAXException
FlickrException
public Group lookupGroup(java.lang.String url)
throws java.io.IOException,
org.xml.sax.SAXException,
FlickrException
url - The url
java.io.IOException
org.xml.sax.SAXException
FlickrException
public java.lang.String lookupUser(java.lang.String url)
throws java.io.IOException,
org.xml.sax.SAXException,
FlickrException
url - The user profile URL
java.io.IOException
org.xml.sax.SAXException
FlickrException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||