CESE 1.4.7

com.simulogic.cese.updates
Class UpdateFetcher

java.lang.Object
  extended by com.simulogic.cese.updates.UpdateFetcher

public class UpdateFetcher
extends java.lang.Object

Fetches update information and changelogs


Constructor Summary
UpdateFetcher()
           
 
Method Summary
 java.lang.String fetchChangelog()
          Fetch changelog information
 void fetchUpdate()
          Fetch update information
 java.lang.String getLink()
          Returns
 java.lang.String getPubdate()
          Returns
 java.lang.String getTitle()
          Returns
 boolean isnewVersionAvailable()
          Returns true if new version is available
 boolean isUpdateTime()
          Returns true if it is time to check for updates
 void setLink(java.lang.String link)
          Sets
 void setPubdate(java.lang.String pubdate)
          Sets
 void setTitle(java.lang.String title)
          Sets
 void setUpdateTime()
          Saves current time for updates
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateFetcher

public UpdateFetcher()
Method Detail

fetchUpdate

public void fetchUpdate()
Fetch update information


fetchChangelog

public java.lang.String fetchChangelog()
Fetch changelog information

Returns:
changelog string

isnewVersionAvailable

public boolean isnewVersionAvailable()
Returns true if new version is available

Returns:
true if new version is available

setUpdateTime

public void setUpdateTime()
Saves current time for updates


isUpdateTime

public boolean isUpdateTime()
Returns true if it is time to check for updates

Returns:
true if it is time to check for updates

setTitle

public void setTitle(java.lang.String title)
Sets

Parameters:
title - the title to set

getTitle

public java.lang.String getTitle()
Returns

Returns:
the title

setLink

public void setLink(java.lang.String link)
Sets

Parameters:
link - the link to set

getLink

public java.lang.String getLink()
Returns

Returns:
the link

setPubdate

public void setPubdate(java.lang.String pubdate)
Sets

Parameters:
pubdate - the pubdate to set

getPubdate

public java.lang.String getPubdate()
Returns

Returns:
the pubdate

CESE 1.4.7

Copyright (c) 1999 - 2007 Cell Electrophysiology Simulation Environment (CESE). All rights reserved.