AW: [opencms-dev] set last modified of a file

Arno Illmann, e-Commerce Team SO AIllmann at Actebis.com
Wed Apr 28 08:56:01 CEST 2004


Hi,

... I tried:

com.opencms.file.CmsObject oFile = new com.opencms.file.CmsObject();
oFile.doTouch( "/dir/dir/file.html", System.currentTimeMillis() );

and also tried getting the CmsObject from the JspActionElement too, but both
throw "...doTouch(java.lang.String,long) has protected access in
com.opencms.file.CmsObject".

Can someone please point me out what the background is here?

Thanks in Advance,
Arno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040428/91906417/attachment.htm>


More information about the opencms-dev mailing list