How can I open a file in a way that it prevents other application from reading or writing to the same file?
Created Jan 30, 2002
John Zukowski Use the lock() of the FileChannel class. Prior to Java 1.4, there was no standard way.
Created Jan 30, 2002