boolean function ( File arg0 ) { if ( ! arg0 . exists ( ) ) { return true ; } if ( ! arg0 . isDirectory ( ) ) { return false ; } return arg0 . listFiles ( ) . length == 0 ; }
returns true if the file does n't exist , false if it is not a directory . otherwise checks if directory has any files/subdirs . concode_field_sep String NEW_LINE concode_field_sep String compressPath concode_elem_sep String getExtension concode_elem_sep IStatus createSymlink concode_elem_sep boolean isDirectoryAccessible concode_elem_sep String getRandomFileName concode_elem_sep String getPermissions concode_elem_sep File findFile concode_elem_sep File createTempFile concode_elem_sep IPath getTempDirectory concode_elem_sep int countFiles concode_elem_sep boolean isZipFile concode_elem_sep List<File> gatherFilesFromCommandLineArguments concode_elem_sep boolean canCreateSubdir concode_elem_sep String compressLeadingPath concode_elem_sep boolean isValidDirectory concode_elem_sep IStatus chmod concode_elem_sep boolean isSymlink concode_elem_sep boolean deleteRecursively