You need to use java NIO.2 features.
NIO.2 comes with BasicFileAttributeView.
BasicFileAttributeView supports following attributes to get the information
"basic:creationTime” The exact time when the file was created.
“basic:lastAccessTime” The last time when the file was accesed.
“basic:lastModifiedTime” The time when the file was last modified.
It seems there is no Change time (Change time gets updated when the file attributes are changed, like changing the owner, changing the permission or moving it to another filesystem, but will also be updated when you modify a file.) option available in java.
But We can achive through directly execute unix command and parse the result.Sample code snippets
String command [] = String new String [] {"stat" , "filename"} ;
Process process = new ProcessBuilder(args).start();
InputStream is = process.getInputStream();
InputStreamReader isr = new InputStreamReader(is);
BufferedReader br = new BufferedReader(isr);