docs: public static String replaceResources(String string, ResourceBundle reg, Map<String, Object> map, PropertyOwner propertyOwner, boolean systemProperties)
      {
          if (string != null)
              if (string.indexOf('{') == -1)
                  return string;
          return Utility.replaceResources(new StringBuilder(string), reg, map, propertyOwner, systemProperties).toString();
      }