code: public static StringBuilder replaceResources(StringBuilder sb, ResourceBundle reg, Map<String, Object> map, PropertyOwner propertyOwner)
      {
          return Utility.replaceResources(sb, reg, map, propertyOwner, false);
      }
docs: Replace the {} resources in this string.
  Typically either reg or map are non-null (the null one is ignored)
  @param reg A resource bundle
  @param map A map of key/values
  @param strResource
  @return