List of utility methods to do Path File Mime Type nio
String | getMimeType(Path path) Gets a file's content type. return Files.probeContentType(path);
|
String | getMimeType(String absolutePath) get Mime Type Path path = Paths.get(absolutePath);
return java.nio.file.Files.probeContentType(path);
|