private void readResources(Project project, HashMap<BigInteger, ProjectCalendar> calendarMap)
   {
      Project.Resources resources = project.getResources();
      if (resources != null)
      {
         for (Project.Resources.Resource resource : resources.getResource())
         {
            readResource(resource, calendarMap);
         }
      }
   }
private void readResources ( Project project , HashMap < BigInteger , ProjectCalendar > calendarMap ) { Project . Resources resources = project . getResources ( ) ; if ( resources != null ) { for ( Project . Resources . Resource resource : resources . getResource ( ) ) { readResource ( resource , calendarMap ) ; } } }
This method extracts resource data from an MSPDI file.

@param project Root node of the MSPDI file
@param calendarMap Map of calendar UIDs to names