Android File Exist isFileExist(String path)

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


is File Exist


public static boolean isFileExist(String path) 

Method Source Code

//package com.java2s;

public class Main {
    public static boolean isFileExist(String path) {
        File temp = new File(path);

        return temp.exists();
    }//w ww  .  ja v a 2s  .  com


  1. getExistingFile(String path, boolean mustBeReadable, boolean mustBeWritable, boolean isDirectory)
  2. isExist(String path)
  3. isFileExist(String fileName)
  4. isFileExist(String fileName)
  5. isFileExist(String folder, String fileName)
  6. isFileExist(String path)
  7. isFileExist(String path, String fileName)
  8. isFileExist(String pathAndFileName)
  9. judgeFileExist(String p_sFilePath)