com.limegroup.gnutella.update
Interface Updator


public interface Updator

This interface outlines the functions that an Updator object must perform, including such functions as setting the message to display to the user regarding the update, the url of any resources to download for the update, etc.


Method Summary
 void cancelUpdate()
          Cancel the update.
 void doUpdate()
          Perform the update operation.
 void setClassPath(java.lang.String classpath)
          Set the classpath that LimeWire should use to load the appropriate jar files.
 void setMainClass(java.lang.String mainClass)
          Set the main class for LimeWire to load on startup.
 void setMessageToDisplay(java.lang.String message)
          Set the message to display to the user.
 void setUpdateURL(java.lang.String url)
          Set the url to use for the update.
 

Method Detail

setMessageToDisplay

public void setMessageToDisplay(java.lang.String message)
Set the message to display to the user.


setUpdateURL

public void setUpdateURL(java.lang.String url)
Set the url to use for the update.


setClassPath

public void setClassPath(java.lang.String classpath)
Set the classpath that LimeWire should use to load the appropriate jar files.


setMainClass

public void setMainClass(java.lang.String mainClass)
Set the main class for LimeWire to load on startup.


doUpdate

public void doUpdate()
Perform the update operation.


cancelUpdate

public void cancelUpdate()
Cancel the update.