Package net.i2p.router.web
Class ContentHelper
- java.lang.Object
-
- net.i2p.router.web.HelperBase
-
- net.i2p.router.web.ContentHelper
-
- Direct Known Subclasses:
NewsHelper
public class ContentHelper extends HelperBase
-
-
Field Summary
Fields Modifier and Type Field Description protected String_page-
Fields inherited from class net.i2p.router.web.HelperBase
_context, _out, CHECKED, PROP_ADVANCED, SELECTED
-
-
Constructor Summary
Constructors Constructor Description ContentHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContent()StringgetTextContent()voidsetLang(String l)voidsetMaxLines(String lines)voidsetPage(String page)Caution, use absolute paths only for getContent() and getTextContent(), do not assume files are in CWD.voidsetStartAtBeginning(String moo)-
Methods inherited from class net.i2p.router.web.HelperBase
_t, _t, _t, _x, getChecked, isAdvanced, ngettext, setContextId, storeWriter
-
-
-
-
Field Detail
-
_page
protected String _page
-
-
Method Detail
-
setPage
public void setPage(String page)
Caution, use absolute paths only for getContent() and getTextContent(), do not assume files are in CWD.
-
setStartAtBeginning
public void setStartAtBeginning(String moo)
-
setLang
public void setLang(String l)
-
setMaxLines
public void setMaxLines(String lines)
-
getContent
public String getContent()
-
getTextContent
public String getTextContent()
-
-