Hey, Svoy. I found out that the UNIX machine is absolutely not necessary, the java.io.File has the methods mkdir, list, delete, corresponding to mkdir, ls, rm of UNIX. I have already used it yesterday in my jsp project under Linux, works perfectly. You can also try the renameTo method for moving files/folders, but I can't guarantee the result. As for measuring time, I guess threads are indeed a good idea, I just warn you, that up to my experience, the output in new threads doesn't work properly.
|