//判断文件是否存在
public boolean fileIsExists(String strFile)
{
try
{
File f=new File(strFile);
if(!f.exists())
{
return false;
}
}
catch (Exception e)
{
return false;
}
return true;
}
android 判断文件是否存在
最新推荐文章于 2021-06-30 11:03:38 发布