public final class YoutubeCommentsLinkHandlerFactory extends ListLinkHandlerFactory
Modifier and Type | Method and Description |
---|---|
String |
getId(String urlString) |
static YoutubeCommentsLinkHandlerFactory |
getInstance() |
String |
getUrl(String id)
For making ListLinkHandlerFactory compatible with LinkHandlerFactory we need to override
this, however it should not be overridden by the actual implementation.
|
String |
getUrl(String id,
List<String> contentFilter,
String sortFilter) |
boolean |
onAcceptUrl(String url) |
fromId, fromId, fromQuery, fromQuery, fromUrl, fromUrl, getAvailableContentFilter, getAvailableSortFilter, getUrl, getUrl
acceptUrl
public static YoutubeCommentsLinkHandlerFactory getInstance()
public String getUrl(String id)
ListLinkHandlerFactory
getUrl
in class ListLinkHandlerFactory
public String getId(String urlString) throws ParsingException, IllegalArgumentException
getId
in class LinkHandlerFactory
ParsingException
IllegalArgumentException
public boolean onAcceptUrl(String url) throws FoundAdException
onAcceptUrl
in class LinkHandlerFactory
FoundAdException
public String getUrl(String id, List<String> contentFilter, String sortFilter) throws ParsingException
getUrl
in class ListLinkHandlerFactory
ParsingException