question: public static void createOrClearDestinationFolder ( String path ) { File fpath = new File ( path ) ; fpath . mkdirs ( ) ; deleteDirectoryContents ( path , false ) ; }
target:  Creates a directory with given path if it does not exist and clears the contents of the directory in case it exists.