public static String generateId(String url, String parentId, long timestamp) {
            StringBuilder textForId = new StringBuilder();
            textForId.append(url);
            textForId.append(parentId);
            textForId.append(timestamp);
            return DigestUtils.sha1Hex(textForId.toString()).toUpperCase();
        }
Use {@link CDR2Media.Builder} to construct a CDRMedia object instead.
ache-tools/src/main/java/achecrawler/memex/cdr/CDR2Media.java