Unix's "stat" equivalent in Java?

N

napi

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
 
G

Gordon Beaton

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

--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top