Package cn.thinkingdata.analytics.util
Class TDCommonUtil
- java.lang.Object
-
- cn.thinkingdata.analytics.util.TDCommonUtil
-
public class TDCommonUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description TDCommonUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidbuildData(Map<String,Object> data, String key, Object value)static intfastJsonSerializerFeature()static voidthrowEmptyException(String value, String exceptionMsg)is value empty or not
-
-
-
Method Detail
-
throwEmptyException
public static void throwEmptyException(String value, String exceptionMsg) throws InvalidArgumentException
is value empty or not- Parameters:
value- dataexceptionMsg- exception- Throws:
InvalidArgumentException
-
fastJsonSerializerFeature
public static int fastJsonSerializerFeature()
-
-