Class DefaultTypeUtils

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isAssignableFrom​(java.lang.String superType, java.lang.String subType)
      Checks type compatibility.
      protected java.lang.Class loadClass​(java.lang.String type, java.lang.ClassLoader loader)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultTypeUtils

        public DefaultTypeUtils()
    • Method Detail

      • isAssignableFrom

        public boolean isAssignableFrom​(java.lang.String superType,
                                        java.lang.String subType)
        Description copied from interface: CockpitTypeUtils
        Checks type compatibility. Customize it to support additional types other than java classes.
        Specified by:
        isAssignableFrom in interface CockpitTypeUtils
        Returns:
        true, if superType is assignable from subType, i.e. if superType really is a supertype of subtype.
      • loadClass

        protected java.lang.Class loadClass​(java.lang.String type,
                                            java.lang.ClassLoader loader)