net.i2p.router.web
Class ConfigClientsHelper

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

public class ConfigClientsHelper
extends HelperBase


Field Summary
static String BIND_ALL_INTERFACES
          from ClientListenerRunner
static String PROP_AUTH
          from ClientMessageEventListener
static String PROP_DISABLE_EXTERNAL
          from ClientManager
static String PROP_ENABLE_CLIENT_CHANGE
           
static String PROP_ENABLE_PLUGIN_INSTALL
           
static String PROP_ENABLE_SSL
           
 
Fields inherited from class net.i2p.router.web.HelperBase
_context, _out, PROP_ADVANCED
 
Constructor Summary
ConfigClientsHelper()
           
 
Method Summary
 String getAuth()
           
 String getForm1()
          clients
 String getForm2()
          webapps
 String getForm3()
          plugins
 String getPort()
           
 String i2cpModeChecked(int mode)
           
 String[] intfcAddresses()
           
 boolean isClientChangeEnabled()
           
 boolean isIFSelected(String addr)
           
 boolean isPluginInstallEnabled()
           
 boolean isPluginUpdateEnabled()
           
 void setEdit(String edit)
           
 boolean showPlugins()
           
static String stripHTML(Properties props, String key)
          Like in DataHelper but doesn't convert null to "" There's a lot worse things a plugin could do but...
 
Methods inherited from class net.i2p.router.web.HelperBase
_, _, _, _x, isAdvanced, ngettext, setContextId, storeWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BIND_ALL_INTERFACES

public static final String BIND_ALL_INTERFACES
from ClientListenerRunner

See Also:
Constant Field Values

PROP_DISABLE_EXTERNAL

public static final String PROP_DISABLE_EXTERNAL
from ClientManager

See Also:
Constant Field Values

PROP_ENABLE_SSL

public static final String PROP_ENABLE_SSL
See Also:
Constant Field Values

PROP_AUTH

public static final String PROP_AUTH
from ClientMessageEventListener

See Also:
Constant Field Values

PROP_ENABLE_CLIENT_CHANGE

public static final String PROP_ENABLE_CLIENT_CHANGE
See Also:
Constant Field Values

PROP_ENABLE_PLUGIN_INSTALL

public static final String PROP_ENABLE_PLUGIN_INSTALL
See Also:
Constant Field Values
Constructor Detail

ConfigClientsHelper

public ConfigClientsHelper()
Method Detail

isClientChangeEnabled

public boolean isClientChangeEnabled()
Since:
0.9.14.1

isPluginInstallEnabled

public boolean isPluginInstallEnabled()
Since:
0.9.14.1

isPluginUpdateEnabled

public boolean isPluginUpdateEnabled()
Since:
0.9.15

getPort

public String getPort()
Since:
0.8.3

i2cpModeChecked

public String i2cpModeChecked(int mode)
Since:
0.8.3

getAuth

public String getAuth()
Since:
0.8.3

intfcAddresses

public String[] intfcAddresses()
Since:
0.8.3

isIFSelected

public boolean isIFSelected(String addr)
Since:
0.8.3

setEdit

public void setEdit(String edit)

getForm1

public String getForm1()
clients


getForm2

public String getForm2()
webapps


showPlugins

public boolean showPlugins()

getForm3

public String getForm3()
plugins


stripHTML

public static String stripHTML(Properties props,
                               String key)
Like in DataHelper but doesn't convert null to "" There's a lot worse things a plugin could do but...