public class FileSystem extends Object
| Constructor and Description | 
|---|
| FileSystem() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | destroy(File file,
       boolean proceed)Remove this completely. | 
| static void | ensureDir(String path)Ensure that the given path is a directory, creating it if
 necessary. | 
public static void destroy(File file, boolean proceed) throws IOException
destroy simply returns.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.mkdirs to 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 © 2016–2018. All rights reserved.