Spring經常使用工具方法備忘錄

1:加載配置文件spa

Resource resource = new ClassPathResource("log4j.properties");
Properties defaultStrategies = PropertiesLoaderUtils.loadProperties(resource);
相關文章
相關標籤/搜索