
This class has a getTemperatureAndWindSpeed() function
that is passed a String containing the 4-character ICAO
code and returns a space-delimited String containing
the ICAO code, the temperature (in degrees Farenheit), and the wind
speed (in mi/hr). To use this class, you must have an active Internet
connection.
Next, make a copy of your working ChillMapper.java file
for safe keeping.
ChillMapper class so that, if
there are multiple command-line arguments and those that should
be a String representation of a double value
can't be converted into a double, it treats each of them as
an ICAO code and downloads and displays real-time wind chill values
for each of the weather stations.
For example, is the command-line arguments are KSHD 5.0 13.0
it should work as before. If, instead, the command-line arguments are
KCHO KSHD KIAD or KCHO KSHD it should
retrieve real-time information for each of the stations and display the
calculated wind chills on the map.
Copyright 2013