org.gudy.azureus2.update
Class UpdaterUtils

java.lang.Object
  extended by org.gudy.azureus2.update.UpdaterUtils

public class UpdaterUtils
extends java.lang.Object

Utility functions for Updater Plugin.

Moved from UpdateUpdateChecker to reduce (cyclical) references


Field Summary
protected static java.lang.String AEFEATMAN_PLUGIN_ID
           
static java.lang.String AZUPDATER_PLUGIN_ID
           
static java.lang.String AZUPDATERPATCHER_PLUGIN_ID
           
protected static java.lang.String AZUPNPAV_PLUGIN_ID
           
 
Constructor Summary
UpdaterUtils()
           
 
Method Summary
static void checkBootstrapPlugins()
           
static boolean disableNativeCode(java.lang.String version)
           
static boolean ensurePluginPresent(java.lang.String id, java.lang.String cla, java.lang.String name)
           
protected static java.io.File getPropsIfNotPresent(java.lang.String id, boolean use_shared)
           
static java.lang.String getUpdaterPluginVersion()
           
protected static void writePluginProperties(java.io.File target, java.lang.String[] lines)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AZUPDATER_PLUGIN_ID

public static java.lang.String AZUPDATER_PLUGIN_ID

AZUPDATERPATCHER_PLUGIN_ID

public static java.lang.String AZUPDATERPATCHER_PLUGIN_ID

AZUPNPAV_PLUGIN_ID

protected static java.lang.String AZUPNPAV_PLUGIN_ID

AEFEATMAN_PLUGIN_ID

protected static java.lang.String AEFEATMAN_PLUGIN_ID
Constructor Detail

UpdaterUtils

public UpdaterUtils()
Method Detail

disableNativeCode

public static boolean disableNativeCode(java.lang.String version)

checkBootstrapPlugins

public static void checkBootstrapPlugins()

ensurePluginPresent

public static boolean ensurePluginPresent(java.lang.String id,
                                          java.lang.String cla,
                                          java.lang.String name)

writePluginProperties

protected static void writePluginProperties(java.io.File target,
                                            java.lang.String[] lines)

getPropsIfNotPresent

protected static java.io.File getPropsIfNotPresent(java.lang.String id,
                                                   boolean use_shared)

getUpdaterPluginVersion

public static java.lang.String getUpdaterPluginVersion()