|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jickr.License
public class License
Encapsulates all the information on a License option for Flickr. To get a list
of valid license options from Flickr, use the License.getLicenses()
method.
getLicenses()
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Equals function for License options. |
static License |
findByID(java.lang.String id)
Gets the License option that matches the supplied ID. |
java.lang.String |
getID()
Get the ID for this license option. |
static java.util.List<License> |
getLicenses()
Get a list of license options available. |
java.lang.String |
getName()
Get the name of this license option. |
java.net.URL |
getURL()
Get the URL for this license option. |
int |
hashCode()
Return the HashCode of this License, based on ID. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.List<License> getLicenses() throws FlickrException
FlickrException
- on any error.public static License findByID(java.lang.String id) throws FlickrException
id
- The License Option ID to search for. Must not be null.
FlickrException
- on any error, including id not found.public java.lang.String getID()
public java.lang.String getName()
public java.net.URL getURL()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
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 |