public static File in ( File parentDir ) { File result = new File ( parentDir , UUID . randomUUID ( ) . toString ( ) ) ; if ( ! result . mkdirs ( ) ) { throw new RuntimeIoException ( new IOException ( "Could not create directory: " + result ) ) ; } return result ; }
Create a new directory in the given parent directory .