class PersistNews extends Object
| Constructor | Description |
|---|---|
PersistNews() |
| Modifier and Type | Method | Description |
|---|---|---|
static boolean |
delete(I2PAppContext ctx,
NewsEntry entry) |
Unused for now, as we don't have any way to remember it's deleted.
|
static List<NewsEntry> |
load(I2PAppContext ctx) |
This does not check for any missing values.
|
static boolean |
store(I2PAppContext ctx,
List<Node> entries) |
Store each entry.
|
public static boolean store(I2PAppContext ctx, List<Node> entries)
entries - each one should be "entry" at the rootpublic static List<NewsEntry> load(I2PAppContext ctx)
public static boolean delete(I2PAppContext ctx, NewsEntry entry)