Package net.i2p.router.web
Class NewsFeedHelper
java.lang.Object
net.i2p.router.web.HelperBase
net.i2p.router.web.NewsFeedHelper
HTML-formatted full news entries
- Since:
- 0.9.23
-
Field Summary
Fields inherited from class net.i2p.router.web.HelperBase
_context, _out, CHECKED, PROP_ADVANCED, SELECTED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static String
getEntries
(I2PAppContext ctx, int start, int max, long ageLimit) void
setLimit
(int limit) void
setStart
(int start) Methods inherited from class net.i2p.router.web.HelperBase
_t, _t, _t, _x, getChecked, isAdvanced, ngettext, setContextId, storeWriter
-
Constructor Details
-
NewsFeedHelper
public NewsFeedHelper()
-
-
Method Details
-
setLimit
public void setLimit(int limit) - Parameters:
limit
- less than or equal to zero means all
-
setStart
public void setStart(int start) -
getEntries
-
getEntries
- Parameters:
max
- less than or equal to zero means allageLimit
- time before now, less than or equal to zero means all (after the first)- Returns:
- non-null, "" if none
-