public static ArrayList<File> getDirectoriesInDirectoryTree(String path) {
		File file = new File(path);
		return getContentsInDirectoryTree(file, "*", false, true);
	}
public static ArrayList < File > getDirectoriesInDirectoryTree ( String path ) { File file = new File ( path ) ; return getContentsInDirectoryTree ( file , "*" , false , true ) ; }
Retrieves all directories from a directory and its subdirectories.

@param path path to directory
@return A list containing the found directories