Relates :
|
|
Relates :
|
The content type probe mechanism depends on the existence of user.home/.mime.types which does not in general exist on Mac OS X unless expressly created by the user. Hence the return value "contentType" of Path path; String contentType = Files.probeContentType(path); will be null.