摘要:
public static void main(String[] args) { File f = new File("c://test.jpg"); if (f.exists()) { System.out.println(getFormatInFile(f)); } } // Returns t 阅读全文
posted @ 2017-02-12 21:29
一万年以前
阅读(5493)
评论(0)
推荐(0)
摘要:
Java 7 新的特性,判断文件的内容类型。 阅读全文
posted @ 2017-02-12 21:11
一万年以前
阅读(3281)
评论(0)
推荐(0)

浙公网安备 33010602011771号