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 -
Method Summary
Modifier and TypeMethodDescriptionextract(PlaylistInfoItemExtractor 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
-
PlaylistInfoItemsCollector
public PlaylistInfoItemsCollector(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.
-