code: public CmsJspResourceWrapper getFolder() {
  
          CmsJspResourceWrapper result;
          if (isFolder()) {
              result = this;
          } else {
              result = readResource(getSitePathFolder());
          }
          return result;
      }
docs: Returns the folder of this resource.<p>
  
  In case this resource already is a {@link CmsFolder}, it is returned without modification.
  In case it is a {@link CmsFile}, the parent folder of the file is returned.<p>
  
  @return the folder of this resource
  
  @see #getSitePathFolder()