commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 李锐 <ru...@lifecarenetworks.com>
Subject [IO]Should I use LockableFileWriter?
Date Wed, 11 Feb 2009 03:25:05 GMT
Hey guys! 
I want to create a file using commons-io-LockableFileWriter.  I found that
java.io.File.deleteOnExit() is used for file-locking. 
Java API says that:
this method should not be used for file-locking, as the resulting protocol
cannot be made to work reliably.

So, should I use LockableFileWriter?


Rui Li


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message