com.tumblr.jumblr.types
Class Resource
java.lang.Object
com.tumblr.jumblr.types.Resource
- Direct Known Subclasses:
- Blog, Post, User
public class Resource
- extends Object
A resource that can have a client
- Author:
- jc
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
client
protected JumblrClient client
Resource
public Resource()
setClient
public void setClient(JumblrClient client)
- Set the JumblrClient used for relative calls from this resource
- Parameters:
client - the client to use
getClient
public JumblrClient getClient()
- Get the client for a particular resource
- Returns:
- the client
Copyright © 2013. All Rights Reserved.