Android File Exist exists(String fileName)

Here you can find the source of exists(String fileName)

Description

exists

License

Apache License

Declaration

public static boolean exists(String fileName) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.io.*;

public class Main {
    public static boolean exists(String parent, String fileName) {
        return new File(parent, fileName).exists();
    }//from  w  w  w .jav a 2s .  c o m

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

Related

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