Searched refs:fileExtension (Results 1 – 3 of 3) sorted by relevance
218 String fileExtension = getFilenameExtension(fileName); in inferMimeType() local221 if ("eml".equals(fileExtension)) { in inferMimeType()228 if (!TextUtils.isEmpty(fileExtension)) { in inferMimeType()230 resultType = MimeTypeMap.getSingleton().getMimeTypeFromExtension(fileExtension); in inferMimeType()233 resultType = isTextPlain ? mimeType : "application/" + fileExtension; in inferMimeType()
66 String fileExtension = mimeTypeMap.getExtensionFromMimeType(contentType); in getNewFile() local71 return getNewFile(directory, fileExtension, fileNameFormat); in getNewFile()
943 String fileExtension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType); in getFileName() local948 + (TextUtils.isEmpty(fileExtension) ? "" : "." + fileExtension); in getFileName()