判断是否是目录 @param dirPath 目录路径 @return true: 是 false: 否
(String dirPath)
| 116 | * @return {@code true}: 是<br>{@code false}: 否 |
| 117 | */ |
| 118 | public static boolean isDir(String dirPath) { |
| 119 | return isDir(getFileByPath(dirPath)); |
| 120 | } |
| 121 | |
| 122 | /** |
| 123 | * 判断是否是目录 |
no test coverage detected