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
public abstract class SearchQueryHandlerFactory extends ListLinkHandlerFactory
-
-
Constructor Summary
Constructors Constructor Description SearchQueryHandlerFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description SearchQueryHandler
fromQuery(java.lang.String query)
SearchQueryHandler
fromQuery(java.lang.String query, java.util.List<java.lang.String> contentFilter, java.lang.String sortFilter)
java.lang.String
getId(java.lang.String url)
java.lang.String
getSearchString(java.lang.String url)
abstract java.lang.String
getUrl(java.lang.String query, java.util.List<java.lang.String> contentFilter, java.lang.String sortFilter)
boolean
onAcceptUrl(java.lang.String url)
It's not mandatory for NewPipe to handle the Url-
Methods inherited from class org.schabi.newpipe.extractor.linkhandler.ListLinkHandlerFactory
fromId, fromId, fromQuery, fromUrl, fromUrl, getAvailableContentFilter, getAvailableSortFilter, getUrl, getUrl, getUrl
-
Methods inherited from class org.schabi.newpipe.extractor.linkhandler.LinkHandlerFactory
acceptUrl
-
-
-
-
Method Detail
-
getUrl
public abstract java.lang.String getUrl(java.lang.String query, java.util.List<java.lang.String> contentFilter, java.lang.String sortFilter) throws ParsingException, java.lang.UnsupportedOperationException
- Specified by:
getUrl
in classListLinkHandlerFactory
- Throws:
ParsingException
java.lang.UnsupportedOperationException
-
getSearchString
public java.lang.String getSearchString(java.lang.String url)
-
getId
public java.lang.String getId(java.lang.String url) throws ParsingException, java.lang.UnsupportedOperationException
- Specified by:
getId
in classLinkHandlerFactory
- Throws:
ParsingException
java.lang.UnsupportedOperationException
-
fromQuery
public SearchQueryHandler fromQuery(java.lang.String query, java.util.List<java.lang.String> contentFilter, java.lang.String sortFilter) throws ParsingException
- Overrides:
fromQuery
in classListLinkHandlerFactory
- Throws:
ParsingException
-
fromQuery
public SearchQueryHandler fromQuery(java.lang.String query) throws ParsingException
- Throws:
ParsingException
-
onAcceptUrl
public boolean onAcceptUrl(java.lang.String url)
It's not mandatory for NewPipe to handle the Url- Specified by:
onAcceptUrl
in classLinkHandlerFactory
-
-