Package net.i2p.router.web.helpers
Class ConfigClientsHelper
- java.lang.Object
-
- net.i2p.router.web.HelperBase
-
- net.i2p.router.web.helpers.ConfigClientsHelper
-
public class ConfigClientsHelper extends HelperBase
-
-
Field Summary
Fields Modifier and Type Field Description static String
BIND_ALL_INTERFACES
from ClientListenerRunnerstatic String
PROP_AUTH
from ClientMessageEventListenerstatic String
PROP_DISABLE_EXTERNAL
from ClientManagerstatic 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, CHECKED, PROP_ADVANCED, SELECTED
-
-
Constructor Summary
Constructors Constructor Description ConfigClientsHelper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuth()
String
getForm1()
clientsString
getForm2()
webappsString
getForm3()
pluginsString
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
_t, _t, _t, _x, getChecked, isAdvanced, ngettext, setContextId, storeWriter
-
-
-
-
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
-
-
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...
-
-