DownloadManager downloadManager = DownloadManager.getInstance(maxDLHtml, maxDLLink, maxDepth, startURI, destDirectory);
downloadManager = DownloadManager.getInstance(maxDLHtml, maxDLLink, maxDepth, startURI, destDirectory);
	public static void startDownload(String projectName, String startURIString, String destDirectory, int maxDepth, int maxDLHtml, int maxDLLink, String regExp) {		//TODO: utiliser la RegExp		URI startURI = null;				//Adds the project name in the path		destDirectory = destDirectory + projectName;				try {			startURI = new URI(startURIString);		} catch (URISyntaxException e) {			System.err.println(e);			System.out.println("Exiting the program...");			System.exit(0);		}							DownloadManager downloadManager = DownloadManager.getInstance(maxDLHtml, maxDLLink, maxDepth, startURI, destDirectory);		//add the file pointed by startURI in the downloadList from the downloadManager		downloadManager.addHtmlFile(startURI, 0);		downloadManagerThread = new Thread(downloadManager);		downloadManagerThread.start();	}