private boolean ensureTargetDirectoryIsValid(File targetDirectory){
  if (targetDirectory.exists() && !targetDirectory.isDirectory()) {
    displayErrorDialog(DataTransferMessages.FileExport_directoryExists);
    giveFocusToDestination();
    return false;
  }
  return ensureDirectoryExists(targetDirectory);
}

private boolean ensureTargetDirectoryIsValid ( File targetDirectory ) { if ( targetDirectory . exists ( ) && ! targetDirectory . isDirectory ( ) ) { displayErrorDialog ( DataTransferMessages . FileExport_directoryExists ) ; giveFocusToDestination ( ) ; return false ; } return ensureDirectoryExists ( targetDirectory ) ; }
if the target for export does not exist then attempt to create it . answer a boolean indicating whether the target exists ( ie . - if it either pre - existed or this method was able to create it )
