Package 

Object ClassPathScanner


  • 
    public class ClassPathScanner
    
                        

    An utility class providing support for loading arbitrary subclasses available in the classpath.

    • Method Summary

      Modifier and Type Method Description
      final static <T extends Any> List<Class<out T>> subTypesOf(Class<T> superClass, String inPackage) This function loads all subtypes of the provided Java class that can be discovered on the current classpath.
      final <T extends Any> List<Class<out T>> subTypesOf(String inPackage)
      final static List<URL> resourcesMatching(String regex, String inPackage) This function returns a list of all the resources in a certain (optional) package matching a regular expression.
      final static List<InputStream> resourcesMatchingAsStream(String regex, String inPackage)
      • Methods inherited from class it.unibo.alchemist.ClassPathScanner

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait