Class SearchSequence

  • Direct Known Subclasses:
    GmailSearchSequence

    public class SearchSequence
    extends java.lang.Object
    This class traverses a search-tree and generates the corresponding IMAP search sequence. Each IMAPProtocol instance contains an instance of this class, which might be subclassed by subclasses of IMAPProtocol to add support for additional product-specific search terms.
    • Field Detail

      • monthTable

        private static java.lang.String[] monthTable
        Print an IMAP Date string, that is suitable for the Date SEARCH commands. The IMAP Date string is : date ::= date_day "-" date_month "-" date_year Note that this format does not contain the TimeZone
      • cal

        protected java.util.Calendar cal
    • Constructor Detail

      • SearchSequence

        public SearchSequence​(IMAPProtocol p)
        Create a SearchSequence for this IMAPProtocol.
        Parameters:
        p - the IMAPProtocol object for the server
        Since:
        JavaMail 1.6.0
      • SearchSequence

        @Deprecated
        public SearchSequence()
        Deprecated.
        Create a SearchSequence.