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

ConstructorDescription
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

MethodDescription
close()
dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
enumerateMessages()Exposes the enumerator, which supports an iteration of messages in storage.
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

NotesStorageFacility(String fileName)

public NotesStorageFacility(String fileName)

Initializes a new instance of the NotesStorageFacility class.

Parameters:

ParameterTypeDescription
fileNamejava.lang.StringName of the file.

NotesStorageFacility(InputStream stream)

public NotesStorageFacility(InputStream stream)

Initializes a new instance of the NotesStorageFacility class.

Parameters:

ParameterTypeDescription
streamjava.io.InputStreamThe stream.

NotesStorageFacility(String fileName, NsfLoadOptions options)

public NotesStorageFacility(String fileName, NsfLoadOptions options)

Initializes a new instance of the NotesStorageFacility class.

Parameters:

ParameterTypeDescription
fileNamejava.lang.StringName of the file.
optionsNsfLoadOptionsAdditional load options.

NotesStorageFacility(InputStream stream, NsfLoadOptions options)

public NotesStorageFacility(InputStream stream, NsfLoadOptions options)

Initializes a new instance of the NotesStorageFacility class.

Parameters:

ParameterTypeDescription
streamjava.io.InputStreamThe stream.
optionsNsfLoadOptionsAdditional load options.

close()

public void close()

dispose()

public final void dispose()

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

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.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int