Class MediaCCCService
- java.lang.Object
-
- org.schabi.newpipe.extractor.StreamingService
-
- org.schabi.newpipe.extractor.services.media_ccc.MediaCCCService
-
public class MediaCCCService extends StreamingService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.schabi.newpipe.extractor.StreamingService
StreamingService.LinkType, StreamingService.ServiceInfo
-
-
Constructor Summary
Constructors Constructor Description MediaCCCService(int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBaseUrl()
ChannelExtractor
getChannelExtractor(ListLinkHandler linkHandler)
Must create a new instance of a ChannelExtractor implementation.ListLinkHandlerFactory
getChannelLHFactory()
Must return a new instance of an implementation of ListLinkHandlerFactory for channels.ChannelTabExtractor
getChannelTabExtractor(ListLinkHandler linkHandler)
Must create a new instance of a ChannelTabExtractor implementation.ListLinkHandlerFactory
getChannelTabLHFactory()
Must return a new instance of an implementation of ListLinkHandlerFactory for channel tabs.CommentsExtractor
getCommentsExtractor(ListLinkHandler linkHandler)
ListLinkHandlerFactory
getCommentsLHFactory()
KioskList
getKioskList()
Must create a new instance of a KioskList implementation.PlaylistExtractor
getPlaylistExtractor(ListLinkHandler linkHandler)
Must crete a new instance of a PlaylistExtractor implementation.ListLinkHandlerFactory
getPlaylistLHFactory()
Must return a new instance of an implementation of ListLinkHandlerFactory for playlists.SearchExtractor
getSearchExtractor(SearchQueryHandler query)
Must create a new instance of a SearchExtractor implementation.SearchQueryHandlerFactory
getSearchQHFactory()
Must return an instance of an implementation of SearchQueryHandlerFactory.StreamExtractor
getStreamExtractor(LinkHandler linkHandler)
Must create a new instance of a StreamExtractor implementation.LinkHandlerFactory
getStreamLHFactory()
Must return a new instance of an implementation of LinkHandlerFactory for streams.SubscriptionExtractor
getSubscriptionExtractor()
Outdated or obsolete.SuggestionExtractor
getSuggestionExtractor()
Must create a new instance of a SuggestionExtractor implementation.-
Methods inherited from class org.schabi.newpipe.extractor.StreamingService
getChannelExtractor, getChannelExtractor, getChannelTabExtractorFromId, getChannelTabExtractorFromIdAndBaseUrl, getCommentsExtractor, getContentCountry, getFeedExtractor, getLinkTypeByUrl, getLocalization, getPlaylistExtractor, getPlaylistExtractor, getSearchExtractor, getSearchExtractor, getServiceId, getServiceInfo, getStreamExtractor, getSupportedCountries, getSupportedLocalizations, getTimeAgoParser, toString
-
-
-
-
Method Detail
-
getSearchExtractor
public SearchExtractor getSearchExtractor(SearchQueryHandler query)
Description copied from class:StreamingService
Must create a new instance of a SearchExtractor implementation.- Specified by:
getSearchExtractor
in classStreamingService
- Parameters:
query
- specifies the keyword lock for, and the filters which should be applied.- Returns:
- a new SearchExtractor instance
-
getStreamLHFactory
public LinkHandlerFactory getStreamLHFactory()
Description copied from class:StreamingService
Must return a new instance of an implementation of LinkHandlerFactory for streams.- Specified by:
getStreamLHFactory
in classStreamingService
- Returns:
- an instance of a LinkHandlerFactory for streams
-
getChannelLHFactory
public ListLinkHandlerFactory getChannelLHFactory()
Description copied from class:StreamingService
Must return a new instance of an implementation of ListLinkHandlerFactory for channels. If support for channels is not given null must be returned.- Specified by:
getChannelLHFactory
in classStreamingService
- Returns:
- an instance of a ListLinkHandlerFactory for channels or null
-
getChannelTabLHFactory
public ListLinkHandlerFactory getChannelTabLHFactory()
Description copied from class:StreamingService
Must return a new instance of an implementation of ListLinkHandlerFactory for channel tabs. If support for channel tabs is not given null must be returned.- Specified by:
getChannelTabLHFactory
in classStreamingService
- Returns:
- an instance of a ListLinkHandlerFactory for channels or null
-
getPlaylistLHFactory
public ListLinkHandlerFactory getPlaylistLHFactory()
Description copied from class:StreamingService
Must return a new instance of an implementation of ListLinkHandlerFactory for playlists. If support for playlists is not given null must be returned.- Specified by:
getPlaylistLHFactory
in classStreamingService
- Returns:
- an instance of a ListLinkHandlerFactory for playlists or null
-
getSearchQHFactory
public SearchQueryHandlerFactory getSearchQHFactory()
Description copied from class:StreamingService
Must return an instance of an implementation of SearchQueryHandlerFactory.- Specified by:
getSearchQHFactory
in classStreamingService
- Returns:
- an instance of a SearchQueryHandlerFactory
-
getStreamExtractor
public StreamExtractor getStreamExtractor(LinkHandler linkHandler)
Description copied from class:StreamingService
Must create a new instance of a StreamExtractor implementation.- Specified by:
getStreamExtractor
in classStreamingService
- Parameters:
linkHandler
- is pointing to the stream which should be handled by this new instance.- Returns:
- a new StreamExtractor
-
getChannelExtractor
public ChannelExtractor getChannelExtractor(ListLinkHandler linkHandler)
Description copied from class:StreamingService
Must create a new instance of a ChannelExtractor implementation.- Specified by:
getChannelExtractor
in classStreamingService
- Parameters:
linkHandler
- is pointing to the channel which should be handled by this new instance.- Returns:
- a new ChannelExtractor
-
getChannelTabExtractor
public ChannelTabExtractor getChannelTabExtractor(ListLinkHandler linkHandler)
Description copied from class:StreamingService
Must create a new instance of a ChannelTabExtractor implementation.- Specified by:
getChannelTabExtractor
in classStreamingService
- Parameters:
linkHandler
- is pointing to the channel which should be handled by this new instance.- Returns:
- a new ChannelTabExtractor
-
getPlaylistExtractor
public PlaylistExtractor getPlaylistExtractor(ListLinkHandler linkHandler)
Description copied from class:StreamingService
Must crete a new instance of a PlaylistExtractor implementation.- Specified by:
getPlaylistExtractor
in classStreamingService
- Parameters:
linkHandler
- is pointing to the playlist which should be handled by this new instance.- Returns:
- a new PlaylistExtractor
-
getSuggestionExtractor
public SuggestionExtractor getSuggestionExtractor()
Description copied from class:StreamingService
Must create a new instance of a SuggestionExtractor implementation.- Specified by:
getSuggestionExtractor
in classStreamingService
- Returns:
- a new SuggestionExtractor instance
-
getKioskList
public KioskList getKioskList() throws ExtractionException
Description copied from class:StreamingService
Must create a new instance of a KioskList implementation.- Specified by:
getKioskList
in classStreamingService
- Returns:
- a new KioskList instance
- Throws:
ExtractionException
-
getSubscriptionExtractor
public SubscriptionExtractor getSubscriptionExtractor()
Description copied from class:StreamingService
Outdated or obsolete. null can be returned.- Specified by:
getSubscriptionExtractor
in classStreamingService
- Returns:
- just null
-
getCommentsLHFactory
public ListLinkHandlerFactory getCommentsLHFactory()
- Specified by:
getCommentsLHFactory
in classStreamingService
-
getCommentsExtractor
public CommentsExtractor getCommentsExtractor(ListLinkHandler linkHandler)
- Specified by:
getCommentsExtractor
in classStreamingService
-
getBaseUrl
public java.lang.String getBaseUrl()
- Specified by:
getBaseUrl
in classStreamingService
-
-