public static < T extends SharedAccessPolicy > HashMap < String , T > getAccessIdentifiers ( final InputStream stream , final Class < T > cls ) throws ParserConfigurationException , SAXException , IOException { SAXParser saxParser = Utility . getSAXParser ( ) ; SharedAccessPolicyHandler < T > handler = new SharedAccessPolicyHandler < T > ( cls ) ; saxParser . parse ( stream , handler ) ; return handler . policies ; }
RESERVED FOR INTERNAL USE . Gets the HashMap of SharedAccessPolicies from the response .