Package net.i2p.router.web
Class ConfigUpdateHelper
java.lang.Object
net.i2p.router.web.HelperBase
net.i2p.router.web.ConfigUpdateHelper
public class ConfigUpdateHelper extends HelperBase
-
Field Summary
Fields inherited from class net.i2p.router.web.HelperBase
_context, _out, CHECKED, PROP_ADVANCED, SELECTED
-
Constructor Summary
Constructors Constructor Description ConfigUpdateHelper()
-
Method Summary
Modifier and Type Method Description boolean
canInstall()
String
getDevSU3URL()
String
getNewsStatus()
String
getNewsThroughProxy()
String
getNewsURL()
static String
getNewsURL(I2PAppContext ctx)
hack to replace the old news location with the new one, even if they have saved the update page at some pointString
getProxyHost()
String
getProxyPort()
String
getRefreshFrequencySelectBox()
String
getTrustedKeys()
String
getUpdateDevSU3()
String
getUpdatePolicySelectBox()
Right now the jsp hides the whole select box if _dontInstall is true but this could changeString
getUpdateThroughProxy()
String
getUpdateUnsigned()
String
getUpdateURL()
String
getZipURL()
void
setContextId(String contextId)
hook this so we can call dontInstall() once after getting a contextboolean
updateAvailable()
Methods inherited from class net.i2p.router.web.HelperBase
_t, _t, _t, _x, getChecked, isAdvanced, ngettext, storeWriter
-
Constructor Details
-
ConfigUpdateHelper
public ConfigUpdateHelper()
-
-
Method Details
-
setContextId
hook this so we can call dontInstall() once after getting a context- Overrides:
setContextId
in classHelperBase
- Parameters:
contextId
- beginning few characters of the routerHash, or null to pick the first one we come across.
-
canInstall
public boolean canInstall() -
updateAvailable
public boolean updateAvailable() -
getNewsURL
-
getNewsURL
hack to replace the old news location with the new one, even if they have saved the update page at some point -
getUpdateURL
-
getProxyHost
-
getProxyPort
-
getUpdateThroughProxy
-
getNewsThroughProxy
- Since:
- 0.9.9
-
getUpdateUnsigned
-
getUpdateDevSU3
- Since:
- 0.9.20
-
getRefreshFrequencySelectBox
-
getUpdatePolicySelectBox
Right now the jsp hides the whole select box if _dontInstall is true but this could change -
getTrustedKeys
-
getZipURL
-
getDevSU3URL
- Since:
- 0.9.20
-
getNewsStatus
-