public static final boolean isFolderType(String typeName) {

        try {
            return OpenCms.getResourceManager().getResourceType(typeName).isFolder();
        } catch (CmsLoaderException e) {
            throw new CmsIllegalArgumentException(
                Messages.get().container(Messages.ERR_UNKNOWN_RESOURCE_TYPE_1, typeName),
                e);
        }
    }
public static final boolean isFolderType ( String typeName ) { try { return OpenCms . getResourceManager ( ) . getResourceType ( typeName ) . isFolder ( ) ; } catch ( CmsLoaderException e ) { throw new CmsIllegalArgumentException ( Messages . get ( ) . container ( Messages . ERR_UNKNOWN_RESOURCE_TYPE_1 , typeName ) , e ) ; } }
Returns <code>true</code> if the given resource type name describes a folder type.<p>

@param typeName the resource type name to check

@return true if the given resource type name describes a folder type