cn.featherfly.constant.ClassLoaderCfgFileLoader Maven / Gradle / Ivy
The newest version!
package cn.featherfly.constant;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import cn.featherfly.common.lang.ClassLoaderUtils;
/**
*
* CfgFileReaderClassLoaderImpl
*
*
* @author zhongj
*/
public class ClassLoaderCfgFileLoader implements CfgFileLoader {
/**
* {@inheritDoc}
*/
@Override
public List load(String filePath) {
List list = new ArrayList<>();
list.add(ClassLoaderUtils.getResource(filePath,
ClassLoaderCfgFileLoader.class));
return list;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy