• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I read a Locked file?

 
srinivas daroori
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to Lock a file using the java's latest functionality in j2sdk1.4.2 ( FileChannel.lock() ). My question is after acquiring the lock, can the owner who acquired the lock read into/write into the file which is locked?

Thanks!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!