Timer in a program, and Deleting a file
Posted on 2005-03-30
I need to set my program to check for files in a directory every 2 seconds and if something is there then I will process it otherwise wait. This program will basically run forever (or until the computer crashes).
I also need to know how to delete a file in Java. I am very new so forgive me for asking trivial questions.