[opencms-dev] resource type contsants

M Butcher mbutcher at grcomputing.net
Thu Jul 10 18:49:00 CEST 2003


Where are the constants that Resource.getType() refers to? They don't
seem to be in I_CmsConstants. I want to be able to figure out what type
of resource any given resource is.

Example:
--------

public boolean isJsp(CmsFile f) throws CmsException {
  if(f.getType() == ????) {
    return true;
  }
  return false;
}



-- 
M Butcher <mbutcher at grcomputing.net>



More information about the opencms-dev mailing list