Creates a media type with the "text" type and the given subtype. @throws IllegalArgumentException if subtype is invalid
(String subtype)
| 878 | */ |
| 879 | |
| 880 | static MediaType createTextType(String subtype) { |
| 881 | return create(TEXT_TYPE, subtype); |
| 882 | } |
| 883 | |
| 884 | /** |
| 885 | * Creates a media type with the "video" type and the given subtype. |