摘要: 使用ctrl+shift+r进入全局替换,勾选regex,输入正则表达式:^import com.+\.\*;,点击 进入Settings设置自动使用import .*;的阈值 并勾选自动import 点击BuidProject,IDEA会进行自动import,但不会使用import .*;的格式, 阅读全文
posted @ 2020-06-19 10:58 cqutwangyu 阅读(1912) 评论(0) 推荐(0) 编辑
摘要: 1、properties配置文件读取 1 public class PropertyUtil { 2 private static String RESOURCE_NAME = "conf/sys.properties"; 3 private static Properties properties 阅读全文
posted @ 2020-06-19 10:49 cqutwangyu 阅读(2889) 评论(0) 推荐(0) 编辑