public static String getLocation(String providerName) {
        for (String key : map.keySet()) {
            if (providerName.startsWith(key)) {
                return map.get(key);
            }
        }

        return null;
    }
public static String getLocation ( String providerName ) { for ( String key : map . keySet ( ) ) { if ( providerName . startsWith ( key ) ) { return map . get ( key ) ; } } return null ; }
Gets the sanitized location of an offering

@param providerName the name of the provider
@return the sanitized location string if sanitizable, null otherwise