Creates a media type with the "audio" type and the given subtype. @throws IllegalArgumentException if subtype is invalid
(String subtype)
| 858 | */ |
| 859 | |
| 860 | static MediaType createAudioType(String subtype) { |
| 861 | return create(AUDIO_TYPE, subtype); |
| 862 | } |
| 863 | |
| 864 | /** |
| 865 | * Creates a media type with the "image" type and the given subtype. |