docs: public List<CmsResource> getResourcesInFolder(String resourcename, CmsResourceFilter filter) throws CmsException {
  
          List<CmsResource> list = new ArrayList<CmsResource>();
  
          // read children existing in the VFS
          try {
              list.addAll(m_cms.getResourcesInFolder(resourcename, filter));
          } catch (CmsException ex) {
              //noop
          }
  
          // iterate through all wrappers and call "addResourcesToFolder" and add the results to the list
          List<I_CmsResourceWrapper> wrappers = getWrappers();
          Iterator<I_CmsResourceWrapper> iter1 = wrappers.iterator();
          while (iter1.hasNext()) {
              I_CmsResourceWrapper wrapper = iter1.next();
              List<CmsResource> added = wrapper.addResourcesToFolder(m_cms, resourcename, filter);
              if (added != null) {
                  list.addAll(added);
              }
          }
  
          // create a new list to add all resources
          ArrayList<CmsResource> wrapped = new ArrayList<CmsResource>();
  
          // eventually wrap the found resources
          Iterator<CmsResource> iter2 = list.iterator();
          while (iter2.hasNext()) {
              CmsResource res = iter2.next();
  
              // correct the length of the content if an UTF-8 marker would be added later
              if (needUtf8Marker(res) && !startsWithUtf8Marker(res)) {
                  CmsWrappedResource wrap = new CmsWrappedResource(res);
                  wrap.setLength(res.getLength() + CmsResourceWrapperUtils.UTF8_MARKER.length);
  
                  res = wrap.getResource();
              }
  
              // get resource type wrapper for the resource
              I_CmsResourceWrapper resWrapper = getResourceTypeWrapper(res);
  
              if (resWrapper != null) {
  
                  // adds the wrapped resources
                  wrapped.add(resWrapper.wrapResource(m_cms, res));
              } else {
  
                  // add the resource unwrapped
                  wrapped.add(res);
              }
          }
  
          // sort the wrapped list correctly
          Collections.sort(wrapped, I_CmsResource.COMPARE_ROOT_PATH_IGNORE_CASE_FOLDERS_FIRST);
  
          return wrapped;
      }