Searched defs:inputSource (Results 1 – 4 of 4) sorted by relevance
156 ByteArrayInputStream inputSource = new ByteArrayInputStream(source.getBytes()); in testCalculateCrc32() local171 ByteArrayInputStream inputSource = new ByteArrayInputStream(source.getBytes()); in testCalculateMd5() local186 ByteArrayInputStream inputSource = new ByteArrayInputStream(source.getBytes()); in testCalculateBase64Md5() local
428 public static String calculateMd5(InputStream inputSource) throws IOException { in calculateMd5()440 public static String calculateBase64Md5(InputStream inputSource) throws IOException { in calculateBase64Md5()444 private static byte[] calculateMd5Digest(InputStream inputSource) throws IOException { in calculateMd5Digest()
1187 try (BufferedInputStream inputSource = new BufferedInputStream(new FileInputStream(file))) { in calculateCrc32()1200 try (FileInputStream inputSource = new FileInputStream(file)) { in calculateMd5()1221 try (FileInputStream inputSource = new FileInputStream(file)) { in calculateBase64Md5()
867 InputSource inputSource = new InputSource(new StringReader(xml)); in getXmlNodes() local