Class ClassScanner
java.lang.Object
com.iohao.net.common.kit.ClassScanner
Classpath scanner that discovers classes matching a predicate filter.
Supports scanning from both file system directories and JAR archives.
- Author:
- 渔民小镇
- date:
- 2021-12-12
-
Constructor Summary
ConstructorsConstructorDescriptionClassScanner(String packagePath, Predicate<Class<?>> predicateFilter) Create a scanner for the given package with a class filter. -
Method Summary
-
Constructor Details
-
ClassScanner
-
-
Method Details
-
listScan
-
listResource
Return the resource URLs for the configured package path, deduplicated by URI.- Returns:
- list of unique resource URLs
- Throws:
IOException- if an I/O error occurs while reading resources
-