Class SearchQueryHandlerFactory
java.lang.Object
org.schabi.newpipe.extractor.linkhandler.LinkHandlerFactory
org.schabi.newpipe.extractor.linkhandler.ListLinkHandlerFactory
org.schabi.newpipe.extractor.linkhandler.SearchQueryHandlerFactory
- Direct Known Subclasses:
BandcampSearchQueryHandlerFactory,MediaCCCSearchQueryHandlerFactory,PeertubeSearchQueryHandlerFactory,SoundcloudSearchQueryHandlerFactory,YoutubeSearchQueryHandlerFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSearchString(String url) abstract StringbooleanonAcceptUrl(String url) It's not mandatory for NewPipe to handle the UrlMethods inherited from class org.schabi.newpipe.extractor.linkhandler.ListLinkHandlerFactory
fromId, fromId, fromQuery, fromUrl, fromUrl, getAvailableContentFilter, getAvailableSortFilter, getUrl, getUrl, getUrlMethods inherited from class org.schabi.newpipe.extractor.linkhandler.LinkHandlerFactory
acceptUrl
-
Constructor Details
-
SearchQueryHandlerFactory
public SearchQueryHandlerFactory()
-
-
Method Details
-
getUrl
public abstract String getUrl(String query, List<String> contentFilter, String sortFilter) throws ParsingException, UnsupportedOperationException - Specified by:
getUrlin classListLinkHandlerFactory- Throws:
ParsingExceptionUnsupportedOperationException
-
getSearchString
-
getId
- Specified by:
getIdin classLinkHandlerFactory- Throws:
ParsingExceptionUnsupportedOperationException
-
fromQuery
public SearchQueryHandler fromQuery(String query, List<String> contentFilter, String sortFilter) throws ParsingException - Overrides:
fromQueryin classListLinkHandlerFactory- Throws:
ParsingException
-
fromQuery
- Throws:
ParsingException
-
onAcceptUrl
It's not mandatory for NewPipe to handle the Url- Specified by:
onAcceptUrlin classLinkHandlerFactory
-