You can't. The only thing you can do is get the last modification time with lastModified()
This information is OS specific. If you really need that info, you'll need to use native libraries.
JConfig looks like a nice solution for your problem:
http://tolstoy.com/samizdat/jconfig.html