[opencms-dev] Best way to determine existence of file in VFS

Ernesto De Santis ernesto.desantis at colaborativa.net
Sat Mar 13 16:03:02 CET 2004


> your solution is exactly right, reading the file header and catching the
> Exception if it dosen't exist is the way to find out if a file exists or
> not.

Is rigth, but is ugly. I want a method "existFile" or "existResource" that
return a boolean result.

Bye
Ernesto.




More information about the opencms-dev mailing list