Package org.duracloud.common.util
Class MimetypeUtil
java.lang.Object
org.duracloud.common.util.MimetypeUtil
Determines the MIME type of a file. This is currently not a very
robust implementation. Using this method the mime type is determined
based on the file extension, and the mapping comes from the file
content-types.properties under the lib/ directory of the running JRE
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MimetypeUtil
public MimetypeUtil()
-
-
Method Details
-
getMimeType
-
getMimeType
-