Package noaa.coastwatch.net
Class UpdateCheck
java.lang.Object
noaa.coastwatch.net.UpdateCheck
The
UpdateCheck
class checks for updates of the
CoastWatch utilities software package online. The check generates
a message if an update is available.- Since:
- 3.1.7
- Author:
- Peter Hollemans
-
Constructor Summary
ConstructorDescriptionUpdateCheck
(String tool) Creates a new update check which checks a pre-defined server for a software update. -
Method Summary
Modifier and TypeMethodDescriptionGets the update message, or null if there is no update message available.static void
Tests this class.
-
Constructor Details
-
UpdateCheck
Creates a new update check which checks a pre-defined server for a software update.- Parameters:
tool
- the name of the tool to check for an update.
-
-
Method Details
-
getMessage
Gets the update message, or null if there is no update message available. -
main
Tests this class.- Parameters:
argv
- the array of command line parameters.
-