Creates a media type with the "audio" type and the given subtype. @throws IllegalArgumentException if subtype is invalid
(String subtype)
| 1043 | * @throws IllegalArgumentException if subtype is invalid |
| 1044 | */ |
| 1045 | static MediaType createAudioType(String subtype) { |
| 1046 | return create(AUDIO_TYPE, subtype); |
| 1047 | } |
| 1048 | |
| 1049 | /** |
| 1050 | * Creates a media type with the "font" type and the given subtype. |