摘要: 1、Java,整型转换为字符型方法,Integer.toString(intValue),其他以此类推2、获取相对路径下的文件方法: String filePath = TestIO1.class.getResource("pet.template").toString(); filePath = filePath.substring(filePath.indexOf("/"), filePath.length());3、public class slongte{ private static final slongte INSTANCE = new s 阅读全文
posted @ 2011-10-30 01:39 常伟华 阅读(209) 评论(0) 推荐(0) 编辑