Interface MimetypeEntry

    • Method Detail

      • getMimetypes

        List<StringgetMimetypes()
        Returns the mimetype's names.
        Returns:
        list of strings containing the mimetype names
      • getNormalized

        String getNormalized()
        Returns the main RFC-2046 name for this mime type.

        If this mime type has several names ('text/restructured', 'text-x-rst'), then this method will always return the first form.

        Returns:
        the main RFC-2046 name for this mime type
      • getMajor

        String getMajor()
        Returns the major part of the RFC-2046.
        Returns:
        the major part of the RFC-2046 name of this mime type.
        See Also:
        getNormalized()
      • getIconPath

        String getIconPath()
        Returns the path of the icon for this mimetype.
        Returns:
        String
      • getExtensions

        List<StringgetExtensions()
        Returns the list of extensions for this mimetype.
        Returns:
        list of strings that contain different mimetypes
      • isBinary

        boolean isBinary()
        Is this a binary mimetype?

        Might be useful to know if we can read it as human.

        Returns:
        boolean
      • isOnlineEditable

        boolean isOnlineEditable()
        Is this mimetype supported by a LiveEdit plugin?

        Might be useful to know to display the Edit online link.

        Returns:
        boolean
      • isOleSupported

        boolean isOleSupported()
        Is this mimetype supported by a oleExtract plugin?

        If the property is true, processes the ole Extraction, otherwise skip.

        Returns:
        boolean