java.io.File.exists()でファイルの有無を判定する
サンプルコード
public static boolean fileExists(String path) {
File cft = new File(path);
return cft.exists();
}
Coding Changes the World
サンプルコード
public static boolean fileExists(String path) {
File cft = new File(path);
return cft.exists();
}