public class NotesStorageFacility extends Object implements com.aspose.ms.System.IDisposable
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 and Description |
---|
NotesStorageFacility(InputStream stream)
Initializes a new instance of the
NotesStorageFacility class. |
NotesStorageFacility(String fileName)
Initializes a new instance of the
NotesStorageFacility class. |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Performs application-defined tasks associated with freeing, releasing,
or resetting unmanaged resources.
|
protected void |
dispose(boolean disposing)
Releases unmanaged and - optionally - managed resources.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<MailMessage> |
enumerateMessages()
Exposes the enumerator, which supports an iteration of messages in storage.
|
public NotesStorageFacility(String fileName)
Initializes a new instance of the NotesStorageFacility
class.
fileName
- Name of the file.com.aspose.ms.System.ArgumentNullException
- fileName - File name can not be null or emptypublic NotesStorageFacility(InputStream stream)
Initializes a new instance of the NotesStorageFacility
class.
stream
- The stream.com.aspose.ms.System.ArgumentNullException
- stream - Source stream can not be nullpublic final com.aspose.ms.System.Collections.Generic.IGenericEnumerable<MailMessage> enumerateMessages()
Exposes the enumerator, which supports an iteration of messages in storage.
System.Collections.Generic.IEnumerableltTgt
,
that represents an enumerator that iterates through a messages in storage.public final void dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
dispose
in interface com.aspose.ms.System.IDisposable
protected final void dispose(boolean disposing)
Releases unmanaged and - optionally - managed resources.
disposing
- true
to release both managed and unmanaged resources;
false
to release only unmanaged resources.