code: private void addApiDocRoots(String packageListUrl) {
  	BufferedReader br = null;
  	packageListUrl = fixApiDocRoot(packageListUrl);
  	try {
  	    URL url = new URL(packageListUrl + "/package-list");
  	    br = new BufferedReader(new InputStreamReader(url.openStream()));
  	    String line;
  	    while((line = br.readLine()) != null) {
  		line = line + ".";
  		Pattern pattern = Pattern.compile(line.replace(".", "\\.") + "[^\\.]*");
  		apiDocMap.put(pattern, packageListUrl);
  	    }
  	} catch(IOException e) {
  	    System.err.println("Errors happened while accessing the package-list file at "
  		    + packageListUrl);
  	} finally {
  	    if(br != null)
  		try {
  		    br.close();
  		} catch (IOException e) {}
  	}
  	
      }
docs: Adds api doc roots from a link. The folder reffered by the link should contain a package-list
  file that will be parsed in order to add api doc roots to this configuration
  @param packageListUrl