Class PlaylistInfoItemsCollector
- java.lang.Object
-
- org.schabi.newpipe.extractor.InfoItemsCollector<PlaylistInfoItem,PlaylistInfoItemExtractor>
-
- org.schabi.newpipe.extractor.playlist.PlaylistInfoItemsCollector
-
- All Implemented Interfaces:
Collector<PlaylistInfoItem,PlaylistInfoItemExtractor>
public class PlaylistInfoItemsCollector extends InfoItemsCollector<PlaylistInfoItem,PlaylistInfoItemExtractor>
-
-
Constructor Summary
Constructors Constructor Description PlaylistInfoItemsCollector(int serviceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlaylistInfoItem
extract(PlaylistInfoItemExtractor 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 PlaylistInfoItem extract(PlaylistInfoItemExtractor 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.
-
-