You are right, lastAccessTime() isn't included until Java 7 :(

http://openjdk.java.net/projects/nio/javadoc/java/nio/file/attribute/BasicFileAttributes.html#lastAccessTime%28%29

On Thu, Oct 13, 2011 at 8:22 AM, Thomas Mueller <[email protected]> wrote:

> Hi,
>
> > Why don't check the "access time", instead of using the "modification
> time" for this? At least in UNIX / Linux you can check when a file was
> accesed last time.
>
> First of all, in Java you can't. Second, many file systems don't update
> that value.
>
> Regards,
> Thomas
>
>


-- 
OpenKM
http://www.openkm.com

Reply via email to