class Variant {

    public String getLanguageString() {
        return (language == null) ? null : language.toString();
    }

    public  Variant(final MediaType mediaType, final String language, final String encoding);
    public  Variant(final MediaType mediaType, final String language, final String country, final String encoding);
    public  Variant(final MediaType mediaType, final String language, final String country, final String languageVariant, final String encoding);
    public  Variant(final MediaType mediaType, final Locale language, final String encoding);

}