You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.4 KiB
65 lines
1.4 KiB
12 years ago
|
package com.jme3.gde.welcome.rss;
|
||
|
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.List;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @author Lars Vogel
|
||
|
*/
|
||
|
public class Feed {
|
||
|
|
||
|
final String title;
|
||
|
final String link;
|
||
|
final String description;
|
||
|
final String language;
|
||
|
final String copyright;
|
||
|
final String pubDate;
|
||
|
final List<FeedMessage> entries = new ArrayList<FeedMessage>();
|
||
|
|
||
|
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<FeedMessage> getMessages() {
|
||
|
return entries;
|
||
|
}
|
||
|
|
||
|
public String getTitle() {
|
||
|
return title;
|
||
|
}
|
||
|
|
||
|
public String getLink() {
|
||
|
return link;
|
||
|
}
|
||
|
|
||
|
public String getDescription() {
|
||
|
return description;
|
||
|
}
|
||
|
|
||
|
public String getLanguage() {
|
||
|
return language;
|
||
|
}
|
||
|
|
||
|
public String getCopyright() {
|
||
|
return copyright;
|
||
|
}
|
||
|
|
||
|
public String getPubDate() {
|
||
|
return pubDate;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public String toString() {
|
||
|
return "Feed [copyright=" + copyright + ", description=" + description
|
||
|
+ ", language=" + language + ", link=" + link + ", pubDate="
|
||
|
+ pubDate + ", title=" + title + "]";
|
||
|
}
|
||
|
}
|