public final class YoutubePlaylistLinkHandlerFactory extends ListLinkHandlerFactory
Modifier and Type | Method and Description |
---|---|
ListLinkHandler |
fromUrl(String url)
If it is a mix (auto-generated playlist) URL, return a
LinkHandler where the URL is
like https://youtube.com/watch?v=videoId&list=playlistId |
String |
getId(String url) |
static YoutubePlaylistLinkHandlerFactory |
getInstance() |
String |
getUrl(String id,
List<String> contentFilters,
String sortFilter) |
boolean |
onAcceptUrl(String url) |
fromId, fromId, fromQuery, fromQuery, fromUrl, getAvailableContentFilter, getAvailableSortFilter, getUrl, getUrl, getUrl
acceptUrl
public static YoutubePlaylistLinkHandlerFactory getInstance()
public String getUrl(String id, List<String> contentFilters, String sortFilter)
getUrl
in class ListLinkHandlerFactory
public String getId(String url) throws ParsingException
getId
in class LinkHandlerFactory
ParsingException
public boolean onAcceptUrl(String url)
onAcceptUrl
in class LinkHandlerFactory
public ListLinkHandler fromUrl(String url) throws ParsingException
LinkHandler
where the URL is
like https://youtube.com/watch?v=videoId&list=playlistId
Otherwise use super
fromUrl
in class ListLinkHandlerFactory
url
- the url to extract path and id fromLinkHandler
complete with informationParsingException