com.jfw.update
Class Check4Update

java.lang.Object
  extended by com.jfw.scheduler.ScheduleBean
      extended by com.jfw.update.Check4Update

public final class Check4Update
extends ScheduleBean

This schedule bean is used for read the update url. The url return the history of versions of the applications and the urls to use for download an update.


Field Summary
 
Fields inherited from class com.jfw.scheduler.ScheduleBean
properties
 
Constructor Summary
Check4Update()
          Create a new instance.
Check4Update(java.lang.String updateUrl)
          Create a new instance.
 
Method Summary
static java.util.ArrayList getFileSizeList()
          Get attribute fileSizeList.
static java.lang.String getUpdateString()
          Get attribute updateString.
static java.util.ArrayList getUpdateUrlList()
          Get attribute updateUrlList.
static java.util.ArrayList getVersionList()
          Get attribute versionList.
 void start()
          Start the schedule bean.
 
Methods inherited from class com.jfw.scheduler.ScheduleBean
addError, getAdvance, sendEmail, setAdvance, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Check4Update

public Check4Update()
Create a new instance.


Check4Update

public Check4Update(java.lang.String updateUrl)
Create a new instance.

Parameters:
updateUrl - the url to use for get the file with the updates information. Set the attribute updateUrl.
Method Detail

start

public void start()
           throws java.lang.Throwable
Start the schedule bean. Call methods getUrl() and setData().

Specified by:
start in class ScheduleBean
Throws:
java.lang.Throwable

getUpdateString

public static java.lang.String getUpdateString()
Get attribute updateString.

Returns:
attribute updateString.

getVersionList

public static java.util.ArrayList getVersionList()
Get attribute versionList.

Returns:
attribute versionList.

getUpdateUrlList

public static java.util.ArrayList getUpdateUrlList()
Get attribute updateUrlList.

Returns:
attribute updateUrlList.

getFileSizeList

public static java.util.ArrayList getFileSizeList()
Get attribute fileSizeList.

Returns:
attribute fileSizeList.