if (isModified) throw new IllegalStateException("Reading into a modified Project!");
    public void read(InputStream in) throws IOException {        BufferedReader reader = new BufferedReader(new InputStreamReader(in));        String line;        line = reader.readLine();        if (line == null || !line.equals(JAR_FILES_KEY)) throw new IOException("Bad format: missing jar files key");        while ((line = reader.readLine()) != null && !line.equals(SRC_DIRS_KEY)) {            jarList.add(line);        }        if (line == null) throw new IOException("Bad format: missing source dirs key");        while ((line = reader.readLine()) != null && !line.equals(AUX_CLASSPATH_ENTRIES_KEY)) {            srcDirList.add(line);        }        if (line != null) {            // The list of aux classpath entries is optional            while ((line = reader.readLine()) != null) {                auxClasspathEntryList.add(line);            }        }                reader.close();    }