HOMEWORK 8-------CS332

Write a class named URLMonitor, whose job is to check periodically a web page to detect changes.Each time that it monitors the page, it writes in a log file, saying: "NO CHANGES DETECTED" or "NEWSTUFF" and the date at which it has performed its check.

The class accepts 2 parameters from the command line,the URL and the periodicity of the checking expressed in minutes. (HINT: use both URLDemo and TimerDemo to build your class)