net.i2p.router.news
Class NewsEntry

java.lang.Object
  extended by 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

Field Summary
 String authorName
           
 String content
           
 String contentType
           
 String id
           
 String link
           
 String summary
           
 String title
           
 long updated
           
 
Constructor Summary
NewsEntry()
           
 
Method Summary
 int compareTo(NewsEntry e)
          reverse, newest first
 boolean equals(Object o)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

NewsEntry

public NewsEntry()
Method Detail

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