摘要:
老说classpath,一直没弄清楚到底是那个路径,重新认识下 字面意思,class的path,class就是项目编译后的存放.class文件的地方,直观的在项目结构中就能看到 编译产生的target目录的classes文件以下就是 阅读全文
摘要:
加载项目properties文件的六种方法,其中四种都是通过Properties类加载inputStream读取,后两种通过ResourcesBundle类和其子类来加载 /** * 通过inputStream加载配置文件到properties对象 */ private void getProper 阅读全文