JAVAフォルダは、新規フォルダを作成存在しない場合

	if (!(new File(desPath)).exists()) {
			(new File(desPath)).mkdirs();
		}
	if (!(new File(desPath)).exists()) {
			(new File(desPath)).mkdir();
		}

差異のノートMKDIR()とmkdirs()!

公開された217元の記事 ウォン称賛7 ビュー50000 +

おすすめ

転載: blog.csdn.net/Hodors/article/details/102870538