-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFeed.java
More file actions
59 lines (46 loc) · 1.24 KB
/
Copy pathFeed.java
File metadata and controls
59 lines (46 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/**
* (c) 2020 Wolfgang Hauptfleisch <wh@augmentedlogic.com>
* This file is part of simplefeedreader
* Licence: Apache v2
**/
package com.augmentedlogic.simplefeedreader;
import java.util.*;
public class Feed {
final String title;
final String link;
final String description;
final String language;
final String copyright;
final String pubDate;
final List<FeedItem> entries = new ArrayList<FeedItem>();
public Feed(String title, String link, String description, String language,
String copyright, String pubDate) {
this.title = title;
this.link = link;
this.description = description;
this.language = language;
this.copyright = copyright;
this.pubDate = pubDate;
}
public List<FeedItem> getFeedItems() {
return entries;
}
public String getTitle() {
return this.title;
}
public String getLink() {
return this.link;
}
public String getDescription() {
return this.description;
}
public String getLanguage() {
return this.language;
}
public String getCopyright() {
return this.copyright;
}
public String getPubDate() {
return this.pubDate;
}
}