public class ImgurConsumer extends Object implements SiteSpecificConsumer
| Constructor and Description |
|---|
ImgurConsumer()
initialise the
ImgurClient instance |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConsume(URL url)
Determine whether the given URL can be handled by this consumer.
|
List<URL> |
consume(URL url)
Get the data urls at the given URL.
|
public ImgurConsumer()
ImgurClient instancepublic boolean canConsume(URL url)
SiteSpecificConsumercanConsume in interface SiteSpecificConsumerurl - the url to testpublic List<URL> consume(URL url)
SiteSpecificConsumerconsume in interface SiteSpecificConsumerurl - the url to test