|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jickr.Tag
public class Tag
Encapsulates the information about a Tag associated with a Photo.
Photo.getTags()
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Check if this Tag is equal to the object supplied. |
User |
getAuthor()
Gets the Author of this tag. |
java.lang.String |
getID()
Gets the unique ID of this tag. |
Photo |
getParentPhoto()
Get the Photo that this Tag is attached to. |
java.lang.String |
getRawText()
Gets the text of this tag as the user entered it. |
static java.util.List<java.lang.String> |
getRelated(java.lang.String search)
Get a list of all tags related to the tag supplied, as determined by Flickr. |
java.lang.String |
getText()
Gets the text of this tag as used by Flickr. |
int |
hashCode()
Return the HashCode of this Tag, based on ID. |
void |
remove()
Deletes the Tag. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.List<java.lang.String> getRelated(java.lang.String search) throws FlickrException
Get a list of all tags related to the tag supplied, as determined by Flickr.
For instance, a lookup of all tags related to "cat" will return such things as "pet" and "kitty".
search
- String of the tag to search.
FlickrException
- on any error.public java.lang.String getID()
public User getAuthor()
public java.lang.String getRawText()
getText()
public java.lang.String getText()
public Photo getParentPhoto()
public void remove() throws FlickrException
FlickrException
- in the event of any error.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- Object to compare.
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |