- java.lang.Object
-
- jakarta.activation.MimeTypeEntry
-
public class MimeTypeEntry extends java.lang.ObjectRepresents 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.StringgetFileExtension()java.lang.StringgetMIMEType()java.lang.StringtoString()
-