Interface MIMEHeader

    • Method Detail

      • component

        String component()
        Gets the parsed component part of the MIME. This is the string between the beginning and the first '/' of the MIME
        Returns:
        The component of the MIME this represents
      • subComponent

        String subComponent()
        Gets the parsed subcomponent part of the MIME. This is the string between the first '/' and the ';' or the end of the MIME
        Returns:
        The subcomponent of the MIME this represents
      • mediaType

        String mediaType()
        Gets the MIME media type string. This includes both the component and subcomponent parts of the MIME type.
        Returns:
        The MIME media type string.
      • mediaTypeWithParams

        String mediaTypeWithParams()
        Gets the MIME media type string with parameters attached. This includes both the component and subcomponent parts of the MIME type, and parameters.
        Returns:
        The MIME media type string.