public class PeertubeService extends StreamingService
StreamingService.LinkType, StreamingService.ServiceInfo
Constructor and Description |
---|
PeertubeService(int id) |
PeertubeService(int id,
PeertubeInstance instance) |
Modifier and Type | Method and Description |
---|---|
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.
|
CommentsExtractor |
getCommentsExtractor(ListLinkHandler linkHandler) |
ListLinkHandlerFactory |
getCommentsLHFactory() |
PeertubeInstance |
getInstance() |
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 queryHandler)
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.
|
void |
setInstance(PeertubeInstance instance) |
getChannelExtractor, getChannelExtractor, getCommentsExtractor, getContentCountry, getFeedExtractor, getLinkTypeByUrl, getLocalization, getPlaylistExtractor, getPlaylistExtractor, getSearchExtractor, getSearchExtractor, getServiceId, getServiceInfo, getStreamExtractor, getSupportedCountries, getSupportedLocalizations, getTimeAgoParser, toString
public PeertubeService(int id)
public PeertubeService(int id, PeertubeInstance instance)
public LinkHandlerFactory getStreamLHFactory()
StreamingService
getStreamLHFactory
in class StreamingService
public ListLinkHandlerFactory getChannelLHFactory()
StreamingService
getChannelLHFactory
in class StreamingService
public ListLinkHandlerFactory getPlaylistLHFactory()
StreamingService
getPlaylistLHFactory
in class StreamingService
public SearchQueryHandlerFactory getSearchQHFactory()
StreamingService
getSearchQHFactory
in class StreamingService
public ListLinkHandlerFactory getCommentsLHFactory()
getCommentsLHFactory
in class StreamingService
public SearchExtractor getSearchExtractor(SearchQueryHandler queryHandler)
StreamingService
getSearchExtractor
in class StreamingService
queryHandler
- specifies the keyword lock for, and the filters which should be applied.public SuggestionExtractor getSuggestionExtractor()
StreamingService
getSuggestionExtractor
in class StreamingService
public SubscriptionExtractor getSubscriptionExtractor()
StreamingService
getSubscriptionExtractor
in class StreamingService
public ChannelExtractor getChannelExtractor(ListLinkHandler linkHandler) throws ExtractionException
StreamingService
getChannelExtractor
in class StreamingService
linkHandler
- is pointing to the channel which should be handled by this new instance.ExtractionException
public PlaylistExtractor getPlaylistExtractor(ListLinkHandler linkHandler) throws ExtractionException
StreamingService
getPlaylistExtractor
in class StreamingService
linkHandler
- is pointing to the playlist which should be handled by this new instance.ExtractionException
public StreamExtractor getStreamExtractor(LinkHandler linkHandler) throws ExtractionException
StreamingService
getStreamExtractor
in class StreamingService
linkHandler
- is pointing to the stream which should be handled by this new instance.ExtractionException
public CommentsExtractor getCommentsExtractor(ListLinkHandler linkHandler) throws ExtractionException
getCommentsExtractor
in class StreamingService
ExtractionException
public String getBaseUrl()
getBaseUrl
in class StreamingService
public PeertubeInstance getInstance()
public void setInstance(PeertubeInstance instance)
public KioskList getKioskList() throws ExtractionException
StreamingService
getKioskList
in class StreamingService
ExtractionException