public static Document getDocument ( File file ) throws AlipayApiException { InputStream in = getInputStream ( file ) ; return getDocument ( in ) ; }
Parses the content of the given XML file as an XML document .