public TempDir createTempDir ( String originalName ) throws IOException { if ( ! open . get ( ) ) { throw VFSMessages . MESSAGES . tempFileProviderClosed ( ) ; } final String name = createTempName ( originalName + "-" , "" ) ; final File f = new File ( providerRoot , name ) ; for ( int i = 0 ; i < RETRIES ; i ++ ) { if ( f . mkdirs ( ) ) { return new TempDir ( this , f ) ; } } throw VFSMessages . MESSAGES . couldNotCreateDirectory ( originalName , RETRIES ) ; }
Create a temp directory into which temporary files may be placed .