public boolean isGeneratedBinaryResource ( String resourcePath ) { boolean isGeneratedImage = false ; ResourceGenerator generator = resolveResourceGenerator ( resourcePath ) ; if ( generator != null && binaryResourceGeneratorRegistry . contains ( generator ) ) { isGeneratedImage = true ; } return isGeneratedImage ; }
Returns true if the generator associated to the binary resource path is an Image generator .