Java File Exist doesExist(String fname)

Here you can find the source of doesExist(String fname)

Description

does Exist

License

Open Source License

Declaration

public static boolean doesExist(String fname) 

Method Source Code


//package com.java2s;

import java.io.*;

public class Main {
    public static boolean doesExist(String fname) {
        File f = new File(fname);
        return f.exists();
    }/*from  w ww  .j  a v a2 s.co  m*/
}

Related

  1. doesExistsInside(File src, String fileName)
  2. fileExist(String _FileName, String _Path)
  3. fileExist(String cmdPath)
  4. fileExist(String p_filename)