Package examples.mail

Class IMAPExportMbox.MboxListener

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.io.BufferedWriter bw  
      private boolean checkSequence  
      private java.text.SimpleDateFormat DATE_FORMAT  
      private java.lang.String eol  
      private java.text.SimpleDateFormat IDPARSE  
      (package private) java.lang.String lastFetched  
      (package private) long lastSeq  
      (package private) java.util.List<java.lang.String> missingIds  
      private boolean printHash  
      private boolean printMarker  
      (package private) int total  
    • Constructor Summary

      Constructors 
      Constructor Description
      MboxListener​(java.io.BufferedWriter bw, java.lang.String eol, 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

      • bw

        private final java.io.BufferedWriter bw
      • total

        volatile int total
      • lastFetched

        volatile java.lang.String lastFetched
      • missingIds

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

        volatile long lastSeq
      • eol

        private final java.lang.String eol
      • 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 bw,
                     java.lang.String eol,
                     boolean printHash,
                     boolean printMarker,
                     boolean checkSequence)
              throws java.io.IOException
        Throws:
        java.io.IOException