Android File Exist isFileExist(String path, String fileName)

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

Description

is File Exist

Declaration

public static boolean isFileExist(String path, String fileName) 

Method Source Code

//package com.java2s;

import java.io.File;

public class Main {
    public static boolean isFileExist(String path, String fileName) {
        File file = new File(path + fileName);
        return file.exists();
    }//from  w ww. j  a va 2s  .  co  m

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

Related

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