ensure_directory_exists


Description:

public static bool ensure_directory_exists (File dir)

Creates the directory if it does not already exist

Parameters:

dir

the directory to ensure exists

Returns:

true if a directory was created, false otherwise