Class Util

java.lang.Object
io.keikai.doc.io.schema.utils.Util

public class Util extends Object
Internal Use Only.

Utility methods.

  • Constructor Details

    • Util

      public Util()
  • Method Details

    • isTypeSupported

      public static boolean isTypeSupported(org.slf4j.Logger log, Object o, Class<?> cls, 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 info
      o - the object to check
      cls - the class currently supported
      methodName - the method name to show in the log
      Returns:
      whether the object is an instance of the specified class