URL base = locator.findDirectoryResource(path);
if (base == null) {
throw new FileNotFoundException("Can't find EOModel: " + path);
}
Parser plistParser = new Parser();
InputStream in = new URL(base, "index.eomodeld").openStream();
try {
plistParser.ReInit(in);
return (Map) plistParser.propertyList();
}
finally {
in.close();
}
}