else {  clearAll(); }
  public IndexListParser(JarFile jarfile, URL baseJarURL, URL baseURL)  {    try    {    // Parse INDEX.LIST if it exists    if (jarfile.getEntry(JAR_INDEX_FILE) != null)      {        BufferedReader br = new BufferedReader(new InputStreamReader(new URL(baseJarURL,                                                                             JAR_INDEX_FILE).openStream()));                // Must start with version info        String line = br.readLine();        if (!line.startsWith(JAR_INDEX_VERSION_KEY))          return;        versionNumber = Double.parseDouble(line.substring(JAR_INDEX_VERSION_KEY.length()).trim());                // Blank line must be next        line = br.readLine();        if (! "".equals(line))          {            clearAll();            return;          }                // May contain sections.        while ((line = br.readLine()) != null)          {            URL jarURL = new URL(baseURL, line);            HashSet values = new HashSet();                        // Read the names in the section.            while ((line = br.readLine()) != null)              {                // Stop at section boundary.                if ("".equals(line))                  break;                values.add(line.trim());              }            prefixes.put(jarURL, values);            // Might have seen an early EOF.            if (line == null)              break;          }        br.close();      }    // else INDEX.LIST does not exist    }    catch (Exception ex)    {      clearAll();    }  }