Android File Exist isFileExist(String folder, String fileName)

Here you can find the source of isFileExist(String folder, String fileName)

Description

is File Exist

Declaration

public static boolean isFileExist(String folder, String fileName) 

Method Source Code

//package com.java2s;

import java.io.File;

public class Main {

    public static boolean isFileExist(String folder, String fileName) {
        boolean bool = false;
        bool = new File(folder, fileName).exists();
        return bool;
    }/*from  w  w  w  .  j a  va  2 s .com*/

    public static boolean isFileExist(String fileName) {
        boolean bool = false;
        bool = new File(fileName).exists();
        return bool;
    }
}

Related

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