Package com.biglybt.ui.swt.updater2
Class SWTUpdateChecker
- java.lang.Object
-
- com.biglybt.ui.swt.updater2.SWTUpdateChecker
-
- All Implemented Interfaces:
UpdatableComponent
public class SWTUpdateChecker extends java.lang.Object implements UpdatableComponent
-
-
Field Summary
Fields Modifier and Type Field Description private static LogIDs
LOGID
static java.lang.String
RES_EXPLICIT_FILE
-
Constructor Summary
Constructors Constructor Description SWTUpdateChecker()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkForUpdate(UpdateChecker checker)
int
getMaximumCheckTime()
estimated maximum time to check whether an update is required or not in SECONDSjava.lang.String
getName()
Name of the updatable componentstatic void
initialize()
private boolean
processData(UpdateChecker checker, Update update, ResourceDownloader rd, java.io.InputStream data)
-
-
-
Field Detail
-
LOGID
private static final LogIDs LOGID
-
RES_EXPLICIT_FILE
public static final java.lang.String RES_EXPLICIT_FILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
public static void initialize()
-
checkForUpdate
public void checkForUpdate(UpdateChecker checker)
- Specified by:
checkForUpdate
in interfaceUpdatableComponent
-
processData
private boolean processData(UpdateChecker checker, Update update, ResourceDownloader rd, java.io.InputStream data)
-
getName
public java.lang.String getName()
Description copied from interface:UpdatableComponent
Name of the updatable component- Specified by:
getName
in interfaceUpdatableComponent
- 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 interfaceUpdatableComponent
- Returns:
-
-