public class GenerateDJUNIT extends Object
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2018-01-28 03:21:11 +0100 (Sun, 28 Jan 2018) $, @version $Revision: 258 $, 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
- Root File PathFileNotFoundException
- on error (e.g., locked file)public static void main(String[] args) throws IOException, URISyntaxException
args
- args, should be blankIOException
- on I/O errorURISyntaxException
- when file could not be found on thhe file systemCopyright © 2015–2018 Delft University of Technology. All rights reserved.