public boolean isResourceBundleMatch ( Object objResource , Bundle bundle ) { Resource resource = ( Resource ) objResource ; return ( ( bundle . getSymbolicName ( ) . equals ( resource . getSymbolicName ( ) ) ) && ( isValidVersion ( bundle . getVersion ( ) , resource . getVersion ( ) . toString ( ) ) ) ) ; }
Does this resource match this bundle?