java - Behaviour of lastAccessTime BasicFileAttributes.. -


i know should in order change return value of lastaccesstime

system.out.println("last access time is:"+basicattributes.lastaccesstime()); system.out.println("last modified time:"+basicattributes.lastmodifiedtime()); 

even though access file called readattributes on.. lastaccesstime() methods not update value time last accessed file.. using ubuntu , attribute should supported.. what's wrong that?

thanks in advance.

the operating system isn't obliged update directory every time access file. when close file.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -