Class StringUtils
- java.lang.Object
-
- org.apache.calcite.adapter.splunk.util.StringUtils
-
public class StringUtils extends java.lang.Object
Utility methods for encoding and decoding strings for Splunk REST calls.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
StringUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<java.lang.String>
decodeList(java.lang.CharSequence encoded, char delim)
static java.lang.StringBuilder
encodeList(java.util.List<? extends java.lang.CharSequence> list, char delim)
static org.slf4j.Logger
getClassTracer(java.lang.Class clazz)
static void
main(java.lang.String[] args)
static boolean
parseBoolean(java.lang.String str, boolean defaultVal, boolean missingVal)
-
-
-
Method Detail
-
encodeList
public static java.lang.StringBuilder encodeList(java.util.List<? extends java.lang.CharSequence> list, char delim)
-
decodeList
public static java.util.List<java.lang.String> decodeList(java.lang.CharSequence encoded, char delim)
-
parseBoolean
public static boolean parseBoolean(java.lang.String str, boolean defaultVal, boolean missingVal)
-
main
public static void main(java.lang.String[] args)
-
getClassTracer
public static org.slf4j.Logger getClassTracer(java.lang.Class clazz)
-
-