Creates all directories designated by the specified path.
public static void createDirectories( String path )
path
The path of directories to create.
WinIOException thrown if an error occurs.
Unlike the createDirectory method, this method creates as many directories as are required to guarantee that the specified path is valid. It is not an error if some or all the specified directories exist. The path parameter specifies a directory path, not a file path. To ensure that all directories in a file path are created, use the constructor File.createDirectories(File.getDirectory(filePath)).