Searched refs:inputSource (Results 1 – 3 of 3) sorted by relevance
125 ByteArrayInputStream inputSource = new ByteArrayInputStream(source.getBytes()); in testCalculateMd5() local126 String actualMd5 = StreamUtil.calculateMd5(inputSource); in testCalculateMd5()
307 public static String calculateMd5(InputStream inputSource) throws IOException { in calculateMd5() argument315 InputStream input = new BufferedInputStream(new DigestInputStream(inputSource, md)); in calculateMd5()
268 InputSource inputSource = new InputSource(new StringReader(xml)); in getXmlNodes() local270 return (NodeList) xpath.evaluate(xPathExpression, inputSource, XPathConstants.NODESET); in getXmlNodes()