Package net.i2p.router.web
Class NewsFeedHelper
- java.lang.Object
-
- net.i2p.router.web.HelperBase
-
- net.i2p.router.web.NewsFeedHelper
-
public class NewsFeedHelper extends HelperBase
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
Constructors Constructor Description NewsFeedHelper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEntries()
(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
-
-
-
-
Method Detail
-
setLimit
public void setLimit(int limit)
- Parameters:
limit
- less than or equal to zero means all
-
setStart
public void setStart(int start)
-
getEntries
public String getEntries()
-
getEntries
static String getEntries(I2PAppContext ctx, int start, int max, long ageLimit)
- 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
-
-