Class MimeTypeEntry


  • public class MimeTypeEntry
    extends Object
    Represents mapping between the file extension and the MIME type string.
    • Constructor Detail

      • MimeTypeEntry

        public MimeTypeEntry​(String mime_type,
                             String file_ext)
        Create new MimeTypeEntry
        Parameters:
        mime_type - the MIME type string
        file_ext - the file extension
    • Method Detail

      • getMIMEType

        public String getMIMEType()
        Returns:
        the MIME type string
      • getFileExtension

        public String getFileExtension()
        Returns:
        the file extension