Searched refs:GENERIC_MIMETYPE (Results 1 – 2 of 2) sorted by relevance
15 MimeType.inferMimeType("filename.eml", MimeType.GENERIC_MIMETYPE)); in testInferMimeType()18 assertEquals("video/mp4", MimeType.inferMimeType("video.mp4", MimeType.GENERIC_MIMETYPE)); in testInferMimeType()29 assertEquals(MimeType.GENERIC_MIMETYPE, MimeType.inferMimeType("video.foo", "")); in testInferMimeType()32 assertEquals("text/rtf", MimeType.inferMimeType("filename.rtf", MimeType.GENERIC_MIMETYPE)); in testInferMimeType()
41 static final String GENERIC_MIMETYPE = "application/octet-stream"; field in MimeType137 isTextPlain || GENERIC_MIMETYPE.equalsIgnoreCase(mimeType); in inferMimeType()150 return !TextUtils.isEmpty(mimeType) ? mimeType : GENERIC_MIMETYPE; in inferMimeType()