Hi Keke,

I've implemented the suggested change. It will work only if CLAP resource is
file based. Checked in SVN trunk. Let me know if it works fine.

Best regards,
Jerome  

> -----Message d'origine-----
> De : keke [mailto:[EMAIL PROTECTED] 
> Envoyé : samedi 8 mars 2008 08:31
> À : [email protected]
> Objet : Re: ModificationDate of representation of static 
> resource using CLAP protocol
> 
> Actually classLoader gets a URL of a resource. 
> 
> 
> 
>       URL url = classLoader.getResource(Reference.decode(path));
>       
> 
> 
> We can either get the last modified date by calling 
> URL.openConnection().getLastModified() or create a File 
> instance out of that URL.
> 
> On Sat, Mar 8, 2008 at 3:16 PM, Rob Heittman 
> <[EMAIL PROTECTED]> wrote:
> > Does the classloader expose modification dates on classpath 
> resources?
> > 
> > 
> > 
> > On Sat, Mar 8, 2008 at 2:11 AM, keke <[EMAIL PROTECTED]> wrote:
> > > Everything works
> > > fine for me expect that modification date of 
> representation was not
> > > set by ClapClientHelper.
> > > 
> >  
> 
> 
> 
> -- 
> Cheers,
> Keke
> -----------------
> We paranoid love life
> 
> 

Reply via email to