|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdel.icio.us.cache.DeliciousCache
A cache for del.icio.us requests to get recent posts.
Method Summary | |
static DeliciousCache |
getInstance()
Gets the singleton instance. |
java.util.List |
getRecentPosts(java.lang.String username,
java.lang.String password,
int count,
java.lang.String tag,
long timeout)
Gets a list of recent posts for ths given criteria. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static DeliciousCache getInstance()
public java.util.List getRecentPosts(java.lang.String username, java.lang.String password, int count, java.lang.String tag, long timeout)
username
- the del.icio.us usernamepassword
- the del.icio.us passwordcount
- the number of recent posts to gettag
- a filter tag (optional, can be null)timeout
- the timeout in milliseconds of the cached data
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |