private static void listResources ( ProjectFile file ) { for ( Resource resource : file . getResources ( ) ) { System . out . println ( "Resource: " + resource . getName ( ) + " (Unique ID=" + resource . getUniqueID ( ) + ") Start=" + resource . getStart ( ) + " Finish=" + resource . getFinish ( ) ) ; } System . out . println ( ) ; }
This method lists all resources defined in the file .