code: @Override
      public List<CachedResource> getResources() {
          SystemConfiguration config = getSystemConfiguration();
          File cacheDirectory = config.getCacheDirectory();
  
          List<CachedResource> cachedResource = new ArrayList<CachedResource>();
  
          for (File cacheSubDirectory : cacheDirectory.listFiles()) {
              if (cacheSubDirectory.isDirectory()) {
                  ResourceType resourceType = ResourceType
                          .fromFolder(cacheSubDirectory
                                  .getName());
  
                  // if the resource type could not be determined, skip this folder
                  if (resourceType == null) {
                      continue;
                  }
  
                  findResourcesOfType(cacheSubDirectory, resourceType,
                          cachedResource);
              }
          }
  
          return cachedResource;
      }
docs: {@inheritDoc}