Class YoutubeCommentsLinkHandlerFactory
java.lang.Object
org.schabi.newpipe.extractor.linkhandler.LinkHandlerFactory
org.schabi.newpipe.extractor.linkhandler.ListLinkHandlerFactory
org.schabi.newpipe.extractor.services.youtube.linkHandler.YoutubeCommentsLinkHandlerFactory
-
Method Summary
Modifier and TypeMethodDescriptionFor making ListLinkHandlerFactory compatible with LinkHandlerFactory we need to override this, however it should not be overridden by the actual implementation.booleanonAcceptUrl(String url) Methods inherited from class org.schabi.newpipe.extractor.linkhandler.ListLinkHandlerFactory
fromId, fromId, fromQuery, fromQuery, fromUrl, fromUrl, getAvailableContentFilter, getAvailableSortFilter, getUrl, getUrlMethods inherited from class org.schabi.newpipe.extractor.linkhandler.LinkHandlerFactory
acceptUrl
-
Method Details
-
getInstance
-
getUrl
Description copied from class:ListLinkHandlerFactoryFor making ListLinkHandlerFactory compatible with LinkHandlerFactory we need to override this, however it should not be overridden by the actual implementation.- Overrides:
getUrlin classListLinkHandlerFactory- Returns:
- the url corresponding to id without any filters applied
- Throws:
ParsingExceptionUnsupportedOperationException
-
getId
- Specified by:
getIdin classLinkHandlerFactory- Throws:
ParsingExceptionUnsupportedOperationException
-
onAcceptUrl
- Specified by:
onAcceptUrlin classLinkHandlerFactory- Throws:
FoundAdException
-
getUrl
public String getUrl(String id, List<String> contentFilter, String sortFilter) throws ParsingException, UnsupportedOperationException - Specified by:
getUrlin classListLinkHandlerFactory- Throws:
ParsingExceptionUnsupportedOperationException
-