com.fastchar.extjs.accepter.FastExtMenuXmlAccepter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fastchar-extjs Show documentation
Show all versions of fastchar-extjs Show documentation
FastChar-ExtJs is a Java Web framework that uses extjs libraries.Quickly build a background management system
package com.fastchar.extjs.accepter;
import com.fastchar.core.FastEngine;
import com.fastchar.extjs.FastExtConfig;
import com.fastchar.interfaces.IFastScannerAccepter;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
public class FastExtMenuXmlAccepter implements IFastScannerAccepter {
public static List MENU_XML_PATH_LIST = new ArrayList<>();
@Override
public void onScannerClass(FastEngine engine, Class> scannedClass) throws Exception {
}
@Override
public void onScannerFile(FastEngine engine, File file) throws Exception {
if (file.getName().toLowerCase().startsWith(FastExtConfig.getInstance().getMenuPrefix())
&& file.getName().toLowerCase().endsWith(".xml")) {
MENU_XML_PATH_LIST.add(file.getAbsolutePath());
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy