Package com.biglybt.ui.swt.updater2
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 TypeMethodDescriptionvoid
checkForUpdate
(UpdateChecker checker) int
estimated maximum time to check whether an update is required or not in SECONDSgetName()
Name of the updatable componentstatic void
private boolean
processData
(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:
checkForUpdate
in interfaceUpdatableComponent
-
processData
private boolean processData(UpdateChecker checker, Update update, ResourceDownloader rd, InputStream data) -
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:
-