SyntaxFix
Write A Post
Hire A Developer
Questions
Please stick to the nio API to perform these checks
import java.nio.file.*; static Boolean isDir(Path path) { if (path == null || !Files.exists(path)) return false; else return Files.isDirectory(path); }