public interface Mimak
| Modifier and Type | Interface and Description |
|---|---|
static class |
Mimak.SymlinkOptions |
| Modifier and Type | Method and Description |
|---|---|
String |
detect(File file)
Returns the MIME type for the given file.
|
String |
detect(Path file)
Returns the MIME type for the given file.
|
String |
detect(String file)
Returns the MIME type for the given file.
|
String detect(Path file) throws MimakException
file - A non-null fileMimakException - If an error occurs and cannot detect the MIME type for the fileString detect(File file) throws MimakException
file - A non-null fileMimakException - If an error occurs and cannot detect the MIME type for the fileString detect(String file) throws MimakException
file - A non-null fileMimakException - If an error occurs and cannot detect the MIME type for the fileCopyright © 2017. All rights reserved.