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
 
Constructor Summary
ConfigUpdateHelper()
           
 
Method Summary
 boolean canInstall()
           
 java.lang.String getNewsStatus()
           
 java.lang.String getNewsURL()
           
static java.lang.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
 java.lang.String getProxyHost()
           
 java.lang.String getProxyPort()
           
 java.lang.String getRefreshFrequencySelectBox()
           
 java.lang.String getTrustedKeys()
           
 java.lang.String getUpdatePolicySelectBox()
          Right now the jsp hides the whole select box if _dontInstall is true but this could change
 java.lang.String getUpdateThroughProxy()
           
 java.lang.String getUpdateUnsigned()
           
 java.lang.String getUpdateURL()
           
 java.lang.String getZipURL()
           
 void setContextId(java.lang.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
_, _, _, _, _x, setWriter
 
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(java.lang.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 java.lang.String getNewsURL()

getNewsURL

public static java.lang.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 java.lang.String getUpdateURL()

getProxyHost

public java.lang.String getProxyHost()

getProxyPort

public java.lang.String getProxyPort()

getUpdateThroughProxy

public java.lang.String getUpdateThroughProxy()

getUpdateUnsigned

public java.lang.String getUpdateUnsigned()

getRefreshFrequencySelectBox

public java.lang.String getRefreshFrequencySelectBox()

getUpdatePolicySelectBox

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


getTrustedKeys

public java.lang.String getTrustedKeys()

getZipURL

public java.lang.String getZipURL()

getNewsStatus

public java.lang.String getNewsStatus()