Detect MIME type from an input string.
Detect MIME type from an input string.
a byte array of content for which to detect the MimeType
MIME type (e.g. "text/html" or "application/xml") or "N/A".
Return the best guess at a file extension from a MIME type string
Return the best guess at a file extension from a MIME type string
string representation of the MimeType
file extension (e.g. ".jpg" for "image/jpeg").
Return the list of all known file extensions for a MIME type string
Return the list of all known file extensions for a MIME type string
string representation of the MimeType
list of file extensions (e.g. ".jpg" for "image/jpeg").
Detect MIME type using Apache Tika.