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 Details

    • _page

      protected String _page
  • Constructor Details

    • ContentHelper

      public ContentHelper()
  • Method Details

    • 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()