net.i2p.router.web
Class NavHelper

java.lang.Object
  extended by net.i2p.router.web.HelperBase
      extended by net.i2p.router.web.NavHelper

public class NavHelper
extends HelperBase


Field Summary
 
Fields inherited from class net.i2p.router.web.HelperBase
_context, _out
 
Constructor Summary
NavHelper()
           
 
Method Summary
 java.lang.String getClientAppLinks()
           
static void registerApp(java.lang.String name, java.lang.String path)
          To register a new client application so that it shows up on the router console's nav bar, it should be registered with this singleton.
static void unregisterApp(java.lang.String name)
           
 
Methods inherited from class net.i2p.router.web.HelperBase
_, _, _x, setContextId, setWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavHelper

public NavHelper()
Method Detail

registerApp

public static void registerApp(java.lang.String name,
                               java.lang.String path)
To register a new client application so that it shows up on the router console's nav bar, it should be registered with this singleton.

Parameters:
name - pretty name the app will be called in the link
path - full path pointing to the application's root (e.g. /i2ptunnel/index.jsp)

unregisterApp

public static void unregisterApp(java.lang.String name)

getClientAppLinks

public java.lang.String getClientAppLinks()