class HeaderHelper {

    public static List<AcceptMediaType> createAcceptMediaTypeList(String header) {
        if (isNullOrEmpty(header) || WILDCARD.equals(header.trim())) {
            return ACCEPT_ALL_MEDIA_TYPE;
        }
        return LIST_MEDIA_TYPE_PRODUCER.createQualitySortedList(header);
    }

    private  HeaderHelper();

}