Class StringUtils

java.lang.Object
com.algolia.utils.StringUtils

public class StringUtils extends Object
  • Method Details

    • escape

      public static String escape(String str)
      Escape the given string to be used as URL query value.
      Parameters:
      str - String to be escaped
      Returns:
      Escaped string
    • pathFormat

      public static String pathFormat(String template, boolean escapeValues, Object... values)
    • paramToString

      public static String paramToString(Object value)