org.gudy.azureus2.platform.macosx
Class PlatformManagerUpdateChecker

java.lang.Object
  extended by org.gudy.azureus2.platform.macosx.PlatformManagerUpdateChecker
All Implemented Interfaces:
Plugin, UpdatableComponent

public class PlatformManagerUpdateChecker
extends java.lang.Object
implements Plugin, UpdatableComponent


Field Summary
protected  PluginInterface plugin_interface
           
static int RD_SIZE_RETRIES
           
static int RD_SIZE_TIMEOUT
           
static java.lang.String UPDATE_NAME
           
 
Constructor Summary
PlatformManagerUpdateChecker()
           
 
Method Summary
 void checkForUpdate(UpdateChecker checker)
           
 int getMaximumCheckTime()
          estimated maximum time to check whether an update is required or not in SECONDS
 java.lang.String getName()
          Name of the updatable component
 void initialize(PluginInterface _plugin_interface)
          This method is called when the Plugin is loaded by Azureus
protected  void installUpdate(UpdateChecker checker, Update update, ResourceDownloader rd, java.io.InputStream data)
           
protected  java.util.List splitMultiLine(java.lang.String indent, java.lang.String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UPDATE_NAME

public static final java.lang.String UPDATE_NAME
See Also:
Constant Field Values

RD_SIZE_RETRIES

public static final int RD_SIZE_RETRIES
See Also:
Constant Field Values

RD_SIZE_TIMEOUT

public static final int RD_SIZE_TIMEOUT
See Also:
Constant Field Values

plugin_interface

protected PluginInterface plugin_interface
Constructor Detail

PlatformManagerUpdateChecker

public PlatformManagerUpdateChecker()
Method Detail

initialize

public void initialize(PluginInterface _plugin_interface)
Description copied from interface: Plugin
This method is called when the Plugin is loaded by Azureus

Specified by:
initialize in interface Plugin
Parameters:
_plugin_interface - the interface that the plugin must use to communicate with Azureus

getName

public java.lang.String getName()
Description copied from interface: UpdatableComponent
Name of the updatable component

Specified by:
getName in interface UpdatableComponent
Returns:

getMaximumCheckTime

public int getMaximumCheckTime()
Description copied from interface: UpdatableComponent
estimated maximum time to check whether an update is required or not in SECONDS

Specified by:
getMaximumCheckTime in interface UpdatableComponent
Returns:

checkForUpdate

public void checkForUpdate(UpdateChecker checker)
Specified by:
checkForUpdate in interface UpdatableComponent

installUpdate

protected void installUpdate(UpdateChecker checker,
                             Update update,
                             ResourceDownloader rd,
                             java.io.InputStream data)

splitMultiLine

protected java.util.List splitMultiLine(java.lang.String indent,
                                        java.lang.String text)