Class BatchFolderIterator

  • All Implemented Interfaces:
    Iterator<javax.mail.Message>

    public class BatchFolderIterator
    extends Object
    implements Iterator<javax.mail.Message>
    • Constructor Detail

      • BatchFolderIterator

        public BatchFolderIterator​(javax.mail.Folder folder,
                                   int batchSize)
      • BatchFolderIterator

        public BatchFolderIterator​(javax.mail.Folder folder,
                                   Integer batchSize,
                                   Integer start,
                                   Integer end)
    • Method Detail

      • getMessage

        public javax.mail.Message getMessage()
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface Iterator<javax.mail.Message>
      • next

        public javax.mail.Message next()
        Specified by:
        next in interface Iterator<javax.mail.Message>
      • getFolderName

        public String getFolderName()