class FingerprintParserUtil {

    public static Set<String> parseFingerprints(String consoleLog) {
        LOGGER.debug("Received console log: {}", consoleLog);
        Set<String> matchedFingerprints = new HashSet<>();
        String[] lines = consoleLog.split("\n");
        for (String line : lines) {
            for (Pattern pattern : FINGERPRINT_PATTERNS) {
                Matcher m = pattern.matcher(line);
                if (m.find()) {
                    matchedFingerprints.add(m.group("fingerprint"));
                }
            }
        }
        return matchedFingerprints;
    }

    private  FingerprintParserUtil();

}