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
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic MimetypesgetMimetype(File file) getMimetype(String filename) getMimetype(Path file)
-
Field Details
-
OCTET_STREAM
- See Also:
-
-
Method Details
-
getInstance
-
getMimetype
-
getMimetype
-
getMimetype
-