Prev: Buy Genuine Google Adsense Account only for Rs.200/- for indian people.
Next: Buy Genuine Google Adsense Account only for Rs.200/- for indian people.
From: Spud on 1 Apr 2010 16:24 My Java app needs to get permissions / ACLs for files on a Windows file server. I see that JDK 7 will have support for this in the upcoming java.nio.file package, but unfortunately I can't wait. From what I read, the release date won't be until September 2010, and I won't be able to force my customers to upgrade at that point anyway. Does anyone know of any existing libraries that have similar functionality?
From: Arne Vajhøj on 1 Apr 2010 16:34 On 01-04-2010 16:24, Spud wrote: > My Java app needs to get permissions / ACLs for files on a Windows file > server. > > I see that JDK 7 will have support for this in the upcoming > java.nio.file package, but unfortunately I can't wait. From what I read, > the release date won't be until September 2010, and I won't be able to > force my customers to upgrade at that point anyway. > > Does anyone know of any existing libraries that have similar functionality? I think you will need to fall back to C code and call that from your Java code via JNI. Arne
From: Roedy Green on 1 Apr 2010 22:42
On Thu, 01 Apr 2010 15:24:25 -0500, Spud <fake(a)fkfkfkf.com> wrote, quoted or indirectly quoted someone who said : >I see that JDK 7 will have support for this in the upcoming >java.nio.file package, but unfortunately I can't wait. From what I read, >the release date won't be until September 2010, and I won't be able to >force my customers to upgrade at that point anyway. > >Does anyone know of any existing libraries that have similar functionality? If you can't find such a library, you will have to write some platform-specific code in C++ to do it, and create some JNI glue to it. You might find my code to get the various Windows file time attributes a starting point. see http://mindprod.com/products.html#FILETIMES -- Roedy Green Canadian Mind Products http://mindprod.com If you tell a computer the same fact in more than one place, unless you have an automated mechanism to ensure they stay in sync, the versions of the fact will eventually get out of sync. |