Here you can find the source of extractContentDigest(URI contentDigest)
private static Map<String, String> extractContentDigest(URI contentDigest)
//package com.java2s; //License from project: LGPL import java.net.URI; import java.util.HashMap; import java.util.Map; public class Main { private static Map<String, String> extractContentDigest(URI contentDigest) { Map<String, String> ret = new HashMap<>(); if (contentDigest != null) { final String[] values = contentDigest.getSchemeSpecificPart().split(":"); if (values.length == 2) { ret.put(values[0], values[1]); }//w ww . j a v a 2 s .c o m } return ret; } }