com.doyospy.core.lang.ClassScanner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of doyospy-all Show documentation
Show all versions of doyospy-all Show documentation
Doyospy是一个小而全的基于SpringBoot的java工具类库,通过静态方法封装,方便开发者使用,降低学习成本并提升工作效率。
The newest version!
package com.doyospy.core.lang;
import java.io.Serializable;
/**
* 类扫描器
*/
public class ClassScanner implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 包名
*/
private final String packageName;
/**
* 构造函数,默认UTF-8编码
*/
public ClassScanner() {
this(null);
}
/**
* 构造函数,默认UTF-8编码
* @param packageName 包名,所有包传入“”或者null
*/
public ClassScanner(String packageName) {
this.packageName = packageName;
}
// /**
// * 构造函数,默认UTF-8编码
// * @param packageName
// * @param classFilter
// */
// public ClassScanner(String packageName, Filter> classFilter) {
// this(packageName, classFilter, null);
// }
}