# Print output for @column tags ?> AbstractMessageParser.FlickrPhoto - Android SDK | Android Developers

Most visited

Recently visited

AbstractMessageParser.FlickrPhoto

public static class AbstractMessageParser.FlickrPhoto
extends AbstractMessageParser.Token

java.lang.Object
   ↳ com.google.android.util.AbstractMessageParser.Token
     ↳ com.google.android.util.AbstractMessageParser.FlickrPhoto


Represents a link to a Flickr photo or album.

Summary

Inherited fields

Public constructors

FlickrPhoto(String user, String photo, String grouping, String groupingId, String text)

Public methods

String getGrouping()
String getGroupingId()
List<String> getInfo()

Get the relevant information about a token

String getPhoto()
static String getPhotoURL(String user, String photo)

Returns the URL for a particular photo.

static String getRssUrl(String user)

Returns the URL for the RSS description.

static String getTagsURL(String tag)

Returns the URL for a particular tag.

String getUrl()
String getUser()
static String getUserSetsURL(String user, String setId)

Returns the URL for user set.

static String getUserTagsURL(String user, String tagId)

Returns the URL for a user tag photo set.

static String getUserURL(String user)

Returns the URL to the user's Flickr homepage.

boolean isHtml()
boolean isMedia()
static AbstractMessageParser.FlickrPhoto matchURL(String url, String text)

Returns a FlickrPhoto object if the given url is to a photo or Flickr user.

Inherited methods

Public constructors

FlickrPhoto

public FlickrPhoto (String user, 
                String photo, 
                String grouping, 
                String groupingId, 
                String text)

Parameters
user String

photo String

grouping String

groupingId String

text String

Public methods

getGrouping

public String getGrouping ()

Returns
String

getGroupingId

public String getGroupingId ()

Returns
String

getInfo

public List<String> getInfo ()

Get the relevant information about a token

Returns
List<String> a list of strings representing the token, not null The first item is always a string representation of the type

getPhoto

public String getPhoto ()

Returns
String

getPhotoURL

public static String getPhotoURL (String user, 
                String photo)

Returns the URL for a particular photo.

Parameters
user String

photo String

Returns
String

getRssUrl

public static String getRssUrl (String user)

Returns the URL for the RSS description.

Parameters
user String

Returns
String

getTagsURL

public static String getTagsURL (String tag)

Returns the URL for a particular tag.

Parameters
tag String

Returns
String

getUrl

public String getUrl ()

Returns
String

getUser

public String getUser ()

Returns
String

getUserSetsURL

public static String getUserSetsURL (String user, 
                String setId)

Returns the URL for user set.

Parameters
user String

setId String

Returns
String

getUserTagsURL

public static String getUserTagsURL (String user, 
                String tagId)

Returns the URL for a user tag photo set.

Parameters
user String

tagId String

Returns
String

getUserURL

public static String getUserURL (String user)

Returns the URL to the user's Flickr homepage.

Parameters
user String

Returns
String

isHtml

public boolean isHtml ()

Returns
boolean

isMedia

public boolean isMedia ()

Returns
boolean

matchURL

public static AbstractMessageParser.FlickrPhoto matchURL (String url, 
                String text)

Returns a FlickrPhoto object if the given url is to a photo or Flickr user.

Parameters
url String

text String

Returns
AbstractMessageParser.FlickrPhoto