Android File Exist isFileExist(String path)

Here you can find the source of isFileExist(String path)

Description

is File Exist

Declaration

public static boolean isFileExist(String path) 

Method Source Code

//package com.java2s;
import java.io.File;

public class Main {
    public static boolean isFileExist(String path) {
        boolean exist = false;
        if (path != null) {
            File f = new File(path);
            exist = f.exists();//w w  w  .ja v a2  s.  co m
        }
        return exist;
    }
}

Related

  1. isExist(String path)
  2. isFileExist(String fileName)
  3. isFileExist(String fileName)
  4. isFileExist(String folder, String fileName)
  5. isFileExist(String path)
  6. isFileExist(String path, String fileName)
  7. isFileExist(String pathAndFileName)
  8. judgeFileExist(String p_sFilePath)
  9. isExistFile(String name)