if (permUrl == null )
return null;
InputStream declaredPermInput = permUrl.openStream();
XMLPermissionsHandler pHdlr = null;
try {
pHdlr = new XMLPermissionsHandler(
null, declaredPermInput, SMGlobalPolicyUtil.CommponentType.car);
} catch (XMLStreamException e) {
throw new IOException(e);
} catch (FileNotFoundException e) {
throw new IOException(e);
}
return pHdlr.getAppDeclaredPermissions();
}