Package org.schabi.newpipe.extractor
Class Info
- java.lang.Object
-
- org.schabi.newpipe.extractor.Info
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ChannelInfo
,ListInfo
,StreamInfo
public abstract class Info extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Info(int serviceId, java.lang.String id, java.lang.String url, java.lang.String originalUrl, java.lang.String name)
Info(int serviceId, LinkHandler linkHandler, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAllErrors(java.util.Collection<java.lang.Throwable> throwables)
void
addError(java.lang.Throwable throwable)
java.util.List<java.lang.Throwable>
getErrors()
java.lang.String
getId()
java.lang.String
getName()
java.lang.String
getOriginalUrl()
StreamingService
getService()
int
getServiceId()
java.lang.String
getUrl()
void
setOriginalUrl(java.lang.String originalUrl)
java.lang.String
toString()
-
-
-
Constructor Detail
-
Info
public Info(int serviceId, java.lang.String id, java.lang.String url, java.lang.String originalUrl, java.lang.String name)
-
Info
public Info(int serviceId, LinkHandler linkHandler, java.lang.String name)
-
-
Method Detail
-
addError
public void addError(java.lang.Throwable throwable)
-
addAllErrors
public void addAllErrors(java.util.Collection<java.lang.Throwable> throwables)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setOriginalUrl
public void setOriginalUrl(java.lang.String originalUrl)
-
getServiceId
public int getServiceId()
-
getService
public StreamingService getService()
-
getId
public java.lang.String getId()
-
getUrl
public java.lang.String getUrl()
-
getOriginalUrl
public java.lang.String getOriginalUrl()
-
getName
public java.lang.String getName()
-
getErrors
public java.util.List<java.lang.Throwable> getErrors()
-
-