[opencms-dev] Checking the existance of e resource

Claus Priisholm cpr at codedroids.com
Thu Oct 6 20:54:10 CEST 2005


Use existsResource(String) - see 
http://www.codedroids.com/javadocs/opencms/build_6_0_0/docs/api/org/opencms/file/CmsObject.html

Daniel Wiesner wrote:
> hello,
> 
> because cms.readFileHeader(resourcename) is deprecated ( from 
> http://mail.opencms.org/pipermail/opencms-dev/2003q3/006219.html ) I 
> look for another way to check the existance of a resource.
> 
> 
> regards
> Daniel
> 
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 

-- 
Claus Priisholm, CodeDroids ApS
Phone: +45 48 22 46 46
cpr (you know what) codedroids.com - http://www.codedroids.com
cpr (you know what) interlet.dk - http://www.interlet.dk
--
Javadocs and other OpenCms stuff: 
http://www.codedroids.com/community/opencms



More information about the opencms-dev mailing list