Enum AttachmentsExtractor.AttachmentsExtractorMode

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      COMMON
      All attachments for all emails will be extracted to one folder.
      SAME
      Attachments will be extracted to the same folder where email lies.
      SEPARATE
      All attachments for each email will be extracted to separate folder.
    • Method Detail

      • values

        public static AttachmentsExtractor.AttachmentsExtractorMode[] 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 (AttachmentsExtractor.AttachmentsExtractorMode c : AttachmentsExtractor.AttachmentsExtractorMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AttachmentsExtractor.AttachmentsExtractorMode 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