org.gudy.azureus2.update
Class UpdaterUtils

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

public class UpdaterUtils
extends Object

Utility functions for Updater Plugin.

Moved from UpdateUpdateChecker to reduce (cyclical) references


Field Summary
protected static String AEFEATMAN_PLUGIN_ID
           
static String AZUPDATER_PLUGIN_ID
           
static String AZUPDATERPATCHER_PLUGIN_ID
           
protected static String AZUPNPAV_PLUGIN_ID
           
 
Constructor Summary
UpdaterUtils()
           
 
Method Summary
static void checkBootstrapPlugins()
           
static boolean disableNativeCode(String version)
           
static boolean ensurePluginPresent(String id, String cla, String name)
           
protected static File getPropsIfNotPresent(String id, boolean use_shared)
           
static String getUpdaterPluginVersion()
           
protected static void writePluginProperties(File target, 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 String AZUPDATER_PLUGIN_ID

AZUPDATERPATCHER_PLUGIN_ID

public static String AZUPDATERPATCHER_PLUGIN_ID

AZUPNPAV_PLUGIN_ID

protected static String AZUPNPAV_PLUGIN_ID

AEFEATMAN_PLUGIN_ID

protected static String AEFEATMAN_PLUGIN_ID
Constructor Detail

UpdaterUtils

public UpdaterUtils()
Method Detail

disableNativeCode

public static boolean disableNativeCode(String version)

checkBootstrapPlugins

public static void checkBootstrapPlugins()

ensurePluginPresent

public static boolean ensurePluginPresent(String id,
                                          String cla,
                                          String name)

writePluginProperties

protected static void writePluginProperties(File target,
                                            String[] lines)

getPropsIfNotPresent

protected static File getPropsIfNotPresent(String id,
                                           boolean use_shared)

getUpdaterPluginVersion

public static String getUpdaterPluginVersion()