String extension = MimeTypeMap.getFileExtensionFromUrl(fileUrl);
String mimetype = MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension);
Get extension and MIME type of file using MimeTypeMap
Example to get extension and MIME type of file using MimeTypeMap.
0 Response to "Get extension and MIME type of file using MimeTypeMap"
Posting Komentar