Would you like to copy the permanent link to your clipboard?
Permanent link:
https://jazz.net/forum/questions/209594/lock-a-file-through-java-api/209707