/** * Check if path is a directory. If the OS/JRE supports symbolic links and * path is a symbolic link to a directory, this method returns false. * * @param path * a {@link java.io.File} object. * @return true if file is a directory, * @since 3.0 */ public boolean isDirectory(File path) { return FileUtils.isDirectory(path); }
/** * Check if path is a directory. If the OS/JRE supports symbolic links and * path is a symbolic link to a directory, this method returns false. * * @param path * a {@link java.io.File} object. * @return true if file is a directory, * @since 3.0 */ public boolean isDirectory(File path) { return FileUtils.isDirectory(path); }
/** * Check if path is a directory. If the OS/JRE supports symbolic links and * path is a symbolic link to a directory, this method returns false. * * @param path * @return true if file is a directory, * @since 3.0 */ public boolean isDirectory(File path) { return FileUtils.isDirectory(path); }
/** * @param path * @return {@code true} if the given file a directory * @deprecated Use * {@link Files#isDirectory(java.nio.file.Path, java.nio.file.LinkOption...)} * instead */ @Deprecated public static boolean isDirectory(File path) { return FileUtils.isDirectory(path); }