Package com.algolia.utils
Class StringUtils
java.lang.Object
com.algolia.utils.StringUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringEscape the given string to be used as URL query value.static StringparamToString(Object value) static StringpathFormat(String template, boolean escapeValues, Object... values)
-
Method Details
-
escape
Escape the given string to be used as URL query value.- Parameters:
str- String to be escaped- Returns:
- Escaped string
-
pathFormat
-
paramToString
-