Class Visitor

    • Method Detail

      • visit

        public void visit​(javax.mail.Folder folder)
                   throws javax.mail.MessagingException
        Throws:
        javax.mail.MessagingException
      • visit

        public void visit​(javax.mail.Folder folder,
                          ExecutionContext initialContext)
                   throws javax.mail.MessagingException
        Visit every message of given folder and every message of its subfolders.
        Parameters:
        initialContext - context variables passed to each execution context
        Throws:
        javax.mail.MessagingException
      • visit

        public void visit​(javax.mail.Message[] messages,
                          ExecutionContext initialContext)
                   throws javax.mail.MessagingException
        Visit given messages
        Parameters:
        initialContext - context variables passed to each execution context
        Throws:
        javax.mail.MessagingException