|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.nutch.parse.rss.structs.RSSChannel
public class RSSChannel
Data class for holding RSS Channels to send to Nutch's indexer
Constructor Summary | |
---|---|
RSSChannel(String desc,
String link,
String title)
Constructor if you don't have the list of RSS Items ready yet. |
|
RSSChannel(String desc,
String link,
String title,
List items)
Default Constructor |
Method Summary | |
---|---|
String |
getDescription()
Returns a String description of the RSS Channel. |
List |
getItems()
Get the list of items for this channel. |
String |
getLink()
Returns a link to the RSS Channel. |
String |
getTitle()
Returns the channel title |
void |
setDescription(String description)
Sets the description of this RSSChannel |
void |
setItems(List items)
Sets the list of RSS items for this channel. |
void |
setLink(String link)
Sets the link to this RSSChannel |
void |
setTitle(String title)
Sets the Title for this RSS Channel. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RSSChannel(String desc, String link, String title, List items)
Default Constructor
desc
- The description of the channel.link
- A link to the channel's url.title
- The title of the channel.items
- A list of RSSItem
s for this RSS Channel.public RSSChannel(String desc, String link, String title)
Constructor if you don't have the list of RSS Items ready yet.
desc
- The description of the channel.link
- A link to the channel's url.title
- The title of the channel.Method Detail |
---|
public List getItems()
Get the list of items for this channel.
RSSItem
s.public String getTitle()
Returns the channel title
public String getLink()
Returns a link to the RSS Channel.
String
link to the RSS Channel.public String getDescription()
Returns a String
description of the RSS Channel.
public void setItems(List items)
Sets the list of RSS items for this channel.
items
- A List of RSSItem
s for this RSSChannel.public void setTitle(String title)
Sets the Title for this RSS Channel.
title
- The title of this RSSChannel.public void setLink(String link)
Sets the link to this RSSChannel
link
- A String
representation of a link to this RSS Channel.public void setDescription(String description)
Sets the description of this RSSChannel
description
- A String description of this RSS Channel.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |