org.mashupbots.socko.infrastructure
Returns the MIME type from a file
Returns the MIME type from a file
If no MIME type is found, application/octet-stream
is returned.
File
Returns the MIME type from a file name.
Returns the MIME type from a file name.
If no MIME type is found, application/octet-stream
is returned.
name of file
MIME types lookup
This implementation uses `MimetypesFileTypeMap` and relies on the presence of the file extension in a
mime.types
file.See