public class TmblrPhotoConsumer extends Object implements SiteSpecificConsumer
Constructor and Description |
---|
TmblrPhotoConsumer()
Use the
DefaultTokenFactory to load the default api token |
TmblrPhotoConsumer(TumblrAPIToken token)
Construct with the given api token
|
public TmblrPhotoConsumer()
DefaultTokenFactory
to load the default api tokenpublic TmblrPhotoConsumer(TumblrAPIToken token)
token
- the api tokenpublic boolean canConsume(URL url)
SiteSpecificConsumer
canConsume
in interface SiteSpecificConsumer
url
- the url to testpublic List<URL> consume(URL url)
SiteSpecificConsumer
consume
in interface SiteSpecificConsumer
url
- the url to test