public class IcyUpdater extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PARAM_ARCH |
static java.lang.String |
PARAM_VERSION |
Constructor and Description |
---|
IcyUpdater() |
Modifier and Type | Method and Description |
---|---|
static void |
checkUpdate(boolean silent)
Do the check update process
|
static void |
checkUpdate(boolean showProgress,
boolean auto)
Deprecated.
Use
checkUpdate(boolean) instead |
static boolean |
downloadAndSaveForUpdate(java.lang.String downloadPath,
java.lang.String savePath,
ProgressFrame frame,
boolean displayError) |
static boolean |
getWantUpdate() |
static boolean |
isCheckingForUpdate()
return true if we are currently checking for update
|
static boolean |
isUpdating()
return true if we are currently processing update
|
static boolean |
launchUpdater(boolean doUpdate,
boolean restart)
Launch the updater with the specified update and restart parameters
|
static void |
processCheckUpdate()
Check for application update process (synchronized method)
|
public static final java.lang.String PARAM_ARCH
public static final java.lang.String PARAM_VERSION
public IcyUpdater()
public static boolean getWantUpdate()
public static boolean isCheckingForUpdate()
public static boolean isUpdating()
public static void checkUpdate(boolean silent)
@Deprecated public static void checkUpdate(boolean showProgress, boolean auto)
checkUpdate(boolean)
insteadpublic static void processCheckUpdate()
public static boolean downloadAndSaveForUpdate(java.lang.String downloadPath, java.lang.String savePath, ProgressFrame frame, boolean displayError)
public static boolean launchUpdater(boolean doUpdate, boolean restart)