Class AbstractClassResolver

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<java.net.URL> getResources​(java.lang.String name)
      Tries to load all the resources by the name that is given.
      java.lang.Class<?> resolveClass​(java.lang.String className)
      Resolves a class by name (which may or may not involve loading it; thus the name class *resolver* not *loader*).
      • Methods inherited from class java.lang.Object

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

      • AbstractClassResolver

        public AbstractClassResolver()
    • Method Detail

      • resolveClass

        public final java.lang.Class<?> resolveClass​(java.lang.String className)
                                              throws java.lang.ClassNotFoundException
        Description copied from interface: IClassResolver
        Resolves a class by name (which may or may not involve loading it; thus the name class *resolver* not *loader*).
        Specified by:
        resolveClass in interface IClassResolver
        Parameters:
        className - Fully qualified classname to find
        Returns:
        Class
        Throws:
        java.lang.ClassNotFoundException
      • getResources

        public java.util.Iterator<java.net.URL> getResources​(java.lang.String name)
        Description copied from interface: IClassResolver
        Tries to load all the resources by the name that is given.
        Specified by:
        getResources in interface IClassResolver
        Returns:
        iterator over matching resources