net.i2p.router.news
Class NewsEntry
java.lang.Object
net.i2p.router.news.NewsEntry
- All Implemented Interfaces:
- Comparable<NewsEntry>
public class NewsEntry
- extends Object
- implements Comparable<NewsEntry>
One news item.
Any String fields may be null.
- Since:
- 0.9.17
title
public String title
link
public String link
id
public String id
updated
public long updated
summary
public String summary
content
public String content
contentType
public String contentType
authorName
public String authorName
NewsEntry
public NewsEntry()
compareTo
public int compareTo(NewsEntry e)
- reverse, newest first
- Specified by:
compareTo
in interface Comparable<NewsEntry>
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object