public class GenerateDJUNIT extends Object
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2019-01-18 00:35:01 +0100 (Fri, 18 Jan 2019) $, @version $Revision: 324 $, by $Author: averbraeck $,
initial version Sep 1, 2015
Constructor and Description |
---|
GenerateDJUNIT() |
Modifier and Type | Method and Description |
---|---|
static boolean |
deleteRecursive(File path)
By default File#delete fails for non-empty directories, it works like "rm".
|
static void |
main(String[] args) |
public static boolean deleteRecursive(File path) throws FileNotFoundException
path
- File; Root File PathFileNotFoundException
- on error (e.g., locked file)public static void main(String[] args) throws IOException, URISyntaxException
args
- String[]; args, should be blankIOException
- on I/O errorURISyntaxException
- when file could not be found on thhe file systemCopyright © 2015–2019 Delft University of Technology. All rights reserved.