net.sourceforge.rssowl.util.archive
Class ArchiveEntry
java.lang.Object
net.sourceforge.rssowl.util.archive.ArchiveEntry
- public class ArchiveEntry
- extends Object
An archive entry is the smallest unit in the RSSOwl archive. It stores the
title, link and date of a news. Any news that are stored as archive entry are
read. Each archive entry is stored in the archive item that is connected to
the newsfeed where these entries come from.
- Version:
- 1.1.3
- Author:
- Benjamin Pasero
newsdate
private String newsdate
newslink
private String newslink
newstitle
private String newstitle
ArchiveEntry
public ArchiveEntry(String newsurl,
String newstitle,
String newsdate)
- Instantiate a new ArchiveEntry
- Parameters:
newsurl
- The URL of the newsnewstitle
- The title of the newsnewsdate
- The publish date of the news
toID
public static String toID(String newstitle,
String newslink,
String newsdate)
- Create an identifier from the given Title, Link and Date.
- Parameters:
newstitle
- Title of the newsnewslink
- Link of the newsnewsdate
- The publish date of the news
- Returns:
- String An identifier from the given Title and Link
getNewsdate
public String getNewsdate()
- Returns:
- String The publish date.
getNewsLink
public String getNewsLink()
- Returns:
- Returns the newslink.
getNewsTitle
public String getNewsTitle()
- Returns:
- Returns the newstitle.
toID
public String toID()
- Create an identifier from this entry.
- Returns:
- String An identifier from this entry
toString
public String toString()
- See Also:
Object.toString()
RSSOwl - RSS / RDF / Atom Newsreader