private Manifest addToList ( Resource resource ) { try { if ( resource != null && resource . exists ( ) ) { Manifest manifest = new ManifestEx ( resource ) ; manifests . add ( manifest ) ; return manifest ; } } catch ( Exception e ) { log . debug ( "Exception occurred reading manifest: " + resource ) ; } return null ; }
Adds the manifest referenced by the specified resource to the list .