Class PeertubeChannelTabLinkHandlerFactory
- java.lang.Object
-
- org.schabi.newpipe.extractor.linkhandler.LinkHandlerFactory
-
- org.schabi.newpipe.extractor.linkhandler.ListLinkHandlerFactory
-
- org.schabi.newpipe.extractor.services.peertube.linkHandler.PeertubeChannelTabLinkHandlerFactory
-
public final class PeertubeChannelTabLinkHandlerFactory extends ListLinkHandlerFactory
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
getAvailableContentFilter()
Will returns content filter the corresponding extractor can handle like "channels", "videos", "music", etc.java.lang.String
getId(java.lang.String url)
static PeertubeChannelTabLinkHandlerFactory
getInstance()
java.lang.String
getUrl(java.lang.String id, java.util.List<java.lang.String> contentFilter, java.lang.String sortFilter)
java.lang.String
getUrl(java.lang.String id, java.util.List<java.lang.String> contentFilter, java.lang.String sortFilter, java.lang.String baseUrl)
static java.lang.String
getUrlSuffix(java.lang.String tab)
boolean
onAcceptUrl(java.lang.String url)
-
Methods inherited from class org.schabi.newpipe.extractor.linkhandler.ListLinkHandlerFactory
fromId, fromId, fromQuery, fromQuery, fromUrl, fromUrl, getAvailableSortFilter, getUrl, getUrl
-
Methods inherited from class org.schabi.newpipe.extractor.linkhandler.LinkHandlerFactory
acceptUrl
-
-
-
-
Method Detail
-
getInstance
public static PeertubeChannelTabLinkHandlerFactory getInstance()
-
getUrlSuffix
@Nonnull public static java.lang.String getUrlSuffix(@Nonnull java.lang.String tab) throws UnsupportedTabException
- Throws:
UnsupportedTabException
-
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
-
getUrl
public java.lang.String getUrl(java.lang.String id, 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
-
getUrl
public java.lang.String getUrl(java.lang.String id, java.util.List<java.lang.String> contentFilter, java.lang.String sortFilter, java.lang.String baseUrl) throws ParsingException, java.lang.UnsupportedOperationException
- Overrides:
getUrl
in classListLinkHandlerFactory
- Throws:
ParsingException
java.lang.UnsupportedOperationException
-
onAcceptUrl
public boolean onAcceptUrl(java.lang.String url) throws ParsingException
- Specified by:
onAcceptUrl
in classLinkHandlerFactory
- Throws:
ParsingException
-
getAvailableContentFilter
public java.lang.String[] getAvailableContentFilter()
Description copied from class:ListLinkHandlerFactory
Will returns content filter the corresponding extractor can handle like "channels", "videos", "music", etc.- Overrides:
getAvailableContentFilter
in classListLinkHandlerFactory
- Returns:
- filter that can be applied when building a query for getting a list
-
-