net.i2p.router.web.helpers

## Class StatHelper

- java.lang.Object
- - net.i2p.router.web.HelperBase
  - - net.i2p.router.web.helpers.StatHelper

-     public class StatHelper
      extends HelperBase

  Helper for statistics page rendering and form processing.

- - ### Field Summary

    - ### Fields inherited from class net.i2p.router.web.HelperBase

      `_context, _out, CHECKED, PROP_ADVANCED, SELECTED`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `StatHelper()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getProfile()` Retrieve peer profile or stats based on usage
    `String` | `getStats()` Get stats page as string or write to output stream
    `void` | `setFull(String f)` Set full flag for stats generation
    `void` | `setPeer(String peer)` Caller should strip HTML (XSS)

    - ### Methods inherited from class net.i2p.router.web.HelperBase

      `_t, _t, _t, _x, getChecked, isAdvanced, ngettext, setContextId, storeWriter`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### StatHelper

          public StatHelper()

  - ### Method Detail

    - #### getProfile

          public String getProfile()

      Retrieve peer profile or stats based on usage

    - #### getStats

          public String getStats()

      Get stats page as string or write to output stream

    - #### setFull

          public void setFull(String f)

      Set full flag for stats generation

    - #### setPeer

          public void setPeer(String peer)

      Caller should strip HTML (XSS)