Package org.schabi.newpipe.extractor
Class MetaInfo
- java.lang.Object
-
- org.schabi.newpipe.extractor.MetaInfo
-
- All Implemented Interfaces:
java.io.Serializable
public class MetaInfo extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MetaInfo()
MetaInfo(java.lang.String title, Description content, java.util.List<java.net.URL> urls, java.util.List<java.lang.String> urlTexts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addUrl(java.net.URL url)
void
addUrlText(java.lang.String urlText)
Description
getContent()
java.lang.String
getTitle()
java.util.List<java.net.URL>
getUrls()
java.util.List<java.lang.String>
getUrlTexts()
void
setContent(Description content)
void
setTitle(java.lang.String title)
void
setUrls(java.util.List<java.net.URL> urls)
void
setUrlTexts(java.util.List<java.lang.String> urlTexts)
-
-
-
Constructor Detail
-
MetaInfo
public MetaInfo(@Nonnull java.lang.String title, @Nonnull Description content, @Nonnull java.util.List<java.net.URL> urls, @Nonnull java.util.List<java.lang.String> urlTexts)
-
MetaInfo
public MetaInfo()
-
-
Method Detail
-
getTitle
@Nonnull public java.lang.String getTitle()
- Returns:
- Title of the info. Can be empty.
-
setTitle
public void setTitle(@Nonnull java.lang.String title)
-
getContent
@Nonnull public Description getContent()
-
setContent
public void setContent(@Nonnull Description content)
-
getUrls
@Nonnull public java.util.List<java.net.URL> getUrls()
-
setUrls
public void setUrls(@Nonnull java.util.List<java.net.URL> urls)
-
addUrl
public void addUrl(@Nonnull java.net.URL url)
-
getUrlTexts
@Nonnull public java.util.List<java.lang.String> getUrlTexts()
-
setUrlTexts
public void setUrlTexts(@Nonnull java.util.List<java.lang.String> urlTexts)
-
addUrlText
public void addUrlText(@Nonnull java.lang.String urlText)
-
-