SyntaxFix
Write A Post
Hire A Developer
Questions
If you can use Java NIO (JDK 1.4 or greater), then I think you're looking for java.nio.channels.FileChannel.lock()
java.nio.channels.FileChannel.lock()
FileChannel.lock()