Class YoutubeStreamLinkHandlerFactory
- java.lang.Object
-
- org.schabi.newpipe.extractor.linkhandler.LinkHandlerFactory
-
- org.schabi.newpipe.extractor.services.youtube.linkHandler.YoutubeStreamLinkHandlerFactory
-
public final class YoutubeStreamLinkHandlerFactory extends LinkHandlerFactory
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getId(java.lang.String theUrlString)
static YoutubeStreamLinkHandlerFactory
getInstance()
java.lang.String
getUrl(java.lang.String id)
boolean
onAcceptUrl(java.lang.String url)
-
-
-
Method Detail
-
getInstance
public static YoutubeStreamLinkHandlerFactory getInstance()
-
getUrl
@Nonnull public java.lang.String getUrl(java.lang.String id) throws ParsingException, java.lang.UnsupportedOperationException
- Specified by:
getUrl
in classLinkHandlerFactory
- Throws:
ParsingException
java.lang.UnsupportedOperationException
-
getId
@Nonnull public java.lang.String getId(java.lang.String theUrlString) throws ParsingException, java.lang.UnsupportedOperationException
- Specified by:
getId
in classLinkHandlerFactory
- Throws:
ParsingException
java.lang.UnsupportedOperationException
-
onAcceptUrl
public boolean onAcceptUrl(java.lang.String url) throws FoundAdException
- Specified by:
onAcceptUrl
in classLinkHandlerFactory
- Throws:
FoundAdException
-
-