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

Need help in packaging app using TideSDK on Windows -

java - Why does my date parsing return a weird date? -