com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class NotesStorageFacility

  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable, Closeable, AutoCloseable


    public class NotesStorageFacility
    extends Object
    implements com.aspose.ms.System.IDisposable, Closeable

    The Notes Storage Facility (NSF) database file is used by (IBM) Lotus Notes and Domino to store different kind of objects like e-mail, appointments and documents, but also application forms and views.

    • Constructor Detail

      • NotesStorageFacility

        public NotesStorageFacility(String fileName)

        Initializes a new instance of the NotesStorageFacility class.

        Parameters:
        fileName - Name of the file.
        Throws:
        com.aspose.ms.System.ArgumentNullException - fileName - File name can not be null or empty
      • NotesStorageFacility

        public NotesStorageFacility(InputStream stream)

        Initializes a new instance of the NotesStorageFacility class.

        Parameters:
        stream - The stream.
        Throws:
        com.aspose.ms.System.ArgumentNullException - stream - Source stream can not be null
      • NotesStorageFacility

        public NotesStorageFacility(String fileName,
                            NsfLoadOptions options)

        Initializes a new instance of the NotesStorageFacility class.

        Parameters:
        fileName - Name of the file.
        options - Additional load options.
        Throws:
        com.aspose.ms.System.ArgumentNullException - fileName - File name can not be null or empty
      • NotesStorageFacility

        public NotesStorageFacility(InputStream stream,
                            NsfLoadOptions options)

        Initializes a new instance of the NotesStorageFacility class.

        Parameters:
        stream - The stream.
        options - Additional load options.
        Throws:
        com.aspose.ms.System.ArgumentNullException - stream - Source stream can not be null
    • Method Detail

      • enumerateMessages

        public final com.aspose.ms.System.Collections.Generic.IGenericEnumerable<MailMessage> enumerateMessages()

        Exposes the enumerator, which supports an iteration of messages in storage.

        Returns:
        System.Collections.Generic.IEnumerableltTgt, that represents an enumerator that iterates through a messages in storage.
      • dispose

        public final void dispose()

        Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

        Specified by:
        dispose in interface com.aspose.ms.System.IDisposable
      • dispose

        protected final void dispose(boolean disposing)

        Releases unmanaged and - optionally - managed resources.

        Parameters:
        disposing - true to release both managed and unmanaged resources; false to release only unmanaged resources.