code: public String getSitePathFolder() {
  
          String result;
          if (isFile()) {
              result = getSitePathParentFolder();
          } else {
              result = getSitePath();
          }
          return result;
      }
docs: Returns the folder name of this resource in the current site.<p>
  
  In case this resource already is a {@link CmsFolder}, the folder path is returned without modification.
  In case it is a {@link CmsFile}, the parent folder name of the file is returned.<p>
  
  @return  the folder name of this resource in the current site