private static void listResourceNotes ( ProjectFile file ) { for ( Resource resource : file . getResources ( ) ) { String notes = resource . getNotes ( ) ; if ( notes . length ( ) != 0 ) { System . out . println ( "Notes for " + resource . getName ( ) + ": " + notes ) ; } } System . out . println ( ) ; }
This method lists any notes attached to resources .