Class IMAPExportMbox.MboxListener

    • Constructor Summary

      Constructors 
      Constructor Description
      MboxListener​(java.io.BufferedWriter bufferedWriter, java.lang.String lineSeparator, boolean printHash, boolean printMarker, boolean checkSequence)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean chunkReceived​(IMAP imap)
      Called when a multi-line partial response has been received.
      void close()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • bufferedWriter

        private final java.io.BufferedWriter bufferedWriter
      • total

        volatile java.util.concurrent.atomic.AtomicInteger total
      • lastFetched

        volatile java.lang.String lastFetched
      • missingIds

        volatile java.util.List<java.lang.String> missingIds
      • lastSeq

        volatile long lastSeq
      • lineSeparator

        private final java.lang.String lineSeparator
      • DATE_FORMAT

        private final java.text.SimpleDateFormat DATE_FORMAT
      • IDPARSE

        private final java.text.SimpleDateFormat IDPARSE
      • printHash

        private final boolean printHash
      • printMarker

        private final boolean printMarker
      • checkSequence

        private final boolean checkSequence
    • Constructor Detail

      • MboxListener

        MboxListener​(java.io.BufferedWriter bufferedWriter,
                     java.lang.String lineSeparator,
                     boolean printHash,
                     boolean printMarker,
                     boolean checkSequence)