public class MimeTypeParser
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static MimeType |
parse(java.lang.String mimeType)
Parses a MIME type from a String.
|
public static final MimeType parse(java.lang.String mimeType)
Example: text/plain
mimeType
- the String representation of the MIME typeParserException
Copyright © 2021. All Rights Reserved.