Class ChannelInfoItemsCollector
java.lang.Object
org.schabi.newpipe.extractor.InfoItemsCollector<ChannelInfoItem,ChannelInfoItemExtractor>
org.schabi.newpipe.extractor.channel.ChannelInfoItemsCollector
- All Implemented Interfaces:
Collector<ChannelInfoItem,ChannelInfoItemExtractor>
public final class ChannelInfoItemsCollector
extends InfoItemsCollector<ChannelInfoItem,ChannelInfoItemExtractor>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextract(ChannelInfoItemExtractor extractor) Try to extract the item from an extractor without adding it to the collectionMethods inherited from class org.schabi.newpipe.extractor.InfoItemsCollector
addError, addItem, commit, getErrors, getItems, getServiceId, reset
-
Constructor Details
-
ChannelInfoItemsCollector
public ChannelInfoItemsCollector(int serviceId)
-
-
Method Details
-
extract
Description copied from interface:CollectorTry to extract the item from an extractor without adding it to the collection- Parameters:
extractor- the extractor to use- Returns:
- the item
- Throws:
ParsingException- thrown if there is an error extracting the required fields of the item.
-