public class FileSystem extends Object
|Constructor and Description|
|Modifier and Type||Method and Description|
Remove this completely.
Ensure that the given path is a directory, creating it if necessary.
public static void destroy(File file, boolean proceed) throws IOException
proceed- Proceed in the face of errors; otherwise the first error stops the execution of the method.
IOException- The list of files that couldn't be removed (in the detail string).
public static void ensureDir(String path) throws IllegalArgumentException
File.mkdirsto create the directory along with any intermediate paths.
IllegalArgumentException- if the path already exists but is not a directory, or it does not exist and cannot be created.
Copyright © GigaSpaces.