Io devo creare 3 file temporanei in una cartella nascosta della userhome.

La prima volta che lancio il programma questa cartella non esiste.

Come faccio a creare questa cartella con i seguenti sotto file temporanei.

N.B. Questi 3 file devono essere ricreati ogni volta.

il mio codice e' questo:

codice:
	public void removeTMPFile( String path ) throws IOException
	{
		boolean success;
	
		if( path == null ) throw new NullPointerException( "path parameter is null" );
		
		File f = new File( path );

    	/* Some control about the existence and the write permission of the file */ 
		if( !f.exists() )
		{
			f.createNewFile(); 
			return;
		}
		else
		{
			if( !f.canWrite() ) throw new IOException( "Cannot write in the file " + path );
    		        if( f.isDirectory() ) throw new IOException( path + "is not a file" );
			f.createNewFile();
		}
	}
Grazie