public interface MimeDetectorAdapter
| Modifier and Type | Method and Description |
|---|---|
String |
detect(Path 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 fileCopyright © 2017. All rights reserved.