Infolinks In Text Ads

Jun 23, 2010

How to get file exist or not in java code example

This method is used to check that file is exist or not on your given path.

 public static boolean getFileExist(String filePath)
    {
        File f = new File(filePath);
        return f.exists();
    }

No comments:

Post a Comment

LinkWithin

Related Posts Plugin for WordPress, Blogger...