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 Constructor Description ChannelInfoItemsCollector(int serviceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelInfoItem
extract(ChannelInfoItemExtractor extractor)
Try to extract the item from an extractor without adding it to the collection-
Methods inherited from class org.schabi.newpipe.extractor.InfoItemsCollector
addError, addItem, commit, getErrors, getItems, getServiceId, reset
-
-
-
-
Method Detail
-
extract
public ChannelInfoItem extract(ChannelInfoItemExtractor extractor) throws ParsingException
Description copied from interface:Collector
Try 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.
-
-