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 | Description |
---|---|---|
NewsEntry |
NewsManager.getInitialNews() |
The initial (welcome to i2p) news
|
Modifier and Type | Method | Description |
---|---|---|
List<NewsEntry> |
NewsManager.getEntries() |
|
List<NewsEntry> |
NewsXMLParser.getEntries() |
The news entries.
|
static List<NewsEntry> |
PersistNews.load(I2PAppContext ctx) |
This does not check for any missing values.
|
Modifier and Type | Method | 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 | Description |
---|---|---|
void |
NewsManager.addEntries(List<NewsEntry> entries) |
Add or replace each entry in the list.
|