Locking file
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rekha_Andrews
Posted On:   Thursday, January 30, 2003 04:36 AM

How to lock a file that is being accessed by one process in an application inorder to prevent that file being accessed by another process in the same application.

Re: Locking file

Posted By:   AlessandroA_Garbagnati  
Posted On:   Thursday, January 30, 2003 06:05 AM

Hi,

If you are using Java 1.4, you can use the lock() method of the java.nio.channels.FileChannel class.
About | Sitemap | Contact