code: private static void processResourceFilter(ProjectFile project, Filter filter)
     {
        for (Resource resource : project.getResources())
        {
           if (filter.evaluate(resource, null))
           {
              System.out.println(resource.getID() + "," + resource.getUniqueID() + "," + resource.getName());
           }
        }
     }
docs: Apply a filter to the list of all resources, and show the results.
  
  @param project project file
  @param filter filter