java.lang.Object
org.jpo.datamodel.MimeTypes
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetMimeType(File file) Returns the mime type of the supplied file.static booleanisADocument(File file) static booleanstatic booleanisAPicture(File file)
-
Method Details
-
getMimeType
Returns the mime type of the supplied file. If something went wrong you get back the string "null" not the object null- Parameters:
file- the file to query- Returns:
- the mime type as a String or the String "null"
-
isADocument
-
isAMovie
-
isAPicture
-