All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fastchar.interfaces.IFastScannerAccepter Maven / Gradle / Ivy

There is a newer version: 2.2.2
Show newest version
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