> Is there any implementation of the UNIX function "stat" or "lstat" in
> pure Java (not JNI implementation) that mimics the UNIX version
> closely? Would appreciate any pointers on it. Thanks.
>
> Napi
Have you looked at Marc Rochkind's JTux? (http://basepath.com/aup/jtux/).

Signature
TechBookReport Java http://www.techbookreport.com/JavaIndex.html
napi - 05 May 2007 08:22 GMT
> > Is there any implementation of the UNIX function "stat" or "lstat" in
> > pure Java (not JNI implementation) that mimics the UNIX version
[quoted text clipped - 6 lines]
> --
> TechBookReport Javahttp://www.techbookreport.com/JavaIndex.html
I believe JTux is based on JNI. I'm interested in the 100% pure java
version.
Is there any? Cheers.
Napi
> Is there any implementation of the UNIX function "stat" or "lstat"
> in pure Java (not JNI implementation) that mimics the UNIX version
> closely?
How close is closely?
The File class contains methods to get much of the information
reported by stat.
/gordon
--