Class SWTUpdateChecker
java.lang.Object
com.biglybt.ui.swt.updater2.SWTUpdateChecker
- All Implemented Interfaces:
UpdatableComponent
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckForUpdate(UpdateChecker checker) intestimated maximum time to check whether an update is required or not in SECONDSgetName()Name of the updatable componentstatic voidprivate booleanprocessData(UpdateChecker checker, Update update, ResourceDownloader rd, InputStream data)
-
Field Details
-
LOGID
-
RES_EXPLICIT_FILE
- See Also:
-
-
Constructor Details
-
SWTUpdateChecker
public SWTUpdateChecker()
-
-
Method Details
-
initialize
public static void initialize() -
checkForUpdate
- Specified by:
checkForUpdatein interfaceUpdatableComponent
-
processData
private boolean processData(UpdateChecker checker, Update update, ResourceDownloader rd, InputStream data) -
getName
Description copied from interface:UpdatableComponentName of the updatable component- Specified by:
getNamein interfaceUpdatableComponent- Returns:
-
getMaximumCheckTime
public int getMaximumCheckTime()Description copied from interface:UpdatableComponentestimated maximum time to check whether an update is required or not in SECONDS- Specified by:
getMaximumCheckTimein interfaceUpdatableComponent- Returns:
-