protected Dictionary < ? , ? > getBundleHeaders ( String bundleName ) throws NotFoundException { final String sourceMethod = "getBundleHeaders" ; //$NON-NLS-1$ boolean isTraceLogging = log . isLoggable ( Level . FINER ) ; if ( isTraceLogging ) { log . entering ( BundleVersionsHashBase . class . getName ( ) , sourceMethod , new Object [ ] { bundleName } ) ; } Bundle result = "." . equals ( bundleName ) ? contributingBundle : bundleResolver . getBundle ( bundleName ) ; //$NON-NLS-1$ if ( result == null ) { throw new NotFoundException ( "Bundle " + bundleName + " not found." ) ; //$NON-NLS-1$ //$NON-NLS-2$ } if ( isTraceLogging ) { log . exiting ( BundleVersionsHashBase . class . getName ( ) , sourceMethod , result . getHeaders ( ) ) ; } return result . getHeaders ( ) ; }
Returns the bundle headers for the specified bundle .