java.lang.Object | |
↳ | com.microstrategy.utils.ClassFinder |
This ia a utility class for finding classes.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ClassFinder() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static Set |
findClasses(String clPath, String packStr, Class baseClass)
Finds all classes available in the clPath classpas that belong to specified
set of packages and are type-compatible with specified class
baseClass . | ||||||||||
static Set |
findClasses(String packStr, Class baseClass)
Finds all classes available in the CLASSPATH that belong to specified
set of packages and are type-compatible with specified class
baseClass . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Finds all classes available in the clPath classpas that belong to specified
set of packages and are type-compatible with specified class baseClass
.
If baseClass
is a class then all returned classes shall be its subclasses.
If baseClass
is an interface then all returned classes shall implement it.
The method accepts only concrete classes. All interfaces and abstract classes
are ignored.
clPath | a classpath where to look for classes. |
---|---|
packStr | a string containing semicolon separated list of Java packages where to look for classes |
baseClass | a base class or interface. If baseClass is a class then all
returned classes shall be its subclasses. If baseClass is
an interface then all returned classes shall implement it. |
Finds all classes available in the CLASSPATH that belong to specified
set of packages and are type-compatible with specified class baseClass
.
If baseClass
is a class then all returned classes shall be its subclasses.
If baseClass
is an interface then all returned classes shall implement it.
The method accepts only concrete classes. All interfaces and abstract classes
are ignored.
packStr | a string containing semicolon separated list of Java packages where to look for classes |
---|---|
baseClass | a base class or interface. If baseClass is a class then all
returned classes shall be its subclasses. If baseClass is
an interface then all returned classes shall implement it. |