Package jakarta.activation
Class MimeTypeEntry
- java.lang.Object
-
- jakarta.activation.MimeTypeEntry
-
public class MimeTypeEntry extends java.lang.Object
Represents mapping between the file extension and the MIME type string.
-
-
Constructor Summary
Constructors Constructor Description MimeTypeEntry(java.lang.String mime_type, java.lang.String file_ext)
Create newMimeTypeEntry
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFileExtension()
java.lang.String
getMIMEType()
java.lang.String
toString()
-