public static final boolean isFolderType(int typeId) {

        try {
            return OpenCms.getResourceManager().getResourceType(typeId).isFolder();
        } catch (CmsLoaderException e) {
            if (LOG.isWarnEnabled()) {
                LOG.warn(Messages.get().getBundle().key(Messages.ERR_UNKNOWN_RESOURCE_TYPE_1, new Integer(typeId)), e);
            }
        }
        return false;
    }
public static final boolean isFolderType ( int typeId ) { try { return OpenCms . getResourceManager ( ) . getResourceType ( typeId ) . isFolder ( ) ; } catch ( CmsLoaderException e ) { if ( LOG . isWarnEnabled ( ) ) { LOG . warn ( Messages . get ( ) . getBundle ( ) . key ( Messages . ERR_UNKNOWN_RESOURCE_TYPE_1 , new Integer ( typeId ) ) , e ) ; } } return false ; }
Returns <code>true</code> if the given resource type id describes a folder type.<p>

@param typeId the resource type id to check

@return true if the given resource type id describes a folder type or false if it is no folder or an unknown type.