| Package | Description |
|---|---|
| net.i2p.router.news | Classes to parse the I2P news format, which follows the Atom standard with additional metadata for the I2P update notification feature. |
| Modifier and Type | Method and Description |
|---|---|
NewsEntry | NewsManager.getInitialNews()The initial (Welcome to I2P) news |
| Modifier and Type | Method and Description |
|---|---|
List<NewsEntry> | NewsXMLParser.getEntries()The news entries. |
List<NewsEntry> | NewsManager.getEntries() |
static List<NewsEntry> | PersistNews.load(I2PAppContext ctx)This does not check for any missing values. |
| Modifier and Type | Method and Description |
|---|---|
int | NewsEntry.compareTo(NewsEntry e)reverse, newest first |
static boolean | PersistNews.delete(I2PAppContext ctx,
NewsEntry entry)Unused for now, as we don't have any way to remember it's deleted. |
| Modifier and Type | Method and Description |
|---|---|
void | NewsManager.addEntries(List<NewsEntry> entries)Add or replace each entry in the list. |