Android File Exist existFile(String folder)

Here you can find the source of existFile(String folder)

Description

exist File

Declaration

public static boolean existFile(String folder) 

Method Source Code

//package com.java2s;

import java.io.File;

public class Main {

    public static boolean existFile(String folder) {
        File file = new File(folder);
        if (file.isDirectory()) {
            return true;
        } else {/*ww w .j a v a2 s  .  c  o m*/
            return false;
        }
    }
}

Related

  1. checkExtFile(String ext, String fileName)
  2. checkFileExist(String path)
  3. exist(String filePath)
  4. exists(File file)
  5. exists(String fileName)
  6. exists(String fileName)
  7. exists(String fileName)