How can I open a file in a way that it prevents other application from reading or writing to the same file?

John Zukowski

Use the lock() of the FileChannel class. Prior to Java 1.4, there was no standard way.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.