code: protected static PropRecord parseMetaData (String path, URL sourceURL)
          throws IOException
      {
          InputStream input = sourceURL.openStream();
          BufferedReader bin = new BufferedReader(new InputStreamReader(input));
          try {
              PropRecord record = new PropRecord(path, sourceURL);
              boolean started = false;
              String line;
              while ((line = bin.readLine()) != null) {
                  if (line.startsWith(PACKAGE_KEY)) {
                      record._package = parseValue(line);
                      started = true;
                  } else if (line.startsWith(EXTENDS_KEY)) {
                      record._extends = parseValue(line);
                      started = true;
                  } else if (line.startsWith(OVERRIDES_KEY)) {
                      record._overrides = parseValues(line);
                      started = true;
                  } else if (started) {
                      break;
                  }
              }
              return record;
          } finally {
              StreamUtil.close(bin);
          }
      }
docs: Performs simple processing of the supplied input stream to obtain inheritance metadata from
  the properties file.