com.fastchar.interfaces.IFastScannerAccepter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fastchar Show documentation
Show all versions of fastchar Show documentation
FastChar is Web+ORM Framework in Java.
package com.fastchar.interfaces;
import com.fastchar.core.FastEngine;
import java.io.File;
/**
* 扫描接收器接口
*/
public interface IFastScannerAccepter {
/**
* 扫描到class类触发
* @param engine FastChar核心引擎
* @param scannedClass 扫描到的类
* @return 是否使用扫描的类
* @throws Exception 异常
*/
boolean onScannerClass(FastEngine engine, Class> scannedClass) throws Exception;
/**
* 扫描到文件触发
* @param engine FastChar核心引擎
* @param file 扫描到的文件
* @return 是否使用扫描的文件
* @throws Exception 异常
*/
boolean onScannerFile(FastEngine engine, File file) throws Exception;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy