net.i2p.router.web
Class ConfigUpdateHelper

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

public class ConfigUpdateHelper
extends HelperBase


Field Summary
 
Fields inherited from class net.i2p.router.web.HelperBase
_context, _out, PROP_ADVANCED
 
Constructor Summary
ConfigUpdateHelper()
           
 
Method Summary
 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 point
 String 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 change
 String getUpdateThroughProxy()
           
 String getUpdateUnsigned()
           
 String getUpdateURL()
           
 String getZipURL()
           
 void setContextId(String contextId)
          hook this so we can call dontInstall() once after getting a context
 boolean updateAvailable()
           
 
Methods inherited from class net.i2p.router.web.HelperBase
_t, _t, _t, _x, isAdvanced, ngettext, storeWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigUpdateHelper

public ConfigUpdateHelper()
Method Detail

setContextId

public void setContextId(String contextId)
hook this so we can call dontInstall() once after getting a context

Overrides:
setContextId in class HelperBase
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

public String getNewsURL()

getNewsURL

public 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 point


getUpdateURL

public String getUpdateURL()

getProxyHost

public String getProxyHost()

getProxyPort

public String getProxyPort()

getUpdateThroughProxy

public String getUpdateThroughProxy()

getNewsThroughProxy

public String getNewsThroughProxy()
Since:
0.9.9

getUpdateUnsigned

public String getUpdateUnsigned()

getUpdateDevSU3

public String getUpdateDevSU3()
Since:
0.9.20

getRefreshFrequencySelectBox

public String getRefreshFrequencySelectBox()

getUpdatePolicySelectBox

public String getUpdatePolicySelectBox()
Right now the jsp hides the whole select box if _dontInstall is true but this could change


getTrustedKeys

public String getTrustedKeys()

getZipURL

public String getZipURL()

getDevSU3URL

public String getDevSU3URL()
Since:
0.9.20

getNewsStatus

public String getNewsStatus()