isFile():判断是否是文件,也可能是文件或者目录
exists():判断该文件是否存在
File类中isFile与exists的区别
猜你喜欢
转载自blog.csdn.net/qq_39438055/article/details/83903613
今日推荐
周排行