Path representa Java de arquivo ou diretório
Files.isDirectory(fileOrFolder)
Outstanding Owl
Files.isDirectory(fileOrFolder)