Package com.algolia.utils
Class StringUtils
java.lang.Object
com.algolia.utils.StringUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
Escape the given string to be used as URL query value.static String
paramToString
(Object value) static String
pathFormat
(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
-