public List < ManifestEntry > scan ( final Bundle bundle ) { NullArgumentException . validateNotNull ( bundle , "Bundle" ) ; final Dictionary bundleHeaders = bundle . getHeaders ( ) ; if ( bundleHeaders != null && ! bundleHeaders . isEmpty ( ) ) { return asManifestEntryList ( m_manifestFilter . match ( dictionaryToMap ( bundleHeaders ) ) ) ; } else { return Collections . emptyList ( ) ; } }
Scans bundle manifest for matches against configured manifest headers .