It is possible to know the metadata of a file in java? and if it is, How to get the metadata of a file in java?
With Java 7 you have nio2 package, with new Path.class giving all you are looking for