Class JavamailDocumentCollection

    • Field Detail

      • NO_DATE

        public static final Date NO_DATE
        A special date (actually, 1 January 1970) representing no date.
    • Constructor Detail

      • JavamailDocumentCollection

        protected JavamailDocumentCollection​(String storeUrl,
                                             String folderName,
                                             it.unimi.di.big.mg4j.document.JavamailDocumentCollection.JavamailDocumentFactory factory)
                                      throws javax.mail.MessagingException
        Builds a document collection corresponding to a given store URL and folder name.

        Beware. This class is not suited for large mbox files!

        Parameters:
        storeUrl - the javamail URL of the store.
        folderName - the folder name.
        factory - the factory that will be used to create documents.
        Throws:
        javax.mail.MessagingException
      • JavamailDocumentCollection

        public JavamailDocumentCollection​(String storeUrl,
                                          String folderName)
                                   throws javax.mail.MessagingException
        Throws:
        javax.mail.MessagingException
      • JavamailDocumentCollection

        public JavamailDocumentCollection​(String storeUrl,
                                          String folderName,
                                          Properties properties)
                                   throws javax.mail.MessagingException,
                                          org.apache.commons.configuration.ConfigurationException
        Throws:
        javax.mail.MessagingException
        org.apache.commons.configuration.ConfigurationException
      • JavamailDocumentCollection

        public JavamailDocumentCollection​(String storeUrl,
                                          String folderName,
                                          String[] property)
                                   throws javax.mail.MessagingException,
                                          org.apache.commons.configuration.ConfigurationException
        Throws:
        javax.mail.MessagingException
        org.apache.commons.configuration.ConfigurationException
      • JavamailDocumentCollection

        public JavamailDocumentCollection​(String storeUrl,
                                          String folderName,
                                          Reference2ObjectMap<Enum<?>,​Object> defaultMetadata)
                                   throws javax.mail.MessagingException
        Throws:
        javax.mail.MessagingException