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

matlab - Deleting rows with specific rules -

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