jQuery in Action, 3rd edition
The moose likes Java in General and the fly likes Lock a folder in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Lock a folder in Java" Watch "Lock a folder in Java" New topic

Lock a folder in Java


Joined: Aug 23, 2008
Posts: 3
I want to lock a folder in java, so that the folder won't be
accessible to anyone through the operating system?
How to achieve this function in java?
Any API (class or method) for the same?
harshvardhan ojha
Ranch Hand

Joined: Jul 26, 2007
Posts: 157

take a look at file lock
I agree. Here's the link: http://aspose.com/file-tools
subject: Lock a folder in Java
It's not a secret anymore!