NotesStorageFacility

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.ms.System.IDisposable, java.io.Closeable

public class NotesStorageFacility implements 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.

Constructors

Constructor Description
NotesStorageFacility(String fileName) Initializes a new instance of the NotesStorageFacility class.
NotesStorageFacility(InputStream stream) Initializes a new instance of the NotesStorageFacility class.
NotesStorageFacility(String fileName, NsfLoadOptions options) Initializes a new instance of the NotesStorageFacility class.
NotesStorageFacility(InputStream stream, NsfLoadOptions options) Initializes a new instance of the NotesStorageFacility class.

Methods

Method Description
enumerateMessages() Exposes the enumerator, which supports an iteration of messages in storage.
dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
close()

NotesStorageFacility(String fileName)

public NotesStorageFacility(String fileName)

Initializes a new instance of the NotesStorageFacility class.

Parameters:

Parameter Type Description
fileName java.lang.String Name of the file.

NotesStorageFacility(InputStream stream)

public NotesStorageFacility(InputStream stream)

Initializes a new instance of the NotesStorageFacility class.

Parameters:

Parameter Type Description
stream java.io.InputStream The stream.

NotesStorageFacility(String fileName, NsfLoadOptions options)

public NotesStorageFacility(String fileName, NsfLoadOptions options)

Initializes a new instance of the NotesStorageFacility class.

Parameters:

Parameter Type Description
fileName java.lang.String Name of the file.
options NsfLoadOptions Additional load options.

NotesStorageFacility(InputStream stream, NsfLoadOptions options)

public NotesStorageFacility(InputStream stream, NsfLoadOptions options)

Initializes a new instance of the NotesStorageFacility class.

Parameters:

Parameter Type Description
stream java.io.InputStream The stream.
options NsfLoadOptions Additional load options.

enumerateMessages()

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

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

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.email.MailMessage> - ``` 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.

close()

public void close()