Enum ImapService.EmailBodyFormat

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ImapService.EmailBodyFormat>
    Enclosing interface:
    ImapService

    public static enum ImapService.EmailBodyFormat
    extends java.lang.Enum<ImapService.EmailBodyFormat>
    Helper enumeration to handle email body format text/html and text/plain for Alfresco/Share webapp
    • Method Detail

      • values

        public static ImapService.EmailBodyFormat[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ImapService.EmailBodyFormat c : ImapService.EmailBodyFormat.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ImapService.EmailBodyFormat valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getSubtype

        public java.lang.String getSubtype()
      • getTypeSubtype

        public java.lang.String getTypeSubtype()
      • getMimeType

        public java.lang.String getMimeType()
      • getClasspathTemplatePath

        public java.lang.String getClasspathTemplatePath()
      • getWebApp

        public java.lang.String getWebApp()