public class FeedChannel
extends java.lang.Object
Constructor and Description |
---|
FeedChannel(java.lang.String title,
java.lang.String link,
java.lang.String description,
java.lang.String language,
java.lang.String copyright,
java.lang.String pubDate)
Create a new instance of FeedChannel.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCopyright()
Get the channel copyright statement.
|
java.lang.String |
getDescription()
Get the channel description.
|
java.lang.String |
getLanguage()
Get the channel language.
|
java.lang.String |
getLink()
Get the channel link.
|
java.util.List<FeedMessage> |
getMessages()
Get the list of messages for the specified channel.
|
java.lang.String |
getPubDate()
Get the channel publication date.
|
java.lang.String |
getTitle()
Get the channel title.
|
java.lang.String |
toString()
Return a string-based description of the feed channel metadata.
|
public FeedChannel(java.lang.String title, java.lang.String link, java.lang.String description, java.lang.String language, java.lang.String copyright, java.lang.String pubDate)
title
- the feed channel title. Should not be null.link
- the feed channel link. Can be null.description
- the feed channel description. Can be null.language
- the feed channel language. Can be null.copyright
- the feed channel copyright statement. Can be null.pubDate
- the feed channel publication date. Can be null.public java.lang.String getTitle()
public java.lang.String getLink()
public java.lang.String getDescription()
public java.lang.String getLanguage()
public java.lang.String getCopyright()
public java.lang.String getPubDate()
public java.util.List<FeedMessage> getMessages()
public java.lang.String toString()
toString
in class java.lang.Object