Package io.keikai.doc.io.schema.utils
Class Util
- java.lang.Object
-
- io.keikai.doc.io.schema.utils.Util
-
public class Util extends java.lang.ObjectInternal Use Only.Utility methods.
-
-
Constructor Summary
Constructors Constructor Description Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisTypeSupported(org.slf4j.Logger log, java.lang.Object o, java.lang.Class<?> cls, java.lang.String methodName)Returns whether the object is an instance of the specified class, if not, log an info.
-
-
-
Method Detail
-
isTypeSupported
public static boolean isTypeSupported(org.slf4j.Logger log, java.lang.Object o, java.lang.Class<?> cls, java.lang.String methodName)Returns whether the object is an instance of the specified class, if not, log an info.- Parameters:
log- the logger to log the infoo- the object to checkcls- the class currently supportedmethodName- the method name to show in the log- Returns:
- whether the object is an instance of the specified class
-
-