public class GenerateDJUNIT extends Object
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2017-04-29 12:23:28 +0200 (Sat, 29 Apr 2017) $, @version $Revision: 250 $, 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–2017 Delft University of Technology. All rights reserved.