jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Avila <pav...@openkm.com>
Subject Re: About FileDataStore mod-time update
Date Thu, 13 Oct 2011 06:34:00 GMT
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 <mueller@adobe.com> 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

Mime
View raw message