class Util {

    public static ParsedContentDisposition parseContentDisposition(String contentDisposition) {
        Matcher m = CONTENT_DISPOSITION_PATTERN.matcher(contentDisposition);
        if (m.find() && m.groupCount() == 2) {
            return new ParsedContentDisposition(m.group(1), m.group(2));
        }
        return null;
    }

}