private void addBinaryResourcePath ( BinaryResourcesHandler binRsHandler , String resourcePath ) { try { String resultPath = CheckSumUtils . getCacheBustedUrl ( resourcePath , rsReaderHandler , jawrConfig ) ; binRsHandler . addMapping ( resourcePath , resultPath ) ; bundleMapping . put ( resourcePath , resultPath ) ; } catch ( IOException e ) { LOGGER . error ( "An exception occurs while defining the mapping for the file : " + resourcePath , e ) ; } catch ( ResourceNotFoundException e ) { LOGGER . error ( "Impossible to define the checksum for the resource '" + resourcePath + "'. Unable to retrieve the content of the file." ) ; } }
Add an binary resource path to the binary map