public static MediaType text ( String subType , Charset charset ) { return nonBinary ( TEXT , subType , charset ) ; }
Creates a non - binary text media type with the given subtype and a specified encoding