Copying a File in Java
I just wrote a little monitor program. It watches one directory, and when it finds a file, copies it to a 2nd dir, processes it, and deletes it. Using Java's File object, the whole thing was simple, except for the copying part. Any reason why the standard Java libraries don't have a file copy method?
With Google's help, I found one online at Java Almanac, which was almost as handy, but why, pray tell, ... oh, never mind. Now where'd I put my Ruby book...
With Google's help, I found one online at Java Almanac, which was almost as handy, but why, pray tell, ... oh, never mind. Now where'd I put my Ruby book...
Labels: java