摘要: 查看源代码: 1 /** 2 * 判断文件是否为图片文件(GIF,PNG,JPG) 3 * @param srcFileName 4 * @return 5 */ 6 public static boolean isImage(File srcFilePath) { 7 FileInputStream imgFile = null; 8 byte[] b = new byte[10]; 9 int l = -1;10 try {11 imgFile = ne... 阅读全文
posted @ 2012-04-10 10:29 tovep 阅读(4198) 评论(0) 推荐(0) 编辑