修飾子とタイプ | フィールド | 説明 |
---|---|---|
static java.lang.String |
APP_NAME |
コンストラクタ | 説明 |
---|---|
NewsManager(I2PAppContext ctx,
ClientAppManager listener,
java.lang.String[] args) |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
void |
addEntries(java.util.List<NewsEntry> entries) |
Add or replace each entry in the list.
|
java.lang.String |
getDisplayName() |
The display name of the ClientApp, used in user interfaces.
|
java.util.List<NewsEntry> |
getEntries() |
|
NewsEntry |
getInitialNews() |
The initial (welcome to i2p) news
|
java.lang.String |
getName() |
The generic name of the ClientApp, used for registration,
e.g.
|
ClientAppState |
getState() |
The current state of the ClientApp.
|
void |
shutdown(java.lang.String[] args) |
ClientApp interface
|
void |
startup() |
ClientApp interface
|
boolean |
storeEntries(java.util.List<Node> entries) |
Store each entry.
|
public static final java.lang.String APP_NAME
public NewsManager(I2PAppContext ctx, ClientAppManager listener, java.lang.String[] args)
args
- ignoredpublic java.util.List<NewsEntry> getEntries()
public boolean storeEntries(java.util.List<Node> entries)
entries
- each one should be "entry" at the rootpublic void addEntries(java.util.List<NewsEntry> entries)
public void shutdown(java.lang.String[] args)
public ClientAppState getState()
ClientApp
public java.lang.String getName()
ClientApp
public java.lang.String getDisplayName()
ClientApp
getDisplayName
インタフェース内 ClientApp
public NewsEntry getInitialNews()