Package org.yamcs.utils
Class Mimetypes
java.lang.Object
org.yamcs.utils.Mimetypes
Maps files to Internet media types based on their file extension.
The mapping is read from a file mime.types
which must be available in the classpath root.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Mimetypes
getMimetype
(File file) getMimetype
(String filename) getMimetype
(Path file)
-
Field Details
-
OCTET_STREAM
- See Also:
-
-
Method Details
-
getInstance
-
getMimetype
-
getMimetype
-
getMimetype
-