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.

About | Sitemap | Contact