aktueller Staand
[yacyandroid:yacyandroid.git] / src / net / yacy / rss / Feed.java
1 package net.yacy.rss;
2
3 import java.util.ArrayList;
4 import java.util.List;
5
6 /**
7  * Stores an RSS feed
8  * @author stbrumm
9  *
10  */
11
12 public class Feed
13 {
14         final String title;
15         final String link;
16         final String description;
17         final String language;
18         final String copyright;
19         final String pubDate;
20         final List<FeedMessage> entries = new ArrayList<FeedMessage>();
21
22         public Feed(String title, String link, String description, String language,
23                         String copyright, String pubDate) 
24         {
25                 this.title = title;
26                 this.link = link;
27                 this.description = description;
28                 this.language = language;
29                 this.copyright = copyright;
30                 this.pubDate = pubDate;
31         }
32
33         public List<FeedMessage> getMessages() 
34         {
35                 return entries;
36         }
37
38         public String getTitle() 
39         {
40                 return title;
41         }
42
43         public String getLink() 
44         {
45                 return link;
46         }
47
48         public String getDescription() 
49         {
50                 return description;
51         }
52
53         public String getLanguage() 
54         {
55                 return language;
56         }
57
58         public String getCopyright() 
59         {
60                 return copyright;
61         }
62
63         public String getPubDate() 
64         {
65                 return pubDate;
66         }
67 }